* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }
img { max-width: 100%; display: block; }
input, textarea { font: inherit; }

:root {
  --bg: #0a0908;
  --panel: #131110;
  --card: #17140f;
  --line: rgba(255,255,255,0.08);
  --accent: #ff7a1a;
  --accent-dark: #d9600a;
  --accent-light: #ffab5e;
  --white: #f5f3ef;
  --muted: #9c968d;
  --sans: 'Inter', -apple-system, Arial, sans-serif;
  --display: 'Poppins', var(--sans);
  --ease: cubic-bezier(.16,.84,.32,1);
  --grad-accent: linear-gradient(135deg, var(--accent), var(--accent-dark));
  --radius: 18px;
}

body { background: var(--bg); color: var(--white); font-family: var(--sans); line-height: 1.65; overflow-x: hidden; }
.text-accent { color: var(--accent); }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--accent); color: #1a0d00; padding: 10px 16px; z-index: 999; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 5vw; }
.section { padding: 110px 0; }
.section-alt { background: var(--panel); }
.eyebrow { display: block; font-size: 0.78rem; letter-spacing: 0.16rem; text-transform: uppercase; color: var(--accent-light); margin-bottom: 14px; font-weight: 700; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.15; color: var(--white); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 42px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* header */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 22px 5vw; transition: padding .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease); }
.site-header.scrolled { padding: 12px 5vw; background: rgba(10,9,8,0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 8px 30px rgba(0,0,0,0.35); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 28px; max-width: 1200px; margin: 0 auto; }
.logo { display: flex; align-items: center; font-family: var(--display); font-weight: 800; font-size: 1.15rem; letter-spacing: 0.02rem; }
.logo-img { height: 112px; width: auto; transition: height .3s var(--ease); }
.site-header.scrolled .logo-img { height: 58px; }
.main-nav { display: flex; gap: 26px; font-size: 0.9rem; color: var(--muted); margin: 0 auto; }
.main-nav a { transition: color .2s; }
.main-nav a:hover { color: var(--white); }
.btn-cart-header { position: relative; }
.menu-toggle { display: none; width: 34px; height: 34px; color: var(--white); align-items: center; justify-content: center; }
.menu-toggle svg { width: 24px; height: 24px; }

.mobile-nav { position: fixed; top: 0; right: -100%; width: 78%; max-width: 320px; height: 100vh; background: var(--panel); z-index: 200; padding: 100px 32px 32px; display: flex; flex-direction: column; gap: 24px; font-size: 1.1rem; transition: right .35s var(--ease); box-shadow: -10px 0 40px rgba(0,0,0,0.4); border-left: 1px solid var(--line); }
.mobile-nav.open { right: 0; }
.mobile-nav-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.55); z-index: 190; opacity: 0; pointer-events: none; transition: opacity .3s; }
.mobile-nav-backdrop.open { opacity: 1; pointer-events: auto; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-size: 0.9rem; font-weight: 700; padding: 14px 26px; border-radius: 12px; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.btn .ic { width: 18px; height: 18px; }
.btn-primary { background: var(--grad-accent); color: #1a0d00; box-shadow: 0 8px 22px rgba(255,122,26,0.28); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(255,122,26,0.38); }
.btn-huge { padding: 18px 40px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-link { display: block; width: 100%; text-align: center; margin-top: 14px; color: var(--muted); font-size: 0.85rem; text-decoration: underline; }
.btn-link:hover { color: var(--white); }

.cart-count { position: absolute; top: -6px; right: -6px; background: var(--white); color: #1a0d00; font-size: 0.68rem; font-weight: 800; width: 19px; height: 19px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }

/* photo placeholder */
.hero-photo-placeholder { width: 100%; height: 100%; background: radial-gradient(circle at 30% 20%, #241a10, #0a0908 70%); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; color: var(--muted); text-align: center; border: 1px dashed var(--line); border-radius: var(--radius); padding: 20px; }
.hero-photo-placeholder .ph-ic { width: 56px; height: 56px; color: var(--accent); opacity: 0.7; }
.hero-photo-placeholder span { font-size: 0.78rem; max-width: 220px; }
.hero-photo-placeholder.small { min-height: 320px; }
.card-ph { border-radius: var(--radius) var(--radius) 0 0; min-height: 200px; border: none; border-bottom: 1px solid var(--line); }
.card-ph .ph-ic { width: 40px; height: 40px; }
.card-ph span { font-size: 0.7rem; }

.produto-media { border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; height: 220px; }
.produto-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.produto-card:hover .produto-media img { transform: scale(1.05); }

/* hero */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; padding: 175px 0 80px; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,9,8,0.55) 0%, rgba(10,9,8,0.55) 40%, rgba(10,9,8,0.92) 100%); }
.hero-inner { position: relative; z-index: 1; max-width: 720px; }
.hero h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); margin: 16px 0 20px; }
.hero-sub { color: #d8d3ca; max-width: 540px; font-size: 1.1rem; margin-bottom: 34px; }

/* filtros */
.filtros { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }
.filtro-btn { padding: 10px 22px; border-radius: 30px; border: 1px solid var(--line); color: var(--muted); font-size: 0.85rem; font-weight: 600; transition: all .25s var(--ease); }
.filtro-btn:hover { border-color: var(--accent); color: var(--white); }
.filtro-btn.active { background: var(--grad-accent); color: #1a0d00; border-color: transparent; }

/* produto card */
.produtos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.produto-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.produto-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,0.4); }
.produto-card:hover .card-ph .ph-ic { transform: scale(1.06); }
.card-ph .ph-ic { transition: transform .5s var(--ease); }
.produto-body { padding: 22px; }
.produto-nome { font-size: 1.1rem; margin-bottom: 8px; }
.produto-desc { color: var(--muted); font-size: 0.88rem; margin-bottom: 18px; min-height: 40px; }
.produto-footer { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.produto-preco { font-family: var(--display); font-weight: 800; font-size: 1.25rem; color: var(--accent-light); transition: transform .2s; }
.produto-preco.bump { transform: scale(1.15); }

.qty-selector { display: flex; align-items: center; gap: 12px; background: var(--panel); border: 1px solid var(--line); border-radius: 30px; padding: 4px 6px; }
.qty-btn { width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; color: var(--white); transition: background .2s; }
.qty-btn:hover { background: rgba(255,122,26,0.18); }
.qty-value { min-width: 16px; text-align: center; font-weight: 700; font-size: 0.9rem; }

/* destaque */
.destaque { position: relative; min-height: 60vh; display: flex; align-items: center; overflow: hidden; }
.destaque-media { position: absolute; inset: 0; }
.destaque-media .hero-img { width: 100%; height: 100%; object-fit: cover; }
.destaque-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,9,8,0.95) 0%, rgba(10,9,8,0.55) 55%, rgba(10,9,8,0.3) 100%); }
.destaque-inner { position: relative; z-index: 1; padding: 80px 0; }
.destaque-card { max-width: 560px; }
.destaque-card h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.destaque-card p { color: #d8d3ca; font-size: 1.05rem; }

/* sobre */
.sobre-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.sobre-media { border-radius: var(--radius); overflow: hidden; min-height: 380px; }
.sobre-img { width: 100%; height: 100%; min-height: 380px; object-fit: cover; }
.sobre-texto p { color: var(--muted); font-size: 1rem; max-width: 480px; }

/* cta final */
.cta-final { padding: 130px 0; text-align: center; background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(255,122,26,0.14), transparent 70%), var(--panel); }
.cta-final h2 { font-size: clamp(2rem, 4.8vw, 3rem); margin-bottom: 34px; line-height: 1.25; }

/* footer */
.site-footer { padding: 60px 0 24px; border-top: 1px solid var(--line); background: #060504; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 30px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 0.9rem; color: var(--muted); }
.footer-col strong { color: var(--white); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06rem; margin-bottom: 4px; }
.footer-col a:hover { color: var(--accent-light); }
.footer-bottom { text-align: center; font-size: 0.78rem; color: var(--muted); padding-top: 20px; border-top: 1px solid var(--line); }

/* cart float button (mobile) */
.cart-float { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 150; background: var(--grad-accent); color: #1a0d00; padding: 16px 22px; border-radius: 16px; display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 700; box-shadow: 0 12px 30px rgba(255,122,26,0.4); }
.cart-float .ic { width: 20px; height: 20px; }

/* cart modal */
.cart-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 300; opacity: 0; pointer-events: none; transition: opacity .3s; }
.cart-backdrop.open { opacity: 1; pointer-events: auto; }
.cart-modal { position: fixed; top: 0; right: -100%; width: 92%; max-width: 440px; height: 100vh; background: var(--panel); z-index: 301; display: flex; flex-direction: column; transition: right .4s var(--ease); border-left: 1px solid var(--line); }
.cart-modal.open { right: 0; }
.cart-modal-header { display: flex; justify-content: space-between; align-items: center; padding: 24px; border-bottom: 1px solid var(--line); }
.cart-close { width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; color: var(--muted); }
.cart-close svg { width: 20px; height: 20px; }
.cart-close:hover { color: var(--white); }

.cart-items { flex: 1; overflow-y: auto; padding: 12px 24px; }
.cart-item { display: flex; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: center; }
.cart-item-thumb { width: 56px; height: 56px; border-radius: 10px; background: var(--card); border: 1px dashed var(--line); flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: var(--accent); overflow: hidden; }
.cart-item-thumb svg { width: 22px; height: 22px; }
.cart-item-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-info strong { display: block; font-size: 0.92rem; margin-bottom: 4px; }
.cart-item-info span { font-size: 0.82rem; color: var(--muted); }
.cart-item-actions { display: flex; align-items: center; gap: 10px; }
.cart-item-remove { color: var(--muted); font-size: 0.76rem; text-decoration: underline; }
.cart-item-remove:hover { color: #ff6b6b; }

.cart-empty { text-align: center; color: var(--muted); padding: 40px 24px; font-size: 0.9rem; }

.cart-summary { padding: 20px 24px 28px; border-top: 1px solid var(--line); }
.cart-row { display: flex; justify-content: space-between; font-size: 0.9rem; color: var(--muted); margin-bottom: 8px; }
.cart-row.cart-total { color: var(--white); font-size: 1.1rem; font-weight: 800; margin-top: 8px; }
.cart-row.cart-total strong { color: var(--accent-light); }

.checkout-form { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.checkout-form label { font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04rem; }
.checkout-form input, .checkout-form textarea { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; color: var(--white); resize: vertical; }
.checkout-form input:focus, .checkout-form textarea:focus { border-color: var(--accent); }
.field-error { color: #ff6b6b; font-size: 0.78rem; }
.checkout-form .btn { margin-top: 8px; }

@media (max-width: 980px) {
  .main-nav, .btn-cart-header { display: none; }
  .menu-toggle { display: flex; }
  .produtos-grid { grid-template-columns: 1fr 1fr; }
  .sobre-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .hero { min-height: 82vh; }
}
@media (max-width: 620px) {
  .produtos-grid { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }
  .cta-final { padding: 90px 0; }
}
