/* ============================================================
   CONSTRUVEL — Industrial Blueprint
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@500;600;700;800;900&family=Outfit:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
  /* Marca */
  --navy: #00398c;
  --navy-deep: #002456;
  --navy-soft: #1b52a8;
  --orange: #fd7601;
  --orange-deep: #d85f00;
  --orange-soft: #ff9433;
  --steel: #a0a1a6;

  /* Superfícies — tom de concreto, não branco puro */
  --bg: #f4f4f2;
  --bg-alt: #ececeb;
  --surface: #ffffff;
  --surface-2: #f8f8f7;

  /* Tinta */
  --ink: #14171d;
  --ink-2: #454b57;
  --ink-3: #767c88;
  --line: #dedfdd;
  --line-strong: #c6c8c5;

  /* Semântica */
  --green: #16794a;
  --red: #c0392b;
  --amber: #b7791f;

  /* Tipografia */
  --display: 'Archivo', 'Helvetica Neue', sans-serif;
  --body: 'Outfit', -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Forma */
  --r-sm: 6px;
  --r: 10px;
  --r-lg: 16px;
  --r-xl: 24px;

  /* Profundidade */
  --sh-1: 0 1px 2px rgba(20, 23, 29, .06), 0 1px 1px rgba(20, 23, 29, .04);
  --sh-2: 0 4px 12px rgba(20, 23, 29, .07), 0 1px 3px rgba(20, 23, 29, .05);
  --sh-3: 0 12px 32px rgba(20, 23, 29, .10), 0 3px 8px rgba(20, 23, 29, .06);
  --sh-navy: 0 8px 24px rgba(0, 57, 140, .18);
  --sh-orange: 0 6px 18px rgba(253, 118, 1, .28);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --wrap: 1320px;
  --header-h: 72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }

h1, h2, h3, h4, h5 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.022em;
}

::selection { background: var(--navy); color: #fff; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
@media (max-width: 720px) { .wrap { padding-inline: 16px; } }

.stack { display: flex; flex-direction: column; }
.row { display: flex; align-items: center; }
.gap-2 { gap: 8px } .gap-3 { gap: 12px } .gap-4 { gap: 16px } .gap-6 { gap: 24px }

/* ============================================================
   TOP BAR
   ============================================================ */
.topbar {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, .82);
  font-size: 12.5px;
  letter-spacing: .01em;
}
.topbar__in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; height: 38px;
}
.topbar__items { display: flex; align-items: center; gap: 22px; }
.topbar__item { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.topbar__item svg { width: 14px; height: 14px; opacity: .75; flex: none; }
.topbar a:hover { color: #fff; }
@media (max-width: 900px) { .topbar__hide-sm { display: none; } }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line);
}
.header__in {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center; gap: 28px;
  height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.brand__mark { width: 40px; height: 40px; object-fit: contain; }
.brand__name {
  font-family: var(--display); font-weight: 900; font-size: 24px;
  letter-spacing: -.035em; color: var(--navy); line-height: 1;
}

/* Busca */
.search { position: relative; width: 100%; }
.search__input {
  width: 100%; height: 44px;
  padding: 0 46px 0 44px;
  background: var(--surface-2);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  font-size: 14.5px;
  transition: border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
.search__input::placeholder { color: var(--ink-3); }
.search__input:focus {
  outline: none; background: var(--surface);
  border-color: var(--navy);
  box-shadow: 0 0 0 4px rgba(0, 57, 140, .10);
}
.search__icon {
  position: absolute; left: 15px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; color: var(--ink-3); pointer-events: none;
}
.search__go {
  position: absolute; right: 5px; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; display: grid; place-items: center;
  background: var(--navy); color: #fff; border: 0; border-radius: 50%;
  cursor: pointer; transition: background .2s var(--ease), transform .2s var(--ease);
}
.search__go:hover { background: var(--navy-soft); transform: translateY(-50%) scale(1.06); }
.search__go svg { width: 15px; height: 15px; }

.header__actions { display: flex; align-items: center; gap: 6px; flex: none; }

.iconbtn {
  position: relative;
  display: inline-flex; align-items: center; gap: 9px;
  height: 42px; padding: 0 13px;
  border: 0; background: transparent; border-radius: var(--r);
  cursor: pointer; color: var(--ink-2);
  transition: background .18s var(--ease), color .18s var(--ease);
}
.iconbtn:hover { background: var(--bg-alt); color: var(--navy); }
.iconbtn svg { width: 21px; height: 21px; flex: none; }
.iconbtn__txt { font-size: 13px; font-weight: 500; line-height: 1.15; text-align: left; }
.iconbtn__txt b { display: block; font-weight: 600; font-size: 13.5px; }
.iconbtn__txt span { display: block; font-size: 11px; color: var(--ink-3); }
@media (max-width: 1080px) { .iconbtn__txt { display: none; } }

.badge-count {
  position: absolute; top: 4px; right: 5px;
  min-width: 19px; height: 19px; padding: 0 5px;
  display: grid; place-items: center;
  background: var(--orange); color: #fff;
  font-family: var(--mono); font-size: 10.5px; font-weight: 700;
  border-radius: 999px; border: 2px solid var(--surface);
}

.burger { display: none; }
@media (max-width: 900px) {
  .header__in { grid-template-columns: auto 1fr auto; gap: 12px; }
  .header__search-wrap { display: none; }
  .burger { display: inline-flex; }
}

/* ============================================================
   NAV DE CATEGORIAS
   ============================================================ */
.catnav {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.catnav__in { display: flex; align-items: center; gap: 2px; height: 50px; overflow-x: auto; scrollbar-width: none; }
.catnav__in::-webkit-scrollbar { display: none; }
.catnav__link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0 14px; height: 34px; flex: none;
  font-size: 13.5px; font-weight: 500; color: var(--ink-2);
  border-radius: var(--r-sm); white-space: nowrap;
  transition: background .18s var(--ease), color .18s var(--ease);
}
.catnav__link svg { width: 16px; height: 16px; opacity: .7; }
.catnav__link:hover { background: var(--bg-alt); color: var(--navy); }
.catnav__link.is-active { background: var(--navy); color: #fff; }
.catnav__link.is-active svg { opacity: 1; }
.catnav__all {
  font-weight: 700; color: var(--navy);
  border-right: 1px solid var(--line); margin-right: 8px; padding-right: 18px;
}

/* ============================================================
   HERO — blueprint
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 55%, #0b47a3 100%);
  color: #fff;
  padding: 76px 0 88px;
}
/* grid técnico */
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 92% 78% at 26% 42%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 92% 78% at 26% 42%, #000 40%, transparent 100%);
}
/* brilho laranja */
.hero::after {
  content: ''; position: absolute;
  right: -8%; top: -30%; width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(253,118,1,.30) 0%, transparent 68%);
  filter: blur(30px); pointer-events: none;
}
.hero__in { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px 7px 11px;
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  font-family: var(--mono); font-size: 11.5px; font-weight: 500;
  letter-spacing: .10em; text-transform: uppercase;
  backdrop-filter: blur(8px);
  margin-bottom: 26px;
  animation: rise .7s var(--ease-out) both;
}
.hero__eyebrow i {
  width: 7px; height: 7px; border-radius: 50%; background: var(--orange);
  box-shadow: 0 0 0 3px rgba(253, 118, 1, .28);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.55;transform:scale(.82)} }

.hero__title {
  font-size: clamp(38px, 5.4vw, 68px);
  font-weight: 900; line-height: .98; letter-spacing: -.035em;
  margin-bottom: 22px;
  animation: rise .7s .07s var(--ease-out) both;
}
.hero__title em { font-style: normal; color: var(--orange-soft); }

.hero__sub {
  font-size: clamp(15.5px, 1.7vw, 19px);
  color: rgba(255, 255, 255, .80);
  max-width: 54ch; line-height: 1.62; font-weight: 300;
  margin-bottom: 34px;
  animation: rise .7s .14s var(--ease-out) both;
}

.hero__cta { display: flex; flex-wrap: wrap; gap: 13px; animation: rise .7s .21s var(--ease-out) both; }

.hero__stats {
  display: flex; gap: 42px; margin-top: 52px;
  padding-top: 30px; border-top: 1px solid rgba(255, 255, 255, .15);
  animation: rise .7s .28s var(--ease-out) both;
}
.hstat b {
  display: block; font-family: var(--display); font-weight: 800;
  font-size: 30px; letter-spacing: -.03em; line-height: 1;
}
.hstat span {
  display: block; margin-top: 7px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .11em;
  text-transform: uppercase; color: rgba(255, 255, 255, .58);
}

/* Cartão de cotação flutuante */
.hero__card {
  position: relative;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--r-xl);
  padding: 30px;
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
  animation: rise .8s .34s var(--ease-out) both;
}
.hero__card h3 {
  font-size: 12px; font-family: var(--mono); font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255, 255, 255, .62); margin-bottom: 20px;
}
.qline {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 13px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, .13);
}
.qline:last-of-type { border-bottom: 0; }
.qline__name { font-size: 14.5px; font-weight: 500; }
.qline__unit {
  font-family: var(--mono); font-size: 10.5px;
  color: rgba(255, 255, 255, .48); letter-spacing: .05em;
}
.qline__price {
  font-family: var(--mono); font-size: 14.5px; font-weight: 700;
  color: var(--orange-soft); white-space: nowrap;
}
.hero__card-foot {
  margin-top: 22px; padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: 12.5px; color: rgba(255, 255, 255, .58);
  display: flex; align-items: center; gap: 8px;
}
.hero__card-foot svg { width: 15px; height: 15px; flex: none; color: var(--orange-soft); }

@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

@media (max-width: 980px) {
  .hero { padding: 54px 0 62px; }
  .hero__in { grid-template-columns: 1fr; gap: 40px; }
  .hero__stats { gap: 30px; flex-wrap: wrap; }
}

/* ============================================================
   BOTÕES
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 48px; padding: 0 26px;
  font-family: var(--body); font-size: 15px; font-weight: 600;
  letter-spacing: -.005em;
  border: 0; border-radius: var(--r); cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .22s var(--ease),
              background .18s var(--ease), color .18s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--orange); color: #fff; box-shadow: var(--sh-orange); }
.btn--primary:hover { background: var(--orange-deep); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(253,118,1,.36); }

.btn--navy { background: var(--navy); color: #fff; box-shadow: var(--sh-navy); }
.btn--navy:hover { background: var(--navy-soft); transform: translateY(-2px); }

.btn--ghost {
  background: rgba(255, 255, 255, .10); color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .26);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .18); border-color: rgba(255,255,255,.42); transform: translateY(-2px); }

.btn--outline { background: transparent; color: var(--navy); border: 1.5px solid var(--line-strong); }
.btn--outline:hover { border-color: var(--navy); background: rgba(0, 57, 140, .04); }

.btn--sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn--lg { height: 54px; padding: 0 32px; font-size: 16px; }
.btn--block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none !important; }

/* ============================================================
   SEÇÕES
   ============================================================ */
.section { padding: 72px 0; }
.section--tight { padding: 48px 0; }
.section--alt { background: var(--bg-alt); }

.sechead {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: 34px;
}
.sechead__eyebrow {
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 11px;
  display: flex; align-items: center; gap: 9px;
}
.sechead__eyebrow::before {
  content: ''; width: 26px; height: 2px; background: var(--orange); border-radius: 2px;
}
.sechead h2 { font-size: clamp(25px, 3.2vw, 36px); letter-spacing: -.032em; }
.sechead p { color: var(--ink-3); font-size: 15px; margin-top: 9px; max-width: 60ch; }
.sechead__link {
  display: inline-flex; align-items: center; gap: 7px; flex: none;
  font-size: 14px; font-weight: 600; color: var(--navy);
  transition: gap .2s var(--ease);
}
.sechead__link:hover { gap: 12px; }
.sechead__link svg { width: 16px; height: 16px; }
@media (max-width: 720px) { .sechead { flex-direction: column; align-items: flex-start; } }

/* ============================================================
   CATEGORIAS
   ============================================================ */
.catgrid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px;
}
@media (max-width: 1080px) { .catgrid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 720px)  { .catgrid { grid-template-columns: repeat(2, 1fr); gap: 11px; } }

.catcard {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
  padding: 22px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform .26s var(--ease), box-shadow .26s var(--ease), border-color .26s var(--ease);
}
.catcard::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 3px; background: var(--orange);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.catcard:hover { transform: translateY(-4px); box-shadow: var(--sh-3); border-color: transparent; }
.catcard:hover::after { transform: scaleX(1); }
.catcard__icon {
  width: 46px; height: 46px; display: grid; place-items: center;
  background: linear-gradient(140deg, rgba(0,57,140,.09), rgba(0,57,140,.03));
  border-radius: 12px; color: var(--navy);
  transition: background .26s var(--ease), color .26s var(--ease), transform .26s var(--ease);
}
.catcard__icon svg { width: 23px; height: 23px; }
.catcard:hover .catcard__icon { background: var(--navy); color: #fff; transform: scale(1.06) rotate(-4deg); }
.catcard__name { font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: -.018em; line-height: 1.25; }
.catcard__count { font-family: var(--mono); font-size: 10.5px; color: var(--ink-3); letter-spacing: .05em; }

/* ============================================================
   PRODUTOS
   ============================================================ */
.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1080px) { .pgrid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px)  { .pgrid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

.pcard {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .26s var(--ease), box-shadow .26s var(--ease), border-color .26s var(--ease);
}
.pcard:hover { transform: translateY(-5px); box-shadow: var(--sh-3); border-color: transparent; }

.pcard__media {
  position: relative; aspect-ratio: 4 / 3;
  background: linear-gradient(150deg, var(--surface-2) 0%, var(--bg-alt) 100%);
  display: grid; place-items: center; overflow: hidden;
}
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.05); }
.pcard__ph { color: var(--steel); opacity: .40; }
.pcard__ph svg { width: 52px; height: 52px; }

.pcard__tags { position: absolute; top: 11px; left: 11px; display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.tag {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 9px;
  font-family: var(--mono); font-size: 10px; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase;
  border-radius: 5px; backdrop-filter: blur(6px);
}
.tag--off { background: var(--orange); color: #fff; }
.tag--quote { background: rgba(0,57,140,.94); color: #fff; }
.tag--hot { background: rgba(20,23,29,.86); color: #fff; }

.pcard__body { padding: 16px 17px 18px; display: flex; flex-direction: column; flex: 1; gap: 10px; }
.pcard__cat {
  font-family: var(--mono); font-size: 10px; letter-spacing: .10em;
  text-transform: uppercase; color: var(--ink-3);
}
.pcard__name {
  font-family: var(--display); font-weight: 700; font-size: 15.5px;
  line-height: 1.28; letter-spacing: -.02em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; min-height: 2.56em;
  transition: color .2s var(--ease);
}
.pcard:hover .pcard__name { color: var(--navy); }
.pcard__desc {
  font-size: 12.5px; color: var(--ink-3); line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.pcard__foot { margin-top: auto; padding-top: 12px; }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price__old {
  font-family: var(--mono); font-size: 12px; color: var(--ink-3);
  text-decoration: line-through;
}
.price__now {
  font-family: var(--display); font-weight: 800; font-size: 22px;
  letter-spacing: -.03em; color: var(--ink);
}
.price__unit { font-family: var(--mono); font-size: 11px; color: var(--ink-3); }
.price__quote {
  font-family: var(--display); font-weight: 700; font-size: 16px;
  color: var(--navy); letter-spacing: -.02em;
}

.pcard__actions { display: flex; gap: 8px; margin-top: 13px; }
.addcart {
  flex: 1; height: 42px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--navy); color: #fff;
  border: 0; border-radius: var(--r-sm);
  font-size: 13.5px; font-weight: 600; cursor: pointer;
  transition: background .2s var(--ease), transform .16s var(--ease);
}
.addcart:hover { background: var(--navy-soft); }
.addcart:active { transform: scale(.97); }
.addcart svg { width: 16px; height: 16px; }
.addcart--quote { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.addcart--quote:hover { background: var(--navy); color: #fff; }
.addcart.is-done { background: var(--green); }

/* ============================================================
   FAIXA DE BENEFÍCIOS
   ============================================================ */
.perks { background: var(--surface); border-block: 1px solid var(--line); }
.perks__in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
@media (max-width: 900px) { .perks__in { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .perks__in { grid-template-columns: 1fr; } }

.perk {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 26px 22px;
  border-right: 1px solid var(--line);
}
.perk:last-child { border-right: 0; }
@media (max-width: 900px) { .perk:nth-child(2n) { border-right: 0; } }
@media (max-width: 560px) { .perk { border-right: 0; border-bottom: 1px solid var(--line); } }

.perk__icon {
  width: 42px; height: 42px; flex: none;
  display: grid; place-items: center;
  background: rgba(253, 118, 1, .10); color: var(--orange);
  border-radius: 11px;
}
.perk__icon svg { width: 21px; height: 21px; }
.perk b {
  display: block; font-family: var(--display); font-weight: 700;
  font-size: 14.5px; letter-spacing: -.018em; margin-bottom: 3px;
}
.perk span { display: block; font-size: 12.5px; color: var(--ink-3); line-height: 1.5; }

/* ============================================================
   BANNER B2B
   ============================================================ */
.b2b {
  position: relative; overflow: hidden;
  background: var(--ink); color: #fff;
  border-radius: var(--r-xl);
  padding: 52px 56px;
  display: grid; grid-template-columns: 1.3fr .7fr; gap: 44px; align-items: center;
}
.b2b::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(115deg, transparent 0 22px, rgba(255,255,255,.028) 22px 23px);
}
.b2b::after {
  content: ''; position: absolute; right: -60px; bottom: -110px;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(0,57,140,.55) 0%, transparent 66%);
  filter: blur(20px);
}
.b2b > * { position: relative; z-index: 2; }
.b2b__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .13em;
  text-transform: uppercase; color: var(--orange-soft); margin-bottom: 15px;
}
.b2b h2 { font-size: clamp(24px, 3vw, 34px); letter-spacing: -.032em; margin-bottom: 14px; }
.b2b p { color: rgba(255, 255, 255, .70); font-size: 15px; line-height: 1.65; max-width: 52ch; font-weight: 300; }
.b2b__list { display: flex; flex-direction: column; gap: 13px; }
.b2b__li { display: flex; align-items: center; gap: 11px; font-size: 14px; color: rgba(255,255,255,.86); }
.b2b__li svg { width: 18px; height: 18px; color: var(--orange-soft); flex: none; }
@media (max-width: 900px) { .b2b { grid-template-columns: 1fr; padding: 36px 26px; gap: 30px; } }

/* ============================================================
   PÁGINA DE CATEGORIA / BUSCA
   ============================================================ */
.crumb {
  display: flex; align-items: center; gap: 9px; flex-wrap: wrap;
  font-size: 12.5px; color: var(--ink-3); padding: 20px 0;
}
.crumb a:hover { color: var(--navy); }
.crumb svg { width: 13px; height: 13px; opacity: .5; }
.crumb b { color: var(--ink); font-weight: 500; }

.page-head { padding-bottom: 26px; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.page-head h1 { font-size: clamp(27px, 3.6vw, 40px); letter-spacing: -.034em; margin-bottom: 9px; }
.page-head p { color: var(--ink-3); font-size: 14.5px; max-width: 66ch; }

.shop { display: grid; grid-template-columns: 250px 1fr; gap: 34px; align-items: start; }
@media (max-width: 940px) { .shop { grid-template-columns: 1fr; } .shop__side { display: none; } }

.filt { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; position: sticky; top: calc(var(--header-h) + 16px); }
.filt h4 {
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px;
}
.filt__list { display: flex; flex-direction: column; gap: 1px; }
.filt__item {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 9px 11px; border-radius: var(--r-sm);
  font-size: 13.5px; color: var(--ink-2);
  transition: background .18s var(--ease), color .18s var(--ease);
}
.filt__item:hover { background: var(--bg-alt); color: var(--navy); }
.filt__item.is-active { background: var(--navy); color: #fff; font-weight: 500; }
.filt__item span { font-family: var(--mono); font-size: 10.5px; opacity: .7; }

.toolbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; margin-bottom: 20px; flex-wrap: wrap;
}
.toolbar__count { font-size: 13.5px; color: var(--ink-3); }
.toolbar__count b { color: var(--ink); font-weight: 600; }
.select {
  height: 40px; padding: 0 34px 0 14px;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23767c88' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 15px;
  border: 1.5px solid var(--line); border-radius: var(--r-sm);
  font-size: 13.5px; cursor: pointer; appearance: none;
  transition: border-color .2s var(--ease);
}
.select:focus { outline: none; border-color: var(--navy); }

.empty { text-align: center; padding: 70px 20px; }
.empty svg { width: 54px; height: 54px; color: var(--steel); opacity: .5; margin: 0 auto 18px; }
.empty h3 { font-size: 19px; margin-bottom: 8px; }
.empty p { color: var(--ink-3); font-size: 14px; margin-bottom: 22px; }

/* ============================================================
   PÁGINA DE PRODUTO
   ============================================================ */
.pdp { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: start; padding-bottom: 20px; }
@media (max-width: 940px) { .pdp { grid-template-columns: 1fr; gap: 30px; } }

.pdp__media {
  aspect-ratio: 4 / 3;
  background: linear-gradient(150deg, var(--surface) 0%, var(--bg-alt) 100%);
  border: 1px solid var(--line); border-radius: var(--r-xl);
  display: grid; place-items: center; overflow: hidden;
  position: sticky; top: calc(var(--header-h) + 16px);
}
.pdp__media img { width: 100%; height: 100%; object-fit: cover; }
.pdp__media .pcard__ph svg { width: 88px; height: 88px; }
@media (max-width: 940px) { .pdp__media { position: static; } }

.pdp__cat {
  font-family: var(--mono); font-size: 11px; letter-spacing: .11em;
  text-transform: uppercase; color: var(--orange); margin-bottom: 12px;
}
.pdp h1 { font-size: clamp(25px, 3.4vw, 38px); letter-spacing: -.034em; margin-bottom: 13px; }
.pdp__short { font-size: 16px; color: var(--ink-2); line-height: 1.6; margin-bottom: 26px; }

.pdp__pricebox {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 24px; margin-bottom: 24px;
}
.pdp__price { display: flex; align-items: baseline; gap: 11px; flex-wrap: wrap; margin-bottom: 5px; }
.pdp__price .price__now { font-size: 38px; }
.pdp__peruni { font-family: var(--mono); font-size: 12.5px; color: var(--ink-3); margin-bottom: 20px; }

.qtyrow { display: flex; align-items: center; gap: 13px; margin-bottom: 17px; flex-wrap: wrap; }
.qty {
  display: inline-flex; align-items: center;
  border: 1.5px solid var(--line); border-radius: var(--r-sm); overflow: hidden;
  background: var(--surface);
}
.qty button {
  width: 40px; height: 46px; border: 0; background: transparent;
  color: var(--ink-2); cursor: pointer; font-size: 19px; line-height: 1;
  transition: background .16s var(--ease), color .16s var(--ease);
}
.qty button:hover { background: var(--bg-alt); color: var(--navy); }
.qty input {
  width: 64px; height: 46px; border: 0; text-align: center;
  font-family: var(--mono); font-size: 15px; font-weight: 600;
  background: transparent;
}
.qty input:focus { outline: none; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.specs { border-top: 1px solid var(--line); }
.spec {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.spec dt { color: var(--ink-3); }
.spec dd { font-family: var(--mono); font-size: 13px; font-weight: 500; text-align: right; }

.pdp__desc { margin-top: 30px; }
.pdp__desc h3 { font-size: 17px; margin-bottom: 12px; }
.pdp__desc p { color: var(--ink-2); line-height: 1.75; font-size: 14.5px; }

/* ============================================================
   CARRINHO
   ============================================================ */
.cart { display: grid; grid-template-columns: 1fr 380px; gap: 30px; align-items: start; }
@media (max-width: 940px) { .cart { grid-template-columns: 1fr; } }

.citem {
  display: grid; grid-template-columns: 92px 1fr auto; gap: 18px;
  padding: 18px; align-items: center;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); margin-bottom: 12px;
}
.citem__media {
  width: 92px; aspect-ratio: 1; border-radius: var(--r-sm);
  background: linear-gradient(150deg, var(--surface-2), var(--bg-alt));
  display: grid; place-items: center; overflow: hidden;
}
.citem__media img { width: 100%; height: 100%; object-fit: cover; }
.citem__name { font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: -.018em; margin-bottom: 5px; }
.citem__meta { font-family: var(--mono); font-size: 11px; color: var(--ink-3); }
.citem__right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 9px; }
.citem__total { font-family: var(--display); font-weight: 800; font-size: 18px; letter-spacing: -.025em; }
.citem__del {
  border: 0; background: transparent; color: var(--ink-3); cursor: pointer;
  font-size: 12px; display: inline-flex; align-items: center; gap: 5px;
  transition: color .18s var(--ease);
}
.citem__del:hover { color: var(--red); }
.citem__del svg { width: 14px; height: 14px; }
@media (max-width: 620px) {
  .citem { grid-template-columns: 68px 1fr; }
  .citem__media { width: 68px; }
  .citem__right { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
}

.summary {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 24px;
  position: sticky; top: calc(var(--header-h) + 16px);
}
.summary h3 { font-size: 17px; margin-bottom: 18px; }
.sline { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 9px 0; font-size: 14px; }
.sline span { color: var(--ink-3); }
.sline b { font-family: var(--mono); font-weight: 500; }
.sline--total {
  border-top: 1px solid var(--line); margin-top: 12px; padding-top: 16px;
}
.sline--total span { color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 16px; }
.sline--total b { font-family: var(--display); font-weight: 800; font-size: 25px; letter-spacing: -.03em; color: var(--navy); }

.cepbox { display: flex; gap: 8px; margin: 16px 0; }
.input {
  width: 100%; height: 44px; padding: 0 14px;
  background: var(--surface); border: 1.5px solid var(--line);
  border-radius: var(--r-sm); font-size: 14px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3.5px rgba(0,57,140,.09); }
.input::placeholder { color: var(--ink-3); }
textarea.input { height: auto; padding: 12px 14px; resize: vertical; min-height: 100px; line-height: 1.6; }

.field { margin-bottom: 15px; }
.field label {
  display: block; font-size: 12.5px; font-weight: 500;
  color: var(--ink-2); margin-bottom: 6px;
}
.field label i { color: var(--orange); font-style: normal; }
.fgrid { display: grid; gap: 15px; }
.fgrid.c2 { grid-template-columns: 1fr 1fr; }
.fgrid.c3 { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 620px) { .fgrid.c2, .fgrid.c3 { grid-template-columns: 1fr; } }

/* Aviso de pedido mínimo — informa o que falta, nunca só trava */
.alerta-min {
  display: flex; align-items: flex-start; gap: 13px;
  margin-top: 18px; padding: 16px;
  background: rgba(253, 118, 1, .07);
  border: 1px solid rgba(253, 118, 1, .26);
  border-radius: var(--r);
}
.alerta-min__ico {
  width: 34px; height: 34px; flex: none;
  display: grid; place-items: center;
  background: var(--orange); color: #fff; border-radius: 9px;
}
.alerta-min__ico svg { width: 17px; height: 17px; }
.alerta-min b {
  display: block; font-family: var(--display); font-weight: 700;
  font-size: 14px; letter-spacing: -.018em; color: var(--orange-deep);
  margin-bottom: 5px;
}
.alerta-min span { display: block; font-size: 12.5px; color: var(--ink-2); line-height: 1.55; }

/* ============================================================
   TOAST
   ============================================================ */
.toast-wrap {
  position: fixed; bottom: 26px; right: 26px; z-index: 999;
  display: flex; flex-direction: column; gap: 10px; pointer-events: none;
}
.toast {
  display: flex; align-items: center; gap: 12px;
  min-width: 280px; max-width: 400px;
  padding: 14px 18px;
  background: var(--ink); color: #fff;
  border-radius: var(--r); box-shadow: var(--sh-3);
  font-size: 14px; font-weight: 500;
  animation: toastIn .34s var(--ease-out) both;
  pointer-events: auto;
}
.toast svg { width: 19px; height: 19px; flex: none; color: var(--orange-soft); }
.toast.is-out { animation: toastOut .28s var(--ease) both; }
@keyframes toastIn  { from { opacity: 0; transform: translateX(30px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateX(30px) scale(.96); } }
@media (max-width: 560px) { .toast-wrap { left: 16px; right: 16px; bottom: 16px; } .toast { min-width: 0; } }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink); color: rgba(255, 255, 255, .68); padding: 58px 0 0; margin-top: 20px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 44px; padding-bottom: 44px; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

.footer__brand { display: inline-flex; align-items: center; gap: 11px; margin-bottom: 16px; }
.footer__brand img { width: 38px; height: 38px; object-fit: contain; }
.footer__brand span { font-family: var(--display); font-weight: 900; font-size: 22px; color: #fff; letter-spacing: -.035em; }
.footer p { font-size: 13.5px; line-height: 1.7; max-width: 40ch; font-weight: 300; }

.footer h5 {
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: .13em; text-transform: uppercase;
  color: rgba(255, 255, 255, .42); margin-bottom: 16px;
}
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links a { font-size: 13.5px; transition: color .18s var(--ease); }
.footer__links a:hover { color: var(--orange-soft); }

.footer__contact { display: flex; flex-direction: column; gap: 12px; }
.fcontact { display: flex; align-items: flex-start; gap: 11px; font-size: 13.5px; }
.fcontact svg { width: 17px; height: 17px; color: var(--orange); flex: none; margin-top: 2px; }

.footer__bar {
  border-top: 1px solid rgba(255, 255, 255, .09);
  padding: 22px 0;
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 11.5px;
  color: rgba(255, 255, 255, .38); letter-spacing: .03em;
}

/* ---------- utilitários ---------- */
.mono { font-family: var(--mono); }
.muted { color: var(--ink-3); }
.center { text-align: center; }
.mt-4 { margin-top: 16px } .mt-6 { margin-top: 24px } .mt-8 { margin-top: 32px }
.mb-4 { margin-bottom: 16px } .mb-6 { margin-bottom: 24px }
.hide-sm { }
@media (max-width: 720px) { .hide-sm { display: none !important; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
