/* Conceito B · Camadas — claro e técnico; tudo é impresso de baixo para cima */
:root { --bg: #f4f3ef; --fg: #141518; --muted: #61656c; --line: rgba(20,21,24,.12); --card: #ffffff; --accent: #ff5a0a; --on-accent: #141518; }
.topo.solido { background: rgba(244,243,239,.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }

/* mesa de impressão: grade milimetrada de fundo */
.grade-mesa { position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: radial-gradient(ellipse at 50% 60%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 50% 60%, #000 30%, transparent 75%); opacity: .6; }

.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: 36px; padding: calc(var(--topo) + 20px) var(--ladoD) 48px var(--lado); max-width: 1640px; margin: 0 auto; }
.hero__info .lj-eti { display: inline-flex; align-items: center; gap: 10px; }
.hero__info b { color: var(--fg); font-weight: 600; font-variant-numeric: tabular-nums; }
.ponto { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: piscaB 1s steps(2) infinite; }
@keyframes piscaB { 50% { opacity: .2; } }
.hero__pe { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; position: relative; }
.hero__pe p { margin: 0; max-width: 420px; color: var(--muted); font-size: 17px; }

/* texto impresso: revelado de baixo para cima em degraus de camada */
.impresso { --p: 0; --cor: var(--accent); position: relative; margin: 0; font: 800 clamp(48px, 11.5vw, 168px)/.9 var(--font-display); letter-spacing: -.035em; text-transform: none; }
.impresso > span { display: block; }
.impresso .massa { position: relative; display: block; clip-path: inset(calc((1 - var(--p)) * 100%) -10% 0 -10%); }
.impresso .massa::after { /* estrias de camada que esfriam */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(255,255,255,.22) 3px 4px); mix-blend-mode: overlay; opacity: calc(1 - var(--p) * .6); }
.impresso .quente { position: absolute; left: -2%; right: -2%; height: 3px; top: calc((1 - var(--p)) * 100%); background: var(--cor); box-shadow: 0 0 18px var(--cor), 0 0 4px var(--cor); opacity: calc(var(--vivo, 1)); transition: opacity .4s; }
.impresso .bico { position: absolute; top: calc((1 - var(--p)) * 100% - 46px); left: calc(var(--x, 0) * 100%); width: 30px; height: 46px; translate: -50% 0; opacity: calc(var(--vivo, 1)); transition: opacity .4s; }
.impresso .bico::before { content: ""; position: absolute; inset: 0 2px 16px; background: var(--fg); border-radius: 6px; }
.impresso .bico::after { content: ""; position: absolute; left: 9px; right: 9px; bottom: 0; height: 18px; background: var(--cor); clip-path: polygon(0 0, 100% 0, 65% 100%, 35% 100%); }

/* trilho horizontal de cores */
.trilho { position: relative; padding: 14svh 0 10svh; }
.trilho__fixo { display: flex; flex-direction: column; gap: 32px; }
.trilho__cab { padding: 0 var(--ladoD) 0 var(--lado); display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 1640px; width: 100%; margin: 0 auto; }
.trilho__cab h2 { margin: 0; font: 800 clamp(36px, 6vw, 80px)/.95 var(--font-display); letter-spacing: -.03em; }
.setas { display: flex; gap: 10px; }
.seta { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); font: 600 20px/1 var(--font-texto); cursor: pointer; transition: transform .3s var(--mola), opacity .2s; }
.seta:hover:not(:disabled) { transform: scale(1.08); }
.seta:disabled { opacity: .3; cursor: default; }
.trilho__fita { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-padding-left: max(var(--lado), calc((100vw - 1640px) / 2 + 20px)); padding: 6px max(var(--lado), calc((100vw - 1640px) / 2 + 20px)) 10px; cursor: grab; -webkit-overflow-scrolling: touch; }
.trilho__fita::-webkit-scrollbar { display: none; }
.trilho__fita.arrastando { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.trilho__fita.arrastando .bob { pointer-events: none; }
.bob { scroll-snap-align: start; flex: none; width: clamp(200px, 24vw, 320px); display: flex; flex-direction: column; gap: 12px; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; }
.bob__foto { aspect-ratio: 1; border-radius: 20px; overflow: hidden; background: #fff; box-shadow: 0 1px 0 var(--line); }
.bob__foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--suave); }
.bob:hover .bob__foto img { transform: scale(1.08); }
.bob__nome { font: 700 15px/1.3 var(--font-texto); display: flex; align-items: center; gap: 8px; }
.bob__nome i { width: 12px; height: 12px; border-radius: 50%; background: var(--c); flex: none; box-shadow: 0 0 0 1px var(--line); }
.trilho__regua { margin: 0 var(--ladoD) 0 var(--lado); height: 18px; position: relative; max-width: 1600px; width: calc(100% - 40px); align-self: center;
  background: repeating-linear-gradient(90deg, var(--fg) 0 1px, transparent 1px 10px) bottom / 100% 6px no-repeat, repeating-linear-gradient(90deg, var(--fg) 0 1px, transparent 1px 50px) bottom / 100% 12px no-repeat; opacity: .5; }
.trilho__regua span { position: absolute; bottom: 0; left: 0; width: 3px; height: 18px; background: var(--accent); transform: translateX(var(--rx, 0px)); }

/* linhas impressas na rolagem */
.linhas { display: flex; flex-direction: column; gap: 14svh; padding: 18svh var(--ladoD) 18svh var(--lado); max-width: 1640px; margin: 0 auto; }
.linha { --p: 0; display: grid; grid-template-columns: 1.1fr 1fr; gap: 6vw; align-items: center; }
.linha--inv .linha__foto { order: 2; }
.linha__foto { position: relative; aspect-ratio: 1; border-radius: 28px; overflow: hidden; background: #fff; }
.linha__foto img { width: 100%; height: 100%; object-fit: cover; clip-path: inset(calc((1 - var(--p)) * 100%) 0 0 0); transform: scale(calc(1.15 - var(--p) * .15)); }
.linha__foto::before { /* faixa quente na borda da impressão */
  content: ""; position: absolute; left: 0; right: 0; height: 4px; top: calc((1 - var(--p)) * 100% - 2px); z-index: 2;
  background: var(--cor); box-shadow: 0 0 22px var(--cor); opacity: var(--vivo, 0); }
.linha__foto::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, transparent 0 5px, rgba(0,0,0,.05) 5px 6px); opacity: calc(1 - var(--p)); }
.linha__txt { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; transform: translateY(calc((1 - var(--p)) * 60px)); opacity: calc(var(--p) * 1.4 - .2); }
.linha__txt h2 { margin: 0; font: 800 clamp(44px, 7vw, 104px)/.92 var(--font-display); letter-spacing: -.035em; }
.linha__txt p:not(.lj-eti) { margin: 0; color: var(--muted); font-size: 18px; max-width: 380px; }
.linha__txt .lj-eti { color: var(--cor); }

section.catalogo, section.comprar { padding: 110px var(--ladoD) 110px var(--lado); max-width: 1640px; margin: 0 auto; }
.catalogo { border-top: 1px solid var(--line); }
.sec__cab { display: flex; flex-direction: column; gap: 28px; margin-bottom: 44px; }
.sec__tit { margin: 0; font: 800 clamp(40px, 7vw, 92px)/.92 var(--font-display); letter-spacing: -.035em; }
.passos { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.passos li { padding: 28px; background: var(--card); border-radius: 24px; box-shadow: 0 1px 0 var(--line); }
.passos li:nth-child(2) { transition-delay: .1s; } .passos li:nth-child(3) { transition-delay: .2s; }
.passos span { font: 600 12px/1 var(--font-mono); color: var(--accent); }
.passos h3 { margin: 40px 0 8px; font: 700 22px/1.15 var(--font-display); }
.passos p { margin: 0; color: var(--muted); }
.fecho { background: var(--fg); color: var(--bg); padding: 22svh var(--ladoD) calc(18svh + env(safe-area-inset-bottom, 0px)) var(--lado); display: flex; flex-direction: column; align-items: center; gap: 48px; text-align: center; }
.fecho .impresso { font-size: clamp(52px, 12vw, 180px); }
.fecho .impresso .bico::before { background: var(--bg); }

@media (max-width: 760px) {
  .linha, .linha--inv { grid-template-columns: 1fr; gap: 28px; }
  .linha--inv .linha__foto { order: 0; }
  .passos { grid-template-columns: 1fr; }
  .setas { display: none; }
  .bob { width: 62vw; }
  .impresso .bico { width: 22px; height: 34px; top: calc((1 - var(--p)) * 100% - 34px); }
  .impresso .bico::after { left: 6px; right: 6px; height: 13px; }
}

/* ---------- loja: preço, outlet, marcas, rodapé ---------- */
.lj-card__preco, .linha__preco, .lj-preco { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.lj-card__preco b { font: 700 17px/1.1 var(--font-display); }
.lj-card__preco s, .linha__preco s, .lj-preco s { font: 500 12px/1 var(--font-mono); color: var(--muted); }
.linha__preco b { font: 800 clamp(26px, 3vw, 36px)/1 var(--font-display); }
.lj-preco b { font: 700 24px/1.1 var(--font-display); }
.lj-desc { margin: 0; color: var(--muted); font-size: 15px; }
.lj-selo { position: absolute; top: 10px; left: 10px; z-index: 3; padding: 6px 10px; border-radius: 99px; font: 600 11px/1 var(--font-mono); letter-spacing: .04em; }
.lj-selo--off { background: var(--accent); color: var(--on-accent); }
.lj-erro { grid-column: 1 / -1; padding: 40px 0; color: var(--muted); text-align: center; }
.bob__nome { display: block; }

.outlet { position: relative; padding: 110px 0; background: #141518; color: #f4f3ef; overflow: hidden; --muted: #a8acb3; --line: rgba(244,243,239,.14); }
.outlet::before { content: "OUTLET OUTLET OUTLET OUTLET OUTLET"; position: absolute; top: 34px; left: 0; white-space: nowrap; font: 900 clamp(70px, 12vw, 180px)/1 var(--font-display); color: transparent; -webkit-text-stroke: 1px rgba(244,243,239,.08); animation: outletCorre 40s linear infinite; pointer-events: none; }
@keyframes outletCorre { to { transform: translateX(-50%); } }
.outlet__cab { position: relative; max-width: 1640px; margin: 0 auto 40px; padding: 0 var(--ladoD) 0 var(--lado); display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.outlet__eti { color: var(--accent) !important; margin-bottom: 12px !important; }
.outlet__txt { margin: 0; color: var(--muted); max-width: 320px; }
.outlet__fita { position: relative; display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px max(var(--lado), calc((100vw - 1640px) / 2 + 20px)) 10px; }
.outlet__fita::-webkit-scrollbar { display: none; }
.outlet__fita .lj-card { flex: none; width: clamp(200px, 22vw, 280px); scroll-snap-align: start; }
.outlet__fita .lj-card__foto::after { box-shadow: none; }

.cat__bloco { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.marcas { display: flex; gap: 18px; overflow-x: auto; scrollbar-width: none; padding: 6px 4px 8px; scroll-snap-type: x proximity; }
.marcas::-webkit-scrollbar { display: none; }
.mc { flex: none; display: flex; flex-direction: column; align-items: center; gap: 8px; width: 84px; padding: 0; border: 0; background: none; cursor: pointer; scroll-snap-align: start; -webkit-tap-highlight-color: transparent; }
.mc__anel { position: relative; width: 76px; height: 76px; border-radius: 50%; padding: 3px; background: var(--line); transition: transform .4s var(--mola); }
.mc[aria-selected="true"] .mc__anel { background: conic-gradient(from 200deg, #1fd28a, #3fd8e0, #108aee, #7d4afd, #ff5a0a, #ffb501, #1fd28a); animation: mcGira 6s linear infinite; }
@keyframes mcGira { to { filter: hue-rotate(360deg); } }
.mc:hover .mc__anel { transform: scale(1.06); }
.mc__miolo { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: var(--card); border: 3px solid var(--bg); overflow: hidden; }
.mc__miolo img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.mc__miolo b { font: 800 18px/1 var(--font-display); letter-spacing: -.02em; }
.mc__nome { font: 600 12.5px/1.2 var(--font-texto); text-align: center; }
.mc__n { margin-top: -6px; font: 500 10px/1 var(--font-mono); color: var(--muted); }
.mc[aria-selected="true"] .mc__nome { font-weight: 800; }
.cat__mais { display: flex; justify-content: center; margin-top: 44px; }

.rodape { background: #141518; color: #f4f3ef; padding: 80px var(--ladoD) calc(32px + env(safe-area-inset-bottom, 0px)) var(--lado); --muted: #a8acb3; --line: rgba(244,243,239,.14); }
.rod__grade { max-width: 1640px; margin: 0 auto; display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; }
.rod__marca img { width: 120px; height: auto; border-radius: 50%; background: #fff; }
.rod__redes { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.rod__rede { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); transition: background .25s, transform .3s var(--mola); }
.rod__rede:hover { background: var(--accent); color: #141518; transform: translateY(-3px); }
.rod__vazio { font-size: 13px; color: var(--muted); }
.rod__lista { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.rod__lista a { text-decoration: none; opacity: .85; } .rod__lista a:hover { opacity: 1; text-decoration: underline; }
.rod__base { max-width: 1640px; margin: 56px auto 0; padding-top: 24px; border-top: 1px solid var(--line); font: 400 12px/1.5 var(--font-mono); color: var(--muted); }
.rodape { border-top: 1px solid rgba(244,243,239,.1); }

@media (max-width: 760px) {
  .outlet { padding: 80px 0; }
  .outlet__fita .lj-card { width: 58vw; }
  .rod__grade { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .rod__marca { grid-column: 1 / -1; }
  .mc { width: 72px; } .mc__anel { width: 66px; height: 66px; }
}

/* destaque do outlet */
.hero__btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-outlet { background: #141518; color: #f4f3ef; }
.btn-outlet__pct { display: grid; place-items: center; width: 24px; height: 24px; margin-left: -8px; border-radius: 50%; background: var(--accent); color: #141518; font: 800 13px/1 var(--font-display); animation: pctPulsa 1.8s ease-in-out infinite; }
@keyframes pctPulsa { 50% { transform: scale(1.18) rotate(-12deg); box-shadow: 0 0 0 6px rgba(255,90,10,.25); } }
.topo__nav a.nav-outlet { opacity: 1; padding: 8px 14px; margin: -8px 0; border-radius: 99px; background: #141518; color: #f4f3ef; font-weight: 700; }
.topo__nav a.nav-outlet:hover { background: var(--accent); color: #141518; }

/* ---------- tons de cor ---------- */
.trilho__cab .lj-eti { margin: 0 0 10px; }
.tons { display: flex; gap: 14px; overflow-x: auto; scrollbar-width: none; padding: 6px max(var(--lado), calc((100vw - 1640px) / 2 + 20px)); }
.tons::-webkit-scrollbar { display: none; }
.tom { flex: none; display: flex; flex-direction: column; align-items: center; gap: 6px; width: 70px; padding: 0; border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.tom__bola { position: relative; width: 52px; height: 52px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); transition: transform .4s var(--mola), box-shadow .3s; }
.tom__bola::after { content: ""; position: absolute; inset: 16px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 1px rgba(0,0,0,.1); transform: scale(0); transition: transform .4s var(--mola); }
.tom__bola--todas { background: conic-gradient(#1fd28a, #3fd8e0, #108aee, #7d4afd, #f06aa6, #d81f26, #f26a12, #f2c21b, #1fd28a); }
.tom__bola--esp { background: conic-gradient(#7d4afd, #3fd8e0, #f06aa6, #f2c21b, #7d4afd); }
.tom__bola--met { background: linear-gradient(135deg, #f6e3a1, #b8892e 45%, #f3dc8d 60%, #8e939a); }
.tom__bola--tra { background: linear-gradient(135deg, rgba(207,232,243,.6), rgba(255,255,255,.95) 50%, rgba(160,200,220,.6)); }
.tom:hover .tom__bola { transform: scale(1.1) rotate(-20deg); }
.tom[aria-selected="true"] .tom__bola { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--fg); }
.tom[aria-selected="true"] .tom__bola::after { transform: scale(1); }
.tom__nome { font: 600 12px/1.2 var(--font-texto); text-align: center; }
.tom[aria-selected="true"] .tom__nome { font-weight: 800; }
.tom__n { margin-top: -4px; font: 500 10px/1 var(--font-mono); color: var(--muted); }
.trilho__fita { transition: opacity .2s; }
.trilho__fita.troca { opacity: 0; }
.trilho__pe { display: flex; justify-content: center; margin-top: 4px; }
.cor-ativa { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 99px; border: 0; background: var(--fg); color: var(--bg); font: 700 13px/1 var(--font-texto); cursor: pointer; }
.cor-ativa i { width: 14px; height: 14px; border-radius: 50%; background: #999; box-shadow: 0 0 0 1.5px var(--bg); }

/* ---------- PC largo: aproveita as laterais ---------- */
@media (min-width: 1400px) { .lj-grade { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (min-width: 1760px) { .lj-grade { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (max-width: 760px) { .tom { width: 60px; } .tom__bola { width: 46px; height: 46px; } .tom__bola::after { inset: 14px; } }

/* carrosséis: só rolam de lado; respiro para a sombra, o selo e a inclinação não serem cortados */
.outlet__fita, .trilho__fita, .tons, .marcas, .lj-filtros { overflow-y: hidden; overscroll-behavior-x: contain; }
.outlet__fita, .trilho__fita { padding-top: 18px; padding-bottom: 26px; }
.outlet__fita .lj-card, .trilho__fita .bob { transform: none !important; }
.js .outlet__fita .lj-card { opacity: 1; }

.outlet__dir { display: flex; align-items: center; gap: 24px; }
.outlet .seta { background: rgba(255,255,255,.08); color: #f4f3ef; border-color: rgba(244,243,239,.2); }
.outlet__fita, .tons, .marcas { cursor: grab; }
.outlet__fita.arrastando, .tons.arrastando, .marcas.arrastando { cursor: grabbing; scroll-snap-type: none; }
.outlet__fita.arrastando .lj-card, .tons.arrastando .tom, .marcas.arrastando .mc { pointer-events: none; }

/* frete e logos */
.hero__info { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.frete-selo { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 8px 14px; border-radius: 99px; background: #1fd28a; color: #0b1a12; font: 700 13px/1.2 var(--font-texto); animation: freteEntra .8s var(--mola) both 2.6s; }
@keyframes freteEntra { from { transform: translateY(-14px) scale(.9); opacity: 0; } }
.rod__frete { max-width: 1640px; margin: 40px auto 0; display: flex; align-items: center; gap: 10px; font-weight: 700; color: #1fd28a; }
.mc__miolo img { object-fit: cover; padding: 0; }

/* limpar carrinho */
.lj-limpa { display: flex; justify-content: center; }
.lj-limpa__btn { border: 0; background: none; padding: 6px; font: 600 13px/1 var(--font-texto); color: var(--muted); text-decoration: underline; cursor: pointer; }
.lj-limpa__btn:hover { color: #c8281e; }
.lj-limpa__conf { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; font: 600 13px/1.3 var(--font-texto); }
.lj-limpa__conf button { border: 0; border-radius: 99px; padding: 8px 12px; font: 700 12px/1 var(--font-texto); cursor: pointer; background: #f1efea; color: #141518; }
.lj-limpa__conf #ljLimparSim { background: #c8281e; color: #fff; }
.lj-btn.carregando { opacity: .7; pointer-events: none; }

/* confirmação antes de enviar */
.lj-conf { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 18px; background: #f1efea; animation: lj-item .35s var(--suave) both; }
.lj-conf__tit { margin: 0; font: 800 18px/1.2 var(--font-display); }
.lj-conf__res { margin: 0; font: 600 14px/1.3 var(--font-mono); color: var(--muted); }
.lj-conf .lj-btn { width: 100%; }
.lj-conf__nao { border: 0; background: none; padding: 6px; font: 700 14px/1 var(--font-texto); color: var(--fg); text-decoration: underline; cursor: pointer; }

/* título do destaque conforme o tamanho do nome */
.linha__txt h2 { text-wrap: balance; }
.linha__txt h2.tit-m { font-size: clamp(32px, 4.4vw, 64px); line-height: .98; }
.linha__txt h2.tit-p { font-size: clamp(26px, 3vw, 44px); line-height: 1.05; letter-spacing: -.02em; }
