/* Página inicial (vitrine). Mobile first; complementa estilo.css. Só é carregado na página inicial. */
.home { --topo-altura: 118px; background: var(--fundo-suave); }
.home-interno { max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.home-main { padding-bottom: 32px; }
.home h2 { font-size: 1.375rem; margin: 0; color: var(--texto); }

/* Faixa de aviso */
.home-aviso { margin: 0; background: var(--indigo-escuro); color: #fff; font-size: .875rem; font-weight: 700; line-height: 1.35; text-align: center; padding: 9px 16px; }
.home-aviso a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }



.home-h1 { margin: 16px 0 0; color: var(--indigo-escuro); font-size: 1.25rem; line-height: 1.3; }

/* Carrossel */
.home-carrossel { padding-top: 14px; }
.home-carrossel__caixa { position: relative; }
.home-carrossel__trilho { list-style: none; margin: 0; padding: 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; border-radius: 18px; scrollbar-width: none; background: var(--indigo-claro); }
.home-carrossel__trilho::-webkit-scrollbar { display: none; }
.home-slide { flex: 0 0 100%; scroll-snap-align: start; }
.home-slide__link { display: block; }
.home-slide img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
.home-carrossel__seta { display: none; }
.home-carrossel__pontos { display: flex; justify-content: center; gap: 2px; padding-top: 4px; }
.home-carrossel__ponto { width: 28px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.home-carrossel__ponto::before { content: ""; width: 8px; height: 8px; border-radius: 4px; background: #b9bedc; transition: width .2s; }
.home-carrossel__ponto--sel::before { width: 24px; background: var(--indigo); }

.home-heroi { border-radius: 18px; overflow: hidden; background: var(--indigo); color: #fff; display: flex; flex-direction: column-reverse; }
.home-heroi__texto { padding: 18px 18px 22px; display: flex; flex-direction: column; gap: 10px; }
.home-heroi__selo { margin: 0; align-self: flex-start; background: var(--amarelo); color: var(--texto); font-size: .75rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.home-heroi__titulo { margin: 0; color: #fff; font-family: var(--fonte-titulo); font-size: 1.75rem; font-weight: 800; line-height: 1.15; }
.home-heroi__sub { margin: 0; color: #e9ebf7; font-size: 1rem; line-height: 1.5; }
.home-heroi__acoes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.home-heroi__acoes .botao { flex: 1 1 200px; justify-content: center; }
.home-heroi__ajuda { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.home-heroi__ajuda:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.home-heroi__foto img { display: block; width: 100%; height: 220px; object-fit: cover; object-position: center 30%; }

/* Vantagens */
.home-vantagens { padding-top: 14px; }
.home-vantagens ul { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.home-vantagem { display: flex; gap: 10px; align-items: center; background: #fff; border: 1px solid var(--borda); border-radius: 12px; padding: 12px; line-height: 1.3; }
.home-vantagem strong { display: block; font-size: .875rem; color: var(--texto); }
.home-vantagem small { display: block; font-size: .8125rem; color: var(--texto-suave); }
.home-vantagem__ico { flex: 0 0 38px; height: 38px; border-radius: 50%; background: var(--indigo-claro); color: var(--indigo); display: flex; align-items: center; justify-content: center; }

/* Seções */
.home-secao { padding-top: 28px; }
.home-secao__cabeca { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.home-secao__mais { font-size: .9375rem; font-weight: 800; color: var(--indigo); text-decoration: none; white-space: nowrap; min-height: 44px; display: inline-flex; align-items: center; }
.home-secao__mais:hover { text-decoration: underline; }

.home-linhas { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.home-linha { display: flex; align-items: center; gap: 12px; padding: 10px; background: #fff; border: 1px solid var(--borda); border-radius: 14px; color: var(--texto); text-decoration: none; }
.home-linha:hover { border-color: var(--indigo); }
.home-linha img { flex: 0 0 76px; width: 76px; height: 76px; object-fit: contain; border-radius: 10px; background: var(--fundo-suave); }
.home-linha__texto { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; line-height: 1.35; }
.home-linha__texto strong { font-family: var(--fonte-titulo); font-size: 1.0625rem; }
.home-linha__texto span { font-size: .875rem; color: var(--texto-suave); }
.home-linha__texto .home-linha__preco { color: var(--indigo); font-weight: 800; }
.home-linha > svg { flex: none; color: var(--indigo); }

/* Produtos: trilho no celular, grade no computador */
.home-trilho { list-style: none; margin: 0 -16px; padding: 0 16px 6px; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: 16px; scrollbar-width: thin; }
.home-produto { flex: 0 0 172px; scroll-snap-align: start; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--borda); border-radius: 14px; overflow: hidden; }
.home-produto__foto img { display: block; width: 100%; aspect-ratio: 1 / 1; height: auto; object-fit: contain; background: #fff; }
.home-produto__corpo { flex: 1; display: flex; flex-direction: column; gap: 4px; padding: 10px 12px 12px; }
.home-produto__linha { font-size: .6875rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--texto-suave); }
.home-produto__nome { color: var(--texto); font-size: .875rem; font-weight: 600; line-height: 1.3; text-decoration: none; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: 3.9em; }
.home-produto__nome:hover { color: var(--indigo); text-decoration: underline; }
.home-produto__preco { font-family: var(--fonte-titulo); font-size: 1.3rem; font-weight: 800; color: var(--texto); line-height: 1.2; margin-top: auto; }
.home-produto__de { display: block; font: 400 .8125rem var(--fonte-texto); color: var(--texto-suave); }
.home-produto__parc { font-size: .75rem; color: var(--texto-suave); }
.home-produto__comprar { margin-top: 6px; min-height: 44px; border: 0; border-radius: 10px; background: var(--indigo); color: #fff; font: 800 .9375rem var(--fonte-texto); cursor: pointer; }
.home-produto__comprar:hover { background: var(--indigo-escuro); }
.home-produto__comprar[aria-busy="true"] { opacity: .7; cursor: wait; }

/* Horário de corte */
.home-postagem { padding-top: 26px; }
.home-postagem__caixa { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; background: #fff; border: 1.5px solid var(--amarelo); border-radius: 14px; padding: 14px; }
.home-postagem__ico { flex: 0 0 44px; height: 44px; border-radius: 50%; background: #fdf4d6; color: #7a5c00; display: flex; align-items: center; justify-content: center; }
.home-postagem__texto { flex: 1 1 220px; }
.home-postagem__texto p { margin: 0; font-size: .8125rem; color: var(--texto-suave); line-height: 1.4; }
.home-postagem__texto .home-postagem__titulo { font-size: 1rem; font-weight: 800; color: var(--texto); margin-bottom: 2px; }
.home-postagem__tempo { color: var(--indigo); white-space: nowrap; }
.home-postagem__cep { flex: 1 1 100%; justify-content: center; }

/* Ofertas */
.home-ofertas { padding-top: 26px; }
.home-ofertas__grade { display: grid; gap: 12px; }
.home-oferta { display: block; border-radius: 16px; overflow: hidden; color: var(--texto); text-decoration: none; }
.home-oferta--banner img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; }
.home-oferta--banner.home-oferta--grande img { aspect-ratio: 1200 / 860; }
.home-oferta--padrao { display: flex; align-items: center; gap: 10px; background: var(--indigo-claro); padding: 12px; }
.home-oferta--padrao img { flex: 0 0 120px; width: 120px; height: 120px; object-fit: contain; background: #fff; border-radius: 12px; }
.home-oferta__texto { flex: 1; display: flex; flex-direction: column; gap: 4px; line-height: 1.25; }
.home-oferta__selo { font-size: .75rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--indigo); }
.home-oferta__texto strong { font-family: var(--fonte-titulo); font-size: 1.0625rem; }
.home-oferta__preco { font-size: .875rem; color: var(--texto-suave); }
.home-oferta__preco b { font-family: var(--fonte-titulo); font-size: 1.25rem; color: var(--indigo); }
.home-oferta__ver { align-self: flex-start; margin-top: 4px; font-size: .875rem; font-weight: 800; color: var(--indigo); text-decoration: underline; text-underline-offset: 3px; }
.home-oferta--padrao.home-oferta--grande { background: var(--indigo); color: #fff; }
.home-oferta--grande .home-oferta__selo { color: var(--amarelo); }
.home-oferta--grande .home-oferta__preco { color: #e9ebf7; }
.home-oferta--grande .home-oferta__preco b { color: #fff; }
.home-oferta--grande .home-oferta__ver { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 10px; background: var(--amarelo); color: var(--texto); text-decoration: none; }
.home-oferta:hover { filter: brightness(.98); }

/* Ajuda */
.home-ajuda { padding-top: 26px; }
.home-ajuda__caixa { background: var(--indigo-escuro); color: #fff; border-radius: 16px; padding: 20px 18px; display: flex; flex-direction: column; gap: 14px; }
.home-ajuda h2 { color: #fff; }
.home-ajuda p { margin: 8px 0 0; color: #e9ebf7; font-size: .9375rem; line-height: 1.5; }
.home-ajuda .home-ajuda__nota { color: var(--amarelo); font-weight: 700; font-size: .875rem; }
.home-ajuda .botao { justify-content: center; }

/* Clientes */
.home-clientes { background: #fff; border: 1px solid var(--borda); border-radius: 16px; overflow: hidden; }
.home-clientes__foto img { display: block; width: 100%; height: 180px; object-fit: cover; object-position: center 35%; }
.home-clientes__texto { padding: 16px 18px 18px; }
.home-numeros { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.home-numeros strong { display: block; font-family: var(--fonte-titulo); font-size: 1.75rem; color: var(--indigo); line-height: 1.1; }
.home-numeros span { font-size: .875rem; color: var(--texto-suave); line-height: 1.35; }
.home-clientes__links { margin: 14px 0 0; font-size: .9375rem; font-weight: 700; }

/* Instagram */
.home-insta { list-style: none; margin: 0 0 12px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.home-insta a { display: block; border-radius: 10px; overflow: hidden; background: #fff; }
.home-insta img { display: block; width: 100%; aspect-ratio: 1 / 1; height: auto; object-fit: cover; }
.home-insta__seguir { background: #fff; }

/* Guias */
.home-guias { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.home-guias a { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 12px 14px; background: #fff; border: 1px solid var(--borda); border-radius: 12px; color: var(--texto); font-weight: 700; line-height: 1.35; text-decoration: none; }
.home-guias a:hover { border-color: var(--indigo); color: var(--indigo); }
.home-guias__n { flex: 0 0 34px; height: 34px; border-radius: 50%; background: var(--indigo-claro); color: var(--indigo); display: flex; align-items: center; justify-content: center; font-weight: 800; }
.home-guias__mais { margin: 12px 0 0; font-weight: 800; }

/* Atendimento */
.home-secao--curta { padding-top: 22px; }
.home-atendimento { display: flex; align-items: center; gap: 12px; padding: 14px; background: #fff; border: 1px solid var(--borda); border-radius: 14px; color: var(--texto); text-decoration: none; line-height: 1.35; }
.home-atendimento strong { display: block; }
.home-atendimento small { display: block; font-size: .875rem; color: var(--texto-suave); }
.home-atendimento__ico { flex: 0 0 46px; height: 46px; border-radius: 50%; background: #1f7a45; color: #fff; display: flex; align-items: center; justify-content: center; }

/* Texto sobre clareamento e aviso de segurança */
.home-sobre { padding-top: 32px; }
.home-sobre h2 { font-size: 1.1875rem; margin-bottom: 8px; }
.home-sobre p { margin: 0 0 10px; font-size: .9375rem; color: var(--texto-suave); line-height: 1.6; }
.home-sobre .home-sobre__aviso { margin-top: 14px; background: var(--alerta-fundo); color: var(--alerta); border-radius: 12px; padding: 14px; font-size: .875rem; }

@media (min-width: 640px) {
  .home-vantagens ul { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .home-linhas { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-linha { flex-direction: column; align-items: stretch; padding: 0; overflow: hidden; }
  .home-linha img { width: 100%; height: 180px; flex-basis: auto; border-radius: 0; background: #fff; }
  .home-linha__texto { padding: 14px 16px 16px; }
  .home-linha > svg { display: none; }
  .home-ofertas__grade { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-oferta--grande { grid-column: 1 / -1; }
  .home-guias { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-insta { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
  .home-postagem__cep { flex: 0 0 auto; }
}

@media (min-width: 960px) {
  .home { --topo-altura: 132px; }
  .home h2 { font-size: 1.75rem; }
  .home-interno { padding: 0 24px; }
  .home-h1 { font-size: 1.375rem; margin-top: 22px; }
  .home-carrossel { padding-top: 22px; }
  .home-slide img { aspect-ratio: 3 / 1; }
  .home-carrossel__seta { display: flex; position: absolute; top: calc(50% - 36px); width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; color: var(--indigo); align-items: center; justify-content: center; box-shadow: 0 2px 10px rgba(29, 33, 64, .18); cursor: pointer; }
  .home-carrossel__seta--ant { left: 38px; }
  .home-carrossel__seta--prox { right: 38px; }
  .home-heroi { flex-direction: row; min-height: 420px; }
  .home-heroi__texto { flex: 1 1 50%; padding: 48px 52px; justify-content: center; gap: 16px; }
  .home-heroi__titulo { font-size: 2.75rem; }
  .home-heroi__sub { font-size: 1.125rem; max-width: 480px; }
  .home-heroi__acoes .botao { flex: 0 0 auto; }
  .home-heroi__foto { flex: 1 1 50%; }
  .home-heroi__foto img { height: 100%; min-height: 420px; }
  .home-vantagens { padding-top: 20px; }
  .home-vantagem { padding: 16px 18px; gap: 14px; }
  .home-vantagem strong { font-size: .9375rem; }
  .home-secao { padding-top: 48px; }
  .home-trilho { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; overflow: visible; }
  .home-produto__corpo { padding: 12px 16px 16px; }
  .home-produto__nome { font-size: .9375rem; }
  .home-produto__preco { font-size: 1.5rem; }
  .home-postagem { padding-top: 36px; }
  .home-postagem__caixa { padding: 18px 24px; gap: 18px; }
  .home-postagem__texto .home-postagem__titulo { font-size: 1.1875rem; }
  .home-ofertas { padding-top: 36px; }
  .home-ofertas__grade { grid-template-columns: 1.4fr 1fr; gap: 18px; }
  .home-oferta--grande { grid-column: 1; grid-row: span 2; }
  .home-oferta--banner.home-oferta--grande img { height: 100%; }
  .home-oferta--padrao { padding: 18px 24px; gap: 18px; }
  .home-oferta--padrao img { flex-basis: 150px; width: 150px; height: 150px; }
  .home-oferta--padrao.home-oferta--grande { padding: 36px; }
  .home-oferta--padrao.home-oferta--grande img { flex-basis: 240px; width: 240px; height: 240px; }
  .home-oferta--grande .home-oferta__texto strong { font-size: 2rem; }
  .home-oferta__texto strong { font-size: 1.375rem; }
  .home-ajuda { padding-top: 48px; }
  .home-ajuda__caixa { flex-direction: row; align-items: center; justify-content: space-between; padding: 36px 44px; gap: 32px; }
  .home-ajuda p { font-size: 1.0625rem; max-width: 640px; }
  .home-clientes { display: flex; }
  .home-clientes__foto { flex: 1 1 50%; }
  .home-clientes__foto img { height: 100%; min-height: 300px; }
  .home-clientes__texto { flex: 1 1 50%; padding: 40px 48px; align-self: center; }
  .home-numeros strong { font-size: 2.5rem; }
  .home-sobre { padding-top: 48px; }
}

@media (prefers-reduced-motion: reduce) { .home-carrossel__trilho { scroll-behavior: auto; } }
