/* ==========================================================================
   Articles du blog : même univers que l'accueil et les pages de vente (docs/11)
   ========================================================================== */
.vp { --bg: #120d1c; --s1: #1b1429; --s2: #261d3a; --line: #3a2e55; --ink: #f4f0fa; --muted: #b3a8c7; --violet: #9b7bff; --vs: #6d42f5; --head: #ffb23f; --green: #4fd18b;
	--j-bg: #f8f6fb; --j-line: #dcd3ea; --j-ink: #191224; --j-muted: #5c5170; --j-v: #5b2ee0; --j-soft: #e9e2fd; --ease: cubic-bezier(.16, 1, .3, 1);
	color: var(--ink); background: var(--bg); overflow-x: clip; font-family: "Bricolage Grotesque", "Inter", system-ui, sans-serif; }
.vp *, .vp *::before, .vp *::after { box-sizing: border-box; }
.vp a { color: inherit; }
.vp h1, .vp h2, .vp h3, .vp p { margin: 0; }
.vp-w { width: min(1200px, calc(100% - 32px)); margin: 0 auto; }
.vp-sec { padding: 110px 0 0; }
.vp-k { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 99px; font-size: 14px; font-weight: 600; color: var(--violet); }
.vp-k::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.vp h2 { font-size: clamp(34px, 4.4vw, 62px); line-height: .98; letter-spacing: -.04em; max-width: 17ch; margin-bottom: 18px; }
.vp-lead2 { color: var(--muted); font-size: 18px; line-height: 1.6; max-width: 60ch; }
.vp-btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 26px; border-radius: 12px; background: var(--vs); color: #fff !important; font-weight: 700; font-size: 16px; text-decoration: none; box-shadow: 0 14px 30px -14px rgba(109, 66, 245, .9); transition: background-color .2s, transform .3s var(--ease), box-shadow .3s; }
.vp-btn:hover { background: #7d56ff; transform: translateY(-2px); box-shadow: 0 20px 40px -16px rgba(109, 66, 245, 1); }
.vp-btn svg { width: 18px; height: 18px; transition: transform .3s var(--ease); } .vp-btn:hover svg { transform: translateX(4px); }
.vp-btn--ghost { background: transparent; border: 1px solid var(--line); box-shadow: none; } .vp-btn--ghost:hover { background: var(--s2); box-shadow: none; }
.vp-crumbs { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 34px; font-size: 14px; color: var(--muted); }
.vp-crumbs a { color: var(--muted); text-decoration: none; } .vp-crumbs a:hover { color: var(--ink); }
.vp-crumbs [aria-current] { color: var(--ink); }

/* ---------- Article ---------- */
.ar-head { max-width: 860px; padding: 30px 0 10px; }
.ar-cat { display: inline-block; margin-bottom: 16px; padding: 5px 12px; border-radius: 99px; background: rgba(155, 123, 255, .14); color: var(--violet); font-size: 13.5px; font-weight: 700; text-decoration: none; }
.ar-head h1 { font-size: clamp(34px, 4.6vw, 62px); line-height: 1.02; letter-spacing: -.04em; margin-bottom: 20px; }
.ar-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: 14.5px; color: var(--muted); }
.ar-meta img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.ar-meta a { color: var(--ink); font-weight: 700; text-decoration: none; }
.ar-meta b { color: var(--ink); font-weight: 600; }
.ar-chapo { max-width: 760px; margin: 22px 0 0; font-size: 20px; line-height: 1.6; color: #e6def4; }
.ar-cover { margin: 34px 0 0; border-radius: 22px; overflow: hidden; aspect-ratio: 16/8; background: var(--s1); border: 1px solid var(--line); }
.ar-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ar-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 64px; align-items: start; padding-top: 44px; }
.ar-body { max-width: 720px; font-size: 18.5px; line-height: 1.75; color: #e4ddf1; }
.ar-body > * + * { margin-top: 20px; }
.ar-body h2 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; letter-spacing: -.03em; color: var(--ink); margin-top: 54px; scroll-margin-top: 100px; }
.ar-body h2::before { content: ""; display: block; width: 34px; height: 4px; margin-bottom: 14px; border-radius: 99px; background: linear-gradient(90deg, var(--violet), var(--head)); }
.ar-body h3 { font-size: 22px; color: var(--ink); margin-top: 34px; }
.ar-body a { color: var(--violet); text-decoration: underline; text-decoration-color: rgba(155, 123, 255, .45); text-underline-offset: 3px; }
.ar-body ul, .ar-body ol { padding-left: 1.2em; } .ar-body li + li { margin-top: 6px; }
.ar-body img { max-width: 100%; height: auto; border-radius: 14px; }
.ar-body figure { margin: 26px 0; }
.ar-toc-m { padding: 16px 20px; border-radius: 16px; background: var(--s1); border: 1px solid var(--line); }
.ar-toc-m summary { cursor: pointer; font-weight: 700; }
.ar-toc-m ol { margin: 12px 0 0; }
.ar-toc-m a { color: var(--ink); text-decoration: none; }
.ar-inset { position: relative; padding: 22px 24px; border-radius: 18px; background: linear-gradient(135deg, rgba(109, 66, 245, .18), rgba(109, 66, 245, .05)); border: 1px solid rgba(155, 123, 255, .35); }
.ar-inset b { display: block; color: var(--ink); font-size: 18px; margin-bottom: 6px; }
.ar-inset p { margin: 0; font-size: 16.5px; } .ar-inset a { font-weight: 700; }
.ar-take { padding: 22px 24px; border-radius: 18px; background: var(--s1); border: 1px solid var(--line); }
.ar-take b { display: block; color: var(--head); text-transform: uppercase; letter-spacing: .07em; font-size: 12.5px; margin-bottom: 8px; }
.ar-terms { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.ar-terms a { display: grid; gap: 3px; padding: 14px 16px; border-radius: 14px; background: var(--s1); border: 1px solid var(--line); text-decoration: none !important; transition: border-color .3s, transform .4s var(--ease); }
.ar-terms a:hover { border-color: var(--violet); transform: translateY(-2px); }
.ar-terms b { color: var(--ink); font-size: 16px; } .ar-terms span { color: var(--muted); font-size: 14px; line-height: 1.4; }
.ar-cta { padding: 30px; border-radius: 24px; background: linear-gradient(135deg, #2a1f4d, #5b2ee0); }
.ar-cta h2 { margin: 0 0 10px !important; font-size: 28px !important; } .ar-cta h2::before { display: none !important; }
.ar-cta p { color: #ece6f8; margin: 0 0 18px; }
.ar-author { display: grid; grid-template-columns: 72px 1fr; gap: 18px; align-items: start; padding: 24px; border-radius: 20px; background: var(--s1); border: 1px solid var(--line); }
.ar-author img { width: 72px; height: 72px; border-radius: 18px; object-fit: cover; }
.ar-author b { color: var(--ink); font-size: 18px; } .ar-author p { margin: 6px 0 0; font-size: 16px; color: var(--muted); } .ar-author a { font-weight: 600; }
.ar-aside { position: sticky; top: 100px; display: grid; gap: 14px; }
.ar-aside nav, .ar-aside .ar-svc { padding: 20px; border-radius: 20px; background: var(--s1); border: 1px solid var(--line); }
.ar-aside p { margin: 0 0 12px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.ar-aside nav a { display: block; padding: 7px 12px; margin-left: -2px; border-left: 2px solid var(--line); color: var(--muted); font-size: 14.5px; line-height: 1.35; text-decoration: none; }
.ar-aside nav a.is-on, .ar-aside nav a:hover { color: var(--ink); border-color: var(--violet); }
.ar-svc b { display: block; font-size: 17px; margin-bottom: 6px; } .ar-svc span { color: var(--muted); font-size: 14.5px; line-height: 1.5; display: block; margin-bottom: 14px; }
.ar-svc .vp-btn { padding: 12px 16px; font-size: 14.5px; width: 100%; justify-content: center; }
.ar-next { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }

/* ---------- Cartes d'articles et blog ---------- */
.bl-start { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; }
.bl-card { display: grid; grid-template-rows: auto 1fr; border-radius: 22px; overflow: hidden; background: var(--s1); border: 1px solid var(--line); text-decoration: none; transition: border-color .3s, transform .5s var(--ease), box-shadow .4s; }
.bl-card:hover { border-color: var(--violet); transform: translateY(-5px); box-shadow: 0 30px 60px -34px rgba(109, 66, 245, .9); }
.bl-card__img { aspect-ratio: 16/9; overflow: hidden; background: var(--s2); }
.bl-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.bl-card:hover .bl-card__img img { transform: scale(1.05); }
.bl-card__txt { display: grid; gap: 8px; align-content: start; padding: 18px 20px 20px; }
.bl-card__txt small { color: var(--violet); font-weight: 700; font-size: 12.5px; }
.bl-card__txt b { font-size: 18px; line-height: 1.3; letter-spacing: -.01em; color: var(--ink); }
.bl-card__txt span { color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.bl-card__txt time { color: var(--muted); font-size: 13px; }
.bl-card--pin { background: linear-gradient(160deg, #2a1f4d, #1b1429); }
.bl-cats { display: flex; flex-wrap: wrap; gap: 8px; margin: 50px 0 22px; }
.bl-cats a { padding: 9px 16px; border-radius: 99px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14.5px; transition: background-color .25s, border-color .25s; }
.bl-cats a:hover { border-color: var(--violet); } .bl-cats a[aria-current] { background: var(--vs); border-color: var(--vs); }
.bl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.bl-pages { display: flex; gap: 8px; justify-content: center; margin-top: 40px; }
.bl-pages a, .bl-pages span { min-width: 44px; height: 44px; display: grid; place-items: center; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 700; }
.bl-pages [aria-current] { background: var(--vs); border-color: var(--vs); }


@media (max-width: 900px) {
	.ar-layout { grid-template-columns: minmax(0, 1fr); gap: 30px; }
	.ar-aside { position: static; order: 2; } .ar-aside nav { display: none; }
	.bl-grid, .ar-next { grid-template-columns: 1fr; }
}
@media (min-width: 901px) { .ar-toc-m { display: none; } }
.ar-body h2, .ar-body h3 { max-width: none; }

/* ---- Version WordPress ---- */
.ar-page { padding-bottom: 30px; }
.vp-crumbs { padding-top: 20px; }
.vp-crumbs > span { display: flex; flex-wrap: wrap; gap: 8px; }
.vp-crumbs .breadcrumb_last { color: var(--ink); }
.ar-meta time { color: var(--ink); font-weight: 600; }
.ar-cover { aspect-ratio: auto; max-height: 560px; }
.ar-cover img { max-height: 560px; }
/* contenu des anciens articles : tout reste lisible et dans la colonne */
.ar-body p, .ar-body li { color: #e4ddf1; }
.ar-body strong, .ar-body b { color: var(--ink); }
.ar-body :is(iframe, video, embed) { max-width: 100%; border-radius: 14px; }
.ar-body iframe[src*="youtube"], .ar-body iframe[src*="vimeo"] { width: 100%; height: auto; aspect-ratio: 16/9; }
.ar-body .wp-block-embed__wrapper { position: relative; }
.ar-body .wp-block-image, .ar-body .wp-caption { max-width: 100%; }
.ar-body figcaption, .ar-body .wp-caption-text { margin-top: 8px; font-size: 14px; color: var(--muted); text-align: center; }
.ar-body blockquote { margin: 26px 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--violet); color: var(--ink); font-style: italic; }
.ar-body table { width: 100%; border-collapse: collapse; font-size: 16px; display: block; overflow-x: auto; }
.ar-body th, .ar-body td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.ar-body th { background: var(--s1); color: var(--ink); }
.ar-body hr { border: 0; height: 1px; background: var(--line); }
.ar-body pre, .ar-body code { font-size: 15px; background: var(--s1); border-radius: 8px; }
.ar-body pre { padding: 14px 16px; overflow-x: auto; }
.ar-body .wp-block-button__link, .ar-body .wp-element-button { display: inline-block; padding: 12px 20px; border-radius: 12px; background: var(--vs); color: #fff !important; text-decoration: none; font-weight: 700; }
.ar-body .has-text-align-center { text-align: center; }
.ar-body > h2:first-child { margin-top: 0; }
.ar-section-title { font-size: clamp(26px, 2.6vw, 34px) !important; line-height: 1.15; letter-spacing: -.03em; margin: 54px 0 18px !important; }
.ar-take ul { margin: 0; }
.ar-comments { margin-top: 40px; }
.ar-comments ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ar-comments ol ol { margin: 12px 0 0 24px; }
.ar-comments li article, .ar-comments .comment-body { padding: 16px 18px; border-radius: 16px; background: var(--s1); border: 1px solid var(--line); font-size: 16px; }
.ar-comments .comment-meta, .ar-comments .comment-metadata { font-size: 13.5px; color: var(--muted); }
.ar-comments .avatar { border-radius: 50%; vertical-align: middle; margin-right: 8px; }
.ar-comments .reply { display: none; }
.ar-next-sec { padding: 70px 0 60px; }
.ar-next-sec h2 { font-size: 32px; margin-bottom: 22px; }
/* priorité sur les remises à zéro de .vp (paragraphes aérés) et sur le style des menus du thème */
.vp .ar-body > * + * { margin-top: 20px; }
.vp .ar-body > h2 { margin-top: 54px; margin-bottom: 0; }
.vp .ar-body > h3 { margin-top: 34px; }
.vp .ar-body > .ar-section-title { margin-top: 54px; margin-bottom: 18px; }
.vp .ar-body li p { margin: 0; }
.ar-aside nav a, .ar-toc-m a { text-transform: none; letter-spacing: 0; font-weight: 500; }
@media (max-width: 600px) {
	.ar-meta { gap: 4px 12px; font-size: 13.5px; }
	.ar-meta img { width: 32px; height: 32px; }
	.ar-meta .ar-role { display: none; }
	.ar-head h1 { font-size: 32px; }
	.ar-cover { margin-top: 24px; border-radius: 16px; }
	.ar-body { font-size: 17px; }
}

/* ==== En-tête d'article : l'image devient le décor du titre (teinte violette, trame, timeline) ==== */
.ar-hero { position: relative; isolation: isolate; overflow: hidden; margin-top: 18px; min-height: clamp(380px, 46vh, 480px); display: flex; flex-direction: column; justify-content: flex-end;
	border-radius: 28px; background: radial-gradient(120% 140% at 85% 10%, #3a2379 0%, #1b1429 55%, #120d1c 100%); border: 1px solid rgba(155, 123, 255, .28);
	box-shadow: 0 40px 90px -50px rgba(109, 66, 245, .9), inset 0 1px 0 rgba(255, 255, 255, .06); }
.ar-hero__bg { position: absolute; inset: 0; z-index: -3; }
.ar-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; filter: grayscale(1) contrast(1.15) brightness(.9); transform: scale(1.06); animation: ar-drift 24s ease-in-out infinite alternate; }
/* duotone : l'image prend les couleurs du site */
.ar-hero.has-img::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(120deg, #6d42f5 0%, #9b7bff 45%, #ffb23f 110%); mix-blend-mode: color; opacity: .75; }
/* lisibilité : fondu vers le noir côté texte + halo violet + trame de grille */
.ar-hero__fx { position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background:
		linear-gradient(90deg, rgba(18, 13, 28, .96) 0%, rgba(18, 13, 28, .86) 38%, rgba(18, 13, 28, .35) 72%, rgba(18, 13, 28, .15) 100%),
		linear-gradient(0deg, rgba(18, 13, 28, .9) 0%, rgba(18, 13, 28, 0) 55%),
		radial-gradient(60% 80% at 0% 100%, rgba(109, 66, 245, .45), transparent 70%); }
.ar-hero__fx::after { content: ""; position: absolute; inset: 0; opacity: .5;
	background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 56px 56px;
	-webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 75%); mask-image: linear-gradient(90deg, #000 0%, transparent 75%); }
.ar-hero__in { position: relative; max-width: 780px; padding: clamp(28px, 4vw, 52px) clamp(24px, 4vw, 52px) 58px; }
.ar-hero h1 { font-size: clamp(34px, 4.4vw, 60px); line-height: 1.02; letter-spacing: -.04em; margin: 0 0 20px; text-wrap: balance; text-shadow: 0 2px 30px rgba(18, 13, 28, .6); }
.ar-hero .ar-cat { background: rgba(155, 123, 255, .2); border: 1px solid rgba(155, 123, 255, .35); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.ar-hero .ar-meta { color: #cfc5e2; }
.ar-hero .ar-meta img { box-shadow: 0 0 0 2px rgba(155, 123, 255, .6); }
.ar-hero .ar-chapo { color: #e6def4; }
/* timeline de montage : graduations + tête de lecture qui avance */
.ar-hero__tl { position: absolute; left: clamp(24px, 4vw, 52px); right: clamp(24px, 4vw, 52px); bottom: 22px; height: 12px;
	background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .22) 0 1px, transparent 1px 14px); -webkit-mask-image: linear-gradient(90deg, #000 60%, transparent); mask-image: linear-gradient(90deg, #000 60%, transparent); }
.ar-hero__tl::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; border-radius: 99px; background: linear-gradient(90deg, #9b7bff, #ffb23f 40%, transparent 70%); opacity: .8; }
.ar-hero__tl i { position: absolute; top: -6px; bottom: -6px; left: 0; width: 2px; border-radius: 2px; background: #ffb23f; box-shadow: 0 0 12px #ffb23f; animation: ar-playhead 9s linear infinite; }
.ar-hero__tl i::before { content: ""; position: absolute; top: -3px; left: -4px; border: 5px solid transparent; border-top: 6px solid #ffb23f; }
@keyframes ar-playhead { from { left: 0; } to { left: 62%; } }
@keyframes ar-drift { from { transform: scale(1.06) translate(0, 0); } to { transform: scale(1.12) translate(-1.5%, -1%); } }
@media (prefers-reduced-motion: reduce) { .ar-hero__bg img, .ar-hero__tl i { animation: none; } }
@media (max-width: 760px) {
	.ar-hero { min-height: 0; border-radius: 20px; }
	.ar-hero.has-img { padding-top: 130px; }
	.ar-hero__fx { background: linear-gradient(0deg, rgba(18, 13, 28, .97) 0%, rgba(18, 13, 28, .88) 55%, rgba(18, 13, 28, .2) 100%), radial-gradient(80% 60% at 0% 100%, rgba(109, 66, 245, .4), transparent 70%); }
	.ar-hero__in { padding: 22px 20px 50px; }
	.ar-hero h1 { font-size: 30px; }
	.ar-hero__tl { left: 20px; right: 20px; bottom: 18px; }
}
.ar-layout { padding-top: 50px; }
/* réglage : l'image occupe la droite et se fond vers le titre (le sujet reste visible) */
.ar-hero__bg, .ar-hero.has-img::before { left: 34%; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 38%); mask-image: linear-gradient(90deg, transparent 0%, #000 38%); }
.ar-hero__bg img { filter: grayscale(1) contrast(1.2) brightness(1.05); }
.ar-hero.has-img::before { opacity: .6; }
.ar-hero__fx { background: linear-gradient(90deg, rgba(18, 13, 28, .9) 0%, rgba(18, 13, 28, .55) 45%, rgba(18, 13, 28, .05) 80%), linear-gradient(0deg, rgba(18, 13, 28, .85) 0%, rgba(18, 13, 28, 0) 45%), radial-gradient(60% 80% at 0% 100%, rgba(109, 66, 245, .45), transparent 70%); }
@media (max-width: 760px) {
	.ar-hero__bg, .ar-hero.has-img::before { left: 0; bottom: 30%; -webkit-mask-image: linear-gradient(180deg, #000 45%, transparent); mask-image: linear-gradient(180deg, #000 45%, transparent); }
	.ar-hero__fx { background: linear-gradient(0deg, rgba(18, 13, 28, .97) 0%, rgba(18, 13, 28, .85) 45%, rgba(18, 13, 28, .1) 100%), radial-gradient(80% 60% at 0% 100%, rgba(109, 66, 245, .4), transparent 70%); }
}
/* l'animation de dérive de l'image entre en conflit avec masque + filtre (image qui disparaît) : image fixe */
.ar-hero__bg img { animation: none; transform: scale(1.04); }

/* ==== Lecteur audio : l'article lu à voix haute, la timeline sert de barre de lecture ==== */
.ar-listen { position: absolute; left: clamp(24px, 4vw, 52px); bottom: 8px; z-index: 2; display: inline-flex; align-items: center; gap: 0; height: 40px; padding: 4px; border-radius: 999px; color: #fff; cursor: pointer; font: inherit; font-size: 14px; font-weight: 600;
	background: linear-gradient(135deg, rgba(155, 123, 255, .42), rgba(109, 66, 245, .16) 55%, rgba(255, 255, 255, .08)); border: 1px solid rgba(255, 255, 255, .28);
	-webkit-backdrop-filter: blur(12px) saturate(170%); backdrop-filter: blur(12px) saturate(170%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 12px 26px -12px rgba(20, 8, 50, .8);
	transition: gap .4s var(--ease), padding .4s var(--ease), background .3s; }
.ar-listen[hidden] { display: none; }
.ar-listen__ico { position: relative; width: 30px; height: 30px; border-radius: 99px; display: grid; place-items: center; background: linear-gradient(145deg, #9b7bff, #6d42f5); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5); }
.ar-listen__ico svg { width: 12px; height: 12px; }
.ar-listen__ico .i-pause { display: none; }
.ar-listen.is-playing .i-play { display: none; } .ar-listen.is-playing .i-pause { display: block; }
.ar-listen__txt { max-width: 0; overflow: hidden; white-space: nowrap; opacity: 0; transition: max-width .45s var(--ease), opacity .3s; }
.ar-listen:hover, .ar-listen:focus-visible, .ar-listen.is-active { gap: 10px; padding-right: 14px; }
.ar-listen:hover .ar-listen__txt, .ar-listen:focus-visible .ar-listen__txt, .ar-listen.is-active .ar-listen__txt { max-width: 220px; opacity: 1; }
.ar-listen.is-playing .ar-listen__ico::after { content: ""; position: absolute; inset: -4px; border-radius: inherit; border: 1.5px solid rgba(180, 155, 255, .7); animation: vp-ring 1.6s ease-out infinite; }
@keyframes vp-ring { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.5); opacity: 0; } }
.ar-hero.can-listen .ar-hero__in { padding-bottom: 76px; }
.ar-hero.can-listen .ar-hero__tl { left: calc(clamp(24px, 4vw, 52px) + 54px); cursor: pointer; }
.ar-hero.can-listen .ar-hero__tl::after { content: ""; position: absolute; inset: -12px 0; }
.ar-hero.is-audio .ar-hero__tl i { animation: none; left: var(--p, 0%); transition: left .25s linear; }
.ar-hero__tl:focus-visible { outline: 2px solid #9b7bff; outline-offset: 8px; border-radius: 4px; }
.ar-body .is-reading { background: linear-gradient(90deg, rgba(109, 66, 245, .16), transparent 80%); box-shadow: -14px 0 0 rgba(109, 66, 245, .16); border-radius: 6px; transition: background .4s; }
@media (hover: none) { .ar-listen { gap: 10px; padding-right: 14px; } .ar-listen__txt { max-width: 220px; opacity: 1; } }
@media (max-width: 760px) { .ar-listen { left: 20px; bottom: 6px; } .ar-hero.can-listen .ar-hero__tl { left: 74px; } .ar-hero.can-listen .ar-hero__in { padding-bottom: 70px; } }
/* bouton rond : le texte ne se déplie pas (il recouvrirait la timeline) */
.ar-listen, .ar-listen:hover, .ar-listen:focus-visible, .ar-listen.is-active { gap: 0; padding: 4px; }
.ar-listen .ar-listen__txt, .ar-listen:hover .ar-listen__txt, .ar-listen.is-active .ar-listen__txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); max-width: none; opacity: 1; }
.ar-listen:hover .ar-listen__ico { transform: scale(1.08); } .ar-listen__ico { transition: transform .3s var(--ease); }
@media (hover: none) { .ar-listen { gap: 0; padding: 4px; } }
/* temps écoulé / durée et vitesse, à droite de la timeline */
.ar-audio { position: absolute; right: clamp(24px, 4vw, 52px); bottom: 12px; z-index: 3; display: flex; align-items: center; gap: 10px; font-size: 13px; color: #cfc5e2; font-variant-numeric: tabular-nums; }
.ar-audio[hidden] { display: none; }
.ar-audio__time b { color: #fff; font-weight: 600; }
.ar-hero.can-listen .ar-hero__tl { right: calc(clamp(24px, 4vw, 52px) + 150px); }
.ar-speed { position: relative; }
.ar-speed__btn { min-width: 48px; height: 30px; padding: 0 10px; border-radius: 99px; font: inherit; font-weight: 700; color: #fff; cursor: pointer;
	background: linear-gradient(135deg, rgba(155, 123, 255, .42), rgba(109, 66, 245, .16) 55%, rgba(255, 255, 255, .08)); border: 1px solid rgba(255, 255, 255, .28); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.ar-speed__btn:hover, .ar-speed__btn[aria-expanded="true"] { border-color: rgba(255, 255, 255, .5); }
.ar-speed__menu { position: absolute; right: 0; bottom: calc(100% + 8px); display: grid; min-width: 86px; padding: 6px; border-radius: 14px; background: rgba(27, 20, 41, .96); border: 1px solid var(--line); box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .8); }
.ar-speed__menu[hidden] { display: none; }
.ar-speed__menu button { padding: 7px 12px; border: 0; border-radius: 9px; background: none; color: var(--ink); font: inherit; font-weight: 600; text-align: left; cursor: pointer; }
.ar-speed__menu button:hover { background: rgba(155, 123, 255, .16); }
.ar-speed__menu button[aria-checked="true"] { background: var(--vs); color: #fff; }
@media (max-width: 760px) { .ar-audio { right: 20px; bottom: 8px; font-size: 12px; gap: 6px; } .ar-hero.can-listen .ar-hero__tl { right: 150px; } .ar-speed__btn { min-width: 42px; height: 28px; padding: 0 8px; } }
/* anciens articles : couleurs, polices et largeurs forcées neutralisées (lisibles sur fond sombre, rien ne déborde) */
.ar-body [style*="color"]:not([style*="background"]), .ar-body font { color: inherit !important; }
.ar-body font, .ar-body [style*="font-size"], .ar-body [style*="font-family"] { font-size: inherit !important; font-family: inherit !important; }
.ar-body [style*="background"] { color: var(--ink) !important; border-radius: 8px; }
.ar-body [style*="width"] { max-width: 100% !important; }
.ar-body img[style*="width"], .ar-body img[width] { height: auto !important; }
.ar-body h2:empty, .ar-body h3:empty, .ar-body p:empty { display: none; }
.ar-body [style*="justify"] { text-align: left !important; }
/* vidéo YouTube au clic */
.ar-yt { position: relative; display: block; width: 100%; aspect-ratio: 16/9; padding: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #000; cursor: pointer; }
.ar-yt img { width: 100%; height: 100%; object-fit: cover; border-radius: 0 !important; transition: transform .6s var(--ease), filter .3s; }
.ar-yt:hover img { transform: scale(1.03); filter: brightness(.8); }
.ar-yt__play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 99px; display: grid; place-items: center; color: #fff;
	background: linear-gradient(135deg, rgba(155, 123, 255, .5), rgba(109, 66, 245, .25) 55%, rgba(255, 255, 255, .1)); border: 1px solid rgba(255, 255, 255, .3); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 14px 30px -12px rgba(20, 8, 50, .8); }
.ar-yt__play::before { content: ""; position: absolute; inset: 7px; border-radius: inherit; background: linear-gradient(145deg, #9b7bff, #6d42f5); }
.ar-yt__play svg { position: relative; width: 18px; height: 18px; margin-left: 3px; }
.ar-yt__note { position: absolute; left: 12px; bottom: 10px; padding: 4px 10px; border-radius: 99px; background: rgba(0, 0, 0, .6); color: #e6def4; font-size: 12px; }
.ar-yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ==== Mascotte des articles (colonne de droite, ordinateur seulement) ==== */
.ar-aside { max-height: calc(100vh - 120px); display: flex; flex-direction: column; }
.ar-aside nav { flex: 0 1 auto; min-height: 0; overflow-y: auto; scrollbar-width: thin; }
.ar-aside .ar-svc { flex: none; }
.ar-mascot { position: relative; flex: none; display: flex; flex-direction: column; align-items: flex-end; min-height: 110px; padding-top: 6px; }
.ar-mascot__body { width: 78px; height: 78px; margin-right: 10px; animation: bob 3.2s ease-in-out infinite; cursor: pointer; }
.ar-mascot svg { width: 78px; height: 78px; overflow: visible; }
.ar-mascot .m-all { transform-box: view-box; transform-origin: 50% 90%; animation: squish 3.2s ease-in-out infinite; }
.ar-mascot .m-antenna { transform-box: view-box; transform-origin: 50% 26%; animation: sway 2.4s ease-in-out infinite; }
.ar-mascot .m-arm { transform-box: fill-box; transform-origin: 50% 20%; }
.ar-mascot.talk .m-arm--r { animation: wave .5s ease-in-out 3; }
.ar-mascot.talk .m-mouth { animation: talk .18s steps(2) 8; }
.ar-mascot .m-shadow { transform-box: fill-box; transform-origin: center; animation: shadow 3.2s ease-in-out infinite; }
.ar-mascot .lid { transform-box: fill-box; transform-origin: center; animation: blink 5s infinite; }
.ar-mascot__bubble { position: relative; align-self: stretch; margin-bottom: 8px; padding: 12px 14px; border-radius: 16px 16px 4px 16px; background: #fff; color: #191224; font-size: 14.5px; line-height: 1.4; font-weight: 500;
	box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .6); opacity: 0; transform: translateY(8px) scale(.94); transform-origin: 90% 100%; pointer-events: none; transition: opacity .35s ease, transform .45s var(--ease); }
.ar-mascot.say .ar-mascot__bubble { opacity: 1; transform: none; }
@keyframes bob { 50% { transform: translateY(-7px); } }
@keyframes squish { 0%, 100% { transform: scale(1, 1); } 45% { transform: scale(1.04, .96); } 55% { transform: scale(.97, 1.03); } }
@keyframes sway { 50% { transform: rotate(8deg); } }
@keyframes wave { 50% { transform: rotate(-35deg) translateY(-3px); } }
@keyframes talk { 50% { d: path("M44 68 Q50 78 56 68"); } }
@keyframes shadow { 50% { transform: scaleX(.8); opacity: .1; } }
@keyframes blink { 0%, 94%, 100% { transform: scaleY(1); } 96% { transform: scaleY(.1); } }
@media (prefers-reduced-motion: reduce) { .ar-mascot *, .ar-mascot__body { animation: none !important; } }
@media (max-width: 900px), (max-height: 620px) { .ar-mascot { display: none; } }
/* mascotte : bouton de contact (comme sur l'accueil) */
button.ar-mascot__body { padding: 0; border: 0; background: none; }
.ar-mascot__acts { position: absolute; right: 96px; bottom: 14px; display: flex; gap: 8px; pointer-events: none; }
.ar-mascot__acts a { position: relative; width: 46px; height: 46px; border-radius: 99px; display: grid; place-items: center; background: #fff; color: #5b2ee0; text-decoration: none; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .6);
	opacity: 0; transform: translateX(30px) scale(.4); transition: transform .45s var(--ease), opacity .25s; }
.ar-mascot__acts a:nth-child(2) { transition-delay: .04s; } .ar-mascot__acts a:nth-child(1) { transition-delay: .08s; }
.ar-mascot__acts svg { width: 20px; height: 20px; }
.ar-mascot__acts i { position: absolute; top: 100%; margin-top: 4px; font-style: normal; font-size: 11px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.ar-mascot.open .ar-mascot__acts { pointer-events: auto; }
.ar-mascot.open .ar-mascot__acts a { opacity: 1; transform: none; }
.ar-mascot.open .ar-mascot__bubble { opacity: 0; }
.ar-mascot.open .m-arm--r { animation: wave .5s ease-in-out 3; }
/* mode sieste : il s'endort si on ne bouge plus */
.ar-mascot.sleep .lid { animation: none; transform: scaleY(.12); }
.ar-mascot.sleep .ar-mascot__body { animation-duration: 5s; }
.ar-mascot__z { position: absolute; right: 18px; bottom: 80px; font-weight: 800; color: #b39bff; font-size: 14px; pointer-events: none; opacity: 0; }
.ar-mascot.sleep .ar-mascot__z { animation: ar-z 2.4s ease-in-out infinite; }
.ar-mascot.sleep .ar-mascot__z:nth-of-type(2) { animation-delay: .8s; right: 8px; font-size: 18px; }
@keyframes ar-z { 0% { opacity: 0; transform: translate(0, 0) scale(.6); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(10px, -34px) scale(1.1); } }
/* sur ordinateur, la mascotte propose déjà le contact : pas de bouton WhatsApp en double */
@media (min-width: 901px) and (min-height: 621px) { .ce-wa-fab { display: none !important; } }
.ar-old { padding: 14px 18px; border-radius: 14px; background: rgba(255, 178, 63, .1); border: 1px solid rgba(255, 178, 63, .35); color: #f3dcb4 !important; font-size: 15.5px; line-height: 1.5; }
.ar-old b { color: #ffb23f !important; }
.ar-body .ce-update { padding: 14px 18px; border-radius: 14px; background: rgba(155, 123, 255, .12); border: 1px solid rgba(155, 123, 255, .35); font-size: 16px; line-height: 1.55; }
/* mention obligatoire des images générées par IA (AI Act, art. 50) */
.ce-ai-badge { position: absolute; right: 14px; top: 14px; z-index: 4; padding: 4px 10px; border-radius: 99px; font-size: 11.5px; font-weight: 600; letter-spacing: .02em; color: #f4f0fa; background: rgba(18, 13, 28, .62); border: 1px solid rgba(255, 255, 255, .22); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); pointer-events: none; }
.ar-svc__case { display: block; margin-top: 12px; font-size: 14px; color: #9b7bff; text-decoration: none; } .ar-svc__case:hover { text-decoration: underline; }

/* affiliation */
.aff-box .aff-btn { margin-top: 12px; width: 100%; justify-content: center; }
.aff-note { margin: 10px 0 0 !important; font-size: 12.5px !important; line-height: 1.45 !important; color: var(--muted) !important; }
.aff-art { margin: 28px 0; padding: 20px 22px; border-radius: 18px; background: var(--s1); border: 1px solid var(--line); }
.aff-art b { display: block; color: var(--head); text-transform: uppercase; letter-spacing: .07em; font-size: 12.5px; margin-bottom: 10px; }
.aff-art ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.aff-art li { display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.aff-art li a { font-weight: 700; color: var(--violet); }
.aff-art .aff-more { font-weight: 500; font-size: 14px; color: var(--muted); }
.aff-note--top { margin: 0 0 18px !important; padding: 10px 14px; border-radius: 12px; background: var(--s1); border: 1px solid var(--line); }
.ar-fig { margin: 30px 0; }
.ar-fig img { display: block; width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--line); }
.ar-fig figcaption { margin-top: 10px; font-size: 14.5px; line-height: 1.45; color: var(--muted); text-align: center; }

/* formulaire de commentaire */
.ar-comments h2 span { color: var(--muted); font-weight: 500; }
.ar-cform { margin-top: 22px; padding: 22px; border-radius: 18px; background: var(--s1); border: 1px solid var(--line); display: grid; gap: 10px; }
.ar-cform__t { margin: 0 !important; font-weight: 700; font-size: 19px; color: var(--ink); }
.ar-cform__note, .ar-cform__rgpd { margin: 0 !important; font-size: 13.5px !important; color: var(--muted) !important; }
.ar-cform__rgpd a { color: var(--violet); }
.ar-cform label { font-size: 14px; font-weight: 600; color: var(--ink); }
.ar-cform textarea, .ar-cform input[type=text], .ar-cform input[type=email] { width: 100%; box-sizing: border-box; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: inherit; font-size: 16px; }
.ar-cform textarea:focus, .ar-cform input:focus { outline: 2px solid var(--violet); outline-offset: 1px; }
.ar-cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ar-cform__row > div { display: grid; gap: 6px; }
.ar-cform__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.ar-cform button { justify-self: start; }
.ar-cform__ok { padding: 12px 16px; border-radius: 12px; background: rgba(79, 209, 139, .12); border: 1px solid var(--green); color: var(--ink); }
@media (max-width: 640px) { .ar-cform__row { grid-template-columns: 1fr; } }
.ar-cform__foot { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.ar-cform__foot button[disabled] { opacity: .55; cursor: wait; }
.ar-cform__pow { font-size: 13.5px; color: var(--muted); }
.ar-cform__pow.is-ok { color: var(--green); }
/* Vimeo : pas de vignette avant le clic */
.ar-yt--vimeo { aspect-ratio: 16 / 9; width: 100%; background: radial-gradient(120% 90% at 30% 20%, #3a2466, #120b22 70%); }
/* tableaux d'article : une fiche par ligne sur mobile */
@media (max-width: 640px) {
	table.ar-stack, table.ar-stack tbody, table.ar-stack tr, table.ar-stack td { display: block; width: 100%; }
	table.ar-stack thead, table.ar-stack tr:first-child:has(th) { display: none; }
	table.ar-stack tr { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; margin: 0 0 12px; }
	table.ar-stack td { border: 0 !important; padding: 4px 0 !important; }
	table.ar-stack td::before { content: attr(data-label); display: block; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; opacity: .6; margin-bottom: 2px; }
	table.ar-stack td:first-child { font-weight: 700; }
	table.ar-stack td:first-child::before { display: none; }
}

/* Vidéos et audios natifs des articles (audit du 26/09/2026) */
.ce-video { margin: 24px 0; } .ce-video video { width: 100%; height: auto; border-radius: 14px; background: #000; } .ce-audio { width: 100%; margin: 16px 0; }

/* ---------- Barre de lecture audio qui suit le défilement (27/09/2026) ---------- */
.ar-mini-wrap { position: sticky; bottom: 12px; z-index: 40; height: 0; margin: 0; pointer-events: none; }
.ar-mini { position: absolute; left: 50%; bottom: 0; width: min(560px, calc(100vw - 24px)); display: flex; align-items: center; gap: 10px; padding: 7px 8px 7px 7px; border-radius: 999px; background: rgba(18, 13, 28, .88); border: 1px solid rgba(155, 123, 255, .3); box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .8); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: var(--ink); transform: translate(-50%, 20px); opacity: 0; transition: transform .45s var(--ease), opacity .3s ease; }
.ar-mini-wrap.on { pointer-events: none; }
.ar-mini-wrap.active { height: 70px; margin-top: 8px; }
.ar-mini-wrap.on .ar-mini { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.ar-mini button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.ar-mini__play { flex: none; width: 40px; height: 40px; border-radius: 999px; display: grid; place-items: center; background: var(--vs, #6d42f5) !important; color: #fff !important; }
.ar-mini__play svg { width: 18px; height: 18px; } .ar-mini__play .i-pause, .ar-mini.is-playing .ar-mini__play .i-play { display: none; } .ar-mini.is-playing .ar-mini__play .i-pause { display: block; }
.ar-mini__mid { flex: 1; min-width: 0; display: grid; gap: 6px; padding: 2px 0 !important; text-align: left; }
.ar-mini__sec { font-size: 13.5px; font-weight: 600; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ar-mini__bar { display: block; height: 3px; border-radius: 3px; background: rgba(244, 240, 250, .16); overflow: hidden; }
.ar-mini__bar i { display: block; height: 100%; width: var(--p, 0%); background: linear-gradient(90deg, var(--violet, #9b7bff), var(--head, #ffb23f)); transition: width .3s linear; }
.ar-mini__time { flex: none; font-size: 12.5px; font-variant-numeric: tabular-nums; opacity: .8; }
.ar-mini__rate { flex: none; min-width: 44px; height: 32px; padding: 0 8px !important; border-radius: 999px; border: 1px solid rgba(155, 123, 255, .35) !important; font-size: 13px !important; font-weight: 700; }
.ar-mini__mid:focus-visible, .ar-mini__rate:focus-visible, .ar-mini__play:focus-visible { outline: 2px solid var(--violet, #9b7bff); outline-offset: 2px; border-radius: 12px; }
@media (max-width: 480px) { .ar-mini__time { display: none; } .ar-mini { gap: 8px; } }
@media (prefers-reduced-motion: reduce) { .ar-mini, .ar-mini__bar i { transition: none; } }
