/* Accroche façon prompt de terminal, utilisée en haut de chaque fiche compétence */
.is-style-terminal-prompt {
	display: inline-block;
	font-family: var(--wp--preset--font-family--mono);
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--custom--terminal--text, #E8E6DF);
	background: var(--wp--custom--terminal--background, #2A2521);
	padding: 0.45em 1.1em;
	border-radius: 999px;
	letter-spacing: 0.01em;
}
.is-style-terminal-prompt::after {
	content: "";
	display: inline-block;
	width: 0.55em;
	height: 1.1em;
	margin-left: 0.35em;
	background: var(--wp--custom--terminal--prompt, #E8470A);
	vertical-align: text-bottom;
	animation: competences-pro-cursor 1.1s steps(1) infinite;
}
@keyframes competences-pro-cursor {
	50% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
	.is-style-terminal-prompt::after { animation: none; }
}

/* Carte utilisée pour la grille "points clés" */
.is-style-card {
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 16px;
	padding: 1.75rem;
	height: 100%;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.is-style-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 28px -12px rgba(26, 26, 26, 0.18);
	border-color: var(--wp--preset--color--primary);
}
.is-style-card h3 {
	margin-top: 0;
	font-size: var(--wp--preset--font-size--large);
}
@media (prefers-reduced-motion: reduce) {
	.is-style-card { transition: none; }
	.is-style-card:hover { transform: none; }
}

/* Bloc tarif */
.competence-tarif {
	border-left: 3px solid var(--wp--preset--color--primary);
	padding-left: 1.2rem;
}
.competence-tarif .prix {
	font-family: var(--wp--preset--font-family--mono);
	font-size: var(--wp--preset--font-size--x-large);
	color: var(--wp--preset--color--primary);
}
.competence-tarif .prix.sur-devis {
	font-size: var(--wp--preset--font-size--large);
	color: var(--wp--preset--color--muted);
}

/* Grille d'aperçu des compétences (page archive) */
.wp-block-query .wp-block-post {
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 16px;
	padding: 1.75rem;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.wp-block-query .wp-block-post:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 28px -12px rgba(26, 26, 26, 0.18);
	border-color: var(--wp--preset--color--primary);
}
.wp-block-query .wp-block-post img {
	border-radius: 12px;
}

/* Bouton : légère invitation au clic */
.wp-block-button__link {
	transition: transform 0.2s ease, background-color 0.2s ease;
}
.wp-block-button__link:hover {
	transform: scale(1.035);
}
@media (prefers-reduced-motion: reduce) {
	.wp-block-query .wp-block-post,
	.wp-block-button__link { transition: none; }
	.wp-block-query .wp-block-post:hover,
	.wp-block-button__link:hover { transform: none; }
}

/* Trait ondulé "fait main" sous les grands titres — la touche humaine du design */
.wp-block-post-title, h1.wp-block-post-title, main > h1 {
	position: relative;
	display: inline-block;
	padding-bottom: 0.3em;
}
.wp-block-post-title::after, h1.wp-block-post-title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 4.5em;
	height: 10px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 90 10'%3E%3Cpath d='M2 7 C 14 1, 24 1, 34 6 S 56 12, 68 5 S 84 1, 88 5' stroke='%23E8470A' stroke-width='3' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-size: contain;
}

/* Bloc "à propos" humain : photo + mot personnel */
.competence-intro-humaine {
	display: flex;
	align-items: center;
	gap: 1.75rem;
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 20px;
	padding: 1.75rem 2rem;
}
.competence-intro-humaine img {
	border-radius: 999px;
	width: 88px;
	height: 88px;
	object-fit: cover;
	flex-shrink: 0;
}
@media (max-width: 600px) {
	.competence-intro-humaine { flex-direction: column; text-align: center; }
}
