/* =====================================================
   TORQ Soluções Industriais
   ===================================================== */
:root {
  --ink: #0d1117;
  --ink-2: #161c24;
  --ink-3: #222a35;
  --text: #1a2029;
  --mute: #5f6976;
  --mute-2: #8a94a2;
  --line: #e3e6eb;
  --gray: #f4f5f7;
  --white: #ffffff;
  --fg: var(--ink);
  --acc: #f26b1d;
  --acc-d: #d85a0f;
  --acc-soft: #fff1e8;
  --r: 14px;
  --r-lg: 22px;
  --sh: 0 1px 2px rgba(13, 17, 23, .04), 0 8px 24px -8px rgba(13, 17, 23, .12);
  --sh-lg: 0 30px 60px -24px rgba(13, 17, 23, .35);
  --head: "Inter Tight", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hh: 80px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 16px/1.6 var(--body); color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--acc); color: #fff; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 6px; }
svg[viewBox="0 0 24 24"] { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.wrap { width: min(1240px, 100% - 32px); margin-inline: auto; }
@media (min-width: 768px) { .wrap { width: min(1240px, 100% - 64px); } }

/* ---------- Tipografia ---------- */
.kicker { display: flex; align-items: center; gap: 10px; font: 600 13px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--acc); margin-bottom: 18px; }
.kicker::before { content: ""; width: 24px; height: 2px; background: currentColor; }
.kicker--light { color: #ff9a5c; }
.h2 { font: 700 clamp(30px, 3.6vw, 46px)/1.08 var(--head); letter-spacing: -.025em; color: var(--fg); max-width: 720px; }

/* ---------- Botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 24px; border-radius: 10px; font: 600 15px/1 var(--body); white-space: nowrap; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; }
.btn--acc { background: var(--acc); color: #fff; box-shadow: 0 6px 18px -6px rgba(242, 107, 29, .6); }
.btn--acc:hover { background: var(--acc-d); transform: translateY(-1px); }
.btn--ghost { border: 1px solid var(--line); color: var(--text); background: var(--white); }
.btn--ghost:hover { border-color: var(--text); }
.btn--glass { color: #fff; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .3); backdrop-filter: blur(6px); }
.btn--glass:hover { background: rgba(255, 255, 255, .2); }
.btn--lg { height: 56px; padding: 0 30px; font-size: 16px; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--hh); color: #fff; transition: background .3s, color .3s, height .3s, box-shadow .3s; }
.hdr.solid { background: rgba(255, 255, 255, .96); color: var(--text); height: 68px; box-shadow: 0 1px 0 var(--line), 0 8px 24px -16px rgba(0, 0, 0, .2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.hdr__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { display: flex; align-items: center; gap: 12px; }
.logo__mk { width: 41px; height: 42px; flex: none; position: relative; }
.logo__mk img { width: 100%; height: 100%; }
.logo__txt { display: flex; flex-direction: column; line-height: 1; }
.logo__word { display: block; height: 21px; }
.logo__word img { height: 100%; width: auto; }
.logo__txt small { font-size: 11px; font-weight: 500; opacity: .7; margin-top: 5px; letter-spacing: .08em; text-transform: uppercase; }
/* Versão clara (engrenagem branca) sobre fundo escuro; versão escura sobre o cabeçalho branco */
.logo .lg-d, .hdr.solid .logo .lg-l { display: none; }
.hdr.solid .logo .lg-d { display: block; }
[data-theme="dark"] .hdr.solid .logo .lg-l { display: block; }
[data-theme="dark"] .hdr.solid .logo .lg-d { display: none; }

.nav { display: flex; gap: 6px; }
.nav a { padding: 8px 14px; border-radius: 8px; font-size: 15px; font-weight: 500; opacity: .88; transition: opacity .2s, background .2s; }
.nav a:hover { opacity: 1; background: rgba(255, 255, 255, .12); }
.hdr.solid .nav a:hover { background: var(--gray); }
.nav a.on { opacity: 1; }
.hdr.solid .nav a.on { color: var(--acc); }

.hdr__act { display: flex; align-items: center; gap: 12px; }
.hdr__tel { display: flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; }
.hdr__tel svg { width: 18px; height: 18px; color: var(--acc); }
.qbtn { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 8px 0 14px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .35); font-size: 14.5px; font-weight: 600; transition: border-color .2s, background .2s; }
.qbtn svg { width: 19px; height: 19px; }
.qbtn:hover { background: rgba(255, 255, 255, .12); }
.hdr.solid .qbtn { border-color: var(--line); }
.hdr.solid .qbtn:hover { background: var(--gray); }
.qbtn__n { min-width: 24px; height: 24px; padding: 0 7px; border-radius: 6px; display: grid; place-items: center; font-size: 12.5px; font-weight: 700; background: rgba(255, 255, 255, .18); }
.hdr.solid .qbtn__n { background: var(--gray); }
.qbtn__n.has, .hdr.solid .qbtn__n.has { background: var(--acc); color: #fff; }
.qbtn__n.bump { animation: bump .35s var(--ease); }
@keyframes bump { 40% { transform: scale(1.3); } }

.burger { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .35); position: relative; }
.hdr.solid .burger { border-color: var(--line); }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .25s, top .25s; }
.burger span:first-child { top: 16px; }
.burger span:last-child { top: 23px; }
.burger[aria-expanded="true"] span:first-child { top: 19.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 19.5px; transform: rotate(-45deg); }

@media (max-width: 1080px) { .hdr__tel { display: none; } }
@media (max-width: 900px) {
  .burger { display: block; }
  .nav { position: fixed; top: 68px; left: 12px; right: 12px; flex-direction: column; gap: 2px; padding: 10px; border-radius: 16px; background: var(--white); color: var(--text); box-shadow: var(--sh-lg); opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .2s, transform .2s; }
  .nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { padding: 14px 16px; font-size: 16px; opacity: 1; }
  .nav a:hover { background: var(--gray); }
}
@media (max-width: 520px) { .qbtn__lbl, .logo__txt small { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(100vh, 900px); display: flex; flex-direction: column; color: #fff; background: var(--ink); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% center; transform: scale(1.06); animation: heroZoom 14s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13, 17, 23, .94) 0%, rgba(13, 17, 23, .8) 42%, rgba(13, 17, 23, .35) 75%, rgba(13, 17, 23, .25) 100%), linear-gradient(0deg, rgba(13, 17, 23, .7), transparent 40%); }
.hero__in { position: relative; flex: 1; display: flex; align-items: center; padding: calc(var(--hh) + 56px) 0 64px; }
.hero__copy { max-width: 700px; width: 100%; min-width: 0; }
.hero__h { font: 700 clamp(38px, 5.4vw, 70px)/1.04 var(--head); letter-spacing: -.022em; }
.hero__h span { color: var(--acc); }
.hero__p { margin-top: 22px; font-size: clamp(16px, 1.35vw, 19px); color: rgba(255, 255, 255, .78); max-width: 580px; }

.hsearch { margin-top: 36px; display: flex; align-items: center; gap: 10px; background: var(--white); border-radius: 14px; padding: 8px 8px 8px 20px; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .6); max-width: 620px; }
.hsearch svg { width: 22px; height: 22px; color: var(--mute-2); flex: none; }
.hsearch input { flex: 1; min-width: 0; border: 0; outline: 0; font: 500 16px var(--body); color: var(--text); background: none; height: 44px; }
.hsearch input::placeholder { color: var(--mute-2); }
.hero__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; font-size: 13.5px; }
.hero__tags span { color: rgba(255, 255, 255, .6); margin-right: 4px; }
.hero__tags button { padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); color: #fff; font-size: 13.5px; transition: background .2s, border-color .2s; }
.hero__tags button:hover { background: var(--acc); border-color: var(--acc); }

.hero__stats { position: relative; border-top: 1px solid rgba(255, 255, 255, .12); background: rgba(13, 17, 23, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.hero__stats-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.hero__stats-in > div { padding: 26px 24px; display: flex; align-items: center; gap: 14px; }
.hero__stats-in > div + div { border-left: 1px solid rgba(255, 255, 255, .12); }
.hero__stats-in > div:first-child { padding-left: 0; }
.hero__stats b { font: 700 32px/1 var(--head); letter-spacing: -.02em; }
.hero__stats span { font-size: 13.5px; line-height: 1.35; color: rgba(255, 255, 255, .65); max-width: 150px; }
@media (max-width: 900px) {
  .hero__stats-in { grid-template-columns: 1fr 1fr; }
  .hero__stats-in > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .hero__stats-in > div:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .12); }
}
@media (max-width: 560px) {
  .hero { min-height: 0; }
  .hero__in { padding: calc(var(--hh) + 16px) 0 28px; }
  .hero .kicker { font-size: 11.5px; margin-bottom: 12px; }
  .hero__h { font-size: 33px; line-height: 1.08; }
  .hero__p { margin-top: 14px; font-size: 15.5px; line-height: 1.5; }
  .hsearch { margin-top: 22px; padding: 6px 6px 6px 14px; }
  .hsearch input { height: 42px; font-size: 15.5px; }
  .hsearch .btn { padding: 0 16px; height: 42px; }
  .hsearch svg { display: none; }
  .hero__tags { flex-wrap: nowrap; overflow-x: auto; margin: 14px -16px 0; padding: 0 16px 2px; scrollbar-width: none; }
  .hero__tags::-webkit-scrollbar { display: none; }
  .hero__tags > * { flex: none; }
  .hero__tags button { font-size: 13px; padding: 6px 11px; }
  .hero__stats-in { grid-template-columns: repeat(4, 1fr); }
  .hero__stats-in > div { padding: 14px 6px; flex-direction: column; align-items: flex-start; gap: 4px; }
  .hero__stats-in > div:first-child { padding-left: 0; }
  .hero__stats-in > div:nth-child(3) { border-left: 1px solid rgba(255, 255, 255, .12); padding-left: 6px; }
  .hero__stats-in > div:nth-child(n+3) { border-top: 0; }
  .hero__stats b { font-size: 20px; }
  .hero__stats span { font-size: 11px; line-height: 1.3; }
}

/* ---------- Seções ---------- */
.sec { padding: clamp(72px, 9vw, 120px) 0; }
.sec--gray { background: var(--gray); }
.sec--dark { background: var(--ink); color: #fff; }
.sec--dark .h2 { color: #fff; }
.head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: clamp(36px, 4vw, 56px); flex-wrap: wrap; }
.head__p { max-width: 380px; color: var(--mute); font-size: 16px; }
.head--center { flex-direction: column; align-items: center; text-align: center; }
.head--center .kicker::after { content: ""; width: 24px; height: 2px; background: currentColor; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 260px; gap: 16px; }
.tile { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--ink); color: #fff; text-align: left; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; }
.tile:nth-child(1) { grid-column: span 2; grid-row: span 2; padding: 32px; }
.tile:nth-child(6) { grid-column: span 2; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13, 17, 23, .05) 20%, rgba(13, 17, 23, .88) 100%); transition: background .4s; }
.tile:hover img { transform: scale(1.06); }
.tile:hover::before { background: linear-gradient(180deg, rgba(13, 17, 23, .2) 0%, rgba(13, 17, 23, .92) 100%); }
.tile__n { position: absolute; top: 20px; left: 24px; font-size: 12.5px; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: rgba(13, 17, 23, .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.tile:nth-child(1) .tile__n { top: 28px; left: 32px; }
.tile h3 { font: 700 22px/1.15 var(--head); letter-spacing: -.015em; }
.tile:nth-child(1) h3 { font-size: clamp(28px, 2.8vw, 38px); }
.tile p { margin-top: 8px; font-size: 14.5px; color: rgba(255, 255, 255, .75); max-width: 420px; display: none; }
.tile:nth-child(1) p { display: block; }
.tile__go { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--white); color: var(--fg); transform: scale(.8); opacity: 0; transition: transform .3s var(--ease), opacity .3s; }
.tile__go svg { width: 18px; height: 18px; }
.tile:hover .tile__go { transform: none; opacity: 1; background: var(--acc); color: #fff; }
@media (max-width: 1000px) {
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 220px; }
  .tile:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .tile:nth-child(6) { grid-column: span 1; }
  .tile:nth-child(8) { grid-column: span 2; }
}
@media (max-width: 560px) {
  .bento { gap: 10px; grid-auto-rows: 170px; }
  .tile { padding: 16px; border-radius: 16px; }
  .tile:nth-child(1) { padding: 20px; grid-row: span 1; }
  .tile:nth-child(1) p { display: none; }
  .tile:nth-child(1) h3 { font-size: 24px; }
  .tile h3 { font-size: 17px; }
  .tile__n, .tile:nth-child(1) .tile__n { top: 12px; left: 12px; font-size: 11.5px; }
  .tile__go { display: none; }
}

/* ---------- Catálogo ---------- */
.csearch { display: flex; align-items: center; gap: 10px; width: min(380px, 100%); height: 52px; padding: 0 16px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s; }
.csearch:focus-within { border-color: var(--acc); box-shadow: 0 0 0 4px rgba(242, 107, 29, .12); }
.csearch svg { width: 20px; height: 20px; color: var(--mute-2); flex: none; }
.csearch input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: 500 15.5px var(--body); color: var(--text); }

.tabs { display: flex; gap: 6px; padding: 6px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; overflow-x: auto; scrollbar-width: none; margin-bottom: 20px; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; height: 42px; padding: 0 16px; border-radius: 9px; font-size: 14.5px; font-weight: 600; color: var(--mute); display: inline-flex; align-items: center; gap: 8px; transition: background .2s, color .2s; }
.tab:hover { color: var(--text); background: var(--gray); }
.tab.on { background: var(--ink); color: #fff; }
.tab small { font-size: 12px; font-weight: 600; opacity: .6; }

.panel { display: grid; grid-template-columns: 360px 1fr; gap: 20px; align-items: start; }
.pinfo { position: sticky; top: 88px; border-radius: var(--r-lg); overflow: hidden; background: var(--ink); color: #fff; }
.pinfo__img { aspect-ratio: 4 / 3; overflow: hidden; }
.pinfo__img img { width: 100%; height: 100%; object-fit: cover; }
.pinfo__body { padding: 24px 26px 28px; }
.pinfo__count { font-size: 13px; font-weight: 600; color: #ff9a5c; }
.pinfo h3 { font: 700 28px/1.1 var(--head); letter-spacing: -.02em; margin-top: 8px; }
.pinfo p { margin-top: 10px; color: rgba(255, 255, 255, .7); font-size: 15px; }
.pinfo .btn { margin-top: 22px; width: 100%; }

.plist { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 8px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; align-content: start; }
.pitem { display: flex; align-items: center; gap: 14px; padding: 16px 16px; border-radius: 12px; transition: background .2s; animation: fadeUp .4s var(--ease) both; }
.pitem:hover { background: var(--gray); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } }
.pitem__dot { width: 40px; height: 40px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--acc-soft); color: var(--acc); font: 700 13px var(--head); }
.pitem__txt { flex: 1; min-width: 0; }
.pitem h4 { font: 600 15.5px/1.3 var(--body); color: var(--fg); }
.pitem p { font-size: 13.5px; color: var(--mute); line-height: 1.45; margin-top: 2px; }
.pitem mark { background: rgba(242, 107, 29, .2); color: inherit; border-radius: 3px; padding: 0 1px; }
.pitem__cat { display: inline-block; font-size: 11.5px; font-weight: 600; color: var(--acc-d); margin-top: 4px; }
.add { flex: none; height: 38px; padding: 0 14px; border-radius: 9px; border: 1px solid var(--line); background: var(--white); font-size: 13.5px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; transition: all .2s; }
.add svg { width: 16px; height: 16px; }
.add:hover { border-color: var(--acc); color: var(--acc); }
.add.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.add.on:hover { background: var(--acc); border-color: var(--acc); color: #fff; }

.pempty { grid-column: 1 / -1; padding: 56px 24px; text-align: center; color: var(--mute); }
.pempty b { display: block; color: var(--fg); font-size: 18px; margin-bottom: 6px; }
.pempty .btn { margin-top: 20px; }
.presult { grid-column: 1 / -1; padding: 10px 14px 6px; font-size: 13.5px; color: var(--mute); }
.presult b { color: var(--fg); }

.panel.is-search { grid-template-columns: 1fr; }
.panel.is-search .pinfo { display: none; }
.panel.is-search .plist { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 1100px) {
  .panel { grid-template-columns: 300px 1fr; }
  .plist, .panel.is-search .plist { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  .panel { grid-template-columns: 1fr; }
  .pinfo { position: relative; top: 0; display: grid; grid-template-columns: 140px 1fr; }
  .pinfo__img { aspect-ratio: auto; height: 100%; }
  .pinfo__body { padding: 18px 20px; }
  .pinfo h3 { font-size: 22px; }
  .pinfo p { font-size: 14px; }
  .pinfo .btn { display: none; }
}
@media (max-width: 520px) {
  .pinfo { grid-template-columns: 96px 1fr; }
  .pinfo p { display: none; }
  .pitem { padding: 14px 10px; gap: 12px; align-items: flex-start; }
  .pitem__dot { width: 34px; height: 34px; font-size: 11.5px; }
  .add { width: 38px; padding: 0; justify-content: center; }
  .add span { display: none; }
}

/* ---------- Empresa ---------- */
.about { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.about__media { position: relative; }
.about__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-lg); }
.about__badge { position: absolute; right: -24px; bottom: 40px; max-width: 260px; padding: 20px 22px; border-radius: 16px; background: var(--white); box-shadow: var(--sh-lg); border-left: 4px solid var(--acc); }
.about__badge b { display: block; font: 700 18px/1.2 var(--head); color: var(--fg); }
.about__badge span { display: block; margin-top: 4px; font-size: 14px; color: var(--mute); line-height: 1.45; }
.about__p { margin-top: 20px; color: var(--mute); font-size: 17px; max-width: 560px; }
.feats { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px 28px; }
.feats li { display: flex; gap: 16px; }
.feats svg { width: 26px; height: 26px; color: var(--acc); flex: none; margin-top: 2px; }
.feats h3 { font: 700 17px/1.3 var(--head); color: var(--fg); }
.feats p { margin-top: 4px; font-size: 14.5px; color: var(--mute); line-height: 1.5; }
@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; }
  .about__media img { aspect-ratio: 16 / 10; }
  .about__badge { right: 16px; bottom: -24px; }
  .about__copy { margin-top: 16px; }
}
@media (max-width: 560px) { .feats { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- Processo ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.steps::before { content: ""; position: absolute; top: 27px; left: 28px; right: 28px; height: 1px; background: linear-gradient(90deg, var(--acc), rgba(255, 255, 255, .15)); }
.steps li { position: relative; }
.steps__n { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); border: 1px solid rgba(255, 255, 255, .2); font: 700 20px var(--head); margin-bottom: 24px; position: relative; }
.steps li:first-child .steps__n { background: var(--acc); border-color: var(--acc); }
.steps h3 { font: 700 20px/1.25 var(--head); }
.steps p { margin-top: 8px; color: rgba(255, 255, 255, .62); font-size: 15px; max-width: 260px; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .steps::before { display: none; }
}
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Setores ---------- */
.sectors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.sectors li { display: flex; align-items: center; gap: 14px; padding: 22px 22px; border-radius: var(--r); background: var(--gray); font: 600 16.5px/1.3 var(--head); color: var(--fg); transition: background .2s, color .2s, transform .2s; }
.sectors li::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--acc); flex: none; }
.sectors li:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
@media (max-width: 900px) { .sectors { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .sectors li { padding: 16px; font-size: 15px; } }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; color: #fff; padding: clamp(72px, 8vw, 110px) 0; isolation: isolate; }
.cta__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(13, 17, 23, .95), rgba(13, 17, 23, .75) 60%, rgba(242, 107, 29, .55)); }
.cta__in { display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.cta h2 { font: 800 clamp(30px, 3.8vw, 50px)/1.08 var(--head); letter-spacing: -.03em; }
.cta p { margin-top: 16px; color: rgba(255, 255, 255, .75); font-size: 17px; max-width: 520px; }
.cta__act { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 560px) { .cta__act, .cta__act .btn { width: 100%; } }

/* ---------- Contato ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.contact__p { margin-top: 18px; color: var(--mute); font-size: 17px; max-width: 460px; }
.clist { margin-top: 36px; display: grid; gap: 12px; }
.clist li { display: flex; align-items: center; gap: 16px; padding: 16px 18px; background: var(--white); border-radius: var(--r); border: 1px solid var(--line); }
.clist__ic { width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; background: var(--acc-soft); color: var(--acc); flex: none; }
.clist__ic svg { width: 21px; height: 21px; }
.clist small { display: block; font-size: 13px; color: var(--mute); }
.clist b { font-weight: 600; color: var(--fg); word-break: break-word; }

.form { background: var(--white); border-radius: var(--r-lg); padding: clamp(24px, 3.5vw, 40px); box-shadow: var(--sh); border: 1px solid var(--line); }
.form__h { font: 700 24px/1.2 var(--head); color: var(--fg); letter-spacing: -.015em; margin-bottom: 24px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fld { display: grid; gap: 7px; }
.fld--full { grid-column: 1 / -1; }
.fld span { font-size: 14px; font-weight: 600; color: var(--text); }
.fld input, .fld select, .fld textarea { width: 100%; font: 400 15.5px var(--body); color: var(--text); background: var(--gray); border: 1px solid transparent; border-radius: 10px; padding: 13px 14px; outline: none; transition: border-color .2s, background .2s, box-shadow .2s; resize: vertical; }
.fld select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235f6976' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.fld input::placeholder, .fld textarea::placeholder { color: var(--mute-2); }
.fld input:focus, .fld select:focus, .fld textarea:focus { background: var(--white); border-color: var(--acc); box-shadow: 0 0 0 4px rgba(242, 107, 29, .12); }
.fld.bad input, .fld.bad textarea { border-color: #dc2626; background: var(--white); }
.form__quote { margin-top: 18px; padding: 14px 16px; border-radius: 10px; background: var(--acc-soft); font-size: 14px; color: var(--text); }
.form__quote[hidden] { display: none; }
.form__quote ul { margin-top: 6px; color: var(--mute); font-size: 13.5px; }
.form .btn--block { margin-top: 24px; }
.form__st { margin-top: 12px; text-align: center; font-size: 14px; min-height: 1.4em; }
.form__st.ok { color: #15803d; }
.form__st.err { color: #dc2626; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form__grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.ftr { background: var(--ink); color: rgba(255, 255, 255, .62); padding-top: 72px; font-size: 14.5px; }
.ftr__in { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; }
.logo--light { color: #fff; }
.ftr__brand p { margin-top: 18px; max-width: 300px; }
.ftr__col h4 { color: #fff; font: 600 15px var(--head); margin-bottom: 16px; }
.ftr__col ul { display: grid; gap: 10px; }
.ftr__col a:hover { color: #fff; }
.ftr__bot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 24px 0 28px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13.5px; }
.ftr__bot a:hover { color: var(--acc); }
@media (max-width: 900px) { .ftr__in { grid-template-columns: 1fr 1fr; } .ftr__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .ftr__in { grid-template-columns: 1fr; } }

/* ---------- WhatsApp ---------- */
.wa { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 10px 30px -8px rgba(37, 211, 102, .7); transition: transform .2s; }
.wa:hover { transform: scale(1.08); }
.wa svg { width: 30px; height: 30px; }

/* ---------- Drawer ---------- */
.ovl { position: fixed; inset: 0; z-index: 90; background: rgba(13, 17, 23, .5); backdrop-filter: blur(2px); opacity: 0; transition: opacity .25s; }
.ovl.open { opacity: 1; }
.drw { position: fixed; top: 0; right: 0; bottom: 0; z-index: 100; width: min(440px, 100%); background: var(--white); display: flex; flex-direction: column; box-shadow: var(--sh-lg); transform: translateX(100%); visibility: hidden; transition: transform .35s var(--ease), visibility 0s .35s; }
.drw.open { transform: none; visibility: visible; transition: transform .35s var(--ease); }
.drw__head { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.drw__head h3 { font: 700 22px var(--head); color: var(--fg); }
.drw__head p { font-size: 13.5px; color: var(--mute); margin-top: 2px; }
.xbtn { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--gray); }
.xbtn:hover { background: var(--line); }
.xbtn svg { width: 20px; height: 20px; }
.drw__body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.drw__empty { text-align: center; padding: 64px 12px; color: var(--mute); }
.drw__empty svg { width: 48px; height: 48px; margin: 0 auto 16px; color: var(--line); }
.drw__empty b { display: block; color: var(--fg); margin-bottom: 4px; }
.qi { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.qi__info { flex: 1; min-width: 0; }
.qi__info b { display: block; font-size: 15px; font-weight: 600; color: var(--fg); }
.qi__info small { font-size: 12.5px; color: var(--mute); }
.qty { display: flex; align-items: center; background: var(--gray); border-radius: 9px; }
.qty button { width: 32px; height: 34px; font-size: 16px; color: var(--mute); border-radius: 9px; }
.qty button:hover { color: var(--acc); }
.qty span { min-width: 24px; text-align: center; font-weight: 600; font-size: 14px; }
.qi__rm { width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; color: var(--mute-2); }
.qi__rm:hover { color: #dc2626; background: #fef2f2; }
.qi__rm svg { width: 17px; height: 17px; }
.drw__foot { display: grid; grid-template-columns: auto 1fr; gap: 10px; padding: 18px 24px; border-top: 1px solid var(--line); }
.drw__foot [aria-disabled="true"], .drw__foot :disabled { opacity: .4; pointer-events: none; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 120; transform: translate(-50%, 16px); opacity: 0; pointer-events: none; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 10px; font-size: 14px; box-shadow: var(--sh-lg); transition: opacity .25s, transform .25s; max-width: calc(100% - 100px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Animações de entrada ---------- */
.up { opacity: 0; transform: translateY(18px); animation: up .9s var(--ease) forwards; }
.hero__copy .up:nth-child(2) { animation-delay: .08s; }
.hero__copy .up:nth-child(3) { animation-delay: .16s; }
.hero__copy .up:nth-child(4) { animation-delay: .24s; }
.hero__copy .up:nth-child(5) { animation-delay: .32s; }
@keyframes up { to { opacity: 1; transform: none; } }
.js .rv { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }

/* =====================================================
   Catálogo inteligente, páginas de produto e de linha
   ===================================================== */
.mono { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; }
.h3 { font: 700 22px/1.2 var(--head); color: var(--fg); letter-spacing: -.01em; margin-bottom: 16px; }
.sec--tight { padding: clamp(48px, 6vw, 80px) 0; }
.btn--sm { height: 40px; padding: 0 16px; font-size: 14px; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--wa { background: #1fa855; color: #fff; }
.btn--wa:hover { background: #178a45; transform: translateY(-1px); }
.btn--wa svg { width: 20px; height: 20px; flex: none; }
.btn:disabled { opacity: .45; pointer-events: none; }
.linkbtn { color: var(--acc-d); font-weight: 600; text-decoration: underline; font-size: 13.5px; margin-left: 6px; }

/* Header fixo sólido nas páginas internas */
.sub main { padding-top: 68px; }
.hdr.fixed-solid { height: 68px; }

/* Breadcrumb */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 22px 0 0; font-size: 14px; color: var(--mute); }
.crumbs a:hover { color: var(--acc); }
.crumbs b { color: var(--fg); font-weight: 600; }
.crumbs span { color: #c3c9d1; }
.crumbs--light { padding: 0 0 18px; color: rgba(255, 255, 255, .7); }
.crumbs--light b { color: #fff; }
.crumbs--light span { color: rgba(255, 255, 255, .35); }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 6px 12px; border-radius: 8px; background: var(--gray); border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; color: var(--text); }
.chips li.feat { background: var(--acc-soft); border-color: #ffd5bb; color: var(--acc-d); }
.chips--lg li { padding: 9px 14px; font-size: 14.5px; font-weight: 500; background: var(--white); }
.chips--sm li { padding: 3px 8px; font-size: 12px; border-radius: 6px; }

/* Produto */
.prod { display: grid; grid-template-columns: minmax(0, 440px) 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; padding: 28px 0 clamp(48px, 6vw, 80px); }
.prod__media { margin: 0; position: sticky; top: 92px; }
.prod__img { border-radius: var(--r-lg); overflow: hidden; background: var(--gray); aspect-ratio: 4 / 3; border: 1px solid var(--line); }
.prod__img img { width: 100%; height: 100%; object-fit: cover; }
.credit { margin-top: 10px; font-size: 12px; color: var(--mute-2); }
.credit a { text-decoration: underline; }
.prod__info h1 { font: 800 clamp(34px, 4.2vw, 54px)/1.05 var(--head); letter-spacing: -.03em; color: var(--fg); }
.prod__lead { margin-top: 18px; font-size: 17px; color: var(--mute); }
.prod__brands { margin-top: 26px; display: grid; gap: 10px; }
.prod__brands > span { font-size: 13px; font-weight: 600; color: var(--mute); text-transform: uppercase; letter-spacing: .06em; }
.prod__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn.on[data-add-big] { background: var(--ink); box-shadow: none; }
.codebox { margin-top: 28px; padding: 20px; border-radius: var(--r); background: var(--gray); border: 1px dashed #d3d8df; }
.codebox label { display: block; font: 700 16px var(--head); color: var(--fg); margin-bottom: 12px; }
.codebox__row { display: flex; gap: 8px; }
.codebox input { flex: 1; min-width: 0; height: 48px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--white); font: 500 15.5px var(--body); outline: none; }
.codebox input:focus { border-color: var(--acc); box-shadow: 0 0 0 4px rgba(242, 107, 29, .12); }
.codebox .btn { height: 48px; }
.codebox small { display: block; margin-top: 10px; font-size: 13px; color: var(--mute); }
@media (max-width: 900px) {
  .prod { grid-template-columns: 1fr; gap: 24px; padding-top: 16px; }
  .prod__media { position: static; }
}
@media (max-width: 520px) {
  .prod__cta .btn { width: 100%; }
  .codebox__row { flex-direction: column; }
}

.spec { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.spec__table { width: 100%; border-collapse: separate; border-spacing: 0; margin-bottom: 40px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.spec__table th, .spec__table td { text-align: left; padding: 15px 18px; border-bottom: 1px solid var(--line); font-size: 15px; vertical-align: top; }
.spec__table tr:last-child th, .spec__table tr:last-child td { border-bottom: 0; }
.spec__table th { width: 38%; background: var(--gray); font-weight: 600; color: var(--fg); }
.spec__side { display: grid; gap: 16px; }
.spec__box { padding: 22px; border-radius: var(--r); border: 1px solid var(--line); background: var(--white); }
.spec__box h3 { font: 700 17px var(--head); color: var(--fg); margin-bottom: 12px; }
.spec__box p { color: var(--mute); font-size: 14.5px; }
.spec__box .mono { color: var(--text); font-size: 14px; line-height: 1.7; }
.spec__box--acc { background: var(--ink); border-color: var(--ink); }
.spec__box--acc h3 { color: #fff; }
.spec__box--acc p { color: rgba(255, 255, 255, .7); margin-bottom: 16px; }
.ticks { display: grid; gap: 8px; }
.ticks li { display: flex; gap: 10px; font-size: 15px; }
.ticks li::before { content: ""; width: 18px; height: 18px; flex: none; margin-top: 2px; border-radius: 50%; background: var(--acc-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f26b1d' stroke-width='3'%3E%3Cpath d='m6 12 4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }
@media (max-width: 900px) { .spec { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .spec__table th, .spec__table td { display: block; width: 100%; border-bottom: 0; padding: 10px 14px; }
  .spec__table td { padding-top: 0; border-bottom: 1px solid var(--line); }
  .spec__table th { background: none; }
}

.pcards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pcard { display: flex; flex-direction: column; border-radius: var(--r); overflow: hidden; background: var(--white); border: 1px solid var(--line); transition: transform .25s var(--ease), box-shadow .25s; }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--sh); }
.pcard__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--gray); }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.pcard:hover .pcard__img img { transform: scale(1.05); }
.pcard__body { padding: 16px 18px 18px; }
.pcard__body b { display: block; font: 700 16px/1.3 var(--head); color: var(--fg); }
.pcard__body small { display: block; margin-top: 4px; color: var(--mute); font-size: 13.5px; line-height: 1.45; }
@media (max-width: 1000px) { .pcards { grid-template-columns: 1fr 1fr; } }

/* Página de linha */
.lhero { position: relative; isolation: isolate; color: #fff; padding: clamp(56px, 8vw, 100px) 0 clamp(44px, 6vw, 72px); overflow: hidden; }
.lhero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.lhero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(13, 17, 23, .94), rgba(13, 17, 23, .7) 60%, rgba(13, 17, 23, .45)); }
.lhero h1 { font: 800 clamp(36px, 5vw, 64px)/1.03 var(--head); letter-spacing: -.03em; }
.lhero p { margin-top: 14px; max-width: 620px; color: rgba(255, 255, 255, .78); font-size: 17.5px; }
.lhero__n { display: inline-block; margin-top: 22px; padding: 7px 14px; border-radius: 999px; background: var(--acc); font-size: 14px; font-weight: 600; }

.filters, .cfilters { display: flex; gap: 12px; flex-wrap: wrap; align-items: stretch; }
.filters { margin-bottom: 16px; }
.filters .csearch { flex: 1; width: auto; min-width: 240px; }
.fselect { position: relative; display: flex; flex-direction: column; justify-content: center; min-width: 200px; height: 52px; padding: 0 40px 0 14px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); }
.fselect span { font-size: 11.5px; font-weight: 600; color: var(--mute); line-height: 1.2; }
.fselect select { border: 0; outline: 0; background: none; font: 600 15px var(--body); color: var(--fg); appearance: none; padding: 0; cursor: pointer; }
.fselect::after { content: ""; position: absolute; right: 14px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--mute); border-bottom: 2px solid var(--mute); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.fselect:focus-within { border-color: var(--acc); box-shadow: 0 0 0 4px rgba(242, 107, 29, .12); }
.fchips { display: flex; gap: 8px; align-items: center; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; margin-bottom: 18px; }
.fchips::-webkit-scrollbar { display: none; }
.fchips > span { flex: none; font-size: 13.5px; font-weight: 600; color: var(--mute); margin-right: 4px; }
.fchip { flex: none; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font-size: 13.5px; font-weight: 500; transition: all .2s; }
.fchip:hover { border-color: var(--text); }
.fchip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.lcount { font-size: 14px; color: var(--mute); margin-bottom: 16px; }
.lcount b { color: var(--fg); }
.lgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lcard { display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: var(--white); border: 1px solid var(--line); transition: box-shadow .25s, transform .25s var(--ease); }
.lcard[hidden] { display: none; }
.lcard:hover { box-shadow: var(--sh); transform: translateY(-3px); }
.lcard__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--gray); }
.lcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.lcard:hover .lcard__img img { transform: scale(1.05); }
.lcard__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.lcard h3 { font: 700 19px/1.25 var(--head); color: var(--fg); }
.lcard h3 a:hover { color: var(--acc); }
.lcard p { color: var(--mute); font-size: 14.5px; }
.lcard__act { display: flex; gap: 8px; margin-top: auto; padding-top: 6px; }
.lcard__act .btn { flex: 1; }
.lcard .btn.on { background: var(--ink); box-shadow: none; }
@media (max-width: 1000px) { .lgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .lgrid { grid-template-columns: 1fr; } .fselect { flex: 1; } }

/* Catálogo da home: miniaturas e código identificado */
.cfilters .csearch { width: 300px; }
@media (max-width: 700px) { .cfilters, .cfilters .csearch { width: 100%; } .cfilters .fselect { flex: 1; } }
.pitem__img { width: 64px; height: 64px; flex: none; border-radius: 12px; overflow: hidden; background: var(--gray); }
.pitem__img img { width: 100%; height: 100%; object-fit: cover; }
.pitem__txt { display: block; }
.pitem__txt:hover h4 { color: var(--acc); }
.pitem__meta { display: block; margin-top: 4px; font-size: 12px; font-weight: 600; color: var(--acc-d); }
.add .ic-check, .add.on .ic-plus { display: none; }
.add.on .ic-check { display: block; }
@media (max-width: 520px) {
  .pitem__img { width: 52px; height: 52px; border-radius: 10px; }
  .add .lbl { display: none; }
}
.codehit { display: flex; align-items: center; gap: 16px; padding: 14px 16px; margin-bottom: 16px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--acc); animation: fadeUp .35s var(--ease) both; }
.codehit[hidden] { display: none; }
.codehit img, .codehit__ic { width: 56px; height: 56px; flex: none; border-radius: 10px; object-fit: cover; }
.codehit__ic { display: grid; place-items: center; background: var(--acc-soft); color: var(--acc); font: 800 24px var(--head); }
.codehit > div:nth-child(2) { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.codehit small { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--acc-d); }
.codehit b { font: 700 17px/1.3 var(--head); color: var(--fg); }
.codehit span { font-size: 13.5px; color: var(--mute); }
.codehit__act { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 700px) { .codehit { flex-wrap: wrap; } .codehit__act { width: 100%; } .codehit__act .btn { flex: 1; } }

/* Fabricantes */
.brands-feat { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.brand { padding: 10px 16px; border-radius: 10px; border: 1px solid var(--line); background: var(--white); font: 700 15px var(--head); color: var(--text); letter-spacing: -.01em; transition: all .2s; }
.brand:hover { border-color: var(--acc); color: var(--acc); transform: translateY(-2px); }
.brand--feat { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; height: 110px; border-radius: var(--r); background: var(--gray); border-color: transparent; }
.brand--feat b { font: 800 clamp(20px, 2vw, 26px)/1 var(--head); letter-spacing: -.02em; color: var(--fg); transition: color .2s; }
.brand--feat small { font: 500 12.5px var(--body); color: var(--mute); }
.brand--feat:hover { background: var(--ink); }
.brand--feat:hover b { color: #fff; }
.brand--feat:hover small { color: rgba(255, 255, 255, .6); }
.brands { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
@media (max-width: 1000px) { .brands-feat { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .brands-feat { grid-template-columns: 1fr 1fr; } .brand--feat { height: 90px; } .brand { padding: 8px 12px; font-size: 14px; } }

.clients { margin-top: 56px; }
.clients ul { display: flex; flex-wrap: wrap; gap: 12px; }
.clients li { padding: 14px 22px; border-radius: 10px; background: var(--gray); font: 700 16px var(--head); color: var(--mute); }

/* Drawer: ferramentas */
.drw__tools { padding: 16px 24px; border-bottom: 1px solid var(--line); background: var(--gray); }
.drw__add { display: flex; gap: 8px; }
.drw__add input { flex: 1; min-width: 0; height: 44px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--white); font: 500 14.5px var(--body); outline: none; }
.drw__add input:focus { border-color: var(--acc); }
.drw__add .btn { height: 44px; padding: 0 16px; font-size: 14px; }
.drw__paste-t { margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--acc-d); }
.drw__paste { margin-top: 10px; }
.drw__paste[hidden] { display: none; }
.drw__paste textarea { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font: 14px/1.5 ui-monospace, Consolas, monospace; resize: vertical; outline: none; }
.drw__paste textarea:focus { border-color: var(--acc); }
.drw__paste-act { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 8px; }
.drw__file { position: relative; font-size: 13px; font-weight: 600; color: var(--mute); text-decoration: underline; cursor: pointer; }
.drw__file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.qi__img { width: 44px; height: 44px; flex: none; border-radius: 10px; object-fit: cover; background: var(--gray); }
.qi__img--code { display: grid; place-items: center; font: 800 18px var(--head); color: var(--acc); background: var(--acc-soft); }
.drw__foot .btn--wa { grid-column: 2; }
.drw__foot .drw__form { grid-column: 1 / -1; background: var(--ink); box-shadow: none; }
.drw__foot .drw__form:hover { background: #000; }

.form__send { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
@media (max-width: 560px) { .form__send { grid-template-columns: 1fr; } }

.legal { max-width: 860px; }
.legal p { margin: 16px 0 24px; color: var(--mute); }
.legal ul { display: grid; gap: 10px; font-size: 14.5px; }
.legal a { text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .up, .js .rv { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* =====================================================
   Tema escuro (fundo preto)
   ===================================================== */
.tbtn { width: 42px; height: 42px; flex: none; border-radius: 10px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .35); transition: border-color .2s, background .2s; }
.tbtn svg { width: 19px; height: 19px; }
.tbtn:hover { background: rgba(255, 255, 255, .12); }
.hdr.solid .tbtn { border-color: var(--line); }
.hdr.solid .tbtn:hover { background: var(--gray); }
.tbtn .ic-sun, [data-theme="dark"] .tbtn .ic-moon { display: none; }
[data-theme="dark"] .tbtn .ic-sun { display: block; }

[data-theme="dark"] {
  color-scheme: dark;
  --fg: #f1f3f6;
  --text: #d9dee5;
  --mute: #9aa3af;
  --mute-2: #6f7884;
  --line: #262d37;
  --gray: #12161c;
  --white: #0b0e12;
  --acc-soft: rgba(242, 107, 29, .14);
  --sh: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px -8px rgba(0, 0, 0, .6);
  --sh-lg: 0 30px 60px -24px rgba(0, 0, 0, .8);
}
[data-theme="dark"] body { background: #000; }
[data-theme="dark"] .sec--dark,
[data-theme="dark"] .ftr { background: #07090c; border-top: 1px solid var(--line); }
[data-theme="dark"] .hdr.solid { background: rgba(0, 0, 0, .9); box-shadow: 0 1px 0 var(--line); }
@media (max-width: 900px) { [data-theme="dark"] .nav { background: var(--gray); border: 1px solid var(--line); } }

/* Elementos que usam a cor escura da marca como fundo ganham destaque no preto */
[data-theme="dark"] .tab.on,
[data-theme="dark"] .add.on,
[data-theme="dark"] .fchip.on,
[data-theme="dark"] .btn--dark,
[data-theme="dark"] .btn.on[data-add-big],
[data-theme="dark"] .lcard .btn.on,
[data-theme="dark"] .drw__foot .drw__form,
[data-theme="dark"] .sectors li:hover,
[data-theme="dark"] .brand--feat:hover { background: var(--ink-3); border-color: var(--ink-3); }
[data-theme="dark"] .btn--dark:hover,
[data-theme="dark"] .drw__foot .drw__form:hover { background: #2e3845; }
[data-theme="dark"] .pinfo,
[data-theme="dark"] .spec__box--acc { background: var(--ink-2); border: 1px solid var(--line); }
[data-theme="dark"] .steps__n { background: var(--ink-2); }
[data-theme="dark"] .tile__go { background: #fff; color: var(--ink); }
[data-theme="dark"] .toast { background: var(--ink-3); }

/* Bordas e detalhes que eram claros */
[data-theme="dark"] .crumbs span { color: #4a525d; }
[data-theme="dark"] .codebox { border-color: #333b46; }
[data-theme="dark"] .chips li.feat { border-color: rgba(242, 107, 29, .35); color: #ff9a5c; }
[data-theme="dark"] .pitem__cat,
[data-theme="dark"] .pitem__meta,
[data-theme="dark"] .codehit small,
[data-theme="dark"] .linkbtn,
[data-theme="dark"] .drw__paste-t { color: #ff9a5c; }
[data-theme="dark"] .qi__rm:hover { background: rgba(220, 38, 38, .15); }
[data-theme="dark"] .fld input:focus,
[data-theme="dark"] .fld select:focus,
[data-theme="dark"] .fld textarea:focus,
[data-theme="dark"] .fld.bad input,
[data-theme="dark"] .fld.bad textarea { background: var(--white); }
[data-theme="dark"] .form__st.ok { color: #4ade80; }
[data-theme="dark"] .form__st.err { color: #f87171; }
[data-theme="dark"] .about__badge { border: 1px solid var(--line); border-left: 4px solid var(--acc); }
