/*
 * Blog — votreconstructeurmaison.fr
 * Charte reprise de l'accueil : dégradé #E8287D → #F26529, fond crème #F7F4EB,
 * titres Epilogue, texte Albert Sans, boutons noirs Roboto (rayon 10 px).
 */
:root {
	--vcm-pink: #E8287D;
	--vcm-orange: #F26529;
	--vcm-gradient: linear-gradient(90deg, var(--vcm-pink) 0%, var(--vcm-orange) 100%);
	--vcm-cream: #F7F4EB;
	--vcm-cream-dark: #EFE9DA;
	--vcm-ink: #1d1b1e;
	--vcm-text: #3b383d;
	--vcm-grey: #6e6870;
	--vcm-line: #e3ddcf;
	--vcm-radius: 16px;
	--vcm-title: "Epilogue", system-ui, sans-serif;
	--vcm-body: "Albert Sans", system-ui, sans-serif;
	--vcm-button: "Roboto", system-ui, sans-serif;
}

body.vcm-blog-page {
	margin: 0;
	background: var(--vcm-cream);
	color: var(--vcm-text);
	font-family: var(--vcm-body);
	font-size: 17px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}
.vcm-blog-page *, .vcm-blog-page *::before, .vcm-blog-page *::after { box-sizing: border-box; }
.vcm-blog-page img { max-width: 100%; height: auto; }
.vcm-blog-page a { color: inherit; }

.vcm-wrap { width: min(1140px, 100% - 32px); margin-inline: auto; }
.vcm-wrap--narrow { width: min(760px, 100% - 32px); }

.vcm-skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #000; color: #fff; padding: 8px 14px; border-radius: 8px; }
.vcm-skip:focus { left: 8px; }

/* ---------- Boutons, pastilles, méta ---------- */
.vcm-btn {
	display: inline-flex; align-items: center; justify-content: center;
	padding: 14px 22px; border-radius: 10px;
	font: 500 15px/1.2 var(--vcm-button); letter-spacing: .02em; text-transform: uppercase;
	text-decoration: none; transition: transform .15s ease, background-color .15s ease, color .15s ease;
}
.vcm-btn--dark { background: #000; color: #fff !important; border: 1px solid #000; }
.vcm-btn--dark:hover, .vcm-btn--dark:focus-visible { background: #fff; color: #000 !important; }

.vcm-pill {
	display: inline-block; padding: 4px 12px; border-radius: 999px;
	background: #fff; border: 1px solid var(--vcm-line); color: var(--vcm-ink);
	font: 600 13px/1.6 var(--vcm-body); text-decoration: none;
}
.vcm-pill:hover { border-color: var(--vcm-orange); color: var(--vcm-orange); }
.vcm-hero .vcm-pill { margin-top: 18px; }
.vcm-pill--light { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.55); color: #fff; }
.vcm-pill--light:hover { background: #fff; color: var(--vcm-pink); border-color: #fff; }

.vcm-meta { margin: 0; color: var(--vcm-grey); font-size: 14px; }

/* ---------- En-tête ---------- */
.vcm-header { background: #fff; border-bottom: 1px solid var(--vcm-line); }
.vcm-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.vcm-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font: 600 18px/1.2 var(--vcm-title); color: var(--vcm-ink) !important; }
.vcm-brand img { border-radius: 10px; }
.vcm-nav { display: flex; align-items: center; gap: 24px; }
.vcm-nav > a:not(.vcm-btn) { font: 600 16px/1 var(--vcm-title); text-decoration: none; padding: 8px 0; border-bottom: 2px solid transparent; }
.vcm-nav > a[aria-current="page"], .vcm-nav > a:not(.vcm-btn):hover { border-bottom-color: var(--vcm-orange); }

/* ---------- Bandeau titre (dégradé) ---------- */
.vcm-hero { background: var(--vcm-gradient); color: #fff; padding: 48px 0 56px; }
.vcm-hero h1 {
	margin: 14px 0 0; font: 500 clamp(32px, 4.4vw, 52px)/1.12 var(--vcm-title); color: #fff; letter-spacing: -.01em;
	text-wrap: balance;
}
.vcm-hero__intro { max-width: 760px; margin-top: 16px; font-size: 19px; line-height: 1.6; }
.vcm-hero__intro p { margin: 0 0 .6em; }
.vcm-hero .vcm-meta { color: rgba(255,255,255,.92); margin-top: 18px; }

.vcm-breadcrumb { font-size: 14px; color: rgba(255,255,255,.9); }
.vcm-breadcrumb a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.5); }
.vcm-breadcrumb a:hover { border-bottom-color: #fff; }
.vcm-breadcrumb .breadcrumb_last { opacity: .85; }

/* ---------- Liste d'articles ---------- */
.vcm-listing { padding: 40px 0 64px; }
.vcm-cats { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.vcm-cats a {
	padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--vcm-line);
	font: 600 15px/1.3 var(--vcm-body); text-decoration: none; color: var(--vcm-ink);
}
.vcm-cats a:hover { border-color: var(--vcm-orange); }
.vcm-cats a[aria-current="page"] { background: #000; border-color: #000; color: #fff; }

.vcm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 28px; }
.vcm-card {
	display: flex; flex-direction: column; background: #fff; border-radius: var(--vcm-radius); overflow: hidden;
	box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px rgba(60,40,20,.06); transition: transform .2s ease, box-shadow .2s ease;
}
.vcm-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--vcm-cream-dark); }
.vcm-card__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vcm-card__body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 24px; flex: 1; }
.vcm-card__body .vcm-pill { align-self: flex-start; }
.vcm-card__title { margin: 0; font: 600 21px/1.3 var(--vcm-title); color: var(--vcm-ink); text-wrap: balance; }
.vcm-card__title a { text-decoration: none; }
.vcm-card__excerpt { margin: 0; color: var(--vcm-text); font-size: 16px; line-height: 1.6; flex: 1; }

.vcm-pagination { margin-top: 44px; }
.vcm-pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.vcm-pagination .page-numbers {
	min-width: 44px; padding: 10px 14px; border-radius: 10px; background: #fff; border: 1px solid var(--vcm-line);
	text-align: center; text-decoration: none; font-weight: 600;
}
.vcm-pagination .page-numbers.current { background: #000; color: #fff; border-color: #000; }
.vcm-pagination .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.vcm-empty { font-size: 19px; text-align: center; padding: 40px 0; }

/* ---------- Article ---------- */
.vcm-article__header { padding-bottom: 120px; }
.vcm-article__image { margin: -96px auto 0; max-width: 960px; }
.vcm-article__image img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--vcm-radius); display: block; box-shadow: 0 16px 40px rgba(60,40,20,.15); }
.vcm-article__image figcaption { margin-top: 8px; font-size: 14px; color: var(--vcm-grey); text-align: center; }
.vcm-article__body { padding: 40px 0 56px; }

.vcm-toc { margin: 32px 0 36px; background: #fff; border: 1px solid var(--vcm-line); border-radius: var(--vcm-radius); }
.vcm-toc summary { cursor: pointer; padding: 16px 22px; font: 600 17px/1.3 var(--vcm-title); color: var(--vcm-ink); }
.vcm-toc ol { margin: 0; padding: 0 22px 18px 44px; }
.vcm-toc li { margin: 4px 0; }
.vcm-toc a { text-decoration: none; }
.vcm-toc a:hover { color: var(--vcm-orange); text-decoration: underline; }

/* Contenu rédigé dans l'éditeur */
.vcm-content > * + * { margin-top: 1.1em; }
.vcm-content p, .vcm-content li { color: var(--vcm-text); }
.vcm-content h2, .vcm-content h3, .vcm-content h4 { font-family: var(--vcm-title); color: var(--vcm-ink); line-height: 1.25; text-wrap: balance; scroll-margin-top: 24px; }
.vcm-content h2 { font-size: clamp(26px, 3vw, 32px); font-weight: 600; margin-top: 1.8em; }
.vcm-content h3 { font-size: 22px; font-weight: 600; margin-top: 1.5em; }
.vcm-content h4 { font-size: 18px; font-weight: 600; }
.vcm-content a { color: #c4471a; text-decoration: underline; text-underline-offset: 2px; }
.vcm-content a:hover { color: var(--vcm-pink); }
.vcm-content strong { color: var(--vcm-ink); }
.vcm-content ul, .vcm-content ol { padding-left: 1.4em; }
.vcm-content li + li { margin-top: .35em; }
.vcm-content ul li::marker { color: var(--vcm-orange); }
.vcm-content img { border-radius: 12px; }
.vcm-content figure { margin-inline: 0; }
.vcm-content figcaption { font-size: 14px; color: var(--vcm-grey); text-align: center; margin-top: 6px; }
.vcm-content blockquote {
	margin-inline: 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--vcm-orange);
	font: 500 20px/1.5 var(--vcm-title); color: var(--vcm-ink);
}
.vcm-content table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; font-size: 16px; }
.vcm-content th, .vcm-content td { padding: 12px 14px; border-bottom: 1px solid var(--vcm-line); text-align: left; }
.vcm-content th { background: var(--vcm-cream-dark); font-weight: 600; }
.vcm-content .wp-block-table { overflow-x: auto; }
.vcm-content hr { border: 0; border-top: 1px solid var(--vcm-line); margin: 2em 0; }
.vcm-content .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.vcm-content .wp-block-button__link {
	display: inline-block; padding: 14px 22px; border-radius: 10px; background: #000; color: #fff; text-decoration: none;
	font: 500 15px/1.2 var(--vcm-button); text-transform: uppercase; letter-spacing: .02em;
}
.vcm-content .wp-block-button__link:hover { background: var(--vcm-orange); color: #fff; }
.vcm-content .wp-block-embed iframe { width: 100%; border-radius: 12px; }

/* Encadré « À retenir » */
.vcm-content .is-style-a-retenir {
	position: relative; padding: 24px 26px 22px; margin-top: 2em; border-radius: var(--vcm-radius);
	background: #fff; border: 1px solid var(--vcm-line);
}
.vcm-content .is-style-a-retenir::before {
	content: ""; position: absolute; inset: 0 auto 0 0; width: 6px; border-radius: var(--vcm-radius) 0 0 var(--vcm-radius); background: linear-gradient(180deg, var(--vcm-pink), var(--vcm-orange));
}
.vcm-content .is-style-a-retenir > :first-child { margin-top: 0; }
.vcm-content .is-style-a-retenir h2, .vcm-content .is-style-a-retenir h3 { font-size: 22px; }

/* FAQ (bloc Yoast) */
.vcm-content .schema-faq { display: grid; gap: 12px; }
.vcm-content .schema-faq-section { background: #fff; border: 1px solid var(--vcm-line); border-radius: 12px; padding: 16px 20px; }
.vcm-content .schema-faq-question { display: block; font: 600 18px/1.4 var(--vcm-title); color: var(--vcm-ink); }
.vcm-content .schema-faq-answer { margin: 8px 0 0; }

/* ---------- Appel à l'action ---------- */
.vcm-cta { padding: 0 0 56px; }
.vcm-cta__inner {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px;
	padding: 32px 36px; border-radius: var(--vcm-radius); background: var(--vcm-gradient); color: #fff;
}
.vcm-cta__inner p { margin: 0; max-width: 620px; }
.vcm-cta__title { font: 500 clamp(24px, 3vw, 32px)/1.2 var(--vcm-title); margin-bottom: 6px !important; }
.vcm-cta .vcm-btn--dark:hover { border-color: #fff; }

/* ---------- À lire aussi ---------- */
.vcm-related { padding: 8px 0 64px; }
.vcm-related h2 { font: 600 28px/1.2 var(--vcm-title); color: var(--vcm-ink); margin: 0 0 24px; }

/* ---------- Pied de page ---------- */
.vcm-footer { border-top: 1px solid var(--vcm-line); padding: 32px 0; font-size: 15px; }
.vcm-footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.vcm-footer p { margin: 0; line-height: 1.4; }
.vcm-footer nav { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.vcm-footer nav a { text-decoration: none; }
.vcm-footer nav a:hover { text-decoration: underline; }

/* ---------- Accessibilité / mobile ---------- */
.vcm-blog-page a:focus-visible, .vcm-blog-page summary:focus-visible { outline: 3px solid var(--vcm-orange); outline-offset: 3px; border-radius: 4px; }

@media (max-width: 720px) {
	body.vcm-blog-page { font-size: 16.5px; }
	.vcm-header__inner { min-height: 64px; }
	.vcm-brand span { font-size: 15px; }
	.vcm-brand img { width: 34px; height: 34px; }
	.vcm-nav { gap: 14px; }
	.vcm-nav .vcm-btn { padding: 10px 12px; font-size: 12px; }
	.vcm-hero { padding: 32px 0 40px; }
	.vcm-hero__intro { font-size: 17px; }
	.vcm-article__header { padding-bottom: 72px; }
	.vcm-article__image { margin-top: -56px; width: calc(100% - 32px); }
	.vcm-cta__inner { padding: 26px 22px; }
	.vcm-cta .vcm-btn { width: 100%; }
}
@media (max-width: 420px) {
	.vcm-brand span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.vcm-btn { transition: none; }
}

/* Sommaire : liens sobres (pas le style des liens du texte) */
.vcm-content .vcm-toc a { color: var(--vcm-text); text-decoration: none; }
.vcm-content .vcm-toc a:hover { color: var(--vcm-orange); text-decoration: underline; }

/* =========================================================================
 * Article : largeur harmonisée avec le site (1140 px) + colonne latérale
 * ====================================================================== */
.vcm-article__header .vcm-wrap { max-width: 1140px; }
.vcm-article__header h1 { max-width: 900px; }
.vcm-article__image { max-width: 1140px; width: min(1140px, 100% - 32px); }

.vcm-article__body { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; }
.vcm-article__body .vcm-content { max-width: 780px; }
.vcm-article__aside { position: relative; height: 100%; }
.vcm-article__sticky { position: sticky; top: 24px; display: grid; gap: 20px; }

.vcm-toc--side { margin: 0; }
.vcm-toc--side summary { font-size: 15px; text-transform: uppercase; letter-spacing: .06em; color: var(--vcm-grey); }
.vcm-toc--side ol { padding: 0 20px 18px 38px; font-size: 15px; line-height: 1.45; }
.vcm-toc--side li { margin: 8px 0; }
.vcm-toc--side a { color: var(--vcm-text); text-decoration: none; }
.vcm-toc--side a:hover, .vcm-toc--side a.is-active { color: var(--vcm-orange); }
.vcm-toc--inline { display: none; }

.vcm-aside-cta { padding: 22px 22px 24px; border-radius: var(--vcm-radius); background: var(--vcm-gradient); color: #fff; }
.vcm-aside-cta p { margin: 0 0 14px; line-height: 1.5; font-size: 15.5px; }
.vcm-aside-cta__title { font: 600 20px/1.25 var(--vcm-title) !important; margin-bottom: 6px !important; }
.vcm-aside-cta .vcm-btn { width: 100%; font-size: 14px; padding: 13px 14px; }
.vcm-aside-cta .vcm-btn--dark:hover { border-color: #fff; }

/* Tablette / mobile : une seule colonne, sommaire dans le texte, pas de colonne latérale */
@media (max-width: 1024px) {
	.vcm-article__body { display: block; }
	.vcm-article__body .vcm-content { max-width: 780px; margin-inline: 0; }
	.vcm-article__aside { display: none; }
	.vcm-toc--inline { display: block; }
	.vcm-article__header h1 { max-width: none; }
}


/* =========================================================================
 * Cartes : animations fluides
 * - survol : la carte s'élève, la photo zoome lentement, le titre se souligne,
 *   la flèche se remplit du dégradé ; toute la carte est cliquable.
 * - apparition au défilement (cartes sous la ligne de flottaison uniquement, voir inc/blog.php)
 * ====================================================================== */
.vcm-card {
	--vcm-ease: cubic-bezier(.22, 1, .36, 1);
	position: relative;
	transition: transform .6s var(--vcm-ease), box-shadow .6s var(--vcm-ease);
}
.vcm-card__media { position: relative; }
.vcm-card__media::after { /* léger voile qui s'efface au survol */
	content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.18) 100%);
	opacity: 1; transition: opacity .6s var(--vcm-ease);
}
.vcm-card__img { transition: transform 1.1s var(--vcm-ease); transform-origin: 50% 60%; }

/* Lien du titre étendu à toute la carte */
.vcm-card__link { text-decoration: none; color: inherit; }
.vcm-card__link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.vcm-card .vcm-pill { position: relative; z-index: 2; } /* pastille de catégorie reste cliquable */

/* Soulignement progressif du titre */
.vcm-card__link span {
	background-image: linear-gradient(90deg, var(--vcm-pink), var(--vcm-orange));
	background-repeat: no-repeat; background-position: 0 100%; background-size: 0% 2px;
	padding-bottom: 2px; transition: background-size .6s var(--vcm-ease), color .3s ease;
}

/* Pied de carte : méta + « Lire l'article → » */
.vcm-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 2px; }
.vcm-card__foot .vcm-meta { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Flèche dans une pastille ronde : se remplit du dégradé au survol */
.vcm-card__more {
	flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
	border: 1px solid var(--vcm-line); color: var(--vcm-ink); background: #fff; overflow: hidden; position: relative;
	transition: border-color .45s var(--vcm-ease), color .45s var(--vcm-ease);
}
.vcm-card__more::before {
	content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--vcm-gradient);
	transform: scale(0); transition: transform .5s var(--vcm-ease);
}
.vcm-card__arrow { position: relative; display: block; width: 16px; height: 16px; transition: transform .45s var(--vcm-ease); }

@media (hover: hover) {
	.vcm-card:hover, .vcm-card:has(.vcm-card__link:focus-visible) {
		transform: translateY(-8px);
		box-shadow: 0 4px 8px rgba(0,0,0,.04), 0 24px 48px -8px rgba(80,40,20,.20);
	}
	.vcm-card:hover .vcm-card__img, .vcm-card:has(.vcm-card__link:focus-visible) .vcm-card__img { transform: scale(1.06); }
	.vcm-card:hover .vcm-card__media::after, .vcm-card:has(.vcm-card__link:focus-visible) .vcm-card__media::after { opacity: 0; }
	.vcm-card:hover .vcm-card__link span, .vcm-card:has(.vcm-card__link:focus-visible) .vcm-card__link span { background-size: 100% 2px; }
	.vcm-card:hover .vcm-card__more, .vcm-card:has(.vcm-card__link:focus-visible) .vcm-card__more { border-color: transparent; color: #fff; }
	.vcm-card:hover .vcm-card__more::before, .vcm-card:has(.vcm-card__link:focus-visible) .vcm-card__more::before { transform: scale(1); }
	.vcm-card:hover .vcm-card__arrow { transform: translateX(2px); }
}
.vcm-card:active { transform: translateY(-3px) scale(.995); transition-duration: .2s; }
.vcm-card:has(.vcm-card__link:focus-visible) { outline: 3px solid var(--vcm-orange); outline-offset: 3px; }
.vcm-card__link:focus-visible { outline: none; }

/* Apparition au défilement */
.vcm-card.vcm-reveal { opacity: 0; transform: translateY(28px); }
.vcm-card.vcm-reveal.is-visible {
	opacity: 1; transform: none;
	transition: opacity .8s var(--vcm-ease) var(--vcm-delay, 0s), transform .8s var(--vcm-ease) var(--vcm-delay, 0s), box-shadow .6s var(--vcm-ease);
}

@media (prefers-reduced-motion: reduce) {
	.vcm-card, .vcm-card__img, .vcm-card__media::after, .vcm-card__link span, .vcm-card__more, .vcm-card__more::before, .vcm-card__arrow { transition: none !important; }
	.vcm-card:hover, .vcm-card:has(.vcm-card__link:focus-visible), .vcm-card:active { transform: none; }
	.vcm-card:hover .vcm-card__img { transform: none; }
	.vcm-card.vcm-reveal { opacity: 1; transform: none; }
}

/* En-tête aussi utilisé hors du blog (pages légales Elementor Canvas) : box-sizing local */
.vcm-header, .vcm-header *, .vcm-header *::before, .vcm-header *::after { box-sizing: border-box; }
.vcm-header { font-family: var(--vcm-body); }
.vcm-header a { color: var(--vcm-ink); }

/* Pied de page aussi utilisé hors du blog (accueil, pages légales) */
.vcm-footer { background: var(--vcm-cream); color: var(--vcm-ink); font-family: var(--vcm-body); }
.vcm-footer, .vcm-footer * { box-sizing: border-box; }
.vcm-footer a { color: var(--vcm-ink); }

/* Titre H1 des pages légales (injecté sous l'en-tête) */
.vcm-page-title { padding-top: 56px; }
.vcm-page-title h1 {
	margin: 0; font: 600 clamp(34px, 4.6vw, 54px)/1.1 var(--vcm-title); color: var(--vcm-orange);
	letter-spacing: -.01em; text-wrap: balance;
}
.vcm-page-title h1::after {
	content: ""; display: block; width: 72px; height: 4px; margin-top: 18px; border-radius: 4px;
	background: linear-gradient(90deg, var(--vcm-pink), var(--vcm-orange));
}
@media (max-width: 720px) { .vcm-page-title { padding-top: 36px; } }

/* Très petits écrans : le logo ramène déjà à l'accueil → lien « Accueil » masqué pour éviter le débordement */
@media (max-width: 420px) {
	.vcm-nav__home { display: none; }
}

/* Bouton sobre (contour) — « Découvrir nos autres articles » sous « À lire aussi » */
.vcm-btn--outline { background: transparent; color: var(--vcm-ink) !important; border: 1px solid var(--vcm-ink); }
.vcm-btn--outline:hover, .vcm-btn--outline:focus-visible { background: var(--vcm-ink); color: #fff !important; }
.vcm-related__more { margin: 36px 0 0; text-align: center; }

/* Défilement doux vers les ancres de l'accueil (#qui-sommes-nous, #contact) */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
/* Petits écrans : le menu (Accueil · Qui sommes-nous · Blog + bouton) ne tient pas sur une ligne → on garde l'essentiel */
@media (max-width: 720px) {
	.vcm-nav__home, .vcm-nav__about { display: none; }
}

/* =========================================================================
 * Partage de l'article : pastilles rondes avec logos, couleur du réseau au survol
 * ====================================================================== */
.vcm-share { padding: 18px 20px 20px; border-radius: var(--vcm-radius); background: #fff; border: 1px solid var(--vcm-line); }
/* .vcm-share p : plus spécifique que « .elementor-kit-6 p { margin-block-end: 0 } » du kit Elementor */
.vcm-share p.vcm-share__title { margin: 0 0 20px; font: 600 13px/1.3 var(--vcm-body); color: var(--vcm-grey); text-transform: uppercase; letter-spacing: .08em; }
.vcm-share__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.vcm-share__list li { margin: 0; }
.vcm-share__btn {
	--vcm-brand: var(--vcm-ink);
	position: relative; display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border-radius: 50%;
	/* Au repos : logo dans la couleur du réseau, sur un fond teinté de cette couleur (≈ 10 %) */
	background: #f1eee8; border: 1px solid transparent; color: var(--vcm-brand) !important; cursor: pointer;
	background: color-mix(in srgb, var(--vcm-brand) 11%, #fff);
	text-decoration: none !important;
	transition: background-color .35s cubic-bezier(.22,1,.36,1), border-color .35s cubic-bezier(.22,1,.36,1),
		color .35s cubic-bezier(.22,1,.36,1), transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s cubic-bezier(.22,1,.36,1);
}
.vcm-share__btn svg { display: block; width: 20px; height: 20px; }
.vcm-share__btn--linkedin { --vcm-brand: #0A66C2; }
.vcm-share__btn--facebook { --vcm-brand: #1877F2; }
.vcm-share__btn--x        { --vcm-brand: #000000; }
.vcm-share__btn--x:not(:hover):not(:focus-visible) { background: #ececec; }
.vcm-share__btn--whatsapp { --vcm-brand: #25D366; }
.vcm-share__btn--email    { --vcm-brand: var(--vcm-orange); }
.vcm-share__btn--link     { --vcm-brand: var(--vcm-pink); }
.vcm-share__btn--native   { --vcm-brand: var(--vcm-ink); }
.vcm-share__btn:hover, .vcm-share__btn:focus-visible {
	background: var(--vcm-brand); border-color: var(--vcm-brand); color: #fff !important;
	transform: translateY(-3px); box-shadow: 0 8px 18px -6px var(--vcm-brand);
}
.vcm-share__btn:active { transform: translateY(-1px) scale(.96); }
/* Copier le lien : coche verte quand c'est fait */
.vcm-share__ico-check { display: none; }
.vcm-share__btn.is-copied { background: #1f9d55; border-color: #1f9d55; color: #fff !important; }
.vcm-share__btn.is-copied .vcm-share__ico-link { display: none; }
.vcm-share__btn.is-copied .vcm-share__ico-check { display: block; }
.vcm-share__status { margin: 10px 0 0; font-size: 14px; color: #1f9d55; font-weight: 600; }
.vcm-share__status:empty { display: none; }
.vcm-content .vcm-share--inline { display: none; margin-top: 2.2em; }
@media (max-width: 1024px) {
	.vcm-content .vcm-share--inline { display: block; }
}
@media (prefers-reduced-motion: reduce) { .vcm-share__btn { transition: none; } .vcm-share__btn:hover, .vcm-share__btn:active { transform: none; } }

/* Bouton d'appel à l'action principal en fin d'article (composition « vcm/cta-principal »)
 * Survol : le dégradé glisse (rose → orange) + léger soulèvement. Pas de passage dégradé → couleur unie
 * (non animable par le navigateur, d'où un changement brutal). */
.vcm-content .vcm-cta-principal { justify-content: center; margin-top: 2.4em; }
.vcm-content .vcm-cta-principal .wp-block-button__link {
	padding: 18px 32px; font-size: 16px; border-radius: 12px; color: #fff;
	background-image: linear-gradient(90deg, var(--vcm-pink) 0%, var(--vcm-orange) 50%, var(--vcm-pink) 100%);
	background-size: 200% 100%; background-position: 0% 0;
	box-shadow: 0 10px 24px -10px rgba(232, 40, 125, .55);
	transition: background-position .7s cubic-bezier(.22,1,.36,1), transform .45s cubic-bezier(.22,1,.36,1), box-shadow .45s cubic-bezier(.22,1,.36,1);
}
.vcm-content .vcm-cta-principal .wp-block-button__link:hover,
.vcm-content .vcm-cta-principal .wp-block-button__link:focus-visible {
	background-color: transparent; color: #fff;
	background-image: linear-gradient(90deg, var(--vcm-pink) 0%, var(--vcm-orange) 50%, var(--vcm-pink) 100%);
	background-size: 200% 100%; background-position: 100% 0; transform: translateY(-2px);
	box-shadow: 0 16px 30px -12px rgba(242, 101, 41, .65);
}
.vcm-content .vcm-cta-principal .wp-block-button__link:active { transform: translateY(0); transition-duration: .15s; }
@media (prefers-reduced-motion: reduce) { .vcm-content .vcm-cta-principal .wp-block-button__link { transition: none; } }
