:root {
  --precinhos-blue: #0f3f83;
  --precinhos-blue-dark: #082b63;
  --precinhos-orange: #ff9f37;
  --precinhos-green: #14845d;
  --precinhos-soft: #f4f8fc;
  --precinhos-card: #ffffff;
  --precinhos-line: #d8e2ef;
  --precinhos-muted: #667085;
  --precinhos-shadow: 0 18px 42px rgba(15, 35, 65, .12);
}

.precinhos-page {
  background: var(--precinhos-soft);
}

.precinhos-hero {
  padding: 110px 0 38px;
  background: linear-gradient(135deg, var(--precinhos-blue-dark), var(--precinhos-blue));
  color: #fff;
}

.precinhos-kicker {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  margin-bottom: 10px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  color: inherit;
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.precinhos-hero h1 {
  max-width: 780px;
  margin-bottom: 12px;
  font-size: clamp(2rem, 4.6vw, 4.1rem);
  line-height: 1;
}

.precinhos-hero p {
  max-width: 720px;
  color: rgba(255,255,255,.84);
  font-size: 1.05rem;
}

.precinhos-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.precinhos-summary-card {
  padding: 22px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 8px;
  background: rgba(255,255,255,.1);
  box-shadow: var(--precinhos-shadow);
}

.precinhos-summary-card span,
.precinhos-summary-card p {
  color: rgba(255,255,255,.76);
}

.precinhos-summary-card span {
  display: block;
  font-weight: 900;
  text-transform: uppercase;
}

.precinhos-summary-card strong {
  display: block;
  margin: 8px 0;
  font-size: 2rem;
}

.precinhos-section {
  padding: 28px 0 50px;
}

.precinhos-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: end;
  margin-bottom: 16px;
}

.precinhos-section-head .precinhos-kicker {
  background: #e8f1ff;
  color: var(--precinhos-blue);
}

.precinhos-section-head h2 {
  margin: 0;
  color: var(--precinhos-blue-dark);
  font-size: clamp(1.65rem, 2.7vw, 2.6rem);
  line-height: 1.08;
}

.precinhos-count-control {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--precinhos-line);
  border-radius: 8px;
  background: #fff;
}

.precinhos-count-control span {
  color: var(--precinhos-muted);
  font-size: .85rem;
  font-weight: 900;
}

.precinhos-count-control button {
  min-width: 38px;
  min-height: 34px;
  border: 1px solid #c7d5e7;
  border-radius: 8px;
  background: #f8fbff;
  color: var(--precinhos-blue-dark);
  font-weight: 900;
}

.precinhos-count-control button.active {
  border-color: var(--precinhos-blue);
  background: var(--precinhos-blue);
  color: #fff;
}

.precinhos-tabs {
  gap: 8px;
  margin-bottom: 14px;
}

.precinhos-tabs .nav-link {
  border: 1px solid var(--precinhos-line);
  border-radius: 999px;
  background: #fff;
  color: var(--precinhos-blue-dark);
  font-weight: 900;
}

.precinhos-tabs .nav-link.active {
  background: var(--precinhos-orange);
  border-color: var(--precinhos-orange);
  color: #111827;
}

.precinhos-tab-content {
  padding: 16px;
  border: 1px solid #2f3a4a;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--precinhos-shadow);
}

.precinhos-carousel {
  padding: 0 34px 30px;
}

.precinhos-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.precinhos-card {
  display: flex;
  min-height: 0;
  flex-direction: column;
  padding: 14px;
  border: 1px solid #c3e4ef;
  border-radius: 10px;
  background: #d8f2fb;
}

.precinhos-card header {
  position: relative;
  min-height: 112px;
  padding-right: 52px;
  text-align: left;
}

.precinhos-card header span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(255,255,255,.76);
  color: #345066;
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.precinhos-card h3 {
  margin: 10px 0 6px;
  color: #1f2937;
  font-size: clamp(1.25rem, 1.65vw, 1.7rem);
  font-weight: 800;
  line-height: 1.08;
}

.precinhos-card time {
  display: block;
  color: #465568;
  font-size: .78rem;
  font-weight: 800;
}

.precinhos-price-list {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.precinhos-price {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 74px;
  padding: 10px;
  border: 1px solid #8da5b8;
  border-radius: 8px;
  background: rgba(255,255,255,.72);
}

.precinhos-company-stack {
  min-width: 0;
}

.precinhos-price em {
  display: inline-flex;
  width: max-content;
  min-height: 20px;
  align-items: center;
  margin-bottom: 5px;
  padding: 0 7px;
  border-radius: 999px;
  background: #12704f;
  color: #fff;
  font-size: .62rem;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.precinhos-price .company {
  display: block;
  color: #203044;
  font-size: .9rem;
  font-weight: 900;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.precinhos-price .district {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  min-height: 22px;
  align-items: center;
  margin-top: 5px;
  padding: 0 7px;
  border-radius: 999px;
  background: #fff;
  color: #52606f;
  font-size: .72rem;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.precinhos-price strong {
  color: #18212f;
  font-size: 1.08rem;
  font-weight: 900;
  line-height: 1.08;
  white-space: nowrap;
}

.precinhos-price.is-best {
  border-color: #3f9e7c;
  background: #67c9a2;
}

.compare-extra {
  display: none;
}

.precinhos-page[data-compare-count="4"] .compare-extra-4,
.precinhos-page[data-compare-count="5"] .compare-extra-4,
.precinhos-page[data-compare-count="5"] .compare-extra-5,
.precinhos-page[data-compare-count="6"] .compare-extra-4,
.precinhos-page[data-compare-count="6"] .compare-extra-5,
.precinhos-page[data-compare-count="6"] .compare-extra-6 {
  display: grid;
}

.precinhos-carousel .carousel-control-prev,
.precinhos-carousel .carousel-control-next {
  width: 30px;
  opacity: 1;
}

.precinhos-carousel .carousel-control-prev-icon,
.precinhos-carousel .carousel-control-next-icon {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background-color: var(--precinhos-blue);
  background-size: 58%;
}

@media (max-width: 1200px) {
  .precinhos-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .precinhos-section-head { grid-template-columns: 1fr; }
  .precinhos-count-control { justify-content: flex-start; }
  .precinhos-carousel { padding-inline: 0; }
}

@media (max-width: 640px) {
  .precinhos-hero { padding-top: 94px; }
  .precinhos-tab-content { padding: 12px; border-radius: 12px; }
  .precinhos-grid { grid-template-columns: 1fr; }
  .precinhos-price { grid-template-columns: 1fr; }
  .precinhos-price strong { font-size: 1.25rem; }
}


.precinhos-share-btn { position: absolute; top: 0; right: 0; display: inline-grid; width: 44px; height: 44px; place-items: center; border: 1px solid rgba(15, 63, 131, .24); border-radius: 999px; background: #fff; color: var(--precinhos-blue-dark); box-shadow: 0 8px 20px rgba(15,35,65,.12); font-size: 0; }
.precinhos-share-btn span { width: 18px; height: 18px; overflow: hidden; color: #082b63; background: radial-gradient(circle at 3px 9px, currentColor 0 3px, transparent 3.5px), radial-gradient(circle at 15px 3px, currentColor 0 3px, transparent 3.5px), radial-gradient(circle at 15px 15px, currentColor 0 3px, transparent 3.5px), linear-gradient(26deg, transparent 0 42%, currentColor 42% 48%, transparent 48%), linear-gradient(-26deg, transparent 0 42%, currentColor 42% 48%, transparent 48%); }
.precinhos-share-btn small { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.precinhos-share-btn.is-copied::after { content: attr(data-feedback); position: absolute; top: 48px; right: 0; z-index: 3; width: max-content; max-width: 180px; padding: 6px 9px; border-radius: 999px; background: #082b63; color: #fff; font-size: .72rem; font-weight: 900; box-shadow: 0 8px 20px rgba(15,35,65,.16); }
@media (max-width: 640px) { .precinhos-card header { min-height: 98px; } .precinhos-share-btn { width: 42px; height: 42px; } }
