/*
 * Página inicial no visual novo (body.h2-home): mesmo conteúdo, num jeito mais calmo.
 * Topo baixo para aparecer o que vem embaixo, títulos menores, fotos em fundo neutro
 * e sem os blocos coloridos grandes.
 */

/* ---------- Topo ---------- */
.h2-home .ag-hero { align-items: center; gap: 32px 64px; padding-block: 28px 0; }
.h2-home .ag-hero-copy { flex: 1 1 420px; gap: 18px; }
.h2-home .ag-hero h1 { font-size: clamp(30px, 3.1vw, 42px); line-height: 1.1; letter-spacing: -0.022em; }
.h2-home .ag-hero-copy > p { max-width: 470px; font-size: 16.5px; line-height: 1.65; }
.h2-home .ag-actions { gap: 10px; margin-top: 4px; }
.h2-home .ag-actions .ag-btn { min-height: 44px; padding-inline: 20px; font-size: 15px; }
.h2-home .ag-mural { --ag-mural-gap: 12px; flex: 1 1 480px; height: min(440px, 52vh); }
.h2-home .ag-mural-card { border-radius: 14px; }
.h2-home .ag-mural-info b { font-size: 14px; }
.h2-home .ag-mural-info i { font-size: 12.5px; }

/* Fotos de produto em fundo branco com borda fina, no lugar dos fundos coloridos. */
.h2-home .ag-photo { --ag-tint: var(--ag-surface); outline: 1px solid var(--ag-line); outline-offset: -1px; }

/* ---------- Como comprar: cartão branco com três passos, cada um com um ícone ---------- */
.h2-home .ag-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; padding: 0; border-radius: 18px; background: var(--ag-surface); box-shadow: inset 0 0 0 1px var(--ag-line); color: var(--ag-ink); }
.h2-home .ag-steps li { align-items: center; gap: 14px; padding: 20px 24px; border-radius: 0; }
.h2-home .ag-steps li + li { box-shadow: inset 1px 0 0 var(--ag-line); }
.h2-home .ag-steps span { position: relative; width: 40px; height: 40px; padding: 0; border-radius: 50%; background: var(--g2-soft); font-size: 0; color: var(--ag-indigo); }
.h2-home .ag-steps span::before { content: ""; position: absolute; inset: 10px; background: currentColor; -webkit-mask: var(--h2-step-icon) center / contain no-repeat; mask: var(--h2-step-icon) center / contain no-repeat; }
.h2-home .ag-steps li:nth-child(1) { --h2-step-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6h11M9 12h11M9 18h11'/%3E%3Cpath d='m3.5 6 1 1 2-2M3.5 12l1 1 2-2M3.5 18l1 1 2-2'/%3E%3C/svg%3E"); }
.h2-home .ag-steps li:nth-child(2) { --h2-step-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 11.5a8.5 8.5 0 0 1-12.4 7.5L3 20.5l1.5-4.4A8.5 8.5 0 1 1 20 11.5z'/%3E%3Cpath d='M9 10.5c.3 1.6 2 3.4 3.8 3.9'/%3E%3C/svg%3E"); }
.h2-home .ag-steps li:nth-child(3) { --h2-step-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8h14l-1 12H6L5 8z'/%3E%3Cpath d='M9 8V6.5a3 3 0 0 1 6 0V8'/%3E%3C/svg%3E"); }
.h2-home .ag-steps strong { font-size: 15px; font-weight: 600; color: var(--ag-ink); }
.h2-home .ag-steps p { margin-top: 2px; font-size: 13.5px; line-height: 1.5; color: var(--ag-muted); }

/* ---------- Seções ---------- */
.h2-home .ag-section { gap: 20px; padding-top: 80px; }
.h2-home .ag-section-head { align-items: baseline; }
.h2-home .ag-section-head h2 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; letter-spacing: -0.015em; }
.h2-home .ag-link { font-size: 14.5px; }

/* Vitrines de produtos */
.h2-home .ag-product-row { gap: 28px 16px; }
.h2-home .ag-product-card { gap: 2px; }
.h2-home .ag-product-card .ag-photo { margin-bottom: 10px; border-radius: 14px; }
.h2-home .ag-product-card:hover .ag-photo { transform: none; }
.h2-home .ag-product-card:hover .ag-photo img { transform: scale(1.04); }
.h2-home .ag-product-card .ag-photo img { transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.h2-home .ag-product-card b { font-size: 14.5px; }
.h2-home .ag-product-card small { font-size: 13px; }

/* Categorias: foto e nome, sem cartão branco; o último vira um link simples. */
.h2-home .ag-cat-grid { gap: 28px 16px; }
.h2-home .ag-cat-card { gap: 10px; padding: 0; border-radius: 0; background: none; box-shadow: none; }
.h2-home .ag-cat-card:hover { transform: none; box-shadow: none; color: var(--ag-indigo); }
.h2-home .ag-cat-card .ag-photo { border-radius: 14px; }
.h2-home .ag-cat-card .ag-photo img { transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.h2-home .ag-cat-card:hover .ag-photo img { transform: scale(1.04); }
.h2-home .ag-cat-text { padding-inline: 0; }
.h2-home .ag-cat-card strong { font-size: 15px; font-weight: 600; }
.h2-home .ag-cat-all { justify-content: space-between; padding: 20px; border-radius: 14px; background: var(--ag-surface); box-shadow: inset 0 0 0 1px var(--ag-line); color: var(--ag-indigo); }
.h2-home .ag-cat-all:hover { background: var(--ag-surface); box-shadow: inset 0 0 0 1px var(--ag-indigo); color: var(--ag-indigo); }
.h2-home .ag-cat-all strong { font-size: 19px; max-width: 9ch; }
.h2-home .ag-cat-all-arrow { width: auto; height: auto; border-radius: 0; background: none; color: var(--ag-indigo); }

/* Balões: a mesma foto da loja, numa faixa mais baixa e com letra menor. */
.h2-home .ag-balloons { min-height: 320px; border-radius: 20px; }
.h2-home .ag-balloons-copy { gap: 12px; padding: 36px 44px; max-width: 480px; }
.h2-home .ag-balloons .ag-badge { min-height: 26px; padding: 0 10px; background: rgba(255, 255, 255, .14); color: #fff; font-size: 12.5px; font-weight: 600; }
.h2-home .ag-balloons h2 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.1; }
.h2-home .ag-balloons p { font-size: 16px; color: rgba(255, 255, 255, .86); }
.h2-home .ag-balloons .ag-btn { min-height: 42px; margin-top: 6px; padding-inline: 18px; font-size: 14.5px; }

/* Avaliações: nota menor, depoimentos em cartões leves. */
.h2-home .ag-rv-a { gap: 40px; }
.h2-home .ag-rv-a-score { top: 124px; gap: 8px; }
.h2-home .ag-rv-a-score h2 { margin-bottom: 4px; font-size: clamp(22px, 2.2vw, 28px); }
.h2-home .ag-rv-a-score .ag-rv-big { font-size: 56px; }
.h2-home .ag-rv-stars-lg { font-size: 18px; }
.h2-home .ag-rv-a-score > p { font-size: 15px; }
.h2-home .ag-rv-a-score .ag-btn { min-height: 40px; font-size: 14.5px; }
.h2-home .ag-rv-wall { column-gap: 16px; }
.h2-home .ag-rv-wall li { gap: 10px; margin-bottom: 16px; padding: 18px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--ag-line); }
.h2-home .ag-rv-wall li > p { font-size: 15px; line-height: 1.6; }
.h2-home .ag-rv-who b { font-size: 14.5px; }
.h2-home .ag-rv-who small { font-size: 12.5px; }
.h2-home .ag-rv-stars { font-size: 12px; }
.h2-home .ag-rv-reply { padding-left: 10px; border-left-width: 2px; border-left-color: var(--ag-line-strong); font-size: 13.5px !important; }
.h2-home .ag-rv-reply b { font-size: 12px; }

/* Lojas */
.h2-home .ag-stores { gap: 28px; }
.h2-home .ag-stores-team img { min-height: 360px; border-radius: 20px; }
.h2-home .ag-stores-team figcaption { left: 14px; bottom: 14px; padding: 6px 12px; background: rgba(255, 255, 255, .92); font-size: 13.5px; font-weight: 600; }
.h2-home .ag-stores-list { gap: 24px; }
.h2-home .ag-store { gap: 20px; }
.h2-home .ag-store-minimap { min-height: 200px; border-radius: 14px; }
.h2-home .ag-store h3 { font-size: 19px; }
.h2-home .ag-store-address { font-size: 15.5px; }
.h2-home .ag-store-hours { font-size: 14.5px; border-color: var(--ag-line); }
.h2-home .ag-store-actions .ag-btn { min-height: 36px; font-size: 13.5px; }

/* ---------- Telas menores ---------- */
@media (max-width: 760px) {
  .h2-home .ag-hero { padding-block: 16px 0; gap: 24px; }
  .h2-home .ag-hero h1 { font-size: 28px; }
  .h2-home .ag-hero-copy > p { font-size: 16px; }
  .h2-home .ag-mural { height: 320px; }
  .h2-home .ag-steps { grid-template-columns: minmax(0, 1fr); }
  .h2-home .ag-steps li { padding: 16px 18px; }
  .h2-home .ag-steps li + li { box-shadow: inset 0 1px 0 var(--ag-line); }
  .h2-home .ag-section { padding-top: 56px; }
  .h2-home .ag-product-row, .h2-home .ag-cat-grid { gap: 22px 12px; }
  .h2-home .ag-balloons { border-radius: 16px; }
  .h2-home .ag-balloons-copy { padding: 22px 20px 24px; }
  .h2-home .ag-rv-a-score .ag-rv-big { font-size: 48px; }
  .h2-home .ag-stores-team img { min-height: 0; border-radius: 16px; }
}

/* Mural com 4 colunas e o nome sempre à vista, por cima da foto (cortado com "..." quando não cabe). */
.h2-home .ag-mural { grid-template-columns: repeat(4, minmax(0, 1fr)); flex-basis: 560px; }
.h2-home .ag-mural-info { opacity: 1; gap: 1px; padding: 10px; background: linear-gradient(rgba(20, 20, 54, 0) 52%, rgba(20, 20, 54, .82)); }
.h2-home .ag-mural-info b, .h2-home .ag-mural-info i { transform: none; }
.h2-home .ag-mural-info b { font-size: 13px; line-height: 1.25; }
.h2-home .ag-mural-info i { font-size: 11.5px; }
.h2-home .ag-mural-info svg { display: none; }
.h2-home .ag-mural-card:hover img { transform: scale(1.04); }
.h2-home .ag-mural-card img { transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.h2-home .ag-mural-card { overflow: hidden; }
@media (max-width: 760px) {
  .h2-home .ag-mural { grid-template-columns: repeat(3, minmax(0, 1fr)); --ag-mural-gap: 8px; }
  .h2-home .ag-mural-col-3 { display: block; }
  .h2-home .ag-mural-col-4 { display: none; }
  .h2-home .ag-mural-card { border-radius: 10px; }
  .h2-home .ag-mural-info { padding: 7px; }
  .h2-home .ag-mural-info b { font-size: 11.5px; }
  .h2-home .ag-mural-info i { font-size: 10.5px; }
}

/* Vitrines: preço no lugar da categoria e o botão pequeno da lista, como no catálogo. */
.h2-home .ag-product-card .ag-card-price { margin-top: 2px; font-size: 13.5px; font-weight: 600; }
.h2-home .ag-product-item .ag-btn { min-height: 34px; padding-inline: 12px; gap: 4px; font-size: 13px; }
.h2-home .ag-product-item .ag-btn svg { width: 14px; height: 14px; }
.h2-home section[aria-label="Como comprar"] { padding-top: 56px; }

/* Links das categorias, em texto, embaixo do título de "Tem de tudo por aqui". */
.h2-cat-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: -8px; font-size: 14px; }
.h2-cat-links a { color: var(--ag-text); text-decoration: underline; text-decoration-color: var(--ag-line-strong); text-underline-offset: 3px; transition: color .2s ease, text-decoration-color .2s ease; }
.h2-cat-links a:hover { color: var(--ag-indigo); text-decoration-color: currentColor; }

/* Depois do topo, o mesmo respiro curto de cima (28px), em vez dos 80px das outras seções. */
.h2-home .ag-hero + .ag-section { padding-top: 28px; }
