@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

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

:root {
  --purple: #6A0DAD;
  --purple-sec: #8B2BD0;
  --purple-light: rgba(106, 13, 173, 0.08);
  --black: #111111;
  --white: #FFFFFF;
  --gray-dark: #222222;
  --gray-med: #777777;
  --gray-light: #F7F7F9;
  --border: rgba(0,0,0,0.08);
  --font-giant: 'Bebas Neue', sans-serif;
  --font-main: 'Plus Jakarta Sans', sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; width: 100%; max-width: 100%; overflow-x: hidden; }
body { font-family: var(--font-main); background: var(--white); color: var(--black); width: 100%; max-width: 100%; overflow-x: hidden; position: relative; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* SCROLLBAR */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--white); }
::-webkit-scrollbar-thumb { background: var(--purple); border-radius: 3px; }

/* DISCRETE AUDIOVISUAL CUSTOM CURSOR */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
  opacity: 0;
}

@media (pointer: fine) {
  .custom-cursor { opacity: 1; }
}

.cursor-ring {
  position: absolute;
  inset: 0;
  border: 1.5px solid rgba(106, 13, 173, 0.6);
  border-radius: 50%;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s;
}

.cursor-dot {
  width: 5px;
  height: 5px;
  background: var(--purple);
  border-radius: 50%;
  transition: transform 0.15s;
}

.cursor-label {
  position: absolute;
  top: -16px;
  right: -24px;
  font-family: var(--font-main);
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--purple);
  background: rgba(106, 13, 173, 0.1);
  padding: 1px 4px;
  border-radius: 3px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}

body:hover .custom-cursor { opacity: 1; }
.custom-cursor.hovering .cursor-ring {
  transform: scale(1.8);
  border-color: var(--purple-sec);
  background: rgba(106, 13, 173, 0.05);
}
.custom-cursor.hovering .cursor-label { opacity: 1; }

/* ENTRANCE ANIMATION CURTAIN */
.hero-intro-curtain {
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: opacity 0.6s cubic-bezier(0.77, 0, 0.175, 1), visibility 0.6s;
}

.intro-purple-line {
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--purple-sec));
  border-radius: 2px;
  box-shadow: 0 0 25px rgba(106, 13, 173, 0.6);
  animation: introLineExpand 1.1s cubic-bezier(0.85, 0, 0.15, 1) forwards;
}

@keyframes introLineExpand {
  0% { width: 0; opacity: 0.3; }
  50% { width: 180px; opacity: 1; }
  100% { width: 100vw; opacity: 1; }
}

.hero-intro-curtain.loaded {
  opacity: 0;
  visibility: hidden;
}

/* NAV */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 24px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.4s, padding 0.4s, backdrop-filter 0.4s, box-shadow 0.4s;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  padding: 16px 60px;
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.05);
}

.nav-logo {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--black);
}

.nav-logo span { color: var(--purple); }

.nav-links { display: flex; gap: 36px; }

.nav-links a {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--gray-med);
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--purple);
  transition: width 0.3s;
}

.nav-links a:hover { color: var(--black); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 10px 24px;
  border: 1.5px solid var(--purple);
  color: var(--purple);
  border-radius: 6px;
  transition: all 0.3s;
}

.nav-cta:hover {
  background: var(--purple);
  color: var(--white);
  box-shadow: 0 8px 25px rgba(106, 13, 173, 0.25);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--black);
  transition: all 0.3s;
}

.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.mobile-menu.active { opacity: 1; visibility: visible; }
.mobile-menu a {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--black);
  transition: color 0.3s;
}
.mobile-menu a:hover { color: var(--purple); }

/* ===== HERO / PRIMEIRA DOBRA ===== */
.hero {
  height: 100vh;
  height: 100svh;
  width: 100%;
  background: var(--white);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.hero-container {
  width: 100%;
  height: 100%;
  max-width: 1800px;
  margin: 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 100px 60px 50px;
}

/* HERO TOP BAR */
.hero-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  z-index: 10;
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(106, 13, 173, 0.05);
  border: 1px solid rgba(106, 13, 173, 0.15);
  padding: 8px 18px;
  border-radius: 6px;
}

.rec-dot {
  width: 8px;
  height: 8px;
  background: var(--purple);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--purple);
  animation: recPulse 1.8s infinite;
}

@keyframes recPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.8); }
}

.tag-text {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--black);
}

.hero-signature {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gray-med);
}

/* GIANT TYPOGRAPHY */
.hero-typography-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 100%;
  text-align: center;
  pointer-events: none;
  user-select: none;
}

.hero-title-giant {
  font-family: var(--font-giant);
  font-size: clamp(7rem, 23vw, 28rem);
  color: var(--purple);
  line-height: 0.85;
  letter-spacing: 3px;
  text-transform: uppercase;
  display: flex;
  justify-content: center;
  align-items: center;
  white-space: nowrap;
}

.word-mask {
  display: inline-block;
  overflow: hidden;
}

.word-mask span {
  display: inline-block;
  opacity: 0;
  transform: translateY(110%) rotate(4deg);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

/* HERO BOTTOM BAR */
.hero-bottom-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
  z-index: 10;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 34px;
  background: var(--black);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(17, 17, 17, 0.15);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.hero-cta-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--purple), var(--purple-sec));
  opacity: 0;
  transition: opacity 0.35s;
  z-index: 0;
}

.hero-cta-btn span { position: relative; z-index: 1; }

.btn-arrow {
  transition: transform 0.3s ease;
  font-size: 1.1rem;
}

.hero-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(106, 13, 173, 0.35);
}

.hero-cta-btn:hover::before { opacity: 1; }
.hero-cta-btn:hover .btn-arrow { transform: translateY(3px); }

.hero-scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.scroll-text {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gray-med);
}

.scroll-line {
  width: 2px;
  height: 40px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.scroll-line span {
  display: block;
  width: 100%;
  height: 50%;
  background: var(--purple);
  border-radius: 2px;
  animation: scrollLineAnim 2s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes scrollLineAnim {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(200%); }
}

/* REVEALED ANIMATION STATES */
.hero.loaded .hero-top-bar {
  opacity: 1;
  transform: translateY(0);
}

.hero.loaded .word-mask span {
  opacity: 1;
  transform: translateY(0) rotate(0deg);
}

.hero.loaded .hero-person-wrap {
  opacity: 1;
}

.hero.loaded .hero-bottom-bar {
  opacity: 1;
  transform: translateY(0);
}

/* ===== SECTIONS COMMON ===== */
section { padding: 120px 60px; }
.section-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-tag::before { content: ''; width: 30px; height: 2px; background: var(--purple); }
.section-title { font-size: clamp(2.2rem, 4.5vw, 3.8rem); font-weight: 800; letter-spacing: -1px; margin-bottom: 20px; line-height: 1.1; color: var(--black); }
.section-desc { font-size: 1.05rem; color: var(--gray-med); max-width: 550px; line-height: 1.7; }

/* REVEAL ANIMATION */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* SPECIALTIES */
.specialties { background: var(--white); }
.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 60px; }
.spec-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 40px 32px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.spec-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--purple-sec));
  opacity: 0;
  transition: opacity 0.4s;
}
.spec-card:hover {
  border-color: rgba(106, 13, 173, 0.3);
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(106, 13, 173, 0.1);
}
.spec-card:hover::before { opacity: 1; }

.spec-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.spec-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(106, 13, 173, 0.05);
  border: 1px solid rgba(106, 13, 173, 0.15);
  border-radius: 8px;
  color: var(--purple);
  transition: all 0.35s ease;
}
.spec-card:hover .spec-icon {
  background: var(--purple);
  color: var(--white);
  border-color: var(--purple);
  transform: scale(1.05);
}

.spec-num {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--purple);
  letter-spacing: 2.5px;
  background: rgba(106, 13, 173, 0.06);
  padding: 4px 12px;
  border-radius: 100px;
  border: 1px solid rgba(106, 13, 173, 0.1);
}

.spec-name { font-size: 1.6rem; font-weight: 800; margin-bottom: 8px; letter-spacing: -0.5px; color: var(--black); }
.spec-line { width: 40px; height: 2px; background: linear-gradient(90deg, var(--purple), var(--purple-sec)); margin-bottom: 24px; border-radius: 2px; }

.spec-list { display: flex; flex-direction: column; gap: 12px; }
.spec-list li {
  font-size: 0.88rem;
  color: var(--gray-dark);
  font-weight: 600;
  padding-left: 20px;
  position: relative;
}
.spec-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--purple);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(106, 13, 173, 0.4);
}

/* PROJECTS / ÁREAS DE ATUAÇÃO SECTION */
.projects { background: var(--white); }
.projects .section-desc { max-width: 680px; margin-bottom: 40px; }

/* FEATURED SERVICE CARD (REAL ESTATE FOCUS) */
.featured-service-card {
  position: relative;
  background: linear-gradient(135deg, rgba(106, 13, 173, 0.03) 0%, rgba(255, 255, 255, 1) 100%);
  border: 1.5px solid rgba(106, 13, 173, 0.2);
  border-radius: 12px;
  padding: 48px;
  margin-top: 30px;
  margin-bottom: 60px;
  box-shadow: 0 20px 50px rgba(106, 13, 173, 0.06);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.featured-service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 70px rgba(106, 13, 173, 0.12);
  border-color: var(--purple);
}

.featured-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.featured-badge {
  display: inline-block;
  background: linear-gradient(90deg, var(--purple), var(--purple-sec));
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 4px;
  box-shadow: 0 6px 20px rgba(106, 13, 173, 0.25);
}

.featured-subtag {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 3px;
  color: var(--gray-med);
  text-transform: uppercase;
}

.featured-category {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--purple);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.featured-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--black);
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.featured-desc {
  font-size: 1.02rem;
  color: var(--gray-med);
  line-height: 1.7;
  max-width: 900px;
  margin-bottom: 36px;
}

.featured-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
  padding-top: 32px;
  border-top: 1px solid rgba(106, 13, 173, 0.12);
}

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

.feat-icon {
  background: rgba(106, 13, 173, 0.05);
  border: 1px solid rgba(106, 13, 173, 0.15);
  color: var(--purple);
  width: 48px;
  height: 48px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.feat-item:hover .feat-icon {
  background: var(--purple);
  color: var(--white);
  border-color: var(--purple);
}

.feat-item h4 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 4px;
}

.feat-item p {
  font-size: 0.85rem;
  color: var(--gray-med);
  line-height: 1.5;
}

/* SUB SECTION TITLE */
.sub-section-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 28px;
  letter-spacing: -0.5px;
}

/* TOPICS GRID */
.topics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.topic-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 32px;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  display: flex;
  flex-direction: column;
}

.topic-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(106, 13, 173, 0.1);
  border-color: rgba(106, 13, 173, 0.3);
}

.topic-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.topic-num {
  font-family: var(--font-giant);
  font-size: 2.2rem;
  color: rgba(106, 13, 173, 0.25);
  line-height: 1;
}

.topic-icon {
  background: rgba(106, 13, 173, 0.05);
  border: 1px solid rgba(106, 13, 173, 0.15);
  color: var(--purple);
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.topic-card:hover .topic-icon {
  background: var(--purple);
  color: var(--white);
}

.topic-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 12px;
}

.topic-desc {
  font-size: 0.9rem;
  color: var(--gray-med);
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.topic-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin-top: auto;
}

.topic-tags li {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--purple);
  background: rgba(106, 13, 173, 0.06);
  border: 1px solid rgba(106, 13, 173, 0.12);
  padding: 4px 12px;
  border-radius: 4px;
}

/* ==========================================================================
   VERTICAL VIDEO SECTION (FORMATO 9:16 - REELS & IMOBILIÁRIO)
   ========================================================================== */
.vertical-section {
  background: var(--gray-light);
  padding: 120px 60px;
}

.vertical-filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 36px;
  margin-bottom: 48px;
}

.v-filter-btn {
  font-family: var(--font-main);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 10px 22px;
  border-radius: 6px;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--gray-med);
  cursor: pointer;
  transition: all 0.3s ease;
}

.v-filter-btn:hover {
  border-color: var(--purple);
  color: var(--purple);
}

.v-filter-btn.active {
  background: var(--purple);
  color: var(--white);
  border-color: var(--purple);
  box-shadow: 0 6px 20px rgba(106, 13, 173, 0.25);
}

/* VERTICAL GRID */
.vertical-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 32px;
}

.vertical-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: var(--black);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.vertical-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(106, 13, 173, 0.2);
}

.v-media-wrapper {
  position: relative;
  width: 100%;
  padding-top: 177.77%; /* 9:16 Aspect Ratio */
  overflow: hidden;
}

.v-media-wrapper video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.vertical-card:hover video {
  transform: scale(1.06);
}

.v-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(106, 13, 173, 0.85);
  backdrop-filter: blur(8px);
  padding: 5px 12px;
  border-radius: 4px;
  z-index: 3;
}

.v-dur {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--white);
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: 4px;
  z-index: 3;
}

.v-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.85) 100%);
  z-index: 2;
  transition: opacity 0.3s;
}

.v-play-btn {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--purple);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
  box-shadow: 0 10px 30px rgba(106, 13, 173, 0.5);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0.9;
}

.v-play-btn svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  margin-left: 3px;
}

.vertical-card:hover .v-play-btn {
  transform: translate(-50%, -50%) scale(1.15);
  background: var(--purple-sec);
  box-shadow: 0 15px 40px rgba(139, 43, 208, 0.6);
  opacity: 1;
}

.v-details {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 24px 20px;
  z-index: 3;
}

.v-tag {
  display: block;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 4px;
}

.v-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 4px;
}

.v-sub {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.75);
}

/* VERTICAL VIDEO LIGHTBOX MODAL */
.v-modal {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

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

.v-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(16px);
}

.v-modal-box {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 400px;
  max-height: 90vh;
  margin: 0 20px;
  background: #0d0d0d;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
  transform: scale(0.92);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.v-modal.active .v-modal-box {
  transform: scale(1);
}

.v-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.v-modal-close:hover {
  background: var(--purple);
}

.v-modal-player {
  position: relative;
  display: flex;
  flex-direction: column;
}

.v-modal-player video {
  width: 100%;
  max-height: 68vh;
  object-fit: contain;
  background: #000;
}

.v-modal-meta {
  padding: 20px;
  background: #141414;
}

.v-modal-badge {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--purple-sec);
  background: rgba(106, 13, 173, 0.15);
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.v-modal-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 4px;
}

.v-modal-sub {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
}

/* SHOWREEL */
.showreel { background: var(--white); text-align: center; }
.reel-wrapper { position: relative; max-width: 1100px; margin: 50px auto 0; border-radius: 10px; overflow: hidden; cursor: pointer; box-shadow: 0 12px 45px rgba(0,0,0,0.08); }
.reel-wrapper img { width: 100%; display: block; transition: transform 0.6s; filter: brightness(0.65); }
.reel-wrapper:hover img { transform: scale(1.03); }
.reel-play { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; z-index: 2; }
.play-btn { width: 85px; height: 85px; border-radius: 50%; border: 2px solid var(--purple); display: flex; align-items: center; justify-content: center; transition: all 0.4s; background: rgba(106,13,173,0.2); backdrop-filter: blur(8px); }
.play-btn svg { width: 26px; height: 26px; fill: var(--white); margin-left: 4px; }
.reel-wrapper:hover .play-btn { background: var(--purple); transform: scale(1.1); box-shadow: 0 0 35px rgba(106,13,173,0.5); }
.reel-label { font-size: 0.85rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--white); }
.reel-dur { position: absolute; bottom: 24px; right: 28px; font-size: 0.75rem; color: var(--purple-sec); font-weight: 600; letter-spacing: 1px; z-index: 2; }

/* TOOLS */
.tools { background: var(--gray-light); }
.tools-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 18px; margin-top: 50px; }
.tool-card { background: var(--white); border: 1px solid var(--border); border-radius: 6px; padding: 26px 18px; text-align: center; transition: all 0.4s; cursor: default; }
.tool-card:hover { border-color: rgba(106,13,173,0.4); transform: translateY(-5px); background: rgba(106,13,173,0.03); box-shadow: 0 10px 30px rgba(106,13,173,0.08); }
.tool-icon { font-size: 2.2rem; margin-bottom: 12px; }
.tool-card h4 { font-size: 0.8rem; font-weight: 700; letter-spacing: 1px; color: var(--black); }
.tool-card p { font-size: 0.68rem; color: var(--gray-med); margin-top: 4px; }

/* STATS */
.stats { background: var(--white); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 60px; }
.stat-item { text-align: center; padding: 40px 20px; position: relative; }
.stat-item::after { content: ''; position: absolute; right: 0; top: 20%; height: 60%; width: 1px; background: var(--border); }
.stat-item:last-child::after { display: none; }
.stat-num { font-size: clamp(2.8rem, 5.5vw, 4.2rem); font-weight: 800; background: linear-gradient(135deg, var(--purple), var(--purple-sec)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1; }
.stat-label { font-size: 0.82rem; color: var(--gray-med); margin-top: 10px; font-weight: 600; letter-spacing: 1px; }

/* ABOUT */
.about { background: var(--gray-light); position: relative; z-index: 1; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-top: 50px; }
.about-img-wrap { position: relative; border-radius: 10px; overflow: hidden; box-shadow: 0 15px 45px rgba(0,0,0,0.1); }
.about-img-wrap img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.about-text h3 { font-size: 1.9rem; font-weight: 800; margin-bottom: 20px; line-height: 1.3; color: var(--black); }
.about-text p { font-size: 0.98rem; color: var(--gray-med); line-height: 1.8; margin-bottom: 16px; }
.about-text .highlight { color: var(--purple); font-weight: 700; }
.about-badges { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.about-badge { padding: 8px 18px; border: 1px solid var(--border); border-radius: 4px; font-size: 0.72rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--gray-med); transition: all 0.3s; }
.about-badge:hover { border-color: var(--purple); color: var(--purple); background: rgba(106,13,173,0.05); }

/* CLIENTS TICKER */
.clients { background: var(--white); padding: 80px 0; overflow: hidden; }
.clients .section-tag, .clients .section-title { padding: 0 60px; }
.ticker-wrap { margin-top: 50px; overflow: hidden; position: relative; }
.ticker-wrap::before, .ticker-wrap::after { content: ''; position: absolute; top: 0; width: 120px; height: 100%; z-index: 2; }
.ticker-wrap::before { left: 0; background: linear-gradient(90deg, var(--white), transparent); }
.ticker-wrap::after { right: 0; background: linear-gradient(270deg, var(--white), transparent); }
.ticker { display: flex; gap: 65px; animation: ticker 25s linear infinite; width: max-content; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.ticker-item { flex-shrink: 0; font-size: 1.25rem; font-weight: 800; letter-spacing: 3px; text-transform: uppercase; color: rgba(17,17,17,0.12); white-space: nowrap; transition: color 0.3s; padding: 20px 0; cursor: default; }
.ticker-item:hover { color: var(--purple); }

/* CONTACT */
.contact { background: var(--black); text-align: center; padding: 140px 60px; position: relative; color: var(--white); overflow: hidden; }
.contact::before { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 600px; height: 600px; background: radial-gradient(circle, rgba(106,13,173,0.15) 0%, transparent 70%); pointer-events: none; }
.contact .section-tag { justify-content: center; color: var(--purple-sec); }
.contact .section-title { font-size: clamp(2.5rem, 5vw, 4rem); max-width: 700px; margin: 0 auto 16px; color: var(--white); }
.contact .section-desc { max-width: 500px; margin: 0 auto 40px; text-align: center; color: rgba(255,255,255,0.6); }

.contact-links { display: flex; gap: 20px; justify-content: center; margin-top: 36px; }
.contact-link { width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; transition: all 0.3s; }
.contact-link:hover { border-color: var(--purple); background: rgba(106,13,173,0.2); transform: translateY(-3px); }
.contact-link svg { width: 20px; height: 20px; fill: rgba(255,255,255,0.5); transition: fill 0.3s; }
.contact-link:hover svg { fill: var(--purple-sec); }

/* FOOTER */
footer { background: var(--black); border-top: 1px solid rgba(255,255,255,0.06); padding: 48px 60px; display: flex; align-items: center; justify-content: space-between; }
.footer-left h4 { font-size: 1rem; font-weight: 800; letter-spacing: 2px; margin-bottom: 4px; color: var(--white); }
.footer-left h4 span { color: var(--purple); }
.footer-left p { font-size: 0.78rem; color: rgba(255,255,255,0.5); }
.footer-line { width: 60px; height: 2px; background: linear-gradient(90deg, var(--purple), var(--purple-sec)); border-radius: 2px; }
.footer-right { font-size: 0.72rem; color: rgba(255,255,255,0.5); letter-spacing: 1px; }

/* REDUCED MOTION PREFERENCE */
@media (prefers-reduced-motion: reduce) {
  .hero-intro-curtain { display: none; }
  .word-mask span { opacity: 1 !important; transform: none !important; }
  .hero-top-bar, .hero-bottom-bar, .hero-person-wrap { opacity: 1 !important; transform: none !important; }
  .scroll-line span { animation: none; }
  .ticker { animation: none; }
}

/* RESPONSIVE - DESKTOP LARGE & MEDIUM */
@media (max-width: 1440px) {
  .hero-title-giant { font-size: clamp(5.5rem, 19vw, 20rem); }
  .hero-person-wrap { height: 68vh; transform: translateX(-40%); }
}

@media (max-width: 1024px) {
  section { padding: 90px 36px; }
  .nav { padding: 20px 36px; }
  .hero-container { padding: 90px 36px 40px; }
  .hero-title-giant { font-size: clamp(4.5rem, 18vw, 15rem); }
  .hero-person-wrap { height: 62vh; transform: translateX(-42%); }
  .spec-grid { grid-template-columns: 1fr; }
  .proj-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
}

/* RESPONSIVE - MOBILE (390px) */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden !important;
    width: 100vw;
    max-width: 100vw;
  }
  
  section {
    padding: 70px 24px;
    max-width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  
  .nav {
    padding: 18px 24px;
    width: 100%;
    box-sizing: border-box;
  }
  
  .nav-links, .nav-cta { display: none; }
  .menu-toggle { display: flex; }
  
  .hero {
    max-width: 100vw;
    overflow: hidden;
  }
  
  .hero-container {
    padding: 85px 24px 24px;
    justify-content: space-between;
    position: relative;
    max-width: 100vw;
    box-sizing: border-box;
  }
  
  .hero-top-bar { flex-direction: column; align-items: flex-start; gap: 6px; }
  .hero-signature { font-size: 0.65rem; }
  .tag-text { font-size: 0.62rem; letter-spacing: 2px; }
  
  .hero-typography-wrap {
    max-width: 100vw;
    overflow: hidden;
  }
  
  .hero-title-giant {
    font-size: clamp(2.8rem, 15vw, 4.8rem);
    letter-spacing: 0px;
    max-width: 100vw;
  }
  
  .hero-person-wrap {
    height: 46vh;
    max-height: 420px;
    bottom: 110px;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .hero-bottom-bar {
    flex-direction: column;
    align-items: center;
    gap: 14px;
    width: 100%;
    position: relative;
    z-index: 15;
  }
  
  .hero-cta-btn {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
  }
  
  .scroll-line { height: 25px; }
  
  .spec-grid { gap: 18px; }
  .featured-service-card { padding: 28px 20px; margin-top: 20px; margin-bottom: 40px; }
  .featured-features { grid-template-columns: 1fr; gap: 20px; }
  .topics-grid { grid-template-columns: 1fr; gap: 16px; }
  .topic-card { padding: 24px 20px; }
  .tools-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .clients { padding: 60px 0; overflow: hidden; }
  .clients .section-tag, .clients .section-title { padding: 0 24px; }
  .contact { padding: 90px 24px; overflow: hidden; max-width: 100vw; box-sizing: border-box; }
  footer { flex-direction: column; gap: 20px; text-align: center; padding: 40px 24px; width: 100%; max-width: 100vw; box-sizing: border-box; }
  /* MOBILE CAROUSEL FOR VERTICAL VIDEOS (PORTFÓLIO) */
  .vertical-section {
    padding: 70px 0;
  }
  .vertical-section .section-tag,
  .vertical-section .section-title,
  .vertical-section .section-desc {
    padding-left: 24px;
    padding-right: 24px;
  }
  .vertical-filters {
    padding-left: 24px;
    padding-right: 24px;
    overflow-x: auto;
    flex-wrap: nowrap;
    white-space: nowrap;
    padding-bottom: 8px;
    margin-bottom: 24px;
    scrollbar-width: none;
  }
  .vertical-filters::-webkit-scrollbar {
    display: none;
  }
  .vertical-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 10px 24px 30px;
    gap: 16px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--purple) transparent;
  }
  .vertical-grid::-webkit-scrollbar {
    height: 4px;
  }
  .vertical-grid::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
  }
  .vertical-grid::-webkit-scrollbar-thumb {
    background: var(--purple);
    border-radius: 4px;
  }
  .vertical-card {
    flex: 0 0 78vw;
    max-width: 290px;
    scroll-snap-align: center;
  }
}
