/* Achados para o Lar · página do grupo (20/10/2026)
   Público: mulheres de 45 anos ou mais. Letra grande e de alto contraste (Atkinson Hyperlegible no texto),
   títulos em Bricolage Grotesque. Identidade: azulejo português (azul cobalto sobre porcelana),
   memória de cozinha de casa. O azulejo é o único enfeite; o resto é quieto. */
:root {
  --porcelana: #F6F8FC;
  --branco: #FFFFFF;
  --cobalto: #1E4FA3;
  --cobalto-claro: #DCE6F7;
  --tinta: #14213D;
  --tinta-suave: #44506A;
  --zap: #127A3F;
  --zap-escuro: #0C5C2F;
  --gema: #F4C430;
  --linha: #C9D6EE;
  --texto: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;
  --titulo: "Bricolage Grotesque", "Atkinson Hyperlegible", system-ui, sans-serif;
  /* um azulejo de 64 px: moldura, flor de quatro pétalas e cantos (desenhado em SVG, sem imagem) */
  --azulejo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Crect width='64' height='64' fill='%23F6F8FC'/%3E%3Cg fill='%231E4FA3'%3E%3Ccircle cx='0' cy='0' r='11'/%3E%3Ccircle cx='64' cy='0' r='11'/%3E%3Ccircle cx='0' cy='64' r='11'/%3E%3Ccircle cx='64' cy='64' r='11'/%3E%3Cellipse cx='32' cy='19' rx='6' ry='10'/%3E%3Cellipse cx='32' cy='45' rx='6' ry='10'/%3E%3Cellipse cx='19' cy='32' rx='10' ry='6'/%3E%3Cellipse cx='45' cy='32' rx='10' ry='6'/%3E%3C/g%3E%3Ccircle cx='32' cy='32' r='5' fill='%23F4C430'/%3E%3Cg fill='none' stroke='%231E4FA3' stroke-width='1.5'%3E%3Ccircle cx='32' cy='32' r='22'/%3E%3Crect x='1' y='1' width='62' height='62'/%3E%3C/g%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--porcelana);
  color: var(--tinta);
  font-family: var(--texto);
  font-size: 19px;
  line-height: 1.55;
}
img { display: block; max-width: 100%; height: auto; }
a:focus-visible, summary:focus-visible, .botao:focus-visible { outline: 4px solid var(--gema); outline-offset: 3px; border-radius: 12px; }

.faixa-azulejo { height: 32px; background: var(--azulejo) left center / 32px 32px repeat-x; }

.pagina { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* ---------- topo ---------- */
.marca { display: flex; align-items: center; gap: 12px; padding: 18px 0 6px; }
.marca-icone { width: 46px; height: 46px; border-radius: 10px; background: var(--azulejo) center / 46px 46px; box-shadow: 0 0 0 2px var(--cobalto); flex: none; }
.marca-nome { font-family: var(--titulo); font-weight: 800; font-size: 22px; line-height: 1.1; color: var(--cobalto); }
.marca-nome small { display: block; font-family: var(--texto); font-weight: 400; font-size: 16px; color: var(--tinta-suave); }

.abertura { display: grid; gap: 22px; padding: 14px 0 34px; }
h1 {
  font-family: var(--titulo); font-weight: 800;
  font-size: clamp(36px, 9.4vw, 60px); line-height: 1.04; letter-spacing: -0.015em;
  margin: 0; max-width: 14ch; text-wrap: balance;
}
.abertura .lead { margin: 0; font-size: 20px; color: var(--tinta-suave); max-width: 34ch; }

.botao {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 64px; padding: 16px 24px; border-radius: 16px;
  background: var(--zap); color: var(--branco); text-decoration: none;
  font-family: var(--texto); font-weight: 700; font-size: 21px; line-height: 1.2; text-align: center;
  box-shadow: 0 4px 0 var(--zap-escuro);
}
.botao svg { width: 28px; height: 28px; flex: none; }
.botao:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--zap-escuro); }
.garantias { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; font-size: 18px; }
.garantias li { display: flex; gap: 10px; align-items: flex-start; }
.garantias li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: var(--cobalto) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.3l2.6 2.5L12 5.4' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.aviso { margin: 0; color: #9B1C1C; font-weight: 700; }

/* a foto da cozinha numa moldura de azulejo: o único enfeite da página */
.moldura { margin: 0; padding: 18px; border-radius: 6px; background: var(--azulejo) 0 0 / 36px 36px; box-shadow: 0 18px 40px -24px rgba(20, 33, 61, .55); }
.moldura img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px; }

/* ---------- lojas ---------- */
.lojas { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 22px 0; border-top: 2px solid var(--linha); border-bottom: 2px solid var(--linha); }
.lojas p { margin: 0; font-size: 18px; color: var(--tinta-suave); flex: 1 1 220px; }
.lojas ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 12px; }
.lojas img { width: 56px; height: 56px; border-radius: 14px; border: 1px solid var(--linha); background: var(--branco); }

/* ---------- seções ---------- */
section { padding: 40px 0; }
h2 { font-family: var(--titulo); font-weight: 800; font-size: clamp(28px, 7vw, 40px); line-height: 1.1; margin: 0 0 10px; letter-spacing: -0.01em; }
.nota { margin: 0 0 22px; color: var(--tinta-suave); font-size: 17px; max-width: 46ch; }

.ofertas { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.oferta { background: var(--branco); border: 2px solid var(--linha); border-radius: 18px; padding: 12px; display: grid; gap: 8px; align-content: start; position: relative; }
.oferta img { width: 100%; aspect-ratio: 1; object-fit: contain; border-radius: 10px; }
/* Atkinson desenha o zero cortado (Ø): bom para ler texto, estranho em preço. Preço e nome de produto vão na letra dos títulos. */
.oferta h3 { margin: 0; font-family: var(--titulo); font-weight: 700; font-size: 18px; line-height: 1.25; }
.oferta .de { margin: 0; font-family: var(--titulo); font-weight: 500; font-size: 17px; color: var(--tinta-suave); }
.oferta .de s { text-decoration-thickness: 2px; }
.oferta .por { margin: 0; font-family: var(--titulo); font-weight: 800; font-size: 28px; line-height: 1; color: var(--cobalto); }
.oferta .loja { margin: 0; font-size: 15px; color: var(--tinta-suave); }
.desconto { position: absolute; top: 10px; left: 10px; background: var(--gema); color: var(--tinta); font-family: var(--titulo); font-weight: 700; font-size: 17px; border-radius: 10px; padding: 3px 10px; }

.passos { margin: 0; padding: 0; list-style: none; counter-reset: passo; display: grid; gap: 18px; }
.passos li { counter-increment: passo; display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: start; }
.passos li::before {
  content: counter(passo); width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  background: var(--cobalto); color: var(--branco); font-family: var(--titulo); font-weight: 800; font-size: 26px;
}
.passos b { display: block; font-size: 20px; }
.passos span { color: var(--tinta-suave); }

.perguntas details { border-bottom: 2px solid var(--linha); }
.perguntas summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative; font-weight: 700; font-size: 20px; }
.perguntas summary::-webkit-details-marker { display: none; }
.perguntas summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 30px; color: var(--cobalto); font-weight: 400; }
.perguntas details[open] summary::after { content: "−"; }
.perguntas details p { margin: 0 0 18px; color: var(--tinta-suave); max-width: 56ch; }

.final { text-align: center; }
.final h2 { max-width: 18ch; margin: 0 auto 22px; }
.final .botao { max-width: 460px; margin: 0 auto; }

footer { padding: 26px 20px 110px; font-size: 16px; color: var(--tinta-suave); text-align: center; }
footer p { max-width: 62ch; margin: 0 auto; }
footer p + p { margin-top: 10px; }
footer a { color: var(--tinta-suave); }

.fixo {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(246, 248, 252, .96); border-top: 2px solid var(--linha);
  transform: translateY(110%); transition: transform .25s ease;
}
.fixo.on { transform: none; }
.fixo .botao { min-height: 56px; font-size: 20px; max-width: 520px; margin: 0 auto; }

@media (min-width: 900px) {
  .abertura { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 56px; padding: 34px 0 56px; }
  .abertura .texto { display: grid; gap: 22px; }
  .botao { justify-self: start; padding: 16px 34px; }
  .ofertas { grid-template-columns: repeat(4, 1fr); }
  .passos { grid-template-columns: repeat(3, 1fr); }
  .fixo { display: none; }
  footer { padding-bottom: 40px; }
}
@media (max-width: 899px) { .abertura .texto { display: contents; } }
@media (prefers-reduced-motion: reduce) { .fixo { transition: none; } .botao:active { transform: none; } }

/* 25/10: ofertas da Shopee sem preço "de" (a API não traz): a prova é a nota e quantos já compraram */
.oferta img { object-fit: cover; }
.oferta .por small { display: block; font-family: var(--texto); font-weight: 400; font-size: 15px; color: var(--tinta-suave); margin-bottom: 2px; }
.oferta .prova { margin: 0; font-family: var(--titulo); font-weight: 700; font-size: 16px; line-height: 1.3; color: var(--tinta); }
.oferta .prova span { display: block; font-weight: 500; color: var(--tinta-suave); }
