/* =========================================================================
   LUCAS BIKE'S — estilos globais
   Tema: branco com detalhes em preto. Acabamento minimalista, sem cor
   de destaque — o preto é usado como cor de ação (botões, links, ícones).
   ========================================================================= */

:root {
  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --surface-2: #F3F1EA;
  --text: #131210;
  --text-muted: #5B584F;
  --border: #131210;
  --border-soft: rgba(19, 18, 16, 0.14);
  --danger: #A83D1D;
  /* verde oficial do WhatsApp — única cor fora da paleta monocromática,
     usada só onde a ação É o WhatsApp (pedido do cliente). */
  --whats: #25D366;
  --whats-dark: #1DA851;

  --font-display: "Bahnschrift", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Segoe UI", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Cascadia Code", "Consolas", "SFMono-Regular", Menlo, monospace;

  --radius-s: 2px;
  --radius-m: 4px;
  --container: 1160px;
  --header-h: 72px;

  /* curvas de easing (emil-design-eng): mais "punch" que as do CSS padrão */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  /* espelho do --ease-out (apple-design §7): mesma curva, sentido inverso,
     para transições reversíveis (abrir/fechar) */
  --ease-in-mirrored: cubic-bezier(0.68, 0, 0.77, 0);
}

* { box-sizing: border-box; }
/* O atributo hidden tem que vencer qualquer display do componente. Sem isto o
   modal/carrinho ficam invisíveis mas ocupando a tela e engolindo os cliques. */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .topbar-track { animation: none !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* Tracking óptico (apple-design §15): negativo conforme o texto cresce,
   neutro em tamanhos pequenos — nunca um valor fixo. */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-stretch: condensed;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.005em;
  margin: 0;
  text-wrap: balance;
  color: inherit;
}
h3, h4 { font-weight: 600; letter-spacing: 0; }

p { margin: 0; }

a { color: var(--text); text-decoration-color: var(--border-soft); }
a:hover { text-decoration: underline; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-stretch: condensed;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 10px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--text);
  color: var(--bg);
  padding: 10px 16px;
  border-radius: var(--radius-s);
  font-weight: 600;
  z-index: 200;
  transition: top .15s ease;
}
.skip-link:focus { top: 12px; }

/* ---------------------------------------------------------------- topbar */
/* Faixa de aviso em formato de ticker (referência: barras de oferta com
   itens repetidos rolando horizontalmente). */
.topbar {
  background: #F1F1EF;
  border-bottom: 1px solid var(--border-soft);
  overflow: hidden;
  white-space: nowrap;
  padding: 8px 0;
}
.topbar-track {
  display: inline-flex;
  animation: topbar-scroll 18s linear infinite;
}
.topbar-item {
  padding: 0 40px;
  font-size: 12px;
  letter-spacing: 0.01em;
  color: var(--text-muted);
}
.topbar-item strong { color: var(--text); font-weight: 700; }

@keyframes topbar-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------------------------------------------------------------- header */
/* Material translúcido (apple-design §12): o conteúdo passa por baixo,
   a borda clara no topo simula luz pegando no vidro. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 14, 13, 0.9);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
@media (prefers-reduced-transparency: reduce) {
  .site-header, .mobile-nav, .topbar { backdrop-filter: none !important; }
  .site-header { background: var(--text); border-top-color: transparent; }
}
@media (prefers-contrast: more) {
  .site-header { background: var(--text); backdrop-filter: none; border-bottom: 1px solid rgba(255,255,255,0.4); }
}
.site-header .container {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  height: var(--header-h);
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--bg);
  justify-self: start;
}
.brand:hover { text-decoration: none; }
.brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex: none;
}
.brand-name {
  font-family: var(--font-display);
  font-stretch: condensed;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.main-nav {
  display: none;
  align-items: center;
  justify-content: center;
  justify-self: center;
  gap: 28px;
}
.main-nav a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: color 160ms var(--ease-out);
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--bg); text-decoration: none; }

.header-actions { display: flex; align-items: center; gap: 10px; justify-self: end; }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-s);
  cursor: pointer;
  padding: 0;
}
.nav-toggle span { display: block; height: 2px; margin: 0 9px; background: var(--bg); border-radius: 2px; }

/* Abrir/fechar com curvas espelhadas (apple-design §7): a saída é o
   caminho inverso da entrada, não um corte abrupto. */
.mobile-nav {
  display: flex;
  flex-direction: column;
  background: var(--text);
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  transition: max-height 320ms var(--ease-in-mirrored), opacity 200ms var(--ease-in-mirrored), visibility 0ms linear 320ms;
}
.mobile-nav.is-open {
  max-height: 420px;
  opacity: 1;
  visibility: visible;
  transition: max-height 380ms var(--ease-out), opacity 280ms var(--ease-out), visibility 0ms linear;
}
.mobile-nav a {
  padding: 14px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  font-size: 15px;
}
.mobile-nav a:hover { background: rgba(255, 255, 255, 0.08); color: var(--bg); text-decoration: none; }

@media (min-width: 860px) {
  .main-nav { display: flex; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none !important; }
}

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: var(--radius-s);
  font-weight: 700;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  min-height: 48px;
  line-height: 1.1;
  transition: transform 160ms var(--ease-out), background-color 160ms var(--ease-out), border-color 160ms var(--ease-out), color 160ms var(--ease-out);
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(0.97); }
.btn .icon { width: 19px; height: 19px; }

.btn-primary { background: var(--text); color: var(--bg); }
.btn-primary:hover { background: #2E2C27; }

.btn-outline { background: transparent; color: var(--text); border-color: var(--border); }
.btn-outline:hover { background: var(--text); color: var(--bg); }

.btn-block { width: 100%; }

/* ---------------------------------------------------------------- hero */
/* Letreiro reduzido de propósito — o espaço fica para elementos
   audiovisuais que entram aqui depois. */
.hero {
  padding: 40px 0 36px;
  background: var(--bg);
}
.hero-inner { max-width: 520px; }
.hero h1 {
  font-size: clamp(22px, 4vw, 30px);
  letter-spacing: 0.005em;
  margin-bottom: 10px;
}
.hero .lede {
  font-size: 14.5px;
  color: var(--text-muted);
  max-width: 42ch;
  margin-bottom: 20px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

@media (min-width: 860px) {
  .hero { padding: 56px 0 48px; }
}

/* ---------------------------------------------------------------- value strip */
.value-strip {
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.value-strip .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  padding-top: 36px;
  padding-bottom: 36px;
}
.value-item { display: flex; gap: 14px; align-items: flex-start; }
.value-item .icon { width: 24px; height: 24px; color: var(--text); flex: none; margin-top: 2px; }
.value-item h3 { font-size: 15.5px; margin-bottom: 4px; font-stretch: normal; }
.value-item p { font-size: 13.5px; color: var(--text-muted); }

@media (min-width: 700px) {
  .value-strip .container { grid-template-columns: repeat(3, 1fr); }
}

/* ---------------------------------------------------------------- sections */
.section { padding: 64px 0; }
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 30px;
}
.section-head h2 { font-size: clamp(24px, 4vw, 32px); letter-spacing: -0.012em; }
.section-lede { color: var(--text-muted); max-width: 60ch; margin-top: 10px; }
.section-cta { flex: none; }

@media (min-width: 860px) {
  .section { padding: 96px 0; }
}

/* ---------------------------------------------------------------- cards grid */
.grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* ---------------------------------------------------------------- scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 320ms var(--ease-out), transform 320ms var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
/* stagger curto (30-80ms): passar disso faz a grade parecer lenta */
.grid .reveal:nth-child(1) { transition-delay: 0ms; }
.grid .reveal:nth-child(2) { transition-delay: 40ms; }
.grid .reveal:nth-child(3) { transition-delay: 80ms; }
.grid .reveal:nth-child(4) { transition-delay: 120ms; }
.grid .reveal:nth-child(n+5) { transition-delay: 140ms; }

.card {
  background: var(--bg);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-m);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.card .icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-s);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  flex: none;
}
.card .icon-wrap .icon { width: 24px; height: 24px; }
.card h3 { font-size: 16.5px; font-stretch: normal; }
.card p { font-size: 14px; color: var(--text-muted); }

/* ---------------------------------------------------------------- bike cards */
.bike-card { padding: 0; overflow: hidden; }
.bike-card .thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-soft);
  overflow: hidden;
}
/* Molde branco padronizado (sem cortar/distorcer a foto original). */
.bike-card .thumb:has(img) { background: #fff; }
.bike-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 14px;
  clip-path: inset(0 0 100% 0);
  /* entrando -> ease-out. Curto de propósito: numa grade de ~250 cards essa
     revelação dispara dezenas de vezes por rolagem. */
  transition: clip-path 380ms var(--ease-out), filter 180ms ease, opacity 180ms ease;
}
.bike-card .thumb img.is-swapping { filter: blur(4px); opacity: 0.5; }
.reveal.is-visible .thumb img { clip-path: inset(0 0 0% 0); }
.bike-card .thumb .icon { width: 56px; height: 56px; }
.bike-card .body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; }
.tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  background: var(--surface-2);
  padding: 4px 9px;
  border-radius: var(--radius-s);
}
.bike-card h3 { font-size: 17px; font-stretch: normal; }
.bike-card .desc { font-size: 13.5px; color: var(--text-muted); }
.bike-card .price { font-size: 13.5px; color: var(--text-muted); margin-top: 2px; }
.bike-card .btn { margin-top: 6px; }

/* --- seletor de variantes do produto (medida/rosca/aro e cor) --- */
.opt-row { margin-top: 2px; }
.opt-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.opt-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.opt-chip {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1;
  color: var(--text-muted);
  background-color: var(--bg);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-s);
  padding: 6px 10px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 140ms var(--ease-out), border-color 160ms var(--ease-out),
              color 160ms var(--ease-out), background-color 160ms var(--ease-out);
}
.opt-chip.is-active { background-color: var(--text); border-color: var(--text); color: var(--bg); }
/* feedback de toque: o chip responde antes do preço trocar */
.opt-chip:active { transform: scale(0.96); }

.color-swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.color-swatch {
  width: 18px;
  height: 18px;
  flex: none;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--border-soft);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 140ms var(--ease-out), box-shadow 160ms var(--ease-out);
}
.color-swatch.is-active {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6), 0 0 0 2px var(--text);
}
.color-swatch:active { transform: scale(0.92); }

/* hover só onde existe ponteiro de verdade — em touch o hover gruda no tap */
@media (hover: hover) and (pointer: fine) {
  .opt-chip:hover { border-color: var(--text); color: var(--text); }
  .color-swatch:hover { box-shadow: inset 0 0 0 1px rgba(255,255,255,.5), 0 0 0 2px var(--border-soft); }
  .color-swatch.is-active:hover { box-shadow: inset 0 0 0 1px rgba(255,255,255,.6), 0 0 0 2px var(--text); }
}

/* A troca de variante cruza com blur: sem isso o número/foto pisca de um
   estado pro outro e lê como falha, não como resposta (emil-design-eng). */
.price-value {
  display: inline-block;
  transition: filter 180ms ease, opacity 180ms ease;
}
.price-value.is-swapping { filter: blur(3px); opacity: 0.45; }

/* ---------------------------------------------------------------- parts teaser (leve, sem cards) */
.parts-teaser {
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  padding: 26px 0;
}
.parts-teaser-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.parts-teaser-text { display: flex; gap: 14px; align-items: flex-start; max-width: 46ch; }
.parts-teaser-text .icon { width: 24px; height: 24px; color: var(--text); flex: none; margin-top: 3px; }
.parts-teaser-text h3 { font-size: 15.5px; font-stretch: normal; margin-bottom: 3px; }
.parts-teaser-text p { font-size: 13.5px; color: var(--text-muted); }

/* ---------------------------------------------------------------- parts list (página /pecas) */
.parts-list { list-style: none; margin: 0; padding: 0; }
.parts-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-soft);
}
.parts-list li:first-child { border-top: 1px solid var(--border-soft); }
.parts-list .icon { width: 22px; height: 22px; color: var(--text); flex: none; }
.parts-list .parts-name { flex: 1; font-size: 15.5px; font-weight: 600; }
.parts-list a { font-size: 13.5px; font-weight: 600; white-space: nowrap; }

/* ---------------------------------------------------------------- filtro de categorias (/pecas) */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
}
.filter-bar label {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.filter-select {
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
  background: var(--bg) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23131210" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><path d="M6 9l6 6 6-6"/></svg>') no-repeat right 14px center;
  background-size: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-s);
  padding: 11px 40px 11px 16px;
  min-height: 46px;
  appearance: none;
  cursor: pointer;
  transition: border-color 160ms var(--ease-out);
}
.filter-select:hover { border-color: var(--text); }
.parts-item[hidden] { display: none; }
.parts-empty { color: var(--text-muted); font-size: 14.5px; padding: 20px 0; }


/* ---------------------------------------------------------------- contact info list */
.info-list { display: flex; flex-direction: column; gap: 18px; }
.info-row { display: flex; gap: 14px; align-items: flex-start; }
.info-row .icon { width: 22px; height: 22px; color: var(--text); flex: none; margin-top: 2px; }
.info-row h3 { font-size: 14.5px; font-stretch: normal; margin-bottom: 3px; }
.info-row p { font-size: 14.5px; color: var(--text-muted); }
.badge-pending {
  display: inline-block;
  margin-left: 8px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--danger);
  border: 1px solid var(--danger);
  padding: 2px 6px;
  border-radius: var(--radius-s);
  vertical-align: middle;
}

.hours-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.hours-table td { padding: 8px 0; border-bottom: 1px solid var(--border-soft); }
.hours-table td:last-child {
  text-align: right;
  font-family: var(--font-mono);
  color: var(--text);
  /* sem isto, "Segunda a sexta" encosta no horário em tela estreita */
  padding-left: 14px;
  white-space: nowrap;
  width: 1%;
}

.contact-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.2fr 1fr; align-items: start; } }



/* ---------------------------------------------------------------- CTA band */
/* Único bloco preto do site — reservado para o convite final ao WhatsApp. */
.cta-band {
  background: var(--text);
  color: var(--bg);
  padding: 56px 0;
  text-align: center;
}
.cta-band h2 { font-size: clamp(22px, 4vw, 30px); margin-bottom: 10px; color: var(--bg); }
.cta-band p { color: rgba(255,255,255,0.72); max-width: 52ch; margin: 0 auto 22px; }
.cta-band .btn-primary { background: var(--bg); color: var(--text); }
.cta-band .btn-primary:hover { background: #EDECE4; }
.cta-band .btn-outline { color: var(--bg); border-color: rgba(255,255,255,0.4); }
.cta-band .btn-outline:hover { background: rgba(255,255,255,0.12); color: var(--bg); }

/* ---------------------------------------------------------------- footer */
.site-footer {
  border-top: 1px solid var(--border-soft);
  padding: 44px 0 26px;
  font-size: 13.5px;
  color: var(--text-muted);
}
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 30px; margin-bottom: 30px; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-col-nav { text-align: left; }
@media (min-width: 700px) { .footer-col-nav { text-align: right; } }
.footer-col h4 { font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 12px; font-stretch: normal; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-col a { color: var(--text-muted); font-weight: 400; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { border-top: 1px solid var(--border-soft); padding-top: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }

/* ---------------------------------------------------------------- floating whatsapp */
.wa-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 150;
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--whats);
  color: #fff;
  padding: 14px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14.5px;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
  transition: transform 140ms var(--ease-out), background-color 160ms var(--ease-out);
}
.wa-float:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .wa-float:hover { background: var(--whats-dark); text-decoration: none; }
}
.wa-float .icon { width: 20px; height: 20px; }
.wa-float .wa-label { display: none; }
@media (min-width: 640px) { .wa-float .wa-label { display: inline; } }

/* ---------------------------------------------------------------- toaster */
/* API igual à da Sonner (toast('mensagem')), sem React por trás.
   Transições (não keyframes) para aguentar toasts chegando em sequência. */
.toaster {
  position: fixed;
  left: 50%;
  bottom: 90px;
  z-index: 200;
  display: flex;
  flex-direction: column-reverse;
  gap: 8px;
  align-items: center;
  pointer-events: none;
}
.toast {
  pointer-events: auto;
  background: var(--text);
  color: var(--bg);
  font-size: 13.5px;
  font-weight: 600;
  padding: 12px 18px;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(19,18,16,0.28);
  cursor: pointer;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(10px) scale(0.95);
  transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out);
}
.toast.is-visible { opacity: 1; transform: translateY(0) scale(1); }
.toast.is-leaving { opacity: 0; transform: translateY(6px) scale(0.97); transition-duration: 160ms; }

/* ---------------------------------------------------------------- copy button */
.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 8px;
  padding: 3px 8px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-s);
  cursor: pointer;
  vertical-align: middle;
  transition: transform 160ms var(--ease-out), color 160ms var(--ease-out), border-color 160ms var(--ease-out);
}
.copy-btn:hover { color: var(--text); border-color: var(--border); }
.copy-btn:active { transform: scale(0.95); }
.copy-btn .icon { width: 13px; height: 13px; }

/* ---------------------------------------------------------------- utility */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* =========================================================================
   LOJA — hero, filtro, cards de produto, modal e carrinho
   ========================================================================= */

/* ---------------------------------------------------------------- botão WhatsApp */
.btn-whats { background: var(--whats); border-color: var(--whats); color: #fff; }
.btn-whats .icon { width: 19px; height: 19px; }
@media (hover: hover) and (pointer: fine) {
  .btn-whats:hover { background: var(--whats-dark); border-color: var(--whats-dark); color: #fff; }
}

/* ---------------------------------------------------------------- hero da loja */
/* Layout dividido: a foto da loja ocupa a própria coluna, inteira e com
   perspectiva, em vez de virar textura cortada atrás do texto. */
.shop-hero {
  background: var(--text);
  color: #fff;
  overflow: hidden;
}
.shop-hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: stretch;
  padding: 0;
  max-width: var(--container);
}
.shop-hero-texto { padding: 44px 20px 46px; align-self: center; }
.shop-hero .eyebrow { color: rgba(255,255,255,0.66); }
.shop-hero h1 { color: #fff; font-size: clamp(30px, 5.2vw, 46px); line-height: 1.04; margin-bottom: 14px; }
.shop-hero .lede { color: rgba(255,255,255,0.78); font-size: 16px; max-width: 46ch; }
.shop-hero .hero-ctas { margin-top: 26px; }
/* Sobre o hero escuro os botões invertem: o preenchido vira claro, senão
   some no fundo. */
.shop-hero .btn-primary { background-color: #fff; color: var(--text); }
.shop-hero .btn-outline { color: #fff; border-color: rgba(255,255,255,0.38); }
@media (hover: hover) and (pointer: fine) {
  .shop-hero .btn-primary:hover { background-color: rgba(255,255,255,0.88); }
  .shop-hero .btn-outline:hover { background-color: #fff; color: var(--text); border-color: #fff; }
}
.shop-hero-foto {
  position: relative;
  aspect-ratio: 4 / 3;
  margin: 0 20px 28px;
  border-radius: var(--radius-m);
  overflow: hidden;
}
.shop-hero-foto img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) {
  .shop-hero-inner { grid-template-columns: 1fr 1fr; gap: 48px; }
  .shop-hero-texto { padding: 76px 0 80px 20px; }
  .shop-hero-foto { margin: 0 20px 0 0; align-self: center; aspect-ratio: 4 / 3.05; }
}

/* ---------------------------------------------------------------- barra de filtro */
/* Gruda logo abaixo do header: o filtro é a primeira coisa que a pessoa
   procura numa loja com centenas de itens. */
.shop-bar {
  position: sticky;
  top: var(--header-h);
  z-index: 90;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(150%) blur(10px);
  -webkit-backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--border-soft);
}
.shop-bar-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.shop-bar-cats {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  scrollbar-width: none;
  flex: 1;
  padding-bottom: 2px;
}
.shop-bar-cats::-webkit-scrollbar { display: none; }
.cat-chip {
  flex: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg);
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  padding: 7px 14px;
  white-space: nowrap;
  text-decoration: none;
  transition: transform 140ms var(--ease-out), border-color 160ms var(--ease-out),
              color 160ms var(--ease-out), background-color 160ms var(--ease-out);
}
.cat-chip:active { transform: scale(0.97); }
.cat-chip.is-active { background: var(--text); border-color: var(--text); color: var(--bg); }
@media (hover: hover) and (pointer: fine) {
  .cat-chip:hover { border-color: var(--text); color: var(--text); text-decoration: none; }
  .cat-chip.is-active:hover { color: var(--bg); }
}
.shop-bar-count { flex: none; font-size: 13px; color: var(--text-muted); display: none; }
@media (min-width: 860px) { .shop-bar-count { display: block; } }

.shop-grid-section { padding-top: 34px; }

/* ---------------------------------------------------------------- card de produto */
.produto { cursor: pointer; transition: transform 180ms var(--ease-out), border-color 180ms var(--ease-out); }
.produto:active { transform: scale(0.99); }
@media (hover: hover) and (pointer: fine) {
  .produto:hover { border-color: rgba(19,18,16,0.32); }
  .produto:hover .produto-acao .icon { transform: translateX(3px); }
}
.produto-variantes {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.45;
}
.produto-acao {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}
.produto-acao .icon { width: 16px; height: 16px; transition: transform 180ms var(--ease-out); }
.color-swatches.is-preview .color-swatch { width: 14px; height: 14px; cursor: default; }

/* ---------------------------------------------------------------- paginação */
.paginacao {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 40px;
}
.pag-btn {
  font-size: 14px;
  font-weight: 700;
  padding: 11px 20px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-s);
  color: var(--text);
  text-decoration: none;
  transition: transform 140ms var(--ease-out), border-color 160ms var(--ease-out);
}
.pag-btn:active { transform: scale(0.97); }
.pag-btn.is-off { opacity: 0.35; pointer-events: none; }
@media (hover: hover) and (pointer: fine) {
  .pag-btn:hover { border-color: var(--text); text-decoration: none; }
}
.pag-status { font-size: 13.5px; color: var(--text-muted); }

/* ---------------------------------------------------------------- backdrop */
.sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 190;
  background: rgba(12, 11, 10, 0.55);
  opacity: 0;
  transition: opacity 220ms var(--ease-out);
}
.sheet-backdrop.is-open { opacity: 1; }

/* ---------------------------------------------------------------- modal do produto */
/* Modal fica centralizado (não é ancorado a um gatilho), então transform-origin
   continua no centro; entra em scale 0.96 -> 1, nunca de scale(0). */
.modal {
  position: fixed;
  z-index: 200;
  left: 50%;
  top: 50%;
  width: min(940px, calc(100vw - 32px));
  max-height: min(88vh, 720px);
  transform: translate(-50%, -50%) scale(0.96);
  opacity: 0;
  background: var(--bg);
  border-radius: var(--radius-m);
  box-shadow: 0 24px 60px rgba(12, 11, 10, 0.32);
  display: grid;
  grid-template-columns: 1fr;
  overflow: auto;
  transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out);
}
.modal.is-open { opacity: 1; transform: translate(-50%, -50%) scale(1); }
@media (min-width: 780px) {
  .modal { grid-template-columns: 1.05fr 1fr; overflow: hidden; }
  .modal-info { overflow-y: auto; }
}
.modal-foto {
  position: relative;
  background: #fff;
  border-bottom: 1px solid var(--border-soft);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (min-width: 780px) {
  .modal-foto { border-bottom: 0; border-right: 1px solid var(--border-soft); aspect-ratio: auto; }
}
.modal-foto img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 22px;
  transition: filter 180ms ease, opacity 180ms ease;
}
.modal-foto img.is-swapping { filter: blur(4px); opacity: 0.5; }
.modal-sem-foto { color: var(--text-muted); }
.modal-sem-foto .icon { width: 64px; height: 64px; }
.modal-info { padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 14px; }
.modal-info h2 { font-size: 25px; font-stretch: normal; }
.modal-desc { font-size: 16px; color: var(--text-muted); line-height: 1.68; }
.modal-nota { font-size: 12.5px; color: var(--text-muted); line-height: 1.5; }
.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  color: var(--text);
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(12,11,10,0.14);
  transition: transform 140ms var(--ease-out), background-color 160ms var(--ease-out);
}
.modal-close:active { transform: scale(0.94); }
.modal-close.is-inline { position: static; background: transparent; }
.modal-close .icon { width: 18px; height: 18px; }

/* quantidade */
.qtd-control {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-s);
  align-self: flex-start;
}
.qtd-btn {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  color: var(--text);
  cursor: pointer;
  transition: transform 140ms var(--ease-out), background-color 160ms var(--ease-out);
}
.qtd-btn:active { transform: scale(0.92); }
.qtd-btn .icon { width: 16px; height: 16px; }
.qtd-valor { min-width: 38px; text-align: center; font-weight: 700; font-size: 15px; }
@media (hover: hover) and (pointer: fine) {
  .qtd-btn:hover { background: var(--surface-2); }
  .modal-close:hover { background: var(--surface-2); }
}

/* ---------------------------------------------------------------- carrinho */
.cart-fab {
  position: relative;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--bg);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-s);
  cursor: pointer;
  transition: transform 140ms var(--ease-out), background-color 160ms var(--ease-out);
}
.cart-fab:active { transform: scale(0.95); }
.cart-fab .icon { width: 21px; height: 21px; }
@media (hover: hover) and (pointer: fine) {
  .cart-fab:hover { background: rgba(255, 255, 255, 0.12); }
}
.cart-count {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--whats);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  border: 2px solid var(--text);
}

/* Painel entra pela direita com a curva de gaveta (iOS-like). */
.cart-panel {
  position: fixed;
  z-index: 200;
  top: 0;
  right: 0;
  height: 100%;
  width: min(420px, 100vw);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  box-shadow: -12px 0 40px rgba(12,11,10,0.22);
  transform: translateX(100%);
  transition: transform 320ms cubic-bezier(0.32, 0.72, 0, 1);
}
.cart-panel.is-open { transform: translateX(0); }
.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-soft);
}
.cart-head h2 { font-size: 19px; font-stretch: normal; }
.cart-itens { flex: 1; overflow-y: auto; padding: 8px 20px; }
.cart-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-soft);
}
.cart-item-foto {
  width: 56px;
  height: 56px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-s);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--text-muted);
}
.cart-item-foto img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.cart-item-foto .icon { width: 22px; height: 22px; }
.cart-item-nome { font-size: 13.5px; font-weight: 600; line-height: 1.35; }
.cart-item-var { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.cart-item-acoes { display: flex; align-items: center; gap: 8px; }
.cart-item-qtd { font-size: 13px; font-weight: 700; min-width: 26px; text-align: center; }
.cart-rm {
  width: 30px; height: 30px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--border-soft);
  border-radius: var(--radius-s); color: var(--text-muted); cursor: pointer;
  transition: transform 140ms var(--ease-out), color 160ms var(--ease-out), border-color 160ms var(--ease-out);
}
.cart-rm:active { transform: scale(0.92); }
.cart-rm .icon { width: 15px; height: 15px; }
@media (hover: hover) and (pointer: fine) {
  .cart-rm:hover { color: var(--danger); border-color: var(--danger); }
}
.cart-vazio {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text-muted);
  padding: 30px;
  text-align: center;
}
.cart-vazio .icon { width: 42px; height: 42px; opacity: 0.5; }
.cart-vazio p { font-weight: 600; color: var(--text); }
.cart-vazio span { font-size: 13.5px; }
.cart-foot { padding: 16px 20px 20px; border-top: 1px solid var(--border-soft); display: grid; gap: 10px; }
.cart-limpar {
  background: transparent; border: 0; cursor: pointer;
  font-size: 13px; color: var(--text-muted); font-weight: 600;
  padding: 6px; transition: color 160ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .cart-limpar:hover { color: var(--danger); } }

body.is-locked { overflow: hidden; }

/* ---------------------------------------------------------------- cards de bicicleta */
/* 3:4 vertical: é o formato das fotos de celular tiradas na loja, então a
   bicicleta preenche o quadro em vez de ficar cercada de borda desfocada. */
.bike-photo { aspect-ratio: 3 / 4; background: var(--surface-2); overflow: hidden; }
.bike-photo img { width: 100%; height: 100%; object-fit: cover; }
.bike-preco { font-size: 13.5px; font-weight: 700; color: var(--text); }

/* ---------------------------------------------------------------- galeria do modal */
.galeria-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  color: var(--text);
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(12,11,10,0.14);
  transition: transform 140ms var(--ease-out), background-color 160ms var(--ease-out);
}
.galeria-nav.is-prev { left: 12px; }
.galeria-nav.is-next { right: 12px; }
.galeria-nav:active { transform: translateY(-50%) scale(0.94); }
.galeria-nav .icon { width: 18px; height: 18px; }
@media (hover: hover) and (pointer: fine) {
  .galeria-nav:hover { background: var(--surface-2); }
}
.galeria-pontos {
  position: absolute;
  left: 0; right: 0; bottom: 12px;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 6px;
}
.galeria-ponto {
  width: 7px; height: 7px;
  border-radius: 999px;
  background: rgba(19,18,16,0.24);
  transition: background-color 160ms var(--ease-out), transform 160ms var(--ease-out);
}
.galeria-ponto.is-active { background: var(--text); transform: scale(1.25); }

.modal-preco {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  padding: 10px 14px;
  background: var(--surface-2);
  border-radius: var(--radius-s);
  align-self: flex-start;
}

/* ---------------------------------------------------------------- índice alfabético + busca */
.indice-section { background: var(--surface-2); }
.indice-topo {
  display: grid;
  gap: 20px;
  margin-bottom: 30px;
}
@media (min-width: 900px) {
  .indice-topo { grid-template-columns: 1fr minmax(300px, 380px); align-items: end; gap: 40px; }
}
.indice-topo h2 { font-size: clamp(24px, 3.4vw, 32px); margin-bottom: 10px; }

.busca-input {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-s);
  padding: 14px 16px;
  min-height: 50px;
  transition: border-color 160ms var(--ease-out);
}
.busca-input::placeholder { color: var(--text-muted); }
.busca-input:focus { border-color: var(--text); outline: none; }
.busca-status { margin-top: 8px; font-size: 13px; color: var(--text-muted); }

.indice { columns: 1; column-gap: 34px; }
@media (min-width: 680px) { .indice { columns: 2; } }
@media (min-width: 1000px) { .indice { columns: 3; } }

.indice-grupo { break-inside: avoid-column; margin-bottom: 22px; }
.indice-letra {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  padding-bottom: 7px;
  border-bottom: 1px solid var(--border-soft);
  margin-bottom: 4px;
}
.indice-lista { list-style: none; margin: 0; padding: 0; }

.indice-item {
  display: flex;
  flex-direction: column;
  gap: 1px;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: var(--radius-s);
  padding: 8px 8px 8px 0;
  cursor: pointer;
  font-family: var(--font-body);
  transition: transform 140ms var(--ease-out), background-color 160ms var(--ease-out),
              padding-left 160ms var(--ease-out);
}
.indice-item:active { transform: scale(0.99); }
.indice-nome {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
}
.indice-cat { font-size: 11.5px; color: var(--text-muted); }
@media (hover: hover) and (pointer: fine) {
  .indice-item:hover { background: var(--bg); padding-left: 8px; }
  .indice-item:hover .indice-nome { text-decoration: underline; text-decoration-color: var(--border-soft); }
}

.indice-vazio {
  column-span: all;
  padding: 26px 0;
  color: var(--text-muted);
  font-size: 14.5px;
}

/* contador de fotos no card de bicicleta */
.bike-photo { position: relative; }
.foto-contador {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  background: rgba(12, 11, 10, 0.72);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.foto-contador .icon { width: 13px; height: 13px; }

.bike-cor {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  color: var(--text-muted);
}
.color-swatch.is-static { cursor: default; width: 15px; height: 15px; }

/* ---------------------------------------------------------------- páginas de erro */
.erro-pagina { padding-top: 70px; padding-bottom: 80px; }
.erro-pagina h1 { font-size: clamp(28px, 5vw, 44px); margin-bottom: 14px; }
.erro-pagina .section-lede { max-width: 54ch; }
.erro-acoes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------------------------------------------------------------- toque (celular)
   No desktop o mouse é preciso e os tamanhos compactos ficam melhores. No dedo,
   qualquer coisa abaixo de ~44px vira erro de toque. `pointer: coarse` separa os
   dois casos sem mexer na aparência de quem está no computador. */
@media (pointer: coarse) {
  .cat-chip { padding: 12px 17px; }
  .pag-btn { padding: 14px 22px; }
  .qtd-btn { width: 46px; height: 46px; }
  .modal-close { width: 44px; height: 44px; }
  .indice-item { padding: 13px 8px 13px 0; }
  /* Só os círculos do modal são clicáveis; os dos cards são enfeite. Cresce o
     alvo sem inchar o desenho: 26px visíveis, 44px de área de toque. */
  .color-swatches:not(.is-preview) .color-swatch {
    position: relative;
    width: 26px;
    height: 26px;
  }
  .color-swatches:not(.is-preview) .color-swatch::after {
    content: "";
    position: absolute;
    inset: -9px;
  }
  .opt-chip { padding: 11px 15px; }
  .cart-fab { width: 46px; height: 46px; }
  .opt-label { font-size: 12px; }

  /* rótulos secundários: 11,5px é confortável no monitor, apertado no celular */
  .tag, .indice-cat, .copy-btn { font-size: 12.5px; }
  .copy-btn { padding: 12px 14px; }
  .link-seta { display: inline-block; padding: 10px 0; }
  /* links soltos dentro dos blocos de contato também precisam de alvo */
  .info-row p a { display: inline-block; padding: 9px 0; }

  /* links do rodapé ficavam com 18px de altura — difícil de acertar com o dedo */
  .footer-col ul { gap: 2px; }
  .footer-col li, .footer-col a { display: block; padding: 11px 0; }
  .footer-bottom { gap: 14px; }
}

/* ---------------------------------------------------------------- sobre: dados da loja */
.sobre-dados {
  display: grid;
  gap: 20px;
  margin-top: 42px;
  padding-top: 30px;
  border-top: 1px solid var(--border-soft);
}
@media (min-width: 620px) {
  .sobre-dados { grid-template-columns: repeat(3, 1fr); gap: 26px; }
}
.sobre-dados span {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 7px;
}
.sobre-dados p { font-size: 15px; line-height: 1.5; }

/* ---------------------------------------------------------------- mapa (contato) */
.mapa {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-m);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  background-color: var(--surface-2);
}
.mapa iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.mapa-acoes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.mapa-acoes .btn { flex: 1 1 auto; }



/* ---------------------------------------------------------------- faixa do instagram */
/* Miniaturas pequenas de propósito: servem de referência do perfil, não
   competem com o catálogo nem com a fachada do topo. */
.insta-faixa { background-color: var(--surface-2); padding: 52px 0 56px; }
.insta-topo {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}
.insta-topo h2 { font-size: clamp(22px, 3.4vw, 28px); margin: 0; }
.insta-topo .eyebrow { display: inline-flex; align-items: center; gap: 7px; }
.insta-topo .eyebrow .icon { width: 15px; height: 15px; }

.insta-grade {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (min-width: 560px) { .insta-grade { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 900px) {
  .insta-grade { gap: 14px; max-width: 760px; }
}

.insta-foto {
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-s);
  overflow: hidden;
  background-color: var(--bg);
  transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}
.insta-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.insta-foto:active { transform: scale(0.975); }
@media (hover: hover) and (pointer: fine) {
  .insta-foto:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(19,18,16,0.16); }
}
