/* AN Achados — página completa ([achados_pagina]) */
.an-achp {
	--ach-tinta: var(--an-tinta, #111827);
	--ach-media: var(--an-tinta-media, #374151);
	--ach-cinza: var(--an-cinza, #6B7280);
	--ach-papel: var(--an-papel, #fff);
	--ach-nuvem: var(--an-nuvem, #F5F7FA);
	--ach-linha: var(--an-hairline, #E5E7EB);
	--ach-azul: var(--an-azul, #0B5FFF);
	--ach-azul-esc: var(--an-azul-escuro, #0847C4);
	--ach-raio: var(--an-radius, 10px);
	max-width: var(--an-max, 1180px); margin: 0 auto; padding: 24px 16px 48px;
	font-family: var(--an-corpo, system-ui, sans-serif); color: var(--ach-tinta);
}
.an-achp * { box-sizing: border-box; }
.an-achp .an-ach-vitrine, .an-achp .an-ach-bloco { font-family: inherit; }

/* 1. abertura */
.an-achp-hero {
	position: relative; overflow: hidden; padding: 40px 36px 28px; margin-bottom: 22px;
	border-radius: 16px; color: #fff;
	background:
		radial-gradient(600px 260px at 92% -20%, rgba(250, 204, 21, .35), transparent 70%),
		radial-gradient(500px 300px at -10% 120%, rgba(76, 141, 255, .45), transparent 70%),
		linear-gradient(135deg, #0B1423 0%, #10275C 55%, #0B5FFF 130%);
}
.an-achp-hero__rot { display: inline-block; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); font: 700 11px/1 var(--an-corpo, inherit); letter-spacing: .08em; text-transform: uppercase; }
.an-achp-hero__tit { margin: 14px 0 10px !important; color: #fff !important; font: 900 clamp(30px, 4.4vw, 48px)/1.05 var(--an-display, inherit) !important; letter-spacing: -.02em; }
.an-achp-hero__txt { max-width: 640px; margin: 0 0 18px !important; color: #D6DEEC !important; font-size: 17px !important; line-height: 1.55 !important; }
.an-achp-hero__nums { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0 0 20px !important; padding: 0 !important; list-style: none !important; color: #C7D2E4; font-size: 14px; }
.an-achp-hero__nums li { margin: 0 !important; }
.an-achp-hero__nums b { color: #FACC15; font: 900 22px var(--an-display, inherit); margin-right: 4px; }
.an-achp-hero__busca { display: flex; max-width: 620px; padding: 6px; border-radius: 12px; background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.an-achp-hero__busca input { flex: 1; min-width: 0; height: 46px; padding: 0 14px; border: 0 !important; background: transparent !important; color: #111827 !important; font: 16px var(--an-corpo, inherit); outline: none; }
.an-achp-hero__busca button { height: 46px; padding: 0 22px; border: 0; border-radius: 8px; background: var(--ach-azul); color: #fff; font: 800 15px var(--an-corpo, inherit); cursor: pointer; }
.an-achp-hero__busca button:hover { background: var(--ach-azul-esc); }
.an-achp-hero__busca:focus-within { outline: 3px solid #FACC15; outline-offset: 2px; }
.an-achp-hero .an-ach-aviso { margin: 16px 0 0 !important; color: #AEB9CC !important; max-width: 720px; }

/* 2. atalhos das categorias */
.an-achp-cats ul { display: flex; gap: 10px; margin: 0 0 30px !important; padding: 2px 2px 8px !important; list-style: none !important; overflow-x: auto; scroll-snap-type: x proximity; }
.an-achp-cats li { flex: 0 0 auto; margin: 0 !important; scroll-snap-align: start; }
.an-achp-cats a {
	display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px;
	border: 1px solid var(--ach-linha); border-radius: 12px; background: var(--ach-papel);
	color: var(--ach-tinta); text-decoration: none; transition: border-color .15s, transform .15s, box-shadow .15s;
}
.an-achp-cats a:hover { border-color: var(--ach-azul); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(17,24,39,.08); }
.an-achp-cats__ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--ach-nuvem); font-size: 22px; }
.an-achp-cats__nome { font: 700 14px var(--an-display, inherit); white-space: nowrap; }
.an-achp-cats__n { min-width: 24px; padding: 2px 7px; border-radius: 999px; background: var(--ach-nuvem); color: var(--ach-cinza); font: 700 12px var(--an-corpo, inherit); text-align: center; }

/* títulos das seções */
.an-achp-sec { margin: 0 0 40px; scroll-margin-top: 90px; }
.an-achp-sec__topo { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--ach-linha); scroll-margin-top: 90px; }
.an-achp-sec__tit { display: flex; align-items: center; gap: 10px; margin: 0 !important; font: 800 24px/1.2 var(--an-display, inherit) !important; color: var(--ach-tinta) !important; }
.an-achp-sec__sub { flex: 1 1 260px; margin: 0 !important; color: var(--ach-cinza) !important; font-size: 14px !important; }
.an-achp-sec__mais { margin-left: auto; padding: 0; border: 0; background: none; color: var(--ach-azul); font: 700 14px var(--an-corpo, inherit); cursor: pointer; }
.an-achp-sec__mais:hover { text-decoration: underline; }
.an-achp-conta { margin-left: auto; color: var(--ach-cinza); font-size: 14px; }

/* 3. carrossel: regras no achados.css */
.an-achp-sec--dest { padding: 22px; border-radius: 16px; background: linear-gradient(180deg, color-mix(in srgb, #FACC15 14%, var(--ach-papel)), var(--ach-papel) 70%); border: 1px solid color-mix(in srgb, #FACC15 40%, var(--ach-linha)); }
.an-achp-sec--dest .an-achp-sec__topo { border-bottom-color: color-mix(in srgb, #FACC15 40%, var(--ach-linha)); }

/* 4 e 5. ranking e melhores avaliados */
.an-achp-duas { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; margin-bottom: 40px; }
.an-achp-duas .an-achp-sec { margin: 0; padding: 18px; border: 1px solid var(--ach-linha); border-radius: 14px; background: var(--ach-papel); }
.an-achp-rank { margin: 0 !important; padding: 0 !important; list-style: none !important; }
.an-achp-rank__item { display: flex; align-items: center; gap: 12px; padding: 10px 0 !important; margin: 0 !important; border-bottom: 1px solid var(--ach-linha); }
.an-achp-rank__item:last-child { border-bottom: 0; }
.an-achp-rank__pos { flex: 0 0 30px; font: 900 26px/1 var(--an-display, inherit); color: var(--ach-azul); text-align: center; }
.an-achp-rank__item:nth-child(1) .an-achp-rank__pos { color: #E0A800; }
.an-achp-rank__foto { flex: 0 0 56px; height: 56px; padding: 4px; border-radius: 8px; background: #fff; border: 1px solid var(--ach-linha); }
.an-achp-rank__foto .an-ach-img { width: 100%; height: 100%; object-fit: contain; font-size: 22px; }
.an-achp-rank__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.an-achp-rank__txt strong { font: 700 14px/1.3 var(--an-display, inherit); color: var(--ach-tinta); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.an-achp-rank__txt small { color: var(--ach-cinza); font-size: 12px; }
.an-ach-btn--mini { flex: 0 0 auto; padding: 8px 10px; font-size: 12.5px; }

/* 7. vitrine */
.an-achp-sec--vit { padding-top: 6px; }
.an-achp-limpa { padding: 0; border: 0; background: none; color: var(--ach-azul); font: inherit; font-weight: 700; cursor: pointer; text-decoration: underline; }

/* 8. como escolho */
.an-achp-metodo ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; margin: 0 !important; padding: 0 !important; list-style: none !important; counter-reset: met; }
.an-achp-metodo li {
	position: relative; margin: 0 !important; padding: 16px 16px 16px 54px !important;
	border: 1px solid var(--ach-linha); border-radius: 12px; background: var(--ach-nuvem);
	color: var(--ach-media); font-size: 15px; line-height: 1.5; counter-increment: met;
}
.an-achp-metodo li::before {
	content: counter(met); position: absolute; left: 14px; top: 14px; width: 28px; height: 28px; border-radius: 50%;
	display: grid; place-items: center; background: var(--ach-azul); color: #fff; font: 800 14px var(--an-corpo, inherit);
}

/* 9. perguntas */
.an-achp-faq details { border: 1px solid var(--ach-linha); border-radius: 12px; background: var(--ach-papel); margin-bottom: 10px; }
.an-achp-faq summary {
	list-style: none; cursor: pointer; padding: 16px 48px 16px 18px; position: relative;
	font: 700 16px/1.35 var(--an-display, inherit); color: var(--ach-tinta);
}
.an-achp-faq summary::-webkit-details-marker { display: none; }
.an-achp-faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--ach-azul); }
.an-achp-faq details[open] summary::after { content: "−"; }
.an-achp-faq summary:focus-visible { outline: 2px solid var(--ach-azul); outline-offset: -2px; border-radius: 12px; }
.an-achp-faq details p { margin: 0 !important; padding: 0 18px 16px !important; color: var(--ach-media) !important; font-size: 15px !important; line-height: 1.6 !important; }

/* destaque passageiro ao pular para uma seção */
.an-achp .is-piscando { animation: an-achp-pisca 1.2s ease-out; }
@keyframes an-achp-pisca { 0% { box-shadow: 0 0 0 0 rgba(11,95,255,.5); } 100% { box-shadow: 0 0 0 14px rgba(11,95,255,0); } }

@media (max-width: 640px) {
	.an-achp { padding: 14px 12px 36px; }
	.an-achp-hero { padding: 26px 18px 20px; border-radius: 12px; }
	.an-achp-hero__txt { font-size: 15px !important; }
	.an-achp-hero__busca button { padding: 0 14px; }
	.an-achp-sec__tit { font-size: 20px !important; }
	.an-achp-sec--dest { padding: 14px; }
	.an-achp-duas { grid-template-columns: 1fr; }
	.an-achp-duas .an-achp-sec { padding: 12px; }
}
@media (prefers-reduced-motion: reduce) {
	.an-achp-cats a, .an-achp-cats a:hover { transition: none; transform: none; }
	.an-achp .is-piscando { animation: none; }
}

/* seções de categoria: sempre 4 por linha (2 no celular), sem coluna vazia */
.an-achp-sec--cat .an-ach-grade { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .an-achp-sec--cat .an-ach-grade { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .an-achp-sec--cat .an-ach-grade { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ao pular para uma categoria vindo da home, o título não fica sob o cabeçalho fixo */
.an-achp-sec__topo, .an-achp-sec { scroll-margin-top: 96px; }
