/* ====== Base Layout ====== */
html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  background: #292929;
  cursor: none !important;
}

/* ====== Header ====== */
.header {
  position: absolute;
  top: 50px;
  right: 68px;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  z-index: 10;
  pointer-events: auto;
  padding: 0 0 0 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
}

.show-header-btn {
  animation: slide-down-header 0.8s cubic-bezier(.77, 0, .18, 1) forwards;
}

/* ====== Home Button ====== */
.home-btn {
  transform: translateY(-1000%);
  background: #ddd;
  color: #292929;
  font-size: 0.2rem;
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 300;
  border: none;
  border-radius: 0;
  padding: 0.3em 0.7em;
  display: inline-block;
  box-shadow: none;
  cursor: pointer;
  transition: background 0.2s;
  margin: 0 3px;
}

.home-btn:focus {
  outline: none;
}

.main-container {
  position: relative;
  width: 100%;
  opacity: 0;
  pointer-events: none;
  transform: translateY(100vh);
  transition: opacity 0.7s cubic-bezier(.77, 0, .18, 1), transform 0.7s cubic-bezier(.77, 0, .18, 1);
  z-index: 2;
}

.main-content {
  padding: 130px 0px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  width: 84%;
  max-width: 700px;
  margin: 0 auto;
  gap: 0.5em;
}

.main-container.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* ====== Wipe Animation Container & SVG ====== */
.wipe-container {
  width: 400px;
  height: 200px;
  overflow: visible;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  z-index: 1000;
}

.wipe-svg {
  width: 100%;
  height: 100%;
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  animation: wipe-reveal 2s ease-out forwards, move-up-scale 1s 2.2s cubic-bezier(.77, 0, .18, 1) forwards;
}

.no-mask {
  clip-path: none !important;
}

/* ====== Animations ====== */
@keyframes slide-down-header {
  0% {
    opacity: 0;
    transform: translateY(-1000%);
  }


  100% {
    opacity: 1;
    transform: translateY(0px);
  }
}

@keyframes wipe-reveal {
  0% {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
  }

  20% {
    opacity: 1;
    clip-path: inset(0 100% 0 0);
  }

  100% {
    opacity: 1;
    clip-path: inset(0 0% 0 0);
  }
}

@keyframes move-up-scale {
  0% {
    transform: translateY(0) scale(1);
  }

  100% {
    transform: translate(calc(-50vw + 120px), calc(-50vh + 75px)) scale(0.35);
  }
}

.header-btn.blur {
  color: transparent;
  text-shadow: 0 0 4px #292929, 0 0 8px #292929, 0 0 12px #292929;
  transition: color 0.2s, text-shadow 0.2s;
}

.header-btn {
  transition: color 0.2s, text-shadow 0.2s;
  background: none;
  border: none;
  color: #fff;
  font-size: 1rem;
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: none;
  outline: none;
  box-shadow: none;
  padding: 0 12px;
  margin: 0;
  transition: color 0.18s, text-shadow 0.18s;
  position: relative;
  opacity: 1;
}

.header-btn:focus {
  outline: none;
}

.header-btn::after {
  content: '';
  display: block;
  width: 0%;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  margin: 6px auto 0 auto;
  transition: width 0.22s cubic-bezier(.77, 0, .18, 1);
}

.header-btn.active,
.header-btn:hover {
  color: #fff;
  text-shadow: 0 0 2px #fff, 0 0 8px #fff;
}

.header-btn.active::after,
.header-btn:hover::after {
  width: 100%;
}

.header-btn:not(.active):not(:hover) {
  color: #fff;
  opacity: 0.85;
  text-shadow: none;
}

.header-btn:hover {
  cursor: none !important;
}

.header-btn:hover~.ball-cursor {
  display: none !important;
}

/* ====== Ball Cursor ====== */
.ball-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: background 0.2s, width 0.2s, height 0.2s, opacity 0.5s cubic-bezier(.77, 0, .18, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  mix-blend-mode: difference;
  opacity: 0;
  display: none;
}

.title {
  font-size: 2.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.2em;
  letter-spacing: 1px;
  font-family: 'Inter', Arial, sans-serif;
}

.subtitle {
  font-size: 1.3rem;
  font-weight: 400;
  color: #b3b3b3;
  margin-bottom: 1.2em;
  font-family: 'Inter', Arial, sans-serif;
}

.description {
  font-size: 1.1rem;
  color: #e0e0e0;
  line-height: 1.7;
  font-family: 'Inter', Arial, sans-serif;
  padding: 1.2em 1.5em;
  max-width: 600px;
}

/* ====== Two Column Layout ====== */
.two-column-container {
  display: flex;
  justify-content: space-between;
  margin: 20px 0;
  width: 100%;
}

.column {
  display: inline;
}

.column img {
  width: 140%;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* ===== HERO SECTION (imagem) ===== */
.hero-grid {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  /* margin-top: 40px; */
  align-items: baseline;
  margin: 140px auto;
}

.hero-col {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.hero-col-left {
  flex: 2;
  margin-right: 50px;
}

.hero-col-right {
  flex: 1;
  align-items: flex-end;
  justify-content: flex-end;
  text-align: right;
}

.hero-top-text {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 2.2rem;
  color: #e0e0e0;
  font-weight: 300;
  margin-top: 10px;
  letter-spacing: 0.01em;
}

.hero-main-text {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 8vw;
  font-weight: 900;
  color: #f2f2f2;
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.hero-side-text {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 2.2rem;
  color: #e0e0e0;
  font-weight: 300;
  max-width: 520px;
  line-height: 1.2;
}

.hero-greeting-animated {
  display: flex;
  align-items: flex-start;
  min-height: 1.1em;
  margin-bottom: 0.1em;
  position: relative;
  overflow: visible;
  width: 100%;
  max-width: 100%;
}

.greeting-text {
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 900;
  color: #f2f2f2;
  line-height: 1;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  transition: opacity 0.7s cubic-bezier(.77, 0, .18, 1), transform 0.7s cubic-bezier(.77, 0, .18, 1), font-size 0.3s cubic-bezier(.77, 0, .18, 1);
  cursor: pointer;
  max-width: 100%;
  display: inline-block;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: clamp(2rem, 8vw, 7vw);
}

.greeting-text.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  animation: fadeInScale 0.7s cubic-bezier(.77, 0, .18, 1);
}

.greeting-text.hide {
  opacity: 0;
  transform: translateY(-40px) scale(0.98);
  animation: fadeOutScale 0.7s cubic-bezier(.77, 0, .18, 1);
}

@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
  }

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

@keyframes fadeOutScale {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  100% {
    opacity: 0;
    transform: translateY(-40px) scale(0.98);
  }
}

.hero-main-text-rest {
  font-family: 'Inter', Arial, sans-serif;
  font-size: clamp(1.2rem, 3vw, 2.8vw);
  font-weight: 700;
  color: #f2f2f2;
  line-height: 1.1;
  word-break: break-word;
}

@media (max-width: 900px) {
  .hero-grid {
    flex-direction: column;
    gap: 24px;
  }

  .hero-col-right {
    align-items: flex-start;
    text-align: left;
    margin-top: 24px;
  }

  .hero-main-text {
    font-size: 12vw;
  }

  .hero-side-text,
  .hero-top-text {
    font-size: 1.3rem;
  }

  .greeting-text {
    font-size: clamp(1.2rem, 12vw, 8vw);
  }

  .hero-main-text-rest {
    font-size: clamp(1rem, 6vw, 4vw);
  }
}

/* ====== Custom Scrollbar ===== */
::-webkit-scrollbar {
  width: 8px;
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(120deg, #444 0%, #888 100%);
  border-radius: 8px;
  min-height: 40px;
  border: 2px solid #292929;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(120deg, #666 0%, #aaa 100%);
}

::-webkit-scrollbar-track {
  background: transparent;
}

/* Firefox */
html {
  scrollbar-width: thin;
  scrollbar-color: #666 #292929;
}

/* ====== Horizontal Scroll Section ====== */
.horizontal-scroll-section {
  width: 100vw;
  height: 100vh;
  /* Single viewport height since scroll is now controlled by JS */
  position: relative;
  margin-left: calc(-50vw + 50%);
  overflow: hidden;
}

.horizontal-content {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  width: 500vw;
  /* 5 items * 100vw */
  will-change: transform;
  transition: none;
  /* Remove transition to allow manual control */
}

.horizontal-item {
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5vw;
  box-sizing: border-box;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.horizontal-item:not(.active) {
  opacity: 0.7;
}

.horizontal-item.active {
  opacity: 1;
}

.horizontal-item.active .item-content {
  transform: scale(1.02);
}

.item-content {
  max-width: 800px;
  text-align: center;
  color: #fff;
  padding: 60px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, background 0.3s ease;
}

.item-content:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.08);
}

.item-content h3 {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #f2f2f2;
  letter-spacing: -0.02em;
}

.item-content p {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 1.6;
  color: #e0e0e0;
  margin-bottom: 40px;
}

.item-image {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #444 0%, #666 100%);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}

.item-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
  animation: shimmer 2s infinite;
}

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

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

/* Progress Bar */
.scroll-progress-container {
  position: fixed;
  left: 50%;
  transform: translateX(-50%) translateY(-80px);
  width: 200px;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  z-index: 1000;
  opacity: 1;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.scroll-progress-container.visible {
  opacity: 1;
}

.scroll-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #f2f2f2 0%, #fff 100%);
  border-radius: 2px;
  width: 0%;
  transition: width 0.1s ease-out;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .item-content {
    padding: 40px 30px;
    max-width: 90vw;
  }

  .item-content h3 {
    font-size: 2.2rem;
  }

  .item-content p {
    font-size: 1.2rem;
  }

  .scroll-progress-container {
    width: 150px;
    bottom: 30px;
  }
}

/* ====== Footer Content ====== */
.footer-content {
  width: 84%;
  max-width: 700px;
  margin: 0 auto;
  padding: 100px 0 80px 0;
  text-align: center;
}

.footer-text h2 {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: #f2f2f2;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.footer-text p {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 1.4rem;
  font-weight: 300;
  color: #e0e0e0;
  margin-bottom: 40px;
  line-height: 1.6;
}

.contact-info span {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 1.2rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  padding: 12px 24px;
  border-radius: 25px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  display: inline-block;
}

.contact-info span:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .footer-text h2 {
    font-size: 2.2rem;
  }

  .footer-text p {
    font-size: 1.2rem;
  }

  .contact-info span {
    font-size: 1rem;
  }
}


@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;1,300;1,400&display=swap');

/* ====== WIP Page ====== */
.main-content {
  padding: 130px 0px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  min-height: 100vh;
  box-sizing: border-box;
  gap: 0;
  width: 84%;
  max-width: 700px;
  margin: 0 auto;
}

.wip-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.wip-top-label,
.wip-top-year {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.28);
}

.wip-top-year {
  font-weight: 300;
  letter-spacing: 0.15em;
}

.wip-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 0 2rem;
}

.wip-eyebrow {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.28);
  margin-bottom: 1.2rem;
  animation: fadeUp 0.7s 0.3s ease both;
  opacity: 0;
}

.title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(3rem, 7vw, 5rem);
  line-height: 0.95;
  color: #f2f2f2;
  margin: 0;
  letter-spacing: -0.02em;
  animation: fadeUp 0.9s 0.45s ease both;
  opacity: 0;
}

.title em {
  font-style: italic;
  color: rgba(242, 242, 242, 0.65);
}

.wip-rule {
  width: 2rem;
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
  margin: 1.8rem 0;
  transform-origin: left;
  animation: growLine 0.7s 0.85s ease both;
  opacity: 0;
}

.subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 1.3rem;
  color: rgba(224, 224, 224, 0.6);
  letter-spacing: 0.01em;
  line-height: 1.5;
  max-width: 30ch;
  animation: fadeUp 0.8s 1s ease both;
  opacity: 0;
}

.wip-bottom {
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  animation: fadeUp 0.8s 1.2s ease both;
  opacity: 0;
}

.wip-status {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wip-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  opacity: 0.35;
  animation: pulse 2.8s ease-in-out 2s infinite;
}

.wip-status-txt {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.28);
}

.wip-contact {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  text-decoration: none;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
  cursor: none;
  pointer-events: auto;
}

.wip-corner-contact {
  position: fixed;
  right: calc(24px + env(safe-area-inset-right, 0px));
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  z-index: 30;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 56px 8px 8px 56px;
  pointer-events: auto;
}

.wip-corner-rs {
  position: absolute;
  right: 0;
  bottom: 0;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 220px;
  line-height: 0.8;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.06);
  transform: translate(14%, 10%);
  user-select: none;
  pointer-events: none;
}

@media (max-width: 600px) {
  .main-content {
    padding: 72px 0px 56px;
  }

  .wip-body {
    padding: 1.6rem 0 1.2rem;
  }

  .title {
    font-size: clamp(2.4rem, 10vw, 3.4rem);
  }

  .subtitle {
    font-size: 1.1rem;
  }

  .wip-corner-contact {
    right: calc(24px + env(safe-area-inset-right, 0px));
    bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    padding: 44px 6px 6px 44px;
  }

  .wip-corner-rs {
    font-size: 170px;
  }
}

.wip-contact:hover {
  color: rgba(255, 255, 255, 0.75);
  border-color: rgba(255, 255, 255, 0.4);
}

@keyframes growLine {
  from {
    transform: scaleX(0);
    opacity: 0;
  }

  to {
    transform: scaleX(1);
    opacity: 1;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {

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

  50% {
    opacity: 0.7;
    transform: scale(1.4);
  }
}