/* Ribson Gráfica Rápida — CMYK em papel claro. Ciano = navegação, magenta = ação, amarelo = destaque, preto = texto. */
:root{
  --c:#12b5ea; --c-d:#0a8fbd;
  --m:#e6197e; --m-d:#c10f68;
  --y:#ffd400;
  --k:#111318;
  --paper:#faf8f3; --white:#fff;
  --ink:#111318; --muted:#5d6370; --line:#e8e4da; --soft:#f2efe7;
  --whats:#1fae55;
  --r:18px; --r-s:12px;
  --shadow:0 1px 2px rgba(17,19,24,.05), 0 8px 24px rgba(17,19,24,.06);
  --display:"Fredoka", "Inter", system-ui, sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,system-ui,sans-serif;color:var(--ink);background:var(--paper);-webkit-font-smoothing:antialiased;line-height:1.5}
img{max-width:100%;display:block}
a{color:inherit}
button{font:inherit;cursor:pointer}
h1,h2,h3,h4{font-family:var(--display);line-height:1.08;margin:0;letter-spacing:-.01em}
.wrap{width:min(1200px,100% - 32px);margin-inline:auto}
:focus-visible{outline:3px solid var(--c);outline-offset:2px;border-radius:6px}

/* topo */
.topbar{background:var(--k);color:#d9dce3;font-size:13px}
.topbar .wrap{display:flex;justify-content:space-between;align-items:center;height:34px}
.topbar b{color:#fff}
.cmyk{display:inline-flex;gap:5px}
.cmyk i{width:9px;height:9px;border-radius:50%;display:block}
.cmyk i:nth-child(1){background:var(--c)}.cmyk i:nth-child(2){background:var(--m)}.cmyk i:nth-child(3){background:var(--y)}.cmyk i:nth-child(4){background:#fff}

.header{background:var(--white);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:30}
.header-in{display:flex;align-items:center;gap:24px;height:84px}
.logo img{height:62px;width:auto;mix-blend-mode:multiply}
.busca{flex:1;display:flex;align-items:center;gap:10px;background:var(--soft);border:1.5px solid transparent;border-radius:999px;padding:0 18px;height:48px;transition:border-color .2s,background .2s}
.busca:focus-within{border-color:var(--c);background:#fff}
.busca svg{width:20px;height:20px;fill:var(--muted);flex:none}
.busca input{border:0;background:none;outline:0;font:inherit;font-size:15px;width:100%;color:var(--ink)}
.btn-carrinho{display:flex;align-items:center;gap:10px;background:var(--k);color:#fff;border:0;border-radius:999px;height:48px;padding:0 20px 0 16px;font-weight:600;position:relative;transition:transform .15s}
.btn-carrinho:hover{transform:translateY(-1px)}
.btn-carrinho svg{width:22px;height:22px;fill:#fff}
.badge{background:var(--y);color:var(--k);font-size:12px;font-weight:700;min-width:22px;height:22px;border-radius:11px;display:grid;place-items:center;padding:0 6px}
.badge.pulse{animation:pulse .5s ease}
@keyframes pulse{50%{transform:scale(1.35)}}

.cats-nav{border-top:1px solid var(--line)}
.cats-nav .wrap{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;padding:8px 0}
.cats-nav .wrap::-webkit-scrollbar{display:none}
.cats-nav a{white-space:nowrap;text-decoration:none;font-size:14px;font-weight:500;color:var(--muted);padding:7px 14px;border-radius:999px;transition:background .15s,color .15s}
.cats-nav a:hover{background:var(--soft);color:var(--ink)}
.cats-nav a.on{background:var(--k);color:#fff}

/* hero */
.hero{padding:56px 0 40px;overflow:hidden}
.hero-in{display:grid;grid-template-columns:1.05fr .95fr;gap:48px;align-items:center}
.kicker{display:inline-flex;align-items:center;gap:10px;font-size:13px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);margin-bottom:18px}
.hero h1{font-size:clamp(40px,5.6vw,72px);font-weight:700}
.hero h1 .hl{background:linear-gradient(transparent 62%,var(--y) 62%);padding:0 4px}
.hero h1 .m{color:var(--m)}
.hero p.lead{font-size:19px;color:var(--muted);max-width:520px;margin:22px 0 30px}
.ctas{display:flex;gap:12px;flex-wrap:wrap}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;height:52px;padding:0 26px;border-radius:999px;font-weight:600;font-size:16px;text-decoration:none;border:0;transition:transform .15s,background .15s,box-shadow .15s}
.btn:hover{transform:translateY(-2px)}
.btn svg{width:20px;height:20px;fill:currentColor}
.btn-m{background:var(--m);color:#fff;box-shadow:0 8px 20px rgba(230,25,126,.25)}
.btn-m:hover{background:var(--m-d)}
.btn-k{background:var(--k);color:#fff}
.btn-line{background:#fff;color:var(--ink);border:1.5px solid var(--line)}
.btn-line:hover{border-color:var(--ink)}
.btn-whats{background:var(--whats);color:#fff;box-shadow:0 8px 20px rgba(31,174,85,.25)}
.btn-whats:hover{background:#178f45}
.btn-block{width:100%}

.collage{position:relative;height:440px}
.collage .tile{position:absolute;background:#fff;border-radius:22px;box-shadow:var(--shadow);overflow:hidden;border:1px solid var(--line)}
.collage .tile img{width:100%;height:100%;object-fit:cover}
.collage .t1{width:58%;height:62%;left:4%;top:2%;transform:rotate(-4deg)}
.collage .t2{width:46%;height:50%;right:0;top:10%;transform:rotate(5deg)}
.collage .t3{width:44%;height:46%;left:20%;bottom:0;transform:rotate(3deg)}
.collage .t4{width:34%;height:36%;right:8%;bottom:4%;transform:rotate(-6deg)}
.collage .dot{position:absolute;border-radius:50%;z-index:-1}
.collage .d1{width:180px;height:180px;background:var(--y);right:-30px;top:-20px;opacity:.7}
.collage .d2{width:130px;height:130px;background:var(--c);left:-30px;bottom:30px;opacity:.35}
.collage .d3{width:80px;height:80px;background:var(--m);right:42%;top:46%;opacity:.3}

.trust{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:44px}
.trust div{display:flex;gap:12px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:var(--r-s);padding:14px 16px;font-size:14px;color:var(--muted)}
.trust b{display:block;color:var(--ink);font-size:15px}
.trust .ic{width:38px;height:38px;border-radius:10px;display:grid;place-items:center;flex:none;font-family:var(--display);font-weight:700;color:#fff}

/* seções */
.sec{padding:48px 0}
.sec-head{display:flex;justify-content:space-between;align-items:end;gap:16px;margin-bottom:24px}
.sec-head h2{font-size:clamp(28px,3.4vw,40px);font-weight:700}
.sec-head p{color:var(--muted);margin:6px 0 0}
.link-mais{font-weight:600;color:var(--c-d);text-decoration:none;white-space:nowrap}
.link-mais:hover{text-decoration:underline}

.grid-cats{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}
.cat{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:14px 14px 16px;text-decoration:none;display:flex;flex-direction:column;gap:12px;transition:transform .18s,box-shadow .18s,border-color .18s}
.cat:hover{transform:translateY(-3px);box-shadow:var(--shadow);border-color:transparent}
.cat .img{aspect-ratio:1;border-radius:12px;overflow:hidden;background:var(--soft)}
.cat .img img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
.cat:hover .img img{transform:scale(1.05)}
.cat b{font-family:var(--display);font-size:18px;font-weight:600;line-height:1.15}
.cat small{color:var(--muted);font-size:13px}
.cat .bar{height:4px;border-radius:2px;width:36px}

.grid-prods{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--r);overflow:hidden;display:flex;flex-direction:column;transition:transform .18s,box-shadow .18s}
.card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}
.card .img{aspect-ratio:1;background:var(--soft);position:relative;display:block;overflow:hidden}
.card .img img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
.card:hover .img img{transform:scale(1.04)}
.selo{position:absolute;left:12px;top:12px;background:var(--k);color:#fff;font-size:12px;font-weight:600;padding:4px 10px;border-radius:999px}
.card .body{padding:14px 16px 16px;display:flex;flex-direction:column;gap:6px;flex:1}
.card .sub{font-size:12px;font-weight:600;color:var(--c-d);text-transform:uppercase;letter-spacing:.06em}
.card h3{font-family:Inter,sans-serif;font-size:15px;font-weight:600;line-height:1.35}
.card h3 a{text-decoration:none}
.card .spec{font-size:13px;color:var(--muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.card .foot{margin-top:auto;padding-top:10px;display:flex;align-items:end;justify-content:space-between;gap:8px}
.preco small{display:block;font-size:12px;color:var(--muted)}
.preco b{font-family:var(--display);font-size:22px;font-weight:600}
.preco .q{font-size:12px;color:var(--muted)}
.add{width:44px;height:44px;border-radius:12px;border:0;background:var(--m);color:#fff;display:grid;place-items:center;flex:none;transition:background .15s,transform .15s}
.add:hover{background:var(--m-d);transform:scale(1.06)}
.add svg{width:22px;height:22px;fill:#fff}

/* como funciona */
.passos{background:var(--k);color:#fff;border-radius:28px;padding:48px;display:grid;grid-template-columns:1fr 2fr;gap:40px;align-items:center;position:relative;overflow:hidden}
.passos h2{font-size:clamp(30px,3.6vw,44px)}
.passos h2 span{color:var(--y)}
.passos p{color:#b9bec9}
.passos ol{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:16px;counter-reset:p}
.passos li{background:#1c1f27;border:1px solid #2b2f3a;border-radius:var(--r);padding:22px;counter-increment:p}
.passos li::before{content:"0" counter(p);font-family:var(--display);font-weight:700;font-size:15px;width:40px;height:40px;border-radius:12px;display:grid;place-items:center;margin-bottom:14px;color:var(--k)}
.passos li:nth-child(1)::before{background:var(--c)}
.passos li:nth-child(2)::before{background:var(--m);color:#fff}
.passos li:nth-child(3)::before{background:var(--y)}
.passos li b{display:block;font-size:17px;margin-bottom:6px}
.passos li span{font-size:14px;color:#b9bec9}

.cta-final{margin:48px 0 64px;background:var(--y);border-radius:28px;padding:44px 48px;display:flex;justify-content:space-between;align-items:center;gap:24px}
.cta-final h2{font-size:clamp(26px,3.2vw,38px)}
.cta-final p{margin:8px 0 0;color:#3d3a2a}

/* listagem */
.page-head{padding:36px 0 8px}
.crumbs{font-size:13px;color:var(--muted);margin-bottom:10px}
.crumbs a{text-decoration:none;color:var(--c-d)}
.page-head h1{font-size:clamp(32px,4vw,48px)}
.page-head p{color:var(--muted);margin:8px 0 0}
.filtros{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0 26px}
.chip{border:1.5px solid var(--line);background:#fff;border-radius:999px;padding:7px 14px;font-size:14px;color:var(--muted)}
.chip:hover{border-color:var(--ink);color:var(--ink)}
.chip.on{background:var(--k);border-color:var(--k);color:#fff}
.vazio{text-align:center;padding:64px 16px;color:var(--muted)}
.vazio h2{color:var(--ink);margin-bottom:10px}

/* produto */
.prod{display:grid;grid-template-columns:1fr 1fr;gap:48px;padding:28px 0 56px;align-items:start}
.prod .foto{background:#fff;border:1px solid var(--line);border-radius:24px;overflow:hidden;aspect-ratio:1;position:sticky;top:150px}
.prod .foto img{width:100%;height:100%;object-fit:cover}
.prod h1{font-size:clamp(30px,3.6vw,44px);margin:6px 0 14px}
.prod .spec-list{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 22px;padding:0;list-style:none}
.prod .spec-list li{background:var(--soft);border-radius:8px;padding:6px 12px;font-size:14px}
.prod .box{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:22px}
.prod .preco b{font-size:36px}
.campo{display:flex;flex-direction:column;gap:6px;margin-top:18px}
.campo label{font-size:14px;font-weight:600}
.campo .hint{font-size:13px;color:var(--muted);font-weight:400}
.qtd{display:inline-flex;align-items:center;border:1.5px solid var(--line);border-radius:12px;overflow:hidden;width:max-content}
.qtd button{width:44px;height:44px;border:0;background:#fff;font-size:20px}
.qtd button:hover{background:var(--soft)}
.qtd input{width:56px;height:44px;border:0;text-align:center;font:inherit;font-weight:600;font-size:16px;-moz-appearance:textfield}
.qtd input::-webkit-inner-spin-button{-webkit-appearance:none}
.opcoes{display:flex;gap:8px;flex-wrap:wrap}
.opcoes label{border:1.5px solid var(--line);border-radius:10px;padding:9px 14px;font-size:14px;font-weight:500;cursor:pointer}
.opcoes input{position:absolute;opacity:0;pointer-events:none}
.opcoes input:checked + span{color:var(--m-d)}
.opcoes label:has(input:checked){border-color:var(--m);background:#fdf0f6}
textarea,.input{width:100%;border:1.5px solid var(--line);border-radius:12px;padding:12px 14px;font:inherit;font-size:15px;resize:vertical;background:#fff}
textarea:focus,.input:focus{outline:0;border-color:var(--c)}
/* tabela de quantidades da página do produto */
.faixas{width:100%;border-collapse:collapse;font-size:14px;border:1px solid var(--line);border-radius:12px;overflow:hidden}
.faixas th{background:var(--soft);text-align:left;font-size:13px;font-weight:600;padding:9px 12px}
.faixas td{border-top:1px solid var(--line);padding:6px 12px;height:46px}
.faixas td:last-child{font-weight:600}
.faixas td label{display:flex;align-items:center;gap:8px;font-weight:500;cursor:pointer;height:46px}
.faixas input{accent-color:var(--m);width:17px;height:17px;margin:0}
.faixas tr{cursor:pointer}
.faixas tr.on td{background:#fdf0f6}
.faixas .off{color:#1a8f3c;font-size:12px;font-weight:700;margin-left:4px}
.prod > div{min-width:0}
@media (max-width:420px){.faixas{font-size:13px}.faixas th,.faixas td{padding:0 6px;white-space:normal}.faixas th{padding:8px 6px}.faixas td label{gap:6px}.faixas .off{display:block;margin:0;line-height:1}}
.acoes{display:grid;gap:10px;margin-top:22px}
.nota{font-size:13px;color:var(--muted);margin-top:14px}

/* carrinho */
.overlay{position:fixed;inset:0;background:rgba(17,19,24,.45);z-index:40;animation:fade .2s}
@keyframes fade{from{opacity:0}}
.drawer{position:fixed;top:0;right:0;bottom:0;width:min(440px,100%);background:var(--paper);z-index:50;display:flex;flex-direction:column;transform:translateX(100%);transition:transform .28s cubic-bezier(.2,.8,.2,1);box-shadow:-10px 0 40px rgba(0,0,0,.12)}
.drawer.on{transform:none}
.drawer-head{display:flex;justify-content:space-between;align-items:center;padding:20px 22px;border-bottom:1px solid var(--line);background:#fff}
.drawer-head h3{font-size:24px}
.x{width:40px;height:40px;border-radius:50%;border:0;background:var(--soft);font-size:24px;line-height:1}
.drawer-body{flex:1;overflow:auto;padding:16px 22px}
.drawer-foot{padding:18px 22px 22px;border-top:1px solid var(--line);background:#fff}
.item{display:grid;grid-template-columns:72px 1fr;gap:14px;padding:14px 0;border-bottom:1px solid var(--line)}
.item img{width:72px;height:72px;border-radius:12px;object-fit:cover;background:var(--soft)}
.item b{font-size:14px;display:block;line-height:1.3}
.item small{color:var(--muted);font-size:12px;display:block;margin-top:2px}
.item .row{display:flex;justify-content:space-between;align-items:center;margin-top:8px}
.item .qtd button{width:32px;height:32px;font-size:16px}
.item .qtd input{width:38px;height:32px;font-size:14px}
.rm{border:0;background:none;color:var(--muted);font-size:13px;text-decoration:underline}
.total{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:14px}
.total b{font-family:var(--display);font-size:28px}
.drawer-foot .campo{margin-top:0;margin-bottom:12px}

.whats-float{position:fixed;right:20px;bottom:20px;width:60px;height:60px;border-radius:50%;background:var(--whats);display:grid;place-items:center;box-shadow:0 10px 26px rgba(31,174,85,.4);z-index:35;transition:transform .2s}
.whats-float:hover{transform:scale(1.08)}
.whats-float svg{width:32px;height:32px;fill:#fff}

.toast{position:fixed;left:50%;bottom:28px;transform:translate(-50%,120px);background:var(--k);color:#fff;padding:12px 18px;border-radius:12px;font-size:14px;font-weight:500;z-index:60;transition:transform .3s,visibility .3s;display:flex;gap:12px;align-items:center;visibility:hidden}
.toast.on{transform:translate(-50%,0);visibility:visible}
.toast button{background:var(--y);color:var(--k);border:0;border-radius:8px;padding:6px 10px;font-weight:700;font-size:13px}

/* rodapé */
.footer{background:var(--k);color:#b9bec9;padding:48px 0 0;margin-top:24px}
.footer-in{display:grid;grid-template-columns:1.2fr 1fr 1.4fr;gap:36px}
.footer-logo{height:64px;background:#fff;border-radius:12px;padding:6px 10px;margin-bottom:12px}
.footer h4{color:#fff;font-size:18px;margin-bottom:12px}
.footer p{margin:0 0 6px;font-size:14px}
.footer a{text-decoration:none;color:#fff}
.footer a:hover{color:var(--y)}
.footer ul{list-style:none;margin:0;padding:0;columns:2;font-size:14px}
.footer li{margin-bottom:6px}
.footer-base{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;font-size:12px;border-top:1px solid #2b2f3a;margin-top:36px;padding:18px 0}

/* responsivo */
@media (max-width:1024px){
  .grid-cats{grid-template-columns:repeat(4,1fr)}
  .grid-prods{grid-template-columns:repeat(3,1fr)}
  .passos{grid-template-columns:1fr}
  .trust{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:760px){
  .header-in{flex-wrap:wrap;height:auto;padding:10px 0;gap:10px 12px}
  .logo img{height:46px}
  .busca{order:3;flex-basis:100%;height:44px}
  .btn-carrinho{margin-left:auto;height:44px;padding:0 14px}
  .btn-carrinho .lbl{display:none}
  .topbar .wrap{font-size:12px}
  .hero{padding:28px 0 20px}
  .hero-in{grid-template-columns:1fr;gap:28px}
  .collage{height:300px}
  .trust{grid-template-columns:1fr 1fr;gap:10px}
  .trust div{padding:12px;font-size:13px}
  .grid-cats{grid-template-columns:repeat(2,1fr);gap:10px}
  .grid-prods{grid-template-columns:repeat(2,1fr);gap:10px}
  .card .body{padding:10px 12px 12px}
  .card h3{font-size:14px}
  .preco b{font-size:18px}
  .add{width:38px;height:38px}
  .passos{padding:28px 20px;border-radius:22px}
  .passos ol{grid-template-columns:1fr}
  .cta-final{flex-direction:column;align-items:flex-start;padding:28px 22px}
  .prod{grid-template-columns:1fr;gap:22px}
  /* filtros de subcategoria: uma faixa que rola de lado, sem empurrar os produtos */
  .filtros{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin:14px -16px 18px;padding:0 16px}
  .filtros::-webkit-scrollbar{display:none}
  .chip{white-space:nowrap;flex:none}
  .prod .foto{position:static}
  .footer-in{grid-template-columns:1fr}
  .sec-head{flex-direction:column;align-items:flex-start}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}html{scroll-behavior:auto}}
