/* Mercadão da Madeira — fusão: recursos do site atual (orçamento, ficha, mostruário, calculadora, FAQ, Instagram,
   assistente) portados de /css/style.css para a nova base. Carregado depois de site.css. */

:root {
  /* cobre da fachada volta como cor de ação; o verde-musgo fica para DOF, selos e "aberto agora" */
  --cobre: #c98a4b;
  --cobre-claro: #e0a86b;
  --cobre-escuro: #9c6430;
  --acento: var(--cobre-escuro);
  --destaque: var(--cobre-claro);
  /* apelidos usados pelas regras portadas */
  --ink: var(--nogueira-900); --ink-2: var(--nogueira-800); --ink-3: var(--nogueira-700);
  --paper: var(--creme); --paper-2: var(--creme-2);
  --gold: var(--cobre); --gold-2: var(--cobre-claro); --gold-deep: var(--cobre-escuro);
  --text: var(--texto); --muted: var(--texto-suave); --on-dark: var(--claro); --on-dark-muted: var(--claro-suave);
  --line: var(--fio); --line-dark: var(--fio-claro);
  --radius: var(--raio); --ease: var(--curva); --serif: var(--serifa); --whatsapp: #25d366;
}
.icon { width: 18px; height: 18px; fill: currentColor; flex: none; }
.btn-cobre, .btn-gold { background: linear-gradient(135deg, var(--cobre-claro), var(--cobre)); color: var(--nogueira-900); box-shadow: 0 12px 30px rgba(201, 138, 75, .3); }
.btn-cobre:hover, .btn-gold:hover { background: linear-gradient(135deg, #ebb57a, var(--cobre-claro)); }
.btn-sm { padding: 10px 18px; font-size: .88rem; }
.btn-line { border-color: var(--fio-claro); color: var(--claro); }
.btn-line:hover { border-color: var(--cobre-claro); color: var(--cobre-claro); }
.btn-dark { background: var(--nogueira-900); color: var(--claro); }
.btn-dark .icon { color: var(--cobre-claro); }
.btn-dark:hover { background: var(--nogueira-700); }
.titulo em { color: var(--cobre-escuro); }

/* ---------- Destaques ---------- */
.destaques-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.destaque { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; color: var(--on-dark); background: var(--ink-2); isolation: isolate; }
.destaque img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.destaque::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,16,13,0) 35%, rgba(20,16,13,.92) 100%); }
.destaque:hover img { transform: scale(1.06); }
.destaque-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px; }
.destaque-kicker { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-2); font-weight: 700; }
.destaque h3 { font-family: var(--serif); font-weight: 500; font-size: 1.55rem; margin: 6px 0 8px; line-height: 1.15; }
.destaque-preco { font-size: 1.5rem; font-weight: 700; margin: 0 0 14px; }
.destaque-preco small { font-size: .82rem; font-weight: 600; color: var(--on-dark-muted); }
.destaque-link { font-weight: 700; font-size: .9rem; color: var(--gold-2); border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.nota-precos { font-size: .82rem; color: var(--muted); margin: 22px 0 0; }

/* ---------- Catálogo ---------- */
.produtos-busca { position: relative; width: min(340px, 100%); }
.produtos-busca input { width: 100%; padding: 14px 18px 14px 46px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font: inherit; font-size: .95rem; color: var(--text); }
.produtos-busca input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201,138,75,.15); }
.busca-icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 18px; fill: var(--muted); }
.filtros { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 52px; }
.filtro { border: 1px solid var(--line); background: transparent; color: var(--text); padding: 9px 18px; border-radius: 999px; font: inherit; font-weight: 600; font-size: .88rem; cursor: pointer; transition: all .2s; }
.filtro:hover { border-color: var(--gold); }
.filtro.is-active { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.filtro small { opacity: .55; margin-left: 4px; font-weight: 600; }
.produtos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 26px; }
.produto-card { background: #fff; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s; }
.produto-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(33, 26, 20, .12); }
.produto-card.is-hidden { display: none; }
.produto-media { position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--paper-2); }
.produto-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.produto-card:hover .produto-media img { transform: scale(1.05); }
.produto-selo { position: absolute; top: 14px; left: 14px; background: var(--ink); color: var(--gold-2); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; padding: 7px 12px; border-radius: 999px; }
.produto-preco { position: absolute; right: 14px; bottom: 14px; background: rgba(255,255,255,.94); color: var(--ink); font-weight: 700; font-size: .9rem; padding: 8px 12px; border-radius: 10px; }
.produto-body { padding: 22px 22px 20px; display: flex; flex-direction: column; flex: 1; }
.produto-cat { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; margin-bottom: 6px; }
.produto-body h3 { font-family: var(--serif); font-weight: 500; font-size: 1.3rem; line-height: 1.2; margin-bottom: 8px; }
.produto-body p { color: var(--muted); font-size: .92rem; margin-bottom: 14px; }
.produto-specs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; padding: 0; list-style: none; }
.produto-specs li { font-size: .75rem; font-weight: 600; color: var(--text); background: var(--paper); border: 1px solid var(--line); padding: 4px 10px; border-radius: 999px; }
.produto-actions { margin-top: auto; display: flex; gap: 8px; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--line); }
.produto-link { font-weight: 700; font-size: .88rem; color: var(--gold-deep); }
.produto-link:hover { color: var(--ink); }
.produto-add { border: 1px solid var(--line); background: transparent; border-radius: 999px; padding: 8px 14px; font: inherit; font-size: .8rem; font-weight: 700; cursor: pointer; color: var(--text); transition: all .2s; }
.produto-add:hover { border-color: var(--gold); }
.produto-add.is-active { background: var(--ink); color: var(--gold-2); border-color: var(--ink); }
.produtos-vazio { text-align: center; color: var(--muted); padding: 30px 0; }
.produtos-vazio a { color: var(--gold-deep); font-weight: 700; }

/* ---------- Barra do orçamento ---------- */
.orcamento-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; background: rgba(20,16,13,.95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: var(--on-dark); padding: 14px 0; border-top: 1px solid var(--line-dark); }
.orcamento-bar[hidden] { display: none; }
.orcamento-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.orcamento-info { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.orcamento-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold-2); box-shadow: 0 0 0 5px rgba(224,168,107,.2); }
.orcamento-limpar { background: none; border: 0; color: var(--on-dark-muted); text-decoration: underline; cursor: pointer; font: inherit; font-size: .85rem; }

/* ---------- Instagram ---------- */
.insta-chip { display: inline-flex; align-items: center; gap: 8px; color: var(--on-dark); font-weight: 700; font-size: .92rem; padding: 10px 6px; border-bottom: 1px solid transparent; }
.insta-chip .icon { color: var(--gold-2); }
.insta-chip:hover { color: var(--gold-2); border-bottom-color: var(--gold-2); }
.insta-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.insta-item { position: relative; display: block; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--paper-2); }
.insta-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.insta-item::after { content: ""; position: absolute; inset: 0; background: rgba(20,16,13,.45) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f1e8da'%3E%3Cpath d='M12 7.3A4.7 4.7 0 1 0 12 16.7 4.7 4.7 0 0 0 12 7.3zm0 7.7a3 3 0 1 1 0-6 3 3 0 0 1 0 6zm6-7.9a1.1 1.1 0 1 1-2.2 0 1.1 1.1 0 0 1 2.2 0z'/%3E%3C/svg%3E") center / 34px no-repeat; opacity: 0; transition: opacity .3s; }
.insta-item:hover img { transform: scale(1.06); }
.insta-item:hover::after { opacity: 1; }

/* ---------- Selos ---------- */
.selos { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.selos li { font-size: .78rem; font-weight: 700; color: var(--gold-deep); border: 1px solid rgba(156,100,48,.35); background: rgba(201,138,75,.08); padding: 7px 12px; border-radius: 999px; }
.selos li::before { content: "✓ "; }

/* ---------- Interações ---------- */
body.sem-scroll { overflow: hidden; }
.btn-outline { border-color: var(--line); color: var(--text); background: transparent; }
.btn-outline:hover { border-color: var(--gold); color: var(--gold-deep); }
.btn[aria-disabled="true"], .btn:disabled { opacity: .45; pointer-events: none; }
.fechar { position: absolute; top: 14px; right: 14px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.9); font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--ink); z-index: 3; }
.fechar:hover { background: #fff; color: var(--gold-deep); }
.campo { display: grid; gap: 6px; font-size: .82rem; font-weight: 700; color: var(--muted); }
.campo input, .campo select, .campo textarea { font: inherit; font-size: 1rem; font-weight: 600; color: var(--text); background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; width: 100%; }
.campo textarea { font-weight: 500; font-size: .92rem; resize: vertical; }
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201,138,75,.15); }
.campo input[type="range"] { padding: 0; border: 0; background: none; box-shadow: none; accent-color: var(--gold-deep); height: 28px; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: #fff; overflow: hidden; }
.stepper button { width: 40px; height: 40px; border: 0; background: none; font-size: 1.2rem; cursor: pointer; color: var(--text); }
.stepper button:hover { background: var(--paper); color: var(--gold-deep); }
.stepper input { width: 64px; text-align: center; border: 0; font: inherit; font-weight: 700; font-size: 1rem; -moz-appearance: textfield; background: none; color: var(--text); }
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.stepper-sm button { width: 32px; height: 32px; }
.stepper-sm input { width: 52px; font-size: .92rem; }
.produto-media { border: 0; padding: 0; margin: 0; width: 100%; cursor: zoom-in; font: inherit; display: block; }
.produto-ver { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -40%); opacity: 0; background: rgba(20,16,13,.78); color: var(--on-dark); font-weight: 700; font-size: .82rem; padding: 10px 16px; border-radius: 999px; transition: all .3s var(--ease); backdrop-filter: blur(6px); }
.produto-media:hover .produto-ver, .produto-media:focus-visible .produto-ver { opacity: 1; transform: translate(-50%, -50%); }
.produto-card.entrou { animation: entrou .45s var(--ease) both; }
@keyframes entrou { from { opacity: 0; transform: translateY(12px) scale(.98); } }

/* ---------- Mostruário ---------- */
.most-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; align-items: stretch; }
.most-stage { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 560px; background: var(--ink); }
.most-foto, .most-foto img { position: absolute; inset: 0; width: 100%; height: 100%; }
.most-foto img { object-fit: cover; transition: opacity .35s var(--ease), transform 1.2s var(--ease); }
.most-foto img.trocando { opacity: 0; transform: scale(1.04); }
.most-stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,16,13,.92) 0%, rgba(20,16,13,.55) 45%, rgba(20,16,13,0) 75%); pointer-events: none; }
.most-info { position: relative; z-index: 2; max-width: 420px; padding: 44px; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; min-height: 560px; }
.most-tom { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2); font-weight: 700; }
.most-info h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1.05; margin: 8px 0 14px; }
.most-info p { color: var(--on-dark-muted); }
.most-usos { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.most-usos li { font-size: .75rem; font-weight: 700; border: 1px solid var(--line-dark); padding: 5px 11px; border-radius: 999px; }
.most-preco { font-size: 1.6rem; font-weight: 700; color: var(--gold-2); margin: 0 0 18px; display: grid; }
.most-preco small { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-muted); font-weight: 700; }
.most-acoes { display: flex; gap: 10px; flex-wrap: wrap; }
.most-swatches { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-content: start; }
.swatch { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 16px; border: 1px solid var(--line-dark); background: rgba(255,255,255,.02); color: var(--on-dark); cursor: pointer; text-align: left; font: inherit; transition: all .25s var(--ease); }
.swatch:hover { border-color: rgba(224,168,107,.5); transform: translateY(-2px); }
.swatch.is-active { border-color: var(--gold-2); background: rgba(224,168,107,.08); }
.swatch-tex { width: 58px; height: 58px; border-radius: 50%; background-size: cover; background-position: center; flex: none; box-shadow: inset 0 0 0 2px rgba(255,255,255,.12), 0 8px 18px rgba(0,0,0,.35); transition: transform .3s var(--ease); }
.swatch.is-active .swatch-tex { transform: scale(1.08); box-shadow: 0 0 0 2px var(--ink-2), 0 0 0 4px var(--gold-2); }
.swatch-txt { display: grid; line-height: 1.25; }
.swatch-txt strong { font-family: var(--serif); font-weight: 500; font-size: 1.1rem; }
.swatch-txt small { color: var(--on-dark-muted); font-size: .78rem; }

/* ---------- Calculadora ---------- */
.calc-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: start; }
.calc-lead { color: var(--muted); font-size: 1.05rem; margin: 18px 0 24px; }
.calc-dicas { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.calc-dicas li { color: var(--muted); padding-left: 22px; position: relative; }
.calc-dicas li::before { content: ""; position: absolute; left: 0; top: .6em; width: 10px; height: 10px; border-radius: 3px; background: var(--gold); transform: rotate(45deg); }
.calc-dicas strong { color: var(--text); }
.calc-card { background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: 32px; display: grid; gap: 18px; box-shadow: 0 30px 60px rgba(33,26,20,.1); }
.calc-modo { display: grid; grid-template-columns: 1fr 1fr; background: var(--paper-2); border-radius: 999px; padding: 4px; }
.calc-modo[hidden] { display: none; }
.calc-modo button { border: 0; background: none; border-radius: 999px; padding: 10px; font: inherit; font-weight: 700; font-size: .86rem; color: var(--muted); cursor: pointer; transition: all .25s; }
.calc-modo button.is-active { background: #fff; color: var(--ink); box-shadow: 0 4px 12px rgba(33,26,20,.1); }
.calc-campos { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: end; }
.calc-campos[hidden] { display: none; }
.calc-x { font-family: var(--serif); font-size: 1.5rem; color: var(--muted); padding-bottom: 12px; }
.campo-full { grid-column: 1 / -1; }
.calc-resultado { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--ink); color: var(--on-dark); border-radius: 18px; overflow: hidden; }
.calc-resultado div { padding: 18px 16px; display: grid; gap: 4px; }
.calc-resultado div + div { border-left: 1px solid var(--line-dark); }
.calc-resultado span { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-muted); font-weight: 700; }
.calc-resultado strong { font-family: var(--serif); font-weight: 500; font-size: 1.35rem; transition: color .3s; }
.calc-resultado.tem-valor .calc-estimativa strong { color: var(--gold-2); }
.calc-obs { font-size: .78rem; color: var(--muted); margin: -6px 0 0; }
.calc-obs[hidden] { display: none; }
.calc-acoes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.faq-lead { color: var(--muted); margin-top: 16px; }
.faq-lead a { color: var(--gold-deep); font-weight: 700; }
.faq-lista details { border-top: 1px solid var(--line); }
.faq-lista details:last-child { border-bottom: 1px solid var(--line); }
.faq-lista summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; font-family: var(--serif); font-size: 1.2rem; position: relative; }
.faq-lista summary::-webkit-details-marker { display: none; }
.faq-lista summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-family: var(--sans); font-size: 1.1rem; color: var(--gold-deep); transition: transform .3s var(--ease), background .3s; }
.faq-lista details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--ink); color: var(--gold-2); border-color: var(--ink); }
.faq-lista details p { color: var(--muted); margin: 0 0 22px; max-width: 620px; animation: entrou .35s var(--ease); }

/* ---------- Ficha e painel ---------- */
.modal, .painel, .lightbox { position: fixed; inset: 0; z-index: 200; }
.modal[hidden], .painel[hidden], .lightbox[hidden] { display: none; }
.modal-fundo, .painel-fundo { position: absolute; inset: 0; background: rgba(14,11,9,.62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .25s; }
.is-open .modal-fundo, .is-open .painel-fundo { opacity: 1; }
.modal-caixa { position: relative; margin: 5vh auto; width: min(960px, calc(100% - 32px)); max-height: 90vh; overflow: auto; background: var(--paper); border-radius: 24px; opacity: 0; transform: translateY(20px) scale(.98); transition: all .3s var(--ease); }
.is-open .modal-caixa { opacity: 1; transform: none; }
.ficha-caixa { display: grid; grid-template-columns: 1fr 1fr; }
.ficha-media { background: var(--paper-2); min-height: 420px; }
.ficha-media img { width: 100%; height: 100%; object-fit: cover; }
.ficha-body { padding: 44px 38px; display: flex; flex-direction: column; }
.ficha-body h2 { font-family: var(--serif); font-weight: 500; font-size: 2rem; line-height: 1.1; margin-bottom: 10px; }
.ficha-preco { font-size: 1.5rem; font-weight: 700; color: var(--gold-deep); margin-bottom: 14px; }
.ficha-preco.sem-preco { font-size: 1rem; color: var(--muted); }
.ficha-body > p { color: var(--muted); }
.ficha-qtd { display: flex; align-items: center; gap: 12px; margin: 8px 0 22px; font-weight: 700; font-size: .88rem; color: var(--muted); flex-wrap: wrap; }
.ficha-acoes { display: grid; gap: 10px; margin-top: auto; }
.ficha-acoes [hidden] { display: none; }

/* painel do orçamento */
.painel-caixa { position: absolute; top: 0; right: 0; bottom: 0; width: min(460px, 100%); background: var(--paper); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .35s var(--ease); box-shadow: -30px 0 60px rgba(0,0,0,.25); }
.is-open .painel-caixa { transform: none; }
.painel-topo { position: relative; padding: 28px 28px 18px; border-bottom: 1px solid var(--line); }
.painel-topo h2 { font-family: var(--serif); font-weight: 500; font-size: 1.8rem; }
.painel-topo .eyebrow { margin-bottom: 4px; }
.painel-topo .fechar { top: 24px; right: 22px; }
.painel-itens { list-style: none; margin: 0; padding: 8px 28px; overflow: auto; flex: 1; }
.painel-item { display: grid; grid-template-columns: 56px 1fr auto; grid-template-areas: "img info rm" "img qtd qtd"; gap: 6px 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: center; }
.painel-item img { grid-area: img; width: 56px; height: 70px; object-fit: cover; border-radius: 10px; align-self: start; }
.item-info { grid-area: info; display: grid; gap: 2px; }
.item-info strong { font-size: .95rem; }
.item-info small { color: var(--muted); font-size: .78rem; }
.item-sub { font-size: .82rem; font-weight: 700; color: var(--gold-deep); }
.item-sub-consulta { color: var(--muted); font-weight: 600; }
.item-qtd { grid-area: qtd; display: flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--muted); font-weight: 700; }
.item-remover { grid-area: rm; border: 0; background: none; font-size: 1.4rem; color: var(--muted); cursor: pointer; align-self: start; }
.item-remover:hover { color: #b0452f; }
.painel-vazio { padding: 30px 28px; color: var(--muted); }
.painel-vazio[hidden] { display: none; }
.painel-rodape { padding: 18px 28px 26px; border-top: 1px solid var(--line); display: grid; gap: 12px; background: var(--paper-2); }
.painel-total { display: flex; justify-content: space-between; align-items: baseline; }
.painel-total:empty { display: none; }
.painel-total span { font-size: .8rem; color: var(--muted); font-weight: 700; }
.painel-total strong { font-family: var(--serif); font-size: 1.6rem; font-weight: 500; }
.painel-rodape .orcamento-limpar { color: var(--muted); justify-self: center; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 30px); background: var(--ink); color: var(--on-dark); padding: 12px 20px; border-radius: 999px; font-weight: 700; font-size: .9rem; box-shadow: 0 16px 40px rgba(0,0,0,.3); opacity: 0; pointer-events: none; transition: all .3s var(--ease); z-index: 250; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
body.tem-orcamento .toast { bottom: 96px; }

/* ---------- Responsivo (portado) ---------- */
@media (max-width: 1024px) {
  .most-grid, .calc-grid, .faq-grid { grid-template-columns: 1fr; gap: 28px; }
  .most-swatches { grid-template-columns: repeat(3, 1fr); order: -1; }
  .ficha-caixa { grid-template-columns: 1fr; }
  .ficha-media { min-height: 0; aspect-ratio: 4/3; }
}
@media (max-width: 560px) {
  .most-swatches { grid-template-columns: repeat(2, 1fr); }
  .most-stage, .most-info { min-height: 520px; }
  .most-info { padding: 26px; }
  .most-stage::after { background: linear-gradient(0deg, rgba(20,16,13,.95) 0%, rgba(20,16,13,.6) 55%, rgba(20,16,13,.1) 100%); }
  .calc-card { padding: 22px; }
  .calc-resultado { grid-template-columns: 1fr; }
  .calc-resultado div + div { border-left: 0; border-top: 1px solid var(--line-dark); }
  .calc-acoes { grid-template-columns: 1fr; }
  .ficha-body { padding: 26px 22px; }
  .lb-nav { width: 44px; height: 44px; font-size: 1.6rem; }
  .lb-prev { left: 8px; } .lb-next { right: 8px; }
  .mostruario, .calculadora, .faq { padding: 72px 0; }
}
@media (max-width: 860px) {
  /* destaques viram carrossel com deslize lateral */
  .destaques-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin: 0 -16px; padding: 0 16px 10px; scrollbar-width: none; }
  .destaques-grid::-webkit-scrollbar { display: none; }
  .destaque { flex: 0 0 78%; scroll-snap-align: start; aspect-ratio: 4 / 5; }
  .destaque-body { padding: 22px; }
  .destaque h3 { font-size: 1.3rem; }
  /* filtros do catálogo: todos à vista, quebrando em linhas como no computador (nada escondido fora da tela) */
  .filtros { gap: 8px; margin-bottom: 26px; }
  .filtro { flex: none; padding: 9px 14px; font-size: .82rem; }
  .produtos-busca { width: 100%; }
}
@media (max-width: 560px) {
  .produtos-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .produto-card { border-radius: 14px; }
  .produto-body { padding: 12px 12px 12px; }
  .produto-body p, .produto-specs, .produto-ver { display: none; }
  .produto-cat { font-size: .6rem; letter-spacing: .12em; margin-bottom: 2px; }
  .produto-body h3 { font-size: 1rem; margin-bottom: 8px; }
  .produto-selo { top: 8px; left: 8px; font-size: .56rem; padding: 5px 8px; }
  .produto-preco { right: 8px; bottom: 8px; font-size: .72rem; padding: 5px 8px; border-radius: 8px; }
  .produto-actions { flex-direction: column; align-items: stretch; gap: 6px; padding-top: 10px; }
  .produto-link { text-align: center; font-size: .8rem; }
  .produto-add { width: 100%; padding: 8px 6px; font-size: .74rem; }
  .swatch { padding: 8px; gap: 10px; }
  .swatch-tex { width: 44px; height: 44px; }
  .swatch-txt strong { font-size: .98rem; }
  .most-stage, .most-info { min-height: 460px; }
  .most-info h3 { font-size: 2.1rem; }
  .faq-lista summary { font-size: 1.05rem; padding: 18px 44px 18px 0; }
  .insta-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .insta-item { border-radius: 8px; }
  .section-head-split .btn { width: 100%; }
  .orcamento-bar-inner { flex-direction: row; }
  .orcamento-bar .btn { flex: none; }
  .modal-caixa { margin: 0; width: 100%; max-height: 100%; height: 100%; border-radius: 0; }
  .ficha-media { aspect-ratio: 1; }
  .ficha-acoes { position: sticky; bottom: 0; background: var(--paper); padding-top: 10px; }
}
@media (max-width: 560px) {
  .calc-modo button { font-size: .78rem; padding: 9px 6px; }
  .calc-resultado { grid-template-columns: repeat(3, 1fr); }
  .calc-resultado div { padding: 14px 10px; }
  .calc-resultado div + div { border-top: 0; border-left: 1px solid var(--line-dark); }
  .calc-resultado span { font-size: .56rem; letter-spacing: .1em; }
  .calc-resultado strong { font-size: 1.05rem; }
  .campo select { font-size: .92rem; }
}

/* ---------- Assistente ---------- */
.assistente { position: fixed; left: 44px; bottom: 20px; z-index: 90; display: flex; align-items: flex-end; gap: 10px; transition: bottom .3s; }
body.tem-orcamento .assistente { bottom: 96px; }
.assistente-avatar { --av: 104px; display: block; position: relative; width: var(--av); height: calc(var(--av) * 1.6); padding: 0; border: 0; background: none; cursor: pointer; animation: assistente-entra .6s cubic-bezier(.2,.9,.3,1.3) both; }
/* círculo dourado no pé do botão */
.assistente-avatar::before { content: ""; position: absolute; left: 0; bottom: 0; width: var(--av); height: var(--av); border-radius: 50%; background: radial-gradient(circle at 50% 35%, var(--gold-2), var(--gold-deep)); border: 3px solid var(--gold); box-sizing: border-box; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.assistente-avatar::after { content: ""; position: absolute; right: 2px; bottom: 6px; width: 16px; height: 16px; border-radius: 50%; background: #3ecf6a; border: 3px solid var(--ink); z-index: 2; }
/* a cabeça sai por cima do círculo; da metade pra baixo o corpo fica dentro dele */
.assistente-figura { position: absolute; inset: -30% -40% 0 -40%; -webkit-mask: radial-gradient(circle calc(var(--av) / 2 - 3px) at 50% calc(100% - var(--av) / 2), #000 99%, transparent 100%), linear-gradient(#000 calc(100% - var(--av) * .55), transparent calc(100% - var(--av) * .2)); mask: radial-gradient(circle calc(var(--av) / 2 - 3px) at 50% calc(100% - var(--av) / 2), #000 99%, transparent 100%), linear-gradient(#000 calc(100% - var(--av) * .55), transparent calc(100% - var(--av) * .2)); }
.assistente-figura img { position: absolute; left: 50%; bottom: -6%; width: 96%; max-width: none; height: auto; transform: translateX(-47%); transform-origin: 50% 100%; transition: transform .25s; }
.assistente-avatar:hover .assistente-figura img { transform: translateX(-47%) translateY(-4px) rotate(-2deg); }
.assistente-balao { position: relative; cursor: pointer; max-width: 230px; margin-bottom: 70px; padding: 12px 30px 12px 14px; background: var(--paper); color: var(--text); border-radius: 14px 14px 14px 4px; font-size: .88rem; line-height: 1.35; box-shadow: 0 10px 30px rgba(0,0,0,.3); order: 2; animation: assistente-balao .4s .7s both; }
.assistente-balao strong { display: block; color: var(--gold-deep); font-size: .95rem; }
.assistente-fechar { position: absolute; top: 4px; right: 6px; width: 22px; height: 22px; border: 0; background: none; color: var(--muted); font-size: 1.1rem; line-height: 1; cursor: pointer; }
.assistente-balao[hidden] { display: none; }
@keyframes assistente-entra { from { opacity: 0; transform: translateY(30px) scale(.6); } }
@keyframes assistente-balao { from { opacity: 0; transform: translateX(-8px) scale(.95); } }
@media (max-width: 640px) {
  .assistente { left: 30px; bottom: 14px; }
  body.tem-orcamento .assistente { bottom: 84px; }
  .assistente-avatar { --av: 78px; }
  .assistente-balao { max-width: 180px; font-size: .8rem; margin-bottom: 52px; }
}
@media (prefers-reduced-motion: reduce) { .assistente-avatar, .assistente-balao { animation: none; } }

/* ---------- Ajustes da fusão ---------- */
.sec-destaques, .sec-calculadora, .sec-faq { background: var(--creme-2); }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: var(--claro); border: 1px solid var(--fio-claro); transition: color .2s, border-color .2s; }
.icon-btn:hover { color: var(--cobre-claro); border-color: var(--cobre-claro); }
.estado-topo { margin: 0; font-size: .78rem; }
.quem-foto-fachada { aspect-ratio: 5/4; }
.quem-fotos { padding-bottom: 22%; }
.quem-foto-b { width: 40%; }
.selos { margin-top: 26px; }
.selos li { color: var(--musgo-700); border-color: rgba(93, 107, 60, .4); background: rgba(93, 107, 60, .09); }
.sobre-video { display: grid; grid-template-columns: minmax(0, 520px) 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; margin-top: clamp(56px, 7vw, 96px); }
.sobre-video video { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--raio); background: var(--nogueira-900); display: block; }
.sobre-video p { display: grid; gap: 4px; font-family: var(--serifa); font-size: clamp(1.3rem, 2.4vw, 1.9rem); line-height: 1.2; max-width: 360px; }
.sobre-video .sobretitulo { font-family: var(--sans); margin: 0; }
.destaque { cursor: pointer; transform-style: preserve-3d; will-change: transform; }
.destaque-preco { color: var(--cobre-claro); }
.destaque-link { background: none; border: 0; border-bottom: 1px solid currentColor; font: inherit; font-weight: 700; font-size: .9rem; cursor: pointer; padding: 0 0 2px; }
/* o tilt é do GSAP: a elevação por CSS sai para não brigar com ele */
.produto-card { transition: box-shadow .45s var(--curva); will-change: transform; }
.produto-card:hover { transform: none; box-shadow: 0 36px 60px -30px rgba(36, 26, 18, .5); }
.produto-add.is-active { background: var(--musgo); border-color: var(--musgo); color: #fbf7ee; }
.most-grid { position: relative; }
.rodape-links { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 10px; }
.whats-fixo, .assistente { transition: bottom .3s, opacity .4s, transform .4s var(--curva), background-color .3s; }
body.tem-orcamento .whats-fixo { bottom: calc(92px + env(safe-area-inset-bottom, 0px)); }
/* o assistente só aparece depois do hero, para não cobrir o título e os botões */
.assistente { opacity: 0; pointer-events: none; transform: translateY(20px); }
body.passou-hero .assistente { opacity: 1; pointer-events: auto; transform: none; }
/* só o desenho do boneco recebe o toque: a caixa em volta dele é maior e cobria o "Voltar ao topo" */
.assistente-avatar, .assistente-figura { pointer-events: none; }
body.passou-hero .assistente-figura img { pointer-events: auto; }
@media (max-width: 1180px) { .estado-topo { display: none; } }
@media (max-width: 900px) {
  .sobre-video { grid-template-columns: 1fr; }
}
/* o Instagram do topo fica no celular também; só sai em telas muito estreitas */
@media (max-width: 359px) { .topo-acoes .icon-btn { display: none; } }
@media (max-width: 560px) {
  .most-acoes .btn { flex: 1 1 auto; white-space: nowrap; padding: 11px 12px; font-size: .82rem; }
  .produto-link { padding: 10px 0; }
}
/* celular: área de toque maior nos links pequenos do rodapé */
@media (max-width: 640px) {
  .rodape-links a, .rodape-fim a { display: inline-block; padding: 9px 0; }
  .rodape-col p > a { display: inline-block; padding: 5px 0; }
}
@media (max-width: 380px) {
  .chegada .sobretitulo { font-size: .68rem; letter-spacing: .16em; }
  .calc-modo button { font-size: .72rem; white-space: nowrap; }
}
@media (max-width: 640px) {
  .insta-chip { margin: 0 auto; }
  body.tem-orcamento .whats-fixo { bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
}
@media (min-width: 1100px) { .produtos-grid { grid-template-columns: repeat(4, 1fr); gap: 22px; } }
.btn-line { background: transparent; }
@media (max-width: 640px) { .hero-titulo { font-size: clamp(1.9rem, 8.6vw, 2.6rem); } }
