/* Segunda rodada do visual (padrão). Vale com <html class="v3">, ligado por js/v3.js.
   Fica por cima do v2: mesmo layout, só acabamento. */

html.v3 {
  --cor: #1fe060;                                   /* cor do produto (o v3.js troca por cartão) */
  --titulo: 'Anton', 'Arial Narrow', Impact, sans-serif;
  --escuro: #0b0d0c;
}
html.v3 body { overflow-x: clip; }

/* ------------------------------------------------------- títulos de seção */
html.v3 .title-section,
html.v3 .showcase-list-category .title {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; overflow: visible;
  font-family: var(--titulo); font-size: 44px; font-weight: 400; line-height: 1; letter-spacing: .01em;
  text-align: left; text-transform: uppercase; color: #101214; margin-bottom: 30px;
}
html.v3 .title-section span,
html.v3 .showcase-list-category .title {
  position: relative; width: auto; margin-left: 0; margin-right: 0; padding: 0 8px 16px 0;
}
html.v3 .title-section span { transform: skewX(-8deg); transform-origin: left bottom; }
html.v3 .title-section span::before { display: none; }
html.v3 .title-section span::after,
html.v3 .showcase-list-category .title::after {
  content: ''; position: absolute; left: 0; top: auto; bottom: 0; width: 64px; height: 5px; margin: 0; border: 0;
  border-radius: 3px; background: var(--verde);
}
html.v3 .showcase-list-category .title { display: block; transform: skewX(-8deg); transform-origin: left bottom; width: max-content; max-width: 100%; }
html.v3 .v3-ver {
  display: inline-flex; align-items: center; gap: 6px; flex: none; padding-bottom: 16px;
  font-family: var(--fonte); font-size: 14px; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--verde_texto);
}
html.v3 .v3-ver svg, html.v3 .v3-cat .ir svg, html.v3 .v3-ad .ir svg {
  width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .2s;
}
html.v3 .v3-ver:hover svg, html.v3 .v3-cat:hover .ir svg, html.v3 .v3-ad .ir:hover svg { transform: translateX(4px); }

/* ------------------------------------------------------ cartão de produto */
html.v3 .product .image {
  background: radial-gradient(circle at 50% 58%, color-mix(in srgb, var(--cor) 24%, #fff) 0%, #f4f5f3 70%);
}
html.v3 .list-star:not(:has(.icon.active)) { display: none; }
html.v3 .product .product-name { font-weight: 500; color: #1b1d1f; margin: 18px 0 14px; }
html.v3 .product.sem-preco .price-off { font-size: 0; line-height: 0; }
html.v3 .product.sem-preco .price-off::after {
  content: 'Ver produto'; display: inline-block; padding: 10px 20px; border-radius: 999px; border: 1.5px solid #101214;
  font-family: var(--fonte); font-size: 13px; font-weight: 700; line-height: 1; color: #101214; transition: background .2s, color .2s;
}
html.v3 .product.sem-preco:hover .price-off::after { background: #101214; color: var(--verde); }
html.v3 .seal, html.v3 .list-seal-product .tag {
  min-width: 0; padding: 0 12px; border-radius: 999px; letter-spacing: .04em;
}
html.v3 .seal.featured, html.v3 .list-seal-product .tag.featured { background: var(--verde); color: #06210f; }
html.v3 .seal.new, html.v3 .list-seal-product .tag.new { background: #101214; color: var(--verde); }

/* ----------------------------------------------- categorias em cartões */
html.v3 .showcase-list-category { padding-top: 40px; padding-bottom: 8px; }
html.v3 .v3-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0; }
html.v3 .v3-cat {
  position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start;
  min-height: 250px; padding: 28px; border-radius: var(--raio); overflow: hidden; color: #fff;
  background: radial-gradient(130% 150% at 100% 0%, color-mix(in srgb, var(--cor) 46%, var(--escuro)) 0%, var(--escuro) 60%);
  transition: transform .25s ease, box-shadow .25s ease;
}
/* as fotos vêm num quadro padrão (produto no meio, margem em volta): sobrepõem-se pelas margens */
html.v3 .v3-cat .fotos {
  --q: 230px;
  position: absolute; z-index: -1; right: 0; top: 50%; height: var(--q); transform: translateY(-50%);
  display: flex; align-items: center; justify-content: flex-end; pointer-events: none;
}
html.v3 .v3-cat .fotos img {
  width: var(--q); height: var(--q); max-width: none; object-fit: contain; margin-left: calc(var(--q) * -.7);
  transition: transform .35s ease;
}
html.v3 .v3-cat .fotos img:first-child { margin-left: 0; }
@media (max-width: 1024px) { html.v3 .v3-cat .fotos { --q: 190px; } }
html.v3 .v3-cat .qtd { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--cor); }
html.v3 .v3-cat b {
  max-width: 52%; margin-top: 8px; font-family: var(--titulo); font-size: 38px; font-weight: 400; line-height: 1.02;
  text-transform: uppercase; transform: skewX(-8deg); transform-origin: left bottom;
}
html.v3 .v3-cat .ir { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 14px; font-weight: 700; }
@media (hover: hover) {
  html.v3 .v3-cat:hover { transform: translateY(-5px); box-shadow: 0 16px 30px -14px rgba(16, 18, 20, .6); }
  html.v3 .v3-cat:hover .fotos img { transform: scale(1.06) rotate(-2deg); }
}

/* ------------------------------------------- faixa dos kits de ponta a ponta */
html.v3 .banner-extra { margin: 64px calc(50% - 50vw) 0; background: #050806; }
html.v3 .banner-extra a, html.v3 .banner-extra .peca {
  max-width: 1500px; margin: 0 auto; border-radius: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
html.v3 #banners-duplos { display: none; }

/* ----------------------------------------------------- antes e depois */
html.v3 .v3-ad {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: 48px;
  margin: 64px 0 0; padding: 44px 48px; border-radius: calc(var(--raio) + 6px); color: #fff;
  background: radial-gradient(90% 130% at 0% 0%, #12351f 0%, var(--escuro) 62%);
}
html.v3 .v3-ad .k { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--verde); }
html.v3 .v3-ad h2 {
  margin: 10px 0 14px; font-family: var(--titulo); font-size: 76px; font-weight: 400; line-height: .98; text-transform: uppercase;
  transform: skewX(-8deg); transform-origin: left bottom;
}
html.v3 .v3-ad h2 em { font-style: normal; color: var(--verde); }
html.v3 .v3-ad .d { max-width: 380px; font-size: 16px; line-height: 1.5; color: #c4cbc7; }
html.v3 .v3-ad .chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; }
html.v3 .v3-ad .chips button {
  padding: 10px 18px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .28); color: #fff;
  font-size: 14px; font-weight: 700; transition: background .2s, color .2s, border-color .2s;
}
html.v3 .v3-ad .chips button:hover { border-color: #fff; }
html.v3 .v3-ad .chips button[aria-pressed="true"] { background: var(--verde); border-color: var(--verde); color: #06210f; }
html.v3 .v3-ad .ir { display: inline-flex; align-items: center; gap: 6px; margin-top: 28px; font-size: 15px; font-weight: 700; color: var(--verde); }
html.v3 .v3-comp {
  position: relative; aspect-ratio: 9 / 8; max-height: 520px; margin-left: auto; border-radius: var(--raio); overflow: hidden;
  background: #000; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12); user-select: none;
}
html.v3 .v3-comp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
html.v3 .v3-comp .antes { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--p)) 0 0); }
html.v3 .v3-comp .rot {
  position: absolute; bottom: 16px; padding: 7px 14px; border-radius: 999px; font-size: 12px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; pointer-events: none;
}
html.v3 .v3-comp .rot.a { left: 16px; background: rgba(0, 0, 0, .72); color: #fff; }
html.v3 .v3-comp .rot.d { right: 16px; background: var(--verde); color: #06210f; }
html.v3 .v3-comp .barra { position: absolute; top: 0; bottom: 0; left: var(--p); width: 3px; margin-left: -1.5px; background: #fff; pointer-events: none; }
html.v3 .v3-comp .barra i {
  position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%;
  display: grid; place-items: center; background: #fff; box-shadow: 0 6px 16px rgba(0, 0, 0, .45);
}
html.v3 .v3-comp .barra svg { width: 22px; height: 22px; fill: none; stroke: #101214; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
html.v3 .v3-comp input {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y;
  -webkit-appearance: none; appearance: none;
}
html.v3 .v3-comp input::-webkit-slider-thumb { -webkit-appearance: none; width: 46px; height: 520px; }
html.v3 .v3-comp input::-moz-range-thumb { width: 46px; height: 520px; border: 0; }
html.v3 .v3-comp:has(input:focus-visible) { box-shadow: 0 0 0 3px var(--verde); }

/* --------------------------------------------------- página do produto */
html.v3 .page-content:has(#produto) { padding-top: 40px; }
html.v3 .image-show { border-radius: var(--raio); border-color: transparent; background: radial-gradient(circle at 50% 56%, color-mix(in srgb, var(--cor) 20%, #fff) 0%, #f4f5f3 72%); }
html.v3 .nav-images .box-img { border-radius: 10px; }
html.v3 .nav-images .box-img:hover, html.v3 .nav-images .box-img.ativa { opacity: 1; border-color: #101214; box-shadow: 0 0 0 1px #101214; }
html.v3 #produto_preco.sem-preco .PrecoPrincipal { display: none; }
html.v3 #produto_preco.sem-preco .nota-preco {
  display: inline-block; padding: 9px 14px; border-radius: 10px; background: #f1f3f1; font-size: 13px; color: #4b504d;
}
html.v3 #bt_comprar .botao-comprar:hover { background: #101214; box-shadow: 0 0 0 3px rgba(31, 224, 96, .45), 0 10px 22px -10px rgba(16, 18, 20, .6); }
html.v3 .v3-pontos { margin: 56px 0 0; }
html.v3 .v3-pontos .bens { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
html.v3 .v3-pontos .bens li {
  display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: var(--raio); background: #f4f5f3;
  font-size: 16px; font-weight: 700; color: #1b1d1f;
}
html.v3 .v3-pontos .bens i { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #101214; }
html.v3 .v3-pontos .bens svg { width: 20px; height: 20px; fill: none; stroke: var(--verde); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
html.v3 .v3-pontos .title-section { margin-top: 56px; scroll-margin-top: 140px; }
html.v3 .v3-pontos .passos { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; counter-reset: none; }
html.v3 .v3-pontos .passos li {
  position: relative; padding: 22px 20px 24px; border-radius: var(--raio); border: 1px solid var(--color_border); background: #fff;
}
html.v3 .v3-pontos .passos b {
  display: block; margin-bottom: 10px; font-family: var(--titulo); font-size: 44px; font-weight: 400; line-height: 1; color: var(--verde_texto);
  transform: skewX(-8deg); transform-origin: left bottom;
}
html.v3 .v3-pontos .passos p { font-size: 15px; line-height: 1.45; color: #303030; }
html.v3 .page-info-product { margin-top: 56px; }

/* ----------------------------------------------------- acabamento geral */
html.v3 .header .input-search { transition: border-color .2s, box-shadow .2s; }
html.v3 .header .input-search:focus { outline: 0; border-color: var(--verde); box-shadow: 0 0 0 3px rgba(31, 224, 96, .22); }
html.v3 .product .linha-compra .comprar:hover { background: #101214; color: var(--verde); }
html.v3 .footer { border-top: 3px solid var(--verde); margin-top: 80px; }
html.v3 .footer .cols { gap: 28px 40px; padding: 56px 0 40px; }
html.v3 .footer .box .title { letter-spacing: .08em; }
html.v3 .footer .v3-marca { max-width: 300px; }
html.v3 .footer .v3-marca .marca { font-size: 34px; }
html.v3 .footer .v3-marca p { margin-top: 16px; font-size: 14px; font-weight: 300; line-height: 1.5; }
html.v3 .footer .box.final { margin-top: 8px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13px; color: var(--color_text_footer); }

/* ------------------------------------------------------------ celular */
@media (max-width: 1024px) {
  html.v3 .v3-cats { grid-template-columns: 1fr; gap: 12px; }
  html.v3 .v3-cat { min-height: 170px; padding: 22px; }
  html.v3 .v3-cat b { font-size: 32px; }
  html.v3 .v3-ad { grid-template-columns: 1fr; gap: 28px; padding: 32px 24px; }
  html.v3 .v3-ad h2 { font-size: 58px; }
  html.v3 .v3-comp { margin: 0 auto; width: 100%; }
}
@media (max-width: 767px) {
  html.v3 .title-section, html.v3 .showcase-list-category .title { font-size: 30px; margin-bottom: 20px; }
  html.v3 .title-section span, html.v3 .showcase-list-category .title { padding-bottom: 12px; }
  html.v3 .title-section span::after, html.v3 .showcase-list-category .title::after { width: 44px; height: 4px; }
  html.v3 .showcase-list-category .title { position: relative; height: auto; clip: auto; overflow: visible; margin: 0 0 20px; }
  html.v3 .v3-ver { padding-bottom: 12px; font-size: 13px; }
  html.v3 .showcase-list-category { padding-top: 28px; }
  html.v3 .product.sem-preco .price-off::after { padding: 8px 14px; font-size: 12px; }
  html.v3 .banner-extra { margin-top: 36px; }
  html.v3 .banner-extra a, html.v3 .banner-extra .peca { -webkit-mask-image: none; mask-image: none; }
  html.v3 .v3-ad { margin-top: 36px; padding: 26px 16px 16px; border-radius: var(--raio); }
  html.v3 .v3-ad h2 { font-size: 46px; }
  html.v3 .v3-ad .d { font-size: 14px; }
  html.v3 .v3-ad .chips { margin-top: 18px; gap: 8px; }
  html.v3 .v3-ad .chips button { padding: 8px 14px; font-size: 13px; }
  html.v3 .v3-ad .ir { margin-top: 20px; }
  html.v3 .page-content:has(#produto) { padding-top: 12px; }
  html.v3 .v3-pontos, html.v3 .page-info-product { margin-top: 32px; }
  html.v3 .v3-pontos .title-section { margin-top: 36px; }
  html.v3 .v3-pontos .bens li { padding: 14px 16px; font-size: 14px; }
  html.v3 .v3-pontos .passos { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  html.v3 .v3-pontos .passos li { padding: 16px 14px; }
  html.v3 .v3-pontos .passos b { font-size: 34px; }
  html.v3 .v3-pontos .passos p { font-size: 13px; }
  html.v3 .footer { margin-top: 48px; }
  html.v3 .footer .cols { padding: 28px 0 24px; }
  html.v3 .footer .v3-marca { max-width: none; margin-bottom: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html.v3 .v3-cat, html.v3 .v3-cat .fotos img { transition: none; }
  html.v3 .v3-cat:hover { transform: none; }
}

/* ---------------------------------------------------------------------------
   Acabamento apontado pela revisão de 13/11/2026: contraste, alinhamento,
   área de toque no celular e rolagem lateral.
   --------------------------------------------------------------------------- */
html.v3 { --verde_texto: #0a7d36; overflow-x: clip; }      /* 5,3:1 sobre branco (antes 4,2:1) */
html.v3 .section-notices p { color: #55585a; font-size: 15px; -webkit-line-clamp: 4; }
html.v3 .footer .copy .text { color: #a3a6a8; }

/* logo e cartões na mesma linha do conteúdo */
html.v3 .header .logo .marca { margin-left: 0; }
@media (min-width: 768px) {
  html.v3 .showcase .list-product { width: calc(100% + 40px); margin-left: -20px; margin-right: -20px; scroll-padding: 0 20px; }
}

/* título com "Ver todos" ao lado (o link fica fora do <h2>) */
html.v3 .v3-cab { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 0 0 30px; }
html.v3 .v3-cab .title-section { margin: 0; }
html.v3 .v3-ver { min-height: 44px; padding-bottom: 0; }

/* antes e depois: título mais perto da escala dos outros */
html.v3 .v3-ad h2 { font-size: 60px; }
html.v3 .v3-ad .chips button { min-height: 44px; }
html.v3 .v3-ad .ir { min-height: 44px; margin-top: 16px; }

@media (max-width: 1024px) {
  html.v3 .v3-ad h2 { font-size: 50px; }
}
@media (max-width: 767px) {
  html.v3 .v3-cab { margin-bottom: 20px; }
  html.v3 .v3-ad h2 { font-size: 42px; }
  /* áreas de toque de 44px */
  html.v3 .header .input-search { height: 44px; }
  html.v3 .header .button-search { height: 44px; }
  html.v3 .header .cart-header { min-width: 44px; min-height: 44px; }
  html.v3 .banner-full .bullet { margin: 0 9px; }
  html.v3 .banner-full .bullet::after { inset: -17px -9px; }
  html.v3 .showcase .arrow-icon { width: 44px; }
  html.v3 .showcase .arrow-icon.prev { left: -14px; }
  html.v3 .showcase .arrow-icon.next { right: -14px; }
  html.v3 .footer .box .title { min-height: 44px; }
  html.v3 .footer .list a, html.v3 .footer .box-info a { display: flex; align-items: center; min-height: 44px; padding-bottom: 0; }
  html.v3 .footer .list li { padding-bottom: 0; }
}

/* o banner guarda a própria altura antes de o script montar os slides (a página não pula) */
html.v3 .banner-full { aspect-ratio: 1920 / 810; }

/* celular: dicas sem altura fixa (o texto não encavala) e setas dentro da tela */
@media (max-width: 767px) {
  html.v3 .section-notices .noticias { margin-left: 0; margin-right: 0; }
  html.v3 .section-notices .noticias > li { padding-left: 0; padding-right: 0; }
  html.v3 .section-notices h3 { height: auto; min-height: 44px; margin-bottom: 6px; }
  html.v3 .showcase .arrow-icon.prev { left: -10px; }
  html.v3 .showcase .arrow-icon.next { right: -10px; }
}

/* "Como usar": a foto é o produto recortado, inteiro, sobre o fundo na cor dele */
html.v3 .section-notices .noticia-imagem.produto-recorte {
  border-radius: var(--raio);
  background: radial-gradient(circle at 50% 60%, color-mix(in srgb, var(--cor, #1fe060) 26%, #fff) 0%, #f2f3f1 72%);
}
html.v3 .section-notices .noticia-imagem.produto-recorte img { object-fit: contain; }
html.v3 .section-notices .box-noticia:hover .noticia-imagem.produto-recorte img { transform: scale(1.05); }
