/* Constrular — amarelo de sinalização, grafite e concreto. Archivo + IBM Plex Sans. */
:root {
  --y: #FFC20E; --y-dk: #E5AC00; --k: #1E1E1E; --k2: #2B2B2B; --con: #ECE9E3; --con-2: #DAD6CE; --w: #FFFFFF;
  --mut: #5C5A55; --red: #B3261E;
  --head: "Archivo", "Arial Black", sans-serif; --body: "IBM Plex Sans", system-ui, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 150px; }
body { margin: 0; font-family: var(--body); font-size: 16px; line-height: 1.55; color: var(--k); background: var(--w); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--head); font-weight: 900; font-stretch: 112%; letter-spacing: -0.02em; line-height: 1; margin: 0; text-transform: uppercase; }
p { margin: 0; }
.wrap { max-width: 1260px; margin: 0 auto; padding: 0 clamp(16px, 3.5vw, 40px); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--k); color: var(--y); padding: 10px 14px; }
.skip:focus { top: 10px; }
:focus-visible { outline: 3px solid var(--k); outline-offset: 2px; box-shadow: 0 0 0 6px var(--y); }
.small { font-size: 13px; color: var(--mut); }
.c { text-align: center; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 12px 24px; border: 2px solid var(--k); border-radius: 4px; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; transition: background .15s, transform .1s; }
.btn:active { transform: translateY(1px); }
.btn-dark { background: var(--k); color: var(--y); }
.btn-dark:hover { background: #000; }
.btn-line { background: transparent; color: var(--k); }
.btn-line:hover { background: var(--k); color: var(--w); }
.btn-yellow { background: var(--y); color: var(--k); border-color: var(--y); }
.btn-yellow:hover { background: var(--y-dk); border-color: var(--y-dk); }
.btn-sm { min-height: 44px; padding: 8px 16px; font-size: 15px; }
.btn-full { width: 100%; }

.topbar { background: var(--k); color: var(--y); font-size: 13px; font-weight: 600; text-align: center; padding: 7px 0; }
.hdr { position: sticky; top: 0; z-index: 50; background: var(--y); }
.hdr-in { display: flex; align-items: center; gap: 18px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--head); font-weight: 900; font-stretch: 125%; font-size: 24px; letter-spacing: -0.01em; }
.logo svg rect { stroke: var(--k); stroke-width: 2; }
.hsearch { flex: 1; display: flex; align-items: center; gap: 10px; background: var(--w); border: 2px solid var(--k); border-radius: 4px; padding: 0 14px; }
.hsearch input { flex: 1; border: 0; outline: 0; min-height: 46px; background: transparent; font-size: 16px; min-width: 0; }
.listbtn { display: inline-flex; align-items: center; gap: 8px; min-height: 50px; padding: 0 16px; background: var(--k); color: var(--w); border: 0; border-radius: 4px; cursor: pointer; font-weight: 700; }
.listbtn .cnt { background: var(--y); color: var(--k); min-width: 24px; height: 24px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; padding: 0 6px; }
.listbtn.bump { animation: bump .35s; }
@keyframes bump { 50% { transform: scale(1.08); } }
.deps { background: var(--k); }
.deps-in { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.deps-in::-webkit-scrollbar { display: none; }
.dep { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 14px; border: 0; background: none; color: #E6E3DC; font-weight: 600; font-size: 14px; cursor: pointer; border-bottom: 3px solid transparent; }
.dep:hover { color: var(--w); }
.dep[aria-pressed="true"] { color: var(--y); border-bottom-color: var(--y); }
.dep svg { width: 18px; height: 18px; }
@media (max-width: 760px) { .hdr-in { flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; gap: 10px; } .hsearch { order: 3; flex-basis: 100%; } .listbtn { margin-left: auto; } .listbtn .lt { display: none; } }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--y); }
.hero-text { padding: clamp(40px, 6vw, 90px) clamp(16px, 4vw, 60px) clamp(40px, 6vw, 80px) max(clamp(16px, 3.5vw, 40px), calc((100vw - 1260px) / 2 + 40px)); }
.kick { display: inline-block; background: var(--k); color: var(--y); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; padding: 5px 10px; margin-bottom: 20px; }
.hero h1 { font-size: clamp(40px, 5.4vw, 76px); }
.hero-text > p { font-size: 18px; margin-top: 20px; max-width: 520px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-img { margin: 0; background: var(--con-2); min-height: 320px; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; } .hero-img { aspect-ratio: 16 / 10; min-height: 0; } }
.perks { background: var(--k); color: var(--w); }
.perks-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.perks-in div { padding: 20px 18px; border-left: 1px solid #3A3A3A; }
.perks-in div:first-child { border-left: 0; padding-left: 0; }
.perks b { display: block; color: var(--y); }
.perks span { font-size: 14px; color: #CFCBC2; }
@media (max-width: 860px) { .perks-in { grid-template-columns: 1fr 1fr; } .perks-in div { border-left: 0; padding-left: 0; } }

.sec { padding: clamp(56px, 7vw, 90px) 0; }
.sec-con { background: var(--con); }
.sec-dark { background: var(--k); color: var(--w); }
.sh { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 20px; margin-bottom: 24px; }
.sh h2 { font-size: clamp(32px, 4vw, 52px); }
.sh p { color: var(--mut); }
.lead { font-size: 18px; color: var(--mut); max-width: 460px; margin-bottom: 10px; }

/* Cards de produto */
.offers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pc { position: relative; display: flex; flex-direction: column; background: var(--w); border: 2px solid var(--con-2); border-radius: 6px; overflow: hidden; }
.pc:hover { border-color: var(--k); }
.pc .ph { aspect-ratio: 1; background: var(--con); overflow: hidden; }
.pc .ph img { width: 100%; height: 100%; object-fit: cover; }
.pc .of { position: absolute; left: 0; top: 12px; background: var(--red); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; }
.pc .bd { padding: 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.pc .mk { font-size: 12px; font-weight: 700; color: var(--mut); text-transform: uppercase; letter-spacing: .08em; }
.pc h3 { font-family: var(--body); font-weight: 600; font-stretch: normal; text-transform: none; letter-spacing: 0; font-size: 16px; line-height: 1.3; min-height: 2.6em; }
.pc .de { font-size: 13px; color: var(--mut); text-decoration: line-through; }
.pc .pr { font-family: var(--head); font-weight: 900; font-size: 24px; }
.pc .pr small { font-family: var(--body); font-weight: 500; font-size: 13px; color: var(--mut); }
.pc .pr small.cx { display: block; font-size: 12px; margin-top: 2px; }
.pc .row { display: flex; gap: 8px; margin-top: auto; padding-top: 10px; }
.qty { display: flex; align-items: center; border: 2px solid var(--k); border-radius: 4px; }
.qty button { width: 36px; height: 40px; border: 0; background: none; font-size: 18px; font-weight: 700; cursor: pointer; }
.qty input { width: 42px; height: 40px; border: 0; text-align: center; font-weight: 700; -moz-appearance: textfield; background: transparent; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.add { flex: 1; min-height: 44px; border: 0; border-radius: 4px; background: var(--y); font-weight: 700; cursor: pointer; }
.add:hover { background: var(--y-dk); }
.pc .inlist { font-size: 12px; font-weight: 700; color: #1F6B33; }
@media (max-width: 1060px) { .offers { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .grid, .offers { grid-template-columns: 1fr 1fr; gap: 10px; } .pc h3 { font-size: 14px; } .pc .pr { font-size: 20px; } .pc .row { flex-direction: column; } .qty { justify-content: space-between; } .qty input { flex: 1; } }

/* Catálogo */
.cbar { display: flex; justify-content: flex-end; align-items: center; gap: 12px; margin-bottom: 14px; }
.fbtn { display: none; margin-right: auto; }
.sort { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; }
.sort select { min-height: 44px; border: 2px solid var(--k); border-radius: 4px; padding: 0 10px; background: var(--w); font-size: 15px; }
.cat { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 24px; align-items: start; }
.side { background: var(--w); border-radius: 6px; padding: 16px; position: sticky; top: 150px; }
.side fieldset { border: 0; padding: 0 0 14px; margin: 0 0 14px; border-bottom: 1px solid var(--con-2); }
.side legend { font-family: var(--head); font-weight: 900; text-transform: uppercase; font-size: 15px; margin-bottom: 8px; padding: 0; }
.rk { display: flex; align-items: center; gap: 10px; min-height: 36px; font-size: 15px; cursor: pointer; }
.rk input { width: 18px; height: 18px; accent-color: var(--k); margin: 0; }
.rk small { margin-left: auto; color: var(--mut); }
.side input[type="range"] { width: 100%; accent-color: var(--k); }
.side output { font-weight: 700; font-size: 14px; }
.ck { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; cursor: pointer; font-weight: 600; }
.ck input { width: 20px; height: 20px; accent-color: var(--k); }
.empty { padding: 30px 0; display: grid; gap: 12px; justify-items: start; }
@media (max-width: 900px) {
  .fbtn { display: inline-flex; }
  .cat { grid-template-columns: 1fr; }
  .side { display: none; position: static; }
  .side.open { display: block; }
}

/* Calculadora */
.calc { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 36px; align-items: start; }
.calc-box { border: 3px solid var(--k); border-radius: 6px; overflow: hidden; }
.ctabs { display: grid; grid-template-columns: 1fr 1fr; }
.ctabs button { min-height: 54px; border: 0; background: var(--con); font-weight: 700; cursor: pointer; font-size: 15px; }
.ctabs button[aria-selected="true"] { background: var(--y); }
.cpanel { padding: 20px; }
.g3 { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 12px; }
.fl { display: grid; min-width: 0; gap: 4px; font-size: 13px; font-weight: 700; color: var(--mut); }
.fl select, .fl input { width: 100%; min-width: 0; min-height: 48px; border: 2px solid var(--con-2); border-radius: 4px; padding: 0 10px; font-size: 16px; color: var(--k); background: var(--w); font-weight: 500; }
.cres { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; margin-top: 18px; padding-top: 18px; border-top: 2px dashed var(--con-2); }
.cres p { font-size: 17px; }
.cres b { font-family: var(--head); font-weight: 900; font-size: 28px; }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } .g3 { grid-template-columns: 1fr; } }

.brands { padding: 28px 0 40px; border-top: 1px solid var(--con-2); }
.brand-row { display: flex; flex-wrap: wrap; gap: 14px 40px; margin-top: 12px; }
.brand-row span { font-family: var(--head); font-weight: 900; font-size: 22px; color: #6E6B65; text-transform: uppercase; font-stretch: 110%; }

.loja { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.loja figure { margin: 0; aspect-ratio: 9 / 7; background: var(--k2); overflow: hidden; border-bottom: 8px solid var(--y); }
.loja figure img { width: 100%; height: 100%; object-fit: cover; }
.loja h2 { font-size: clamp(32px, 4vw, 52px); color: var(--y); }
.loja p { margin: 16px 0; color: #DAD6CE; font-size: 17px; }
.loja dl { margin: 0 0 22px; display: grid; gap: 8px; }
.loja dl div { display: grid; grid-template-columns: 100px 1fr; }
.loja dt { color: var(--y); font-weight: 700; }
.loja dd { margin: 0; color: #DAD6CE; }
@media (max-width: 860px) { .loja { grid-template-columns: 1fr; } }

.ft { background: #111; color: #BDB9B0; padding: 40px 0 90px; font-size: 14px; border-top: 6px solid var(--y); }
.ft-in { display: grid; gap: 12px; }
.ft .logo { color: var(--y); }

/* Lista de orçamento */
dialog { border: 0; padding: 0; color: var(--k); }
dialog::backdrop { background: rgba(0, 0, 0, .6); }
.drawer { position: fixed; inset: 0 0 0 auto; margin: 0; width: min(460px, 100vw); max-width: 100vw; height: 100%; max-height: 100%; background: var(--w); }
.drawer[open] { display: flex; flex-direction: column; animation: sl .25s ease-out; }
@keyframes sl { from { transform: translateX(30px); opacity: 0; } }
.dr-h { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; background: var(--y); }
.dr-h h2 { font-size: 24px; }
.x { width: 42px; height: 42px; border: 2px solid var(--k); border-radius: 4px; background: var(--w); font-size: 22px; cursor: pointer; }
.dr-b { flex: 1; overflow-y: auto; padding: 8px 20px 20px; }
.dr-empty { padding: 30px 0; color: var(--mut); }
.dr-list { list-style: none; margin: 0; padding: 0; }
.dr-it { display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--con-2); }
.dr-it .ph { width: 60px; height: 60px; background: var(--con); overflow: hidden; border-radius: 4px; }
.dr-it .ph img { width: 100%; height: 100%; object-fit: cover; }
.dr-it h4 { margin: 0; font-size: 15px; }
.dr-it small { display: block; color: var(--mut); font-size: 13px; }
.dr-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 8px; }
.dr-row .qty button { height: 36px; }
.dr-row .qty input { height: 36px; width: 52px; }
.rm { border: 0; background: none; color: var(--red); text-decoration: underline; cursor: pointer; font-size: 14px; padding: 6px 0; }
.dr-form { margin-top: 18px; }
.dr-form h3 { font-size: 20px; margin-bottom: 12px; }
.fd { display: grid; gap: 5px; margin: 0 0 12px; border: 0; padding: 0; }
.fd label, .fd legend { font-weight: 600; font-size: 14px; padding: 0; }
.fd input, .fd textarea { width: 100%; min-height: 46px; border: 2px solid var(--con-2); border-radius: 4px; padding: 9px 12px; font-size: 16px; }
.fd input:focus, .fd textarea:focus { outline: none; border-color: var(--k); }
.fd .er { display: none; color: var(--red); font-size: 13px; font-weight: 700; }
.fd.bad .er { display: block; }
.fd.bad input { border-color: var(--red); }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: flex; align-items: center; justify-content: center; min-height: 44px; border: 2px solid var(--con-2); border-radius: 4px; font-weight: 600; font-size: 14px; cursor: pointer; text-align: center; }
.seg input:checked + span { border-color: var(--k); background: var(--k); color: var(--y); }
.seg input:focus-visible + span { outline: 3px solid var(--y-dk); }
.dr-f { padding: 14px 20px 18px; border-top: 2px solid var(--k); }
.tot { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.tot b { font-family: var(--head); font-weight: 900; font-size: 26px; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 30px); opacity: 0; z-index: 9800; background: var(--k); color: var(--y); padding: 12px 18px; border-radius: 4px; font-weight: 700; transition: all .3s; pointer-events: none; max-width: calc(100vw - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
