/* ==========================================================================
   LA VIERRO — VERSÃO 3 · DROP
   Referência: Nike SNKRS, Aimé Leon Dore, Represent. Escuro, cinematográfico,
   coleção tratada como lançamento. A marca vende desejo antes de vender peça.
   ========================================================================== */

:root {
  --bg: #0f0e11;
  --fg: #f2efe9;
  --muted: #8d8781;
  --line: rgba(242, 239, 233, 0.14);
  --surface: #17161a;
  --accent: #c2a98f;
  --accent-fg: #0f0e11;
  --pad: clamp(18px, 4vw, 60px);
  --radius: 2px;
}

body { background: var(--bg); color: var(--fg); font-size: 15px; }
::selection { background: var(--accent); color: var(--accent-fg); }

/* ------------------------------------------------------------- TOPBAR --- */
.top {
  background: var(--accent); color: var(--accent-fg);
  display: flex; justify-content: center; align-items: center;
  min-height: 36px; padding: 6px var(--pad); text-align: center;
}
.top .lv-frete { --frete-bg: transparent; --frete-fg: var(--accent-fg); padding: 0; font-weight: 650; }

/* ------------------------------------------------------------- HEADER --- */
.hd {
  position: fixed; top: 36px; left: 0; right: 0; z-index: 60;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px;
  padding: 20px var(--pad);
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), backdrop-filter 0.4s;
}
.hd.is-stuck {
  background: rgba(15, 14, 17, 0.86); backdrop-filter: blur(16px);
  padding-block: 13px; border-bottom: 1px solid var(--line);
}
.hd__nav { display: flex; gap: 24px; }
.hd__nav a { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; opacity: 0.78; transition: opacity 0.2s; }
.hd__nav a:hover { opacity: 1; }
.hd__mid { display: grid; place-items: center; }
.hd__acts { display: flex; justify-content: flex-end; align-items: center; gap: 20px; }
.hd__acts button { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; }
.hd__burger { display: none; font-size: 20px; }
@media (max-width: 880px) {
  .hd { grid-template-columns: auto 1fr auto; }
  .hd__nav { display: none; }
  .hd__burger { display: block; }
  .hd__acts span.t { display: none; }
}

.mob {
  position: fixed; inset: 0; z-index: 95; background: rgba(15, 14, 17, 0.97);
  backdrop-filter: blur(10px);
  display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 0 var(--pad);
  opacity: 0; visibility: hidden; transition: opacity 0.3s var(--ease), visibility 0.3s;
}
.mob.is-open { opacity: 1; visibility: visible; }
.mob a { font-family: var(--ff-display); font-size: clamp(34px, 8vw, 62px); font-weight: 500; line-height: 1.16; }
.mob a:hover { color: var(--accent); }
.mob__x { position: absolute; top: 28px; right: var(--pad); font-size: 30px; line-height: 1; }

/* ---------------------------------------------------------------- HERO -- */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; }
/* base da foto: é onde está o calçado — o hero de marca de sapato precisa
   mostrar sapato, não só o tricô do modelo */
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 100%; }
.hero__bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15, 14, 17, 0.72) 0%, rgba(15, 14, 17, 0.14) 34%, rgba(15, 14, 17, 0.9) 88%, var(--bg) 100%);
}
.hero__in { position: relative; padding: 0 var(--pad) clamp(48px, 8vh, 92px); display: grid; gap: 22px; }
.hero__kick {
  display: inline-flex; align-items: center; gap: 10px; margin: 0;
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent);
}
.hero__kick::before { content: ''; width: 34px; height: 1px; background: currentColor; }
.hero h1 {
  font-family: var(--ff-display); font-weight: 500;
  font-size: clamp(48px, 11vw, 168px); line-height: 0.86; letter-spacing: -0.025em;
  margin: 0; text-transform: uppercase;
}
/* texto e botões empilhados à esquerda: no layout anterior os CTAs ficavam
   na borda direita, exatamente sob o botão flutuante do WhatsApp */
.hero__row { display: grid; gap: 22px; justify-items: start; max-width: 640px; }
.hero p { margin: 0; max-width: 44ch; font-size: 15.5px; line-height: 1.7; color: #c0b9b1; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .lv-btn { background: var(--fg); color: var(--bg); }
.hero .lv-btn--ghost { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1px var(--line); }

/* à direita, fora da coluna de texto — no centro colidia com o parágrafo */
.scroll {
  position: absolute; right: var(--pad); bottom: 26px;
  font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted);
  display: grid; justify-items: center; gap: 8px;
}
@media (max-width: 880px) { .scroll { display: none; } }
.scroll i { display: block; width: 1px; height: 34px; background: linear-gradient(var(--muted), transparent); animation: drop 2s var(--ease) infinite; }
@keyframes drop { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (prefers-reduced-motion: reduce) { .scroll i { animation: none; } }

/* ------------------------------------------------------------- MARQUEE -- */
.mq { border-block: 1px solid var(--line); padding: 15px 0; overflow: hidden; background: var(--surface); }
.mq__t { display: flex; gap: 46px; white-space: nowrap; animation: mq 34s linear infinite; }
.mq__t span { font-family: var(--ff-display); font-size: 21px; letter-spacing: 0.06em; color: var(--muted); text-transform: uppercase; }
.mq__t span b { color: var(--accent); font-weight: 500; }
@keyframes mq { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .mq__t { animation: none; } }

/* ------------------------------------------------------------ CAPÍTULO -- */
.sec { padding: clamp(64px, 10vw, 130px) var(--pad); }
.sec__hd { display: flex; align-items: flex-end; justify-content: space-between; gap: 26px; flex-wrap: wrap; margin-bottom: 44px; }
.sec__num { font-size: 11px; letter-spacing: 0.24em; color: var(--accent); margin: 0 0 10px; }
.sec__ttl { font-family: var(--ff-display); font-size: clamp(34px, 6vw, 78px); font-weight: 500; line-height: 0.94; margin: 0; text-transform: uppercase; letter-spacing: -0.02em; }
.sec__sub { color: var(--muted); font-size: 14.5px; max-width: 40ch; margin: 14px 0 0; line-height: 1.7; }

.cats { display: flex; gap: 3px; flex-wrap: wrap; }
.cats button {
  padding: 10px 20px; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 650;
  border-radius: 99px; box-shadow: inset 0 0 0 1px var(--line); color: var(--muted);
  transition: all 0.24s var(--ease);
}
.cats button:hover { color: var(--fg); box-shadow: inset 0 0 0 1px var(--fg); }
.cats button.is-on { background: var(--fg); color: var(--bg); box-shadow: none; }

/* ---------------------------------------------------------------- GRID -- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(26px, 3vw, 48px) clamp(14px, 2vw, 26px); }
@media (max-width: 980px) { .grid { grid-template-columns: repeat(2, 1fr); } }

.lv-card__img {
  position: relative; display: block; width: 100%; aspect-ratio: 3/4;
  overflow: hidden; background: var(--surface); padding: 0; border-radius: var(--radius);
}
.lv-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), opacity 0.5s var(--ease); }
.lv-card__alt { position: absolute; inset: 0; opacity: 0; }
.lv-card:hover .lv-card__alt { opacity: 1; }
.lv-card:hover .lv-card__img img { transform: scale(1.06); }
.lv-card__img::after {
  content: ''; position: absolute; inset: 0; opacity: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(15, 14, 17, 0.75));
  transition: opacity 0.4s var(--ease);
}
.lv-card:hover .lv-card__img::after { opacity: 1; }
.lv-card__tag { position: absolute; top: 12px; left: 12px; z-index: 2; }

.lv-card__info { padding: 16px 2px 0; }
.lv-card__tipo { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin: 0 0 6px; }
.lv-card__nome { margin: 0 0 8px; font-family: var(--ff-display); font-size: 22px; font-weight: 500; line-height: 1.15; text-transform: uppercase; }
.lv-card__nome button { text-align: left; }
.lv-card__nome button:hover { color: var(--accent); }
.lv-card__preco { display: flex; align-items: baseline; gap: 8px; margin: 0; }
.lv-card__preco b { font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.lv-card__preco s { color: var(--muted); font-size: 12.5px; }
.lv-card__preco em { font-style: normal; font-size: 10.5px; font-weight: 700; color: var(--accent); }
.lv-card__parc { font-size: 11.5px; color: var(--muted); margin: 4px 0 0; }
.lv-card__add {
  margin-top: 14px; padding: 11px 0; width: 100%;
  box-shadow: inset 0 0 0 1px var(--line); border-radius: var(--radius);
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  transition: all 0.24s var(--ease);
}
.lv-card__add:hover { background: var(--fg); color: var(--bg); box-shadow: none; }
.lv-vazio { grid-column: 1/-1; text-align: center; padding: 80px 0; color: var(--muted); }

/* ---------------------------------------------------------------- LOOK -- */
.look { position: relative; min-height: 92svh; display: grid; align-items: center; overflow: hidden; }
.look__bg { position: absolute; inset: 0; }
.look__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.look__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15, 14, 17, 0.9), rgba(15, 14, 17, 0.32) 58%, transparent); }
.look__in { position: relative; padding: 0 var(--pad); max-width: 620px; display: grid; gap: 20px; }
.look h2 { font-family: var(--ff-display); font-size: clamp(34px, 5.4vw, 68px); font-weight: 500; line-height: 1; margin: 0; text-transform: uppercase; letter-spacing: -0.02em; }
.look p { color: #c0b9b1; font-size: 15.5px; line-height: 1.72; margin: 0; }

/* ------------------------------------------------------------- DETALHE -- */
.det { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; }
.det__c { position: relative; aspect-ratio: 1/1; overflow: hidden; background: var(--surface); }
.det__c img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.det__c:hover img { transform: scale(1.05); }
.det__c figcaption {
  position: absolute; inset: auto 0 0 0; padding: 26px 24px;
  background: linear-gradient(transparent, rgba(15, 14, 17, 0.9));
}
.det__c b { display: block; font-family: var(--ff-display); font-size: 24px; font-weight: 500; margin-bottom: 4px; }
.det__c span { font-size: 12.5px; color: #b3aca4; line-height: 1.5; }
@media (max-width: 700px) { .det { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- CTA --- */
.cta { padding: clamp(72px, 11vw, 140px) var(--pad); text-align: center; display: grid; gap: 26px; justify-items: center; background: var(--surface); }
.cta h2 { font-family: var(--ff-display); font-size: clamp(32px, 5.6vw, 66px); font-weight: 500; line-height: 1.02; margin: 0; text-transform: uppercase; letter-spacing: -0.02em; }
.cta p { color: var(--muted); max-width: 46ch; margin: 0; line-height: 1.7; }

/* -------------------------------------------------------------- FOOTER -- */
.ft { padding: 56px var(--pad) 28px; border-top: 1px solid var(--line); }
.ft__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 36px; padding-bottom: 34px; border-bottom: 1px solid var(--line); }
.ft__top h4 { font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin: 0 0 15px; }
.ft__top a, .ft__top p { display: block; font-size: 13px; margin: 0 0 9px; color: #a8a29b; }
.ft__top a:hover { color: var(--fg); }
.ft__brand p { max-width: 32ch; margin-top: 18px; }
.ft__bot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; font-size: 11.5px; color: #6f6a64; }
@media (max-width: 760px) { .ft__top { grid-template-columns: 1fr; gap: 28px; } }

/* --------------------------------------------------------------- REVEAL --
   Só esconde quando o JS confirmou que está vivo (html.js). Sem JS — ou se o
   script quebrar antes do observer — o conteúdo continua visível. */
html.js [data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
html.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html.js [data-reveal] { opacity: 1; transform: none; } }
