/* UNIKAT pages v8 — issue #148 */
/* ===== Brand / Landing (layout próximo do homolog) ===== */
.brand-page-hero {
  position: relative; height: 655px; background: var(--uk-dark); overflow: hidden;
}
.brand-page-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.brand-page-hero-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  /* background definido via style inline (CMS: cor + opacidade) */
}
/* Sem máscara por padrão — o ::before radial antigo foi removido */
.brand-page-hero-content {
  position: absolute; left: clamp(24px, 12vw, 200px); top: 57%; transform: translateY(-50%);
  display: flex; align-items: flex-start; gap: 32px; z-index: 2; max-width: min(720px, 90vw);
}
.brand-page-hero-content > div:last-child {
  position: relative;
  padding: 8px 12px 8px 0;
}
.brand-page-hero-vline { display: flex; flex-direction: column; width: 2px; height: 420px; flex-shrink: 0; margin-top: 16px; }
.brand-page-hero-vline-dash {
  flex: 0 0 48%; width: 1px;
  background: repeating-linear-gradient(to bottom, var(--brand-hero-vline, rgba(255,255,255,.35)) 0 6px, transparent 6px 12px);
  position: relative;
}
.brand-page-hero-vline-dash::before {
  content: '+'; position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  color: var(--brand-hero-vline, rgba(255,255,255,.45)); font-size: 22px; font-weight: 300;
}
.brand-page-hero-vline-solid { flex: 1; border-left: 1px solid var(--brand-hero-vline, rgba(255,255,255,.35)); position: relative; }
.brand-page-hero-vline-solid::after {
  content: '+'; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%);
  color: var(--brand-hero-vline, rgba(255,255,255,.45)); font-size: 13px;
}
.brand-page-hero-eyebrow {
  display: inline-block; margin: 0 0 18px; padding: 7px 12px;
  border: 1px solid rgba(255,255,255,.85); color: #fff;
  font-size: 11px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase;
  text-shadow: 0 1px 12px rgba(0,0,0,.45);
}
.brand-page-hero-title {
  font-size: clamp(36px, 4.5vw, 62px); font-weight: 700; line-height: 1.05; color: #fff; margin: 0; max-width: 16ch;
  text-shadow: 0 2px 28px rgba(0,0,0,.55), 0 1px 3px rgba(0,0,0,.45);
}
.brand-page-hero-title .accent { color: var(--brand-accent, var(--uk-green)); }
.brand-page-hero-cta {
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 28px; min-width: 168px; height: 52px; padding: 0 28px;
  background: #fff; color: var(--uk-dark); font-size: 14px; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
}
.brand-page-hero-cta:hover { filter: brightness(.95); }
.brand-page-hero-sidenav {
  position: absolute; right: 36px; bottom: 48px; color: rgba(255,255,255,.7); z-index: 4;
}

.brand-sobre {
  display: grid;
  grid-template-columns: minmax(280px, 1.05fr) 180px minmax(280px, 1fr);
  background: var(--uk-lighter); align-items: stretch; overflow: hidden;
  padding: 5vh 0 80px;
}
.brand-sobre--no-sectors { grid-template-columns: minmax(280px, 1.1fr) minmax(280px, 1fr); }
.brand-sobre-left {
  padding: 72px clamp(24px, 4vw, 50px) 72px clamp(24px, 8vw, 120px);
  display: flex; flex-direction: column; justify-content: center; text-align: right;
}
.brand-sobre-logo { height: 47px; width: auto; align-self: flex-end; margin: 0 0 36px; filter: brightness(0); object-fit: contain; }
.brand-sobre-tagline {
  font-size: clamp(28px, 3vw, 42px); font-weight: 700; line-height: 1.15;
  color: var(--uk-dark); margin: 0 0 24px;
}
.brand-sobre-tagline .accent { color: var(--brand-accent, var(--uk-green2)); }
.brand-sobre-p { font-size: 16px; line-height: 1.55; color: var(--uk-dark); margin: 0 0 18px; }
.brand-sobre-sectors {
  position: relative; padding: 100px 16px 72px 0;
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
}
.brand-sobre-sectors::after {
  content: ''; position: absolute; right: 0; top: 100px; bottom: 72px; width: 2px; background: #8B8B8B;
}
.brand-sobre-sector {
  font-size: 16px; font-weight: 600; line-height: 1.3; color: #8B8B8B;
  text-align: right; background: none; border: none; padding: 0; cursor: pointer; font-family: inherit;
}
.brand-sobre-sector:hover, .brand-sobre-sector.active { color: var(--brand-accent, var(--uk-green2)); }
.brand-sobre-img {
  position: relative; min-height: 480px; margin-left: 2vw; width: 100%;
  background: #ddd center/cover no-repeat; align-self: stretch; justify-self: stretch;
  overflow: hidden;
}
.brand-sobre-img-base, .brand-sobre-img-slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  transition: opacity .7s ease;
}
.brand-sobre-img-base { opacity: 1; z-index: 0; }
.brand-sobre-img-slide { opacity: 0; z-index: 1; }
.brand-sobre-img-slide.is-active { opacity: 1; z-index: 2; }
.brand-sobre-img.has-slides .brand-sobre-img-base { opacity: 0; }
.brand-sobre-img-cta {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  background: #fff; color: var(--uk-dark); padding: 14px 22px; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase; font-size: 13px; z-index: 2;
  opacity: 0; pointer-events: none;
}
.brand-sobre-img.has-link:hover .brand-sobre-img-cta { opacity: 1; }

/* Destaques — claro (critério Jean: evitar fundo escuro no miolo) */
.brand-dark {
  background: #fff;
  color: var(--uk-ink);
  padding: 100px 0;
  border-top: 1px solid rgba(0,0,0,.06);
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.brand-dark-inner { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; }
.brand-dark-quote {
  font-size: clamp(26px, 3vw, 40px); font-weight: 700; line-height: 1.15; margin: 0;
  color: var(--uk-dark);
}
.brand-dark-quote .accent { color: var(--dark-accent, var(--uk-green2)); }
.brand-dark-title {
  font-size: 15px; font-weight: 600; margin: 0 0 18px; line-height: 1.45;
  color: var(--uk-dark);
}
.brand-dark-list { margin: 0; padding: 0; list-style: none; }
.brand-dark-list li {
  padding: 10px 0; border-top: 1px solid rgba(0,0,0,.1);
  font-size: 15px; color: var(--uk-body);
}
.brand-dark-col { border-left: 1px solid rgba(0,0,0,.12); padding-left: 28px; }

.brand-diferenciais { padding: 80px 0; background: #f4f4f4; }
.sec-label-center { text-align: center; margin-bottom: 40px; }
.sec-label-text { font-size: 22px; font-weight: 600; margin: 0 0 10px; }
/* Gradiente só em rótulos centrados legados — não sobrescrever .sobre-label / .sec-label (padrão home v8) */
.sec-label-center > .sec-label-line,
.sec-label-center-inner > .sec-label-line {
  width: min(280px, 60%);
  height: 1px;
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, #222, transparent);
}
.dif-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.dif-item { border: 1px solid var(--uk-light); background: #fff; display: flex; flex-direction: column; min-height: 100%; transition: border-color .2s, box-shadow .2s; }
.dif-item:hover { border-color: rgba(18,99,63,.35); box-shadow: 0 12px 28px rgba(0,0,0,.06); }
.dif-img { aspect-ratio: 1; padding: 18px; background: #fafafa; display: grid; place-items: center; }
.dif-img img { max-height: 100%; max-width: 100%; object-fit: contain; }
.dif-copy { padding: 16px 18px 20px; font-size: 14px; line-height: 1.45; color: var(--uk-dark); }
.dif-copy p { margin: 0 0 6px; }
.dif-copy strong { font-size: 15px; }

.brand-cta-band {
  background: #f0f2f1; color: var(--uk-dark); padding: 56px 0; text-align: center;
}
.brand-cta-band h2 { margin: 0 0 22px; font-size: clamp(24px, 3vw, 36px); color: var(--uk-dark); }
.brand-cta-band .btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px; background: var(--uk-green2); color: #fff;
  font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: 13px;
}
.brand-cta-band .btn:hover { filter: brightness(1.06); }

/* ===== Catalog / Loja listing ===== */
.page-hero {
  position: relative; min-height: 340px; display: flex; align-items: end;
  padding: 100px 0 64px; background: #222 center/cover no-repeat; color: #fff;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.78) 35%, rgba(0,0,0,.25));
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero .eyebrow { margin: 0 0 12px; color: var(--uk-green3); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.page-hero h1 { margin: 0; max-width: 18ch; font-size: clamp(34px, 4.5vw, 56px); line-height: 1.08; }
.filters { background: #303030; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.filters-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.field {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  color: #fff; padding: 10px 14px; min-height: 42px; font-size: 14px;
}
.field--search { flex: 1; min-width: 220px; }
.field option { color: #111; }
.btn-green {
  background: var(--uk-green2); color: #fff; border: none; padding: 10px 18px;
  font-weight: 700; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; cursor: pointer;
}
.section { padding: 56px 0 80px; }
.section--soft { background: var(--uk-lighter); }
.product-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.product-card { background: #fff; border: 1px solid var(--uk-light); display: flex; flex-direction: column; transition: box-shadow .15s, border-color .15s; }
.product-card:hover { border-color: var(--uk-green2); box-shadow: 0 8px 24px rgba(0,0,0,.06); }
.product-img { aspect-ratio: 1; padding: 16px; display: grid; place-items: center; }
.product-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.product-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-brand { font-size: 11px; font-weight: 700; color: var(--uk-green2); letter-spacing: .06em; text-transform: uppercase; }
.product-name { font-weight: 600; font-size: 15px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: calc(1.35em * 3); }
.product-price { font-weight: 700; color: var(--uk-green2); font-size: 18px; }
.stock { font-size: 12px; color: #1b6b3a; }
.stock--out { color: #8a1f1f; }
.card-actions { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--uk-dark); padding: 8px 10px; font-size: 12px; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
}
.product-card:hover .btn-ghost { background: var(--uk-green2); border-color: var(--uk-green2); color: #fff; }
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; flex: 1;
  background: var(--uk-green2); color: #fff; border: none; padding: 10px 12px;
  font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; cursor: pointer;
}
.card-buy { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.stepper { display: inline-flex; border: 1px solid var(--uk-light); background: #fff; }
.stepper button { width: 36px; height: 40px; border: none; background: transparent; cursor: pointer; font-size: 16px; }
.stepper input { width: 40px; height: 40px; border: none; border-left: 1px solid var(--uk-light); border-right: 1px solid var(--uk-light); text-align: center; }
.notice { font-size: 13px; color: var(--uk-body); background: #fff; border: 1px solid var(--uk-light); padding: 12px 14px; margin-bottom: 20px; }

/* ===== PDP loja (paridade homolog) ===== */
.pdp-page { background: var(--uk-lighter); padding: 36px 0 80px; }
.pdp { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: start; }
.pdp-gallery__main {
  position: relative; background: #fff; border: 1px solid var(--uk-light);
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center; padding: 28px;
}
.pdp-gallery__main img { max-width: 100%; max-height: 100%; object-fit: contain; }
.pdp-legal { font-size: 12px; color: var(--uk-gray); margin: 10px 0 0; }
.pdp-crumb { font-size: 12px; color: var(--uk-gray); margin-bottom: 14px; letter-spacing: .02em; }
.pdp-crumb a:hover { color: var(--uk-green2); }
.pdp-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.pdp-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: #d8f5e4; color: #1b6b3a;
  font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 5px 10px;
}
.pdp-badge--de { background: #f3f4f6; color: var(--uk-dark); font-weight: 600; text-transform: none; letter-spacing: 0; }
.pdp-flag {
  width: 18px; height: 12px; display: inline-block;
  background: linear-gradient(to bottom, #000 33%, #dd0000 33% 66%, #ffce00 66%);
  border: 1px solid rgba(0,0,0,.12);
}
.pdp-brand { font-size: 12px; font-weight: 700; color: var(--uk-green2); letter-spacing: .08em; text-transform: uppercase; margin: 0 0 8px; }
.pdp-title { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.2; margin: 0 0 16px; font-weight: 700; }
.pdp-price-block { margin-bottom: 14px; }
.pdp-price { font-size: 34px; font-weight: 800; color: var(--uk-green2); margin: 0 0 6px; }
.pdp-price-note { font-size: 13px; color: var(--uk-gray); }
.pdp-stock {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: #1b6b3a; margin: 0 0 14px;
}
.pdp-stock--out { color: #8a1f1f; }
.pdp-meta {
  display: flex; flex-wrap: wrap; gap: 10px 18px;
  font-size: 13px; color: var(--uk-gray); margin-bottom: 18px;
}
.pdp-buy { display: grid; gap: 10px; margin-bottom: 18px; }
.pdp-qty-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.pdp-stepper { display: inline-flex; border: 1px solid var(--uk-light); background: #fff; }
.pdp-stepper button { width: 40px; height: 44px; border: none; background: transparent; font-size: 18px; cursor: pointer; }
.pdp-stepper input {
  width: 48px; height: 44px; border: none; border-left: 1px solid var(--uk-light);
  border-right: 1px solid var(--uk-light); text-align: center; font: inherit;
}
.loja-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 18px; border-radius: 2px; font-weight: 700;
  font-size: 13px; letter-spacing: .04em; text-transform: uppercase; cursor: pointer; border: none;
}
.loja-btn--primary { background: var(--uk-green2); color: #fff; flex: 1; }
.loja-btn--primary:hover { filter: brightness(1.05); }
.loja-btn--primary:disabled { opacity: .45; cursor: not-allowed; }
.loja-btn--ghost {
  background: #fff; color: var(--uk-dark); border: 1px solid var(--uk-dark); width: 100%;
}
.loja-btn--ghost:hover { border-color: var(--uk-green2); color: var(--uk-green2); }
.pdp-ship { border: 1px solid var(--uk-light); background: #fff; padding: 14px 16px; margin-bottom: 18px; }
.pdp-ship__title { font-size: 13px; font-weight: 700; margin: 0 0 6px; }
.pdp-ship__text { font-size: 13px; color: var(--uk-gray); margin: 0; line-height: 1.45; }
.pdp-trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 8px; }
.pdp-trust__item {
  background: #fff; border: 1px solid var(--uk-light); padding: 12px 10px; text-align: center;
  font-size: 11px; font-weight: 600; color: #6b6b6b; line-height: 1.3;
}
.pdp-trust__item svg,
.pdp-trust__item img {
  display: block; margin: 0 auto 8px; color: var(--uk-green2);
  width: 22px; height: 22px; object-fit: contain;
}
.pdp-tabs { margin-top: 48px; }
.pdp-tabs__nav {
  display: flex; flex-wrap: wrap; gap: 4px;
  border-bottom: 1px solid var(--uk-light); margin-bottom: 22px;
}
.pdp-tabs__btn {
  border: none; background: transparent; padding: 14px 18px;
  font: inherit; font-weight: 600; font-size: 14px; color: var(--uk-gray); cursor: pointer;
  border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.pdp-tabs__btn.is-active { color: var(--uk-dark); border-bottom-color: var(--uk-green2); }
.pdp-tabs__panel { display: none; }
.pdp-tabs__panel.is-active { display: block; }
.pdp-desc-grid { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: start; }
.pdp-desc-grid:has(.pdp-certs) { grid-template-columns: 1.4fr .9fr; }
.pdp-desc-lead { font-size: 18px; font-weight: 700; color: var(--uk-dark); margin: 0 0 12px; line-height: 1.35; }
.pdp-desc-text { color: #5a5a5a; font-size: 15px; line-height: 1.6; }
.pdp-desc-text p { margin: 0 0 12px; }
.pdp-certs { background: #fff; border: 1px solid var(--uk-light); padding: 18px 16px; }
.pdp-certs h3 { margin: 0 0 14px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.pdp-cert { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-top: 1px solid var(--uk-light); }
.pdp-cert:first-of-type { border-top: none; padding-top: 0; }
.pdp-cert__dot {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  background: #e8f8ef; color: var(--uk-green2);
  display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800;
}
.pdp-cert strong { display: block; font-size: 13px; color: var(--uk-dark); }
.pdp-cert span { font-size: 12px; color: var(--uk-gray); }
.pdp-specs { width: 100%; border-collapse: collapse; font-size: 14px; background: #fff; }
.pdp-specs tr:nth-child(even) { background: #f7f8f9; }
.pdp-specs th, .pdp-specs td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--uk-light); vertical-align: top; }
.pdp-specs th { width: 36%; color: var(--uk-gray); font-weight: 600; }
.pdp-specs td { color: var(--uk-dark); }
.pdp-related { margin-top: 56px; }
.pdp-related__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.pdp-related__head h2 { margin: 0; font-size: 1.35rem; }
.pdp-related__head a { font-size: 13px; font-weight: 600; color: var(--uk-green2); }
.pdp-related__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pdp-rel-card {
  background: #fff; border: 1px solid var(--uk-light); text-decoration: none; color: inherit;
  display: flex; flex-direction: column; transition: border-color .15s, box-shadow .15s;
}
.pdp-rel-card:hover { border-color: var(--uk-green2); box-shadow: 0 8px 24px rgba(0,0,0,.06); }
.pdp-rel-card__img { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; padding: 16px; }
.pdp-rel-card__img img { width: 100%; height: 100%; object-fit: contain; }
.pdp-rel-card__body { padding: 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pdp-rel-card__brand { font-size: 11px; font-weight: 700; color: var(--uk-green2); letter-spacing: .06em; text-transform: uppercase; }
.pdp-rel-card__name {
  font-size: 14px; font-weight: 600; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: calc(1.35em * 3);
}
.pdp-rel-card__price { font-size: 16px; font-weight: 700; color: var(--uk-green2); }
.pdp-rel-card__cta { margin-top: auto; padding-top: 10px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
@media (max-width: 960px) {
  .pdp,
  .pdp-desc-grid,
  .pdp-desc-grid:has(.pdp-certs) { grid-template-columns: 1fr; }
  .pdp-trust { grid-template-columns: repeat(2, 1fr); }
  .pdp-related__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) { .pdp-related__grid { grid-template-columns: 1fr; } }
