/* HOuT · armazém, versão loja. Celular primeiro (375 px). Layout: 04b-layout.md. Marca: HolleOuT - Marca. */
@font-face {
  font-family: "Fraunces";
  src: url("/fontes/fraunces-latin.woff2") format("woff2-variations"), url("/fontes/fraunces-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --gelo: #F6F7FB;    /* fundo da página */
  --papel: #FFFFFF;   /* topo, cards e busca: um tom acima do gelo */
  --tinta: #16163F;   /* texto e botões: 17,3:1 no branco, 16,1:1 no gelo */
  --apoio: #4A4A6E;   /* só texto pequeno: 8,4:1 no branco */
  --menta: #00B894;   /* faixa, rótulos e áreas de cor; nunca texto sobre claro (tinta sobre menta: 6,8:1) */
  --roxo: #C055F0;    /* só o ponto da marca, um por página */
  --linha: #D9DCE8;   /* borda fina dos cards */
  --raio: 14px;
  --fixo: 152px;      /* altura da faixa + topo fixos no celular (âncoras não ficam embaixo deles) */
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--gelo);
  color: var(--tinta);
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 100, "WONK" 0;
  font-size: 1rem;
  line-height: 1.5;
  overflow-wrap: break-word;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.2; }
p { margin: 0; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:focus-visible, summary:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--tinta); outline-offset: 3px; border-radius: 8px; }
summary { list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
[id] { scroll-margin-top: var(--fixo); }

.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.pular { position: absolute; left: 16px; top: -120px; z-index: 20; padding: 12px 18px; border-radius: 999px; background: var(--tinta); color: var(--gelo); font-weight: 600; text-decoration: none; }
.pular:focus { top: 8px; }
.largura { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* position: relative prende o texto de leitor de tela (.sr) ao botão: fora disso, num carrossel ele esticava a página */
.botao {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 10px 18px; border-radius: 999px;
  background: var(--tinta); color: var(--gelo);
  font-weight: 600; text-align: center; text-decoration: none;
  transition: background-color 0.15s, color 0.15s;
}
.botao:hover { background: var(--menta); color: var(--tinta); }
.rotulo { display: inline-block; padding: 3px 12px; border-radius: 999px; background: var(--menta); color: var(--tinta); font-size: 0.8125rem; font-weight: 600; }

/* 1 e 2. Faixa de publicidade (regra 6) e topo da loja, fixos juntos: o aviso fica sempre à vista */
.fixo { position: sticky; top: 0; z-index: 10; }
.faixa-publi { height: 30px; background: var(--menta); color: var(--tinta); font-size: 0.8125rem; font-weight: 600; line-height: 30px; text-align: center; }
.topo { background: var(--papel); border-bottom: 1px solid var(--linha); }
.topo-dentro {
  position: relative; max-width: 1200px; margin: 0 auto; padding: 8px 16px;
  display: grid; grid-template-columns: 1fr auto; grid-template-areas: "marca menu" "busca busca"; align-items: center; column-gap: 12px;
}
.marca { grid-area: marca; justify-self: start; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 44px; min-width: 44px; font-size: 1.5rem; font-weight: 600; line-height: 1; text-decoration: none; font-variation-settings: "opsz" 60, "SOFT" 100, "WONK" 0; }
.marca-ponto { width: 0.3em; height: 0.3em; border-radius: 50%; background: var(--roxo); }
.busca-lugar { grid-area: busca; }
.busca-lugar:empty { display: none; }
.busca { position: relative; margin-top: 8px; }
.busca input {
  width: 100%; height: 46px; padding: 0 54px 0 18px; border: 1.5px solid var(--tinta); border-radius: 999px;
  background: var(--gelo); color: var(--tinta); font: inherit; font-size: 1rem; appearance: none;
}
.busca input::placeholder { color: var(--apoio); opacity: 1; }
.busca input::-webkit-search-cancel-button { appearance: none; }
.busca button { position: absolute; right: 1px; top: 1px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--tinta); color: var(--gelo); display: grid; place-items: center; cursor: pointer; }
.busca button svg, .menu-cel summary svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.menu-pc { display: none; }
.menu-cel { grid-area: menu; }
.menu-cel summary { width: 44px; height: 44px; border: 1.5px solid var(--tinta); border-radius: 50%; display: grid; place-items: center; }
.menu-cel[open] summary { background: var(--tinta); color: var(--gelo); }
.menu-painel { position: absolute; right: 16px; top: 58px; z-index: 12; min-width: 230px; padding: 8px; background: var(--papel); border: 1.5px solid var(--tinta); border-radius: var(--raio); box-shadow: 0 10px 28px rgba(22, 22, 63, 0.14); }
.menu-painel a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.menu-painel a:hover { background: var(--gelo); }

/* Chamada (ARM-P02) */
.chamada { padding-top: 14px; padding-bottom: 8px; }
.chamada h1 { font-size: 1.5rem; line-height: 1.15; }
.chamada p { margin-top: 6px; font-size: 0.9375rem; }

/* "Em breve" (fase 1, ARM-P10) */
.vitrine { padding-bottom: 36px; }
.em-breve-sec { padding-top: 6px; }
.em-breve { position: relative; max-width: 760px; margin-top: 14px; padding: 22px 20px 22px 58px; background: var(--papel); border: 1.5px solid var(--tinta); border-radius: 12px 28px 28px 12px; }
.em-breve-cordao { position: absolute; left: 27px; top: -26px; width: 2px; height: 56px; background: var(--menta); }
.em-breve-furo { position: absolute; left: 20px; top: 28px; width: 16px; height: 16px; border: 1.5px solid var(--tinta); border-radius: 50%; background: var(--gelo); }
.em-breve h2 { font-size: 1.375rem; }
.em-breve p { margin: 6px 0 14px; }
.em-breve .botao { display: inline-flex; }

/* Produto do post (ARM-P06) */
.post { padding-top: 4px; }
.post-card { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 12px; margin-top: 10px; padding: 12px; background: var(--papel); border: 1.5px solid var(--tinta); border-radius: var(--raio); }
.post-foto { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: 10px; }
.post .card-nome { font-size: 1.0625rem; }
.post-mais { margin-top: 18px; font-weight: 600; }

/* Abas de coleção (ARM-P03) */
.loja-abas { padding-top: 2px; }
.abas { display: flex; gap: 20px; overflow-x: auto; white-space: nowrap; border-bottom: 1px solid var(--linha); scrollbar-width: none; }
.abas::-webkit-scrollbar { display: none; }
.aba { display: flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding: 0 0 2px; color: var(--apoio); font-weight: 600; text-decoration: none; border-bottom: 3px solid transparent; }
.aba.ativa { color: var(--tinta); border-bottom-color: var(--tinta); }
.linha-colecao { margin-top: 10px; font-size: 0.875rem; }
.resultado { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 12px; font-weight: 600; }

/* Filtros em forma de etiqueta (ARM-P04) */
.etq {
  position: relative; flex: none; display: inline-flex; align-items: center; gap: 2px;
  min-height: 44px; padding: 0 14px 0 27px; border: 1.5px solid var(--tinta); border-radius: 8px 22px 22px 8px;
  background: var(--papel); color: var(--tinta); font-size: 0.875rem; font-weight: 600; text-decoration: none; white-space: nowrap;
}
.etq::before { content: ""; position: absolute; left: 10px; top: 50%; width: 7px; height: 7px; margin-top: -5px; border: 1.5px solid currentColor; border-radius: 50%; }
.etq.on { background: var(--tinta); color: var(--gelo); }
.barra-filtros { position: relative; }
.filtros-cel { display: flex; gap: 8px; padding: 10px 0 6px; overflow-x: auto; scrollbar-width: none; }
.filtros-cel::-webkit-scrollbar { display: none; }
.painel { z-index: 8; padding: 12px; background: var(--papel); border: 1.5px solid var(--tinta); border-radius: var(--raio); box-shadow: 0 10px 28px rgba(22, 22, 63, 0.14); }
.filtro[open] > .painel { position: absolute; left: 0; right: 0; top: 60px; }
.painel-titulo { margin-bottom: 8px; font-weight: 600; }
.painel-etqs, .grupo { display: flex; flex-wrap: wrap; gap: 8px; }
.aviso-preco { margin-top: 8px; color: var(--apoio); font-size: 0.8125rem; }
.limpar { display: inline-flex; align-items: center; min-height: 44px; font-size: 0.875rem; font-weight: 600; }
.filtros-pc { display: none; }

/* Contagem e ordenar */
.contagem { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; font-size: 0.875rem; }
.ordenar summary { display: flex; align-items: center; min-height: 44px; color: var(--apoio); }
.ordenar[open] > .painel { position: absolute; right: 0; top: 44px; min-width: 200px; display: grid; gap: 2px; padding: 8px; }
.ordenar .painel a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.ordenar .painel a.on, .ordenar .painel a:hover { background: var(--gelo); }

/* Card de produto (ARM-P05) */
.grade { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.card { display: flex; flex-direction: column; overflow: hidden; background: var(--papel); border: 1px solid var(--linha); border-radius: var(--raio); }
.card-foto { position: relative; display: block; aspect-ratio: 1; background: radial-gradient(circle at 50% 45%, #FFFFFF 0%, #F1F2F8 72%, #ECEEF5 100%); }
.card-foto img, .card-foto svg, .post-foto img, .post-foto svg { width: 100%; height: 100%; object-fit: cover; }
.selo {
  position: absolute; left: 8px; top: 8px; padding: 2px 9px 2px 17px; border: 1.2px solid var(--tinta); border-radius: 6px 12px 12px 6px;
  background: var(--papel); font-size: 0.71875rem; font-weight: 600; line-height: 1.5;
}
.selo::before { content: ""; position: absolute; left: 6px; top: 50%; width: 5px; height: 5px; margin-top: -3.5px; border: 1.2px solid var(--tinta); border-radius: 50%; }
.card-corpo { display: flex; flex: 1; flex-direction: column; gap: 3px; padding: 10px; }
.card-nome { font-size: 0.9375rem; line-height: 1.25; }
.card-loja { font-size: 0.8125rem; }
.card-preco { color: var(--apoio); font-size: 0.75rem; }
.card-preco strong { color: var(--tinta); font-size: 0.9375rem; font-weight: 600; }
.card-corpo .botao { margin-top: auto; }
.card-corpo > :nth-last-child(2) { margin-bottom: 8px; }
.vazio { max-width: 560px; padding: 18px; background: var(--papel); border: 1.5px solid var(--tinta); border-radius: var(--raio); }
.vazio .botao, .vazio-acao .botao { display: inline-flex; margin-top: 12px; }

/* Arte sem foto do produto (regra 5): etiqueta pendurada */
.arte-fundo { fill: var(--menta); }
.arte-etiqueta { fill: var(--gelo); stroke: var(--tinta); stroke-width: 1.5; }
.arte-furo { fill: var(--gelo); stroke: var(--tinta); stroke-width: 1.2; }
.arte-cordao { stroke: var(--tinta); stroke-width: 1.4; stroke-linecap: round; }
.arte-texto { fill: var(--tinta); font-weight: 600; }
.arte-tinta .arte-fundo { fill: var(--tinta); }
.arte-tinta .arte-cordao { stroke: var(--menta); }
.arte-gelo .arte-fundo { fill: var(--gelo); }
.arte-gelo .arte-etiqueta { fill: var(--menta); }

/* Ideias por ambiente (ARM-P07) */
.ideias { padding-top: 32px; }
.ideias h2 { font-size: 1.375rem; }
.ideias-apoio { margin: 4px 0 12px; }
.trilho { position: relative; display: flex; gap: 12px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; }
.ambiente { flex: 0 0 280px; scroll-snap-align: start; display: flex; flex-direction: column; padding: 10px; background: var(--papel); border: 1px solid var(--linha); border-radius: var(--raio); }
.mosaico { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; overflow: hidden; border-radius: 10px; }
.mosaico span { display: block; aspect-ratio: 1; background: radial-gradient(circle at 50% 45%, #FFFFFF 0%, #EEF0F6 100%); }
.mosaico img, .mosaico svg { width: 100%; height: 100%; object-fit: cover; }
.ambiente h3 { margin-top: 10px; font-size: 1.0625rem; }
.ambiente p { margin: 2px 0 10px; font-size: 0.875rem; }
.ambiente .botao { margin-top: auto; }

/* Como a gente escolhe (ARM-P08) */
.como { margin-top: 8px; padding: 32px 0; background: var(--menta); }
.como h2 { font-size: 1.375rem; }
.passos { display: grid; gap: 10px; margin: 14px 0 0; padding: 0; list-style: none; counter-reset: passo; }
.passos li { position: relative; padding: 12px 14px 12px 56px; background: var(--papel); border: 1.5px solid var(--tinta); border-radius: 8px 18px 18px 8px; counter-increment: passo; }
.passos li::before { content: counter(passo); position: absolute; left: 12px; top: 12px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--tinta); color: var(--gelo); font-weight: 600; }
.passos h3 { font-size: 1rem; }
.passos p { margin-top: 2px; font-size: 0.9375rem; }
.como .fecho { margin-top: 14px; font-weight: 600; }

/* Rodapé (ARM-P09), com a frase da Amazon (regra 6) */
.rodape { padding: 26px 0 36px; background: var(--papel); border-top: 1px solid var(--linha); font-size: 0.875rem; }
.rodape p { max-width: 72ch; }
.rodape p + p { margin-top: 9px; }
.rodape-colunas { display: grid; gap: 18px; }
.rodape-titulo { font-size: 1rem; }
.canal { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; }
.canal span:not(.sr) { font-weight: 400; }
.rodape .amazon { font-weight: 600; }
.marca-mini { font-weight: 600; font-variation-settings: "opsz" 60, "SOFT" 100, "WONK" 0; }

/* Telas médias */
@media (min-width: 600px) {
  .grade { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
}

/* Computador */
@media (min-width: 900px) {
  :root { --fixo: 112px; }
  body { font-size: 1.0625rem; }
  .faixa-publi { height: 32px; font-size: 0.875rem; line-height: 32px; }
  .topo-dentro { grid-template-columns: auto minmax(220px, 440px) 1fr; grid-template-areas: "marca busca menu"; column-gap: 28px; min-height: 72px; padding: 0 24px; }
  .busca { margin-top: 0; }
  .menu-cel { display: none; }
  .menu-pc { grid-area: menu; justify-self: end; display: flex; gap: 20px; }
  .menu-pc a { display: flex; align-items: center; min-height: 44px; font-size: 0.9375rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
  .menu-pc a:hover { text-decoration: underline; }
  .largura { padding: 0 24px; }
  .chamada { padding-top: 28px; padding-bottom: 18px; }
  .chamada h1 { font-size: 2.125rem; }
  .chamada p { font-size: 1.0625rem; }
  .post-card { grid-template-columns: 240px minmax(0, 1fr); max-width: 760px; }
  .post .card-nome { font-size: 1.25rem; }
  .post .botao { align-self: start; padding: 10px 28px; }
  .loja { display: grid; grid-template-columns: 232px minmax(0, 1fr); gap: 28px; padding-top: 18px; }
  .filtros-pc { display: block; }
  .filtros-pc h3 { margin: 0 0 8px; font-size: 0.9375rem; }
  .filtros-pc .grupo { margin-bottom: 18px; }
  .filtros-pc .etq { min-height: 38px; font-size: 0.8125rem; }
  .barra-filtros { display: none; }
  .grade { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .card-nome { font-size: 1rem; }
  .trilho { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; overflow: visible; }
  .ambiente { flex: none; }
  .como { padding: 48px 0; }
  .passos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .rodape-colunas { grid-template-columns: 1fr 2fr auto; gap: 28px; }
}
/* Computador estreito: o menu fica só com os dois principais (as abas e o rodapé já levam aos outros) */
@media (min-width: 900px) and (max-width: 1179px) {
  .menu-pc a[href="#produtos"], .menu-pc a[href="#siga"] { display: none; }
}
@media (min-width: 1180px) {
  .grade { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
