/*
Theme Name: Info Carpanezi Catalog
Theme URI: https://example.com/info-carpanezi-catalog
Author: Jeverton + ChatGPT
Author URI: https://example.com
Description: Tema simples de catálogo (produtos) com botão de WhatsApp. Feito sob medida para Info Carpanezi.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.6
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: icc
Tags: catalog, minimal, responsive, custom-logo
*/

:root {
  --bg: #0b0c10;
  --card: #12141a;
  --muted: #9aa4b2;
  --text: #e5e7eb;
  --brand: #0ea5e9;
  --accent: #10b981;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --maxw: 1200px;
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica Neue, Arial;
  color: var(--text);
  background: radial-gradient(1400px 800px at 100% -20%, rgba(14,165,233,.12), transparent 40%),
             radial-gradient(900px 600px at -10% 10%, rgba(16,185,129,.10), transparent 40%), #0b0c10;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { width: min(100%, var(--maxw)); margin-inline: auto; padding-inline: clamp(16px, 3vw, 24px); }

header.site-header {
  position: sticky; top: 0; z-index: 10; backdrop-filter: blur(8px);
  background: rgba(11,12,16,.7); border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:14px 0; }
.brand { display:flex; align-items:center; gap:12px; font-weight:800; }
.brand .name { font-size: 1.05rem; }

.hero { padding: clamp(36px, 6vw, 64px) 0 10px; }
h1.entry-title { font-size: clamp(1.8rem, 3.8vw, 2.6rem); margin: 8px 0 6px; }
.lead { color: var(--muted); }

#catalogo { padding: 24px 0 60px; }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid { grid-template-columns: 1fr; } }

.card { background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); box-shadow: var(--shadow); display:flex; flex-direction: column; overflow: hidden; }
.thumb { aspect-ratio: 4/3; background: #0f1218; overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 16px; }
.title { font-weight: 800; margin: 0 0 8px; font-size: 1.05rem; }
.desc { color: var(--text); opacity: .95; }
.meta { color: var(--muted); font-size: .9rem; margin-top: 6px; }
.actions { display:flex; gap:10px; padding: 14px 16px 18px; margin-top: auto; }
.btn { flex:1; display:inline-flex; align-items:center; justify-content:center; padding:12px 14px; border-radius:999px; font-weight:800; border:1px solid transparent; transition: transform .12s ease, filter .2s; }
.btn:active { transform: translateY(1px); }
.btn-wa { background: linear-gradient(135deg, #16a34a, #22c55e); color: white; }
.btn-wa:hover { filter: brightness(1.05); }
footer.site-footer { padding: 36px 0; border-top: 1px solid rgba(255,255,255,.08); color: var(--muted); text-align: center; }
