/* =========================================================
   5M ESPORTS — estilos
   Fundo creme + secções escuras, um único acento vermelho.
   Cores e tipografia estão todas aqui em cima (tokens).
   ========================================================= */
:root {
  --bg: #f2f0e9;
  --bg-2: #e9e6dc;
  --bg-3: #dcd8cc;
  --ink: #151513;
  --ink-2: #4b4943;
  --muted: #86827a;
  --line: rgba(21, 21, 19, 0.12);
  --line-2: rgba(21, 21, 19, 0.24);
  --red: #d8262d;
  --red-2: #b81c22;
  --on-red: #fff;
  --paper: #e3e0d6; /* fundo das fotos de produto */
  --topo: url("../img/topo-light.svg");
  --shadow: 0 30px 60px -28px rgba(40, 30, 20, 0.45);

  --display: "Unbounded", "Satoshi", system-ui, sans-serif;
  --font: "Satoshi", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Unbounded", "Satoshi", sans-serif; /* destaque: mesma letra, vermelha e inclinada */
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --gutter: clamp(16px, 3.4vw, 48px);
  --max: 1520px;
  --r-sm: 4px;
  --radius: 8px;
  --r-lg: 18px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1); /* só para momentos lúdicos */
  --out: cubic-bezier(0.23, 1, 0.32, 1);       /* utilitários: rápido, sem ressalto */
  --in: cubic-bezier(0.55, 0, 1, 0.45);        /* saídas */
  --header-h: 84px;

  --z-sticky: 30; --z-header: 50; --z-menu: 70; --z-overlay: 80; --z-drawer: 90; --z-modal: 95; --z-toast: 100; --z-skip: 200;
}

/* secções escuras: redefinem os tokens, tudo o resto adapta-se */
.is-dark {
  --bg: #171714;
  --bg-2: #201f1b;
  --bg-3: #2b2a25;
  --ink: #f2f0e9;
  --ink-2: #b6b2a7;
  --muted: #858175;
  --line: rgba(242, 240, 233, 0.12);
  --line-2: rgba(242, 240, 233, 0.24);
  --red-2: #ef4a4f;
  --topo: url("../img/topo-dark.svg");
  background-color: var(--bg);
  color: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 17px; line-height: 1.55; font-weight: 500;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.lock { overflow: hidden; }
main { overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
h1, h2, h3, h4 { text-wrap: balance; }
p { text-wrap: pretty; }
.price, .pdp-price, .qty span, .count, .trophy .y { font-variant-numeric: tabular-nums; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- tipografia ---------- */
.display {
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  line-height: 0.95; letter-spacing: -0.035em; margin: 0;
}
.h1 { font-size: clamp(40px, 6.8vw, 116px); }
.h2 { font-size: clamp(30px, 4.6vw, 74px); }
.h3 { font-size: clamp(22px, 2.3vw, 34px); }
/* palavra de destaque: serifada itálica, vermelha, sem maiúsculas */
.serif {
  display: inline-block; font-family: var(--serif); font-style: normal; font-weight: 900; text-transform: uppercase;
  letter-spacing: -0.035em; color: var(--red); transform: skewX(-10deg); line-height: inherit;
}
.label {
  font-family: var(--font); font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-2);
}
.lead { font-size: clamp(17px, 1.3vw, 20px); color: var(--ink-2); max-width: 52ch; }
.note { color: var(--muted); font-size: 14px; }
.red { color: var(--red); }
.outline { -webkit-text-stroke: 1.5px var(--ink); color: transparent; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: var(--r-sm);
  background: var(--ink); color: var(--bg);
  font-family: var(--display); font-weight: 800; font-size: 13px; letter-spacing: 0.02em; text-transform: uppercase;
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform 0.16s var(--out), color 0.3s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--red); transform: translateY(101%); transition: transform 0.45s var(--ease);
}
.btn:hover::before { transform: none; }
.btn:hover { color: #fff; }
.btn:active { transform: scale(0.97); }
.btn--red { background: var(--red); color: var(--on-red); }
.btn--red::before { background: var(--ink); }
.btn--red:hover { color: var(--bg); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--block { width: 100%; }
.btn--fit { justify-self: start; width: max-content; }
.btn[disabled] { opacity: 0.4; pointer-events: none; }
.btn .arrow { transition: transform 0.3s var(--spring); }
.btn:hover .arrow { transform: translateX(4px); }

.tlink { display: inline-flex; align-items: center; gap: 10px; height: 52px; font-weight: 700; font-size: 15px; color: var(--ink); }
.tlink span { background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 2px; transition: background-size 0.35s var(--ease); }
.tlink:hover span { background-size: 0 1px; background-position: 100% 100%; }
.tlink svg { transition: transform 0.35s var(--spring); }
.tlink:hover svg { transform: translateX(5px); }
.link-u { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 0.35s var(--ease); }
.link-u:hover { background-size: 100% 1px; }

/* ---------- header (dividido: marca | monograma | ações) ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: var(--z-header); height: var(--header-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  padding: 0 var(--gutter); color: var(--ink);
  transition: transform 0.5s var(--ease), background 0.4s, color 0.4s;
}
.header.scrolled { background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.header.hide { transform: translateY(-100%); }
.header.on-dark { --bg: #171714; --ink: #f2f0e9; --line-2: rgba(242, 240, 233, 0.3); color: var(--ink); }
.wordmark { display: grid; font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 15px; line-height: 0.95; letter-spacing: -0.02em; justify-self: start; }
.wordmark span:first-child { color: var(--red); transform: skewX(-10deg); justify-self: start; }
.monogram { justify-self: center; width: 46px; transition: transform 0.6s var(--spring); }
.monogram img { width: 100%; }
.monogram:hover { transform: rotate(-10deg) scale(1.1); }
.header-actions { display: flex; justify-content: flex-end; align-items: center; gap: 8px; }
.nav { display: flex; gap: 26px; margin-right: 18px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.nav a { position: relative; opacity: 0.7; transition: opacity 0.2s; }
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--red); }
.shop-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: var(--r-sm); position: relative;
  background: var(--red); color: #fff; font-family: var(--display); font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: 0.02em;
  transition: transform 0.3s var(--spring), background 0.2s;
}
.shop-btn:hover { background: var(--red-2); transform: translateY(-2px); }
.shop-btn svg { width: 18px; height: 18px; }
.icon-btn, .menu-btn {
  width: 44px; height: 44px; border-radius: var(--r-sm); display: grid; place-items: center; position: relative;
  box-shadow: inset 0 0 0 1px var(--line-2); transition: background 0.2s, transform 0.16s var(--out);
}
.icon-btn:hover, .menu-btn:hover { background: color-mix(in srgb, var(--ink) 8%, transparent); }
.icon-btn:active, .menu-btn:active { transform: scale(0.94); }
.icon-btn svg { width: 20px; height: 20px; }
.menu-btn span { display: block; width: 18px; height: 1.6px; background: currentColor; position: absolute; left: 13px; transition: width 0.3s, left 0.3s; }
.menu-btn span:first-child { top: 17px; }
.menu-btn span:last-child { top: 25px; width: 10px; left: 21px; }
.menu-btn:hover span:last-child { width: 18px; left: 13px; }
.cart-count {
  position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px;
  background: var(--ink); color: var(--bg); font-family: var(--font); font-size: 11px; font-weight: 700;
  display: grid; place-items: center; transform: scale(0); transition: transform 0.4s var(--spring);
}
.cart-count.on { transform: scale(1); }
.cart-count.bump { animation: bump 0.45s var(--spring); }
@keyframes bump { 40% { transform: scale(1.5); } }
@media (max-width: 1000px) { .nav { display: none; } }
@media (max-width: 560px) {
  :root { --header-h: 68px; }
  .shop-btn .shop-txt { display: none; }
  .shop-btn { padding: 0 12px; }
  .monogram { width: 32px; }
  .wordmark { font-size: 13px; }
}

/* menu de ecrã inteiro */
.menu {
  position: fixed; inset: 0; z-index: var(--z-menu);
  display: grid; grid-template-columns: 1.3fr 1fr; padding: calc(var(--header-h) + 24px) var(--gutter) 32px; gap: 40px;
  clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path 0.45s var(--in), visibility 0s 0.45s;
}
.menu.open { clip-path: inset(0); visibility: visible; transition: clip-path 0.7s var(--ease); }
.menu .close { position: absolute; top: 20px; right: var(--gutter); }
.menu-links { display: flex; flex-direction: column; justify-content: center; }
.menu-links a {
  font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(36px, 6vw, 92px); line-height: 1; letter-spacing: -0.035em;
  display: flex; align-items: baseline; gap: 18px; border-bottom: 1px solid var(--line); padding: 8px 0;
  transform: translateY(40px); opacity: 0; transition: transform 0.8s var(--ease), opacity 0.8s, color 0.3s;
}
.menu.open .menu-links a { transform: none; opacity: 1; }
.menu.open .menu-links a:nth-child(2) { transition-delay: 0.06s; }
.menu.open .menu-links a:nth-child(3) { transition-delay: 0.12s; }
.menu.open .menu-links a:nth-child(4) { transition-delay: 0.18s; }
.menu-links a small { font-family: var(--font); font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: 0.1em; }
.menu-links a:hover { color: var(--red-2); }
.menu-side { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.menu-side img { border-radius: var(--radius); aspect-ratio: 4/5; object-fit: cover; max-height: 56vh; width: auto; align-self: flex-end; }
@media (max-width: 860px) { .menu { grid-template-columns: 1fr; } .menu-side img { display: none; } }

/* ---------- secções ---------- */
.section { padding: clamp(88px, 12vw, 180px) 0 clamp(100px, 13vw, 200px); position: relative; }
.section--flush { padding-top: 0; }
.section--ruled { border-top: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 48px; flex-wrap: wrap; }
.section-head .label { display: block; margin-bottom: 18px; }

/* ---------- cartões de produto ---------- */
.grid-products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 16px; }
@media (max-width: 1100px) { .grid-products { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .grid-products { grid-template-columns: repeat(2, 1fr); gap: 28px 10px; } }
.card { position: relative; display: flex; flex-direction: column; gap: 12px; }
.card-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--paper); }
.card-img { position: absolute; inset: 0; }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.5s var(--ease), transform 0.9s var(--ease); }
.card-media img + img { opacity: 0; }
.card:hover .card-media img:first-child { transform: scale(1.05); }
.card:hover .card-media img + img { opacity: 1; transform: scale(1.05); }
.card-tags { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; z-index: 2; }
.tag { font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 8px; border-radius: var(--r-sm); background: var(--bg); color: var(--ink); }
.tag--red { background: var(--red); color: #fff; }
.tag--light { background: var(--ink); color: var(--bg); }
.card-quick {
  position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 2; height: 46px; border-radius: var(--r-sm);
  background: var(--ink); color: var(--bg); font-family: var(--display); font-size: 12px; font-weight: 800; text-transform: uppercase;
  transform: translateY(calc(100% + 12px)); transition: transform 0.5s var(--ease), background 0.2s;
}
.card-quick:hover { background: var(--red); color: #fff; }
.card:hover .card-quick, .card:focus-within .card-quick { transform: none; }
@media (hover: none) { .card-quick { display: none; } }
.card-info { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.card-name { font-family: var(--font); font-weight: 700; font-size: 16px; line-height: 1.2; }
.card-sub { color: var(--muted); font-size: 13px; margin-top: 2px; }
.price { font-family: var(--mono); font-size: 14px; white-space: nowrap; }
.card.soldout .card-media img { filter: grayscale(1) opacity(0.7); }
.swatches { display: flex; gap: 5px; margin-top: 6px; }
.swatch { width: 11px; height: 11px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.25); }

/* skeleton enquanto as fotos carregam */
.card-media, .gallery figure, .quick-media { background: linear-gradient(100deg, var(--paper) 30%, #eeebe3 50%, var(--paper) 70%) 0 0 / 300% 100%; animation: shimmer 1.6s linear infinite; }
.card-media img:first-child, .gallery img, .quick-media img { opacity: 0; }
.card-media img.loaded:first-child, .gallery img.loaded, .quick-media img.loaded { opacity: 1; }
.card-media:has(img.loaded), .gallery figure:has(img.loaded), .quick-media:has(img.loaded) { animation: none; background: var(--paper); }
@keyframes shimmer { to { background-position: -300% 0; } }

/* ---------- chips / filtros ---------- */
.chip {
  height: 42px; padding: 0 18px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2);
  font-size: 14px; font-weight: 600; color: var(--ink-2); display: inline-flex; align-items: center; gap: 8px;
  transition: color 0.2s, background 0.2s, box-shadow 0.2s, transform 0.16s var(--out);
}
.chip:hover { color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.chip:active { transform: scale(0.96); }
.chip[aria-pressed="true"], .chip[aria-selected="true"] { background: var(--ink); color: var(--bg); box-shadow: none; }
.chip small { font-family: var(--mono); font-weight: 400; opacity: 0.6; }

/* ---------- personalização (camisola) ---------- */
.custom { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--red); color: #fff; display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; }
.custom--short { min-height: 420px; }
.custom-copy { padding: clamp(28px, 5vw, 64px); display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.custom-copy .display { margin-top: 16px; }
.custom-copy .lead { margin-top: 20px; color: rgba(255, 255, 255, 0.86); }
.custom .serif { color: #fff; }
.label--on-red { color: rgba(255, 255, 255, 0.8); }
.custom-controls { display: grid; gap: 14px; }
.custom-media { position: relative; background: #111; }
.custom-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.custom .btn { background: #fff; color: #111; }
.name-input { display: flex; gap: 8px; background: rgba(0, 0, 0, 0.2); border-radius: var(--r-sm); padding: 6px; max-width: 480px; }
.name-input input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; padding: 0 16px; color: #fff; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.name-input input::placeholder { color: rgba(255, 255, 255, 0.65); }
.name-input .num-input { flex: 0 0 64px; padding: 0 8px; text-align: center; }
.kit-stage { display: grid; place-items: center; padding: 32px; background: radial-gradient(60% 60% at 50% 45%, #2a0a0c, #121110 75%); }
.kit { width: min(100%, 420px); height: auto; overflow: visible; filter: drop-shadow(0 30px 40px rgba(40, 4, 6, 0.7)); transition: transform 0.6s var(--ease); }
.kit-stage:hover .kit { transform: rotate(-2deg) scale(1.02); }
.kit-body { fill: #121212; stroke: rgba(255, 255, 255, 0.08); stroke-width: 2; transition: fill 0.5s var(--ease); }
.kit-stripe { stroke: var(--red); stroke-width: 6; fill: none; }
.kit-collar { fill: none; stroke: var(--red); stroke-width: 7; }
.kit-name, .kit-num { fill: #f2f0e9; font-family: var(--display); font-weight: 900; text-transform: uppercase; transition: fill 0.5s; }
.kit-name { font-size: 28px; letter-spacing: 1px; }
.kit-num { font-size: 140px; letter-spacing: -6px; }
.kit-stage[data-kit="white"] .kit-body { fill: #f1f1ef; }
.kit-stage[data-kit="white"] .kit-name, .kit-stage[data-kit="white"] .kit-num { fill: #111; }
.kit-stage[data-kit="white"] .kit-logo { filter: invert(1); }
.kit-name.pop, .kit-num.pop { animation: pop 0.3s var(--ease); transform-box: fill-box; transform-origin: center; }
@keyframes pop { 50% { transform: scale(1.06); } }
.kit-colors { display: flex; gap: 10px; }
.kit-color { width: 36px; height: 36px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35); transition: box-shadow 0.2s; }
.kit-color[aria-checked="true"] { box-shadow: 0 0 0 2px var(--red), 0 0 0 4px #fff; }
@media (max-width: 860px) {
  .custom { grid-template-columns: minmax(0, 1fr); }
  .custom-media { aspect-ratio: 4/3.4; order: -1; }
  .name-input { flex-wrap: wrap; }
  .name-input input { height: 46px; }
  .name-input .btn { flex: 1 0 100%; }
}

/* ---------- equipas ---------- */
.teams-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 40px; }
.teams-tabs--hero { margin-top: 32px; }
.team-panel { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; }
.team-panel[hidden] { display: none; }
.team-big { font-family: var(--display); font-weight: 900; font-size: clamp(84px, 14vw, 220px); line-height: 0.78; color: transparent; -webkit-text-stroke: 1.5px var(--line-2); margin: 0; user-select: none; }
.team-title { margin: 18px 0 8px; font-family: var(--display); font-size: clamp(18px, 1.8vw, 26px); font-weight: 800; line-height: 1.15; text-transform: uppercase; letter-spacing: -0.02em; }
.roster { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.player { background: var(--bg); padding: 22px 20px; transition: background 0.25s; position: relative; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.player:hover { background: var(--bg-2); }
.player b { display: block; font-family: var(--display); font-weight: 900; font-size: 19px; text-transform: uppercase; line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 4px; }
.player span { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
.player::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--red); transform: scaleY(0); transition: transform 0.3s var(--ease); }
.player:hover::after { transform: none; }
.player--empty { grid-column: 1 / -1; padding: 40px 24px; }
@media (max-width: 860px) { .team-panel { grid-template-columns: minmax(0, 1fr); gap: 24px; } }

/* ---------- palmarés ---------- */
.trophies { border-top: 1px solid var(--line); }
.trophy { display: grid; grid-template-columns: 90px 1fr auto; align-items: center; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); position: relative; isolation: isolate; }
.trophy::before { content: ""; position: absolute; inset: 0; background: var(--bg-2); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease); z-index: -1; }
.trophy:hover::before { transform: none; }
.trophy .y { font-family: var(--mono); color: var(--muted); font-size: 13px; }
.trophy .t { font-family: var(--font); font-size: clamp(17px, 1.6vw, 24px); font-weight: 700; }
.trophy .p { font-family: var(--display); font-weight: 900; font-size: clamp(22px, 2.3vw, 36px); line-height: 1; letter-spacing: -0.03em; }
.trophy.gold .p { color: var(--red-2); transform: skewX(-10deg); }
@media (max-width: 600px) { .trophy { grid-template-columns: 1fr auto; gap: 4px 16px; } .trophy .y { grid-column: 1 / -1; } }

/* ---------- parceiros ---------- */
.partners { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.partner { background: var(--bg-2); border-radius: var(--radius); padding: 32px 28px; min-height: 240px; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; transition: background 0.3s; }
.partner:hover { background: var(--bg-3); }
.partner:first-child { grid-column: span 2; grid-row: span 2; min-height: 490px; }
.partner:first-child .partner-logo { height: auto; flex: 1; }
.partner:first-child .partner-logo img { max-height: 180px; max-width: 100%; }
.partner:first-child h4 { font-size: 24px; }
.partner:last-child:nth-child(6) { grid-column: 1 / -1; min-height: 0; flex-direction: row; align-items: center; }
.partner-logo { height: 72px; display: flex; align-items: center; }
.partner-logo img { max-height: 72px; max-width: 200px; width: auto; object-fit: contain; }
.partner-logo .wordmark-txt { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 22px; line-height: 1.05; letter-spacing: -0.03em; }
.partner h4 { margin: 0 0 6px; font-family: var(--font); font-weight: 700; font-size: 17px; }
.partner p { margin: 0; color: var(--ink-2); font-size: 14px; max-width: 52ch; }
@media (max-width: 1000px) { .partners { grid-template-columns: repeat(2, 1fr); } .partner:first-child { min-height: 360px; } }
@media (max-width: 560px) { .partners { grid-template-columns: minmax(0, 1fr); } .partner:first-child { grid-column: auto; grid-row: auto; min-height: 280px; } .partner:last-child:nth-child(6) { flex-direction: column; align-items: stretch; } }

/* contorno iluminado sob o cursor */
[data-spot] > * { position: relative; isolation: isolate; }
[data-spot] > *::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; z-index: 1;
  background: radial-gradient(260px circle at var(--sx, -100px) var(--sy, -100px), rgba(216, 38, 45, 0.8), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 0.3s;
}
[data-spot] > *:hover::before { opacity: 1; }

/* ---------- redes sociais ---------- */
.socials { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.socials--left { justify-content: flex-start; }
.social { width: 48px; height: 48px; border-radius: var(--r-sm); box-shadow: inset 0 0 0 1px var(--line-2); display: grid; place-items: center; transition: background 0.3s, transform 0.4s var(--spring), box-shadow 0.3s; }
.social:hover { background: var(--red); color: #fff; box-shadow: none; transform: translateY(-4px); }
.social svg { width: 19px; height: 19px; }

/* ---------- footer ---------- */
.footer { padding: 80px 0 28px; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; align-items: start; }
.footer-brand .note { max-width: 36ch; margin-top: 16px; }
.footer-nav { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer-nav a { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 24px; line-height: 1.15; letter-spacing: -0.03em; color: var(--ink-2); transition: color 0.2s, padding 0.4s var(--spring); }
.footer-nav a:hover { color: var(--ink); padding-left: 8px; }
.footer-contact { display: grid; gap: 6px; justify-items: start; }
.footer-contact .socials { margin-top: 16px; }
.footer-mega { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(40px, 11vw, 206px); line-height: 0.9; margin: 72px 0 28px; letter-spacing: -0.05em; color: var(--ink); white-space: nowrap; user-select: none; }

.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 13px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- carrinho (painel lateral) ---------- */
.overlay { position: fixed; inset: 0; z-index: var(--z-overlay); background: rgba(21, 21, 19, 0.45); backdrop-filter: blur(4px); opacity: 0; visibility: hidden; transition: 0.4s var(--ease); }
.overlay.open { opacity: 1; visibility: visible; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: var(--z-drawer); width: min(480px, 100%); background: var(--bg); border-left: 1px solid var(--line); display: flex; flex-direction: column; transform: translateX(100%); transition: transform 0.28s var(--in); }
.drawer.open { transform: none; transition: transform 0.45s var(--out); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { margin: 0; font-family: var(--display); font-weight: 900; font-size: 21px; text-transform: uppercase; letter-spacing: -0.03em; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 24px; overscroll-behavior: contain; }
.drawer-foot { padding: 20px 24px 24px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.drawer-foot .note { margin: 0; }
.drawer[data-step="checkout"] .drawer-body { padding-top: 16px; }
.row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.row.total { font-size: 18px; font-weight: 700; }
.row.total .price { font-size: 18px; }
.line-item { display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); animation: fadeIn 0.4s var(--ease); }
.line-item img { width: 84px; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--r-sm); background: var(--paper); }
.line-item h4 { margin: 0; font-family: var(--font); font-size: 16px; font-weight: 700; }
.line-item .opts { color: var(--muted); font-size: 13px; margin: 2px 0 10px; }
.line-item .rm { color: var(--muted); font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.line-item .rm:hover { color: var(--red); }
.line-end { text-align: right; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; }
.qty { display: inline-flex; align-items: center; box-shadow: inset 0 0 0 1px var(--line-2); border-radius: var(--r-sm); height: 34px; }
.qty button { width: 34px; height: 34px; display: grid; place-items: center; font-size: 16px; }
.qty span { min-width: 22px; text-align: center; font-family: var(--mono); font-size: 13px; }
.qty--lg { height: 52px; }
.qty--lg button { width: 44px; height: 52px; }
.empty { text-align: center; padding: 64px 0; color: var(--ink-2); }
.empty .display { font-size: 34px; margin-bottom: 12px; color: var(--ink); }
.empty .note { margin-top: 16px; }
.checkout { display: grid; gap: 18px; padding-bottom: 24px; }
.checkout .note { margin: 0; }
.back { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: 14px; justify-self: start; transition: color 0.2s, gap 0.25s var(--out); }
.back:hover { color: var(--ink); gap: 12px; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } }

/* ---------- modal (compra rápida) ---------- */
.modal { position: fixed; inset: 0; z-index: var(--z-modal); display: grid; place-items: center; padding: 16px; visibility: hidden; pointer-events: none; }
.modal.open { visibility: visible; pointer-events: auto; }
.modal-box { width: min(980px, 100%); max-height: calc(100svh - 32px); overflow: auto; background: var(--bg); border-radius: var(--r-lg); opacity: 0; transform: translateY(8px) scale(0.98); transition: opacity 0.18s var(--in), transform 0.18s var(--in); position: relative; box-shadow: var(--shadow); }
.modal.open .modal-box { opacity: 1; transform: none; transition: opacity 0.35s var(--out), transform 0.35s var(--out); }
.modal-close { position: absolute; top: 12px; right: 12px; z-index: 3; background: var(--bg); }
.quick { display: grid; grid-template-columns: 1fr 1fr; }
.quick-media { aspect-ratio: 4/5; }
.quick-media img { width: 100%; height: 100%; object-fit: cover; }
.quick-body { padding: 40px 32px; display: flex; flex-direction: column; gap: 20px; }
.quick-title { margin: 10px 0 12px; }
@media (max-width: 760px) { .quick { grid-template-columns: 1fr; } .quick-media { aspect-ratio: 1; } .quick-body { padding: 24px 20px; } }

/* ---------- opções de compra ---------- */
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.opt-group { display: grid; gap: 10px; }
.opt-group legend, .opt-label { display: flex; justify-content: space-between; width: 100%; font-size: 14px; font-weight: 700; padding: 0; }
.opt-label em { font-style: normal; color: var(--muted); font-weight: 500; }
.opt-group.invalid .opt-label em { color: var(--red); }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span { display: inline-grid; place-items: center; min-width: 56px; height: 46px; padding: 0 14px; border-radius: var(--r-sm); box-shadow: inset 0 0 0 1px var(--line-2); font-weight: 600; font-size: 14px; cursor: pointer; user-select: none; transition: background 0.15s, color 0.15s, box-shadow 0.15s, transform 0.16s var(--out); }
.opt span:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.opt span:active { transform: scale(0.95); }
.opt input:checked + span { background: var(--ink); color: var(--bg); box-shadow: none; }
.opt input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.opt--color span { gap: 8px; display: inline-flex; align-items: center; }
.opt--color i { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.25); }
.shake { animation: shake 0.4s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.buy-form { display: grid; gap: 22px; }
.buy-row { display: flex; gap: 10px; }
.buy-row .btn { flex: 1; white-space: nowrap; padding: 0 18px; }

/* ---------- formulários ---------- */
.form-stack { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 700; }
.field input, .field textarea, .field select { min-width: 0; width: 100%; background: transparent; border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 14px 16px; outline: 0; transition: border-color 0.2s; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--ink); }
.field textarea { resize: vertical; min-height: 110px; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--red); }
.field .err { color: var(--red); font-size: 13px; }
.field .err:empty { display: none; }
.field select option { background: var(--bg); }

/* ---------- página de produto ---------- */
.crumbs { display: flex; gap: 8px; color: var(--muted); font-size: 13px; padding: calc(var(--header-h) + 16px) 0 24px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--ink); }
.crumb-current { color: var(--ink); }
.pdp { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(24px, 4vw, 72px); align-items: start; padding-bottom: 80px; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; cursor: zoom-in; position: relative; }
.gallery figure:first-child { grid-column: 1 / -1; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.2s ease-out, opacity 0.5s; transform-origin: var(--zx, 50%) var(--zy, 50%); }
.gallery figure.zoom img { transform: scale(2); }
.pdp-info { position: sticky; top: calc(var(--header-h) + 16px); display: flex; flex-direction: column; gap: 24px; }
.pdp-info h1 { font-size: clamp(30px, 3.4vw, 58px); }
.pdp-tags { display: flex; gap: 6px; margin-bottom: 14px; }
.pdp-price { margin-top: 16px; font-family: var(--mono); font-size: 22px; }
.quick-body .pdp-price { margin-top: 0; }
.pdp-desc { margin: 0; color: var(--ink-2); max-width: 52ch; }
.perk { display: flex; gap: 12px; align-items: center; padding: 14px 16px; background: var(--bg-2); border-radius: var(--radius); font-size: 14px; }
.perk svg { flex: none; color: var(--red); }
.specs { margin: 0; border-top: 1px solid var(--line); }
.specs > div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.specs dt { color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; padding-top: 4px; }
.specs dd { margin: 0; color: var(--ink-2); }
.mobile-buy { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 12px 16px; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(12px); border-top: 1px solid var(--line); transform: translateY(100%); transition: transform 0.4s var(--ease); }
.mobile-buy.show { transform: none; }
.mobile-buy-row { align-items: center; }
.mobile-buy-name { font-weight: 700; font-size: 14px; }
.mobile-buy .btn { height: 46px; }
@media (max-width: 900px) {
  .pdp { grid-template-columns: minmax(0, 1fr); }
  .pdp-info { position: static; }
  .gallery { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 86%; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); scrollbar-width: none; }
  .gallery figure { scroll-snap-align: center; }
  .gallery figure:first-child { grid-column: auto; }
  .mobile-buy { display: block; }
}

/* ---------- loja ---------- */
.shop-hero { padding: calc(var(--header-h) + clamp(32px, 6vw, 80px)) 0 36px; border-bottom: 1px solid var(--line); background-image: var(--topo); background-size: cover; }
.shop-hero .h1 { font-size: clamp(46px, 9.4vw, 170px); }
.shop-hero .display { margin-top: 16px; }
.toolbar { position: sticky; top: 0; z-index: var(--z-sticky); background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); padding: 14px 0; margin-bottom: 40px; transition: top 0.5s var(--ease); }
body:has(.header:not(.hide)) .toolbar { top: var(--header-h); }
.toolbar .wrap { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.filters { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; }
.filters::-webkit-scrollbar { display: none; }
.filters .chip { flex: none; }
.tools { display: flex; gap: 8px; align-items: center; }
.search { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); }
.search input { background: transparent; border: 0; outline: 0; width: 150px; font-size: 14px; }
.select {
  height: 42px; border-radius: 999px; padding: 0 36px 0 16px; background: transparent; border: 0; box-shadow: inset 0 0 0 1px var(--line-2);
  font-size: 13px; font-weight: 700; appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none' stroke='%23151513' stroke-width='1.5'%3E%3Cpath d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.select option { background: var(--bg); }
.shop-results { padding-bottom: 140px; }
.results-count { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.no-results { grid-column: 1 / -1; padding: 80px 0; text-align: center; color: var(--ink-2); }
@media (max-width: 760px) { .tools { width: 100%; } .search { flex: 1; } .search input { width: 100%; } }

/* ---------- páginas interiores ---------- */
.page-hero { padding: calc(var(--header-h) + clamp(48px, 8vw, 120px)) 0 clamp(48px, 7vw, 100px); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; background-image: var(--topo); background-size: cover; }
.page-hero .display { margin-top: 16px; }
.page-hero .lead { margin-top: 28px; }
.stack { display: grid; gap: 24px; }
.pillar { position: sticky; top: calc(var(--header-h) + 16px); display: grid; grid-template-columns: 1.2fr 0.8fr; min-height: min(70vh, 560px); background: var(--bg-2); border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 -24px 48px -28px rgba(40, 30, 20, 0.35); }
.pillar:nth-child(2) { top: calc(var(--header-h) + 40px); }
.pillar:nth-child(3) { top: calc(var(--header-h) + 64px); background: var(--red); color: #fff; }
.pillar:nth-child(3) .n, .pillar:nth-child(3) p { color: rgba(255, 255, 255, 0.86); }
.pillar-copy { padding: clamp(28px, 5vw, 64px); display: flex; flex-direction: column; justify-content: flex-end; }
.pillar img { width: 100%; height: 100%; object-fit: cover; }
.pillar .n { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); }
.pillar h3 { margin: 16px 0; font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(32px, 4.4vw, 70px); line-height: 0.95; letter-spacing: -0.035em; }
.pillar p { margin: 0; color: var(--ink-2); font-size: 18px; max-width: 46ch; }
@media (max-width: 760px) { .pillar { grid-template-columns: minmax(0, 1fr); min-height: 0; } .pillar img { height: 240px; order: -1; } }
.staff { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.staff div { background: var(--bg); padding: 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.staff b { display: block; font-family: var(--font); font-weight: 700; font-size: 17px; }
.staff span { color: var(--muted); font-size: 13px; }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact .display { margin: 16px 0 24px; }
.contact .two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-mail { margin-top: 28px; font-size: 20px; display: grid; gap: 4px; justify-items: start; }
@media (max-width: 860px) { .contact { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .contact .two { grid-template-columns: minmax(0, 1fr); } }
.prose { max-width: 68ch; }
.prose h2 { font-family: var(--display); font-size: 19px; font-weight: 900; text-transform: uppercase; letter-spacing: -0.02em; margin: 40px 0 10px; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--ink-2); font-size: 17px; margin: 0; }
.not-found { min-height: 100dvh; display: grid; align-items: center; position: relative; overflow: hidden; isolation: isolate; padding: calc(var(--header-h) + 40px) 0 96px; background-image: var(--topo); background-size: cover; }
.not-found-code { position: absolute; right: -2vw; bottom: -4vw; z-index: -1; margin: 0; font-family: var(--display); font-weight: 900; font-size: clamp(160px, 30vw, 460px); line-height: 0.8; color: transparent; -webkit-text-stroke: 1.5px var(--line-2); user-select: none; }
.not-found .lead { margin: 24px 0 32px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: var(--z-toast); transform: translate(-50%, calc(100% + 48px)); visibility: hidden; background: var(--ink); color: var(--bg); padding: 10px 14px 10px 10px; border-radius: var(--radius); display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 14px; box-shadow: var(--shadow); transition: transform 0.22s var(--in), visibility 0s 0.22s; max-width: calc(100% - 32px); }
.toast.show { transform: translate(-50%, 0); visibility: visible; transition: transform 0.45s var(--out); }
.toast img { width: 38px; height: 38px; border-radius: var(--r-sm); object-fit: cover; background: var(--paper); }
.toast button { text-decoration: underline; text-underline-offset: 3px; font-weight: 700; margin-left: 4px; }

/* ---------- entradas ao fazer scroll (sem GSAP) ---------- */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal-stagger.in > * { opacity: 1; transform: none; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 0.06s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 0.12s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 0.18s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 0.24s; }
.reveal-stagger.in > *:nth-child(n + 6) { transition-delay: 0.3s; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: var(--z-skip); background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: 4px; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* =========================================================
   PÁGINA INICIAL
   ========================================================= */

/* --- hero: retrato com máscara que revela a cor por baixo do rato --- */
.h-hero { background-color: var(--bg); position: relative; min-height: 100svh; display: grid; place-items: center; overflow: hidden; isolation: isolate; padding: var(--header-h) 0 0; }
.h-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background-image: var(--topo); background-size: cover; background-position: center; }
.h-logo { position: relative; width: min(54vh, 480px, 78vw); aspect-ratio: 1; margin-top: -9vh; perspective: 1100px; }
.h-logo-in, .h-logo-tilt { position: absolute; inset: 0; }
.h-logo-tilt { transform-style: preserve-3d; will-change: transform; }
.h-logo-img { position: absolute; inset: 0; width: 100%; height: 100%; transform: translateZ(50px); user-select: none; -webkit-user-drag: none; }
/* sombra em profundidade: o próprio logo, escuro e desfocado, atrás */
.h-logo-shadow { position: absolute; inset: 0; width: 100%; height: 100%; transform: translateZ(-60px) translateY(7%) scale(0.94); filter: brightness(0) blur(22px); opacity: 0.22; }
/* reflexo de luz recortado à forma do logo */
.h-logo-shine {
  position: absolute; inset: 0; transform: translateZ(51px); pointer-events: none;
  -webkit-mask: url("../img/logo-red.png") center / contain no-repeat; mask: url("../img/logo-red.png") center / contain no-repeat;
  background: radial-gradient(circle at var(--sx, 50%) var(--sy, 25%), rgba(255, 236, 230, 0.75), rgba(255, 236, 230, 0) 38%);
  mix-blend-mode: screen; opacity: 0; transition: opacity 0.4s cubic-bezier(0.2, 0.7, 0.1, 1);
}
.h-hero.is-hover .h-logo-shine { opacity: 1; }
@media (max-width: 760px) { .h-logo { width: 66vw; margin-top: -24vh; } .h-hero .h-title { bottom: calc(clamp(20px, 4vh, 40px) + 72px); } }
.h-title { position: absolute; left: 0; right: 0; bottom: clamp(24px, 7vh, 72px); margin: 0; text-align: center; pointer-events: none; padding: 0 var(--gutter); }

.h-title .display { font-size: clamp(36px, 7.2vw, 132px); line-height: 0.95; }
.h-title .line { display: block; overflow: hidden; padding-top: 0.14em; margin-top: -0.14em; }
.h-title .line > span { display: inline-block; }
.h-meta { position: absolute; z-index: 5; mix-blend-mode: normal; bottom: clamp(20px, 4vh, 40px); display: flex; flex-direction: column; gap: 10px; }
.h-meta--left { left: var(--gutter); }
.h-meta--right { right: var(--gutter); align-items: flex-end; }
.h-card { width: 140px; padding: 10px; background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--radius); display: grid; gap: 8px; font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; line-height: 1.25; }
.h-card b { font-family: var(--font); font-size: 14px; letter-spacing: 0; text-transform: none; line-height: 1.15; }
.h-card .serif { font-size: 24px; line-height: 1; justify-self: start; }
.h-hint { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.h-hint i { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--red); display: inline-block; }
@media (hover: none) { .h-hint { display: none; } }
@media (max-width: 760px) {
  .h-meta--left { display: none; }
  .h-meta--right { left: var(--gutter); right: var(--gutter); align-items: stretch; }
  .h-meta--right .btn { width: 100%; }
}

/* --- marquee gigante + foto + assinatura --- */
.big-marquee { position: relative; padding: clamp(110px, 14vw, 200px) 0; overflow: hidden; isolation: isolate; }
.big-marquee::before { content: ""; position: absolute; inset: 0; z-index: -2; background-image: var(--topo); background-size: cover; }
.bm-rows { display: grid; gap: 0.08em; font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(44px, 8vw, 150px); line-height: 0.95; letter-spacing: -0.04em; }
.bm-row { display: flex; white-space: nowrap; will-change: transform; }
.bm-row span { padding-right: 0.4em; }
.bm-row--serif { color: var(--red-2); }
.bm-row--serif span { display: inline-block; transform: skewX(-10deg); }
.bm-photo { position: absolute; z-index: 2; left: 50%; top: 50%; width: clamp(220px, 30vw, 440px); aspect-ratio: 4/3; translate: -50% -50%; border-radius: var(--radius); overflow: hidden; }
.bm-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1); }
.bm-sign { position: absolute; z-index: 3; left: 50%; top: 50%; width: clamp(260px, 36vw, 560px); translate: -50% -46%; pointer-events: none; overflow: visible; }
.bm-sign path { fill: none; stroke: var(--red); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }

/* --- manifesto: palavras iluminam com o scroll --- */
.manifesto { padding: clamp(60px, 8vw, 120px) 0 clamp(120px, 14vw, 220px); }
.manifesto-badge { display: grid; justify-items: center; gap: 10px; margin-bottom: 48px; text-align: center; }
.manifesto-badge img { width: 54px; }
.manifesto p { margin: 0 auto; max-width: 21ch; text-align: center; font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(30px, 4.8vw, 84px); line-height: 1.02; letter-spacing: -0.04em; }
.manifesto .w { display: inline-block; opacity: 0.14; }

.no-motion .manifesto .w { opacity: 1; }

/* --- galeria a flutuar --- */
.float-gal { position: relative; height: clamp(1300px, 140vw, 2000px); overflow: hidden; isolation: isolate; }
.float-gal::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--topo); background-size: 100% auto; }
.fg-item { position: absolute; margin: 0; will-change: transform; }
.fg-item img { width: 100%; aspect-ratio: var(--ar, 4/5); object-fit: cover; border-radius: var(--r-sm); filter: grayscale(var(--g, 0)); transition: filter 0.6s var(--ease); }
.fg-item:hover img { filter: grayscale(0); }
.fg-item figcaption { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 8px; }
.fg-quote { position: absolute; z-index: 2; max-width: 20ch; margin: 0; font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: -0.03em; font-size: clamp(20px, 1.9vw, 30px); line-height: 1.12; }
.fg-quote em { font-style: normal; color: var(--red); display: inline-block; transform: skewX(-10deg); }
.fg-quote small { display: block; margin-top: 14px; font-family: var(--font); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 760px) {
  .float-gal { height: auto; padding: 80px var(--gutter); display: grid; grid-template-columns: 1fr 1fr; gap: 28px 12px; }
  .fg-item, .fg-quote { position: static; width: auto !important; transform: none !important; }
  .fg-quote { grid-column: 1 / -1; }
}

/* --- coleção (bento sem buracos: 4 colunas x 2 linhas) --- */
.collection { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, clamp(220px, 22vw, 340px)); grid-auto-flow: dense; gap: 12px; }
.col-card { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--paper); color: #fff; display: flex; align-items: flex-end; padding: 22px; isolation: isolate; }
.col-card--a { grid-column: span 2; grid-row: span 2; }
.col-card--b { grid-column: span 1; grid-row: span 2; }
.col-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease); }
.col-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(18, 12, 10, 0.72), transparent 55%); }
.col-card:hover img { transform: scale(1.06); }
.col-card h3 { margin: 0; font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(19px, 2vw, 34px); line-height: 0.95; letter-spacing: -0.03em; }
.col-card .count { position: absolute; top: 16px; right: 16px; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; background: #fff; color: #111; padding: 5px 8px; border-radius: var(--r-sm); }
.col-card .go { margin-left: auto; width: 46px; height: 46px; border-radius: var(--r-sm); background: var(--red); color: #fff; display: grid; place-items: center; transform: translateY(8px); opacity: 0; transition: 0.5s var(--spring); }
.col-card:hover .go { transform: none; opacity: 1; }
@media (max-width: 860px) {
  .collection { grid-template-columns: repeat(2, 1fr); grid-template-rows: none; grid-auto-rows: 200px; }
}

/* --- galeria horizontal fixa (produtos em destaque) --- */
.hs { position: relative; overflow: hidden; min-height: 100svh; display: flex; align-items: center; padding: clamp(60px, 8vh, 100px) 0; }
.hs-inner { display: flex; align-items: center; gap: clamp(16px, 2vw, 28px); padding: 0 var(--gutter); width: max-content; will-change: transform; }
.hs-intro { flex: none; width: min(40vw, 560px); padding-right: 3vw; }
.hs-intro .display { font-size: clamp(34px, 4.4vw, 76px); }
.hs-intro .lead { margin-top: 20px; }
.hs-inner .card { flex: none; width: clamp(260px, 23vw, 420px); }
.hs-end { flex: none; width: clamp(240px, 20vw, 320px); aspect-ratio: 4/5; border-radius: var(--radius); background: var(--red); color: #fff; display: grid; place-items: center; text-align: center; padding: 24px; font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(19px, 1.9vw, 30px); line-height: 1; letter-spacing: -0.03em; transition: background 0.3s; }
.hs-end:hover { background: var(--red-2); }
@media (max-width: 860px) {
  .hs { min-height: 0; display: block; }
  .hs-inner { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .hs-inner > * { scroll-snap-align: start; }
  .hs-intro { width: 80vw; }
  .hs-inner .card { width: 70vw; }
}

/* --- em jogo / fora do jogo --- */
.split { position: relative; min-height: 100svh; display: grid; grid-template-columns: 1fr 1fr; align-items: center; overflow: hidden; isolation: isolate; }
.split::before { content: ""; position: absolute; inset: 0; z-index: -2; background-image: var(--topo); background-size: cover; }
.split-img { position: absolute; top: 50%; width: clamp(240px, 30vw, 500px); aspect-ratio: 4/5; translate: 0 -50%; z-index: -1; }
.split-img img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-lg); }
.split-img--l { left: calc(-8vw); }
.split-img--r { right: calc(-8vw); }
.split-col { padding: 40px clamp(20px, 4vw, 64px); display: grid; gap: 18px; }
.split-col--l { justify-self: end; text-align: right; justify-items: end; }
.split-col--r { justify-self: start; text-align: left; justify-items: start; }
.split-col h3 { margin: 0; font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(36px, 5.4vw, 96px); line-height: 0.95; letter-spacing: -0.04em; position: relative; }
.split-col h3 .serif { display: block; width: max-content; font-size: 0.42em; line-height: 1; margin-bottom: 0.25em; }
.split-col--l h3 .serif { margin-left: auto; }

.split-col p { margin: 0; max-width: 28ch; color: var(--ink-2); font-size: 15px; }
.split-go { width: 48px; height: 48px; border-radius: var(--r-sm); background: var(--red); color: #fff; display: grid; place-items: center; transition: transform 0.4s var(--spring), background 0.2s; }
.split-col:hover .split-go { transform: scale(1.12) rotate(-8deg); background: var(--red-2); }
@media (max-width: 760px) {
  .split { grid-template-columns: minmax(0, 1fr); padding: 120px 0; gap: 60px; }
  .split-col--l, .split-col--r { justify-self: center; text-align: center; justify-items: center; }
  .split-img { width: 46vw; opacity: 0.35; }
}

/* --- marquee de parceiros --- */
.logo-marquee { overflow: hidden; padding: 44px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.logo-track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.logo-track > div { display: flex; align-items: center; gap: clamp(48px, 6vw, 96px); padding-right: clamp(48px, 6vw, 96px); }
.logo-track img { height: 56px; width: auto; object-fit: contain; flex: none; }
.logo-track .wordmark-txt { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 22px; white-space: nowrap; letter-spacing: -0.03em; }
.logo-marquee:hover .logo-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* --- CTA final --- */
.cta { position: relative; padding: clamp(120px, 16vw, 240px) 0; text-align: center; overflow: hidden; isolation: isolate; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -2; background-image: var(--topo); background-size: cover; }
.cta .display { font-size: clamp(42px, 8.6vw, 160px); line-height: 0.95; }
.cta .inline-img { display: inline-block; width: 1.5em; height: 0.7em; border-radius: 999px; vertical-align: middle; background-size: cover; background-position: center 30%; margin: 0 0.1em; translate: 0 -0.06em; }
.cta .lead { margin: 32px auto 40px; }

.is-dark .logo-marquee { margin-top: clamp(80px, 10vw, 140px); }

/* loja: depois do 1.º carregamento, filtrar troca a grelha num fade curto (ação frequente, sem cascata) */
.grid-products.quick > * { transition: opacity 0.2s var(--out); transform: none; transition-delay: 0s !important; }
.grid-products.quick.in > * { opacity: 1; }

/* =========================================================
   INTRO (vídeo de abertura)
   ========================================================= */
html.has-intro, html.has-intro body { overflow: hidden; }
.intro {
  position: fixed; inset: 0; z-index: 400; background: #000; overflow: hidden;
  clip-path: inset(0 0 0 0); transition: clip-path 0.95s cubic-bezier(0.76, 0, 0.24, 1);
}
/* sai como uma cortina a subir, revelando o logo do topo da página */
.intro.is-out { clip-path: inset(0 0 100% 0); pointer-events: none; }
.intro-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.95s cubic-bezier(0.76, 0, 0.24, 1), opacity 0.95s; }
.intro.is-out .intro-video { transform: translateY(-6%) scale(1.04); opacity: 0.5; }
.intro-ui { position: absolute; right: var(--gutter); bottom: 32px; display: flex; gap: 8px; z-index: 2; }
.intro-btn {
  height: 44px; padding: 0 18px; border-radius: var(--r-sm); color: #fff;
  font-family: var(--display); font-weight: 800; font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase;
  background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background 0.2s, transform 0.16s var(--out);
}
.intro-btn:hover { background: rgba(255, 255, 255, 0.18); }
.intro-btn:active { transform: scale(0.97); }
.intro-btn--skip { background: var(--red); box-shadow: none; }
.intro-btn--skip:hover { background: var(--red-2); }
.intro-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, 0.12); }
.intro-bar i { display: block; height: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform 0.25s linear; }
@media (max-width: 560px) { .intro-ui { left: var(--gutter); right: var(--gutter); } .intro-btn { flex: 1; } }

/* carrinho: destino do envio + erro do pagamento */
.ship-dest { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; font-weight: 700; }
.ship-dest .select { flex: 1; max-width: 260px; }
.checkout-error { color: var(--red); margin: 0; }
.checkout-error:empty { display: none; }

/* página de agradecimento */
.thanks { min-height: 100dvh; display: grid; align-items: center; padding: calc(var(--header-h) + 40px) 0 96px; background-image: var(--topo); background-size: cover; }
.thanks .display { margin: 18px 0 24px; }
.thanks .lead { margin-bottom: 32px; }
.thanks-steps { list-style: none; margin: 0 0 36px; padding: 0; display: grid; gap: 10px; max-width: 52ch; }
.thanks-steps li { display: flex; gap: 12px; align-items: baseline; color: var(--ink-2); }
.thanks-steps b { font-family: var(--display); font-weight: 900; color: var(--red); }
