/*
 * Revoria 3.3 — accueil uniquement (chargé sur la page d'accueil, après main.css).
 * Héros et animation du fonctionnement, marques de confiance, possibilités, réseaux qui se retournent,
 * téléphones, personas animés, badge des offres, section « bien plus », démo (image du visiteur).
 * Toutes les animations s'arrêtent avec prefers-reduced-motion (règle globale de main.css) :
 * l'état de base de chaque élément est donc son état final, lisible.
 */

/* ------------------------------------------------------------------ héros */
.hero-33 { padding-bottom: 0; }
.hero-33 h1 { max-width: 23ch; font-size: clamp(1.95rem, 4.1vw, 3.45rem); margin-bottom: 0; }
.hero-33 h1 .samira-word { white-space: nowrap; }
.hero-33-cta { margin-top: clamp(24px, 3vw, 36px); }
.wf-wrap { position: relative; width: min(100% - 2 * var(--gutter), 1320px); margin-top: clamp(22px, 3.2vw, 40px); }

/* ------------------------------------------------------------------ animation du fonctionnement */
.wf { --wf-line: rgba(127, 217, 255, .32); position: relative; text-align: left; font-size: .8rem; line-height: 1.35; }
.wf-grid {
	display: grid; align-items: center; row-gap: 16px;
	grid-template-columns: minmax(0, 232px) 36px 108px 52px minmax(0, 1fr) 40px minmax(0, 1fr);
	grid-template-areas: "st l1 co l2 ca l3 so" "st l1 co l2 ar l4 si";
	transition: opacity .45s ease;
}
.wf.is-out .wf-grid { opacity: 0; }
.wf.wf-reset *, .wf.wf-reset *::before, .wf.wf-reset *::after { transition: none !important; }
.wf.is-paused *, .wf.is-paused *::before, .wf.is-paused *::after { animation-play-state: paused !important; }
.wf-start { grid-area: st; } .wf-l1 { grid-area: l1; } .wf-core { grid-area: co; } .wf-l2 { grid-area: l2; align-self: stretch; }
.wf-cal { grid-area: ca; } .wf-l3 { grid-area: l3; } .wf-soc { grid-area: so; }
.wf-art { grid-area: ar; } .wf-l4 { grid-area: l4; } .wf-sites { grid-area: si; }
.wf-card { position: relative; padding: 12px; border-radius: 18px; min-width: 0; background: linear-gradient(160deg, color-mix(in srgb, var(--surface) 94%, transparent), color-mix(in srgb, var(--surface-2) 82%, transparent)); border: 1px solid var(--line-strong); box-shadow: 0 30px 70px -32px rgba(0, 0, 0, .75), inset 0 1px 0 rgba(255, 255, 255, .06); }
.wf img { display: block; }
.wf .icon { width: 15px; height: 15px; flex: none; }

/* Texte qui s'écrit : la version complète, invisible, réserve la place. */
.wf-type { display: inline-grid; }
.wf-type > span { grid-area: 1 / 1; }
.wf-tg { visibility: hidden; }
.wf-tt::after { content: ""; display: inline-block; width: 1px; height: 1em; margin-left: 1px; vertical-align: -2px; background: currentColor; opacity: 0; }
.wf-tt.is-typing::after { opacity: 1; animation: wfBlink .7s steps(1) infinite; }
@keyframes wfBlink { 50% { opacity: 0; } }

/* 1. Vous créez / vous demandez */
.wf-tabs { display: grid; gap: 4px; margin-bottom: 10px; }
.wf-tab { display: flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 999px; border: 1px solid var(--line); color: var(--text-soft); font-weight: 600; font-size: .74rem; transition: background-color .35s, color .35s, border-color .35s; }
.wf:not(.mode-self) .t-ask, .wf.mode-self .t-self { background: var(--samira); color: #fff; border-color: transparent; }
.wf-modes { display: grid; }
.wf-mode { grid-area: 1 / 1; align-self: center; transition: opacity .45s ease, transform .45s ease; }
.wf:not(.mode-self) .m-self, .wf.mode-self .m-ask { opacity: 0; transform: translateY(6px); pointer-events: none; }
.wf-av { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; flex: none; border: 2px solid rgba(255, 255, 255, .85); }
.wf-msg { display: flex; gap: 8px; align-items: flex-start; }
.wf-msg p { margin: 0; padding: 8px 10px; border-radius: 13px 13px 13px 4px; background: var(--btn-bg); color: var(--btn-text); font-weight: 600; font-size: .78rem; }
.wf .f-typing { margin: 10px 0 0 38px; opacity: 0; transition: opacity .3s; }
.wf.s1:not(.s3) .m-ask .f-typing { opacity: 1; }
.wf-comp { display: grid; gap: 7px; }
.wf-comp-top { display: flex; align-items: center; gap: 7px; font-weight: 700; }
.wf-comp-top .wf-av { width: 22px; height: 22px; border-width: 1px; }
.wf-drop { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; border: 1.5px dashed var(--line-strong); overflow: hidden; }
.wf-dropimg { width: 100%; height: 100%; object-fit: cover; transform: translateY(-110%) rotate(-6deg) scale(.8); opacity: 0; transition: transform .7s cubic-bezier(.2, 1.4, .4, 1), opacity .4s; }
.wf.s1 .wf-dropimg { transform: none; opacity: 1; transition-delay: .2s; }
.wf-hand { position: absolute; right: 14%; bottom: 10%; width: 16px; height: 16px; border-radius: 50%; background: rgba(255, 255, 255, .9); box-shadow: 0 0 0 5px rgba(255, 255, 255, .25); opacity: 0; }
.wf.s1 .m-self .wf-hand { animation: wfTap 1.4s .1s ease-out both; }
@keyframes wfTap { 0% { opacity: 0; transform: translate(-40px, -46px); } 30% { opacity: 1; } 70% { opacity: 1; transform: none; } 100% { opacity: 0; transform: scale(.6); } }
.wf-comp p { margin: 0; font-weight: 600; min-height: 2.6em; }
.wf-btn { justify-self: end; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: var(--btn-bg); color: var(--btn-text); font-weight: 700; font-size: .74rem; transition: transform .3s, box-shadow .3s; }
.wf.s2 .m-self .wf-btn { transform: scale(.94); box-shadow: 0 0 0 5px rgba(0, 191, 255, .25); }

/* Liens et pastilles qui voyagent */
.wf-l { position: relative; height: 2px; background: linear-gradient(90deg, transparent, var(--wf-line), transparent); }
.wf-l > i { position: absolute; top: -3px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--samira); box-shadow: 0 0 12px #7A3CFF; opacity: 0; }
.wf.s2:not(.s4) .wf-l1 > i { animation: wfTravel 1.1s ease-in-out infinite; }
.wf.s7 .wf-l3 > i, .wf.s8 .wf-l4 > i { animation: wfTravel 1.6s ease-in-out infinite; }
.wf.s7 .wf-l3 > i.c2 { animation-delay: .8s; }
@keyframes wfTravel { 0% { left: 0; opacity: 0; } 15%, 85% { opacity: 1; } 100% { left: calc(100% - 8px); opacity: 0; } }
.wf-carry { width: 24px !important; height: 24px !important; top: -11px !important; overflow: hidden; border: 2px solid #fff; background: var(--surface) !important; display: grid; place-items: center; color: #fff; }
.wf-carry img { width: 100%; height: 100%; object-fit: cover; }
.wf-carry.is-doc { background: var(--violet) !important; }
.wf-carry.is-doc .icon { width: 12px; height: 12px; }
.wf-l2 { height: auto; background: none; }
.wf-l2 .s-a { position: absolute; left: 0; width: 50%; top: 50%; height: 2px; margin-top: -1px; background: var(--wf-line); }
.wf-l2 .s-b { position: absolute; left: 50%; right: 0; top: 25%; bottom: 25%; border: 2px solid var(--wf-line); border-right: 0; border-radius: 12px 0 0 12px; }
.wf-l2 > i { top: calc(50% - 4px); }
.wf.s3:not(.s5) .wf-l2 .d-a { animation: wfFork 1.4s ease-in-out infinite; }
.wf.s5:not(.s8) .wf-l2 .d-b { animation: wfFork2 1.4s ease-in-out infinite; }
@keyframes wfFork { 0% { left: 0; top: calc(50% - 4px); opacity: 0; } 10% { opacity: 1; } 45% { left: calc(50% - 4px); top: calc(50% - 4px); } 62% { left: calc(50% - 4px); top: calc(25% - 4px); } 90% { opacity: 1; } 100% { left: calc(100% - 8px); top: calc(25% - 4px); opacity: 0; } }
@keyframes wfFork2 { 0% { left: 0; top: calc(50% - 4px); opacity: 0; } 10% { opacity: 1; } 45% { left: calc(50% - 4px); top: calc(50% - 4px); } 62% { left: calc(50% - 4px); top: calc(75% - 4px); } 90% { opacity: 1; } 100% { left: calc(100% - 8px); top: calc(75% - 4px); opacity: 0; } }

/* 2. Samira */
.wf-core { position: relative; justify-self: center; width: 100%; max-width: 108px; aspect-ratio: 1; display: grid; }
.wf-core-img { display: block; width: 100%; height: 100%; border-radius: 50%; padding: 4px; background: var(--samira); box-shadow: 0 0 40px rgba(122, 60, 255, .45); transition: box-shadow .5s, transform .5s; }
.wf-core-img img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid var(--bg); }
.wf.s3 .wf-core-img { box-shadow: 0 0 70px rgba(122, 60, 255, .85), 0 0 26px rgba(0, 191, 255, .6); transform: scale(1.06); }
.wf-core b { position: absolute; left: 50%; bottom: -26px; transform: translateX(-50%); font: 700 .82rem var(--font-display); background: var(--samira-text); -webkit-background-clip: text; background-clip: text; color: transparent; white-space: nowrap; }
.wf-core .f-ring { inset: -12px; }

/* 3a. Calendrier */
.wf-ph { display: flex; align-items: center; gap: 7px; margin-bottom: 9px; font-weight: 700; color: var(--text); }
.wf-ph .icon { color: var(--link); }
.wf-chip { margin-left: auto; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: .68rem; color: var(--text-soft); font-weight: 600; }
.wf-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); grid-template-rows: auto minmax(0, 1fr); gap: 5px; }
.wf-day { text-align: center; font-size: .68rem; font-weight: 600; color: var(--text-soft); padding: 3px 0; border-radius: 6px; background: color-mix(in srgb, var(--text) 5%, transparent); }
.wf-post { grid-row: 2; display: grid; gap: 5px; align-content: start; padding: 5px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); opacity: 0; transform: translateY(8px) scale(.92); transition: opacity .5s, transform .55s cubic-bezier(.2, 1.3, .4, 1); position: relative; z-index: 1; }
.wf-post::before { content: ""; position: absolute; top: -9px; left: 14px; width: 7px; height: 7px; border-radius: 50%; background: #00BFFF; box-shadow: 0 0 8px #00BFFF; }
.wf-post.p-img { grid-column: 2 / span 3; }
.wf-post.p-vid { grid-column: 5 / span 3; }
.wf-post.p-vid::before { background: #FF2D96; box-shadow: 0 0 8px #FF2D96; }
.wf.s4 .p-img, .wf.s5 .p-vid { opacity: 1; transform: none; }
.wf-post > img, .wf-vid { width: 100%; aspect-ratio: 16 / 10; border-radius: 7px; object-fit: cover; object-position: 50% 78%; }
.wf-post p { margin: 0; font-size: .7rem; font-weight: 600; color: var(--text); min-height: 2.7em; }
.wf-vid { position: relative; display: block; overflow: hidden; }
.wf-vid img, .wf-fm img { width: 100%; height: 100%; object-fit: cover; }
.wf .kb { animation: wfKb 7s ease-in-out infinite alternate; transform-origin: 60% 40%; }
@keyframes wfKb { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.22) translate(-4%, 3%); } }
.wf-play { position: absolute; left: 50%; top: 50%; width: 24px; height: 24px; margin: -12px 0 0 -12px; border-radius: 50%; background: rgba(8, 15, 41, .55); color: #fff; display: grid; place-items: center; backdrop-filter: blur(4px); }
.wf-play .icon { width: 16px; height: 16px; }
.wf-prog { position: absolute; left: 6px; right: 6px; bottom: 5px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .35); overflow: hidden; }
.wf-prog i { position: absolute; inset: 0; background: #FF2D96; transform-origin: left; animation: barGrow 4s linear infinite; }
.wf-ghost { grid-row: 2; align-self: start; height: 6px; border-radius: 3px; background: color-mix(in srgb, var(--text) 9%, transparent); margin-top: 8px; }
.wf-ghost.g1 { grid-column: 1; } .wf-ghost.g2 { grid-column: 1; margin-top: 20px; width: 70%; } .wf-ghost.g3 { display: none; }

/* 3b. Article */
.wf-art-body { display: grid; grid-template-columns: 38% 1fr; gap: 10px; align-items: start; }
.wf-art-img { display: block; aspect-ratio: 4 / 3; border-radius: 9px; overflow: hidden; background: var(--surface-2); }
.wf-art-img img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.12); transition: opacity .7s .2s, transform 1.2s .2s ease-out; }
.wf.s6 .wf-art-img img { opacity: 1; transform: none; }
.wf-art-txt h5 { margin: 0 0 7px; font: 700 .8rem/1.3 var(--font-display); color: var(--text); letter-spacing: 0; min-height: 2.6em; }
.wf-art-txt > i { display: block; height: 5px; border-radius: 3px; margin-bottom: 5px; background: color-mix(in srgb, var(--text) 13%, transparent); transform: scaleX(0); transform-origin: left; transition: transform .6s ease-out; }
.wf-art-txt > i:nth-of-type(2) { width: 92%; } .wf-art-txt > i:nth-of-type(3) { width: 80%; } .wf-art-txt > i:nth-of-type(4) { width: 55%; }
.wf.s6 .wf-art-txt > i { transform: none; }
.wf.s6 .wf-art-txt > i:nth-of-type(1) { transition-delay: 1.1s; } .wf.s6 .wf-art-txt > i:nth-of-type(2) { transition-delay: 1.3s; } .wf.s6 .wf-art-txt > i:nth-of-type(3) { transition-delay: 1.5s; } .wf.s6 .wf-art-txt > i:nth-of-type(4) { transition-delay: 1.7s; }

/* 4a. Réseaux sociaux */
.wf-soc { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 7px; }
.wf-feed { position: relative; display: grid; gap: 5px; padding: 6px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line-strong); box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .8); min-width: 0; opacity: 0; transform: translateY(14px) scale(.9); transition: opacity .45s, transform .55s cubic-bezier(.2, 1.4, .4, 1); transition-delay: calc(var(--i) * .16s); }
.wf.s7 .wf-feed { opacity: 1; transform: none; }
.wf-fh { display: flex; align-items: center; gap: 4px; min-width: 0; }
.wf-fh .brand-icon { width: 16px; height: 16px; flex: none; }
.wf-fh b { font-size: .6rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--text-soft); }
.wf-fm { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 7px; overflow: hidden; }
.wf-fm img { object-position: 50% 78%; }
.wf-fm .wf-play { width: 18px; height: 18px; margin: -9px 0 0 -9px; }
.wf-fm .wf-play .icon { width: 12px; height: 12px; }
.wf-fl { display: grid; gap: 3px; }
.wf-fl i { height: 4px; border-radius: 2px; background: color-mix(in srgb, var(--text) 12%, transparent); }
.wf-fl i + i { width: 60%; }
.wf-ok { position: absolute; right: -5px; top: -5px; width: 17px; height: 17px; border-radius: 50%; background: #16A34A; color: #fff; display: grid; place-items: center; transform: scale(0); transition: transform .35s cubic-bezier(.2, 1.6, .4, 1); box-shadow: 0 0 0 2px var(--bg); }
.wf-ok .icon { width: 11px; height: 11px; stroke-width: 3; }
.wf.s7 .wf-feed .wf-ok { transform: scale(1); transition-delay: calc(.6s + var(--i) * .16s); }

/* 4b. Sites + SEO */
.wf-sites { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "li li" "se ia"; gap: 8px; align-items: stretch; }
.wf-site-list { grid-area: li; } .wf-seo { grid-area: se; } .wf-ia { grid-area: ia; }
.wf-site-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.wf-site-list li { position: relative; display: flex; align-items: center; gap: 6px; padding: 6px 7px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line-strong); font-weight: 600; font-size: .7rem; min-width: 0; opacity: .35; transform: scale(.94); transition: opacity .4s, transform .45s cubic-bezier(.2, 1.4, .4, 1); transition-delay: calc(var(--i) * .18s); }
.wf-site-list li span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wf-site-list .brand-icon, .wf-more { width: 20px; height: 20px; flex: none; }
.wf-more { display: grid; place-items: center; border-radius: 6px; background: var(--surface-2); color: var(--text); font-weight: 700; border: 1px solid var(--line-strong); }
.wf.s8 .wf-site-list li { opacity: 1; transform: none; }
@media (max-width: 1299px) { .wf-site-list { grid-template-columns: 1fr 1fr; } }
.wf.s8 .wf-site-list .wf-ok { transform: scale(1); transition-delay: calc(.5s + var(--i) * .18s); }
.wf-seo { position: relative; display: grid; align-content: space-between; padding: 7px 8px 4px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line-strong); overflow: hidden; }
.wf-seo-k { font-weight: 800; font-size: .74rem; color: var(--text); }
.wf-seo-k b { display: inline-block; color: #4ADE9B; transition: transform .5s; }
.wf.s8 .wf-seo-k b { animation: wfUp 1s .9s ease-in-out infinite alternate; }
@keyframes wfUp { to { transform: translateY(-3px); } }
.wf-seo svg { width: 100%; height: 46px; display: block; }
.wf-seo-line { fill: none; stroke: url(#wf-seo-g); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s .6s ease-out; }
.wf-seo-area { fill: rgba(122, 60, 255, .22); opacity: 0; transition: opacity .8s 1.6s; }
.wf.s8 .wf-seo-line { stroke-dashoffset: 0; }
.wf.s8 .wf-seo-area { opacity: 1; }
/* Référencement IA : ChatGPT, Claude et Gemini reprennent l'article (vrais logos, assets/img/ai/). */
.wf-ia { display: grid; gap: 4px; align-content: start; padding: 7px 8px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line-strong); }
.wf-ia ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; }
.wf-ia li { position: relative; display: flex; align-items: center; gap: 6px; min-width: 0; font-weight: 600; font-size: .68rem; opacity: .3; transform: translateX(-6px); transition: opacity .4s, transform .45s cubic-bezier(.2, 1.4, .4, 1); transition-delay: calc(1.4s + var(--i) * .25s); }
.wf-ia li span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wf-ia .ai-logo { width: 18px; height: 18px; padding: 2px; }
.wf-ia .wf-ok { position: static; margin-left: auto; width: 14px; height: 14px; flex: none; box-shadow: none; }
.wf-ia .wf-ok .icon { width: 9px; height: 9px; }
.wf.s8 .wf-ia li { opacity: 1; transform: none; }
.wf.s8 .wf-ia .wf-ok { transform: scale(1); transition-delay: calc(1.7s + var(--i) * .25s); }
.wf.s8 .wf-ia .wf-seo-k b { animation: wfUp 1s 2.2s ease-in-out infinite alternate; }
.ai-logo { display: inline-grid; place-items: center; flex: none; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgba(11, 20, 52, .12); }
.ai-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }

/* Tablette et mobile : empilé, lisible, sans les liens horizontaux. */
@media (max-width: 1099px) {
	.wf-wrap { width: min(100% - 2 * var(--gutter), 920px); }
	.wf-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "st co" "ca so" "ar si"; gap: 16px; align-items: stretch; }
	.wf-core, .wf-soc, .wf-sites { align-self: center; }
	.wf-l { display: none; }
	.wf-core { max-width: 96px; }
	.wf-tabs { grid-template-columns: 1fr 1fr; }
	.wf-comp { grid-template-columns: 96px minmax(0, 1fr); column-gap: 10px; align-items: start; }
	.wf-comp > * { grid-column: 2; }
	.wf-comp > .wf-drop { grid-column: 1; grid-row: 1 / span 3; aspect-ratio: 1; }
}
@media (max-width: 599px) {
	.wf-grid { grid-template-columns: minmax(0, 1fr) 78px; grid-template-areas: "st co" "ca ca" "so so" "ar ar" "si si"; gap: 12px 10px; }
	.wf-core { max-width: 76px; }
	.wf-core b { bottom: -22px; }
	.wf-tabs { grid-template-columns: 1fr; }
	.wf-tab { font-size: .68rem; padding: 4px 7px; }
	.wf-soc { gap: 5px; }
	.wf-feed { padding: 4px; border-radius: 9px; }
	.wf-fh b, .wf-fl { display: none; }
	.wf-site-list { grid-template-columns: 1fr 1fr; }
	.wf-post p { font-size: .66rem; }
}

/* ------------------------------------------------------------------ marques de confiance */
.trust { margin-top: clamp(36px, 5vw, 56px); padding: 22px 0 26px; border-top: 1px solid var(--line); text-align: center; }
.trust-title { margin: 0 0 14px; font: 600 .82rem var(--font-text); letter-spacing: .08em; text-transform: uppercase; color: var(--text-soft); }
.trust-mq { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.trust-track { list-style: none; margin: 0; padding: 4px 0; display: flex; gap: 18px; width: max-content; animation: trustMq 45s linear infinite; }
.trust-mq:hover .trust-track, .trust-mq:focus-within .trust-track { animation-play-state: paused; }
@keyframes trustMq { to { transform: translateX(-50%); } }
.trust-track li { flex: none; }
.trust-tile { display: flex; align-items: center; justify-content: center; min-height: 64px; min-width: 120px; padding: 10px 20px; border-radius: 14px; background: rgba(255, 255, 255, .94); border: 1px solid rgba(255, 255, 255, .2); text-decoration: none; }
.trust-track img { height: 40px; width: auto; max-width: 160px; object-fit: contain; filter: grayscale(1); opacity: .72; transition: filter .3s, opacity .3s; }
.trust-tile:hover img, .trust-tile:focus-visible img { filter: none; opacity: 1; }
.trust-name { font: 700 1rem var(--font-display); color: #0B1434; }
.trust-track a:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
	.trust-mq { -webkit-mask-image: none; mask-image: none; }
	.trust-track { width: auto; flex-wrap: wrap; justify-content: center; }
	.trust-track .is-dup { display: none; }
}

/* ------------------------------------------------------------------ Sans / Avec : piloter soi-même ou déléguer */
.cmp-pilot { display: flex; align-items: center; gap: 12px; margin: -4px 0 0; padding: 10px 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; max-width: 760px; }
.cmp-pilot-t { flex: 1; min-width: 0; }
.cmp-pilot-me, .cmp-pilot-or { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex: none; color: #fff; }
.cmp-pilot .icon { width: 16px; height: 16px; }
.cmp-pilot-me { background: var(--btn-bg); color: var(--btn-text) !important; }
.cmp-pilot-or { background: var(--samira); margin-left: -16px; box-shadow: 0 0 0 3px var(--surface); }

/* ------------------------------------------------------------------ démo : image du visiteur */
.d2-brand .d2-file { grid-column: 2; }
.d2-file [hidden] { display: none !important; }
.d2-file-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.d2-file-prev { width: 56px; height: 56px; border-radius: 12px; overflow: hidden; flex: none; border: 1px solid var(--line-strong); background: var(--surface-2); }
.d2-file-prev img { width: 100%; height: 100%; object-fit: cover; display: block; }
.d2-file input[type="file"] { flex: 1 1 200px; min-height: 48px; padding: 10px; border-radius: 12px; border: 1.5px dashed var(--line-strong); background: var(--surface); color: var(--text); font: inherit; font-size: .92rem; }
.d2-file input[type="file"]:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.d2-previews { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 22px 0 0; text-align: left; }
.d2-pv { border-radius: 14px; border: 1px solid var(--line-strong); background: var(--surface); overflow: hidden; }
.d2-pv-h { display: flex; align-items: center; gap: 8px; padding: 8px 10px; font-size: .8rem; font-weight: 700; min-width: 0; }
.d2-pv-h img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; flex: none; }
.d2-pv-h span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }
.d2-pv-h .brand-icon { width: 20px; height: 20px; flex: none; }
.d2-pv > img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.d2-pv p { margin: 0; padding: 8px 10px 10px; font-size: .8rem; color: var(--text-soft); }
.d2-pv-title { margin: 0 0 6px; font-size: .95rem; }
@media (max-width: 600px) { .d2-brand .d2-file { grid-column: auto; } }

/* ------------------------------------------------------------------ possibilités : 4 × 2 */
.caps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.cap { padding: 20px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.cap-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--samira); color: #fff; margin-bottom: 14px; box-shadow: 0 10px 22px -10px rgba(122, 60, 255, .7); }
.cap-ic .icon { width: 21px; height: 21px; animation: iconBob 4s ease-in-out infinite; animation-delay: calc(var(--i) * .3s); }
.cap h3 { font-size: 1.08rem; margin: 0 0 6px; }
.cap p { margin: 0; color: var(--text-soft); font-size: .93rem; line-height: 1.5; }
@media (max-width: 1000px) { .caps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .caps { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ réseaux et intégrations : carrousel de pastilles */
.nc { position: relative; }
.nc-vp { padding: 14px 0; }
.nc-track { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.nc.is-js .nc-vp { overflow: hidden; perspective: 1100px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.nc.is-js .nc-track { flex-wrap: nowrap; justify-content: flex-start; width: max-content; padding: 0 12px; will-change: transform; transform-style: preserve-3d; }
.nc-pill { flex: none; display: inline-flex; align-items: center; gap: 9px; height: 46px; padding: 0 16px 0 6px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-strong); box-shadow: 0 12px 28px -18px rgba(0, 0, 0, .7); font-weight: 600; font-size: .92rem; white-space: nowrap; color: var(--text); }
.nc.is-js .nc-pill { will-change: transform; backface-visibility: hidden; }
.nc-pill .brand-icon { width: 34px; height: 34px; border-radius: 50%; overflow: hidden; flex: none; }
.nc-pill[data-slug="facebook"], .nc-pill[data-slug="instagram"] { background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--samira) border-box; border: 1.5px solid transparent; }
@media (max-width: 600px) { .nc-pill { height: 40px; font-size: .86rem; gap: 7px; padding-right: 13px; } .nc-pill .brand-icon { width: 30px; height: 30px; } .nc-track { gap: 9px; } }

/* ------------------------------------------------------------------ téléphones */
.dv { display: flex; justify-content: center; align-items: flex-start; gap: clamp(14px, 3vw, 32px); padding: 8px 0 0; }
.dv-phone { margin: 0; width: clamp(140px, 19vw, 240px); text-align: center; }
.dv-phone figcaption { margin-top: 12px; font-size: .85rem; font-weight: 600; color: var(--text-soft); }
.dv-frame { position: relative; padding: 7px; border-radius: 30px; background: #12151d; box-shadow: 0 0 0 1.5px #3a3f4d, 0 40px 80px -30px rgba(8, 15, 41, .55); }
.dv-frame::before, .dv-frame::after { content: ""; position: absolute; right: -3px; width: 3px; border-radius: 0 2px 2px 0; background: #3a3f4d; }
.dv-frame::before { top: 22%; height: 10%; } .dv-frame::after { top: 36%; height: 6%; }
.dv-screen { position: relative; border-radius: 24px; overflow: hidden; background: var(--sb); }
.dv-screen img { display: block; width: 100%; height: auto; }
.dv-status { position: relative; display: flex; align-items: center; justify-content: space-between; height: 22px; padding: 0 14px; font: 700 .62rem/1 var(--font-text); color: #0B1434; background: var(--sb); }
.dv-status.is-dark { color: #E9EEFF; }
.dv-cam { position: absolute; left: 50%; top: 5px; width: 11px; height: 11px; margin-left: -5.5px; border-radius: 50%; background: #05070c; box-shadow: inset 0 0 0 2px #1d2230; }
.dv-ind { display: inline-flex; gap: 2px; align-items: flex-end; }
.dv-ind i { width: 3px; border-radius: 1px; background: currentColor; }
.dv-ind i:nth-child(1) { height: 4px; } .dv-ind i:nth-child(2) { height: 6px; } .dv-ind i:nth-child(3) { width: 14px; height: 7px; border-radius: 2px; margin-left: 3px; }
.dv-phone.is-iphone { margin-top: clamp(20px, 4vw, 48px); }
.is-iphone .dv-frame { padding: 8px; border-radius: 40px; background: #0b0b0e; box-shadow: 0 0 0 2px #9aa0ad, 0 0 0 3.5px #52565f, 0 40px 80px -30px rgba(8, 15, 41, .55); }
.is-iphone .dv-frame::before { right: auto; left: -4.5px; top: 20%; height: 7%; border-radius: 2px 0 0 2px; background: #9aa0ad; }
.is-iphone .dv-frame::after { right: -4.5px; top: 28%; height: 13%; background: #9aa0ad; }
.is-iphone .dv-screen { border-radius: 33px; }
.is-iphone .dv-status { height: 30px; padding: 0 20px; }
.is-iphone .dv-cam { top: 7px; width: 32%; height: 16px; margin-left: -16%; border-radius: 999px; background: #000; box-shadow: none; }
@media (max-width: 860px) { .dv-phone { width: min(42vw, 230px); } }

/* ------------------------------------------------------------------ personas */
.pcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.2vw, 24px); }
.pcard { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.pcard h3 { margin: 4px 0 0; font-size: 1.2rem; }
.pcard p { margin: 0; color: var(--text-soft); flex: 1; }
.pcard .text-link { align-self: flex-start; min-height: 44px; display: inline-flex; align-items: center; }
.pcard-ic { width: 76px; height: 76px; border-radius: 20px; display: grid; place-items: center; background: color-mix(in srgb, var(--violet) 9%, var(--surface-2)); border: 1px solid var(--line); }
.pi { width: 60px; height: 60px; overflow: visible; }
.pi .pi-line { fill: none; stroke: var(--text); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.pi .pi-fill { fill: var(--surface); }
.pi * { transform-box: fill-box; }
.pi-bob { animation: piBob 2.4s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes piBob { 50% { transform: translateY(-3px) rotate(-3deg); } }
.pi-rec { fill: #FF2D55; animation: piBlink 1.2s steps(1) infinite; }
@keyframes piBlink { 50% { opacity: .15; } }
.pi-awn { fill: none; stroke: #FF2D96; stroke-width: 2.4; stroke-linecap: round; }
.pi-swing { transform-origin: 50% 0; animation: piSwing 2.4s ease-in-out infinite alternate; }
@keyframes piSwing { from { transform: rotate(-9deg); } to { transform: rotate(9deg); } }
.pi-steam { fill: none; stroke: var(--text-soft); stroke-width: 2.2; stroke-linecap: round; animation: piSteam 2.4s ease-in-out infinite; }
.pi-steam.s2 { animation-delay: .8s; } .pi-steam.s3 { animation-delay: 1.6s; }
@keyframes piSteam { 0% { opacity: 0; transform: translateY(5px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(-6px); } }
.pi-bar { transform-origin: 50% 100%; animation: piGrow 2.8s ease-in-out infinite; }
.pi-bar.b1 { fill: #00BFFF; } .pi-bar.b2 { fill: #7A3CFF; animation-delay: .25s; } .pi-bar.b3 { fill: #FF2D96; animation-delay: .5s; }
@keyframes piGrow { 0%, 100% { transform: scaleY(1); } 40% { transform: scaleY(.45); } }
.pi-arm { transform-origin: 0 100%; animation: piWave 2.8s ease-in-out infinite; }
@keyframes piWave { 50% { transform: rotate(-14deg); } }
.pi-star { transform-origin: 50% 50%; animation: piStar 2.8s ease-in-out infinite; }
@keyframes piStar { 50% { transform: scale(.7) rotate(45deg); opacity: .7; } }
.pi-card { animation: piShuffle 4.5s ease-in-out infinite; }
.pi-card.c2 { animation-delay: -1.5s; } .pi-card.c3 { animation-delay: -3s; }
@keyframes piShuffle { 0%, 100% { transform: translate(0, 0); } 33% { transform: translate(3px, -3px); } 66% { transform: translate(-3px, 2px); } }
.pi-win { fill: var(--line-strong); animation: piLight 3s steps(1) infinite; }
.pi-win.w2 { animation-delay: .6s; } .pi-win.w3 { animation-delay: 1.2s; } .pi-win.w4 { animation-delay: 1.8s; } .pi-win.w5 { animation-delay: 2.4s; }
@keyframes piLight { 0%, 60% { fill: #FFB547; } 61%, 100% { fill: var(--line-strong); } }
.pi-graph { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; animation: piDraw 3s ease-in-out infinite; }
@keyframes piDraw { 0% { stroke-dashoffset: 1; } 50%, 100% { stroke-dashoffset: 0; } }
@media (max-width: 960px) { .pcards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .pcards { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ offres : badge animé */
.price-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-bottom: 28px; }
.price-head h2 { margin: 0; }
.pbadge { display: inline-grid; margin: 0; }
.pbadge-i { grid-area: 1 / 1; display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; font-weight: 700; font-size: .98rem; color: var(--text); background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--samira) border-box; border: 2px solid transparent; white-space: nowrap; opacity: 0; transform: translateY(10px); transition: opacity .5s, transform .5s; justify-self: start; }
.pbadge-i .icon { width: 18px; height: 18px; color: var(--ok); stroke-width: 2.6; }
.pbadge-i.is-on { opacity: 1; transform: none; }
.pbadge-i.is-leaving { opacity: 0; transform: translateY(-10px); }
.home-price .plans-note { display: none; }
@media (max-width: 420px) { .pbadge-i { white-space: normal; } }

/* ------------------------------------------------------------------ « bien plus avec Revoria » */
.more-sep { overflow: hidden; }
.more-sep::before { content: ""; position: absolute; inset: 0 0 auto; height: 520px; background: radial-gradient(40% 60% at 50% 0%, rgba(122, 60, 255, .3), transparent 70%); pointer-events: none; }
.more-head { position: relative; text-align: center; max-width: 900px; margin: 0 auto clamp(40px, 6vw, 72px); }
.more-head::before { content: ""; display: block; width: 72px; height: 4px; border-radius: 4px; margin: 0 auto 22px; background: var(--samira); }
.more-head h2 { font-size: clamp(2.1rem, 5vw, 3.8rem); margin-bottom: 14px; }
.more-head .lead { margin: 0 auto; max-width: 60ch; color: var(--text-soft); }
.mx { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.mx + .mx { margin-top: clamp(56px, 8vw, 104px); padding-top: clamp(56px, 8vw, 104px); border-top: 1px solid var(--line); }
.mx.is-rev .mx-vis { order: -1; }
.mx-txt h3 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); margin-bottom: 12px; }
.mx-txt p { color: var(--text-soft); margin: 0 0 18px; }
.mx-vis { position: relative; min-width: 0; }
.js .mx:not(.is-on) .mx-vis *, .js .mx:not(.is-on) .mx-vis *::before, .js .mx:not(.is-on) .mx-vis *::after { animation-play-state: paused; }
.mx-vis img { display: block; }
@media (max-width: 860px) { .mx { grid-template-columns: 1fr; } .mx.is-rev .mx-vis { order: 0; } }

/* Clips */
.cx { max-width: 520px; margin-inline: auto; }
.cx-long { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; }
.cx-slice { position: absolute; top: 0; bottom: 0; left: calc(var(--k) * 33.333%); width: 33.334%; overflow: hidden; animation: cxSlice 9s ease-in-out infinite; }
.cx-slice:first-child { border-radius: 16px 0 0 16px; } .cx-slice:nth-child(3) { border-radius: 0 16px 16px 0; }
.cx-slice img { position: absolute; top: 0; height: 100%; width: 300%; max-width: none; left: calc(var(--k) * -100%); object-fit: cover; }
@keyframes cxSlice {
	0%, 34% { transform: none; opacity: 1; }
	40% { transform: translateX(calc((var(--k) - 1) * 8px)) rotate(calc((var(--k) - 1) * 2deg)); opacity: 1; }
	56% { transform: translate(calc((var(--k) - 1) * 14px), 75%) rotate(calc((var(--k) - 1) * 6deg)) scale(.7); opacity: 0; }
	57% { transform: none; opacity: 0; }
	64%, 93% { transform: none; opacity: .28; }
	100% { transform: none; opacity: 1; }
}
.cx-cut { position: absolute; top: -6px; bottom: -6px; width: 0; border-left: 2px dashed #fff; filter: drop-shadow(0 0 4px #FF2D96); animation: cxCut 9s ease-in-out infinite; transform-origin: top; }
.cx-cut.c1 { left: 33.333%; } .cx-cut.c2 { left: 66.666%; animation-delay: .25s; }
@keyframes cxCut { 0%, 22% { transform: scaleY(0); opacity: 0; } 30%, 38% { transform: scaleY(1); opacity: 1; } 44%, 100% { opacity: 0; } }
.cx-scissors { position: absolute; left: 33.333%; top: -16px; width: 34px; height: 34px; margin-left: -17px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #FF2D96; box-shadow: 0 6px 18px rgba(0, 0, 0, .35); animation: cxSnip 9s ease-in-out infinite; }
.cx-scissors .icon { width: 18px; height: 18px; }
@keyframes cxSnip { 0%, 20% { opacity: 0; transform: translateY(0); } 24% { opacity: 1; } 30% { transform: translateY(calc(100% + 120px)); } 31% { left: 66.666%; transform: translateY(0); } 37% { transform: translateY(calc(100% + 120px)); opacity: 1; } 40%, 100% { opacity: 0; left: 66.666%; } }
.cx-play { position: absolute; left: 50%; top: 50%; width: 50px; height: 50px; margin: -25px 0 0 -25px; border-radius: 50%; background: rgba(8, 15, 41, .55); color: #fff; display: grid; place-items: center; backdrop-filter: blur(4px); animation: cxFade 9s infinite; }
.cx-play .icon { width: 28px; height: 28px; }
.cx-bar { position: absolute; left: 12px; right: 12px; bottom: 10px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .35); overflow: hidden; animation: cxFade 9s infinite; }
.cx-bar i { position: absolute; inset: 0; background: #FF2D96; transform-origin: left; animation: cxProg 9s linear infinite; }
@keyframes cxProg { 0% { transform: scaleX(0); } 26%, 100% { transform: scaleX(1); } }
@keyframes cxFade { 0%, 34% { opacity: 1; } 40%, 94% { opacity: 0; } 100% { opacity: 1; } }
.cx-clips { display: flex; justify-content: center; gap: clamp(10px, 3vw, 22px); margin-top: 22px; }
.cx-clip { position: relative; width: clamp(78px, 22%, 112px); aspect-ratio: 9 / 16; border-radius: 16px; border: 3px solid var(--line-strong); background: var(--surface); animation: cxClip 9s ease-out infinite; animation-delay: calc(var(--k) * .15s); }
.cx-clip-img { position: absolute; inset: 0; border-radius: 13px; overflow: hidden; }
.cx-clip-img img { width: 100%; height: 100%; object-fit: cover; object-position: calc(16% + var(--k) * 34%) 50%; }
.cx-clip .brand-icon { position: absolute; left: 7px; bottom: 7px; width: 26px; height: 26px; }
.cx-clip b { position: absolute; left: 38px; bottom: 11px; font-size: .72rem; color: #fff; text-shadow: 0 1px 4px rgba(0, 0, 0, .8); }
.cx-clip em { position: absolute; right: -7px; top: -7px; width: 22px; height: 22px; border-radius: 50%; background: #16A34A; color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 2px var(--bg); }
.cx-clip em .icon { width: 13px; height: 13px; stroke-width: 3; }
@keyframes cxClip { 0%, 52% { opacity: 0; transform: translateY(-30px) scale(.8); } 62%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* Messages */
.ix { max-width: 460px; margin-inline: auto; padding: 18px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line-strong); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.ix-head { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-weight: 700; }
.ix-head .icon { width: 20px; height: 20px; color: var(--link); }
.ix-count { display: inline-grid; margin-left: auto; }
.ix-count i { grid-area: 1 / 1; min-width: 26px; height: 26px; padding: 0 8px; border-radius: 999px; display: grid; place-items: center; background: #FF2D55; color: #fff; font: 700 .85rem var(--font-text); font-style: normal; opacity: 0; }
.ix-count i:nth-child(1) { animation: ix1 10s infinite; } .ix-count i:nth-child(2) { animation: ix2 10s infinite; } .ix-count i:nth-child(3) { animation: ix3 10s infinite; opacity: 1; }
.ix-count i:nth-child(4) { display: none; }
@keyframes ix1 { 0%, 4% { opacity: 0; } 5%, 57% { opacity: 1; } 58%, 100% { opacity: 0; } }
@keyframes ix2 { 0%, 57% { opacity: 0; } 58%, 75% { opacity: 1; } 76%, 100% { opacity: 0; } }
@keyframes ix3 { 0%, 75% { opacity: 0; } 76%, 97% { opacity: 1; } 100% { opacity: 0; } }
.ix-list { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
.ix-msg { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 14px; background: var(--surface-2); font-size: .9rem; animation: ixIn 10s infinite; animation-delay: calc(var(--k) * .6s); }
.ix-msg > img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex: none; }
.ix-msg span { flex: 1; min-width: 0; }
.ix-msg b { display: block; font-size: .8rem; }
.ix-msg .brand-icon { width: 22px; height: 22px; flex: none; }
.ix-msg:nth-child(1) { animation-name: ixIn1; animation-delay: 0s; }
@keyframes ixIn { 0% { opacity: 0; transform: translateX(-16px); } 6%, 72% { opacity: 1; transform: none; } 75%, 96% { opacity: .5; } 100% { opacity: 0; } }
@keyframes ixIn1 { 0% { opacity: 0; transform: translateX(-16px); } 6%, 56% { opacity: 1; transform: none; box-shadow: inset 0 0 0 2px #7A3CFF; } 58%, 96% { opacity: .5; box-shadow: none; } 100% { opacity: 0; } }
.ix-reply { position: relative; padding: 12px; border-radius: 16px; border: 1.5px solid transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--samira) border-box; animation: ixReply 10s infinite; }
.ix-sam { display: flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700; }
.ix-sam img { width: 28px; height: 28px; border-radius: 50%; }
.ix-sam em { font-style: normal; background: var(--samira-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ix-reply p { margin: 8px 0 10px; font-size: .9rem; animation: ixType 10s steps(30) infinite; }
.ix-send, .ix-sent { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: .82rem; }
.ix-send { background: var(--btn-bg); color: var(--btn-text); animation: ixSend 10s infinite; }
.ix-sent { position: absolute; left: 12px; bottom: 12px; color: var(--ok); opacity: 0; animation: ixSent 10s infinite; }
.ix-sent .icon { width: 16px; height: 16px; stroke-width: 3; }
@keyframes ixReply { 0%, 20% { opacity: 0; transform: translateY(10px); } 26%, 96% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes ixType { 0%, 26% { clip-path: inset(0 100% 0 0); } 46%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes ixSend { 0%, 52% { opacity: 1; transform: none; } 54% { transform: scale(.9); } 56%, 100% { opacity: 0; } }
@keyframes ixSent { 0%, 56% { opacity: 0; } 58%, 96% { opacity: 1; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .ix-send { display: none; } .ix-sent { position: static; opacity: 1; } }

/* Publicités */
.ax { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 540px; margin-inline: auto; }
.ax-card { position: relative; display: grid; gap: 8px; align-content: start; padding: 14px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line-strong); box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .8); animation: axIn 12s infinite; font-size: .88rem; }
.ax-card b { font-family: var(--font-display); }
.ax-step { position: absolute; right: -8px; top: -8px; box-shadow: 0 0 0 3px var(--bg); width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--samira); color: #fff; font: 700 .75rem var(--font-display); }
.ax-make { grid-template-columns: 64px 1fr; align-items: center; }
.ax-img { width: 64px; height: 64px; border-radius: 12px; overflow: hidden; }
.ax-img img { width: 100%; height: 100%; object-fit: cover; }
.ax-txt { display: block; height: 6px; margin-top: 8px; border-radius: 3px; background: color-mix(in srgb, var(--text) 14%, transparent); }
.ax-txt.s { width: 60%; }
.ax-budget { animation-name: axIn2; }
.ax-range { position: relative; height: 6px; border-radius: 3px; background: color-mix(in srgb, var(--text) 14%, transparent); margin: 6px 0; }
.ax-range::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 62%; border-radius: 3px; background: var(--samira); animation: axFill 12s infinite; }
.ax-range i { position: absolute; top: -6px; left: 62%; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .4); animation: axThumb 12s infinite; }
@keyframes axFill { 0%, 14% { width: 30%; } 24%, 100% { width: 62%; } }
@keyframes axThumb { 0%, 14% { left: 30%; } 24%, 100% { left: 62%; } }
.ax-val { display: inline-grid; font: 700 1.3rem var(--font-display); }
.ax-val i { grid-area: 1 / 1; font-style: normal; }
.ax-val i:first-child { opacity: 0; animation: axV1 12s infinite; } .ax-val i:last-child { animation: axV2 12s infinite; }
@keyframes axV1 { 0%, 18% { opacity: 1; } 20%, 100% { opacity: 0; } }
@keyframes axV2 { 0%, 18% { opacity: 0; } 20%, 100% { opacity: 1; } }
.ax-budget small, .ax-status small { color: var(--text-soft); }
.ax-aud { animation-name: axIn3; }
.ax-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ax-chips i { font-style: normal; padding: 4px 10px; border-radius: 999px; background: color-mix(in srgb, var(--violet) 22%, transparent); border: 1px solid color-mix(in srgb, var(--violet) 50%, transparent); font-size: .8rem; font-weight: 600; }
.ax-prev { grid-row: span 2; animation-name: axIn4; }
.ax-feed { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--surface-2); }
.ax-fh { display: flex; align-items: center; gap: 4px; padding: 7px 8px; font-size: .78rem; min-width: 0; }
.ax-fh .brand-icon { width: 18px; height: 18px; flex: none; }
.ax-fh b { margin-left: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ax-fh small { margin-left: auto; color: var(--text-soft); font-size: .68rem; white-space: nowrap; }
.ax-feed img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.ax-status { animation-name: axIn5; }
.ax-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: color-mix(in srgb, #FFB547 22%, transparent); color: var(--text); font-weight: 700; font-size: .8rem; justify-self: start; }
.ax-pill .icon { width: 15px; height: 15px; color: #FFB547; }
.ax-chart { display: flex; align-items: flex-end; gap: 5px; height: 54px; margin-top: 4px; }
.ax-chart i { flex: 1; height: var(--h); border-radius: 4px 4px 1px 1px; background: linear-gradient(180deg, #7A3CFF, #00BFFF); transform-origin: bottom; animation: axBar 12s infinite; }
@keyframes axIn { 0% { opacity: 0; transform: translateY(14px) scale(.96); } 4%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes axIn2 { 0%, 8% { opacity: 0; transform: translateY(14px) scale(.96); } 12%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes axIn3 { 0%, 24% { opacity: 0; transform: translateY(14px) scale(.96); } 28%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes axIn4 { 0%, 34% { opacity: 0; transform: translateY(14px) scale(.96); } 38%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes axIn5 { 0%, 44% { opacity: 0; transform: translateY(14px) scale(.96); } 48%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes axBar { 0%, 52% { transform: scaleY(.1); } 66%, 100% { transform: scaleY(1); } }
@media (max-width: 480px) { .ax { grid-template-columns: 1fr; } .ax-prev { grid-row: auto; } }

/* Analyses */
.sx { max-width: 520px; margin-inline: auto; padding: 18px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line-strong); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.sx-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 14px; }
.sx-kpis span { position: relative; padding: 10px; border-radius: 12px; background: var(--surface-2); }
.sx-kpis small { display: block; color: var(--text-soft); font-size: .74rem; }
.sx-kpis b { font: 700 1.2rem var(--font-display); }
.sx-kpis em { position: absolute; right: 8px; top: 8px; font-style: normal; color: #4ADE9B; font-weight: 800; animation: wfUp 1s ease-in-out infinite alternate; }
.sx-chart { display: flex; align-items: flex-end; gap: clamp(8px, 2.4vw, 16px); height: 200px; padding: 0 4px; border-bottom: 1px solid var(--line-strong); }
.sx-bar { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; }
.sx-bar i { width: 100%; height: var(--h); max-height: calc(100% - 46px); border-radius: 8px 8px 2px 2px; background: linear-gradient(180deg, #FF2D96, #7A3CFF 55%, #00BFFF); transform-origin: bottom; animation: sxGrow 8s ease-out infinite; animation-delay: calc(var(--k) * .2s); }
.sx-th { width: 38px; height: 38px; border-radius: 50%; overflow: hidden; border: 2px solid #fff; flex: none; box-shadow: 0 4px 12px rgba(0, 0, 0, .35); animation: sxPop 8s ease-out infinite; animation-delay: calc(var(--k) * .2s); }
.sx-th img { width: 100%; height: 100%; object-fit: cover; }
.sx-note { margin: 8px 0 0; font-size: .74rem; color: var(--text-soft); text-align: right; }
@keyframes sxGrow { 0% { transform: scaleY(0); } 25%, 90% { transform: scaleY(1); } 100% { transform: scaleY(0); } }
@keyframes sxPop { 0%, 15% { opacity: 0; transform: translateY(30px) scale(.6); } 28%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* Studio : format réel du cadre + curseur avant / après (assets/js/home.js). */
.ux { max-width: 480px; margin-inline: auto; display: grid; gap: 14px; }
.ux-fmts { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.ux-fmt { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 14px 6px 10px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: var(--surface); color: var(--text-soft); font: 600 .85rem var(--font-text); cursor: pointer; transition: border-color .25s, color .25s, background-color .25s; }
.ux-fmt b { font: 700 .9rem var(--font-display); color: var(--text); }
.ux-fmt:hover { border-color: var(--link); }
.ux-fmt[aria-pressed="true"] { border-color: transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--samira) border-box; color: var(--text); }
.ux-fmt:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.ux-fmt-ic { display: block; width: 14px; border: 2px solid currentColor; border-radius: 3px; aspect-ratio: 1; }
.f4x5 .ux-fmt-ic { aspect-ratio: 4 / 5; width: 13px; } .f9x16 .ux-fmt-ic { aspect-ratio: 9 / 16; width: 10px; }
.ux-stage { display: grid; place-items: center; }
.ux-frame { --ux-w: 100%; position: relative; width: var(--ux-w); aspect-ratio: 1; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: ew-resize; container-type: inline-size; transition: width .45s cubic-bezier(.3, .9, .3, 1); background: var(--surface-2); }
.ux.is-4x5 .ux-frame { --ux-w: 86%; aspect-ratio: 4 / 5; }
.ux.is-9x16 .ux-frame { --ux-w: 60%; aspect-ratio: 9 / 16; }
.ux-layer { position: absolute; inset: 0; }
.ux-img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.ux-after { clip-path: inset(0 0 0 var(--ux-pos)); }
.ux-after::before { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(180deg, transparent, rgba(8, 15, 41, .82)); pointer-events: none; }
.ux-layer em { position: absolute; top: 12px; z-index: 1; padding: 4px 10px; border-radius: 999px; background: rgba(8, 15, 41, .72); color: #fff; font: 700 .78rem var(--font-text); font-style: normal; white-space: nowrap; }
.ux-before em { left: 12px; } .ux-after em { right: 12px; background: var(--samira); }
.ux-brand { position: absolute; left: 6%; top: 15%; display: inline-flex; align-items: center; gap: .5em; padding: .35em .85em .35em .6em; border-radius: 999px; background: #fff; color: #173178; font: 600 clamp(.62rem, 3.4cqw, .9rem) var(--font-text); }
.ux-brand i { width: .7em; height: .7em; border-radius: 50%; background: #215FE5; }
.ux-caption { position: absolute; left: 6%; right: 6%; bottom: 6%; display: grid; gap: .2em; color: #fff; text-shadow: 0 2px 10px rgba(0, 0, 0, .35); }
.ux-caption b { font: 800 clamp(1.05rem, 8.2cqw, 2.3rem)/1.05 var(--font-display); letter-spacing: -.01em; }
.ux-caption span { font: 600 clamp(.72rem, 4.2cqw, 1.1rem) var(--font-text); opacity: .92; }
.ux-handle { position: absolute; top: 0; bottom: 0; left: var(--ux-pos); z-index: 2; width: 44px; margin-left: -22px; display: grid; place-items: center; cursor: ew-resize; outline: none; }
.ux-handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 12px rgba(0, 0, 0, .5); }
.ux-knob { position: relative; width: 40px; height: 40px; border-radius: 50%; background: #fff; box-shadow: 0 4px 16px rgba(0, 0, 0, .45); }
.ux-knob::before, .ux-knob::after { content: ""; position: absolute; top: 50%; width: 0; height: 0; margin-top: -6px; border: 6px solid transparent; }
.ux-knob::before { left: 1px; border-right: 7px solid #0B1434; } .ux-knob::after { right: 1px; border-left: 7px solid #0B1434; }
.ux-handle:focus-visible .ux-knob { box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--focus); }
.ux.is-dragging .ux-frame, .ux.is-dragging .ux-handle { cursor: grabbing; }
.ux-hint { margin: 0; text-align: center; font-size: .85rem; color: var(--text-soft); }
.no-js .ux-hint, .no-js .ux-fmts { display: none; }
@media (prefers-reduced-motion: reduce) { .ux-frame { transition: none; } }
@media (prefers-reduced-motion: reduce) { .cx-scissors, .cx-play { display: none; } }

/* ------------------------------------------------------------------ héros mobile (< 700 px) : étapes simplifiées */
.wfm { display: none; }
@media (max-width: 699px) {
	.wf-wrap > .wf { display: none; }
	.wfm { display: grid; gap: 14px; text-align: left; touch-action: pan-y; }
	.wfm-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; position: relative; }
	.wfm-steps::before { content: ""; position: absolute; left: 19px; top: 22px; bottom: 22px; width: 2px; background: var(--line-strong); }
	.wfm-step { position: relative; display: flex; align-items: center; gap: 14px; padding: 6px 10px 6px 0; border-radius: 14px; opacity: .55; transition: opacity .35s, background-color .35s; }
	.wfm-step.is-on { opacity: 1; }
	.wfm-n { position: relative; z-index: 1; flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--surface); border: 2px solid var(--line-strong); font: 700 1.05rem var(--font-display); color: var(--text); transition: background .35s, border-color .35s; }
	.wfm-n .icon { display: none; width: 18px; height: 18px; stroke-width: 3; }
	.wfm-step.is-done .wfm-n { background: #16A34A; border-color: #16A34A; color: #fff; }
	.wfm-step.is-done .wfm-n > span { display: none; }
	.wfm-step.is-done .wfm-n .icon { display: block; }
	.wfm-step.is-on .wfm-n { background: var(--samira); border-color: transparent; color: #fff; }
	.wfm-t { min-width: 0; }
	.wfm-t b { display: block; font: 650 1.12rem/1.25 var(--font-display); color: var(--text); }
	.wfm-t span { display: none; margin-top: 2px; font-size: 1rem; line-height: 1.4; color: var(--text-soft); }

	.wfm-stage { display: grid; grid-template-columns: minmax(0, 1fr); min-height: 150px; padding: 16px; border-radius: 20px; border: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 92%, transparent); box-shadow: var(--shadow); overflow: hidden; }
	.wfm-vis { grid-area: 1 / 1; align-self: center; min-width: 0; opacity: 0; transform: translateX(18px); transition: opacity .45s ease, transform .45s ease; pointer-events: none; }
	.wfm-vis.is-on { opacity: 1; transform: none; }
	.wfm-cap { margin: 12px 0 0; font-size: 1rem; line-height: 1.4; color: var(--text-soft); }
	.wfm.is-static .wfm-cap, .no-js .wfm-cap { display: none; }
	.wfm-msg { display: flex; gap: 10px; align-items: flex-start; }
	.wfm-av { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; border: 2px solid rgba(255, 255, 255, .85); }
	.wfm-msg p { margin: 0; padding: 12px 14px; border-radius: 16px 16px 16px 4px; background: var(--btn-bg); color: var(--btn-text); font-weight: 600; font-size: 1.02rem; line-height: 1.4; }
	.v2 { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
	.v2 .wfm-cap { flex: 1 0 100%; margin-top: -2px; }
	.wfm-core { flex: none; width: 72px; height: 72px; border-radius: 50%; padding: 3px; background: var(--samira); }
	.wfm-core img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
	.wfm-chips { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; flex: 1; min-width: 0; }
	.wfm-chips li { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); font-weight: 600; font-size: 1rem; }
	.wfm-chips .icon { width: 18px; height: 18px; color: var(--accent); flex: none; }
	.wfm-icons { list-style: none; margin: 0; padding: 0; display: flex; justify-content: space-between; gap: 6px; }
	.wfm-icons + .wfm-icons { margin-top: 14px; justify-content: center; gap: 22px; }
	.wfm-icons li { position: relative; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: #fff; box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .5); }
	.wfm-icons .brand-icon { width: 30px; height: 30px; }
	.wfm-icons em { position: absolute; right: -5px; bottom: -5px; width: 18px; height: 18px; border-radius: 50%; background: #16A34A; color: #fff; display: grid; place-items: center; }
	.wfm-icons em .icon { width: 11px; height: 11px; stroke-width: 3; }
	.wfm-vis.is-on .wfm-chips li, .wfm-vis.is-on .wfm-icons li { animation: wfmPop .4s ease both; animation-delay: calc(var(--i) * .09s + .15s); }
	@keyframes wfmPop { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: none; } }
	.wfm-kpi { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.05rem; }
	.wfm-kpi b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: color-mix(in srgb, var(--ok) 22%, transparent); color: var(--ok); font-size: 1.2rem; }
	.wfm-chart { width: 100%; height: 64px; margin-top: 10px; }
	.wfm-ai { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
	.wfm-ai li { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 4px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); font-weight: 600; font-size: .88rem; }
	.wfm-ai .ai-logo { width: 24px; height: 24px; padding: 3px; }
	.wfm-vis.is-on .wfm-ai li { animation: wfmPop .4s ease both; animation-delay: calc(var(--i) * .12s + .6s); }
	.wfm-area { fill: rgba(122, 60, 255, .22); }
	.wfm-line { fill: none; stroke: #00BFFF; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
	.wfm-vis.is-on .wfm-line, .wfm.is-static .wfm-line { stroke-dashoffset: 0; transition: stroke-dashoffset 1.4s .2s ease-out; }

	.wfm-nav { display: flex; align-items: center; justify-content: center; gap: 12px; }
	.wfm-dots { display: flex; gap: 4px; }
	.wfm-dot { width: 32px; height: 32px; border: 0; padding: 0; background: transparent; cursor: pointer; display: grid; place-items: center; }
	.wfm-dot::before { content: ""; width: 10px; height: 10px; border-radius: 999px; background: var(--line-strong); transition: width .3s, background .3s; }
	.wfm-dot[aria-pressed="true"]::before { width: 26px; background: var(--accent); }
	.wfm-pause { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-strong); background: transparent; color: var(--text); cursor: pointer; display: grid; place-items: center; }
	.wfm-pause-ic { width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
	.wfm-pause[aria-pressed="true"] .wfm-pause-ic { width: 0; height: 0; border-style: solid; border-width: 7px 0 7px 11px; border-color: transparent transparent transparent currentColor; margin-left: 3px; }
	.no-js .wfm-nav { display: none; }
	/* Sans JavaScript ou mouvement réduit : les quatre étapes visibles, résultat final affiché. */
	.no-js .wfm-step, .wfm.is-static .wfm-step { opacity: 1; }
	.no-js .wfm-t span, .wfm.is-static .wfm-t span { display: block; }
	.no-js .wfm-vis.v3, .wfm.is-static .wfm-vis.v3 { opacity: 1; transform: none; }
	.wfm.is-static .wfm-nav { display: none; }
}
@media (max-width: 699px) and (prefers-reduced-motion: reduce) {
	.wfm-vis, .wfm-step, .wfm-n { transition: none !important; }
	.wfm-vis.is-on .wfm-chips li, .wfm-vis.is-on .wfm-icons li, .wfm-vis.is-on .wfm-ai li { animation: none !important; }
}
