/* Agora Home — nova página inicial */
.agh{--agh-azul:#046BD2;--agh-azul-esc:#045CB4;--agh-tinta:#1E293B;--agh-suave:#475569;--agh-linha:#E5E7EB;--agh-fundo-azul:#EFF4FB;--agh-verde:#15803D;
  box-sizing:border-box;color:var(--agh-tinta);font-size:17px;line-height:1.6;margin:0 0 clamp(40px,5vw,64px)}
.agh *,.agh *::before,.agh *::after{box-sizing:border-box}
.agh a{text-decoration:none}
.agh img{display:block;max-width:100%;height:auto}
.agh-h2{margin:0;font-size:clamp(24px,2.8vw,30px);font-weight:800;letter-spacing:-.02em;line-height:1.2;color:var(--agh-tinta)}
.agh-sub{margin:4px 0 0;color:var(--agh-suave);font-size:15px}
.agh-cabeca{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:18px}
.agh-centro{display:flex;justify-content:center;margin-top:8px}
.agh-tag{align-self:flex-start;font-size:13px;font-weight:700;color:var(--agh-azul);background:var(--agh-fundo-azul);border-radius:999px;padding:4px 12px}
.agh-sem-foto{display:block;width:100%;aspect-ratio:4/3;background:#E2E8F0}

/* Botões */
.agh-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:0 22px;border-radius:10px;font-weight:700;font-size:15px;line-height:1;border:0;cursor:pointer;font-family:inherit;transition:background .2s ease}
.agh-btn--azul{background:var(--agh-azul);color:#fff}
.agh-btn--azul:hover{background:var(--agh-azul-esc);color:#fff}
.agh-btn--contorno{background:#fff;color:var(--agh-tinta);border:1px solid var(--agh-tinta);border-radius:999px;min-height:48px;padding:0 28px}
.agh-btn--branco{background:#fff;color:#14532D;border-radius:999px;min-height:54px;padding:0 28px;font-size:17px;font-weight:800}
.agh-setas{display:flex;gap:8px}
.agh-seta{width:44px;height:44px;border-radius:999px;border:1px solid var(--agh-linha);background:#fff;color:var(--agh-tinta);display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0}
.agh-seta--escura{background:var(--agh-tinta);border-color:var(--agh-tinta);color:#fff}

/* Busca do achadinho */
.agh-busca{background:var(--agh-fundo-azul);border:1px solid #DCE6F3;border-radius:16px;padding:16px clamp(16px,3vw,24px)}
.agh-busca__form{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px 18px;margin:0}
.agh-busca__label{display:flex;flex-direction:column;line-height:1.35;font-size:16px}
.agh-busca__label strong{font-size:17px;font-weight:800}
.agh-busca__label span{color:#334155;font-weight:500}
.agh-busca__campo{display:flex;gap:8px;flex:0 1 360px;min-width:0}
.agh-busca__campo input{flex:1 1 auto;min-width:0;height:48px;border:1px solid #CBD5E1;border-radius:10px;padding:0 14px;font-size:18px;font-family:inherit;background:#fff;color:var(--agh-tinta)}
.agh-busca__campo .agh-btn{height:48px;min-height:0}

/* Carrossel de destaques */
.agh-carrossel{background:#fff;border:1px solid var(--agh-linha);border-radius:20px;overflow:hidden}
.agh-carrossel__janela{overflow:hidden}
.agh-carrossel__trilho{display:flex;transition:transform .5s ease}
.agh-slide{flex:0 0 100%;min-width:0;display:flex;flex-wrap:wrap;align-items:center;color:var(--agh-tinta)}
.agh-slide:hover{color:var(--agh-tinta)}
.agh-slide__foto{position:relative;display:block;flex:1 1 300px;max-width:560px;aspect-ratio:16/9;background:#E2E8F0;overflow:hidden}
.agh-slide__foto img,.agh-slide__foto .agh-sem-foto{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;aspect-ratio:auto}
.agh-slide__texto{flex:1 1 300px;min-width:0;padding:clamp(18px,3vw,36px);display:flex;flex-direction:column;justify-content:center;gap:12px}
.agh-slide__titulo{font-size:clamp(20px,2.4vw,28px);font-weight:800;line-height:1.18;letter-spacing:-.02em}
.agh-slide__resumo{color:var(--agh-suave)}
.agh-slide .agh-btn{align-self:flex-start;margin-top:6px}
.agh-carrossel__controles{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px clamp(16px,3vw,24px);border-top:1px solid #F1F5F9}
.agh-pontos{display:flex;gap:8px}
.agh-ponto{width:10px;height:10px;border-radius:999px;border:0;padding:0;background:#CBD5E1;cursor:pointer;transition:width .3s ease,background .3s ease}
.agh-ponto.is-ativo{width:28px;background:var(--agh-azul)}

/* Mais lidas — ranking Top 5 */
.agh-ranking{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);grid-template-rows:repeat(4,auto);column-gap:28px}
.agh-lida-item{margin:0;padding:0;border-bottom:1px solid var(--agh-linha)}
.agh-lida-item:first-child{grid-row:1 / span 4;border-bottom:0}
.agh-lida-item:nth-child(2){border-top:1px solid var(--agh-linha)}
.agh-lida{display:grid;grid-template-columns:40px 92px minmax(0,1fr);align-items:center;gap:14px;padding:14px 0;color:var(--agh-tinta);height:100%}
.agh-lida:hover{color:var(--agh-azul)}
.agh-lida__pos{font-size:34px;font-weight:900;line-height:1;color:#94A3B8;text-align:center}
.agh-lida-item:nth-child(-n+3) .agh-lida__pos{color:var(--agh-azul)}
.agh-lida__foto{position:relative;display:block;width:92px;height:92px;border-radius:14px;overflow:hidden;background:#E2E8F0}
.agh-lida__foto img,.agh-lida__foto .agh-sem-foto{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;aspect-ratio:auto}
.agh-lida__info{display:flex;flex-direction:column;gap:4px;min-width:0}
.agh-lida__cat{font-size:13px;font-weight:700;color:var(--agh-azul)}
.agh-lida__titulo{font-size:17px;font-weight:700;line-height:1.32}
/* nº 1 em destaque */
.agh-lida-item:first-child .agh-lida{grid-template-columns:1fr;grid-template-rows:auto auto;align-content:start;gap:14px;padding:0;position:relative}
.agh-lida-item:first-child .agh-lida__foto{width:100%;height:auto;aspect-ratio:16/10;border-radius:18px;grid-row:1}
.agh-lida-item:first-child .agh-lida__pos{position:absolute;top:12px;left:12px;z-index:1;width:52px;height:52px;border-radius:999px;background:var(--agh-azul);color:#fff;font-size:28px;display:flex;align-items:center;justify-content:center;box-shadow:0 6px 16px rgba(4,107,210,.35)}
.agh-lida-item:first-child .agh-lida__titulo{font-size:clamp(20px,2.2vw,24px);line-height:1.25}

/* Mural estilo Pinterest */
.agh-chips{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding-bottom:6px;margin-bottom:16px}
.agh-chips::-webkit-scrollbar{display:none}
.agh-chip,.agh a.agh-chip{display:inline-flex;align-items:center;text-decoration:none;flex:0 0 auto;min-height:44px;padding:0 18px;border-radius:999px;border:1px solid var(--agh-linha);background:#fff;color:var(--agh-tinta);font-weight:600;font-size:15px;font-family:inherit;cursor:pointer;white-space:nowrap}
.agh-chip.is-ativo,.agh a.agh-chip:hover{background:var(--agh-tinta);border-color:var(--agh-tinta);color:#fff}

/* Explore por assunto: um bloco por categoria */
.agh-assunto{padding-top:28px;margin-top:8px;border-top:1px solid var(--agh-linha);scroll-margin-top:90px}
.agh-assunto:first-of-type{border-top:0;padding-top:12px}
.agh-assunto__topo{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:6px 16px;margin-bottom:16px}
.agh-assunto__nome{margin:0;font-size:clamp(20px,2.2vw,24px);font-weight:800;letter-spacing:-.01em;color:var(--agh-tinta)}
.agh .agh-assunto__ver{font-weight:700;font-size:15px;color:var(--agh-azul);min-height:44px;display:inline-flex;align-items:center}
.agh-assunto__grade{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.agh-assunto .agh-pin{margin:0}
.agh-assunto .agh-pin__foto{aspect-ratio:4/3}
.agh-assunto .agh-pin__foto > a{position:absolute;inset:0}
.agh-assunto .agh-pin__foto img,.agh-assunto .agh-pin__foto .agh-sem-foto{width:100%;height:100%;object-fit:cover;aspect-ratio:auto}
@media (max-width:900px){.agh-assunto__grade{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}}
/* Celular: cada assunto vira uma fileira para arrastar para o lado */
@media (max-width:600px){
  .agh-assunto__grade{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;gap:12px;margin-right:-20px;padding-right:20px}
  .agh-assunto__grade::-webkit-scrollbar{display:none}
  .agh-assunto .agh-pin{flex:0 0 62%;scroll-snap-align:start}
}
.agh-mural__grade{column-width:230px;column-gap:18px}
.agh-pin{break-inside:avoid;margin:0 0 18px;display:flex;flex-direction:column;gap:8px;transition:transform .2s ease}
.agh-pin[hidden]{display:none}
.agh-pin:hover{transform:translateY(-3px)}
.agh-pin__foto{position:relative;border-radius:18px;overflow:hidden;background:#E2E8F0}
.agh-pin__foto img{width:100%;height:auto;transition:filter .2s ease}
.agh-pin:hover .agh-pin__foto img{filter:brightness(.92)}
.agh-pin__salvar{position:absolute;top:8px;right:8px;z-index:2;display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;padding:0;border-radius:999px;background:#E60023;color:#fff;font-size:0;line-height:0;box-shadow:0 2px 8px rgba(0,0,0,.18);opacity:0;transition:opacity .2s ease,transform .2s ease}
.agh-pin__salvar:hover{transform:scale(1.08)}
.agh-pin__salvar svg{width:13px;height:13px}
.agh-pin:hover .agh-pin__salvar,.agh-pin__salvar:focus{opacity:1;color:#fff}
@media (hover:none){.agh-pin__salvar{opacity:1}}
.agh-pin__texto{display:flex;flex-direction:column;gap:2px;padding:0 4px;color:var(--agh-tinta)}
.agh-pin__texto:hover{color:var(--agh-azul)}
.agh-pin__titulo{font-size:16px;font-weight:700;line-height:1.35}
.agh-pin__cat{font-size:13px;color:#64748B;font-weight:600}
.agh-vazio{color:var(--agh-suave);text-align:center}

/* Clube */
.agh-clube{background:var(--agh-verde);color:#fff;border-radius:20px;padding:clamp(24px,4vw,40px);display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:20px}
.agh-clube__texto{flex:999 1 380px;min-width:0}
.agh-clube .agh-h2{color:#fff;margin-bottom:4px}
.agh-clube p{margin:0;font-size:17px;color:#E7F6EC}
.agh-clube .agh-btn{flex:1 0 auto}
.agh-clube .agh-btn:hover{color:#14532D;background:#F0FDF4}

@media (max-width:720px){.agh-slide__foto{max-width:none;flex-basis:100%}}
@media (max-width:600px){.agh-slide .agh-btn{min-height:42px}}

/* Celular: mural em 2 colunas, como no Pinterest */
@media (max-width:600px){
  .agh-mural__grade{column-count:2;column-width:auto;column-gap:12px}
  .agh-pin{margin-bottom:14px}
  .agh-pin__titulo{font-size:14px}
  .agh-pin__cat{font-size:12px}
  .agh-pin__salvar{top:6px;right:6px;width:28px;height:28px;opacity:.95}
  .agh-pin__salvar svg{width:13px;height:13px}
  .agh-pin__foto{border-radius:14px}

  /* Ranking no celular: lista simples */
  .agh-ranking{grid-template-columns:1fr;grid-template-rows:none;border-top:1px solid var(--agh-linha)}
  .agh-lida-item:first-child{grid-row:auto;border-bottom:1px solid var(--agh-linha)}
  .agh-lida-item:nth-child(2){border-top:0}
  .agh-lida,.agh-lida-item:first-child .agh-lida{grid-template-columns:34px 68px minmax(0,1fr);grid-template-rows:none;align-items:center;gap:12px;padding:12px 0}
  .agh-lida__pos,.agh-lida-item:first-child .agh-lida__pos{position:static;width:auto;height:auto;background:none;box-shadow:none;font-size:28px;color:#94A3B8;display:block}
  .agh-lida-item:nth-child(-n+3) .agh-lida__pos{color:var(--agh-azul)}
  .agh-lida__foto,.agh-lida-item:first-child .agh-lida__foto{width:68px;height:68px;aspect-ratio:auto;border-radius:12px;grid-row:auto}
  .agh-lida__info{gap:2px}
  .agh-lida__cat{font-size:12px}
  .agh-lida__titulo,.agh-lida-item:first-child .agh-lida__titulo{font-size:15px;line-height:1.3}
}
.agh .screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}

@media (prefers-reduced-motion:reduce){.agh-carrossel__trilho,.agh-pin,.agh-ponto{transition:none}}
