header .logo-desktop,
header .logo-mobile-menu {
  width: 140px;
  margin: 1rem 0
}


header {
  width: 100%;
}

@media screen and (min-width: 1024px) {
  header:not(.headerFixed) {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 999;
  }
}

@media screen and (max-width: 820px) {
  header {
    position: sticky;
    top: 0;
    z-index: 999;
    background-color: var(--secondary-color);
  }
}

header.headerFixed {
  background-color: var(--secondary-color);
}

@media screen and (min-width: 1024px) {
  .navbar-nav .nav-link {
    color: var(--light);
    transition: 0.3s;
    margin: 0 2px;
    position: relative;
  }

  .navbar-nav .nav-link::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.375rem;
    width: 0;
    height: 0.125rem;
    background-color: var(--light);
    border-radius: 6.25rem;
    transition: width 0.3s ease;
  }

  .navbar-nav .nav-link.active {
    color: var(--light);
  }

  .navbar-nav .nav-link:hover::before {
    width: 100%;
  }

  .navbar-nav .nav-link.active::before {
    width: 100%;
  }
}

header #menu>ul>li>a.active-menu-topo {
  color: var(--primary-color);
}

/* FOOTER */
footer {
  background-color: var(--dark);
}

footer .logo-desktop {
  max-width: 200px;
}

footer h3 {
  margin-top: 0;
  font-size: 1.125rem;
  color: var(--light)
}

footer .footer__nav li a:not(.btn) {
  display: block;
  padding: 5px 0;
  font-size: .875rem;
  color: var(--light);
  transition: .3s
}

footer .footer__nav li a i {
  font-size: .625rem
}

footer .footer__nav li a:hover {
  color: var(--primary-color-light)
}

footer .address :is(span, a):not(.btn) {
  color: var(--light);
  font-size: .875rem;
  line-height: 25px;
  transition: .3s
}

footer .address a:not(.btn):hover {
  color: var(--primary-color-light)
}

.copyright-footer .btn.selos {
  min-height: unset;
}

@media screen and (max-width: 992.05px) {
  footer .social {
    justify-content: center;
  }
}

.card.card--23 {
  all: unset;
  box-sizing: border-box;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-flow: column nowrap;
  gap: 1rem;
  background-color: var(--dark);
  background-image: linear-gradient(-45deg, var(--dark), var(--grey)), var(--card-background);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-blend-mode: multiply, normal;
  border-radius: 1rem;
  padding: 1rem;
  position: relative;
  height: 100%
}

.card.card--23:focus-within,
.card.card--23:hover {
  box-shadow: 0 0 0 2px var(--secondary-color)
}

.card.card--23 .card__title {
  color: #fff;
  font-size: 1.25rem;
  text-shadow: 0 0 .25rem var(--dark);
  margin: 0;
  min-height: calc(1.25rem * 2 * 1.3)
}

.card.card--23 .card__link {
  z-index: 1;
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-flow: row nowrap;
  padding: .5rem .75rem;
  font-size: .875rem;
  text-transform: uppercase;
  transition: var(--transition);
  color: var(--light);
  font-weight: 600;
  border: 2px solid currentColor;
  border-radius: 99px
}

.card.card--23 .card__link>span {
  width: 0;
  max-width: fit-content;
  opacity: 0;
  transition: var(--transition)
}

.card.card--23 .card__link:focus>span,
.card.card--23 .card__link:hover>span {
  width: 100px;
  opacity: 1;
  margin-right: .5rem
}

.card.card--23 .card__link::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
  backface-visibility: visible
}

.card.card--23 .card__link:focus,
.card.card--23 .card__link:hover {
  border-color: var(--primary-color);
  background-color: var(--primary-color)
}

.shadow-19 {
  box-shadow: rgba(50, 50, 93, .25) 0 2px 5px -1px, rgba(0, 0, 0, .3) 0 1px 3px -1px
}

.title-subtitle {
  margin-bottom: 0
}

.title-subtitle span {
  display: block;
  font-size: .9rem;
  color: #000;
  line-height: 1rem;
  letter-spacing: .25rem;
  text-transform: uppercase
}

/* ================= CLIENTES ================= */
.clientes .clientes__item {
  display: grid;
  place-items: center;
  padding: 1rem;
  border: 1px solid var(--bs-border-color);
  border-radius: var(--bs-border-radius);
  overflow: hidden
}

.clientes .clientes__item img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: contain;
  margin: 0 auto;
  opacity: .75;
  border-radius: var(--bs-border-radius-sm);
  transition: opacity var(--transition)
}

.clientes .clientes__item:hover img {
  opacity: 1
}

/* ================= DEPOIMENTOS ================= */
.testimonial .testimonial-author-image {
  width: 100%;
  max-width: 64px;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 999px;
}

/* BANNER MOBILE */
.banner-mobile {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.banner-mobile::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.5));
  z-index: 1;
  pointer-events: none;
}

.banner-mobile img {
  width: 100%;
  height: auto;
  display: block;
}

.banner-mobile__content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  z-index: 2;
  color: #fff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
  text-align: center;
}

/* ================= QUEM SOMOS ================= */
.about-subtitle-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.about-line {
  width: 32px;
  height: 4px;
  background-color: var(--primary-color);
  border-radius: 2px;
}


.about-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.2;
}

.about-text {
  font-size: 0.95rem;
  line-height: 1.6;
}

.about-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform var(--transition);
}

.about-image-wrapper {
  overflow: hidden;
  border-radius: 1rem;
}

.about-image-wrapper:hover .about-img {
  transform: scale(1.03);
}

.about-feature-icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--light);
  border-radius: 0.5rem;
  flex-shrink: 0;
  transition: var(--transition);
}

.about-feature-item {
  transition: var(--transition);
}

.about-feature-item:hover .about-feature-icon {
  background-color: var(--primary-color-light);
}

.about-feature-item:hover .about-feature-icon i {
  color: #fff !important;
}

.about-feature-text {
  font-size: 0.85rem;
  line-height: 1.4;
}

@media (max-width: 991.98px) {
  .about-img {
    max-height: 400px;
  }
}

/* ================= EVENTOS GRID (CORRIGIDO) ================= */
.eventos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.eventos-item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  aspect-ratio: 16/10;
}

.eventos-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}


.eventos-item:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  z-index: 2;
}

.eventos-item:hover img {
  transform: scale(1.05);
}

@media (min-width: 768px) {
  .eventos-grid {
    grid-template-columns: repeat(9, 1fr);
    grid-template-rows: repeat(6, 115px);
    gap: 16px;
  }

  .eventos-item {
    aspect-ratio: auto;
    height: 100%;
  }

  .grid-left-1,
  .grid-left-2 {
    grid-column: span 3;
    grid-row: span 3;
  }


  .grid-right-row1,
  .grid-right-row3 {
    grid-column: span 2;
    grid-row: span 2;
  }

  .grid-right-row2 {
    grid-column: span 3;
    grid-row: span 2;
  }
}

 .bg-contact .form-control::placeholder {
    color: #fff;
    opacity: 0.6;
  }

   .form-control{
    border-color: transparent;
   }
   .card-contato{
    background: rgba(30,30,30,0.5); 
    backdrop-filter: blur(10px);
   }

   .card-eventos{
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
   }

   .card-eventos:hover{
    transform: translateY(-4px);
    box-shadow: 0 20px 54px rgba(0, 0, 0, 0.12);
   }

   .card-eventos img{
    width: 100%;
    height: 150px;
    display: block;
    object-fit: cover;
    border-radius: 1rem;
   }