/* Integração Couros — tema "redesign" (protótipo aprovado no canvas).
   Cores da fachada: azul #147CA8 (primária), marinho do toldo #1F2B38 (secundária). */
:root {
  --blue: #147CA8; --blue-bright: #1E96C4; --navy: #1F2B38;
  --ground: #F3F6F8; --surface: #FBFCFD; --ink: #17222D; --ink-2: #33414F; --muted: #52606D;
  --line: #D5DEE5; --line-2: #E6ECF0; --tint: #E2F0F7; --link: #0F5F82; --dark: #0B4A66;
  --wa: #25D366;
  --display: 'Archivo', 'Arial Narrow', sans-serif;
  --text: 'Hanken Grotesk', system-ui, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 16px/1.5 var(--text); }
img { max-width: 100%; height: auto; }
a { color: var(--link); }
a:hover { color: var(--dark); }
h1, h2, h3, h4 { margin: 0; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.disp { font-family: var(--display); font-stretch: 72%; letter-spacing: -0.01em; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .wrap { padding: 0 18px; } }

/* ---------- cabeçalho ---------- */
.topbar { background: var(--navy); color: #DCE4EA; font-size: 13px; }
.topbar .wrap { display: flex; flex-wrap: wrap; gap: 6px 24px; align-items: center; justify-content: space-between; min-height: 38px; }
.topbar a { color: #DCE4EA; text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar .tb-contacts { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.site-header { background: var(--blue); color: var(--surface); border-bottom: 8px solid var(--navy); position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; gap: 28px; min-height: 92px; }
.brand { display: flex; align-items: center; gap: 14px; color: var(--surface); text-decoration: none; }
.brand img { height: 60px; width: auto; filter: brightness(0) invert(1); }
.brand .tagline { font-size: 13px; color: #E6F2F8; letter-spacing: .04em; text-transform: uppercase; border-left: 1px solid rgba(255,255,255,.35); padding-left: 14px; }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.main-nav a { color: var(--surface); text-decoration: none; font-weight: 700; padding: 10px 14px; border-radius: 10px; min-height: 44px; display: inline-flex; align-items: center; }
.main-nav a:hover, .main-nav a[aria-current="page"] { background: rgba(255,255,255,.14); color: #fff; }
.main-nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 #fff; }
.quote-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px; border: 0; border-radius: 12px; background: var(--surface); color: var(--dark); font-weight: 700; cursor: pointer; }
.quote-btn:hover { background: #fff; }
.quote-count { min-width: 24px; height: 24px; padding: 0 6px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; }
.nav-toggle { display: none; margin-left: auto; width: 48px; height: 48px; border-radius: 10px; border: 1px solid rgba(255,255,255,.5); background: transparent; color: #fff; cursor: pointer; align-items: center; justify-content: center; }
@media (max-width: 900px) {
  .topbar .tb-hours { display: none; }
  .site-header .wrap { min-height: 74px; gap: 12px; flex-wrap: wrap; }
  .brand img { height: 46px; }
  .brand .tagline { display: none; }
  .nav-toggle { display: inline-flex; }
  .quote-btn { padding: 0 12px; }
  .quote-btn .qb-label { display: none; }
  .main-nav { display: none; order: 5; width: 100%; flex-direction: column; align-items: stretch; padding: 4px 0 14px; margin: 0; }
  .main-nav.open { display: flex; }
}

/* ---------- títulos de página ---------- */
.page-head { background: var(--surface); border-bottom: 1px solid var(--line); }
.page-head .wrap { padding-top: 22px; padding-bottom: 40px; }
.crumbs { font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs [aria-current] { color: var(--ink); }
.page-title { margin-top: 26px; font-family: var(--display); font-stretch: 72%; font-size: clamp(40px, 5vw, 72px); line-height: .92; font-weight: 800; text-transform: uppercase; color: var(--blue); letter-spacing: -0.01em; }
.page-sub { margin-top: 12px; font-size: 19px; font-weight: 500; color: var(--ink-2); max-width: 780px; }
.page-sub p { margin: 0; }
.page-head-row { display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: flex-end; justify-content: space-between; }
.page-main { padding-top: 44px; padding-bottom: 88px; }

/* ---------- botões ---------- */
.btn-solid, .btn-line, .btn-added, .btn-light, .btn-ghost {
  min-height: 44px; padding: 0 18px; border-radius: 10px; font: 700 15px var(--text);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; cursor: pointer;
}
.btn-solid { border: 0; background: var(--blue); color: var(--surface); }
.btn-solid:hover { background: var(--link); color: #fff; }
.btn-line { border: 1.5px solid var(--blue); background: transparent; color: var(--link); }
.btn-line:hover { background: var(--blue); color: var(--surface); }
.btn-added { border: 0; background: var(--tint); color: var(--dark); }
.btn-light { border: 0; background: var(--surface); color: var(--dark); }
.btn-light:hover { background: #fff; color: var(--dark); }
.btn-ghost { border: 1.5px solid rgba(255,255,255,.7); background: transparent; color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 16px; border-radius: 12px; }
.btn-block { width: 100%; }

/* ---------- cards de produto / departamento ---------- */
.grid-products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.grid-cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 1000px) { .grid-products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .grid-cats { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .grid-products { grid-template-columns: minmax(0, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.card-img { display: block; aspect-ratio: 1 / 1; overflow: hidden; padding: 16px; background: #fff; }
.card-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s var(--ease); }
.card:hover .card-img img { transform: scale(1.04); }
.card-body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 12px; flex: 1; border-top: 1px solid var(--line-2); }
.card-name { font-size: 15px; line-height: 1.3; font-weight: 700; }
.card-name a { color: var(--ink); text-decoration: none; }
.card-name a:hover { color: var(--link); text-decoration: underline; }
.card-code { font-size: 13px; color: var(--muted); }
.card-actions { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
.card-actions > * { width: 100%; }
.cat-card .card-img { aspect-ratio: 500 / 228; padding: 0; }
.cat-card .card-img img { object-fit: cover; }
.cat-card .card-body { flex-direction: row; align-items: center; justify-content: space-between; padding: 18px 20px; }
.cat-card .card-name { font-family: var(--display); font-stretch: 72%; font-size: 28px; font-weight: 800; text-transform: uppercase; line-height: 1; }
.cat-card .card-actions { margin: 0; flex: none; }
.cat-card .card-actions > * { width: auto; }
@media (prefers-reduced-motion: reduce) { .card-img img { transition: none; } }

.pager { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.pagination { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pagination a, .pagination span { min-width: 44px; height: 44px; padding: 0 10px; border-radius: 10px; border: 1px solid #C5D2DC; background: var(--surface); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; text-decoration: none; }
.pagination .active span { background: var(--blue); border-color: var(--blue); color: #fff; }

.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 32px; margin-bottom: 28px; }
.section-title { font-family: var(--display); font-stretch: 72%; font-size: clamp(34px, 4vw, 52px); line-height: .95; font-weight: 800; text-transform: uppercase; }
.section-sub { margin: 8px 0 0; color: var(--muted); font-size: 17px; }

/* ---------- home: banner (module/banner) ---------- */
.hero { position: relative; background: var(--navy); overflow: hidden; }
.hero-track { display: flex; align-items: flex-start; transition: transform .7s var(--ease); }
.hero-slide { flex: 0 0 100%; }
.hero-slide img { display: block; width: 100%; height: auto; }
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 999px; border: 0; background: rgba(251,252,253,.92); color: var(--ink); cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(23,34,45,.25); }
.hero-arrow.prev { left: 20px; } .hero-arrow.next { right: 20px; }
.hero-dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 4px; }
.hero-dots button { width: 32px; height: 32px; border: 0; background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; }
.hero-dots button::after { content: ""; width: 10px; height: 10px; border-radius: 999px; background: rgba(255,255,255,.55); transition: width .3s var(--ease); }
.hero-dots button[aria-current="true"]::after { width: 26px; background: #fff; }
@media (max-width: 640px) { .hero-arrow { display: none; } }
@media (prefers-reduced-motion: reduce) { .hero-track { transition: none; } }

/* ---------- home: module/html, texto institucional ---------- */
.mod-html { padding: 64px 0 24px; }
.mod-html .wrap > * { max-width: 920px; }
.mod-html h1, .mod-html .service-header h1 { font-family: var(--display); font-stretch: 72%; font-size: clamp(38px, 4.4vw, 60px); line-height: .95; font-weight: 800; text-transform: uppercase; color: var(--blue); }
.mod-html h2, .mod-html .service-header h2 { margin-top: 14px; font-size: 20px !important; line-height: 1.6 !important; font-weight: 400; color: var(--ink-2) !important; }
.mod-html [style] { color: inherit !important; font-family: inherit !important; font-size: inherit !important; line-height: inherit !important; }
.mod-html span[style*="font-weight: 700"] { color: var(--link) !important; }
.mod-html br + br, .mod-html h1 + br { display: none; }
.mod-html .container, .mod-html .row, .mod-html [class*="col-"] { display: block; width: auto; margin: 0; padding: 0; max-width: none; }
.mod-html section { padding: 0; }

/* ---------- home: module/featured ---------- */
.mod-featured { padding: 40px 0 72px; }

/* ---------- home: module/one_featured ---------- */
.mod-one { background: var(--blue); color: var(--surface); border-top: 8px solid var(--navy); }
.mod-one .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.mod-one-img { background: var(--surface); border-radius: 20px; padding: 24px; display: flex; align-items: center; justify-content: center; }
.mod-one-img img { max-height: 400px; width: auto; }
.mod-one h2 { font-family: var(--display); font-stretch: 72%; font-size: clamp(38px, 4.4vw, 62px); line-height: .95; font-weight: 800; text-transform: uppercase; }
.mod-one p { margin: 16px 0 26px; font-size: 19px; color: #EEF6FA; max-width: 560px; }
.mod-one .actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 860px) { .mod-one .wrap { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

/* ---------- home: module/review ---------- */
.mod-review { padding: 64px 0; }
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.review { margin: 0; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: 14px; padding: 22px 24px; }
.review p { margin: 0 0 12px; font-size: 17px; color: var(--ink-2); }
.review cite { font-style: normal; font-weight: 700; }

/* ---------- produto ---------- */
.prod { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
@media (max-width: 900px) { .prod { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
.gallery-main { display: block; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; aspect-ratio: 1 / 1; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; padding: 0; list-style: none; }
.gallery-thumbs button { width: 84px; height: 84px; padding: 6px; background: #fff; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; }
.gallery-thumbs button[aria-current="true"] { border-color: var(--blue); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.prod h1 { font-family: var(--display); font-stretch: 72%; font-size: clamp(34px, 3.6vw, 52px); line-height: .98; font-weight: 800; text-transform: uppercase; }
.prod-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 16px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 15px; }
.prod-meta strong { color: var(--ink); }
.buybox { margin-top: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.buybox-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.buybox-row .btn-solid, .buybox-row .btn-added { flex: 1 1 220px; }
.stepper { display: inline-flex; align-items: center; border: 1px solid #C5D2DC; border-radius: 12px; background: #fff; }
.stepper button { width: 44px; height: 48px; border: 0; background: transparent; font-size: 20px; color: var(--ink); cursor: pointer; }
.stepper input { width: 54px; height: 48px; border: 0; text-align: center; font: 700 17px var(--text); color: var(--ink); background: transparent; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.wa-link { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; min-height: 44px; }
.prod-desc { margin-top: 28px; color: var(--ink-2); font-size: 17px; line-height: 1.65; }
.prod-desc img { border-radius: 12px; }
.attrs { margin-top: 28px; width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; font-size: 15px; }
.attrs th { text-align: left; background: var(--tint); color: var(--dark); padding: 10px 16px; }
.attrs td { padding: 10px 16px; border-top: 1px solid var(--line-2); }
.attrs td:first-child { color: var(--muted); width: 40%; }
.related { margin-top: 72px; }

/* ---------- empresa (module/html "Texto da Empresa") ---------- */
.emp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: start; }
@media (max-width: 1000px) { .emp { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
.emp figure { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.emp figure img { width: 100%; border-radius: 20px; display: block; aspect-ratio: 629 / 580; object-fit: cover; }
.emp figcaption { font-size: 14px; color: var(--muted); }
.emp .block-top { display: none; } /* título/subtítulo do módulo já estão no cabeçalho da página */
.emp .badhon-tab { display: flex; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--line); }
.emp .badhon-tab a { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px; border-bottom: 3px solid transparent; color: var(--ink-2); font-weight: 700; text-decoration: none; }
.emp .badhon-tab a .fa { display: none; }
.emp .badhon-tab .active a { color: var(--link); border-bottom-color: var(--blue); }
.emp .tab-pane { display: none; padding-top: 30px; animation: fade .4s var(--ease); }
.emp .tab-pane.active { display: block; }
.emp .teb-icon-edit { display: none; }
.emp .tab-pane h1, .emp .tab-pane h2 { font-family: var(--display); font-stretch: 72%; text-transform: uppercase; }
.emp .tab-pane h2 { margin: 0 0 16px; font-size: 44px !important; line-height: 1 !important; font-weight: 800; color: var(--blue) !important; }
.emp .tab-pane h1 { font-family: var(--display); font-stretch: 72%; font-size: 44px; line-height: 1; font-weight: 800; text-transform: uppercase; margin-bottom: 16px; }
.emp .tab-pane p { margin: 0 0 10px; font-size: 19px; line-height: 1.65; color: var(--ink-2); }
.emp #values p { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; line-height: 1.4; }
.emp .row, .emp [class*="col-"], .emp .block-bottom, .emp .service-tab { display: block; margin: 0; padding: 0; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .emp .tab-pane { animation: none; } }

/* ---------- contato ---------- */
.ct { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.where { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 32px; align-items: start; }
@media (max-width: 1000px) { .ct, .where { grid-template-columns: minmax(0, 1fr); } }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 32px; }
@media (max-width: 640px) { .panel { padding: 22px; } }
.panel-blue { background: var(--blue); color: var(--surface); border-radius: 20px; padding: 26px 28px; }
.panel-blue p { color: #EEF6FA; }
.panel-navy { background: var(--navy); color: #DCE4EA; border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.panel-navy strong.lbl { color: #fff; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.field { display: flex; flex-direction: column; gap: 6px; font: 600 14px var(--text); color: var(--ink-2); }
.field input, .field textarea { font: 400 16px var(--text); color: var(--ink); background: #fff; border: 1px solid #C5D2DC; border-radius: 10px; padding: 12px 14px; min-height: 48px; width: 100%; }
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.fields { display: flex; flex-direction: column; gap: 16px; }
.fields-2 { display: flex; flex-wrap: wrap; gap: 16px; }
.fields-2 > * { flex: 1 1 200px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid #C5D2DC; background: #fff; color: var(--ink-2); font: 600 14px var(--text); cursor: pointer; }
.chip[aria-checked="true"] { background: var(--tint); border-color: var(--blue); color: var(--dark); }
.bubble { background: #DCEFE3; color: #1E2B22; border-radius: 4px 14px 14px 14px; padding: 12px 14px; font-size: 14px; line-height: 1.45; white-space: pre-line; overflow-wrap: anywhere; }
.people { padding: 6px 24px; }
.person { padding: 18px 0; border-bottom: 1px solid var(--line-2); }
.person:last-child { border-bottom: 0; }
.person-lines { margin-top: 6px; display: flex; flex-direction: column; gap: 2px; font-size: 15px; }
.map-link { display: block; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); }
.map-link img { display: block; width: 100%; }

/* ---------- rodapé ---------- */
.site-footer { background: var(--navy); color: #DCE4EA; font-size: 15px; line-height: 1.55; border-top: 6px solid var(--blue); }
.site-footer .cols { display: flex; flex-wrap: wrap; gap: 40px 56px; padding-top: 56px; padding-bottom: 36px; }
.site-footer .col { flex: 1 1 200px; display: flex; flex-direction: column; gap: 6px; }
.site-footer .col-brand { flex-basis: 260px; gap: 14px; }
.site-footer .col-brand img { height: 76px; width: auto; align-self: flex-start; filter: brightness(0) invert(1); }
.site-footer strong.lbl { color: #fff; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.site-footer strong.lbl + * { margin-top: 2px; }
.site-footer .col strong.lbl:not(:first-child) { margin-top: 10px; }
.site-footer a { color: #DCE4EA; }
.site-footer a:hover { color: #fff; }
.site-footer .copy { border-top: 1px solid #33414F; }
.site-footer .copy .wrap { padding-top: 16px; padding-bottom: 24px; font-size: 13px; color: #AEBBC6; }

/* ---------- botão flutuante do WhatsApp (#whatsapp-button) ---------- */
.wa-fab { position: fixed; right: 24px; bottom: 24px; z-index: 30; display: flex; align-items: center; min-height: 60px; padding: 0 8px; border-radius: 999px; background: var(--wa); color: #0B2E17; text-decoration: none; font: 700 15px var(--text); box-shadow: 0 8px 24px rgba(23,34,45,.28); transition: padding .3s var(--ease); }
.wa-fab:hover, .wa-fab:focus-visible { padding-right: 22px; color: #0B2E17; }
.wa-fab .wa-ico { width: 44px; height: 44px; flex: none; display: flex; align-items: center; justify-content: center; }
.wa-fab .wa-txt { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .3s var(--ease); }
.wa-fab:hover .wa-txt, .wa-fab:focus-visible .wa-txt { max-width: 220px; margin-left: 8px; }
@media (max-width: 640px) { .wa-fab { right: 16px; bottom: 16px; } }
@media (prefers-reduced-motion: reduce) { .wa-fab, .wa-fab .wa-txt { transition: none; } }

/* ---------- gaveta do orçamento ---------- */
.quote-backdrop { position: fixed; inset: 0; z-index: 40; background: rgba(23,34,45,.5); opacity: 0; pointer-events: none; transition: opacity .3s var(--ease); }
.quote-drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 41; width: min(480px, 100%); background: var(--ground); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .35s var(--ease); box-shadow: -12px 0 40px rgba(23,34,45,.25); visibility: hidden; }
.quote-open .quote-backdrop { opacity: 1; pointer-events: auto; }
.quote-open .quote-drawer { transform: none; visibility: visible; }
.quote-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .quote-backdrop, .quote-drawer { transition: none; } }
.qd-head { background: var(--blue); color: #fff; border-bottom: 6px solid var(--navy); padding: 16px 18px; display: flex; align-items: center; gap: 12px; }
.qd-head .t { flex: 1; }
.qd-head .t strong { display: block; font-family: var(--display); font-stretch: 72%; font-size: 30px; font-weight: 800; text-transform: uppercase; line-height: 1; }
.qd-head .t span { font-size: 13px; color: #E6F2F8; }
.qd-close { width: 44px; height: 44px; border-radius: 10px; border: 1px solid rgba(255,255,255,.5); background: transparent; color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.qd-body { flex: 1; overflow-y: auto; padding: 6px 18px 18px; }
.qd-empty { padding: 40px 6px; text-align: center; color: var(--muted); }
.qd-item { display: flex; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.qd-item img { width: 60px; height: 60px; object-fit: contain; background: #fff; border-radius: 10px; border: 1px solid var(--line-2); flex: none; }
.qd-item .info { flex: 1; min-width: 0; }
.qd-item .info a { display: block; color: var(--ink); font-weight: 700; font-size: 14px; line-height: 1.25; text-decoration: none; }
.qd-item .info span { font-size: 12px; color: var(--muted); }
.qd-item .stepper button { width: 36px; height: 40px; font-size: 18px; }
.qd-item .stepper input { width: 40px; height: 40px; font-size: 15px; }
.qd-remove { width: 40px; height: 40px; border: 0; background: transparent; color: var(--muted); cursor: pointer; border-radius: 8px; }
.qd-remove:hover { color: #B42318; background: #FDECEA; }
.qd-foot { padding: 14px 18px 20px; border-top: 1px solid var(--line); background: var(--ground); display: flex; flex-direction: column; gap: 8px; }
.qd-foot .note { font-size: 12px; color: var(--muted); text-align: center; }
.qd-step { font-size: 13px; font-weight: 700; color: var(--link); text-transform: uppercase; letter-spacing: .06em; margin: 14px 0 6px; }
.qd-link { background: none; border: 0; color: var(--link); text-decoration: underline; cursor: pointer; font-weight: 600; min-height: 40px; }
.qd-body .fields { margin-top: 8px; }
.qd-body .field input, .qd-body .field textarea { min-height: 44px; padding: 10px 12px; }

/* ---------- compatibilidade: páginas pouco usadas (marcas, mapa do site, informação, manutenção) ---------- */
.legacy .row { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.legacy .row > [class*="col-"] { flex: 1 1 200px; }
.legacy .breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 20px; list-style: none; font-size: 14px; }
.legacy .breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--muted); }
.legacy h1 { font-family: var(--display); font-stretch: 72%; font-size: clamp(36px, 4vw, 56px); font-weight: 800; text-transform: uppercase; color: var(--blue); margin-bottom: 20px; }
.legacy ul { padding-left: 20px; }
.legacy .btn, .legacy .btn-primary { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 10px; background: var(--blue); color: #fff; font-weight: 700; text-decoration: none; }

/* módulo html dentro da página Empresa */
.emp .mod-html { padding: 0; }
.emp .mod-html .wrap { padding: 0; max-width: none; }
.emp .mod-html .wrap > * { max-width: none; }

/* gaveta: excluir todos os itens e validade da lista */
.qd-steprow { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 8px 0 2px; }
.qd-steprow .qd-step { margin: 0; }
.qd-trash { width: 44px; height: 44px; flex: none; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--muted); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.qd-trash:hover, .qd-trash[aria-expanded="true"] { color: #B42318; border-color: #F3B8B2; background: #FDECEA; }
.qd-confirm { margin: 10px 0 6px; padding: 14px; border: 1px solid #F3B8B2; background: #FDECEA; border-radius: 12px; color: #7A1A12; font-size: 14px; }
.qd-confirm p { margin: 0 0 12px; }
.qd-confirm-actions { display: flex; gap: 8px; justify-content: flex-end; }
.btn-danger { min-height: 44px; padding: 0 18px; border: 0; border-radius: 10px; background: #B42318; color: #fff; font: 700 15px var(--text); cursor: pointer; }
.btn-danger:hover { background: #912018; }
.qd-expired { color: #7A1A12; background: #FDECEA; border-radius: 10px; padding: 10px 12px; }

/* campos obrigatórios e erros */
.field .req { color: #B42318; }
.field .opt { color: var(--muted); font-weight: 400; }
.field-error { color: #B42318; font: 600 13px var(--text); display: flex; align-items: center; gap: 6px; }
.field-error::before { content: "!"; width: 16px; height: 16px; border-radius: 999px; background: #B42318; color: #fff; font-size: 11px; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.field [aria-invalid="true"] { border-color: #B42318; background: #FFF8F7; }
.field [aria-invalid="true"]:focus { outline-color: #B42318; }
.req-note { margin: 0; font-size: 12px; color: var(--muted); }

/* rodapé: redes sociais (Instagram primeiro) */
.site-footer .social { display: flex; flex-direction: column; gap: 4px; }
.site-footer .social a { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; text-decoration: none; }
.site-footer .social a span { text-decoration: underline; text-underline-offset: 3px; }
.site-footer .social a:hover span { color: #fff; }
.site-footer .social svg { flex: none; }

/* cabeçalho: menu ao lado do logo, "Meu orçamento" à direita */
.site-header .main-nav { margin-left: 8px; }
.site-header .quote-btn { margin-left: auto; }
@media (max-width: 900px) {
  .site-header .nav-toggle { margin-left: 0; }
  .site-header .quote-btn { margin-left: auto; padding: 0 12px; gap: 8px; font-size: 14px; }
  .site-header .quote-btn .qb-label { display: inline; }
  .site-header .main-nav { margin: 0; }
}
@media (max-width: 380px) {
  .site-header .wrap { gap: 8px; }
  .brand img { height: 40px; }
  .site-header .quote-btn { padding: 0 10px; gap: 6px; font-size: 13px; }
}
/* celular: sem a barra escura do topo (telefone, WhatsApp e e-mail ficam no rodapé e no botão flutuante) */
@media (max-width: 640px) { .topbar { display: none; } }

/* faixa azul (module/one_featured): botão de orçamento nos dois estados */
.mod-one .btn-solid { background: var(--dark); color: #fff; }
.mod-one .btn-solid:hover { background: var(--navy); color: #fff; }
.mod-one .btn-added { background: var(--tint); color: var(--dark); }

/* lightbox da foto do produto */
.gallery-main { cursor: zoom-in; }
.lb-open { overflow: hidden; }
.lb { position: fixed; inset: 0; z-index: 60; background: rgba(15, 22, 29, .88); display: flex; align-items: center; justify-content: center; padding: 56px 72px; animation: lbIn .25s var(--ease); }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
.lb-fig { margin: 0; max-width: min(900px, 100%); width: 100%; display: flex; flex-direction: column; gap: 10px; }
.lb-frame { background: #fff; border-radius: 14px; padding: 16px; display: flex; align-items: center; justify-content: center; }
.lb-frame img { display: block; max-width: 100%; max-height: calc(100vh - 170px); width: auto; height: auto; object-fit: contain; }
.lb-fig figcaption { display: flex; justify-content: space-between; gap: 16px; color: #E6ECF0; font-size: 14px; }
.lb-title { font-weight: 600; }
.lb-count { color: #AEBBC6; white-space: nowrap; }
.lb-close, .lb-nav { position: absolute; border: 0; background: rgba(251,252,253,.12); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; border-radius: 999px; }
.lb-close { top: 14px; right: 14px; width: 48px; height: 48px; }
.lb-nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; }
.lb-prev { left: 12px; } .lb-next { right: 12px; }
.lb-close:hover, .lb-nav:hover { background: var(--blue); }
@media (max-width: 640px) {
  .lb { padding: 64px 10px 24px; }
  .lb-nav { top: auto; bottom: 18px; transform: none; width: 48px; height: 48px; }
  .lb-prev { left: calc(50% - 60px); } .lb-next { right: calc(50% - 60px); }
  .lb-frame img { max-height: calc(100vh - 220px); }
}
@media (prefers-reduced-motion: reduce) { .lb { animation: none; } }
