/* ================= Velua: seções próprias da escova (carregado depois do loja.css) ================= */

/* Em números: cartões no painel escuro */
.metricas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.metrica { position: relative; overflow: hidden; background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.12); border-radius: var(--raio); padding: 30px 24px 26px; }
.metrica::after { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, rgba(232, 167, 160,.28), transparent 70%); }
.metrica .ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgba(232, 167, 160,.14); color: var(--lavanda); margin-bottom: 22px; }
.metrica .ico svg { width: 24px; height: 24px; }
.metrica b { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(44px, 4.6vw, 62px); line-height: 1; letter-spacing: -1.5px; color: #fff; }
.metrica b small { font-size: .45em; letter-spacing: 0; color: var(--lavanda); margin-left: 4px; }
.metrica strong { display: block; margin-top: 12px; color: #fff; font-size: 16px; }
.metrica span { display: block; margin-top: 4px; color: rgba(255,255,255,.62); font-size: 14px; font-weight: 500; line-height: 1.45; }
@media (max-width: 900px) { .metricas { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .metricas { gap: 10px; } .metrica { padding: 22px 16px; } .metrica .ico { margin-bottom: 14px; } }

/* Como funciona: painéis desenhados no lugar das fotos */
.bloco .img.visual { aspect-ratio: auto; min-height: 440px; display: grid; place-items: center; padding: 34px; background: var(--noite); color: #fff; position: relative; overflow: hidden; }
.bloco .img.visual.claro { background: var(--areia); color: var(--texto); }
.visual::before { content: ""; position: absolute; right: -80px; bottom: -120px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(232, 167, 160,.22), transparent 70%); }
.visual > * { position: relative; width: 100%; max-width: 400px; }
.display { background: #1f0f18; border: 1px solid rgba(255,255,255,.1); border-radius: 18px; padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; gap: 12px; box-shadow: inset 0 0 30px rgba(0,0,0,.6); }
.display .led { font-family: "Courier New", ui-monospace, monospace; font-weight: 700; font-size: 46px; letter-spacing: 4px; color: var(--rose); text-shadow: 0 0 16px rgba(232,167,160,.75); min-width: 2.6em; line-height: 1; }
.display small { font-size: 11px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; color: rgba(255,255,255,.55); text-align: right; line-height: 1.4; }
.botoes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 16px; }
.botoes span { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 12px 4px 10px; text-align: center; font-size: 12px; font-weight: 700; color: rgba(255,255,255,.85); transition: background .3s, border-color .3s, box-shadow .3s; }
.botoes span i { display: block; font-style: normal; font-size: 22px; margin-bottom: 4px; }
.botoes span.ativo { background: var(--noite-3); border-color: var(--noite-3); color: #fff; box-shadow: 0 10px 24px rgba(176, 90, 98,.4); }
.botoes-rodape { margin-top: 12px; text-align: center; font-size: 12.5px; font-weight: 700; color: rgba(255,255,255,.55); }
@media (max-width: 960px) { .bloco .img.visual { min-height: 0; padding: 26px 20px; } }
@media (max-width: 420px) { .display .led { font-size: 36px; } }

/* Avaliações: cartões brancos, avatar, selo verificado, colunas em alvenaria */
#avaliacoes .aval-topo { background: #fff; box-shadow: var(--sombra-leve); }
#avaliacoes .barra .trilho { background: var(--areia); }
#avaliacoes .aval-destaques div { background: var(--areia); }
.aval-media .estrelas, .dep .estrelas { color: var(--estrela); letter-spacing: 2px; }
.aval-fotos { gap: 12px; margin: 28px 0 32px; }
.aval-fotos a { flex: 0 0 150px; height: 150px; border-radius: 18px; box-shadow: var(--sombra-leve); }
.depoimentos { display: block; columns: 3 290px; column-gap: 18px; }
.depoimentos .dep { break-inside: avoid; margin-bottom: 18px; background: #fff; box-shadow: var(--sombra-leve); border: 1px solid var(--borda); padding: 22px 22px 20px; }
.dep .autor { display: flex; align-items: center; gap: 12px; }
.dep .avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: var(--noite-3); flex: none; font-size: 16px; }
.dep .autor b { display: block; font-size: 15px; line-height: 1.2; }
.dep .verif { display: inline-flex; align-items: center; gap: 5px; color: var(--verde); font-size: 12.5px; font-weight: 800; }
.dep .verif::before { content: "✓"; display: grid; place-items: center; width: 15px; height: 15px; border-radius: 50%; background: var(--verde); color: #fff; font-size: 9px; font-weight: 900; }
.dep p { font-size: 15.5px; line-height: 1.6; color: var(--texto); }
.dep .fotos-dep a { width: 92px; height: 92px; border-radius: 14px; }
@media (max-width: 640px) { .aval-fotos a { flex-basis: 120px; height: 120px; } }

/* Topo: ícone da pessoa abre "Minha conta" e "Rastrear pedido" */
.menu-conta { position: relative; padding: 0; border: 0; display: grid; }
.menu-conta > summary { list-style: none; }
.menu-conta > summary::-webkit-details-marker { display: none; }
.menu-conta > summary::after { content: none; }
.menu-conta[open] > summary { background: var(--areia); }
.menu-conta-painel { position: absolute; right: -6px; top: calc(100% + 10px); z-index: 50; width: 268px; background: #fff; border: 1px solid var(--borda); border-radius: 18px; padding: 8px; box-shadow: var(--sombra); animation: mc-entrar .18s ease; }
.menu-conta-painel::before { content: ""; position: absolute; top: -7px; right: 20px; width: 12px; height: 12px; background: #fff; border-left: 1px solid var(--borda); border-top: 1px solid var(--borda); transform: rotate(45deg); }
.menu-conta-painel a { display: flex; align-items: center; gap: 12px; padding: 10px 10px; border-radius: 12px; text-decoration: none; color: var(--texto); }
.menu-conta-painel a:hover { background: var(--areia); }
.menu-conta-painel b { display: block; font-size: 14.5px; line-height: 1.25; }
.menu-conta-painel small { display: block; font-size: 12.5px; color: var(--suave); font-weight: 500; }
.mc-ico { flex: 0 0 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--areia); color: var(--noite-3); }
.mc-ico svg { width: 20px; height: 20px; }
@keyframes mc-entrar { from { opacity: 0; transform: translateY(-4px); } }

/* Velocidades do painel: três barras que acendem em sequência */
.velocidades { display: flex; align-items: flex-end; gap: 6px; margin-top: 16px; justify-content: center; color: rgba(255,255,255,.55); font-size: 11px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; }
.velocidades span { margin-right: 8px; }
.velocidades i { width: 10px; border-radius: 4px; background: rgba(255,255,255,.15); animation: vel 2.4s ease-in-out infinite; }
.velocidades i:nth-of-type(1) { height: 10px; }
.velocidades i:nth-of-type(2) { height: 16px; animation-delay: .3s; }
.velocidades i:nth-of-type(3) { height: 22px; animation-delay: .6s; }
@keyframes vel { 0%, 100% { background: rgba(255,255,255,.15); } 40%, 70% { background: var(--rose); } }

/* Escolha da cor: bolinha com a cor ao lado do nome */
.amostra { display: inline-block; width: 16px; height: 16px; border-radius: 50%; margin-right: 8px; vertical-align: -2px; box-shadow: inset 0 0 0 1px rgba(61,31,46,.18); }
.amostra-rosa { background: linear-gradient(135deg, #f6d3cf, #e3a9a3); }
.amostra-ouro { background: linear-gradient(135deg, #efe0c4, #c9a978); }

/* Acessórios: 6 cartões */
.funcoes.acessorios { grid-template-columns: repeat(6, 1fr); }
.funcao small { display: block; margin-top: 4px; color: var(--suave); font-size: 12.5px; font-weight: 600; line-height: 1.3; }
@media (max-width: 900px) { .funcoes.acessorios { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .funcoes.acessorios { grid-template-columns: repeat(2, 1fr); gap: 10px; } .funcoes.acessorios .funcao { padding: 16px 8px; font-size: 13.5px; } }

.nota-fab { text-align: center; margin-top: 22px; color: rgba(255,255,255,.5); font-size: 12.5px; }
/* 110.000 RPM é longo: fonte menor e a unidade desce de linha no celular */
.metrica b[data-contar="110000"] { font-size: clamp(32px, 3.4vw, 48px); }
@media (max-width: 520px) { .metrica b[data-contar="110000"] { font-size: 30px; } .metrica b[data-contar="110000"] small { display: block; margin: 6px 0 0; font-size: 15px; } }
