/* Rico Knives — Apple Pro Dark Edition */
:root {
  --bg: #000000;
  --surface: #161617;
  --surface-2: #1D1D1F;
  --surface-3: #2C2C2E;
  --border: rgba(255, 255, 255, 0.08);
  --text: #F5F5F7;
  --text-2: #86868B;
  --accent: #0071E3;
  --accent-hover: #0077ED;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Segoe UI", sans-serif;
  --spring: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Navbar */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: 52px;
  background: rgba(0, 0, 0, 0.72);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.nav-in {
  max-width: 1120px; margin: 0 auto; padding: 0 24px;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.brand { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.links { display: flex; gap: 28px; font-size: 12px; color: var(--text-2); }
.links a { transition: color .3s var(--spring); }
.links a:hover { color: var(--text); }

main { padding-top: 52px; }

/* Hero */
.hero { text-align: center; padding: 140px 0 120px; }
.eyebrow { font-size: 19px; font-weight: 600; color: var(--text-2); margin-bottom: 12px; }
.h1 {
  font-size: clamp(48px, 8vw, 80px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  background: linear-gradient(180deg, #FFFFFF 0%, #A1A1A6 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: 21px; color: var(--text-2); max-width: 640px; margin: 22px auto 0; }
.lead strong { color: var(--text); font-weight: 500; }
.cta { display: flex; gap: 16px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 12px 24px; border-radius: 980px;
  font-size: 17px; font-weight: 400;
  transition: background .3s var(--spring), transform .3s var(--spring);
}
.btn:hover { transform: scale(1.02); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-light { background: var(--text); color: #000; }
.btn-ghost { color: var(--accent); }
.btn-ghost:hover { text-decoration: underline; }

/* Sections */
section { padding: 96px 0; }
.h2 { font-size: clamp(32px, 5vw, 48px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
.sub { color: var(--text-2); margin-top: 12px; max-width: 600px; }
.section-head { margin-bottom: 48px; }

/* Bento grid */
.bento {
  display: grid; gap: 20px;
  grid-template-columns: repeat(6, 1fr);
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 36px;
  transition: transform .4s var(--spring), background .4s var(--spring);
}
.card:hover { transform: scale(1.01); background: var(--surface-2); }
.card h3 { font-size: 24px; font-weight: 600; letter-spacing: -0.015em; }
.card p { color: var(--text-2); margin-top: 10px; }
.span-4 { grid-column: span 4; }
.span-2 { grid-column: span 2; }
.span-3 { grid-column: span 3; }
.big-number { font-size: 56px; font-weight: 700; letter-spacing: -0.03em; }

/* Pieces grid */
.pieces { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
.piece {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  overflow: hidden;
  transition: transform .4s var(--spring), background .4s var(--spring);
}
.piece:hover { transform: scale(1.01); background: var(--surface-2); }
.piece-img { aspect-ratio: 4 / 3; background: var(--surface-3); }
.piece-img img { width: 100%; height: 100%; object-fit: cover; }
.piece-body { padding: 28px; }
.piece-body h3 { font-size: 21px; font-weight: 600; letter-spacing: -0.015em; }
.piece-body p { color: var(--text-2); margin-top: 8px; font-size: 15px; }

.pill {
  display: inline-block; padding: 4px 12px; border-radius: 980px;
  font-size: 12px; color: var(--text-2); background: var(--surface-3);
  margin-bottom: 14px;
}

/* Piece page */
.crumb { font-size: 12px; color: var(--text-2); padding-top: 48px; }
.crumb a:hover { color: var(--text); }
.piece-hero { padding: 40px 0 32px; }
.piece-hero h1 {
  font-size: clamp(40px, 6vw, 64px); font-weight: 700;
  letter-spacing: -0.03em; line-height: 1.05;
}
.gallery { display: grid; gap: 20px; grid-template-columns: 2fr 1fr; }
.gallery .main { aspect-ratio: 4 / 3; border-radius: 28px; overflow: hidden; background: var(--surface-3); grid-row: span 2; }
.gallery .main img, .gallery .thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery .thumb { aspect-ratio: 4 / 3; border-radius: 28px; overflow: hidden; background: var(--surface-3); }

.specs {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin: 40px 0;
}
.spec { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 24px; }
.spec dt { font-size: 12px; color: var(--text-2); }
.spec dd { font-size: 19px; font-weight: 600; margin-top: 4px; }

.prose { max-width: 720px; }
.prose p { color: var(--text-2); font-size: 19px; margin-bottom: 20px; }
.prose p:first-child { color: var(--text); }

.timeline { list-style: none; margin-top: 16px; border-left: 1px solid var(--surface-3); padding-left: 28px; }
.timeline li { position: relative; padding: 14px 0; color: var(--text-2); }
.timeline li::before {
  content: ""; position: absolute; left: -33px; top: 20px;
  width: 9px; height: 9px; border-radius: 50%; background: var(--accent);
}
.timeline strong { color: var(--text); font-weight: 500; margin-right: 10px; }

.pager { display: flex; justify-content: space-between; border-top: 1px solid var(--border); margin-top: 96px; padding: 36px 0 60px; font-size: 17px; }
.pager a { color: var(--accent); }
.pager a:hover { text-decoration: underline; }

/* Contato e rodapé */
.contact-card { text-align: center; }
footer { border-top: 1px solid var(--border); padding: 40px 0 60px; color: var(--text-2); font-size: 12px; }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
footer a:hover { color: var(--text); }

/* Responsivo */
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr; }
  .span-4, .span-2, .span-3 { grid-column: auto; }
  .pieces { grid-template-columns: 1fr 1fr; }
  .specs { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .gallery .main { grid-row: auto; }
}
@media (max-width: 600px) {
  .pieces { grid-template-columns: 1fr; }
  .specs { grid-template-columns: 1fr; }
  .links { gap: 16px; }
  .hero { padding: 110px 0 90px; }
  .card { padding: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* Idioma, carrossel, tags */
.lang { display: flex; gap: 10px; padding-left: 16px; border-left: 1px solid var(--border); }
.lang a.on { color: var(--text); font-weight: 600; }
.h3 { font-size: 28px; font-weight: 600; letter-spacing: -0.02em; margin: 64px 0 20px; }
.prose .h3 { margin-top: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tags .pill { margin: 0; }
.carousel { position: relative; border-radius: 28px; overflow: hidden; background: var(--surface-3); outline: none; }
.carousel.empty { aspect-ratio: 16 / 9; }
.track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; background: #000; }
.slide img, .slide video { width: 100%; height: 100%; object-fit: contain; }
.arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border);
  background: rgba(29,29,31,.72); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); color: var(--text); font-size: 24px; cursor: pointer;
  transition: background .3s var(--spring); }
.arrow:hover { background: rgba(44,44,46,.9); }
.prev { left: 16px; } .next { right: 16px; }
.dots { position: absolute; bottom: 16px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; padding: 0 60px; }
.dot { width: 7px; height: 7px; border-radius: 50%; border: 0; background: rgba(255,255,255,.35); cursor: pointer; padding: 0; transition: background .3s, transform .3s var(--spring); }
.dot.on { background: #fff; transform: scale(1.3); }
@media (max-width: 600px) { .lang { padding-left: 8px; gap: 6px; } .links { gap: 10px; } .arrow { display: none; } }

/* Marca RP + mamute */
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 30px; width: auto; }
.brand em { font-style: normal; color: var(--text-2); font-weight: 400; }
.hero { position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; left: 50%; top: 40px; width: 720px; height: 720px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(255,255,255,.06), transparent 70%); pointer-events: none; }
.hero-mammoth { position: relative; width: min(300px, 62vw); height: auto; margin: 0 auto 28px; }
.mam { position: relative; overflow: hidden; }
.mam img { position: absolute; right: -30px; bottom: -40px; width: 180px; opacity: .22; pointer-events: none; }
.ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle, #1D1D1F, #0a0a0b); }
.ph img { height: 38%; width: auto; opacity: .55; }
.carousel.empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 36px; background: #0a0a0b; }
.carousel.empty img { width: 200px; max-width: 50%; opacity: .9; }
.carousel.empty span { color: var(--text-2); font-size: 15px; }
.foot-brand { display: inline-flex; align-items: center; gap: 10px; }
.foot-brand img { height: 22px; }
.chips { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.chip { border: 1px solid var(--border); background: var(--surface); color: var(--text-2); border-radius: 980px; padding: 8px 18px; font: inherit; font-size: 14px; cursor: pointer; transition: background .3s var(--spring), color .3s; }
.chip:hover { color: var(--text); }
.chip.on { background: var(--text); color: #000; }
.piece-body .date { font-size: 12px; color: var(--text-2); margin-top: 12px; }
@media (max-width: 600px) { .brand em { display: none; } }
