.navbar-nav .nav-item {
  display: inline-flex !important;
  align-items: center;
  font-weight: 600;
}

@media (min-width: 768px) {
  .navbar-nav .nav-item:not(:last-child)::after {
    content: "|";
    color: #0d0d11;
    margin-left: 4px;
    margin-right: 4px;
    align-self: center;
  }
}

.navbar .nav-link {
  color: #000000 !important;
}

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

.navbar .nav-link:active, .navbar .nav-link:focus, .navbar .nav-link.active {
  color: #ffffff !important;
}

.linha-home {
  margin-bottom: 24px;
}

h1 {
  letter-spacing: 0.2em;
}

.portfolio-card {
  position: relative !important;
  display: block !important;
  overflow: hidden !important;
  width: 100%;
}

.portfolio-media {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.portfolio-overlay {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.85);
  display: flex !important;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 15px;
}

.portfolio-title {
  color: #111111;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 2px;
  margin: 0;
}

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

.portfolio-card:hover .portfolio-media {
  transform: scale(1.05);
}

.col-4 h2, .col-4 h3 {
  font-size: clamp(0.9rem, 2.5vw, 2rem) !important;
  white-space: nowrap;
  text-align: center;
}

p {
  width: 100% !important;
  max-width: 100% !important;
  font-size: clamp(1.2rem, 1.1vw, 0.9rem) !important;
  line-height: 1.3;
  margin: 0.5rem auto 0 auto;
  text-align: center;
  overflow-wrap: normal;
  word-break: normal;
}

.row h2, .row h3 {
  white-space: nowrap !important;
  font-size: clamp(0.7rem, 1.8vw, 1.8rem) !important;
  letter-spacing: 0.05em;
  text-align: center;
  margin-bottom: 0.5rem;
}

@media (min-width: 992px) {
  .hero-container {
    transform: translateX(-14vw);
  }
}

.video-wrapper {
  max-width: 60%;
  margin-left: auto;
  margin-right: auto;
}

.video-wrapper video, .video-wrapper iframe {
  width: 100% !important;
  height: auto;
  display: block;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 1000px;
}

@media (max-width: 767.98px) {
  .video-wrapper {
    max-width: 1000px;
    padding: 0 15px;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

.carousel-indicators [data-bs-target] {
  background-color: #fff473 !important;
  opacity: 0.5;
  height: 4px;
}

.carousel-indicators .active {
  background-color: #fff473 !important;
  opacity: 1 !important;
}

.carousel-control-prev-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23fff473' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='11 2 5 8 11 14'/%3e%3c/svg%3e") !important;
  width: 2.5rem;
  height: 2rem;
}

.carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23fff473' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='5 2 11 8 5 14'/%3e%3c/svg%3e") !important;
  width: 2.5rem;
  height: 2rem;
}

.video-wrapper-menor {
  max-width: 45%;
  margin-left: auto;
  margin-right: auto;
}

.video-wrapper-menor video, .video-wrapper-menor iframe {
  width: 100% !important;
  height: auto;
  display: block;
  max-width: 700px;
  margin-left: auto !important;
  margin-right: auto !important;
}

@media (max-width: 767.98px) {
  .video-wrapper-menor {
    max-width: 700px;
    padding: 0 15px;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

.btn-resume:hover {
  background-color: #fff473 !important;
}

.btn-resume {
  width: 143px;
  height: 49px;
  margin-top: 20px;
  color: var(--bs-primary) !important;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px;
  background: var(--bs-secondary) !important;
  border-style: none;
  border-radius: 0px;
  /*letter-spacing: 2px;*/
  --bs-success: #fff473;
  --bs-success-rgb: 255,244,115;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: opacity 0.2s ease-in-out;
}

.about-row, #about .row {
  max-width: 700px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  width: 100% !important;
}

.about-img-col {
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 767.98px) {
  .about-img-col {
    justify-content: center;
  }
}

.experience-list li strong {
  font-weight: 700;
  color: #ffffff;
}

.experience-list .text-muted {
  color: #a0a0a0 !important;
  font-size: 0.88rem;
}

.experience-list {
  max-width: 720px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  width: 100% !important;
  padding-left: 1.25rem !important;
  padding-right: 0 !important;
  box-sizing: border-box;
}

.experience-list li {
  text-align: left !important;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 350;
  line-height: 1.7;
  margin-bottom: 0.6rem;
}

.custom-contact-form {
  max-width: 720px !important;
  width: 100% !important;
  padding: 1rem 0;
}

.custom-contact-form .form-label {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 400;
  margin-bottom: 0.4rem;
  display: block;
}

.custom-contact-form .custom-input {
  background-color: transparent !important;
  color: #ffffff !important;
  border: 1px solid #ffffff !important;
  border-radius: 0px !important;
  padding: 0.6rem 0.75rem;
  box-shadow: none !important;
}

.custom-contact-form .custom-input:focus {
  border-color: #fff473 !important;
  outline: none;
}

.custom-contact-form .btn-send {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 20px;
  transition: color 0.2s ease, transform 0.1s ease;
}

.custom-contact-form .btn-send:hover {
  color: #fff473;
  transform: translateY(-1px);
}

.custom-carousel {
  max-width: 1000px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.experience-list .project-name {
  font-weight: 500;
  color: #ffffff;
}

#page-content {
  /*opacity: 0;*/
  transform: translateY(8px);
  transition: opacity 0.35s ease-in-out, transform 0.35s ease-in-out !important;
  will-change: opacity, transform;
}

#page-content.loaded {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

#page-content.fade-out {
  opacity: 0 !important;
  transform: translateY(-8px) !important;
  pointer-events: none;
}

#page-content.loaded {
  opacity: 1 !important;
  transform: none !important;
}

.portfolio-img {
  max-width: 900px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.lightbox-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background-color: rgba(0, 0, 0, 0.95) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 9999999 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity 0.25s ease-in-out !important;
  padding: 2rem;
  box-sizing: border-box;
}

.lightbox-overlay.active {
  opacity: 1 !important;
  pointer-events: auto !important;
}

.lightbox-overlay img {
  max-width: 90vw !important;
  max-height: 85vh !important;
  object-fit: contain !important;
  border-radius: 2px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.9);
  user-select: none;
}

.lightbox-close {
  position: absolute !important;
  top: 20px !important;
  right: 30px !important;
  background: transparent !important;
  border: none !important;
  color: #ffffff !important;
  font-size: 2.5rem !important;
  line-height: 1 !important;
  cursor: pointer !important;
  z-index: 10000000 !important;
  padding: 5px 12px !important;
  transition: color 0.2s ease, transform 0.1s ease !important;
}

.lightbox-close:hover {
  color: #fff473 !important;
  transform: scale(1.15);
}

.concept-img {
  max-width: 680px !important;
  width: 100% !important;
  height: auto !important;
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.concept-img:hover {
  opacity: 0.95;
  transform: scale(1.01);
}

.portfolio-img:hover {
  opacity: 0.95;
  transform: scale(1.01);
}

.row-concept-grid {
  max-width: 1000px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.row-concept-grid img {
  width: 100% !important;
  height: 230px !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
  border-radius: 0px !important;
}

@media (max-width: 768px) {
  .row-concept-grid img {
    height: 190px !important;
  }
}

.nda-locked {
  display: none;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

.nda-unlocked {
  display: block !important;
  animation: ndaFadeIn 0.4s ease-in-out forwards;
}

@keyframes ndaFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn-nda {
  background-color: #1a00ff !important;
  color: #000000 !important;
  font-weight: 900 !important;
  font-size: 1.5rem !important;
  letter-spacing: 3px !important;
  padding: 16px 48px !important;
  border: none !important;
  border-radius: 0px !important;
  cursor: pointer !important;
  display: block;
  margin-left: auto;
  margin-right: auto;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease !important;
}

.btn-nda:hover {
  background-color: #fff473 !important;
  color: #000000 !important;
  transform: scale(1.02);
  box-shadow: 0 0 24px rgba(255, 244, 115, 0.45);
}

.nda-modal-overlay {
  position: fixed !important;
  inset: 0 !important;
  background-color: rgba(0, 0, 0, 0.92) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 2147483646 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity 0.25s ease-in-out !important;
  padding: 20px;
  box-sizing: border-box;
}

.nda-modal-overlay.active {
  opacity: 1 !important;
  pointer-events: auto !important;
}

.nda-modal-card {
  position: relative;
  background-color: #0d0d0d;
  border: 1px solid #ffffff;
  border-radius: 0px;
  max-width: 440px;
  width: 100%;
  padding: 40px 32px;
  text-align: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.9);
}

.nda-modal-close {
  position: absolute;
  top: 10px;
  right: 16px;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease;
}

.nda-modal-close:hover {
  color: #fff473;
}

.nda-modal-title {
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.nda-modal-desc {
  color: #999999;
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.5;
  margin-bottom: 24px;
}

.nda-modal-input {
  width: 100%;
  background-color: #000000;
  border: 1px solid #ffffff;
  border-radius: 0px;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 300;
  padding: 12px 14px;
  margin-bottom: 12px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nda-modal-input:focus {
  border-color: #fff473;
  box-shadow: 0 0 10px rgba(255, 244, 115, 0.25);
}

.nda-error-text {
  display: none;
  color: #ff4757;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.btn-nda-unlock-submit {
  width: 100%;
  background-color: #1a00ff;
  color: #000000;
  border: none;
  border-radius: 0px;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 1.5px;
  padding: 13px 0;
  cursor: pointer;
  transition: background-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.btn-nda-unlock-submit:hover {
  background-color: #fff473;
  color: #000000;
  transform: scale(1.01);
  box-shadow: 0 0 16px rgba(255, 244, 115, 0.35);
}

