/* ACOMAC Core — componentes das listagens.
   Usa os tokens do tema (--acomac-*) e tem valores de reserva. */

.acomac-grade { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.acomac-grade--cards { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.acomac-grade--eventos { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.acomac-grade--beneficios { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); align-items: start; }
.acomac-grade--lojas { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.acomac-grade--parceiros { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
.acomac-grade--destaques { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.acomac-card {
	background: var(--acomac-branco, #fff);
	border: 1px solid var(--acomac-borda, #E3E5EA);
	border-radius: 20px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	color: var(--acomac-texto, #2A3040);
}
.acomac-card__imagem img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.acomac-card__corpo { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1 1 auto; }
.acomac-card__topo { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; }
.acomac-card__parceiro { font-size: 14px; font-weight: 700; color: var(--acomac-texto-suave, #4A5263); }
.acomac-card__titulo { margin: 4px 0 0; font-size: 20px; line-height: 1.3; font-weight: 800; color: var(--acomac-tinta, #1B1F2A); }
.acomac-card__titulo a { color: inherit; text-decoration: none; }
.acomac-card__titulo a:hover { color: var(--acomac-azul, #002F84); text-decoration: underline; }
.acomac-card__texto { margin: 0; font-size: 16px; line-height: 1.55; }
.acomac-card__data, .acomac-card__razao { margin: 0; font-size: 14px; color: var(--acomac-texto-suave, #4A5263); }

.acomac-etiqueta {
	align-self: flex-start;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
	color: var(--acomac-azul, #002F84);
	background: var(--acomac-azul-claro, #EEF1F7);
	padding: 6px 12px;
	border-radius: 999px;
}

.acomac-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--acomac-azul, #002F84); text-decoration: none; padding: 8px 0; }
.acomac-link:hover { text-decoration: underline; }

.acomac-vazio {
	background: var(--acomac-branco, #fff);
	border: 2px dashed #C9CED8;
	border-radius: 20px;
	padding: 32px;
	text-align: center;
	color: var(--acomac-texto, #2A3040);
}
.acomac-vazio p { margin: 0 0 12px; }
.acomac-vazio p:last-child { margin-bottom: 0; }

/* Eventos */
.acomac-card--evento { flex-direction: row; align-items: flex-start; gap: 0; }
.acomac-data { flex-shrink: 0; width: 76px; margin: 24px 0 24px 24px; border-radius: 16px; background: var(--acomac-azul, #002F84); color: #fff; display: flex; flex-direction: column; align-items: center; padding: 12px 0; }
.acomac-data__dia { font-size: 30px; font-weight: 900; line-height: 1; }
.acomac-data__mes { font-size: 14px; font-weight: 700; color: var(--acomac-laranja, #FF8000); text-transform: uppercase; }
.acomac-evento-info { background: var(--acomac-superficie, #F3F4F7); border-radius: 20px; padding: 24px; margin-bottom: 32px; }
.acomac-evento-info dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin: 0 0 12px; }
.acomac-evento-info dt { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--acomac-azul, #002F84); }
.acomac-evento-info dd { margin: 0; }

/* Filtros e alternância */
.acomac-filtros { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }
.acomac-filtro, .acomac-alternar a {
	display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
	font-size: 15px; font-weight: 700; text-decoration: none; border-radius: 999px;
	color: var(--acomac-azul, #002F84); background: #fff; border: 2px solid var(--acomac-azul, #002F84);
}
.acomac-filtro[aria-current], .acomac-alternar a[aria-current] { background: var(--acomac-azul, #002F84); color: #fff; }
.acomac-alternar { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; background: var(--acomac-azul-claro, #EEF1F7); border-radius: 999px; margin-bottom: 12px; }
.acomac-alternar a { border-color: transparent; background: transparent; }

/* Benefícios */
.acomac-grupo { margin-top: 40px; }
.acomac-grupo:first-of-type { margin-top: 24px; }
.acomac-grupo .acomac-sobretitulo { margin: 0 0 8px; font-size: 15px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--acomac-laranja-texto, #B35600); }
.acomac-grupo__titulo { margin: 0 0 24px; font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); line-height: 1.15; font-weight: 800; color: var(--acomac-azul, #002F84); }
.acomac-destaque { margin: 0; display: flex; flex-direction: column; gap: 2px; }
.acomac-destaque__numero { font-size: 44px; font-weight: 900; line-height: 1.05; color: var(--acomac-azul, #002F84); }
.acomac-destaque__rotulo { font-size: 17px; font-weight: 700; color: var(--acomac-tinta, #1B1F2A); }
.acomac-selos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.acomac-selos li { font-size: 13px; font-weight: 700; color: #8A4200; background: #FFF1E3; padding: 6px 10px; border-radius: 8px; }
.acomac-detalhes { border-top: 1px solid var(--acomac-borda, #E3E5EA); }
.acomac-detalhes summary {
	list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
	padding: 18px 24px; font-weight: 800; color: var(--acomac-azul, #002F84);
}
.acomac-detalhes summary::-webkit-details-marker { display: none; }
.acomac-detalhes summary::after { content: ""; width: 9px; height: 9px; border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: translateY(-3px) rotate(45deg); transition: transform .15s ease; }
.acomac-detalhes[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.acomac-detalhes__corpo { padding: 0 24px 24px; display: flex; flex-direction: column; gap: 16px; font-size: 15px; line-height: 1.55; }
.acomac-detalhes__corpo ul { margin: 0; padding-left: 20px; }
.acomac-aderir { background: var(--acomac-superficie, #F3F4F7); border-radius: 14px; padding: 16px 18px; }
.acomac-aderir strong { display: block; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--acomac-azul, #002F84); }
.acomac-aderir p { margin: 4px 0 0; }
.acomac-nota { margin: 0; font-size: 13px; color: var(--acomac-texto-suave, #4A5263); }

/* Tabelas */
.acomac-tabela { overflow-x: auto; border: 1px solid var(--acomac-borda, #E3E5EA); border-radius: 14px; }
.acomac-tabela table { width: 100%; min-width: 300px; border-collapse: collapse; font-size: 14px; margin: 0; }
.acomac-tabela thead th { background: var(--acomac-azul, #002F84); color: #fff; font-weight: 700; text-align: left; padding: 10px 12px; border: 0; }
.acomac-tabela tbody th, .acomac-tabela td { padding: 10px 12px; text-align: left; border: 0; border-top: 1px solid var(--acomac-borda, #E3E5EA); white-space: nowrap; }
.acomac-tabela tbody th { font-weight: 700; color: var(--acomac-tinta, #1B1F2A); white-space: normal; }
.acomac-tabela--grande { border-radius: 20px; }
.acomac-tabela--grande table { min-width: 620px; font-size: 16px; }
.acomac-tabela--grande thead th, .acomac-tabela--grande tbody th, .acomac-tabela--grande td { padding: 16px 20px; }
.acomac-tabela--grande tbody th span { display: block; font-size: 13px; font-weight: 600; color: var(--acomac-texto-suave, #4A5263); }
.acomac-tabela td.is-menor { font-weight: 800; }
.acomac-menor { font-size: 12px; font-weight: 800; color: #8A4200; background: #FFF1E3; padding: 3px 8px; border-radius: 6px; margin-left: 6px; }

/* Busca */
.acomac-busca { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.acomac-busca label { font-size: 15px; font-weight: 700; color: var(--acomac-tinta, #1B1F2A); }
.acomac-busca input[type="search"], .acomac-busca select {
	height: 52px; padding: 0 16px; font: inherit; font-size: 16px; color: var(--acomac-tinta, #1B1F2A);
	border: 2px solid #C9CED8; border-radius: 14px; background: #fff; box-sizing: border-box; width: 100%;
}
.acomac-busca input[type="search"]:focus, .acomac-busca select:focus { border-color: var(--acomac-azul, #002F84); outline: none; box-shadow: 0 0 0 3px rgba(0, 47, 132, .2); }
.acomac-busca__linha { display: flex; gap: 8px; }
.acomac-busca__linha input { flex: 1 1 auto; min-width: 0; }
.acomac-busca--lojas { flex-direction: row; flex-wrap: wrap; align-items: flex-end; gap: 16px; background: #fff; border-radius: 20px; padding: 24px; }
.acomac-busca__campo { display: flex; flex-direction: column; gap: 8px; flex: 1 1 260px; min-width: 0; }
.acomac-busca__campo:first-child { flex: 2 1 340px; }
.acomac-busca__acoes { display: flex; gap: 8px; flex-wrap: wrap; }
.acomac-resultado { margin: 8px 0 16px; color: var(--acomac-azul, #002F84); }

/* Lojas */
.acomac-contatos { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 1.45; }
.acomac-contatos li { padding-left: 26px; position: relative; }
.acomac-contatos li::before { content: ""; position: absolute; left: 0; top: 4px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--acomac-laranja-texto, #B35600); box-sizing: border-box; }
.acomac-contatos__endereco::before { border-radius: 50% 50% 50% 0 !important; transform: rotate(-45deg); }
.acomac-contatos a { color: var(--acomac-azul, #002F84); font-weight: 700; }
.acomac-btn--pequeno { min-height: 42px !important; padding: 8px 16px !important; font-size: 15px !important; align-self: flex-start; margin-top: auto; }
.acomac-paginacao { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 28px; }
.acomac-paginacao a { min-width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid #C9CED8; font-weight: 700; color: var(--acomac-azul, #002F84); text-decoration: none; background: #fff; }
.acomac-paginacao a[aria-current] { background: var(--acomac-azul, #002F84); color: #fff; border-color: var(--acomac-azul, #002F84); }

/* Parceiros */
.acomac-parceiro { height: 96px; border: 1px solid var(--acomac-borda, #E3E5EA); border-radius: 16px; display: flex; align-items: center; justify-content: center; padding: 12px; text-align: center; font-weight: 800; color: var(--acomac-tinta, #1B1F2A); background: #fff; }
.acomac-parceiro a { color: inherit; text-decoration: none; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.acomac-parceiro img { max-height: 64px; width: auto; object-fit: contain; }

/* Destaques do Clube (fundo azul) */
.acomac-destaque-card { border: 1px solid #3A5BA0; border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 10px; color: #fff; }
.acomac-destaque-card__cat { font-size: 15px; font-weight: 700; color: #DDE3F0; }
.acomac-destaque-card__numero { font-size: 46px; font-weight: 900; line-height: 1; color: var(--acomac-laranja, #FF8000); }
.acomac-destaque-card__rotulo { font-size: 16px; line-height: 1.5; color: #fff; }

/* Números da página inicial */
.acomac-numero { margin: 0 !important; font-size: 40px; font-weight: 900; line-height: 1.05; color: var(--acomac-laranja, #FF8000); }
.acomac-numero-legenda { margin: 4px 0 0 !important; color: #DDE3F0; }

/* Herói: texto com largura de leitura, sem passar por cima do símbolo */
.acomac-el-hero > .e-con-inner > .elementor-element { max-width: 760px !important; }

/* Degradê da marca: estica na seção inteira para mostrar azul e laranja */
.acomac-el-degrade { background-size: 100% 100% !important; }

/* Herói: no celular, o símbolo 3D sai do fundo para não cobrir o texto */
@media (max-width: 767px) {
	.acomac-el-hero { background-image: none !important; }
	.acomac-card--evento { flex-direction: column; }
	.acomac-data { margin: 24px 0 0 24px; }
}

/* Botões do Elementor: foco visível */
.acomac-el-botao .elementor-button:focus-visible { outline: 3px solid var(--acomac-laranja, #FF8000); outline-offset: 3px; }

/* Botões do design system usados dentro das listagens (tema pode não estar ativo) */
.acomac-associados .acomac-btn, .acomac-busca .acomac-btn, .acomac-vazio .acomac-btn, .acomac-evento-info .acomac-btn {
	display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 22px;
	border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; border: 2px solid var(--acomac-azul, #002F84); cursor: pointer;
}
.acomac-btn--primary { background: var(--acomac-azul, #002F84); color: #fff !important; }
.acomac-btn--contorno { background: #fff; color: var(--acomac-azul, #002F84) !important; }

.acomac-sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
