@font-face{
  font-family:"Google Sans";
  src:url("/fonts/GoogleSans-Regular.ttf") format("truetype");
  font-weight:400;font-style:normal;font-display:swap;
}
@font-face{
  font-family:"Google Sans";
  src:url("/fonts/GoogleSans-Bold.ttf") format("truetype");
  font-weight:700;font-style:normal;font-display:swap;
}

:root{
  --lime:#C1F20F;
  --lime-2:#D8F20F;
  --forest:#3A400E;
  --ink:#0D0D0D;
  --white:#FFFFFF;
  --wash:#F6FBDF;
  --line:#E3E8CC;
  --err:#B3261E;
  --radius:18px;
  --maxw:1120px;
}

*,*::before,*::after{box-sizing:border-box}
::selection{color:var(--ink);background:var(--lime)}
::-moz-selection{color:var(--ink);background:var(--lime)}
*{scrollbar-color:var(--forest) var(--wash);scrollbar-width:thin}
*::-webkit-scrollbar{width:12px;height:12px}
*::-webkit-scrollbar-track{background:var(--wash)}
*::-webkit-scrollbar-thumb{background:var(--forest);border:3px solid var(--wash);border-radius:999px}
*::-webkit-scrollbar-thumb:hover{background:var(--lime)}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  margin:0;
  font-family:"Google Sans",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  font-weight:400;
  font-size:1.0625rem;
  line-height:1.6;
  color:var(--ink);
  background:var(--white);
}
img,svg{max-width:100%;display:block}
a{color:inherit}
h1,h2,h3{font-weight:700;line-height:1.12;margin:0;letter-spacing:-.02em}
p{margin:0}
:focus-visible{outline:3px solid var(--ink);outline-offset:3px;border-radius:6px}

.wrap{width:100%;max-width:var(--maxw);margin-inline:auto;padding-inline:20px}

/* ---------- Botões ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  min-height:48px;padding:0 24px;
  font:inherit;font-weight:700;font-size:1rem;
  text-decoration:none;border-radius:999px;border:2px solid var(--ink);
  cursor:pointer;transition:background .15s,color .15s;
  text-align:center;
}
.btn .icon{width:18px;height:18px;flex:none}
.btn-primary{background:var(--ink);color:var(--white)}
.btn-primary:hover{background:var(--forest);border-color:var(--forest)}
.btn-ghost{background:transparent;color:var(--ink)}
.btn-ghost:hover{background:var(--ink);color:var(--white)}
.btn-sm{min-height:42px;padding:0 18px;font-size:.95rem}
.btn-lime{background:var(--lime);color:var(--ink)}
.btn-lime:hover{background:var(--lime-2)}

/* ---------- Cabeçalho ---------- */
.site-header{
  position:sticky;top:0;z-index:20;
  background:rgba(255,255,255,.96);
  border-bottom:1px solid var(--line);
}
.site-header .wrap{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:68px}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none;font-weight:700;font-size:1.2rem;letter-spacing:-.02em}
.brand img{width:40px;height:40px;border-radius:50%}
.nav-links{display:none;gap:28px;align-items:center}
.nav-links a{text-decoration:none;font-weight:400}
.nav-links a:hover{text-decoration:underline;text-underline-offset:4px}
.nav-actions{display:flex;gap:8px;align-items:center}
.who{display:flex;align-items:center;gap:10px;font-size:.9rem}
.who span{white-space:nowrap}
.who b{font-weight:700}

/* ---------- Migalhas ---------- */
.crumbs{
  display:flex;flex-wrap:wrap;align-items:center;gap:8px;
  padding:20px 0 0;font-size:.9rem;color:var(--forest);
}
.crumbs a{text-decoration:none}
.crumbs a:hover{text-decoration:underline;text-underline-offset:3px}
.crumbs span:last-child{color:var(--ink);font-weight:700}

/* ---------- Catálogo ---------- */
.catalog{padding:20px 0 64px}
.catalog-head{display:grid;gap:10px;margin-bottom:18px}
.catalog-head h1{font-size:clamp(1.9rem,6vw,2.8rem)}
.catalog-head p{max-width:56ch;color:#2B2E12}

.status{font-size:.95rem;color:var(--forest);margin-bottom:18px}
.status[hidden]{display:none}

.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.grid[hidden]{display:none}

.produto{
  background:var(--white);
  border:1.5px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
  transition:border-color .15s,transform .15s,box-shadow .15s;
}
.produto:hover{border-color:var(--ink);transform:translateY(-2px);box-shadow:0 6px 0 var(--ink)}
.produto-link{display:flex;flex-direction:column;height:100%;text-decoration:none}

.produto-media{
  position:relative;aspect-ratio:1/1;background:var(--wash);
  display:grid;place-items:center;overflow:hidden;
}
.produto-media img{width:100%;height:100%;object-fit:cover}
.produto-media .sem-imagem-svg{display:grid;justify-items:center;gap:8px;color:var(--forest);font-size:.8rem;font-weight:700}

.produto-corpo{display:grid;gap:6px;padding:12px 14px 16px}
.produto-corpo h2{
  font-size:1rem;
  line-height:1.3;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;
  overflow:hidden;
}
.produto-preco{font-weight:700;font-size:1.05rem;letter-spacing:-.01em}

/* ---------- Estados ---------- */
.card{background:var(--white);border:2px solid var(--ink);border-radius:24px;padding:32px 24px}
.empty,.erro{display:grid;justify-items:start;gap:12px;max-width:560px;margin:8px auto 0}
.empty[hidden],.erro[hidden]{display:none}
.vazio-acoes{display:flex;flex-wrap:wrap;gap:10px}
.empty p,.erro p{color:#2B2E12;max-width:46ch}
.erro{border-color:var(--err)}
.erro h2{color:#7A1A15}

/* ---------- Esqueletos de carregamento ---------- */
.esqueleto{pointer-events:none}
.esqueleto .produto-media,
.esqueleto .barra{
  background:linear-gradient(100deg,var(--wash) 30%,#EDF4CF 50%,var(--wash) 70%);
  background-size:200% 100%;
  animation:brilho 1.2s linear infinite;
}
.esqueleto .produto-media{aspect-ratio:1/1}
.esqueleto .produto-corpo{padding:12px 14px 16px;display:grid;gap:8px}
.esqueleto .barra{border-radius:999px;height:12px}
.esqueleto .barra.curta{width:55%}
@keyframes brilho{to{background-position:-200% 0}}

/* ---------- Rodapé ---------- */
footer{background:var(--ink);color:var(--white);padding:40px 0 28px}
footer .wrap{display:grid;gap:24px}
footer .brand img{width:44px;height:44px}
.foot-links{display:flex;flex-wrap:wrap;gap:8px 24px}
.foot-links a{text-decoration:none;color:#D9DEC0}
.foot-links a:hover{color:var(--lime)}
.foot-copy{font-size:.88rem;color:#A9AF8C}

/* ---------- Telas maiores ---------- */
@media (min-width:640px){
  .grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
}
@media (min-width:760px){
  .nav-links{display:flex}
  .catalog{padding-top:28px}
  footer .wrap{grid-template-columns:1fr auto;align-items:center}
  .foot-copy{grid-column:1 / -1}
}
@media (min-width:1000px){
  .grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media (max-width:520px){
  .who span{display:none}
}
@media (max-width:380px){
  .nav-actions .btn-ghost{display:none}
  .grid{grid-template-columns:1fr}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *{transition:none!important;animation:none!important}
}