html,
body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Prioridade máxima da navbar */
nav.navbar.navbar-expand-lg.navbar-dark.bg-dark {
  z-index: 10000;
}

/* Destaque no texto "conosco" */
.highlight-text {
  color: #a855f7;
  font-weight: 600;
}

/* ========== NAVBAR ESTILIZADA ========== */
.custom-navbar {
  background-color: #000;
  color: white;
  font-size: 0.95rem;
  z-index: 9999;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 992px) {
  .custom-navbar {
    padding-left: 3rem;
    padding-right: 3rem;
  }
}

.custom-navbar .nav-link {
  color: white !important;
  opacity: 0.85;
  transition: all 0.2s ease-in-out;
}

.custom-navbar .nav-link:hover,
.custom-navbar .nav-link.active {
  opacity: 1;
  font-weight: 600;
}

.custom-navbar .text-white {
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.custom-navbar .navbar-brand img {
  display: block;
  margin-left: 0;
}

.custom-navbar .navbar-nav {
  align-items: center;
}

/* ========== HERO SECTION ========== */

.hero-image-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  overflow: hidden;
  padding-right: 0;
  margin-right: 0;
}

.hero-image {
  display: block;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: right center;
}

@media (min-width: 992px) {
  .hero-image-wrapper {
    padding-right: 0;
    margin-right: -12px;
    /* Faz colar à borda da tela */
  }

  .hero-image {
    max-height: calc(100vh - 80px);
    width: auto;
  }

  #inicio .container-fluid {
    padding-left: 0;
    padding-right: 0;
  }

  #inicio .col-lg-6:last-child {
    padding-right: 0;
  }
}

@media (max-width: 768px) {
  .hero-image {
    height: 460px;
    object-fit: contain;
  }

  .hero-buttons .btn {
    display: block;
    width: 100%;
    margin-bottom: 10px;
  }

  .project-info {
    z-index: 2;
    max-width: 170px;
  }

  .project-card.position-relative.overflow-hidden.rounded-4 {
    height: 320px;
    width: 100%;
  }

  .value-card {
    height: 390px !important;
  }

  .featured-case-panel-left {

    left: -20px !important;
  }

  .featured-case-panel-right {

    right: -20px !important;
  }
}

/* ========== PROJETOS ========== */

.project-card.position-relative.overflow-hidden.rounded-4 {
  height: 320px;
  width: 100%;
}

.project-card {
  aspect-ratio: 16 / 9;
  position: relative;
}

.project-card img {
  object-fit: cover;
  height: 100%;
}

.project-info {
  z-index: 2;
}

@media screen and (min-width: 1024px) {
  .project-info {
    max-width: 260px;
  }
}

.project-card .text-end h5 {
  font-size: 1rem;
  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

/* Utilitários */
.small,
small {
  font-size: 0.875em;
  text-align: left;
}

h5.fw-bold {
  text-align: left;
}

section#servicos,
section#projetos,
.bg-blackk,
section#about-inicio,
section#about-servicos {
  background-color: black;
}

/* MY VALUES */
.company-values {
  max-width: 1000px;
  margin: 100px auto;
  font-family: Arial, sans-serif;
}

.company-values-title {
  font-size: 32px;
  margin-bottom: 40px;
}

.company-values-layout {
  display: flex;
  gap: 40px;
  align-items: center;
  word-break: break-word;
}

.company-values-cards {
  position: relative;
  width: 100%;
  height: 260px;
}

.value-card {
  position: absolute;
  width: 100%;
  padding: 40px;
  border-radius: 18px;
  color: black;
  height: 230px;

  opacity: 0;
  transform: translateY(20px);
  transition: all .4s ease;
}

.value-card.active {
  opacity: 1;
  transform: translateY(0);
}

/* cores */

.value-card.purple {
  background: #620088;
}

.value-card.green {
  background: #C3FF00;
}

.value-card.blue {
  background: #00ADEC;
}

.value-card.red {
  background: #EC3F00;
}

/* navegação */

.company-values-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.value-button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #ccc;
  background: none;
  cursor: pointer;
  color: white;
}

.value-button.active {
  background: white;
  color: black;
}

/* PORTOFOLIO */

.featured-case-wrapper-left {
  position: relative;
  border-radius: 24px;
  overflow: visible;
  width: 768px;
  display: flex;
  justify-content: start;
}

.featured-case-wrapper-right {
  position: relative;
  border-radius: 24px;
  overflow: visible;
  width: 768px;
  display: flex;
  justify-content: end;
}

/* imagem principal */

.featured-case-image {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: 24px;
}

.featured-case-logo {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 24px;
}

/* card branco */
.featured-case-panel-left {
  position: absolute;
  top: 40px;
  left: -40px;
  width: 320px;
  background: white;
  padding: 24px;
  border-radius: 18px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
}

.featured-case-panel-right {
  position: absolute;
  top: 40px;
  right: -40px;
  width: 320px;
  background: white;
  padding: 24px;
  border-radius: 18px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
}

.featured-case-title {
  font-weight: 700;
  margin-bottom: 10px;
}

.featured-case-description {
  font-size: 14px;
  margin-bottom: 15px;
}

/* tags */

.featured-case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 15px;
}

.featured-case-tags span {
  background: #111;
  color: white;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 20px;
}

/* botão */

.featured-case-link {
  text-decoration: none;
  color: #111;
  font-weight: 500;
}

/* headline */

.featured-case-headline {
  position: absolute;
  right: 50px;
  bottom: 50px;
  text-align: right;
  color: white;
}

.featured-case-heading {
  font-size: 52px;
  font-weight: 700;
  line-height: 1.1;
}

.featured-case-category {
  font-size: 13px;
  letter-spacing: 2px;
  opacity: 0.8;
}

section.featured-case-section.container.py-5 {
  display: flex;
  justify-content: center;
}

.text-black {
  color: #000;
}

/* WhatsApp */

.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;

  width: 60px;
  height: 60px;

  background: #25D366;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);

  z-index: 9999;

  animation: whatsappPulse 2.5s infinite;
  transition: transform 0.2s ease;
}

/* hover */

.whatsapp-float:hover {
  transform: scale(1.1);
  animation: none;
}

/* ícone */

.whatsapp-icon {
  width: 30px;
  height: 30px;
}

/* animação */

@keyframes whatsappPulse {

  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }

  70% {
    box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
  }

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

}

/* project-pages */

.project-name {
  font-weight: 700;
}

.project-category {
  font-size: 14px;
  color: #888;
}

.project-hero img {
  width: 100%;
  border-radius: 16px;
}

.project-logo img {
  max-width: 120px;
}

.project-tags {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.project-tags li {
  background: #111;
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
}
