/* VRM Effects — rascunho do site novo (loja).
   Visual premium preto e branco (as cores da marca): fundo preto, texto branco.
   A loja fica em branco, estilo Apple. Laranja só como detalhe. */
:root {
  --preto: #000;
  --grafite: #0d0d0f;
  --grafite-2: #161618;
  --laranja: #f2711c;
  --laranja-2: #ff8f45;
  --verde: #30d158;
  --verde-escuro: #1f8f3a;
  --ciano: #0bcfff;
  --raio: 18px;
  --larg: 1240px;
  --fonte: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
  /* cores de uso (escuro por padrão; .claro troca) */
  --fundo: var(--preto);
  --texto: #f5f5f7;
  --texto-2: #a1a1a6;
  --linha: rgba(255, 255, 255, .12);
  --cartao: #111113;
  --cartao-2: #1a1a1d;
  --pix: var(--verde);
}
.claro {
  --fundo: #fff;
  --texto: #1d1d1f;
  --texto-2: #6e6e73;
  --linha: rgba(0, 0, 0, .1);
  --cartao: #f5f5f7;
  --cartao-2: #ebebef;
  --pix: var(--verde-escuro);
  background: var(--fundo); color: var(--texto);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 120px; }
body { margin: 0; background: var(--fundo); color: var(--texto); font: 400 17px/1.55 var(--fonte); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; }
h1, h2, h3, h4 { font-family: var(--fonte); line-height: 1.06; margin: 0 0 .45em; letter-spacing: -0.035em; font-weight: 700; }
h1 { font-size: clamp(2.6rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.02em; font-weight: 600; }
p { margin: 0 0 1em; color: var(--texto-2); }
.etiqueta-secao { display: block; margin-bottom: 12px; font: 600 .82rem/1 var(--fonte); letter-spacing: .02em; color: var(--laranja-2); }
.claro .etiqueta-secao { color: #c9560b; }
.container { width: min(var(--larg), 100% - 32px); margin-inline: auto; }
.secao { padding: clamp(80px, 10vw, 140px) 0; position: relative; }
.centro { text-align: center; }
.centro p { margin-inline: auto; max-width: 600px; }

/* Botões (pílula, estilo Apple) */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85em 1.5em; border-radius: 999px; border: 1px solid transparent;
  font: 500 1rem/1 var(--fonte); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn-comprar { background: var(--laranja); color: #fff; }
.btn-comprar:hover { background: #d9600f; }
.btn-branco { background: #fff; color: #000; }
.btn-branco:hover { background: #e8e8ed; }
.btn-preto { background: #1d1d1f; color: #fff; }
.btn-preto:hover { background: #000; }
.btn-linha { border-color: var(--linha); color: var(--texto); background: transparent; }
.btn-linha:hover { border-color: var(--texto); }
.btn-whats { background: #25d366; color: #04210f; }
.link-seta { color: var(--laranja-2); text-decoration: none; font-weight: 500; }
.claro .link-seta { color: #c9560b; }
.link-seta::after { content: " ›"; }
.link-seta:hover { text-decoration: underline; }

/* ---------- Barra de avisos ---------- */
.avisos { background: #000; color: #d2d2d7; font: 500 .8rem/1 var(--fonte); border-bottom: 1px solid rgba(255, 255, 255, .08); text-align: center; }
.avisos-lista { list-style: none; margin: 0; padding: 0; display: grid; }
.avisos-lista li { grid-area: 1 / 1; padding: 11px 16px; opacity: 0; transform: translateY(6px); transition: opacity .5s, transform .5s var(--ease); }
.avisos-lista li.ativo { opacity: 1; transform: none; }
.avisos-lista li.bf { color: var(--verde); font-weight: 700; letter-spacing: .02em; }

/* ---------- Cabeçalho da loja ---------- */
.topo { position: sticky; top: 0; z-index: 50; background: rgba(0, 0, 0, .82); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); color: #f5f5f7; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.topo .linha1 { display: flex; align-items: center; gap: 20px; height: 64px; }
.topo .logo img { height: 32px; width: auto; }
.busca { flex: 1; max-width: 420px; margin-left: 28px; display: flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .08); border-radius: 999px; padding: 0 16px; height: 40px; }
.busca svg { width: 17px; height: 17px; opacity: .55; flex: none; }
.busca input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: #fff; font: 400 .92rem var(--fonte); }
.busca input::placeholder { color: rgba(255, 255, 255, .45); }
.acoes-topo { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.acoes-topo > a { display: inline-flex; padding: 9px; border-radius: 999px; color: #f5f5f7; }
.acoes-topo > a:hover { background: rgba(255, 255, 255, .08); }
.acoes-topo svg { width: 21px; height: 21px; }
.idiomas { position: relative; margin-right: 4px; }
.idiomas summary { list-style: none; display: flex; align-items: center; gap: 6px; padding: 7px 10px; border-radius: 999px; cursor: pointer; font: 600 .74rem/1 var(--fonte); color: #fff; background: rgba(255, 255, 255, .08); }
.idiomas summary::-webkit-details-marker { display: none; }
.idiomas summary svg { width: 16px; height: 16px; }
.idiomas-menu { position: absolute; right: 0; top: calc(100% + 10px); z-index: 60; width: 220px; padding: 8px; border-radius: 18px; background: #161618; border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .8); display: grid; }
.idiomas-menu a { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 10px 12px; border-radius: 12px; color: #f5f5f7; text-decoration: none; font-size: .88rem; }
.idiomas-menu a span { font-size: .72rem; color: #8e8e93; }
.idiomas-menu a:hover, .idiomas-menu a[aria-current] { background: rgba(255, 255, 255, .08); }
.idiomas-menu a.auto { padding: 7px 12px; font-size: .82rem; color: #c7c7cc; }
.idiomas-menu p { margin: 6px 12px 2px; font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; color: #6e6e73; }
.carrinho { position: relative; }
.carrinho .qtd { position: absolute; top: 3px; right: 1px; min-width: 17px; height: 17px; border-radius: 9px; background: var(--laranja); color: #fff; font-size: .66rem; font-weight: 600; display: grid; place-items: center; padding: 0 4px; }

/* Barra de pedais: cada pedal no menu */
.pedais-nav { border-top: 1px solid rgba(255, 255, 255, .06); }
.pedais-nav ul { list-style: none; margin: 0 auto; padding: 0; display: flex; justify-content: center; justify-content: safe center; gap: 2px; overflow-x: auto; scrollbar-width: none; height: 50px; align-items: center; }
.pedais-nav ul::-webkit-scrollbar { display: none; }
.pedais-nav li { flex: none; position: relative; }
.pedais-nav a { display: block; padding: 8px 13px; border-radius: 999px; text-decoration: none; font: 500 .84rem/1 var(--fonte); color: rgba(255, 255, 255, .72); transition: color .2s, background .2s; }
.pedais-nav a:hover, .pedais-nav a[aria-current] { color: #fff; background: rgba(255, 255, 255, .07); }
.pedais-nav .novo::after { content: "Novo"; font-size: .64rem; font-weight: 600; color: var(--laranja-2); margin-left: 6px; }
html[lang="en"] .pedais-nav .novo::after { content: "New"; } /* site em inglês (/en/) */
.pedais-nav .divisor { width: 1px; height: 18px; background: rgba(255, 255, 255, .14); margin: 0 10px; }
/* Prévia ao passar o mouse (computador) */
.previa {
  position: absolute; top: calc(100% + 10px); left: 50%; width: 260px; padding: 18px; border-radius: 18px; translate: -50% 0;
  background: rgba(22, 22, 24, .96); backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, .1); color: #f5f5f7; text-align: center;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s; pointer-events: none;
}
.previa img { width: 100%; height: 150px; object-fit: contain; margin-bottom: 12px; }
.previa strong { display: block; font-weight: 600; }
.previa span { font-size: .82rem; color: #a1a1a6; }
.previa b { display: block; margin-top: 8px; font-weight: 600; }
.previa b small { color: var(--verde); font-weight: 500; font-size: .75rem; }
@media (hover: hover) and (min-width: 1025px) {
  .pedais-nav li:hover .previa { opacity: 1; visibility: visible; transform: none; }
  .pedais-nav ul { overflow: visible; }
}
/* Celular e iPad: o menu de pedais rola só para os lados (as prévias escondidas não podem criar rolagem para baixo). */
@media not ((hover: hover) and (min-width: 1025px)) {
  .pedais-nav ul { overflow-y: hidden; overscroll-behavior-x: contain; touch-action: pan-x; }
  .pedais-nav .previa { display: none; }
}
@media (max-width: 760px) { .busca { display: none; } .topo .linha1 { height: 56px; } }

/* ---------- Rodapé ---------- */
.rodape { padding: 72px 0 28px; background: #000; border-top: 1px solid rgba(255, 255, 255, .08); }
.rodape .grade { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.rodape h4 { font: 600 .8rem/1 var(--fonte); letter-spacing: 0; margin: 0 0 16px; color: #f5f5f7; }
.rodape ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.rodape a { text-decoration: none; color: #a1a1a6; font-size: .88rem; }
.rodape a:hover { color: #fff; }
.rodape .slogan { font: 600 1.3rem/1.2 var(--fonte); color: #fff; margin: 18px 0 8px; letter-spacing: -.02em; }
.rodape .pagamentos { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.rodape .pagamentos span { font: 500 .72rem/1 var(--fonte); padding: 8px 10px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .14); color: #d2d2d7; }
.rodape .base .credito { color: inherit; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .25); text-underline-offset: 3px; }
.rodape .base .credito:hover { color: #f5f5f7; }
.rodape .base { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .08); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .8rem; color: #86868b; }
@media (max-width: 860px) { .rodape .grade { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .rodape .grade { grid-template-columns: 1fr; } }

/* WhatsApp flutuante */
.whats { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 54px; height: 54px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 10px 30px -8px rgba(37, 211, 102, .5); transition: transform .3s var(--ease); }
.whats:hover { transform: scale(1.06); }
.whats svg { width: 29px; height: 29px; fill: #fff; }

/* Banner de cookies (só visual no rascunho) */
.cookies {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 520px;
  background: #fff; color: #1d1d1f; border-radius: var(--raio); padding: 20px; box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .7);
  transform: translateY(140%); transition: transform .6s var(--ease);
}
.cookies.mostrar { transform: none; }
.cookies strong { display: block; margin-bottom: 4px; font-weight: 600; }
.cookies p { font-size: .88rem; margin-bottom: 14px; color: #6e6e73; }
.cookies .acoes { display: flex; gap: 10px; flex-wrap: wrap; }
.cookies .btn { padding: .7em 1.2em; font-size: .88rem; }
.cookies .btn-linha { color: #1d1d1f; border-color: rgba(0, 0, 0, .18); }

/* Revelar ao rolar */
.revela { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.revela.visivel { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .revela { opacity: 1; transform: none; }
}
