/* Zepovinho Toolkit — estilos do site. Cores podem ser mudadas com variáveis CSS. */
:root {
	--zepo-tk-laranja: var(--wp--preset--color--laranja, #EF4423);
	--zepo-tk-ciano: var(--wp--preset--color--ciano, #52C0D4);
	--zepo-tk-escuro: var(--wp--preset--color--escuro, #181919);
	--zepo-tk-claro: var(--wp--preset--color--claro, #F5F5F5);
	--zepo-tk-raio: 10px;
}

/* ---------- Caixa de autor ---------- */
.zepo-autor {
	margin: 2rem 0;
	border-radius: var(--zepo-tk-raio);
	overflow: hidden;
}
.zepo-autor__titulo {
	margin: 0;
	padding: .55rem 1.25rem;
	font-size: .8rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}
.zepo-autor__corpo {
	display: flex;
	gap: 1.25rem;
	align-items: flex-start;
	padding: 1.25rem;
}
.zepo-autor__foto { flex-shrink: 0; line-height: 0; }
.zepo-autor__foto img {
	width: 112px;
	height: 112px;
	border-radius: 50%;
	object-fit: cover;
	border: 4px solid #fff;
	box-shadow: 0 0 0 3px var(--zepo-tk-ciano);
}
.zepo-autor__info { flex: 1; min-width: 0; }
.zepo-autor__nome { margin: 0 0 .15rem; font-size: 1.3rem; line-height: 1.25; }
.zepo-autor__nome a { color: inherit; text-decoration: none; }
.zepo-autor__nome a:hover { color: var(--zepo-tk-laranja); }
.zepo-autor__cargo { margin: 0 0 .5rem; font-size: .85rem; font-weight: 700; color: var(--zepo-tk-laranja); }
.zepo-autor__bio { font-size: .95rem; }
.zepo-autor__bio p { margin: 0 0 .6rem; }
.zepo-autor__rodape { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; margin-top: .5rem; }
.zepo-autor__todos { font-weight: 700; font-size: .9rem; text-decoration: none; }
.zepo-autor__todos::after { content: " →"; }
.zepo-autor__redes { display: flex; flex-wrap: wrap; gap: .4rem; }
.zepo-autor__rede {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--zepo-tk-escuro);
	color: #fff !important;
	transition: transform .15s ease;
}
.zepo-autor__rede:hover { transform: translateY(-2px) scale(1.06); }
.zepo-autor__rede svg { width: 17px; height: 17px; fill: currentColor; }
.zepo-autor__rede.zepo-rede-facebook { background: #1877F2; }
.zepo-autor__rede.zepo-rede-instagram { background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF); }
.zepo-autor__rede.zepo-rede-youtube { background: #FF0000; }
.zepo-autor__rede.zepo-rede-x { background: #111; }
.zepo-autor__rede.zepo-rede-tiktok { background: #111; box-shadow: -2px 0 0 #25F4EE, 2px 0 0 #FE2C55; }
.zepo-autor__rede.zepo-rede-linkedin { background: #0A66C2; }
.zepo-autor__rede.zepo-rede-telegram { background: #229ED9; }
.zepo-autor__rede.zepo-rede-whatsapp { background: #25D366; }
.zepo-autor__rede.zepo-rede-link { background: var(--zepo-tk-ciano); }
.zepo-autor__artigos { padding: 0 1.25rem 1.25rem; }
.zepo-autor__artigos-titulo { margin: 0 0 .4rem; font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; }
.zepo-autor__artigos ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .35rem; }
.zepo-autor__artigos li { padding-left: 1rem; position: relative; font-size: .95rem; }
.zepo-autor__artigos li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--zepo-tk-laranja); }
.zepo-autor__artigos li:nth-child(2)::before { background: var(--zepo-tk-ciano); }
.zepo-autor__artigos li:nth-child(3)::before { background: #3DB46D; }
.zepo-autor__artigos li:nth-child(4)::before { background: #8E5BD8; }

/* estilos */
.zepo-autor--colorido { background: var(--zepo-tk-claro); border-top: 5px solid transparent; border-image: linear-gradient(90deg, #EF4423, #ECDC1A, #3DB46D, #52C0D4, #8E5BD8) 1; }
.zepo-autor--colorido .zepo-autor__titulo { background: var(--zepo-tk-laranja); color: #fff; display: inline-block; border-bottom-right-radius: var(--zepo-tk-raio); }
.zepo-autor--cartao { background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.1); }
.zepo-autor--cartao .zepo-autor__titulo { color: var(--zepo-tk-ciano); padding-bottom: 0; }
.zepo-autor--simples { border: 1px solid #ddd; }
.zepo-autor--simples .zepo-autor__titulo { border-bottom: 1px solid #ddd; color: #666; }
.zepo-autor--simples .zepo-autor__foto img { box-shadow: none; border: 0; }

@media (max-width: 600px) {
	.zepo-autor__corpo { flex-direction: column; align-items: center; text-align: center; }
	.zepo-autor__rodape { justify-content: center; }
}

/* ---------- Contador de redes sociais ---------- */
.zepo-redes__lista { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; grid-template-columns: repeat(var(--zepo-colunas, 3), minmax(0, 1fr)); }
.zepo-redes__item a { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: #fff; background: var(--zepo-rede); border-radius: var(--zepo-tk-raio); padding: .7rem .85rem; transition: transform .15s ease, filter .15s ease; height: 100%; box-sizing: border-box; }
.zepo-redes__item a:hover { transform: translateY(-2px); filter: brightness(1.08); color: #fff; }
.zepo-redes__icone { display: inline-flex; flex-shrink: 0; }
.zepo-redes__icone svg { width: 26px; height: 26px; fill: currentColor; }
.zepo-redes__texto { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.zepo-redes__numero { font-weight: 800; font-size: 1.15rem; }
.zepo-redes__rotulo { font-size: .72rem; opacity: .9; text-transform: uppercase; letter-spacing: .04em; }
.zepo-redes__total { margin: 0 0 .6rem; font-size: .95rem; }
.zepo-redes__total strong { font-size: 1.6rem; color: var(--zepo-tk-laranja); }

.zepo-redes--cartoes .zepo-redes__item a { flex-direction: column; text-align: center; padding: 1.1rem .5rem; }
.zepo-redes--cartoes .zepo-redes__texto { align-items: center; }
.zepo-redes--cartoes .zepo-redes__icone svg { width: 34px; height: 34px; }

.zepo-redes--lista .zepo-redes__lista { grid-template-columns: 1fr; }
.zepo-redes--lista .zepo-redes__item a { background: #fff; color: #333; border: 1px solid #e5e5e5; border-left: 6px solid var(--zepo-rede); }
.zepo-redes--lista .zepo-redes__icone { color: var(--zepo-rede); }
.zepo-redes--lista .zepo-redes__texto { flex-direction: row; gap: .4rem; align-items: baseline; }
.zepo-redes--lista .zepo-redes__item a:hover { color: #111; }

.zepo-redes--compacto .zepo-redes__lista { display: flex; flex-wrap: wrap; }
.zepo-redes--compacto .zepo-redes__item a { border-radius: 999px; padding: .45rem .8rem; }
.zepo-redes--compacto .zepo-redes__icone svg { width: 18px; height: 18px; }
.zepo-redes--compacto .zepo-redes__rotulo { display: none; }
.zepo-redes--compacto .zepo-redes__numero { font-size: .95rem; }

@media (max-width: 600px) {
	.zepo-redes__lista { grid-template-columns: repeat(min(var(--zepo-colunas, 3), 2), minmax(0, 1fr)); }
}

/* ---------- Botões de partilha ---------- */
.zepo-partilha { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; margin: 1.25rem 0; }
.zepo-partilha__titulo { font-weight: 700; font-size: .9rem; }
.zepo-partilha__total { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; padding-right: .75rem; border-right: 2px solid #e2e2e2; font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; color: #777; }
.zepo-partilha__total strong { font-size: 1.5rem; color: var(--zepo-tk-laranja); }
.zepo-partilha__lista { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 0; padding: 0; }
.zepo-partilha__botao { display: inline-flex; align-items: center; gap: .4rem; background: var(--zepo-rede); color: #fff !important; text-decoration: none !important; font-size: .85rem; font-weight: 700; padding: .45rem .9rem; border-radius: 999px; transition: transform .15s ease, filter .15s ease; }
.zepo-partilha__botao:hover { transform: translateY(-2px); filter: brightness(1.1); }
.zepo-partilha__botao svg { width: 17px; height: 17px; fill: currentColor; }
.zepo-partilha__n { background: rgba(255,255,255,.25); border-radius: 999px; padding: 0 .45rem; font-size: .75rem; }
.zepo-partilha__botao.zepo-copiado { background: #3DB46D; }

.zepo-partilha--redondos .zepo-partilha__botao,
.zepo-partilha--sem-nomes .zepo-partilha__botao { width: 40px; height: 40px; padding: 0; justify-content: center; border-radius: 50%; }
.zepo-partilha--redondos .zepo-partilha__nome,
.zepo-partilha--sem-nomes .zepo-partilha__nome,
.zepo-partilha--redondos .zepo-partilha__n,
.zepo-partilha--sem-nomes .zepo-partilha__n { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.zepo-partilha--quadrados .zepo-partilha__botao { border-radius: 6px; }
.zepo-partilha--barra .zepo-partilha__lista { flex: 1 1 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); }
.zepo-partilha--barra .zepo-partilha__botao { justify-content: center; border-radius: 4px; padding: .7rem; width: 100%; box-sizing: border-box; }

/* ---------- Formulário de avatar ---------- */
.zepo-avatar-form { background: var(--zepo-tk-claro); border-radius: var(--zepo-tk-raio); padding: 1.25rem; border-left: 5px solid #8E5BD8; }
.zepo-avatar-form__titulo { margin: 0 0 .75rem; font-weight: 700; }
.zepo-avatar-form__linha { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.zepo-avatar-form__linha img { border-radius: 50%; object-fit: cover; }
.zepo-avatar-form form { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.zepo-avatar-form__remover { background: none; border: 0; color: #D73828; cursor: pointer; text-decoration: underline; }
.zepo-aviso { padding: .5rem .8rem; border-radius: 6px; }
.zepo-aviso--ok { background: #E5F6EC; color: #1f6b3e; }
.zepo-aviso--erro { background: #F8E4E2; color: #BB5A4D; }

.zepo-redes-vazio { padding: .75rem 1rem; background: #F7F3DE; border-left: 4px solid #E1CA59; color: #837639; font-size: .9rem; }

/* ---------- Texto e ícones sempre brancos nos botões coloridos (v1.0.2) ----------
   Evita que estilos do tema/outros plugins ponham texto escuro sobre o botão preto do X. */
.zepo-redes:not(.zepo-redes--lista) .zepo-redes__item a,
.zepo-redes:not(.zepo-redes--lista) .zepo-redes__item a:hover,
.zepo-redes:not(.zepo-redes--lista) .zepo-redes__item a:focus,
.zepo-redes:not(.zepo-redes--lista) .zepo-redes__item a *,
.zepo-partilha__botao,
.zepo-partilha__botao:hover,
.zepo-partilha__botao:focus,
.zepo-partilha__botao *,
.zepo-autor__rede,
.zepo-autor__rede:hover,
.zepo-autor__rede * {
	color: #fff !important;
}
.zepo-redes:not(.zepo-redes--lista) .zepo-redes__item a svg,
.zepo-redes:not(.zepo-redes--lista) .zepo-redes__item a svg *,
.zepo-partilha__botao svg,
.zepo-partilha__botao svg *,
.zepo-autor__rede svg,
.zepo-autor__rede svg * {
	fill: #fff !important;
}
/* O X é preto: contorno subtil para se distinguir em fundos escuros. */
a.zepo-rede-x, .zepo-redes:not(.zepo-redes--lista) .zepo-redes__item.zepo-rede-x a { box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
