:root {
  --ink: #17233b;
  --ink-soft: #55607a;
  --paper: #fbf9f6;
  --white: #fff;
  --line: #e3ddd3;
  --brand: #d9482b;
  --brand-dark: #b53a21;
  --navy: #1b2a4a;
  --blue: #1f5fbf;
  --ok-bg: #e5f4ea;
  --ok: #1d6b3a;
  --err-bg: #fbe9e6;
  --err: #a52a16;
  --info-bg: #e8eefb;
  --r: 10px;
  --gap: 24px;
  --shadow: 0 1px 2px rgb(23 35 59 / .08), 0 6px 18px rgb(23 35 59 / .06);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.55 var(--font); color: var(--ink); background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: var(--brand-dark); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
ul { padding-left: 1.2em; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { max-width: 760px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; top: 8px; }

.h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.h2 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
.h3 { font-size: 1.15rem; }
.lead { color: var(--ink-soft); font-size: 1.05rem; }
.block { padding-block: 32px; }
.block__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }

/* Botões */
.btn, button.btn { display: inline-block; background: var(--brand); color: var(--on-brand, #fff); border: 0; border-radius: var(--r); padding: 12px 22px; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--brand-dark); color: var(--on-brand, #fff); }
.btn--sm { padding: 7px 14px; font-size: .9rem; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--blue); font: inherit; text-decoration: underline; cursor: pointer; }

/* Topbar */
.topbar { background: var(--navy); color: var(--on-navy, #fff); font-size: .85rem; }
.topbar__in { display: flex; justify-content: space-between; gap: 12px; padding-block: 6px; flex-wrap: wrap; }
.topbar a { color: var(--on-navy, #fff); text-decoration: none; margin-left: 14px; }
.topbar__right { display: flex; flex-wrap: wrap; }

/* Header */
.head { background: var(--white); border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.head__in { display: flex; align-items: center; gap: 20px; padding-block: 14px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo__mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--brand); color: var(--on-brand, #fff); font-weight: 800; font-size: 1.3rem; }
.logo__txt { display: flex; flex-direction: column; font-weight: 800; font-size: 1.2rem; line-height: 1; }
.logo__txt small { font-weight: 500; letter-spacing: .18em; text-transform: uppercase; font-size: .62rem; color: var(--ink-soft); margin-top: 3px; }
.search { flex: 1; display: flex; max-width: 520px; }
.search input { flex: 1; min-width: 0; padding: 10px 14px; border: 1px solid var(--line); border-right: 0; border-radius: var(--r) 0 0 var(--r); font: inherit; }
.search button { border: 0; background: var(--brand); color: var(--on-brand, #fff); padding: 0 18px; border-radius: 0 var(--r) var(--r) 0; font: inherit; cursor: pointer; }
.acct { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.acct a { text-decoration: none; color: var(--ink); font-weight: 600; }
.acct form { margin: 0; }
.badge { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px; background: var(--brand); color: var(--on-brand, #fff); font-size: .78rem; }
.burger { display: none; }

.mainnav { border-top: 1px solid var(--line); }
.mainnav__in { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.mainnav a, .dd__btn { padding: 12px 14px; color: var(--ink); text-decoration: none; font-weight: 600; background: none; border: 0; font: inherit; font-weight: 600; cursor: pointer; }
.mainnav a:hover, .dd__btn:hover { color: var(--brand); }
.dd { position: relative; }
.dd__btn::after { content: " ▾"; font-size: .8em; }
.dd__panel { display: none; position: absolute; left: 0; top: 100%; width: min(760px, 92vw); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 0 0 var(--r) var(--r); padding: 16px 20px; max-height: 70vh; overflow: auto; }
.dd.open .dd__panel { display: block; }
.dd__panel ul { list-style: none; margin: 8px 0 0; padding: 0; columns: 3 200px; }
.dd__panel li a { display: block; padding: 5px 0; font-weight: 400; }
.dd__all { font-weight: 700; }

/* Flash */
.flash { margin: 16px 0 0; padding: 12px 16px; border-radius: var(--r); }
.flash--ok { background: var(--ok-bg); color: var(--ok); }
.flash--error { background: var(--err-bg); color: var(--err); }
.flash--info { background: var(--info-bg); color: var(--navy); }

/* Hero */
.hero { position: relative; }
.hero__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.hero__track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: start; color: #fff; }
.slide--brand { background: linear-gradient(120deg, var(--brand), #f08a4b); }
.slide--dark { background: linear-gradient(120deg, #26211d, #5a3d2b); }
.slide--blue { background: linear-gradient(120deg, #123b7a, var(--blue)); }
.slide__in { padding-block: clamp(40px, 8vw, 90px); max-width: 1180px; }
.slide h2 { font-size: clamp(1.8rem, 4.5vw, 3rem); max-width: 14em; }
.slide p { max-width: 34em; font-size: 1.1rem; }
.slide .btn { background: #fff; color: var(--ink); }
.slide .btn:hover { background: var(--paper); color: var(--brand-dark); }
.hero__ctl { position: absolute; right: 16px; bottom: 16px; display: flex; gap: 8px; }
.hero__ctl button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgb(255 255 255 / .9); font-size: 1.4rem; cursor: pointer; }

/* Tiles, chips, grid */
.tiles { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.tile { display: grid; place-items: center; text-align: center; min-height: 110px; padding: 16px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 700; transition: transform .15s, box-shadow .15s; }
.tile:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--brand-dark); }
.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: inline-block; padding: 6px 14px; border-radius: 99px; background: var(--white); border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: .92rem; }
.chips a:hover { border-color: var(--brand); color: var(--brand-dark); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: var(--gap); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 12px; }
.card__link { text-decoration: none; color: inherit; display: block; }
.card__name { font-size: 1rem; margin: 12px 0 4px; }
.card__meta { color: var(--ink-soft); font-size: .86rem; margin: 0; }
.ph { position: relative; display: grid; place-items: center; aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: color-mix(in srgb, var(--ph, #8f8f8f) 14%, #f3eee6); }
.ph span { font-size: 3.2rem; font-weight: 800; color: color-mix(in srgb, var(--ph, #8f8f8f) 80%, #000); opacity: .85; }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph--lg span { font-size: 7rem; }
.ph--sm { width: 72px; flex: none; }
.ph--sm span { font-size: 1.8rem; }
.tag { position: absolute; top: 8px; left: 8px; background: var(--brand); color: var(--on-brand, #fff); font-style: normal; font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: 99px; }
.dots { display: flex; gap: 5px; margin: 8px 0 0; }
.dots i, .chk i, .swatch i { display: inline-block; width: 14px; height: 14px; border-radius: 50%; background: var(--dot); border: 1px solid rgb(0 0 0 / .25); }

/* Faixas */
.band { background: var(--navy); color: var(--on-navy, #fff); padding-block: 40px; }
.band .h2 { color: var(--on-navy, #fff); }
.about { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.rating { text-align: center; margin: 0; }
.rating strong { display: block; font-size: 3.4rem; line-height: 1; }
.clients { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.clients li { padding: 10px 20px; border: 1px dashed var(--line); border-radius: var(--r); background: var(--white); font-weight: 700; color: var(--ink-soft); }
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--gap); }
.quote { margin: 0; padding: 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); }
.quote blockquote { margin: 8px 0; }
.quote figcaption { color: var(--ink-soft); font-size: .88rem; }
.stars { color: #e5a400; margin: 0; letter-spacing: 2px; }

/* Listagem */
.crumbs { font-size: .88rem; color: var(--ink-soft); margin-bottom: 12px; }
.filters { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; margin-block: 16px; }
.filters fieldset { border: 0; padding: 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.filters legend { font-weight: 700; margin-bottom: 6px; padding: 0; }
.filters__row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.chk, .swatch { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
select, input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number], input[type=search], textarea { font: inherit; padding: 9px 12px; border: 1px solid #c9c2b6; border-radius: 8px; background: #fff; color: var(--ink); }
.count { color: var(--ink-soft); }
.empty { background: var(--white); border: 1px dashed var(--line); border-radius: var(--r); padding: 28px; text-align: center; }
.pager { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 28px; }
.pager a { min-width: 40px; text-align: center; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); text-decoration: none; }
.pager a[aria-current] { background: var(--brand); color: var(--on-brand, #fff); border-color: var(--brand); }

/* Produto */
.pdp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.specs { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 16px 0; }
.specs dt { font-size: .8rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .05em; }
.specs dd { margin: 0; font-weight: 600; }
.buy { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; margin-block: 18px; }
.buy fieldset { border: 0; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 8px 16px; }
.buy legend { font-weight: 700; margin-bottom: 8px; padding: 0; }
.qtys { display: flex; gap: 10px; flex-wrap: wrap; }
.qtys input { width: 110px; }
.pers dt { font-weight: 700; margin-top: 10px; }
.pers dd { margin: 2px 0 0; color: var(--ink-soft); }

/* Formulários, carrinho, tabelas */
.stack { display: grid; gap: 14px; max-width: 520px; margin-block: 18px; }
.stack label { display: grid; gap: 6px; font-weight: 600; }
.stack input, .stack textarea { width: 100%; }
.err { color: var(--err); margin: -8px 0 0; font-size: .9rem; }
.lines { list-style: none; padding: 0; margin: 0 0 24px; }
.line { display: flex; gap: 16px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line p { margin: 2px 0; }
.line form { margin-left: auto; }
.line--plain { display: block; }
.tbl { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); }
.tbl th, .tbl td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.post { padding-block: 14px; border-bottom: 1px solid var(--line); }
.prose p { max-width: 65ch; }

/* Rodapé */
.foot { background: var(--navy); color: color-mix(in srgb, var(--on-navy, #fff) 80%, transparent); margin-top: 40px; padding-top: 36px; }
.foot h2 { color: var(--on-navy, #fff); font-size: 1.05rem; }
.foot a { color: var(--on-navy, #fff); }
.foot ul { list-style: none; padding: 0; }
.foot li { margin-bottom: 6px; }
.foot address { font-style: normal; line-height: 1.7; }
.foot__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 28px; }
.foot__end { border-top: 1px solid rgb(255 255 255 / .15); margin-top: 28px; padding-block: 16px; font-size: .86rem; }
.nl { display: flex; gap: 6px; }
.nl input { flex: 1; min-width: 0; }
.nl button { background: var(--brand); color: var(--on-brand, #fff); border: 0; border-radius: 8px; padding: 0 16px; font: inherit; font-weight: 600; cursor: pointer; }

/* Mobile */
@media (max-width: 860px) {
  .head__in { flex-wrap: wrap; gap: 12px; }
  .search { order: 5; flex-basis: 100%; max-width: none; }
  .burger { display: inline-block; margin-left: 4px; padding: 8px 14px; border: 1px solid var(--line); background: var(--white); border-radius: 8px; font: inherit; font-weight: 600; }
  .acct { margin-left: auto; order: 2; }
  .burger { order: 3; margin-left: 0; }
  .mainnav { display: none; }
  .mainnav.open { display: block; }
  .mainnav__in { flex-direction: column; align-items: stretch; }
  .dd__panel { position: static; width: auto; box-shadow: none; border: 0; padding: 0 14px 10px; }
  .pdp, .about { grid-template-columns: 1fr; }
  .ph--lg span { font-size: 5rem; }
  .line { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ---- Hero com imagem / introdução ---- */
.slide { position: relative; overflow: hidden; }
.slide__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide:has(.slide__img)::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(0 0 0 / .55), rgb(0 0 0 / .05)); }
.slide__in { position: relative; z-index: 1; }
.intro { padding-top: 28px; }
.intro .lead { max-width: 62ch; margin: 0; }

/* ---- Anti-spam ---- */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cap { background: #f1ede6; border: 1px dashed #c9c2b6; border-radius: 8px; padding: 12px 14px; }
.cap input[type=text] { width: 7em; }
.cap small { font-weight: 400; color: var(--ink-soft); }

/* ---- Contato / avisos / pílulas ---- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.contact-side { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.notice { border-radius: var(--r); padding: 14px 16px; margin-block: 14px; }
.notice--ok { background: var(--ok-bg); color: var(--ok); }
.pill { display: inline-block; padding: 2px 10px; border-radius: 99px; background: #e8eefb; color: var(--navy); font-size: .82rem; font-weight: 700; }
.pill--em-analise { background: #fff1cc; color: #7a5a00; }
.pill--orcamento-enviado { background: #dff0ff; color: #0b4a85; }
.pill--aprovado { background: var(--ok-bg); color: var(--ok); }
.pill--cancelado { background: var(--err-bg); color: var(--err); }

/* ---- Botão WhatsApp ---- */
.btn--wa { background: var(--wa, #1fa855); color: #fff; }
.btn--wa:hover { background: color-mix(in srgb, var(--wa, #1fa855) 82%, #000); color: #fff; }
.contact-side .btn--wa, .notice .btn--wa { margin-left: 0; }
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: inline-flex; align-items: center; gap: 10px; background: var(--wa, #1fa855); color: #fff; text-decoration: none; font-weight: 700; padding: 12px 18px 12px 14px; border-radius: 99px; box-shadow: 0 6px 20px rgb(0 0 0 / .28); animation: wa-bounce 3.2s ease-in-out infinite; }
.wa-float:hover, .wa-float:focus-visible { background: #178a45; color: #fff; animation-play-state: paused; transform: scale(1.05); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid #1fa855; animation: wa-pulse 2s ease-out infinite; z-index: -1; }
@keyframes wa-pulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.5); opacity: 0; } }
@keyframes wa-bounce { 0%, 88%, 100% { transform: translateY(0); } 92% { transform: translateY(-8px); } 96% { transform: translateY(0); } 98% { transform: translateY(-3px); } }
@media (max-width: 560px) { .wa-float { right: 14px; bottom: 14px; padding: 13px; } .wa-float__txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }
@media (prefers-reduced-motion: reduce) { .wa-float, .wa-float::before { animation: none !important; } }

/* Anexo de arte no carrinho */
.line:has(.art) { flex-wrap: wrap; }
.art { order: 9; flex: 1 1 100%; margin-top: 8px; padding-top: 10px; border-top: 1px dashed var(--line); }
.line .art form { margin-left: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: end; }
.art__lbl { display: grid; gap: 4px; font-weight: 600; font-size: 14px; }
.art__lbl small { font-weight: 400; color: var(--ink-soft); }
.logo__img { display: block; height: 44px; width: auto; max-width: 220px; object-fit: contain; }
.price { margin: 2px 0 0; font-weight: 700; color: var(--brand-dark); }
.price small { font-weight: 400; color: var(--ink-soft); }
.price--lg { font-size: 1.5rem; margin: 6px 0 12px; }
[hidden] { display: none !important; }

/* seta para voltar ao topo (fica acima do botão do WhatsApp) */
.to-top { position: fixed; right: 22px; bottom: 86px; z-index: 59; width: 46px; height: 46px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--navy); color: var(--on-navy, #fff); cursor: pointer; box-shadow: 0 6px 18px rgb(0 0 0 / .28); opacity: 0; transform: translateY(8px); transition: opacity .2s, transform .2s, background .15s; }
.to-top.is-on { opacity: 1; transform: none; }
.to-top:hover, .to-top:focus-visible { background: var(--brand); outline: 3px solid #fff; outline-offset: -3px; }
.to-top[hidden] { display: none; }
@media (max-width: 600px) { .to-top { right: 16px; bottom: 80px; } }
@media print { .to-top { display: none; } }


/* =================== V5 =================== */
.btn--ghost { background: transparent; color: var(--brand-dark); border: 2px solid var(--brand); }
.btn--ghost:hover { background: var(--brand); color: var(--on-brand, #fff); }
.muted { color: var(--ink-soft); }
.field { display: grid; gap: 6px; font-weight: 600; margin-bottom: 14px; }
.field select, .field input { width: 100%; max-width: 420px; font-weight: 400; }
.topbar__in > span:first-child { opacity: .9; }

/* Hero com banner só imagem */
.slide--img { position: relative; aspect-ratio: 1920 / 520; background: var(--navy); }
.slide--img a { display: block; height: 100%; }
.slide--img .slide__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide--img::after { display: none; }
@media (max-width: 640px) { .slide--img { aspect-ratio: 16 / 7; } }

/* Introdução da home */
.intro-hero { background: var(--white); border-bottom: 1px solid var(--line); }
.intro-hero__in { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 36px; align-items: center; padding-block: clamp(28px, 5vw, 56px); }
.intro-hero .lead { font-size: 1.12rem; max-width: 60ch; }
.intro-hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 10px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 10px 14px; }
.steps li::before { content: counter(s); grid-row: span 2; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: var(--on-brand, #fff); font-weight: 800; }
.steps span { color: var(--ink-soft); font-size: .9rem; }
@media (max-width: 860px) { .intro-hero__in { grid-template-columns: 1fr; } }

/* Categorias com foto */
.cats { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.cat { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 14px 10px; height: 100%; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .15s, border-color .15s; }
.cat:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--brand); color: var(--ink); }
.cat__img { width: 110px; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--paper); display: block; }
.cat__img img { width: 100%; height: 100%; object-fit: cover; }
.cat__name { font-weight: 700; line-height: 1.25; margin-top: 6px; }
.cat__n { font-size: .8rem; color: var(--ink-soft); }

.perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.perks li { padding: 10px 14px 10px 38px; position: relative; background: rgb(255 255 255 / .08); border-radius: var(--r); }
.perks li::before { content: "✓"; position: absolute; left: 14px; top: 9px; font-weight: 800; color: var(--brand); }

/* FAQ */
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 8px; }
.faq summary { cursor: pointer; padding: 14px 16px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--brand); }
.faq details[open] summary::after { content: "–"; }
.faq summary h2, .faq summary h3 { font-size: 1rem; margin: 0; }
.faq details p { margin: 0; padding: 0 16px 16px; color: var(--ink-soft); }

/* Listagem */
.lead--intro p { margin: 0 0 8px; max-width: 75ch; }
.chips small { color: var(--ink-soft); font-size: .78em; }
.filters__colors summary { cursor: pointer; font-weight: 700; margin-bottom: 8px; }
.filters__row .count { margin-right: auto; font-weight: 600; }
.pager span { padding: 8px 4px; color: var(--ink-soft); }
.seo-text { margin-top: 40px; padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); color: var(--ink-soft); }
.seo-text p { max-width: 85ch; }
.seo-text h2 { color: var(--ink); }
.dots small { font-size: .75rem; color: var(--ink-soft); }
.card { transition: box-shadow .15s, border-color .15s; display: flex; flex-direction: column; }
.card:hover { box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); }
.card__name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.5em; }
.ph { background: #fff; }
.ph img { object-fit: contain; }
@media (max-width: 520px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .card { padding: 8px; } .card__name { font-size: .92rem; } }

/* Produto */
.gallery { min-width: 0; }
.ph--lg { border: 1px solid var(--line); }
.thumbs { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.thumbs button { padding: 0; border: 2px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; overflow: hidden; width: 72px; height: 72px; }
.thumbs button[aria-current="true"], .thumbs button:hover { border-color: var(--brand); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }
.badges { list-style: none; padding: 0; margin: 10px 0; display: flex; flex-wrap: wrap; gap: 6px; }
.badges li { background: color-mix(in srgb, var(--brand) 10%, var(--white)); color: var(--brand-dark); border-radius: 99px; padding: 4px 12px; font-size: .85rem; font-weight: 600; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch { border: 1px solid var(--line); border-radius: 99px; padding: 4px 12px 4px 6px; background: var(--white); }
.swatch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.swatch:has(input:checked) { border-color: var(--brand); box-shadow: 0 0 0 2px color-mix(in srgb, var(--brand) 30%, transparent); }
.swatch:has(input:focus-visible) { outline: 3px solid var(--blue); }
.swatch i { width: 18px; height: 18px; }
.buy__cta { display: flex; flex-wrap: wrap; gap: 10px; }
.pdp__info { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.pdp__info .specs { display: grid; gap: 10px; }
@media (max-width: 860px) { .pdp__info { grid-template-columns: 1fr; } }

/* Carrinho / pedido */
.card-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; max-width: none; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
.grid2 label { display: grid; gap: 6px; font-weight: 600; }
.grid2 .err { margin: 0; font-weight: 400; }
@media (max-width: 600px) { .grid2 { grid-template-columns: 1fr; } }
.qtbl { border-collapse: collapse; margin: 6px 0; font-size: .92rem; }
.qtbl th, .qtbl td { padding: 4px 14px 4px 0; text-align: left; }
.qtbl th { color: var(--ink-soft); font-weight: 600; }
.line--plain { display: flex; }
.reply { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 20px; margin-block: 16px; }
.notice { background: var(--info-bg); }
.notice p { margin: 6px 0; }
.pill--pedido-novo { background: #fff1cc; color: #7a5a00; }
.pill--respondido { background: #dff0ff; color: #0b4a85; }
.pill--finalizado { background: var(--ok-bg); color: var(--ok); }

/* Rodapé */
.foot__cols { columns: 2 140px; }
.foot__h2b { margin-top: 18px; }
.social a { margin-right: 10px; }
.prose ul { max-width: 65ch; }

#pdp-img { transition: opacity .35s ease; }
#pdp-img.is-fading { opacity: .15; }
@media (prefers-reduced-motion: reduce) { #pdp-img { transition: none; } }


/* =====================================================================
   V6 — menu de categorias em 3 colunas + responsivo (celular/tablet)
   ===================================================================== */
.ico { display: block; flex: none; }
.acct__me, .cartlink { display: inline-flex; align-items: center; gap: 8px; }
.cartlink { padding: 8px 14px; border-radius: 99px; background: color-mix(in srgb, var(--brand) 10%, var(--white)); color: var(--ink); }
.acct .cartlink:hover { background: color-mix(in srgb, var(--brand) 18%, var(--white)); }
.burger { align-items: center; gap: 8px; }

/* Menu de categorias (mega-menu) */
.dd__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 12px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.dd__head strong { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.mainnav .dd__all { padding: 0; color: var(--brand-dark); font-weight: 700; }
.dd__panel ul.dd__list { list-style: none; margin: 0; padding: 0; columns: 1; column-gap: 28px; }
.dd__list li { break-inside: avoid; }
.mainnav .dd__list a { display: block; padding: 7px 10px; margin: 0 -10px; border-radius: 8px; font-weight: 500; line-height: 1.3; }
.mainnav .dd__list a:hover, .mainnav .dd__list a:focus-visible { background: color-mix(in srgb, var(--brand) 8%, var(--white)); color: var(--brand-dark); }

@media (min-width: 861px) {
  .dd__panel { width: min(940px, calc(100vw - 40px)); padding: 18px 24px 20px; border-radius: 0 0 calc(var(--r) + 4px) calc(var(--r) + 4px); box-shadow: 0 18px 40px -12px rgb(23 35 59 / .28); max-height: min(72vh, 640px); }
  .dd__panel ul.dd__list { columns: 3; }               /* 3 colunas no desktop */
  .dd__btn[aria-expanded="true"], .dd:hover .dd__btn { color: var(--brand); }
  .dd__btn::after { display: inline-block; margin-left: 5px; transition: transform .2s; }
  .dd:hover .dd__btn::after, .dd.open .dd__btn::after { transform: rotate(180deg); }
}
/* abre ao passar o mouse (também funciona sem JS) e por teclado */
@media (hover: hover) and (min-width: 861px) {
  .dd:hover .dd__panel, .dd:focus-within .dd__panel { display: block; }
  .dd__panel { animation: dd-in .16s ease-out; }
}
@keyframes dd-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ---------- Tablet / celular ---------- */
@media (max-width: 860px) {
  body { font-size: 15.5px; }
  .wrap { width: min(1180px, 100% - 28px); }
  .block { padding-block: 22px; }

  /* faixa superior compacta */
  .topbar__msg, .topbar__mail { display: none; }
  .topbar__in { justify-content: center; padding-block: 5px; }
  .topbar a { margin: 0 8px; }

  /* cabeçalho fixo: logo | conta | orçamento | menu ; busca embaixo */
  .head { position: sticky; top: 0; box-shadow: 0 4px 14px -10px rgb(23 35 59 / .35); }
  .head__in { gap: 10px; padding-block: 10px; }
  .logo { min-width: 0; }
  .logo__img { height: 38px; max-width: 150px; }
  .logo__mark { width: 36px; height: 36px; font-size: 1.1rem; }
  .logo__txt { font-size: 1.02rem; }
  .acct { gap: 6px; }
  .acct__me span, .acct__out { display: none; }
  .acct__me { width: 42px; height: 42px; justify-content: center; border-radius: 50%; border: 1px solid var(--line); }
  .cartlink { padding: 8px 12px; }
  .burger { display: inline-flex; height: 42px; padding: 0 12px; color: var(--ink); }
  .search { margin-top: 2px; }
  .search input, .search button { min-height: 44px; }

  /* menu principal em gaveta */
  .mainnav.open { max-height: calc(100vh - 150px); max-height: calc(100dvh - 150px); overflow-y: auto; overscroll-behavior: contain; border-top: 1px solid var(--line); background: var(--white); }
  .mainnav__in { gap: 0; padding-block: 6px 12px; }
  .mainnav__in > a, .dd__btn { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 14px 4px; border-bottom: 1px solid var(--line); text-align: left; }
  .dd__btn::after { transition: transform .2s; }
  .dd.open .dd__btn::after { transform: rotate(180deg); }
  .dd.open .dd__panel { display: block; }
  .dd__panel { padding: 10px 4px 14px; max-height: none; border-bottom: 1px solid var(--line); border-radius: 0; animation: none; }
  .dd__panel ul.dd__list { columns: 2; column-gap: 16px; }
  .dd__head { flex-wrap: wrap; }
  body.nav-open { overflow: hidden; }

  /* formulários: 16px evita o zoom automático do iPhone */
  input, select, textarea { font-size: 16px; }

  /* listagem */
  .filters { padding: 12px; }
  .filters__row { gap: 8px; }
  .filters__row select { flex: 1 1 160px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .chips::-webkit-scrollbar { display: none; }
  .chips li { flex: none; }

  /* produto */
  .pdp { gap: 20px; }
  .thumbs { flex-wrap: nowrap; overflow-x: auto; }
  .thumbs li { flex: none; }
  .buy { padding: 14px; }
  .qtys input { width: auto; flex: 1 1 90px; min-width: 0; }
  .buy__cta .btn { flex: 1 1 220px; text-align: center; }

  /* tabelas largas rolam na horizontal */
  .tbl { display: block; overflow-x: auto; white-space: nowrap; }

  /* carrossel */
  .hero__ctl { right: 10px; bottom: 10px; }
  .hero__ctl button { width: 34px; height: 34px; font-size: 1.1rem; }
}

@media (max-width: 560px) {
  .wrap { width: calc(100% - 24px); }
  .topbar { font-size: .8rem; }
  .cartlink__txt { display: none; }
  .burger span { display: none; }
  .burger { width: 42px; padding: 0; justify-content: center; }
  .slide__in { padding-block: 28px; }
  .slide h2 { font-size: 1.6rem; }
  .slide p { font-size: 1rem; }
  .intro-hero__cta .btn { flex: 1 1 100%; text-align: center; }
  .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cat__img { width: 86px; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .block__head { flex-wrap: wrap; }
  .line { gap: 12px; }
  .line form { margin-left: 0; }
  .card-form { padding: 16px; }
  .nl { flex-wrap: wrap; }
  .nl input, .nl button { flex: 1 1 100%; min-height: 44px; }
  .foot__grid { gap: 22px; }
  .foot__end { padding-bottom: 80px; } /* espaço para o botão do WhatsApp */
}
@media (max-width: 380px) {
  .dd__panel ul.dd__list { columns: 1; }
  .logo__txt small { display: none; }
  .grid { gap: 10px; }
}

/* =====================================================================
   V9 — ganchos dos modelos do site (Site → Modelo do site).
   No visual padrão ficam ocultos; cada assets/modelos/modelo-N.css liga o que usa.
   ===================================================================== */
.home-cats, .home-promos, .svc, .hero-ph { display: none; }
.home-top__in { display: block; }
.mdl-preview { position: sticky; top: 0; z-index: 70; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 10px; padding: 8px 14px; background: #111; color: #fff; font-size: 14px; text-align: center; }
.mdl-preview a { color: #ffd84d; font-weight: 700; }
.search { min-width: 0; }
.search input { width: 100%; }

/* Personalização da imagem do produto (carrinho) */
:root { --mk-accent: var(--brand); --mk-ink: var(--on-brand, #fff); }
.mkline { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 10px; padding: 10px 12px; border: 1px dashed color-mix(in srgb, var(--brand) 45%, var(--line)); border-radius: var(--r, 10px); background: color-mix(in srgb, var(--brand) 5%, var(--white)); }
.mkline__img img { display: block; width: 96px; height: 96px; object-fit: contain; background: #fff; border-radius: 8px; border: 1px solid var(--line); }
.mkline__txt { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; flex: 1; }
.mkline__txt p { margin: 0; }
.foot__dev a { color: inherit; text-decoration: underline; }
@media (max-width: 640px) { .foot__dev { display: block; margin-top: 4px; } .foot__sep { display: none; } }

/* ===== v20.5 — banner inteiro em todos os modelos (sem corte), responsivo =====
   A imagem mantém a proporção original (nada é cortado). Quando o modelo deixa o espaço do banner
   mais alto que a imagem (ex.: ao lado do menu de categorias), o fundo é preenchido com o próprio
   banner desfocado e a imagem fica centralizada. */
.hero .slide.slide--img { position: relative !important; aspect-ratio: auto !important; min-height: 0 !important; height: auto !important;
  display: flex !important; align-items: center; justify-content: center; overflow: hidden; background: var(--navy, #1b2333); }
.hero .slide.slide--img > a { position: relative; z-index: 1; display: block !important; width: 100%; height: auto !important; }
.hero .slide.slide--img .slide__img { position: relative !important; inset: auto !important; z-index: 1; display: block; width: 100% !important;
  height: auto !important; max-height: none !important; min-height: 0 !important; object-fit: contain !important; transform: none !important; }
.hero .slide.slide--img::after { display: none !important; }
.slide__bg { position: absolute; inset: -24px; z-index: 0; background: center / cover no-repeat; filter: blur(22px) saturate(1.15); opacity: .85; pointer-events: none; }
/* modelos que esticam o banner até a altura da coluna ao lado */
.home-top .hero .hero__track { align-items: stretch; }
.home-top .hero .slide.slide--img { height: 100% !important; }

/* ===== v20.6 — catálogos para download (/catalogos), usa as cores do modelo ===== */
.catdl { padding-block: clamp(20px, 4vw, 40px) clamp(32px, 6vw, 64px); }
.catdl .lead { max-width: 60ch; margin-bottom: 24px; }
.catdl__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 22px; }
.catdl__item { display: flex; flex-direction: column; background: var(--white, #fff); border: 1px solid var(--line, #e5e5e5); border-radius: 14px; overflow: hidden; }
.catdl__cover { display: block; aspect-ratio: 4 / 5; background: var(--paper, #f6f6f6); }
.catdl__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.catdl__ph { display: grid; place-items: center; width: 100%; height: 100%; color: var(--brand, #c33); }
.catdl__body { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px 18px; flex: 1; }
.catdl__t { font-size: 1.05rem; margin: 0; color: var(--ink, #222); }
.catdl__d { margin: 0; color: var(--ink-soft, #666); font-size: .92rem; }
.catdl__btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 560px) { .catdl__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .catdl__body { padding: 10px 12px 14px; } .catdl__btn { padding: 9px 12px; font-size: .85rem; } }
