:root {
  --gold: transparent;
  --gold2: #ffc92600;
  --dark: #080807;
  --dark2: #101010;
  --dark3: #161614;
  --cream: #f0ebe0;
  --muted: #b4b4a8;
  --border: rgba(235, 233, 230, 0.18);
  --border-dim: rgba(255,255,255,0.06);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--dark);
  color: var(--cream);
  font-family: 'Barlow', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  min-height: 100vh;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9998;
}

#particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* ── HEADER ── */
header {
  position: sticky;
  top: 0;
  z-index: 200;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 56px;
  background: rgba(8,8,7,.96);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.logo { display: flex; flex-direction: column; line-height: 1; text-decoration: none; }

.logo-main { font-family: 'Playfair Display', serif; font-weight: 900; font-size: 20px; letter-spacing: .18em; color: var(--gold); }

.logo-sub { font-size: 8px; letter-spacing: .5em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

.header-right { display: flex; align-items: center; gap: 20px; }

.step-tag {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--muted);
}

.step-dot {
  position: relative;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold2);
  box-shadow: 0 0 8px var(--gold2);
}
.step-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(228, 228, 227, 0.34);
  animation: ripple 2s ease-out infinite;
}
@keyframes ripple {
  0%   { transform: scale(.6); opacity: 1; }
  100% { transform: scale(2); opacity: 0; }
}

/* ── HERO ── */
.page-hero {
  position: relative;
  padding: 80px 96px 64px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: linear-gradient(to bottom, black 0%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 0%, transparent 100%);
  pointer-events: none;
  animation: gridDrift 20s linear infinite;
}
@keyframes gridDrift {
  from { background-position: 0 0; }
  to   { background-position: 0 52px; }
}

.page-hero::after {
  content: 'CORTES';
  position: absolute;
  top: 10px;
  right: -10px;
  font-family: 'Playfair Display', serif;
  font-size: 160px;
  font-weight: 900;
  color: rgba(255,255,255,0.018);
  letter-spacing: .08em;
  pointer-events: none;
  white-space: nowrap;
  line-height: 1;
}

.hero-inner { position: relative; z-index: 1; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 10px;
  letter-spacing: .45em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  animation: fadeUp .5s ease both;
}
.eyebrow::before { content: ''; width: 36px; height: 1px; background: var(--gold); }

.page-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(44px, 6vw, 84px);
  font-weight: 900;
  line-height: .95;
  letter-spacing: -.02em;
  animation: fadeUp .6s .1s ease both;
}
.page-title em { font-style: italic; color: var(--gold); display: block; }

.page-sub {
  font-size: 13px;
  color: var(--muted);
  margin-top: 20px;
  letter-spacing: .06em;
  animation: fadeUp .6s .2s ease both;
}

/* ── GRID ── */
.cortes-wrap {
  position: relative;
  z-index: 1;
  padding: 0 96px 80px;
}

.cortes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.06);
  border-top: none;
}

/* ── CARD ── */
.corte-link {
  text-decoration: none;
  color: inherit;
  display: block;
  background: var(--dark);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  transition: background .35s;
  cursor: pointer;
}

.corte-link.visible {
  animation: cardIn .6s cubic-bezier(.22,1,.36,1) forwards;
}
@keyframes cardIn {
  to { opacity: 1; transform: translateY(0); }
}

.corte-link:hover { background: var(--dark3); }

.corte-link::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  z-index: 4;
  width: 0; height: 0;
  border-style: solid;
  border-width: 0 32px 32px 0;
  border-color: transparent rgba(216, 216, 216, 0.12) transparent transparent;
  transition: border-width .35s;
}
.corte-link:hover::before {
  border-width: 0 52px 52px 0;
  border-color: transparent rgba(253, 252, 250, 0.28) transparent transparent;
}

.corte-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold2), transparent);
  transform: scaleX(0);
  transition: transform .5s cubic-bezier(.22,1,.36,1);
  z-index: 3;
}
.corte-link:hover::after { transform: scaleX(1); }

/* imagem */
.corte-img-wrap {
  position: relative;
  height: 260px;
  overflow: hidden;
}
.corte-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.55) saturate(.7);
  transition: transform .8s cubic-bezier(.22,1,.36,1), filter .5s;
  will-change: transform;
}
.corte-link:hover .corte-img-wrap img {
  transform: scale(1.07);
  filter: brightness(.38) saturate(.5);
}
.corte-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,8,7,.9) 0%, transparent 60%);
  z-index: 1;
}

/* overlay "Selecionar" */
.select-label {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .35s;
}
.select-label span {
  font-size: 9px;
  letter-spacing: .5em;
  text-transform: uppercase;
  color: var(--cream);
  border: 1px solid rgba(255,255,255,.25);
  padding: 11px 32px;
  background: rgba(8,8,7,.5);
  backdrop-filter: blur(6px);
  transition: border-color .3s, color .3s;
}
.corte-link:hover .select-label { opacity: 1; }
.corte-link:hover .select-label span { border-color: rgba(239, 238, 233, 0.5); color: var(--gold2); }

/* info */
.corte-info {
  padding: 22px 24px 28px;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.corte-nome {
  font-family: 'Playfair Display', serif;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.1;
  transition: color .3s;
}
.corte-link:hover .corte-nome { color: var(--cream); }

.corte-price { text-align: right; }
.price-from { display: block; font-size: 9px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.price-val { font-family: 'Playfair Display', serif; font-size: 26px; color: var(--gold); line-height: 1; }

/* loading */
.grid-loading {
  grid-column: 1 / -1;
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 10px;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--muted);
}
.grid-loading::before {
  content: '';
  width: 18px;
  height: 18px;
  border: 1px solid rgba(255,255,255,.12);
  border-top-color: var(--gold2);
  border-radius: 50%;
  animation: spin .75s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── FOOTER ── */
footer {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 32px 96px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .12em;
  position: relative;
  z-index: 1;
}
footer a { color: var(--muted); text-decoration: none; transition: color .3s; }
footer a:hover { color: var(--cream); }

/* ── BOTÃO FIXO ── */
.btn-assinaturas {
  position: fixed;
  bottom: 24px;
  right: 24px;
  border: 1px solid rgba(249, 248, 247, 0.35) !important;
  border-radius: 6px !important;
  background: rgba(22,22,20,.9);
  backdrop-filter: blur(12px);
  color: var(--cream);
  padding: 13px 20px;
  font-family: 'Barlow', sans-serif;
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 500;
  z-index: 9999;
  transition: border-color .3s, transform .3s, background .3s;
}
.btn-assinaturas:hover {
  border-color: rgba(244, 243, 240, 0.7) !important;
  background: rgba(30,30,28,.95);
  transform: translateY(-2px);
}

/* ── RESPONSIVE ── */
@media (max-width: 1000px) {
  .page-hero { padding: 56px 28px 48px; }
  .cortes-wrap { padding: 0 0 60px; }
  .cortes-grid { grid-template-columns: repeat(2,1fr); }
  .corte-img-wrap { height: 220px; }
  footer { padding: 28px 24px; }
}
@media (max-width: 600px) {
  header { padding: 16px 20px; }
  .page-hero { padding: 48px 20px 40px; }
  .page-hero::after { font-size: 80px; }
  .cortes-grid { grid-template-columns: 1fr; }
  .corte-img-wrap { height: 240px; }
  footer { flex-direction: column; gap: 12px; text-align: center; }
}