/* =============================================
   CATÁLOGO — MODELO 01
   White + Blue | Clean | Retail / Loja Online
   Font: Inter
   ============================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, sans-serif; background: #fff; color: #111; line-height: 1.65; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }

:root {
  --blue: #3b82f6;
  --blue-dark: #2563eb;
  --blue-light: rgba(59,130,246,0.1);
  --blue-border: rgba(59,130,246,0.25);
  --bg: #fff;
  --bg-alt: #f8faff;
  --bg-card: #fff;
  --line: rgba(0,0,0,0.08);
  --text: #111;
  --text-soft: #555;
  --text-muted: #aaa;
  --nav-h: 70px;
  --ease: 0.24s cubic-bezier(0.2,0.8,0.2,1);
  --container: 1200px;
  --radius: 12px;
}

.container { width: min(calc(100% - 40px), var(--container)); margin: 0 auto; }
.section { padding: 80px 0; }
.accent { color: var(--blue); }

/* BUTTONS */
.btn-primary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 8px; background: var(--blue); color: #fff; font-size: 14px; font-weight: 700; font-family: 'Inter', sans-serif; transition: background var(--ease), transform var(--ease), box-shadow var(--ease); border: none; cursor: pointer; white-space: nowrap; }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(59,130,246,0.3); }
.btn-lg { min-height: 56px; padding: 0 36px; font-size: 15px; }
.btn-comprar { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 0 16px; border-radius: 8px; background: var(--blue); color: #fff; font-size: 12px; font-weight: 700; font-family: 'Inter', sans-serif; transition: background var(--ease); white-space: nowrap; }
.btn-comprar:hover { background: var(--blue-dark); }

/* NAV */
.nav { position: fixed; inset: 0 0 auto; height: var(--nav-h); z-index: 100; border-bottom: 1px solid transparent; transition: background var(--ease), border-color var(--ease), box-shadow var(--ease); }
.nav.scrolled { background: rgba(255,255,255,0.97); backdrop-filter: blur(12px); border-color: var(--line); box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.nav__inner { display: flex; align-items: center; gap: 24px; height: 100%; width: min(calc(100% - 40px), var(--container)); margin: 0 auto; }
.nav__logo { font-size: 20px; font-weight: 800; color: var(--blue); letter-spacing: -0.02em; flex-shrink: 0; }
.nav__links { display: flex; gap: 28px; flex: 1; justify-content: center; }
.nav__links a { font-size: 13px; font-weight: 600; color: var(--text-soft); transition: color var(--ease); }
.nav__links a:hover { color: var(--text); }
.nav__hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; margin-left: auto; }
.nav__hamburger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 999px; transition: transform 0.3s, opacity 0.3s; }
.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav__mobile { display: none; flex-direction: column; gap: 8px; position: fixed; inset: var(--nav-h) 0 0; background: #fff; padding: 24px 20px; z-index: 90; transform: translateX(100%); transition: transform 0.32s ease; }
.nav__mobile.open { transform: translateX(0); }
.nav__mobile a { padding: 14px 18px; border-radius: 10px; border: 1px solid var(--line); font-size: 14px; font-weight: 600; }

/* HERO */
.hero { background: var(--bg-alt); padding-top: var(--nav-h); }
.hero__inner { display: grid; grid-template-columns: 1fr auto; gap: 60px; align-items: center; padding: 80px 0 72px; width: min(calc(100% - 40px), var(--container)); margin: 0 auto; }
.hero__tag { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--blue); margin-bottom: 16px; }
.hero__title { font-size: clamp(40px, 5.5vw, 72px); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; margin-bottom: 16px; }
.hero__sub { font-size: 16px; color: var(--text-soft); max-width: 440px; margin-bottom: 28px; }
.hero__search { display: flex; align-items: center; gap: 12px; background: #fff; border: 2px solid var(--line); border-radius: 10px; padding: 0 16px; max-width: 440px; transition: border-color var(--ease), box-shadow var(--ease); margin-bottom: 24px; }
.hero__search:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-light); }
.hero__search-icon { color: var(--text-muted); flex-shrink: 0; }
.hero__search input { flex: 1; border: none; outline: none; font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 500; color: var(--text); background: transparent; height: 50px; }
.hero__search input::placeholder { color: var(--text-muted); }
.hero__trust { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__trust span { font-size: 12px; font-weight: 600; color: var(--blue); }
.hero__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hero__stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; text-align: center; }
.hero__stat strong { display: block; font-size: 28px; font-weight: 800; color: var(--blue); letter-spacing: -0.02em; }
.hero__stat span { font-size: 12px; color: var(--text-soft); font-weight: 500; }

/* CATEGORIAS */
.categorias { background: #fff; padding: 48px 0 0; }
.sec-title { font-size: 20px; font-weight: 700; margin-bottom: 20px; }
.cats-grid { display: flex; gap: 8px; flex-wrap: wrap; }
.cat-pill { min-height: 38px; padding: 0 20px; border-radius: 999px; border: 1.5px solid var(--line); background: transparent; color: var(--text-soft); font-size: 13px; font-weight: 600; cursor: pointer; transition: all var(--ease); font-family: 'Inter', sans-serif; }
.cat-pill.active, .cat-pill:hover { background: var(--blue-light); border-color: var(--blue-border); color: var(--blue); }

/* PRODUTOS */
.produtos { background: #fff; padding-top: 40px; }
.produtos__header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 24px; }
.produtos__header h2 { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.produtos__count { font-size: 13px; color: var(--text-muted); font-weight: 500; }
.produtos__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.prod-card { background: var(--bg-card); border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; position: relative; transition: transform var(--ease), box-shadow var(--ease); }
.prod-card:hover { transform: translateY(-5px); box-shadow: 0 16px 48px rgba(0,0,0,0.1); }
.prod-card[hidden] { display: none; }
.prod-card__img { height: 200px; }
.prod-card__img { background: linear-gradient(135deg, #dbeafe, #bfdbfe); }
.prod-card__img--b { background: linear-gradient(135deg, #ede9fe, #ddd6fe); }
.prod-card__img--c { background: linear-gradient(135deg, #d1fae5, #a7f3d0); }
.prod-card__img--d { background: linear-gradient(135deg, #fef9c3, #fef08a); }
.prod-card__img--e { background: linear-gradient(135deg, #ffe4e6, #fecdd3); }
.prod-card__img--f { background: linear-gradient(135deg, #e0f2fe, #bae6fd); }
.prod-card__img--g { background: linear-gradient(135deg, #f3e8ff, #e9d5ff); }
.prod-card__img--h { background: linear-gradient(135deg, #ecfdf5, #d1fae5); }
.prod-card__badge { position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.prod-card__badge--new { background: #16a34a; }
.prod-card__body { padding: 16px; }
.prod-card__cat { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--blue); }
.prod-card__body h3 { font-size: 15px; font-weight: 700; margin: 6px 0 6px; line-height: 1.35; }
.prod-card__body p { font-size: 12px; color: var(--text-soft); margin-bottom: 14px; line-height: 1.5; }
.prod-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.prod-card__old { display: block; font-size: 11px; color: var(--text-muted); text-decoration: line-through; }
.prod-card__price { display: block; font-size: 20px; font-weight: 800; color: var(--text); }
.produtos__empty { text-align: center; padding: 48px; color: var(--text-soft); font-size: 15px; }
.produtos__empty a { color: var(--blue); font-weight: 600; }
.produtos__empty a:hover { text-decoration: underline; }

/* CTA */
.cta-section { background: var(--bg-alt); }
.cta-section__inner { display: flex; align-items: center; gap: 32px; padding: 48px; background: #fff; border-radius: 16px; border: 1px solid var(--line); flex-wrap: wrap; }
.cta-section__icon { width: 64px; height: 64px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.cta-section__text { flex: 1; }
.cta-section__text h2 { font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.cta-section__text p { font-size: 14px; color: var(--text-soft); }

/* FOOTER */
.footer { border-top: 1px solid var(--line); padding: 28px 0; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer__logo { font-size: 18px; font-weight: 800; color: var(--blue); }
.footer__info { display: flex; gap: 20px; }
.footer__info span { font-size: 13px; color: var(--text-soft); }
.footer__copy { font-size: 12px; color: var(--text-muted); }

/* WA FLOAT */
.wa-float { position: fixed; bottom: 28px; right: 28px; z-index: 200; width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 28px rgba(37,211,102,0.4); transition: transform var(--ease), box-shadow var(--ease); }
.wa-float:hover { transform: scale(1.1); box-shadow: 0 12px 40px rgba(37,211,102,0.55); }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .produtos__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .nav__links, .nav > .btn-primary { display: none; }
  .nav__hamburger { display: flex; }
  .nav__mobile { display: flex; }
  .produtos__grid { grid-template-columns: repeat(2, 1fr); }
  .cta-section__inner { flex-direction: column; text-align: center; }
  .footer__inner { flex-direction: column; text-align: center; }
  .footer__info { flex-direction: column; gap: 4px; align-items: center; }
}
@media (max-width: 480px) {
  .hero__stats { grid-template-columns: repeat(4,1fr); gap: 8px; }
  .hero__stat { padding: 14px 8px; }
  .hero__stat strong { font-size: 20px; }
  .produtos__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .wa-float { bottom: 20px; right: 20px; width: 54px; height: 54px; }
}
