@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700;800&family=Barlow:wght@400;500;600;700;800&display=swap");
:root {
  --yellow: #f9c629;
  --ink: #1c2021;
  --gray: #667071;
  --light: #f3f4f2;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  color: var(--ink);
  font-family: Barlow, Arial, sans-serif;
  font-size: 16px;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select,
summary {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.2s;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  border: 0;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #b47d00;
  outline-offset: 4px;
}
header {
  height: 94px;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--ink);
  color: white;
  border-bottom: 1px solid #ffffff20;
  gap: 25px;
}
.logo {
  font-weight: 800;
  font-size: 41px;
  line-height: 0.8;
  letter-spacing: -2px;
  display: inline-block;
}
.logo span {
  color: var(--yellow);
  font-size: 53px;
}
.logo small {
  display: block;
  font-size: 10px;
  letter-spacing: 3px;
  line-height: 2;
  margin-top: 5px;
}
nav {
  display: flex;
  gap: 36px;
  font-size: 15px;
  font-weight: 600;
}
nav a:hover {
  color: var(--yellow);
}
.yellow,
.dark {
  padding: 16px 24px;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 700;
  display: inline-block;
}
.yellow:hover {
  background: #ffdc60;
  transform: translateY(-2px);
}
.dark {
  background: var(--ink);
  color: white;
}
#cart-count {
  margin-left: 15px;
  border-left: 1px solid #0003;
  padding-left: 16px;
}
.hero {
  min-height: 660px;
  background: #1c2021;
  color: white;
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("assets/hero.jpg") center 53% / cover;
}
.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(17, 22, 22, 0.97),
    rgba(17, 22, 22, 0.85) 36%,
    rgba(17, 22, 22, 0.1) 100%
  );
}
.hero-content {
  padding: 70px 5%;
  max-width: 800px;
}
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  display: block;
  margin-bottom: 20px;
}
.hero .eyebrow {
  color: var(--yellow);
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2 {
  font-family: "Barlow Condensed", Impact, "Arial Narrow", sans-serif;
  font-weight: 700;
}
h1 {
  font-size: clamp(54px, 5.7vw, 85px);
  line-height: 1.02;
  letter-spacing: -0.7px;
  margin-bottom: 25px;
}
em {
  font-style: normal;
  color: var(--yellow);
}
.hero p {
  font-size: 17px;
  line-height: 1.7;
  color: #d3d6d4;
  max-width: 500px;
  margin-bottom: 31px;
}
.text-link {
  display: inline-block;
  border-bottom: 1px solid #aaa;
  padding-bottom: 5px;
  margin-left: 25px;
  font-size: 14px;
  font-weight: 600;
}
.hero-caption {
  position: absolute;
  right: 5%;
  bottom: 55px;
  border-left: 3px solid var(--yellow);
  padding: 8px 0 8px 20px;
}
.hero-caption span {
  font-size: 10px;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 10px;
}
.hero-caption strong {
  font-size: 21px;
}
.hero-index {
  position: absolute;
  right: 5%;
  top: 35px;
  font-size: 16px;
}
.hero-index span {
  color: #ccc;
  font-size: 12px;
}
.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 32px 5%;
  gap: 35px;
  background: var(--light);
  border-bottom: 1px solid #ddd;
}
.benefits > div {
  display: flex;
  align-items: center;
  gap: 22px;
}
.benefits b {
  font:
    500 38px "Barlow Condensed",
    sans-serif;
  color: #a1a6a2;
}
.benefits span {
  font-weight: 700;
  font-size: 16px;
}
.benefits small {
  display: block;
  font-weight: 400;
  font-size: 13px;
  margin-top: 6px;
  color: var(--gray);
}
.section {
  padding: 85px 5%;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 34px;
}
h2 {
  font-size: clamp(37px, 3.7vw, 55px);
  line-height: 1.05;
  margin-bottom: 24px;
}
.section .eyebrow {
  color: #8d6b07;
}
.section-heading p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray);
}
.filters {
  display: flex;
  gap: 14px;
}
.search {
  display: flex;
  flex: 1;
  align-items: center;
  border: 1px solid #d7dbd7;
  padding: 0 18px;
}
.search span {
  font-size: 30px;
  margin-right: 12px;
}
input,
select {
  border: 1px solid #d7dbd7;
  background: white;
  color: var(--ink);
  padding: 15px;
  width: 100%;
  border-radius: 0;
}
.search input {
  border: 0;
  outline: 0;
}
.search:focus-within {
  outline: 2px solid #a98006;
}
select {
  width: 220px;
}
.category-tabs {
  display: flex;
  gap: 8px;
  overflow: auto;
  padding: 22px 0 20px;
}
.category-tabs button {
  white-space: nowrap;
  background: #f1f3f1;
  padding: 11px 17px;
  font-size: 14px;
  font-weight: 600;
}
.category-tabs button.active {
  background: var(--ink);
  color: white;
}
.results {
  display: flex;
  justify-content: space-between;
  color: var(--gray);
  font-size: 13px;
  border-top: 1px solid #e7e8e5;
  padding: 20px 0;
}
.results > span:last-child {
  font-size: 11px;
  letter-spacing: 1px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.card {
  border: 1px solid #e0e3df;
  display: flex;
  flex-direction: column;
  background: white;
}
.product-image {
  height: 220px;
  position: relative;
  background: #f3f4f2;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.product-image img {
  height: 100%;
  width: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  padding: 15px;
  transition: transform 0.3s;
}
.card:hover img {
  transform: scale(1.04);
}
.product-image .image-note {
  position: absolute;
  bottom: 8px;
  right: 10px;
  font-size: 10px;
  color: #717875;
}
.no-photo {
  color: #adb4ad;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 36px;
  text-transform: uppercase;
  text-align: center;
  padding: 25px;
  line-height: 1;
}
.no-photo small {
  display: block;
  font:
    12px Barlow,
    Arial;
  margin-top: 13px;
  text-transform: none;
  color: #6b746b;
}
.card-body {
  padding: 22px;
  display: flex;
  flex: 1;
  flex-direction: column;
}
.card-category {
  font-size: 10px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #7d6b29;
  margin-bottom: 10px;
}
.card h3 {
  font-size: 20px;
  line-height: 1.2;
  margin-bottom: 12px;
}
.card p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--gray);
  flex: 1;
}
.card-price {
  border-top: 1px solid #e7e8e6;
  padding-top: 16px;
  margin-bottom: 17px;
  font-size: 21px;
  font-weight: 700;
}
.card-price small {
  font-size: 12px;
  font-weight: 400;
  color: var(--gray);
}
.card-actions {
  display: flex;
  gap: 8px;
}
.card-actions button {
  padding: 12px;
  font-size: 13px;
  font-weight: 700;
  flex: 1;
  background: var(--ink);
  color: white;
}
.card-actions .add {
  background: var(--yellow);
  color: var(--ink);
  flex: 0 0 42px;
  font-size: 20px;
}
.outline {
  border: 1px solid #bbb;
  background: white;
  padding: 16px 25px;
  display: block;
  margin: 32px auto 0;
  font-weight: 600;
}
.catalog-note {
  text-align: center;
  font-size: 12px;
  color: var(--gray);
  margin: 22px 0 0;
}
.process {
  background: var(--ink);
  color: white;
}
.process .eyebrow {
  color: var(--yellow);
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 55px;
  margin-top: 45px;
}
.steps article {
  border-top: 1px solid #ffffff35;
  padding-top: 25px;
}
.steps span {
  font:
    500 45px "Barlow Condensed",
    sans-serif;
  color: var(--yellow);
}
.steps h3 {
  font-size: 21px;
  margin: 20px 0 13px;
}
.steps p {
  color: #adb5b5;
  line-height: 1.7;
  max-width: 340px;
}
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8%;
  align-items: center;
}
.about-photo {
  height: 480px;
  background: url("assets/hero.jpg") 75% center/cover;
  border-bottom: 9px solid var(--yellow);
}
.about p {
  color: var(--gray);
  line-height: 1.75;
  max-width: 440px;
}
.about em {
  color: #ad8100;
}
.about .button {
  margin-top: 10px;
}
.faq {
  padding-top: 15px;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
}
.faq details {
  border-bottom: 1px solid #dce0da;
  padding: 23px 0;
}
.faq summary {
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
}
.faq details p {
  line-height: 1.7;
  color: var(--gray);
  margin: 18px 0 0;
}
.cta {
  padding: 65px 5%;
  background: var(--yellow);
  text-align: center;
}
.cta h2 {
  font-size: 48px;
}
.cta .eyebrow {
  font-size: 11px;
}
footer {
  padding: 50px 5% 30px;
  background: var(--ink);
  color: white;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}
footer p {
  flex: 1;
  color: #aeb5b4;
  margin: 0;
  font-size: 14px;
}
footer > a:not(.logo) {
  font-size: 14px;
}
footer > small {
  flex-basis: 100%;
  border-top: 1px solid #ffffff25;
  padding-top: 25px;
  margin-top: 15px;
  font-size: 12px;
  color: #8e9694;
}
dialog {
  border: 0;
  padding: 40px;
  max-width: 640px;
  width: calc(100% - 30px);
  max-height: 90vh;
  box-shadow: 0 20px 90px #0005;
}
dialog::backdrop {
  background: #0b1113b5;
  backdrop-filter: blur(4px);
}
.close {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 30px;
  background: transparent;
}
.detail-img {
  max-height: 260px;
  max-width: 100%;
  display: block;
  margin: auto;
}
.rates {
  display: flex;
  gap: 10px;
  margin: 22px 0;
}
.rates > div {
  flex: 1;
  background: var(--light);
  padding: 14px;
}
.rates small {
  display: block;
  margin-bottom: 7px;
}
.specs {
  line-height: 1.8;
  background: var(--light);
  padding: 20px;
}
.muted {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.6;
}
.quote-row {
  padding: 20px 0;
  border-bottom: 1px solid #ddd;
}
.quote-row h3 {
  font-size: 17px;
  margin-bottom: 12px;
}
.quote-controls {
  display: flex;
  gap: 10px;
  align-items: center;
}
.quote-controls select {
  flex: 1;
  min-width: 0;
}
.quote-controls input {
  width: 65px;
}
.quote-controls button {
  background: #f0f1ed;
  padding: 10px;
  font-size: 13px;
}
.project-label {
  display: block;
  font-size: 14px;
  margin: 22px 0;
}
.project-label input {
  margin-top: 8px;
}
#quote-total {
  font-size: 22px;
  font-weight: 700;
  margin-top: 22px;
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: white;
  padding: 16px 25px;
  border-bottom: 3px solid var(--yellow);
  box-shadow: 0 4px 30px #0003;
  z-index: 10;
  display: none;
  width: max-content;
  max-width: 90vw;
}
#load-more[hidden] {
  display: none;
}
@media (min-width: 1600px) {
  header,
  .section,
  .benefits,
  footer {
    padding-left: max(5%, calc((100vw - 1440px) / 2));
    padding-right: max(5%, calc((100vw - 1440px) / 2));
  }
}
@media (max-width: 1000px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .hero-caption {
    display: none;
  }
  nav {
    gap: 20px;
  }
  .benefits {
    gap: 18px;
  }
  .benefits small {
    line-height: 1.5;
  }
  .section-heading p {
    max-width: 300px;
  }
  .about {
    gap: 35px;
  }
}
@media (max-width: 700px) {
  header {
    height: 80px;
    padding: 0 20px;
  }
  nav {
    display: none;
  }
  .logo {
    font-size: 32px;
  }
  .logo span {
    font-size: 40px;
  }
  .logo small {
    font-size: 8px;
  }
  header button {
    font-size: 12px;
    padding: 13px;
  }
  .hero {
    min-height: 630px;
  }
  .hero-content {
    padding: 55px 22px;
  }
  .hero:after {
    background: linear-gradient(90deg, #151b1bef, #151b1b85);
  }
  .hero .eyebrow {
    font-size: 10px;
    letter-spacing: 1.5px;
  }
  .hero p {
    font-size: 16px;
  }
  .hero h1 {
    font-size: 58px;
  }
  .hero-index {
    display: none;
  }
  .text-link {
    margin: 22px 0 0;
    display: table;
  }
  .benefits {
    grid-template-columns: 1fr;
    padding: 27px 22px;
    gap: 22px;
  }
  .benefits > div {
    gap: 20px;
  }
  .benefits b {
    font-size: 30px;
  }
  .section {
    padding: 55px 22px;
  }
  .section-heading {
    display: block;
  }
  .section-heading p {
    max-width: none;
    font-size: 15px;
  }
  .filters {
    flex-wrap: wrap;
    gap: 10px;
  }
  .search {
    flex-basis: 100%;
  }
  .filters select {
    width: calc(50% - 5px);
    font-size: 13px;
    padding: 14px 8px;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .product-image {
    height: 155px;
  }
  .card-body {
    padding: 14px;
  }
  .card h3 {
    font-size: 17px;
  }
  .card p {
    font-size: 13px;
  }
  .card-price {
    font-size: 18px;
  }
  .card-actions {
    gap: 5px;
  }
  .card-actions button {
    font-size: 12px;
    padding: 10px 5px;
  }
  .card-actions .add {
    flex-basis: 32px;
  }
  .no-photo {
    font-size: 24px;
    padding: 12px;
  }
  .results > span:last-child {
    display: none;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
  }
  .steps article {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 5px 15px;
  }
  .steps span {
    grid-row: span 2;
  }
  .steps h3 {
    margin: 5px 0 8px;
  }
  .steps p {
    grid-column: 2;
    margin-bottom: 8px;
  }
  .about {
    grid-template-columns: 1fr;
  }
  .about-photo {
    height: 300px;
  }
  .faq {
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 0;
  }
  .cta {
    padding: 50px 22px;
  }
  .cta h2 {
    font-size: 40px;
  }
  footer {
    padding: 35px 22px;
  }
  footer p {
    flex-basis: 55%;
  }
  dialog {
    padding: 35px 22px;
  }
  .rates {
    gap: 5px;
  }
  .rates > div {
    padding: 12px 8px;
    font-size: 14px;
  }
  .quote-controls {
    flex-wrap: wrap;
  }
  .hero h1 {
    overflow-wrap: break-word;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}

/* Atualização Loc+: temas, busca, logo e leitura no celular. */
:root {
  --page-bg: #ffffff;
  --surface: #ffffff;
  --surface-soft: #f3f4f2;
  --text: #1c2021;
  --text-secondary: #58635f;
  --line: #d6dcd8;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --page-bg: #15191a;
  --surface: #202627;
  --surface-soft: #292f30;
  --text: #f2f4f1;
  --text-secondary: #bac3bf;
  --line: #424c48;
  color-scheme: dark;
}
body {
  background: var(--page-bg);
  color: var(--text);
}
header {
  gap: 22px;
  height: 108px;
}
.brand-logo {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  background: #1c2021;
  padding: 5px 8px;
  border-radius: 5px;
}
.brand-logo img {
  width: 190px;
  height: auto;
  display: block;
}
header nav {
  margin-left: auto;
}
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border: 1px solid #ffffff55;
  border-radius: 50%;
  background: transparent;
  color: #fff;
}
.theme-toggle > span:first-child {
  font-size: 25px;
  line-height: 1;
}
.theme-toggle:hover {
  background: #ffffff22;
}
.theme-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
[data-theme="light"] header {
  background: #fff;
  color: #202627;
  border-color: var(--line);
}
[data-theme="light"] header .theme-toggle {
  color: #202627;
  border-color: #ccd2cd;
}
[data-theme="light"] header .theme-toggle:hover {
  background: #eef0ec;
}
[data-theme="light"] header nav a:hover {
  color: #826000;
}
.benefits {
  background: var(--surface-soft);
  border-color: var(--line);
}
.benefits small,
.section-heading p,
.card p,
.about p,
.faq details p,
.muted,
.catalog-note,
.results {
  color: var(--text-secondary);
}
.filters {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px 195px;
  align-items: center;
  gap: 16px;
  padding: 23px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.search-form {
  min-width: 0;
}
.search-label {
  display: block;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 10px;
}
.search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 5px 6px 5px 15px;
  min-height: 58px;
}
.search-field:focus-within {
  border-color: #a97e00;
  box-shadow: 0 0 0 3px #f9c62933;
}
.search-field svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--text-secondary);
}
.search-field input {
  min-width: 0;
  width: 100%;
  padding: 10px 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 16px;
}
.search-field input::-webkit-search-cancel-button {
  display: none;
}
#clear-search {
  background: transparent;
  color: var(--text-secondary);
  font-size: 24px;
  min-width: 32px;
  min-height: 36px;
  padding: 0;
}
#clear-search[hidden] {
  display: none;
}
.search-submit {
  padding: 12px 19px;
  border-radius: 5px;
  min-height: 44px;
  flex-shrink: 0;
}
#search-help {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 9px 0 0;
}
input,
select {
  background: var(--surface);
  color: var(--text);
  border-color: var(--line);
}
input::placeholder {
  color: var(--text-secondary);
  opacity: 1;
}
.filters > select {
  width: 100%;
  min-height: 56px;
  border-radius: 7px;
  margin-top: 5px;
}
.category-tabs button {
  background: var(--surface-soft);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 6px;
  min-height: 44px;
}
.category-tabs button.active {
  background: var(--yellow);
  border-color: var(--yellow);
  color: #1c2021;
}
.results,
.card,
.card-price,
.faq details {
  border-color: var(--line);
}
.card {
  background: var(--surface);
  border-radius: 10px;
  overflow: hidden;
}
.product-image {
  padding: 0;
  width: 100%;
  height: 250px;
  background: #eee;
  flex-shrink: 0;
  border-radius: 0;
  display: grid;
}
.product-image img {
  mix-blend-mode: normal;
  padding: 12px;
  object-fit: contain;
  width: 100%;
  height: 100%;
  background: #eee;
}
.card-category {
  color: #81630a;
  font-size: 12px;
  line-height: 1.4;
}
[data-theme="dark"] .card-category,
[data-theme="dark"] .section .eyebrow,
[data-theme="dark"] .about em {
  color: #f9ce4b;
}
.card-body {
  padding: 22px;
}
.card h3 {
  font-size: 21px;
  line-height: 1.3;
}
.card p {
  font-size: 15px;
  line-height: 1.65;
}
.card-price {
  line-height: 1.5;
}
.card-price small {
  color: var(--text-secondary);
  font-size: 14px;
}
.card-actions {
  gap: 8px;
  flex-wrap: wrap;
}
.card-actions button {
  padding: 13px 10px;
  min-height: 46px;
  font-size: 14px;
  border-radius: 5px;
  flex: 1 1 100px;
}
.card-actions .add {
  flex: 1 1 110px;
  font-size: 14px;
}
.card-actions button:hover {
  filter: brightness(1.1);
}
.outline {
  background: var(--surface);
  color: var(--text);
  border-color: var(--line);
  border-radius: 5px;
  min-height: 48px;
}
.empty-results {
  grid-column: 1/-1;
  background: var(--surface-soft);
  padding: 35px;
  text-align: center;
  border-radius: 10px;
}
.empty-results p {
  color: var(--text-secondary);
}
.process {
  background: #1c2021;
  color: #fff;
}
.cta {
  color: #1c2021;
}
footer {
  color: #fff;
}
dialog {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 12px;
  overscroll-behavior: contain;
}
.close {
  color: var(--text);
  min-width: 44px;
  min-height: 44px;
  z-index: 1;
}
.detail-img {
  max-height: 380px;
  background: #eee;
  border-radius: 7px;
  margin-bottom: 24px;
}
.detail-description {
  font-size: 17px;
  line-height: 1.7;
}
.specs,
.rates > div {
  background: var(--surface-soft);
}
.rates > div {
  border-radius: 5px;
}
.quote-row {
  border-color: var(--line);
}
.quote-controls {
  align-items: flex-end;
}
.quote-controls label {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
  font-size: 13px;
  color: var(--text-secondary);
}
.quote-controls label select {
  width: 100%;
  font-size: 14px;
  min-height: 48px;
}
.quote-controls .quantity-label {
  flex: 0 0 88px;
}
.quote-controls input {
  width: 100%;
  min-height: 48px;
}
.quote-controls button {
  background: var(--surface-soft);
  color: var(--text);
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 5px;
}
#quote-total {
  font-size: 20px;
  line-height: 1.5;
}
#send-whatsapp {
  width: 100%;
  border-radius: 6px;
  min-height: 52px;
  background: #157c43;
  color: #fff;
}
#send-whatsapp:hover {
  background: #116737;
}
#send-whatsapp:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}
.whatsapp-float {
  position: fixed;
  bottom: max(24px, env(safe-area-inset-bottom));
  right: 24px;
  background: #157c43;
  color: white;
  width: 60px;
  height: 60px;
  border: 2px solid #ffffff88;
  border-radius: 50%;
  display: grid;
  place-items: center;
  z-index: 20;
  box-shadow: 0 5px 22px #0004;
}
.whatsapp-float svg {
  width: 31px;
  height: 31px;
}
.whatsapp-float:hover {
  background: #116737;
  transform: translateY(-3px);
}
.whatsapp-float span {
  position: absolute;
  right: 70px;
  white-space: nowrap;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
  padding: 10px 14px;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
}
.whatsapp-float:hover span,
.whatsapp-float:focus-visible span {
  opacity: 1;
}
#toast {
  bottom: 96px;
}
@media (max-width: 1100px) {
  header {
    gap: 15px;
  }
  header nav {
    gap: 18px;
  }
  .brand-logo img {
    width: 160px;
  }
  .filters {
    grid-template-columns: 1fr 1fr;
  }
  .search-form {
    grid-column: 1/-1;
  }
  .filters > select {
    margin-top: 0;
  }
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 701px) and (max-width: 850px) {
  header nav {
    display: none;
  }
  header .theme-toggle {
    margin-left: auto;
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  header {
    height: auto;
    min-height: 96px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 40px auto;
    gap: 10px;
    padding: 12px 18px;
  }
  header nav {
    display: none;
  }
  .brand-logo {
    width: fit-content;
    max-width: 100%;
    padding: 4px 7px;
  }
  .brand-logo img {
    width: 145px;
    max-width: 100%;
    height: auto;
  }
  .theme-toggle {
    width: 40px;
    height: 40px;
  }
  header #open-quote {
    font-size: 13px;
    padding: 13px 10px;
    border-radius: 5px;
    min-height: 44px;
    white-space: nowrap;
  }
  #cart-count {
    margin-left: 7px;
    padding-left: 7px;
  }
  .section {
    padding-left: 20px;
    padding-right: 20px;
  }
  .section-heading h2 {
    font-size: 40px;
  }
  .section-heading p {
    font-size: 16px;
  }
  .filters {
    padding: 16px;
    gap: 12px;
    border-radius: 10px;
    grid-template-columns: 1fr;
  }
  .search-form {
    grid-column: auto;
  }
  .filters > select {
    width: 100%;
    font-size: 16px;
    min-height: 50px;
    padding: 12px;
  }
  .search-field {
    gap: 8px;
    flex-wrap: wrap;
    padding: 10px 12px;
  }
  .search-field input {
    width: calc(100% - 70px);
    flex: 1 1 140px;
    font-size: 16px;
  }
  .search-submit {
    width: 100%;
    flex-basis: 100%;
    min-height: 44px;
  }
  .search-label {
    font-size: 15px;
    line-height: 1.5;
  }
  #search-help {
    font-size: 13px;
    line-height: 1.5;
  }
  .category-tabs {
    gap: 8px;
    scrollbar-width: thin;
  }
  .category-tabs button {
    font-size: 14px;
  }
  .product-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .product-image {
    height: 310px;
  }
  .product-image img {
    padding: 12px;
  }
  .card-body {
    padding: 23px;
  }
  .card h3 {
    font-size: 24px;
  }
  .card p {
    font-size: 16px;
    line-height: 1.7;
  }
  .card-category {
    font-size: 12px;
  }
  .card-price {
    font-size: 23px;
  }
  .card-actions {
    gap: 10px;
  }
  .card-actions button,
  .card-actions .add {
    font-size: 15px;
    min-height: 50px;
    padding: 14px 10px;
    flex: 1 1 100px;
  }
  .catalog-note {
    font-size: 13px;
    line-height: 1.6;
  }
  .hero-content {
    padding-left: 20px;
    padding-right: 20px;
  }
  .hero h1 {
    font-size: clamp(43px, 12vw, 65px);
  }
  dialog {
    padding: 42px 20px 24px;
    max-height: calc(100dvh - 24px);
    width: calc(100% - 24px);
  }
  dialog h2 {
    font-size: 36px;
    overflow-wrap: anywhere;
  }
  .detail-img {
    max-height: 340px;
    max-width: 100%;
  }
  .rates {
    flex-wrap: wrap;
  }
  .rates > div {
    flex: 1 1 90px;
    padding: 12px 8px;
  }
  .rates b {
    font-size: 14px;
  }
  .quote-controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 92px;
    gap: 10px;
  }
  .quote-controls button {
    grid-column: 1/-1;
  }
  .quote-controls label select {
    font-size: 16px;
    padding: 13px 8px;
  }
  .quote-controls input {
    font-size: 16px;
  }
  .quote-row h3 {
    font-size: 19px;
    line-height: 1.4;
  }
  .project-label input {
    font-size: 16px;
  }
  #send-whatsapp {
    font-size: 16px;
    padding: 15px 10px;
    line-height: 1.5;
  }
  .whatsapp-float {
    width: 56px;
    height: 56px;
    right: 17px;
    bottom: max(18px, env(safe-area-inset-bottom));
  }
  .whatsapp-float span {
    display: none;
  }
  footer {
    padding-bottom: 90px;
  }
  footer .brand-logo img {
    width: 170px;
  }
  footer p {
    flex-basis: 100%;
  }
}
@media (max-width: 360px) {
  header {
    padding: 10px 12px;
    gap: 7px;
  }
  .brand-logo img {
    width: 120px;
  }
  header #open-quote {
    font-size: 12px;
    padding: 12px 7px;
  }
  .section {
    padding-left: 15px;
    padding-right: 15px;
  }
  .product-image {
    height: 270px;
  }
  .card-body {
    padding: 19px;
  }
  .card-actions {
    flex-direction: column;
  }
  .search-field input {
    flex-basis: 110px;
  }
}

/* Transição breve somente quando o visitante troca o tema. */
html.theme-changing,
html.theme-changing *,
html.theme-changing *::before,
html.theme-changing *::after {
  transition-property:
    background-color, color, border-color, box-shadow, fill, stroke;
  transition-duration: 320ms;
  transition-timing-function: ease-in-out;
}
@media (prefers-reduced-motion: reduce) {
  html.theme-changing,
  html.theme-changing *,
  html.theme-changing *::before,
  html.theme-changing *::after {
    transition: none !important;
  }
}

/* Páginas de categorias: navegação própria da Loc+. */
.category-nav {
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 0 5%;
  min-height: 62px;
  background: #1c2021;
  color: white;
  position: relative;
  z-index: 30;
  border-top: 1px solid #ffffff16;
}
.category-caption {
  font-size: 12px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #d2d8d4;
  font-weight: 700;
}
.category-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  gap: 20px;
  min-width: 0;
}
.category-links > a,
.more-menu > summary {
  font-size: 15px;
  font-weight: 600;
  padding: 20px 0;
  line-height: 1.5;
  white-space: nowrap;
}
.category-links > a:hover,
.category-links a[aria-current="page"],
.more-menu > summary:hover {
  color: var(--yellow);
}
.category-links a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 7px;
}
.category-toggle {
  display: none;
}
.more-menu {
  position: relative;
  flex-shrink: 0;
}
.more-menu > summary {
  list-style: none;
  display: flex;
  gap: 10px;
  align-items: center;
  cursor: pointer;
}
.more-menu > summary::-webkit-details-marker {
  display: none;
}
.more-menu > summary span {
  transition: transform 0.2s;
}
.more-menu[open] > summary span {
  transform: rotate(180deg);
}
.more-panel {
  position: absolute;
  right: 0;
  top: 100%;
  width: 285px;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 15px 35px #0003;
  max-height: calc(100dvh - 175px);
  overflow-y: auto;
  animation: menu-appear 0.18s ease-out;
}
.more-panel a {
  display: block;
  padding: 12px 14px;
  font-size: 15px;
  border-radius: 4px;
  line-height: 1.35;
}
.more-panel a:hover {
  background: var(--surface-soft);
}
.more-panel a:last-child {
  border-top: 1px solid var(--line);
  font-weight: 700;
  margin-top: 5px;
  padding-top: 16px;
}
.category-page {
  padding-top: 35px;
  min-height: 70vh;
}
.breadcrumbs {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 35px;
}
.breadcrumbs a:hover {
  text-decoration: underline;
}
.category-page h1 {
  font-size: clamp(42px, 4.2vw, 64px);
  color: var(--text);
  line-height: 1.05;
  margin-bottom: 18px;
}
.category-page .section-heading p {
  max-width: 760px;
  line-height: 1.65;
  font-size: 17px;
  margin-bottom: 5px;
}
.category-page .section-heading {
  margin-bottom: 30px;
}
.institutional-signature {
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--text) !important;
  font-size: 16px;
}
.about {
  align-items: start;
}
.about-photo {
  height: 100%;
  min-height: 530px;
}
.about p {
  max-width: none;
  font-size: 16px;
}
#destaques .section-heading .outline {
  margin: 0 0 24px;
}
#destaques .card p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card {
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.32s ease,
    color 0.32s ease,
    border-color 0.32s ease;
}
@media (hover: hover) {
  .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px #0001;
  }
}
.reveal-ready {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}
.reveal-ready.revealed {
  opacity: 1;
  transform: translateY(0);
}
@keyframes menu-appear {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* O fade não depende de uma classe temporária nem da ordem de carregamento. */
body,
header,
.benefits,
.card,
.card-body,
.filters,
.search-field,
input,
select,
.outline,
.category-tabs button,
.card-category,
.card p,
.section-heading p,
.about p,
.faq details p,
.muted,
.catalog-note,
.results,
dialog,
.specs,
.rates > div,
.quote-row,
.quote-controls button,
.more-panel,
.close,
h1,
h2,
h3,
.eyebrow,
.breadcrumbs,
.theme-toggle {
  transition:
    background-color 320ms ease-in-out,
    color 320ms ease-in-out,
    border-color 320ms ease-in-out,
    box-shadow 320ms ease-in-out;
}
::view-transition-old(root) {
  animation: theme-out 320ms ease both;
}
::view-transition-new(root) {
  animation: theme-in 320ms ease both;
}
@keyframes theme-out {
  to {
    opacity: 0;
  }
}
@keyframes theme-in {
  from {
    opacity: 0;
  }
}
@media (max-width: 1150px) {
  .category-caption {
    display: none;
  }
  .category-links {
    gap: 15px;
  }
  .category-links > a,
  .more-menu > summary {
    font-size: 14px;
  }
  .category-nav {
    gap: 0;
  }
}
@media (max-width: 950px) {
  .category-nav {
    display: block;
    padding: 0 20px;
    min-height: 54px;
  }
  .category-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 15px 0;
    background: transparent;
    color: white;
    font-weight: 700;
    min-height: 54px;
    font-size: 16px;
  }
  .category-links {
    display: none;
    padding-bottom: 15px;
  }
  .categories-open .category-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .category-links > a,
  .more-menu > summary {
    padding: 13px 10px;
    font-size: 16px;
    white-space: normal;
    border-top: 1px solid #ffffff16;
    min-height: 48px;
  }
  .more-menu > summary {
    justify-content: space-between;
  }
  .more-panel {
    position: static;
    width: 100%;
    max-height: none;
    box-shadow: none;
    margin-bottom: 5px;
  }
  .more-panel a {
    padding: 14px;
    font-size: 16px;
  }
  .category-page {
    padding-top: 28px;
  }
  .breadcrumbs {
    margin-bottom: 25px;
  }
}
@media (max-width: 700px) {
  .category-page h1 {
    font-size: 43px;
  }
  .category-page .section-heading p {
    font-size: 16px;
  }
  .about-photo {
    height: 310px;
    min-height: 0;
  }
  #destaques .section-heading .outline {
    margin: 12px 0 0;
    width: 100%;
    text-align: center;
  }
  .institutional-signature {
    line-height: 1.6;
  }
  header .utility-nav {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .reveal-ready {
    opacity: 1;
    transform: none;
  }
  .card:hover {
    transform: none;
  }
  /* Uma breve mudança de cor, sem deslocamento, mantém a indicação visual. */
  body,
  header,
  .benefits,
  .card,
  .card-body,
  .filters,
  .search-field,
  input,
  select,
  .outline,
  dialog,
  .more-panel,
  h1,
  h2,
  h3,
  .eyebrow,
  .breadcrumbs,
  .theme-toggle {
    transition:
      background-color 120ms linear,
      color 120ms linear,
      border-color 120ms linear !important;
  }
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation-duration: 120ms !important;
  }
}

/* Cabeçalho compacto: categorias agrupadas, sem distribuição por toda a tela. */
@media (min-width: 951px) {
  .category-nav { justify-content: center; gap: 24px; }
  .category-links { flex: 0 1 auto; justify-content: center; gap: 28px; }
  .category-links > a, .more-menu > summary { padding-top: 16px; padding-bottom: 16px; }
}
@media (min-width: 951px) and (max-width: 1150px) {
  .category-links { gap: 22px; }
}
@media (max-width: 950px) {
  .category-toggle, .more-menu > summary { justify-content: center; gap: 10px; }
  .category-links, .category-links > a, .more-panel a { text-align: center; }
}

/* Celular: composição centralizada em todas as páginas e no orçamento. */
@media (max-width: 700px) {
  body { text-align: center; }
  header {
    display: grid;
    grid-template-columns: 44px auto;
    justify-content: center;
    justify-items: center;
    align-items: center;
    gap: 10px 12px;
    padding: 12px 20px 16px;
  }
  header .brand-logo { grid-column: 1 / -1; justify-self: center; }
  header .brand-logo img { width: 155px; }
  header .theme-toggle { margin: 0; }
  header #open-quote { min-width: 140px; }
  .hero { justify-content: center; }
  .hero-content { width: 100%; text-align: center; margin-inline: auto; }
  .hero-content p { margin-inline: auto; }
  .hero-content .text-link { margin: 22px auto 0; }
  .section-heading { text-align: center; }
  .section-heading p, .about p, .steps p { margin-inline: auto; }
  .benefits { justify-items: center; }
  .benefits > div { width: 100%; flex-direction: column; text-align: center; gap: 6px; }
  .benefits span, .benefits small { text-align: center; }
  .breadcrumbs { justify-content: center; text-align: center; }
  .filters, .search-form, .search-label, #search-help { text-align: center; }
  .search-field { justify-content: center; }
  input, select, textarea { text-align: center; }
  .search-field input { text-align: center; }
  .category-tabs { justify-content: center; flex-wrap: wrap; }
  .results { justify-content: center; text-align: center; }
  .card, .card-body, .card-category, .card h3, .card p, .card-price { text-align: center; }
  .card-actions { justify-content: center; }
  .product-grid { grid-template-columns: minmax(0, 1fr); }
  .steps article { display: block; text-align: center; }
  .steps article > span { display: block; margin-bottom: 14px; }
  .steps h3 { margin-bottom: 13px; }
  .steps p { max-width: 100%; }
  .about, .faq { text-align: center; }
  .about-photo { width: 100%; margin-inline: auto; }
  .faq summary { text-align: center; list-style: none; }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary::after { content: '+'; display: inline-block; margin-left: 10px; }
  .faq details[open] summary::after { content: '−'; }
  footer { justify-content: center; text-align: center; }
  footer p, footer > small { text-align: center; }
  footer .brand-logo { margin-inline: auto; }
  dialog, .detail-description, .specs, .rates, .quote-row,
  .quote-row h3, .quote-controls label, .project-label,
  #quote-total, .muted { text-align: center; }
  .detail-img { margin-inline: auto; }
  .rates, .quote-controls { justify-content: center; }
  dialog .yellow { margin-inline: auto; }
  .empty-results, .catalog-note { text-align: center; }
}

/* Loc+ — tema escuro fixo, navegação responsiva e banner rotativo. */
:root {
  --page-bg: #15191a;
  --surface: #202627;
  --surface-soft: #292f30;
  --text: #f2f4f1;
  --text-secondary: #bac3bf;
  --line: #424c48;
  color-scheme: dark;
}
header #open-quote { margin-left: auto; white-space: nowrap; }
.menu-toggle { display: none; }
.quote-hint { color: var(--text-secondary); font-size: 13px !important; margin: auto 0 16px; }
.hero-slide { opacity: 0; transition: opacity 700ms ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slide.equipment-slide { background-size: auto 100%; background-repeat: no-repeat; background-position: right center; background-color: #252b2b; }
.hero-controls { position: absolute; bottom: 22px; left: 5%; display: flex; align-items: center; gap: 5px; }
.hero-controls button { min-height: 44px; color: white; background: transparent; border-radius: 6px; }
.hero-controls .slide-dot { width: 34px; position: relative; }
.slide-dot::after { content: ''; display: block; height: 4px; border-radius: 3px; background: #ffffff60; }
.slide-dot.active::after { background: var(--yellow); }
#pause-banner { font-size: 12px; padding: 0 12px; border: 1px solid #ffffff50; margin-left: 10px; }
#slide-number { color: var(--yellow); font-size: 16px; }
#mobile-menu { padding: 24px; margin: 0 0 0 auto; width: min(400px, 92vw); max-width: 100%; height: 100dvh; max-height: 100dvh; border-radius: 18px 0 0 18px; border: 1px solid var(--line); text-align: left; }
#mobile-menu::backdrop { background: #000b; backdrop-filter: blur(4px); }
.mobile-menu-heading { display: flex; justify-content: space-between; align-items: center; padding-bottom: 22px; border-bottom: 1px solid var(--line); gap: 12px; }
.mobile-menu-heading .brand-logo { background: transparent; padding: 0; }
.mobile-menu-heading .brand-logo img { width: 160px; height: auto; }
#mobile-menu .close { position: static; flex-shrink: 0; border-radius: 50%; background: var(--surface-soft); }
#mobile-menu nav { display: grid; gap: 4px; margin: 0; }
#mobile-menu nav a { padding: 13px 14px; border-radius: 7px; line-height: 1.4; min-height: 46px; }
#mobile-menu nav a:hover, #mobile-menu a[aria-current="page"] { background: #f9c62914; color: var(--yellow); }
#mobile-menu .mobile-main-links { padding-block: 15px; border-bottom: 1px solid var(--line); }
.mobile-menu-label { color: var(--text-secondary); font-size: 11px; text-transform: uppercase; letter-spacing: 2px; margin: 24px 14px 12px; }
#mobile-category-links a:first-child { color: var(--yellow); font-weight: 700; }
body.menu-open { overflow: hidden; }
.product-image:has(.no-photo) { background: linear-gradient(135deg, #313b3b, #1c2425); color: var(--yellow); }
.no-photo { color: inherit; }
@media (min-width: 1101px) {
  .category-nav { gap: 18px; padding-inline: 3%; }
  .category-links { gap: clamp(14px, 1.7vw, 28px); }
  .category-links > a, .more-menu > summary { font-size: 14px; }
  .category-caption { display: none; }
}
@media (max-width: 1100px) {
  header { display: flex; flex-wrap: nowrap; justify-content: space-between; align-items: center; height: 86px; min-height: 0; padding: 12px 4%; gap: 12px; }
  header .utility-nav, .category-nav { display: none; }
  header .brand-logo { padding: 0; margin: 0; flex: 0 1 auto; min-width: 0; }
  header .brand-logo img { width: 150px; max-width: 100%; height: auto; }
  header #open-quote { min-width: 0; min-height: 44px; padding: 12px 16px; font-size: 14px; margin: 0 0 0 auto; }
  .menu-toggle { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; padding: 0; border: 1px solid #ffffff35; border-radius: 8px; background: transparent; color: white; }
  #cart-count { margin-left: 8px; padding-left: 8px; }
}
@media (max-width: 700px) {
  .hero-controls { left: 50%; transform: translateX(-50%); bottom: 16px; white-space: nowrap; }
  .hero-content { padding-bottom: 95px; }
  .hero-slide.equipment-slide { background-position: 65% center; background-size: auto 100%; }
  .hero:after { background: linear-gradient(90deg, #111616ec, #111616ac); }
  #toast { max-width: calc(100vw - 32px); overflow-wrap: anywhere; }
}
@media (max-width: 380px) {
  header { padding-inline: 12px; gap: 8px; }
  header .brand-logo img { width: 108px; }
  header #open-quote { padding-inline: 10px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: none; }
}
