/* Logos e ícones: regras finais sem substituir arquivos via CSS. */

.brand,
.footer__logo {
  overflow: visible !important;
}

.brand img,
.footer__logo {
  content: normal !important;
  filter: brightness(0) invert(1) !important;
  object-fit: contain !important;
  object-position: center !important;
  image-rendering: auto !important;
  transform: none !important;
}

.brand { min-width: 210px !important; }
.brand img {
  width: 230px !important;
  height: auto !important;
  max-width: 230px !important;
  max-height: 96px !important;
}
.footer__logo {
  width: 230px !important;
  height: auto !important;
  max-width: 230px !important;
  max-height: 100px !important;
}

.brands__logos {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px 24px !important;
  align-items: center !important;
  justify-items: center !important;
  overflow: visible !important;
}

.brand-logo,
.brand-logo--wide,
.brand-logo--small,
.brand-logo--tall,
.brand-logo--compact {
  position: relative !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 124px !important;
  min-height: 124px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.brand-logo--wide {
  grid-column: 1 / -1 !important;
  height: 170px !important;
  min-height: 170px !important;
}

.brands__logos img {
  display: block !important;
  flex: 0 0 auto !important;
  width: 200px !important;
  height: auto !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center !important;
  clip-path: none !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transform: none !important;
}

.brands__logos img[alt="RDMAX by Redentor"] { width: 410px !important; }
.brands__logos img[alt="Varilux"] { width: 205px !important; }
.brands__logos img[alt="Transitions"] { width: 205px !important; }
.brands__logos img[alt="HOYA"] { width: 205px !important; }
.brands__logos img[alt="Santorini"] { width: 190px !important; }
.brands__logos img[alt="ZEISS"] { width: 155px !important; }
.brands__logos img[alt="Crizal"] { width: 205px !important; }
.brands__logos img[alt="Haytek"] { width: 205px !important; }
.brands__logos img[alt="Essilor"] { width: 165px !important; }
.brands__logos img[alt="Rdt"] { width: 170px !important; }
.brands__logos img[alt="Dudalina"] { width: 210px !important; }
.brands__logos img[alt="Maria.Valentina"] { width: 220px !important; }
.brands__logos img[alt="Maresia"] { width: 175px !important; }
.brands__logos img[alt="Vizzano"] { width: 155px !important; }
.brands__logos img[alt="Arpoador"] { width: 205px !important; }

.whatsapp-float {
  position: fixed !important;
  right: 22px !important;
  bottom: 22px !important;
  z-index: 9999 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 58px !important;
  height: 58px !important;
  min-width: 58px !important;
  min-height: 58px !important;
  max-width: 58px !important;
  max-height: 58px !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  background: #25d366 !important;
  box-shadow: 0 12px 32px rgba(0,0,0,.32) !important;
}

.whatsapp-float img {
  display: block !important;
  width: 31px !important;
  height: 31px !important;
  min-width: 31px !important;
  min-height: 31px !important;
  max-width: 31px !important;
  max-height: 31px !important;
  object-fit: contain !important;
  margin: 0 !important;
  padding: 0 !important;
}

@media (max-width: 980px) {
  .brand { min-width: 185px !important; }
  .brand img { width: 205px !important; max-width: 205px !important; max-height: 86px !important; }
  .brands__logos { gap: 14px 18px !important; }
}

@media (max-width: 620px) {
  .brand { min-width: 160px !important; }
  .brand img { width: 185px !important; max-width: 185px !important; max-height: 78px !important; }

  .brands__logos {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px 14px !important;
  }

  .brand-logo,
  .brand-logo--small,
  .brand-logo--tall,
  .brand-logo--compact {
    height: 108px !important;
    min-height: 108px !important;
  }

  .brand-logo--wide {
    grid-column: 1 / -1 !important;
    height: 146px !important;
    min-height: 146px !important;
  }

  .brands__logos img { width: 165px !important; }
  .brands__logos img[alt="RDMAX by Redentor"] { width: 340px !important; }
  .brands__logos img[alt="ZEISS"] { width: 135px !important; }
  .brands__logos img[alt="Essilor"] { width: 140px !important; }
  .brands__logos img[alt="Rdt"] { width: 145px !important; }
  .brands__logos img[alt="Vizzano"] { width: 135px !important; }
  .brands__logos img[alt="Maria.Valentina"] { width: 185px !important; }

  .whatsapp-float {
    right: 16px !important;
    bottom: 16px !important;
    width: 54px !important;
    height: 54px !important;
    min-width: 54px !important;
    min-height: 54px !important;
    max-width: 54px !important;
    max-height: 54px !important;
  }

  .whatsapp-float img {
    width: 29px !important;
    height: 29px !important;
    min-width: 29px !important;
    min-height: 29px !important;
    max-width: 29px !important;
    max-height: 29px !important;
  }
}
