/* ============================================================
   Shop Page — enhanced styles
   ============================================================ */

/* ── Page title banner ────────────────────────────────────── */
.shop-page-title {
  background: linear-gradient(135deg, var(--bg-6) 0%, #1a5c3f 100%);
  padding: 40px 0 36px;
  position: relative;
  overflow: hidden;
}

.shop-page-title::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 90% 50%,
    rgba(245, 91, 36, 0.13) 0%,
    transparent 55%
  );
  pointer-events: none;
}

.shop-page-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.shop-page-title__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
}

.shop-page-title__text {
  flex: 1;
}

.shop-breadcrumb {
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.shop-breadcrumb a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.2s;
}

.shop-breadcrumb a:hover {
  color: var(--primary);
}

.shop-breadcrumb .icon {
  font-size: 9px;
  opacity: 0.5;
}

.shop-page-title__heading {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px;
  line-height: 1.2;
}

.shop-page-title__desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
  max-width: 520px;
}

.shop-page-title__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex-shrink: 0;
}

.shop-title-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
  font-weight: 500;
  backdrop-filter: blur(4px);
  white-space: nowrap;
}

.shop-title-badge .icon {
  font-size: 13px;
  color: var(--primary);
}

@media (max-width: 991px) {
  .shop-page-title__inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .shop-page-title__heading {
    font-size: 22px;
  }
}

@media (max-width: 767px) {
  .shop-page-title {
    padding: 28px 0 24px;
  }
  .shop-page-title__badges {
    display: none;
  }
}

/* ── Sidebar container ────────────────────────────────────── */
.canvas-sidebar.sidebar-filter {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

.canvas-sidebar .canvas-header {
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.canvas-sidebar .canvas-header .title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.canvas-sidebar .canvas-header .title::before {
  content: "";
  width: 3px;
  height: 18px;
  background: var(--primary);
  border-radius: 2px;
  display: inline-block;
}

.canvas-sidebar .canvas-body {
  padding: 8px 0 16px;
}

/* ── Filter sections ──────────────────────────────────────── */
.widget-facet {
  padding: 0 20px;
}

.facet-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  cursor: pointer;
  user-select: none;
}

.facet-title h6 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text);
  margin: 0;
}

.facet-title .icon {
  font-size: 14px;
  color: var(--text-3);
  transition: transform 0.2s;
}

.facet-title[aria-expanded="false"] .icon {
  transform: rotate(-90deg);
}

.collapse-body {
  padding-bottom: 10px;
}

/* Category list */
.filter-group-check .list-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
}

.filter-group-check .list-item .label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-size: 14px;
  color: var(--text-2);
  cursor: pointer;
  transition: color 0.15s;
}

.filter-group-check .list-item:hover .label {
  color: var(--text);
}

.filter-group-check .list-item .count {
  font-size: 12px;
  color: var(--text-3);
  margin-left: auto;
}

.filter-group-check .list-item.disabled {
  opacity: 0.4;
  pointer-events: none;
}

/* Separator */
.canvas-body .br-line {
  margin: 2px 20px;
  background: var(--line);
  height: 1px;
}

/* Price range boxes */
.price-box {
  margin-top: 12px;
  gap: 10px;
}

.price-val_wrap {
  background: var(--bg);
  border-radius: 8px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  color: var(--text);
  border: 1px solid var(--line);
}

/* ── Shop control toolbar ─────────────────────────────────── */
.tf-shop-control {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.tf-btn-filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 8px;
  border: 1.5px solid var(--line);
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition:
    border-color 0.2s,
    background 0.2s;
}

.tf-btn-filter:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.tf-control-sorting {
  flex: 1;
}

.tf-dropdown-sort .btn-select {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1.5px solid var(--line);
  background: #fff;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s;
  white-space: nowrap;
}

.tf-dropdown-sort .btn-select:hover {
  border-color: var(--primary);
}
.tf-dropdown-sort .btn-select .icon {
  font-size: 12px;
  color: var(--text-3);
}

.tf-dropdown-sort .dropdown-menu {
  border-radius: 10px;
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  padding: 6px;
  min-width: 180px;
}

.tf-dropdown-sort .select-item {
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 13px;
  color: var(--text-2);
  cursor: pointer;
  transition:
    background 0.15s,
    color 0.15s;
}

.tf-dropdown-sort .select-item:hover,
.tf-dropdown-sort .select-item.active {
  background: rgba(245, 91, 36, 0.07);
  color: var(--primary);
  font-weight: 600;
}

/* Layout switcher */
.tf-control-layout {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  padding: 4px;
  margin: 0;
  background: var(--bg);
  border-radius: 8px;
}

.tf-view-layout-switch {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-3);
  font-size: 16px;
  transition:
    background 0.15s,
    color 0.15s;
}

.tf-view-layout-switch:hover {
  color: var(--text);
}

.tf-view-layout-switch.active {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

/* ── Meta filter bar ──────────────────────────────────────── */
.meta-filter-shop {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
  padding: 10px 16px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
}

.meta-filter-shop .count-text {
  font-size: 13px;
  color: var(--text-2);
  font-weight: 500;
}

.meta-filter-shop .remove-all-filters {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  background: rgba(245, 91, 36, 0.07);
  border: none;
  padding: 5px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s;
}

.meta-filter-shop .remove-all-filters:hover {
  background: rgba(245, 91, 36, 0.14);
}

/* ── Product grid wrapper ─────────────────────────────────── */
.wrapper-shop {
  gap: 20px;
}

/* ── Product card — grid ──────────────────────────────────── */
.card-product.grid {
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1.5px solid var(--line);
  transition:
    box-shadow 0.22s ease,
    transform 0.22s ease,
    border-color 0.22s ease;
  display: flex;
  flex-direction: column;
}

.card-product.grid:hover {
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.11);
  transform: translateY(-5px);
  border-color: transparent;
}

/* Image wrapper */
.card-product.grid .card-product_wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--bg);
  flex-shrink: 0;
}

.card-product.grid .img-product {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.38s ease;
}
.card-product.grid:hover .img-product {
  transform: scale(1.06);
}

/* Hover overlay */
.card-product__overlay {
  position: absolute;
  inset: 0;
  background: rgba(16, 60, 41, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.22s ease;
}
.card-product.grid:hover .card-product__overlay {
  opacity: 1;
}

.card-product__overlay-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  background: #fff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #103c29;
  white-space: nowrap;
}

/* Category badge on image */
.card-product__cat-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(16, 60, 41, 0.85);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
  max-width: calc(100% - 20px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Card info */
.card-product.grid .card-product_info {
  padding: 13px 14px 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-product .name-product {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.45;
  margin: 0 0 6px;
  text-decoration: none;
  transition: color 0.18s;
}
.card-product .name-product:hover {
  color: #103c29;
}

/* Company row */
.card-product__company {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--text-3);
  margin: 0 0 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}
.card-product__company .icon {
  font-size: 12px;
  flex-shrink: 0;
}

/* Footer: price + cta */
.card-product__footer {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  margin-top: auto;
}

.card-product .price-new {
  font-size: 14px;
  font-weight: 700;
  color: #103c29;
  line-height: 1;
}

.card-product__cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  white-space: nowrap;
  transition: gap 0.18s ease;
  flex-shrink: 0;
}
.card-product__cta:hover {
  gap: 7px;
  color: var(--primary);
}

/* "Ver lote" quick add button */
.product-action_bot .tf-btn {
  font-size: 12px;
  font-weight: 600;
  border-radius: 0 0 10px 10px;
  transition: background 0.18s;
}

/* ── Product card — list ──────────────────────────────────── */
.card-product.product-style_list {
  background: #fff;
  border-radius: 14px;
  border: 1.5px solid var(--line);
  transition:
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    transform 0.22s ease;
  padding: 16px;
  display: flex;
  gap: 16px;
}

.card-product.product-style_list:hover {
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.09);
  border-color: transparent;
  transform: translateY(-2px);
}

.card-product.product-style_list .card-product_wrapper {
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  background: var(--bg);
}

.card-product.product-style_list .img-product {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-product.product-style_list .card-product_info {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  padding: 0;
}

/* Category tag (list) */
.card-product__cat-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  background: rgba(16, 60, 41, 0.08);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  color: #103c29;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 6px;
  width: fit-content;
}

.card-product__list-desc {
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.5;
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

/* ── Badges ───────────────────────────────────────────────── */
.product-badge_item {
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 4px 9px !important;
  border-radius: 6px !important;
  letter-spacing: 0.03em;
}

.product-badge_item.new {
  background: var(--bg-6) !important;
  color: #fff !important;
}

.product-badge_item.sale {
  background: var(--primary) !important;
  color: #fff !important;
}

/* ── Pagination ───────────────────────────────────────────── */
.tf-pagination-wrap {
  margin-top: 40px;
}

.tf-pagination .page-item .page-link {
  border-radius: 8px;
  border: 1.5px solid var(--line);
  color: var(--text-2);
  font-size: 13px;
  font-weight: 600;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.18s;
}

.tf-pagination .page-item .page-link:hover,
.tf-pagination .page-item.active .page-link {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* ============================================================
   Mobile-first improvements (max-width: 1199px and below)
   ============================================================ */

/* ── Hide desktop toolbar filter button on mobile ─────────── */
@media (max-width: 1199px) {
  /* Push content above sticky bar */
  .flat-spacing {
    padding-bottom: 100px !important;
  }

  /* Compact shop toolbar — hide sort/layout, bar handles them */
  .tf-shop-control {
    display: none;
  }

  /* Meta filter bar: compact */
  .meta-filter-shop {
    font-size: 12px;
    padding: 8px 12px;
    gap: 8px;
  }

  /* Sidebar overlay: full-height drawer */
  .sidebar-filter .canvas-wrapper {
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  .sidebar-filter .canvas-header {
    background: var(--bg-6) !important;
    padding: 18px 20px !important;
    flex-shrink: 0;
  }
  .sidebar-filter .canvas-header .title {
    color: #fff !important;
    font-size: 16px;
    font-weight: 700;
    margin: 0;
  }
  .sidebar-filter .canvas-header .title::before {
    background: var(--primary);
  }
  .sidebar-filter .canvas-header .close-filter {
    color: #fff !important;
    cursor: pointer;
    font-size: 22px;
  }
  .sidebar-filter .canvas-body {
    flex: 1;
    overflow-y: auto;
    padding: 8px 0 80px !important;
  }

  /* Filter section headings */
  .sidebar-filter .facet-title h6 {
    font-size: 12px;
  }

  /* Filter items: larger tap targets */
  .sidebar-filter .filter-group-check .list-item {
    padding: 9px 0;
    min-height: 40px;
  }
  .sidebar-filter .filter-group-check .list-item .label {
    font-size: 14px;
  }

  /* Category loading text */
  .sidebar-filter .filter-group-check .list-item .label {
    cursor: pointer;
  }
}

/* ── Product grid on mobile ───────────────────────────────── */
@media (max-width: 575px) {
  /* 2 columns on mobile */
  .wrapper-shop.tf-grid-layout {
    grid-template-columns: 1fr 1fr !important;
    column-gap: 10px;
    row-gap: 14px;
  }

  /* Compact cards */
  .card-product.grid .card-product_info,
  .card-product.product-style_stroke .card-product_info {
    padding: 10px 10px 12px;
  }

  .card-product .name-product {
    font-size: 12px;
    -webkit-line-clamp: 2;
  }

  .card-product .price-new {
    font-size: 14px;
  }
  .card-product .price-old {
    font-size: 11px;
  }

  /* Star row — smaller */
  .card-product .star-wrap .icon {
    font-size: 11px;
  }

  /* Always show quick-add button on mobile (no hover) */
  .card-product.grid .product-action_bot,
  .card-product.product-style_stroke .product-action_bot {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
  }

  .product-action_bot .tf-btn {
    font-size: 11px;
    padding: 8px 4px;
  }

  /* Hide overlay action icons on mobile (no hover) */
  .card-product.grid .product-action_list,
  .card-product.product-style_stroke .product-action_list {
    display: none;
  }

  /* Hide hover second image on mobile (performance) */
  .card-product .img-hover {
    display: none;
  }

  /* List view: stack vertically on mobile */
  .tf-list-layout .card-product.product-style_list {
    flex-direction: column;
  }
  .tf-list-layout .card-product.product-style_list .card-product_wrapper {
    width: 100%;
    max-width: 100%;
  }

  /* Page title: very compact */
  .shop-page-title {
    padding: 20px 0 18px;
  }
  .shop-page-title__heading {
    font-size: 18px;
  }
  .shop-page-title__desc {
    font-size: 12px;
  }

  /* Meta filter bar: scrollable */
  .wrapper-control-shop {
    overflow-x: auto;
  }
  .meta-filter-shop {
    flex-wrap: nowrap;
    min-width: max-content;
  }
}

/* ── Bottom sticky bar ────────────────────────────────────── */
.shop-mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 500;
  background: #fff;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: stretch;
  height: 58px;
  border-top: 1px solid var(--line);
}

.shop-mobile-bar__btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  background: none;
  border: none;
  cursor: pointer;
  transition:
    background 0.15s,
    color 0.15s;
  -webkit-tap-highlight-color: transparent;
  position: relative;
}

.shop-mobile-bar__btn:active {
  background: var(--bg);
}
.shop-mobile-bar__btn .icon {
  font-size: 18px;
  color: var(--primary);
}

.shop-mobile-bar__divider {
  width: 1px;
  background: var(--line);
  margin: 10px 0;
  flex-shrink: 0;
}

/* Sort button + dropdown */
.shop-mobile-bar__sort {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  position: relative;
  -webkit-tap-highlight-color: transparent;
}

.shop-mobile-bar__sort .icon {
  font-size: 18px;
  color: var(--primary);
}

.shop-mobile-sort-menu {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.14);
  border: 1px solid var(--line);
  min-width: 200px;
  padding: 6px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(8px);
  transition:
    opacity 0.18s,
    transform 0.18s;
}

.shop-mobile-sort-menu.open {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.shop-mobile-sort-menu .select-item {
  padding: 11px 14px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--text-2);
  cursor: pointer;
  transition: background 0.15s;
  -webkit-tap-highlight-color: transparent;
}

.shop-mobile-sort-menu .select-item:active,
.shop-mobile-sort-menu .select-item.active {
  background: rgba(245, 91, 36, 0.07);
  color: var(--primary);
  font-weight: 600;
}

/* Layout switcher inside bar */
.shop-mobile-bar__layout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0 16px;
}

.shop-mobile-bar__layout-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1.5px solid var(--line);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--text-3);
  cursor: pointer;
  transition: all 0.15s;
  -webkit-tap-highlight-color: transparent;
}

.shop-mobile-bar__layout-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* ── Medium breakpoint (tablet 576–1199) ─────────────────── */
@media (min-width: 576px) and (max-width: 1199px) {
  .wrapper-shop.tf-grid-layout {
    grid-template-columns: repeat(3, 1fr) !important;
    column-gap: 16px;
    row-gap: 20px;
  }

  .shop-page-title {
    padding: 28px 0 24px;
  }
}

/* ── On desktop hide sticky bar ──────────────────────────── */
@media (min-width: 1200px) {
  .shop-mobile-bar {
    display: none !important;
  }
}

/* ── Quem Somos — MVV Section ─────────────────────────────── */
.qs-mvv-section {
  padding: 72px 0 80px;
  background: #f5f7f5;
  position: relative;
  overflow: hidden;
}

.qs-mvv-section::before {
  content: "";
  position: absolute;
  top: -140px;
  right: -140px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(16, 60, 41, 0.05) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.qs-section-head {
  margin-bottom: 52px;
}

.qs-section-head__title {
  font-size: 32px;
  font-weight: 700;
  color: #103c29;
  margin-bottom: 10px;
}

.qs-section-head__sub {
  font-size: 16px;
  color: #6b7280;
  margin: 0;
}

.qs-mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.qs-mvv-card {
  position: relative;
  background: #fff;
  border-radius: 20px;
  padding: 40px 32px 36px;
  overflow: hidden;
  border: 1.5px solid rgba(16, 60, 41, 0.08);
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}

.qs-mvv-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(16, 60, 41, 0.12);
}

.qs-mvv-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 20px 20px 0 0;
}

.qs-mvv-card--1::before {
  background: #103c29;
}
.qs-mvv-card--2::before {
  background: #e8590c;
}
.qs-mvv-card--3::before {
  background: #1b5e6b;
}

.qs-mvv-card__deco {
  position: absolute;
  bottom: -20px;
  right: 16px;
  font-size: 130px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -4px;
  pointer-events: none;
  user-select: none;
}

.qs-mvv-card--1 .qs-mvv-card__deco {
  color: rgba(16, 60, 41, 0.06);
}
.qs-mvv-card--2 .qs-mvv-card__deco {
  color: rgba(232, 89, 12, 0.07);
}
.qs-mvv-card--3 .qs-mvv-card__deco {
  color: rgba(27, 94, 107, 0.07);
}

.qs-mvv-card__icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 24px;
}

.qs-mvv-card--1 .qs-mvv-card__icon {
  background: rgba(16, 60, 41, 0.09);
  color: #103c29;
}
.qs-mvv-card--2 .qs-mvv-card__icon {
  background: rgba(232, 89, 12, 0.1);
  color: #e8590c;
}
.qs-mvv-card--3 .qs-mvv-card__icon {
  background: rgba(27, 94, 107, 0.1);
  color: #1b5e6b;
}

.qs-mvv-card__title {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.qs-mvv-card__text {
  font-size: 15px;
  line-height: 1.75;
  color: #6b7280;
  margin: 0;
  position: relative;
  z-index: 1;
}

.qs-mvv-card__text strong {
  color: #374151;
  font-weight: 600;
}

@media (max-width: 900px) {
  .qs-mvv-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .qs-mvv-section {
    padding: 48px 0 56px;
  }
  .qs-section-head__title {
    font-size: 24px;
  }
  .qs-section-head {
    margin-bottom: 36px;
  }
  .qs-mvv-card {
    padding: 28px 24px;
  }
  .qs-mvv-card__deco {
    font-size: 96px;
  }
  .canvas-sidebar.sidebar-filter {
    border-radius: 0;
  }
}

/* ── Nossa história — mobile: imagens antes, 1 imagem ────────── */
@media (max-width: 991px) {
  .qs-historia-images {
    order: -1;
  }
  .qs-historia-text {
    order: 1;
    margin-top: 24px;
  }
  /* Esconde a segunda imagem */
  .qs-historia-img-2 {
    display: none !important;
  }
  /* Primeira imagem ocupa toda a largura com boa altura */
  .qs-historia-images .tf-grid-layout {
    grid-template-columns: 1fr !important;
  }
  .qs-historia-images .banner-image-text img {
    height: 260px !important;
    min-height: 0 !important;
    width: 100%;
    object-fit: cover;
  }
  /* Remove o backdrop-filter blur que o tema aplica ao style-14 no mobile */
  .qs-historia-images .banner-image-text.style-14::after {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: transparent !important;
  }
}
