/* ============================================================
   BEA ARQ & INT — Link-in-Bio
   Referência: bernardesarq.com.br
   ============================================================ */

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

html, body {
  height: 100%;
  overflow: hidden;
  font-family: 'Asap', Verdana, sans-serif;
  color: #fff;
  background: #000;
}

/* ============================================================
   FULLPAGE
   ============================================================ */
#fullpage {
  height: 100vh;
  height: 100dvh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

#fullpage::-webkit-scrollbar { display: none; }

/* ============================================================
   SEÇÃO
   ============================================================ */
.section {
  position: relative;
  height: 100vh;
  height: 100dvh;
  width: 100%;
  scroll-snap-align: start;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.35) 0%,
    rgba(0,0,0,0.0)  35%,
    rgba(0,0,0,0.0)  55%,
    rgba(0,0,0,0.55) 100%
  );
  z-index: 0;
}

/* ============================================================
   NAVBAR — gradiente Bernardes, 135px, padding-bottom 50px
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  height: 135px;
  padding: 22px 33px 50px;
  background: linear-gradient(rgba(0,0,0,0.62) 0%, rgba(0,0,0,0) 100%);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  pointer-events: none;
}

/* Logo */
.navbar .logo-wrap {
  pointer-events: all;
  display: flex;
  align-items: flex-start;
}

.navbar .logo-wrap svg {
  width: 155px;
  height: auto;
  display: block;
  opacity: 0.93;
}

/* ============================================================
   LINKS DO MENU — 12px lowercase Asap (desktop)
   ============================================================ */
.nav-links {
  display: flex;
  list-style: none;
  gap: 26px;
  pointer-events: all;
  padding-top: 3px;
}

.nav-links a {
  font-family: 'Asap', Verdana, sans-serif;
  font-size: 12px;
  font-weight: 400;
  text-transform: lowercase;
  letter-spacing: 0.5px;
  color: rgb(255, 255, 255);
  text-decoration: none;
  transition: color 0.25s ease;
  white-space: nowrap;
}

.nav-links a:hover  { color: rgb(187, 171, 151); }
.nav-links a.active { color: rgb(129, 129, 129); }

/* ============================================================
   HAMBURGER — 4 spans → anima para X
   ============================================================ */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  pointer-events: all;
  padding: 2px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1px;
  background: #fff;
  transform-origin: center;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              opacity   0.25s ease,
              background 0.25s ease;
}

.hamburger.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(4) { transform: translateY(-9px) rotate(-45deg); }

/* ============================================================
   MENU MOBILE — slide down
   ============================================================ */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.97);
  z-index: 9998;
  padding: 110px 33px 48px;
  transform: translateY(-100%);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.mobile-menu.open {
  transform: translateY(0);
  pointer-events: all;
}

.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.mobile-menu ul li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.mobile-menu ul a {
  display: block;
  font-family: 'Asap', Verdana, sans-serif;
  font-size: 13px;
  font-weight: 400;
  text-transform: lowercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  padding: 17px 0;
  transition: color 0.2s ease;
}

.mobile-menu ul a:hover  { color: rgb(187, 171, 151); }
.mobile-menu ul a.active { color: rgb(129, 129, 129); }

/* ============================================================
   LINK FULL
   ============================================================ */
.link-full {
  position: absolute;
  inset: 0;
  display: block;
  z-index: 1;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

/* ============================================================
   INDICADOR DE SCROLL — bounce infinito
   ============================================================ */
.wrapp_gotop {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 40px;
  cursor: pointer;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-icon {
  width: 34px;
  height: 34px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 24'%3E%3Cpolyline points='2,3 20,21 38,3' fill='none' stroke='%23ffffff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.6;
}

.section:last-child .wrapp_gotop { display: none; }

@keyframes bounce {
  0%   { transform: translateX(-50%) translateY(0);    }
  20%  { transform: translateX(-50%) translateY(15px); }
  40%  { transform: translateX(-50%) translateY(0);    }
  60%  { transform: translateX(-50%) translateY(15px); }
  80%  { transform: translateX(-50%) translateY(0);    }
  100% { transform: translateX(-50%) translateY(0);    }
}

.section.active .wrapp_gotop {
  animation: bounce 3.5s ease 0.6s infinite;
}

/* ============================================================
   LABEL DO LINK — canto inferior esquerdo
   ============================================================ */
.section-label {
  position: absolute;
  bottom: 80px;
  left: 33px;
  z-index: 1001;
  pointer-events: none;
}

.section-label p {
  font-family: 'Asap', Verdana, sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  text-transform: lowercase;
  letter-spacing: 0.5px;
  margin: 0;
}

/* ============================================================
   ANIMAÇÃO ENTRADA DE SEÇÃO
   ============================================================ */
@keyframes sectionFadeIn {
  from { opacity: 0.5; }
  to   { opacity: 1; }
}

.section.active {
  animation: sectionFadeIn 0.8s ease forwards;
}

/* ============================================================
   MOBILE
   ============================================================ */
@media (max-width: 768px) {
  .nav-links   { display: none; }
  .hamburger   { display: flex; }

  .navbar {
    padding: 22px 24px 50px;
    height: 110px;
  }

  .navbar .logo-wrap svg { width: 120px; }

  .section-label {
    bottom: 70px;
    left: 24px;
  }

  .section-label p {
    font-size: 11px;
  }

  .wrapp_gotop { bottom: 26px; }
}
