header .logo-desktop,
header .logo-mobile-menu {
  width: 80px;
}

header.headerFixed .logo-desktop,
header.headerFixed .logo-mobile-menu {
  width: auto;
  height: 80px;
}

header {
  padding-block: .5rem;
}

header#scrollheader:not(.headerFixed, .header-mobile) {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  z-index: 99999;
  background-color: rgba(var(--bs-white-rgb), .15);
}

@media screen and (max-width: 576px) {
  #topo-bootstrap {
    display: none;
  }
}

@media screen and (min-width: 992.05px) {

  .mod-topo::after {
    content: "";
    display: block;
    height: 2px;
    width: 100%;
    background: linear-gradient(90deg, rgba(97, 100, 107, 0) 0%, #bdc4d1 100%);
    margin-top: 10px;
  }

  .nav-link {
    padding: 12px 8px;
    border-radius: 8px;
    margin-top: 20px;
    font-weight: 600;
    color: var(--bs-light);
  }

  #topo-bootstrap address a {
    color: var(--bs-light);
  }

  header.headerFixed {
    background-color: #d4d3d3;
  }

  header.headerFixed #topo-bootstrap address a,
  header.headerFixed .nav-link {
    color: var(--bs-body-color);
  }


/* ================= BARRA DE CONTATO DO TOPO ================= */

#topo-bootstrap {
    position: absolute;
    top: -10px;
    right: 5%;
    bottom: auto;
    left: auto;
    transform: none;
    width: auto;
    min-width: 620px;
    height: 28px;
    padding: 0 24px;
    background-color: #6b1f2a !important;
    border-radius: 0 0 12px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    font-size: 24px;
}
@media screen and (min-width: 992px) {
    #header-nav .offcanvas-body {
        padding-top: 28px;
    }
}

#topo-bootstrap address {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  white-space: nowrap;
}

#topo-bootstrap address a {
  color: #fff !important;
  font-size: 11px;
  text-decoration: none;
}

#topo-bootstrap address a:hover {
  color: #fff !important;
}

  .nav-link.active {
    color: var(--bs-white) !important;
    background-color: var(--primary-color);
  }
}

/* FOOTER */
footer.footer-main {
  background-color: #d4d3d3;
  margin-top: 3rem;
}

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

footer .footer-brand__desc,
footer .footer-brand__social-label {
  color: var(--grey);
  font-size: .875rem;
}

footer .social__icon-footer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  font-size: 1.25rem;
  color: #242424;
  transition: var(--transition);
}

footer .social__icon-footer:hover {
  color: var(--primary-color);
}

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

footer .footer__nav ul {
  list-style: none;
}

footer .footer__nav li a:not(.btn) {
  display: block;
  padding: 5px 0;
  font-size: .875rem;
  color: var(--grey);
  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(--grey);
  font-size: .875rem;
  line-height: 25px;
  transition: .3s
}

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

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

/* FOOTER BOTTOM BAR */
.footer-bottom {
  background-color: #f6f6f6;
  border-top: 1px solid #e9e9e9;
}

.footer-bottom__copy,
.footer-bottom__badge,
.footer-bottom__totop {
  color: var(--primary-color);
  font-size: .875rem;
}

.footer-bottom__badge,
.footer-bottom__totop {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  font-weight: 600;
  transition: var(--transition);
}

.footer-bottom__totop {
  cursor: pointer;
}

.footer-bottom__badge:hover,
.footer-bottom__totop:hover {
  color: var(--primary-color-light)
}

.footer-bottom__divider {
  display: inline-block;
  width: 1px;
  height: 16px;
  background-color: #e9e9e9;
}

.footer-bottom__seal {
  max-width: 120px;
}

.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
}

/* ================= MOBILE ================= */
.banner-mobile { display: none; }

@media (max-width: 991.98px) {

  /* ---------- Barra de contato (pílula vinho centralizada) ---------- */
  #topo-bootstrap {
    display: flex !important;
    align-self: center;
    justify-content: center;
    width: auto;
    max-width: 100%;
    margin-top: -.5rem;
    padding: 0 12px;
    background-color: #6b1f2a;
    border-radius: 0 0 12px 12px;
  }
  #topo-bootstrap .container {
    width: auto;
    max-width: 100%;
    margin: 0;
    padding: .35rem 0 !important;
  }
  #topo-bootstrap address { margin: 0; }
  #topo-bootstrap address > div {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2px 12px;
  }
  #topo-bootstrap .topo-tel { display: none; }
  #topo-bootstrap address a {
    margin: 0 !important;
    color: #fff !important;
    font-size: 11px;
    white-space: nowrap;
    text-decoration: none;
  }

  /* ---------- Logo menor ---------- */
  header .navbar-brand img.logo-desktop {
    width: auto !important;
    height: 64px !important;
  }

  /* ---------- Hambúrguer ---------- */
  header .container.position-relative {
    flex-wrap: nowrap !important;
  }
  header .navbar-toggler {
    margin-left: auto;
    border-color: rgba(255,255,255,.7);
    color: #fff;
  }
  header .navbar-toggler .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23ffffff' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    filter: none !important;
  }

  /* ---------- Páginas internas: header sólido, no fluxo ---------- */
  header#scrollheader.header-inner {
    position: relative;
    background-color: #111;
  }

  /* ---------- Home: header transparente sobre o banner ---------- */
  header.header-home,
  header#scrollheader.header-home,
  header.header-home #header-nav {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99999;
    background: rgba(0, 0, 0, .15) !important;
  }

  /* ---------- Banner da home ---------- */
  .banner-mobile {
    display: flex;
    align-items: center;
    min-height: 40svh;
    padding: 50px 0 40px;
    background:
      linear-gradient(to top, rgba(0,0,0,.85), rgba(0,0,0,.35)),
      #000 url("../doutor/uploads/6/banner/2026/10/banner-pecas-em-acrilico-sob-medida-com-qualidade-e-precisao-de08aa4881.jpg") center / cover no-repeat;
    color: #fff;
  }
  .banner-mobile__title {
    font-size: 1.75rem;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 1rem;
  }
  .banner-mobile__text {
    font-size: .95rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
  }
  .banner-mobile__btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .65rem 1.25rem;
    background: #a52a2a;
    color: #fff;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
  }
}
/* ================= 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;
}

.mvv-card {
  background-color: #fafafa;
  border: 2px solid rgba(233, 233, 233, .4);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 1px 4px rgba(27, 27, 27, .08);
}

.mvv-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  padding: 12px;
  border: 1px solid #e9e9e9;
  border-radius: 999px;
  background-color: #fafafa;
  box-shadow: 0 1px 4px rgba(27, 27, 27, .08);
}

.mvv-card__icon svg {
  width: 32px;
  height: 32px;
}

.mvv-card__title {
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.2;
  color: #4a4848;
}

.mvv-card__text {
  color: #6c6c6c;
  font-size: 1rem;
  line-height: 1.5;
}

/* ================= CARD CATEGORIA DE PRODUTO ================= */
.card-img-categoria {
  height: 220px;
  object-fit: cover;
}

.card-text-clamp {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ================= CARD BLOG ================= */
.card-img-blog {
  height: 220px;
  object-fit: cover;
}

/* ================= BUSCA (PILL) ================= */
.search-form--pill .input-group {
  flex-wrap: nowrap;
}

.search-form--pill .form-control,
.search-form--pill .btn {
  border-radius: 999px;
}

.search-form--pill .form-control {
  border-right: 0;
}

.search-form--pill .btn {
  border-left: 0;
  margin-left: -1px;
}

/* ASIDE SIG FIXED — proteção contra overflow com conteúdo mais longo (ex.: aside do blog) */
.aside-sig-fixed {
  max-height: 90vh;
  overflow-y: auto;
}

/* ================= PAGINAÇÃO DO BLOG ================= */
.blog-pagination .paginator {
  gap: .5rem;
}

.blog-pagination .paginator .btn {
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
}

/* ================= HOME: BADGE DE SEÇÃO ================= */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .5rem;
  color: var(--primary-color);
  font-weight: 500;
}

.section-badge::before {
  content: '';
  width: 3px;
  height: 1.5rem;
  border-radius: 2px;
  background-color: var(--primary-color-dark);
}

/* ================= HOME: CARD DE DEPOIMENTO ================= */
.testimonial-card {
  padding: 2rem 1.5rem;
  background-color: var(--bs-tertiary-bg);
  border: 2px dashed var(--primary-color);
  border-radius: 1rem;
}

.video-empresa {
    width: 70%;
    max-width: 800px;
    margin: 40px auto;
}

@media (max-width: 991.98px) {
  header.header-home #header-nav #topo-bootstrap {
    position: relative !important;
    top: .01rem !important;
    margin-top: 0 !important;
  }
}