/* ==========================================================================
   PYM Digital : styles du site
   Couleurs, polices, arrondis et espacements viennent des variables :root
   générées par le Customizer (inc/enqueue.php).
   ========================================================================== */
:root {
	--pym-red: #D71920; --pym-red-dark: #A3121A; --pym-black: #111111; --pym-grey: #F2F2F2; --pym-white: #FFFFFF;
	--pym-text: #161616; --pym-muted: #5E5E66;
	--pym-font-head: "Montserrat", system-ui, sans-serif; --pym-font-body: "Inter", system-ui, sans-serif;
	--pym-fs: 17px; --pym-hscale: 1; --pym-btn-radius: 999px; --pym-radius: 22px; --pym-space: 128px;
	--pym-hero-a: #0B0B0D; --pym-hero-b: #3A0A0E; --pym-hero-h: 100svh; --pym-foot-bg: #0B0B0D; --pym-foot-text: #C9C9CF;
	--pym-silver: linear-gradient(120deg, #ffffff 0%, #c9c9d1 38%, #ffffff 52%, #9b9ba6 100%);
	--pym-ease: cubic-bezier(.2, .7, .1, 1);
	--pym-wrap: 1240px;
	--pym-line: rgba(17, 17, 17, .1);
}

/* Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-padding-top: 90px; }
html:not(.lenis) { scroll-behavior: smooth; }
body { margin: 0; overflow-x: clip; font: 400 var(--pym-fs)/1.65 var(--pym-font-body); color: var(--pym-text); background: var(--pym-white); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, video, svg, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--pym-font-head); line-height: 1.12; margin: 0 0 .6em; letter-spacing: -.02em; font-weight: 700; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--pym-red); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.pym-skip { position: fixed; left: 16px; top: -60px; z-index: 1000; background: var(--pym-black); color: #fff; padding: 10px 16px; border-radius: 8px; transition: top .2s; }
.pym-skip:focus { top: 16px; }
.pym-wrap { width: 100%; max-width: var(--pym-wrap); margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }
.pym-ico { width: 1.25em; height: 1.25em; flex: none; }

/* Typographie ----------------------------------------------------------- */
.pym-h1 { font-size: calc(clamp(2.3rem, 5.2vw, 4.6rem) * var(--pym-hscale)); font-weight: 800; letter-spacing: -.035em; line-height: 1.04; }
.pym-h2 { font-size: calc(clamp(1.9rem, 3.8vw, 3.3rem) * var(--pym-hscale)); font-weight: 800; letter-spacing: -.03em; }
.pym-h1 em, .pym-h2 em { font-style: normal; color: var(--pym-red); }
.pym-kicker { display: inline-flex; align-items: center; gap: 12px; font: 600 .78rem/1 var(--pym-font-head); letter-spacing: .22em; text-transform: uppercase; color: var(--pym-red); margin-bottom: 1.3em; }
.pym-kicker::before { content: ""; width: 34px; height: 2px; background: currentColor; }
.pym-kicker--light { color: rgba(255, 255, 255, .78); }
.pym-kicker--light::before { background: var(--pym-red); }
.pym-lead { font-size: 1.12em; color: var(--pym-muted); max-width: 62ch; }
.pym-head { max-width: 780px; margin-bottom: clamp(36px, 5vw, 64px); }

/* Boutons --------------------------------------------------------------- */
.pym-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.pym-btn { --bg: var(--pym-red); --fg: #fff; --bd: var(--pym-red); position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 28px; border-radius: var(--pym-btn-radius); border: 1.5px solid var(--bd); background: var(--bg); color: var(--fg); font: 600 .95rem/1.2 var(--pym-font-head); letter-spacing: .01em; text-decoration: none; overflow: hidden; isolation: isolate; transition: transform .35s var(--pym-ease), box-shadow .35s var(--pym-ease), background-color .3s, color .3s; }
.pym-btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--pym-ease); }
.pym-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(215, 25, 32, .55); }
.pym-btn:hover::after { transform: translateX(120%); }
.pym-btn .pym-ico { transition: transform .35s var(--pym-ease); }
.pym-btn:hover .pym-ico { transform: translateX(4px); }
.pym-btn-gradient .pym-btn--primary { background: linear-gradient(135deg, var(--pym-red), var(--pym-red-dark)); border-color: transparent; }
.pym-btn-outline .pym-btn--primary { background: transparent; color: var(--pym-red); }
.pym-btn-outline .pym-btn--primary:hover { background: var(--pym-red); color: #fff; }
.pym-btn--ghost { --bg: transparent; --fg: #fff; --bd: rgba(255, 255, 255, .35); }
.pym-btn--ghost:hover { --bd: #fff; box-shadow: none; background: rgba(255, 255, 255, .08); }
.pym-btn--dark { --bg: var(--pym-black); --bd: var(--pym-black); --fg: #fff; }
.pym-btn--dark:hover { box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .6); }
.pym-btn--light { --bg: #fff; --bd: #fff; --fg: var(--pym-black); }
.pym-btn--wa { --bg: #fff; --bd: #fff; --fg: var(--pym-black); }
.pym-btn--wa .pym-ico { color: #1FAF54; width: 1.4em; height: 1.4em; }
.pym-btn--sm { min-height: 44px; padding: 10px 20px; font-size: .88rem; }
.pym-more { display: inline-flex; align-items: center; gap: 6px; font: 600 .88rem var(--pym-font-head); text-decoration: none; color: inherit; opacity: .8; }
.pym-more:hover { opacity: 1; color: var(--pym-red); }
.pym-round { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid currentColor; background: transparent; opacity: .75; transition: opacity .2s, background-color .2s, color .2s, border-color .2s; }
.pym-round:hover { opacity: 1; background: var(--pym-red); border-color: var(--pym-red); color: #fff; }

/* En-tête --------------------------------------------------------------- */
.pym-progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 120; background: var(--pym-red); transform-origin: 0 50%; transform: scaleX(var(--s, 0)); }
.pym-top { position: fixed; inset: 0 0 auto; z-index: 100; padding-block: 14px; transition: background-color .4s, box-shadow .4s, padding .4s, color .4s; color: var(--pym-text); background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--pym-line); }
.pym-top.is-over-hero:not(.is-solid) { color: #fff; background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.pym-top.is-solid { padding-block: 8px; }
.admin-bar .pym-top { top: 32px; }
@media (max-width: 782px) { .admin-bar .pym-top { top: 46px; } }
.pym-top__in { display: flex; align-items: center; gap: 24px; }
.pym-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.pym-brand img { width: auto; height: 50px; transition: height .4s; }
.pym-top.is-solid .pym-brand img { height: 42px; }
.pym-brand__txt { display: flex; flex-direction: column; line-height: 1.15; }
.pym-brand__txt strong { font: 700 .95rem var(--pym-font-head); letter-spacing: -.01em; }
.pym-brand__txt small { font-size: .72rem; opacity: .7; letter-spacing: .04em; }
.pym-nav { display: flex; align-items: center; gap: 28px; }
.pym-menu { display: flex; gap: 26px; }
.pym-nav .pym-menu a { position: relative; text-decoration: none; font: 500 .92rem var(--pym-font-head); padding-block: 6px; }
.pym-nav .pym-menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--pym-red); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--pym-ease); }
.pym-nav .pym-menu a:hover::after, .pym-nav .pym-menu .current-menu-item > a::after { transform: scaleX(1); transform-origin: left; }
.pym-nav__cta { min-height: 44px; padding: 10px 22px; font-size: .88rem; }
.pym-burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid currentColor; background: transparent; place-items: center; }
.pym-burger .pym-ico { width: 22px; height: 22px; }
.pym-burger__close { display: none; }
.pym-burger[aria-expanded="true"] .pym-burger__open { display: none; }
.pym-burger[aria-expanded="true"] .pym-burger__close { display: block; }

/* Hero ------------------------------------------------------------------ */
.pym-hero { position: relative; color: #fff; background: var(--pym-grey); }
.pym-hero__sticky { position: relative; min-height: var(--pym-hero-h); display: flex; align-items: center; overflow: hidden; padding: 120px 0 90px; }
.pym-hero__bg { position: absolute; inset: 0; background: radial-gradient(120% 90% at 78% 40%, var(--pym-hero-b) 0%, var(--pym-hero-a) 62%); opacity: var(--hb, 1); }
.pym-hero__img, .pym-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; mix-blend-mode: luminosity; }
.pym-hero__light { position: absolute; inset: 0; background: radial-gradient(40% 40% at 20% 100%, rgba(215, 25, 32, .22), transparent 70%), linear-gradient(180deg, transparent 70%, rgba(0, 0, 0, .35)); }
.pym-hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.pym-hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 5vw, 80px); align-items: center; }
.pym-hero__copy { max-width: 700px; }
.pym-hero__text { font-size: 1.15em; color: rgba(255, 255, 255, .78); max-width: 54ch; margin-bottom: 2em; }
.pym-hero__visual { display: grid; place-items: center; perspective: 1200px; }
.pym-pcard { position: relative; margin: 0; width: min(360px, 100%); padding: 22px 22px 26px; border-radius: calc(var(--pym-radius) + 8px); background: linear-gradient(160deg, #ffffff 0%, #f4f4f6 100%); color: var(--pym-text); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .65), 0 0 0 1px rgba(255, 255, 255, .6) inset; transform-style: preserve-3d; overflow: hidden; }
.pym-pcard__shine { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 50% at var(--mx, 30%) var(--my, 0%), rgba(255, 255, 255, .8), transparent 70%); mix-blend-mode: soft-light; }
.pym-pcard__logo { position: absolute; top: 18px; left: 18px; width: 54px; z-index: 2; }
.pym-pcard__photo { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
.pym-pcard figcaption { text-align: center; margin-top: 14px; display: grid; gap: 2px; }
.pym-pcard figcaption strong { font: 700 1.12rem var(--pym-font-head); letter-spacing: -.01em; }
.pym-pcard figcaption span { color: var(--pym-red); font: 600 .78rem var(--pym-font-head); letter-spacing: .16em; text-transform: uppercase; }
.pym-pcard figcaption small { display: inline-flex; justify-content: center; align-items: center; gap: 4px; color: var(--pym-muted); font-size: .8rem; margin-top: 4px; }
.pym-pcard figcaption small .pym-ico { width: 14px; height: 14px; }
.pym-scrollcue { position: absolute; left: 50%; bottom: 26px; z-index: 3; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; color: rgba(255, 255, 255, .7); font: 600 .68rem var(--pym-font-head); letter-spacing: .3em; text-transform: uppercase; text-decoration: none; opacity: calc(1 - var(--hp, 0) * 3); }
.pym-scrollcue__line { width: 1px; height: 46px; background: linear-gradient(rgba(255, 255, 255, .15), rgba(255, 255, 255, .15)); position: relative; overflow: hidden; }
.pym-scrollcue__line::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--pym-red); animation: pym-cue 2s var(--pym-ease) infinite; }
@keyframes pym-cue { to { top: 100%; } }

/* Sphère de secours (sans WebGL) */
.pym-orb { position: absolute; z-index: 1; right: 6%; top: 50%; width: min(46vw, 600px); aspect-ratio: 1; transform: translateY(-50%); border-radius: 50%; pointer-events: none; background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, .95) 0 4%, rgba(255, 255, 255, .25) 14%, transparent 34%), radial-gradient(circle at 50% 55%, rgba(215, 25, 32, .9), rgba(140, 10, 16, .55) 42%, rgba(255, 255, 255, .06) 70%, transparent 71%); box-shadow: inset -30px -40px 80px rgba(0, 0, 0, .45), inset 20px 20px 60px rgba(255, 255, 255, .15), 0 0 120px rgba(215, 25, 32, .35); opacity: .55; }
.pym-3d .pym-hero .pym-orb, .pym-3d-final .pym-orb--final { display: none; }
.pym-hero .pym-orb { right: 8%; opacity: .35; }

/* Mode « morph » piloté par main.js */
.pym-hero.is-morph { height: calc(var(--pym-hero-h) + 100vh); }
.pym-hero.is-morph .pym-hero__sticky { position: sticky; top: 0; height: var(--pym-hero-h); }
.pym-hero.is-morph .pym-hero__copy { opacity: calc(1 - var(--hp, 0) * 2.2); transform: translateY(calc(var(--hp, 0) * -80px)); }
.pym-hero.is-morph .pym-hero__copy * { pointer-events: auto; }

/* Sections -------------------------------------------------------------- */
.pym-section { position: relative; padding-block: var(--pym-space); }
.pym-bg-white { background: var(--pym-white); }
.pym-bg-light { background: var(--pym-grey); }
.pym-bg-dark { background: var(--pym-black); color: #fff; --pym-line: rgba(255, 255, 255, .12); }
.pym-bg-dark .pym-lead, .pym-bg-dark p { color: rgba(255, 255, 255, .72); }
.pym-bg-dark .pym-h2 em { color: var(--pym-red); }

/* Reveal au défilement (le contenu reste visible sans JavaScript) */
.js .pym-rv { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--pym-ease) var(--d, 0s), transform .9s var(--pym-ease) var(--d, 0s); }
.js .pym-rv.in { opacity: 1; transform: none; }

/* Manifeste ------------------------------------------------------------- */
.pym-statement { background: var(--pym-grey); padding-block: calc(var(--pym-space) * .8) var(--pym-space); overflow: hidden; }
.pym-statement__words { display: flex; flex-direction: column; margin: 0 0 clamp(30px, 5vw, 60px); font-size: calc(clamp(3.2rem, 12.5vw, 12rem) * var(--pym-hscale)); line-height: .92; letter-spacing: -.05em; font-weight: 800; }
.pym-word { display: block; white-space: nowrap; will-change: transform; }
.pym-word span { display: inline-block; }
.pym-word--0 { padding-left: 4vw; color: transparent; -webkit-text-stroke: 1.5px var(--pym-black); }
.pym-word--1 { text-align: right; padding-right: 3vw; color: var(--pym-red); }
.pym-word--2 { padding-left: 14vw; color: var(--pym-black); }
.pym-statement__text { font: 500 clamp(1.25rem, 2.3vw, 1.9rem)/1.35 var(--pym-font-head); letter-spacing: -.02em; max-width: 30ch; margin: 0 0 0 auto; color: var(--pym-text); }

/* Services : carrousel 3D --------------------------------------------- */
.pym-carousel { position: relative; }
.pym-carousel__ring { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; max-width: var(--pym-wrap); margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }
.pym-svc__card { position: relative; height: 100%; display: flex; flex-direction: column; padding: 30px 28px 28px; border-radius: var(--pym-radius); overflow: hidden; transition: box-shadow .5s var(--pym-ease), border-color .5s; }
.pym-card-glass .pym-svc__card { background: linear-gradient(160deg, #ffffff, #f6f6f7); border: 1px solid rgba(17, 17, 17, .08); box-shadow: 0 30px 60px -40px rgba(17, 17, 17, .35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.pym-card-solid .pym-svc__card { background: #fff; box-shadow: 0 30px 60px -30px rgba(17, 17, 17, .3); }
.pym-card-outline .pym-svc__card { background: var(--pym-white); border: 1.5px solid rgba(17, 17, 17, .16); }
.pym-bg-dark .pym-card-glass .pym-svc__card { background: linear-gradient(160deg, #222226, #18181b); border-color: rgba(255, 255, 255, .12); }
.pym-bg-dark .pym-card-solid .pym-svc__card { background: #1b1b1e; }
.pym-bg-dark .pym-card-outline .pym-svc__card { background: var(--pym-black); border-color: rgba(255, 255, 255, .2); }
.pym-svc__img { width: calc(100% + 56px); max-width: none; margin: -30px -28px 22px; aspect-ratio: 16 / 9; object-fit: cover; }
.pym-svc__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 26px; }
.pym-svc__ico { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; color: #fff; background: linear-gradient(140deg, var(--pym-red), var(--pym-red-dark)); box-shadow: 0 14px 28px -12px rgba(215, 25, 32, .7); }
.pym-svc__ico .pym-ico { width: 28px; height: 28px; }
.pym-svc__num { font: 800 2.6rem/1 var(--pym-font-head); letter-spacing: -.04em; background: var(--pym-silver); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .15)); }
.pym-svc__title { font-size: 1.32rem; margin-bottom: .5em; }
.pym-svc__text { color: var(--pym-muted); font-size: .97rem; flex: 1; }
.pym-bg-dark .pym-svc__text { color: rgba(255, 255, 255, .7); }
.pym-svc__links { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 8px; }

.pym-carousel.is-ready[data-mode="carousel"] .pym-carousel__ring { display: block; position: relative; perspective: 1600px; transform-style: preserve-3d; padding: 0; max-width: none; touch-action: pan-y; cursor: grab; user-select: none; }
.pym-carousel.is-ready[data-mode="carousel"] .pym-carousel__ring.is-drag { cursor: grabbing; }
.pym-carousel.is-ready[data-mode="carousel"] .pym-svc { position: absolute; left: 50%; top: 0; width: min(390px, 80vw); margin-left: calc(min(390px, 80vw) / -2); transition: transform .9s var(--pym-ease), opacity .7s, filter .7s; will-change: transform; }
.pym-carousel.is-ready[data-mode="carousel"] .pym-svc:not(.is-active) .pym-svc__card { cursor: pointer; }
.pym-carousel.is-ready .pym-svc.is-active .pym-svc__card { box-shadow: 0 40px 80px -36px rgba(215, 25, 32, .55); border-color: rgba(215, 25, 32, .35); }
.pym-carousel__ctrl { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 30px; }
.pym-dots { display: flex; gap: 10px; }
.pym-dots button { width: 10px; height: 10px; padding: 0; border-radius: 10px; border: 0; background: currentColor; opacity: .22; transition: width .4s var(--pym-ease), opacity .3s, background-color .3s; }
.pym-dots button[aria-selected="true"] { width: 34px; opacity: 1; background: var(--pym-red); }

/* À propos -------------------------------------------------------------- */
.pym-about { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 7vw, 110px); align-items: center; }
.pym-about__media { position: relative; margin: 0; max-width: 500px; justify-self: center; width: 100%; }
.pym-about__media img { position: relative; z-index: 1; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; box-shadow: 0 50px 90px -50px rgba(17, 17, 17, .55); }
.pym-about__ring { position: absolute; inset: -18px; border-radius: 50%; border: 1.5px dashed rgba(215, 25, 32, .45); animation: pym-spin 40s linear infinite; }
.pym-about__ring::after { content: ""; position: absolute; top: 12%; left: 8%; width: 14px; height: 14px; border-radius: 50%; background: var(--pym-red); box-shadow: 0 0 0 6px rgba(215, 25, 32, .15); }
@keyframes pym-spin { to { transform: rotate(360deg); } }
.pym-about__media figcaption { position: absolute; z-index: 2; right: -6px; bottom: 6%; display: grid; padding: 14px 20px; border-radius: 16px; background: var(--pym-black); color: #fff; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6); }
.pym-about__media figcaption strong { font: 700 .95rem var(--pym-font-head); }
.pym-about__media figcaption span { font-size: .78rem; color: rgba(255, 255, 255, .7); }
.pym-about__copy .pym-head { margin-bottom: 26px; }
.pym-checks { display: grid; gap: 12px; margin: 26px 0 34px; }
.pym-checks li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.pym-checks .pym-ico { width: 26px; height: 26px; padding: 5px; border-radius: 50%; color: #fff; background: var(--pym-red); }

/* Réalisations ---------------------------------------------------------- */
.pym-realisations { overflow: hidden; }
.pym-pf__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.pym-pf__viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-bottom: 8px; }
.pym-pf__viewport::-webkit-scrollbar { display: none; }
.pym-pf__track { display: flex; gap: clamp(18px, 2.4vw, 36px); width: max-content; padding-inline: max(clamp(16px, 4vw, 40px), calc((100vw - var(--pym-wrap)) / 2 + 40px)); perspective: 1400px; }
.pym-pf__item { width: clamp(260px, 29vw, 420px); flex: none; scroll-snap-align: start; transform-style: preserve-3d; will-change: transform; }
.pym-pf__link { display: block; text-decoration: none; color: inherit; }
.pym-pf__media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; border-radius: var(--pym-radius); background: #1d1d20; }
.pym-pf__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.2s var(--pym-ease); }
.pym-pf__link:hover .pym-pf__media img { transform: scale(1.07); }
.pym-pf__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .45)); }
.pym-pf__placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255, 255, 255, .3); }
.pym-pf__placeholder .pym-ico { width: 64px; height: 64px; }
.pym-pf__meta { padding: 18px 4px 0; }
.pym-pf__cat { font: 600 .72rem var(--pym-font-head); letter-spacing: .18em; text-transform: uppercase; color: var(--pym-red); }
.pym-pf__title { font-size: 1.12rem; margin: .35em 0 .2em; }
.pym-pf__client { font-size: .86rem; opacity: .6; }
.pym-pf__end { display: grid; }
.pym-pf__endlink { display: grid; place-content: center; justify-items: center; gap: 18px; aspect-ratio: 4 / 5; border-radius: var(--pym-radius); border: 1.5px solid var(--pym-line); text-decoration: none; font: 700 1.2rem var(--pym-font-head); text-align: center; padding: 30px; transition: background-color .4s, border-color .4s, color .4s; }
.pym-pf__endlink .pym-ico { width: 64px; height: 64px; padding: 18px; border-radius: 50%; background: var(--pym-red); color: #fff; transition: transform .4s var(--pym-ease); }
.pym-pf__endlink:hover { background: var(--pym-red); border-color: var(--pym-red); color: #fff; }
.pym-pf__endlink:hover .pym-ico { background: #fff; color: var(--pym-red); transform: rotate(-45deg); }
.pym-realisations.is-pinned .pym-pf__viewport { overflow: visible; scroll-snap-type: none; }
.pym-realisations.is-pinned .pym-pf__pin { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; }
.pym-pf--grid .pym-pf__viewport { overflow: visible; }
.pym-pf--grid .pym-pf__track, .pym-pf-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 30px; width: auto; max-width: var(--pym-wrap); margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }
.pym-pf-grid { padding-inline: 0; }
.pym-pf--grid .pym-pf__item, .pym-pf-grid .pym-pf__item { width: auto; }

/* Pourquoi moi ---------------------------------------------------------- */
.pym-pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: p; }
.pym-pillar { position: relative; padding: 34px 28px; border-radius: var(--pym-radius); border: 1px solid var(--pym-line); background: linear-gradient(180deg, rgba(242, 242, 242, .6), transparent); transition: transform .5s var(--pym-ease), box-shadow .5s var(--pym-ease), border-color .5s; }
.pym-bg-dark .pym-pillar { background: linear-gradient(180deg, rgba(255, 255, 255, .05), transparent); }
.pym-pillar:hover { transform: translateY(-6px); border-color: rgba(215, 25, 32, .35); box-shadow: 0 30px 60px -40px rgba(215, 25, 32, .6); }
.pym-pillar__ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: rgba(215, 25, 32, .1); color: var(--pym-red); margin-bottom: 26px; }
.pym-pillar__num { position: absolute; top: 26px; right: 26px; font: 800 1rem var(--pym-font-head); opacity: .3; }
.pym-pillar h3 { font-size: 1.12rem; }
.pym-pillar p { color: var(--pym-muted); font-size: .95rem; margin: 0; }

/* Méthode --------------------------------------------------------------- */
.pym-timeline { position: relative; }
.pym-timeline__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; position: relative; }
.pym-timeline__line { position: absolute; left: 0; right: 0; top: 27px; height: 2px; background: var(--pym-line); }
.pym-timeline__line span { position: absolute; inset: 0; background: linear-gradient(90deg, var(--pym-red), var(--pym-red-dark)); transform-origin: 0 50%; transform: scaleX(var(--tp, 1)); }
.pym-step__dot { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--pym-black); color: #fff; font: 800 1.1rem var(--pym-font-head); box-shadow: 0 0 0 8px var(--pym-grey); margin-bottom: 26px; transition: background-color .5s; }
.pym-bg-white .pym-step__dot { box-shadow: 0 0 0 8px var(--pym-white); }
.pym-bg-dark .pym-step__dot { box-shadow: 0 0 0 8px var(--pym-black); background: #222; }
.pym-step.is-on .pym-step__dot { background: var(--pym-red); }
.pym-step h3 { font-size: 1.15rem; }
.pym-step p { color: var(--pym-muted); font-size: .95rem; }

/* Témoignages ----------------------------------------------------------- */
.pym-tm__track { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.pym-tm[data-mode="carousel"] .pym-tm__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 24px; padding-bottom: 6px; }
.pym-tm[data-mode="carousel"] .pym-tm__track::-webkit-scrollbar { display: none; }
.pym-tm[data-mode="carousel"] .pym-tm__item { flex: 0 0 min(520px, 86%); scroll-snap-align: start; }
.pym-tm__card { margin: 0; height: 100%; padding: 34px; border-radius: var(--pym-radius); border: 1px solid var(--pym-line); background: var(--pym-white); display: flex; flex-direction: column; }
.pym-bg-white .pym-tm__card { background: var(--pym-grey); }
.pym-bg-dark .pym-tm__card { background: rgba(255, 255, 255, .05); }
.pym-tm__q { width: 36px; height: 36px; color: var(--pym-red); margin-bottom: 16px; }
.pym-tm__card blockquote { margin: 0 0 24px; font-size: 1.08rem; flex: 1; }
.pym-tm__card figcaption { display: flex; align-items: center; gap: 14px; font-size: .9rem; }
.pym-tm__card figcaption span { display: grid; opacity: .85; }
.pym-tm__photo { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.pym-tm__ctrl { display: flex; gap: 12px; margin-top: 26px; }

/* Contact --------------------------------------------------------------- */
.pym-contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: start; }
.pym-contact .pym-head { margin-bottom: 30px; }
.pym-contact__list { display: grid; gap: 18px; margin: 34px 0 26px; }
.pym-contact__list li { display: flex; align-items: center; gap: 16px; }
.pym-contact__list .pym-ico { width: 48px; height: 48px; padding: 13px; border-radius: 50%; border: 1px solid var(--pym-line); color: var(--pym-red); }
.pym-contact__list span { display: grid; line-height: 1.35; }
.pym-contact__list small { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; opacity: .6; }
.pym-contact__list a { text-decoration: none; font-weight: 600; }
.pym-contact__form { padding: clamp(26px, 4vw, 44px); border-radius: calc(var(--pym-radius) + 6px); background: var(--pym-white); color: var(--pym-text); box-shadow: 0 50px 100px -50px rgba(0, 0, 0, .55); }
.pym-bg-white .pym-contact__form { background: var(--pym-grey); }
.pym-contact__fh { font-size: 1.4rem; }
.pym-bg-dark .pym-contact__form p { color: var(--pym-muted); }
.pym-social { display: flex; gap: 10px; flex-wrap: wrap; }
.pym-social a { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--pym-line); transition: background-color .3s, color .3s, border-color .3s; }
.pym-social a:hover { background: var(--pym-red); border-color: var(--pym-red); color: #fff; }
.pym-map { margin-top: 28px; border-radius: var(--pym-radius); overflow: hidden; aspect-ratio: 16 / 9; }
.pym-map iframe { width: 100%; height: 100%; border: 0; }
.pym-note { padding: 18px; border-radius: 14px; background: rgba(215, 25, 32, .08); }

/* Formulaire (plugin PYM Core) */
.pym-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.pym-field { margin: 0 0 16px; display: grid; gap: 6px; }
.pym-field--full { grid-column: 1 / -1; }
.pym-field label { font: 600 .8rem var(--pym-font-head); letter-spacing: .03em; color: var(--pym-text); }
.pym-field input, .pym-field select, .pym-field textarea { width: 100%; padding: 14px 16px; border-radius: 12px; border: 1.5px solid rgba(17, 17, 17, .12); background: #fff; color: var(--pym-text); font: inherit; font-size: 1rem; transition: border-color .2s, box-shadow .2s; }
.pym-field textarea { resize: vertical; min-height: 130px; }
.pym-field input:focus, .pym-field select:focus, .pym-field textarea:focus { outline: none; border-color: var(--pym-red); box-shadow: 0 0 0 4px rgba(215, 25, 32, .12); }
.pym-field [aria-invalid="true"] { border-color: var(--pym-red); }
.pym-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pym-form__hint, .pym-form__privacy { font-size: .8rem; color: var(--pym-muted); margin: 0 0 16px; }
.pym-form__privacy { margin: 14px 0 0; }
.pym-form .pym-btn { width: 100%; }
.pym-form__status:empty { display: none; }
.pym-form__status { margin-top: 16px; padding: 14px 16px; border-radius: 12px; font-weight: 500; }
.pym-form__status.is-ok { background: #E8F6EC; color: #11622E; }
.pym-form__status.is-error { background: #FDECEC; color: #9B1218; }

/* Appel final ----------------------------------------------------------- */
.pym-final { position: relative; overflow: hidden; color: #fff; background: var(--pym-black); padding-block: calc(var(--pym-space) * 1.25); text-align: center; min-height: 82vh; display: grid; place-items: center; }
.pym-final__bg { position: absolute; inset: 0; background: radial-gradient(70% 80% at 50% 50%, var(--pym-red) 0%, var(--pym-red-dark) 32%, #2a0508 62%, var(--pym-black) 100%); clip-path: circle(var(--fr, 150%) at 50% 50%); }
.pym-final__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.pym-orb--final { left: 50%; right: auto; width: min(70vw, 560px); transform: translate(-50%, -50%); opacity: .4; }
.pym-final__in { position: relative; z-index: 2; display: grid; justify-items: center; gap: 34px; }
.pym-final__title { font-size: calc(clamp(2.3rem, 6vw, 5.4rem) * var(--pym-hscale)); max-width: 16ch; margin: 0; text-shadow: 0 10px 40px rgba(0, 0, 0, .35); }
.pym-final__title em { color: #fff; background: var(--pym-silver); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* Pied de page ---------------------------------------------------------- */
.pym-footer { background: var(--pym-foot-bg); color: var(--pym-foot-text); padding: 90px 0 30px; font-size: .95rem; --pym-line: rgba(255, 255, 255, .12); }
.pym-footer a { text-decoration: none; }
.pym-footer a:hover { color: #fff; }
.pym-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr; gap: 40px; }
.pym-footer__brand img { width: 96px; margin-bottom: 18px; }
.pym-footer__name { font: 700 1.1rem var(--pym-font-head); color: #fff; margin: 0; }
.pym-footer__role { color: var(--pym-red); font: 600 .74rem var(--pym-font-head); letter-spacing: .16em; text-transform: uppercase; }
.pym-footer__desc { max-width: 36ch; opacity: .85; }
.pym-footer__h { font: 700 .76rem var(--pym-font-head); letter-spacing: .2em; text-transform: uppercase; color: #fff; margin-bottom: 20px; }
.pym-footer .pym-menu { display: grid; gap: 10px; }
.pym-footer__contact a, .pym-footer__contact span { display: inline-flex; align-items: center; gap: 10px; }
.pym-footer__contact .pym-ico { color: var(--pym-red); width: 18px; height: 18px; }
.pym-footer .pym-social { margin-top: 22px; }
.pym-footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 70px; padding-top: 26px; border-top: 1px solid var(--pym-line); font-size: .85rem; opacity: .75; }
.pym-footer__bottom p { margin: 0; }

.pym-fab { position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 90; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: #25D366; color: #fff; box-shadow: 0 16px 34px -10px rgba(0, 0, 0, .45); transition: transform .3s var(--pym-ease); }
.pym-fab .pym-ico { width: 30px; height: 30px; }
.pym-fab:hover { transform: scale(1.08); }
.pym-fab::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: pym-pulse 2.4s ease-out infinite; }
@keyframes pym-pulse { from { transform: scale(1); opacity: .7; } to { transform: scale(1.6); opacity: 0; } }

/* Pages intérieures ----------------------------------------------------- */
.pym-phero { position: relative; overflow: hidden; color: #fff; padding: 180px 0 90px; background: radial-gradient(120% 120% at 85% 20%, var(--pym-hero-b), var(--pym-hero-a) 60%); }
.pym-phero .pym-orb { right: -8%; width: min(50vw, 520px); opacity: .3; }
.pym-phero .pym-wrap { position: relative; z-index: 2; }
.pym-phero__title { max-width: 20ch; font-size: calc(clamp(2.1rem, 4.6vw, 3.8rem) * var(--pym-hscale)); }
.pym-phero__text { color: rgba(255, 255, 255, .75); max-width: 60ch; font-size: 1.1em; margin: 0; }
.pym-prose { max-width: 760px; }
.pym-prose h2 { font-size: 1.8rem; margin-top: 1.6em; }
.pym-prose h3 { font-size: 1.35rem; margin-top: 1.4em; }
.pym-prose ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1.1em; }
.pym-prose ol { list-style: decimal; padding-left: 1.3em; margin-bottom: 1.1em; }
.pym-prose a:not(.pym-btn) { color: var(--pym-red); }
.pym-prose blockquote { margin: 1.6em 0; padding-left: 22px; border-left: 3px solid var(--pym-red); font-size: 1.12em; }
.pym-prose__img { margin: 0 0 30px; border-radius: var(--pym-radius); overflow: hidden; }
.pym-prose .alignwide { max-width: 1200px; }
.pym-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 30px; }
.pym-post { border-radius: var(--pym-radius); overflow: hidden; border: 1px solid var(--pym-line); background: #fff; }
.pym-post__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.pym-post__body { padding: 24px; }
.pym-post__meta { font: 600 .74rem var(--pym-font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--pym-red); margin-bottom: .6em; }
.pym-post__title { font-size: 1.2rem; }
.pym-post__title a { text-decoration: none; }
.pym-post p { color: var(--pym-muted); font-size: .95rem; margin: 0; }
.nav-links { display: flex; gap: 10px; justify-content: center; margin-top: 50px; flex-wrap: wrap; }
.nav-links .page-numbers { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--pym-line); text-decoration: none; }
.nav-links .current { background: var(--pym-black); color: #fff; }
.pym-searchbar { margin-bottom: 40px; }
.search-form { display: flex; gap: 10px; max-width: 520px; }
.search-form label { flex: 1; }
.search-form .search-field { width: 100%; padding: 14px 16px; border-radius: 12px; border: 1.5px solid rgba(17, 17, 17, .14); font: inherit; }
.search-form .search-submit { padding: 0 24px; border-radius: 12px; border: 0; background: var(--pym-red); color: #fff; font-weight: 600; }
.pym-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 44px; }
.pym-filters a { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--pym-line); text-decoration: none; font: 500 .9rem var(--pym-font-head); transition: background-color .3s, color .3s; }
.pym-filters a:hover { border-color: var(--pym-black); }
.pym-filters a[aria-current] { background: var(--pym-black); color: #fff; border-color: var(--pym-black); }
.pym-archive .pym-pf__media { background: #e9e9ec; }
.pym-project__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.pym-project__main { margin: 0; border-radius: var(--pym-radius); overflow: hidden; box-shadow: 0 50px 90px -50px rgba(0, 0, 0, .5); transition: transform .4s var(--pym-ease); }
.pym-project__side { position: sticky; top: 110px; }
.pym-project__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 0 0 30px; padding: 24px; border-radius: var(--pym-radius); background: var(--pym-grey); }
.pym-project__meta dt { font: 600 .72rem var(--pym-font-head); letter-spacing: .16em; text-transform: uppercase; color: var(--pym-red); }
.pym-project__meta dd { margin: 4px 0 0; font-weight: 500; }
.pym-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; margin-top: 60px; }
.pym-gallery figure { margin: 0; border-radius: var(--pym-radius); overflow: hidden; }
.pym-gallery img { width: 100%; height: 100%; object-fit: cover; }
.pym-pnav { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 70px; padding-top: 30px; border-top: 1px solid var(--pym-line); font: 600 .92rem var(--pym-font-head); }
.pym-pnav a { text-decoration: none; }
.pym-pnav a:hover { color: var(--pym-red); }
.pym-service { display: grid; grid-template-columns: 1fr 320px; gap: 60px; align-items: start; }
.pym-service__side { padding: 28px; border-radius: var(--pym-radius); background: var(--pym-grey); position: sticky; top: 110px; }
.pym-service__side .pym-footer__h { color: var(--pym-text); }
.pym-service__side .pym-checks { margin: 0; }
.pym-service__side a { text-decoration: none; }
.pym-service__side a:hover { color: var(--pym-red); }
.pym-service .pym-actions { margin-top: 34px; }

/* Responsive ------------------------------------------------------------ */
@media (max-width: 1100px) {
	.pym-pillars { grid-template-columns: repeat(2, 1fr); }
	.pym-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
	.pym-burger { display: grid; }
	.pym-brand__txt { display: none; }
	.pym-nav { position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; gap: 34px; padding: 100px 24px 40px; background: var(--pym-black); color: #fff; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
	.pym-nav.is-open { opacity: 1; visibility: visible; }
	.pym-nav .pym-menu { flex-direction: column; align-items: center; gap: 22px; }
	.pym-nav .pym-menu a { font-size: 1.5rem; font-weight: 700; }
	.pym-top.is-menu { color: #fff; background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
	.pym-hero__grid { grid-template-columns: 1fr; text-align: left; }
	.pym-hero__sticky { padding: 120px 0 100px; }
	.pym-pcard { width: min(320px, 86vw); }
	.pym-hero .pym-orb { right: -20%; top: 30%; width: 90vw; }
	.pym-about, .pym-contact__grid, .pym-project__grid, .pym-service { grid-template-columns: 1fr; }
	.pym-about__media { max-width: 380px; }
	.pym-timeline__list { grid-template-columns: 1fr; gap: 34px; padding-left: 80px; }
	.pym-timeline__line { left: 27px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
	.pym-timeline__line span { transform-origin: 50% 0; transform: scaleY(var(--tp, 1)); }
	.pym-step { position: relative; }
	.pym-step__dot { position: absolute; left: -80px; top: -6px; }
	.pym-project__side, .pym-service__side { position: static; }
	.pym-pf__head { display: block; }
}
@media (max-width: 640px) {
	:root { --pym-space: min(var(--pym-space), 84px); }
	.pym-pillars, .pym-form__grid, .pym-footer__grid, .pym-project__meta { grid-template-columns: 1fr; }
	.pym-actions .pym-btn { width: 100%; }
	.pym-statement__words { font-size: calc(clamp(2.6rem, 15vw, 5rem) * var(--pym-hscale)); }
	.pym-word--0, .pym-word--1, .pym-word--2 { padding-inline: 0; text-align: left; }
	.pym-word--0 { -webkit-text-stroke-width: 1px; }
	.pym-statement__text { margin: 0; }
	.pym-about__media figcaption { right: 0; }
	.pym-pf__item { width: 78vw; }
	.pym-footer { padding-top: 64px; }
	.pym-brand img { height: 44px; }
}

/* Animations réduites --------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.js .pym-rv { opacity: 1; transform: none; }
}
.pym-services { overflow: hidden; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-scrolling iframe { pointer-events: none; }

/* ===== v1.1 : vidéos, logos clients, blocs par service, avis clients ===== */
.pym-video { position: relative; margin: 0 0 18px; aspect-ratio: 16 / 9; border-radius: calc(var(--pym-radius) - 6px); overflow: hidden; background: radial-gradient(circle at 30% 30%, #3a0a0e, var(--pym-black)); box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .5); }
.pym-video video, .pym-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; object-fit: cover; }
.pym-video__play { position: absolute; inset: 0; width: 100%; padding: 0; border: 0; background: transparent; cursor: pointer; }
.pym-video__play img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--pym-ease), filter .5s; filter: brightness(.82); }
.pym-video__play:hover img { transform: scale(1.05); filter: brightness(.95); }
.pym-video__btn { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; display: grid; place-items: center; border-radius: 50%; background: var(--pym-red); color: #fff; box-shadow: 0 0 0 0 rgba(215, 25, 32, .6); animation: pym-ring 2.2s ease-out infinite; transition: transform .3s var(--pym-ease); }
.pym-video__btn svg { width: 26px; height: 26px; margin-left: 3px; }
.pym-video__play:hover .pym-video__btn { transform: scale(1.1); }
@keyframes pym-ring { 0% { box-shadow: 0 0 0 0 rgba(215, 25, 32, .55); } 100% { box-shadow: 0 0 0 22px rgba(215, 25, 32, 0); } }
.pym-svc__card .pym-video { margin: 0 0 16px; }
.pym-service .pym-video { margin-bottom: 30px; }

/* Bandeau de logos clients */
.pym-logos { padding: clamp(56px, 7vw, 96px) 0 clamp(40px, 5vw, 70px); background: linear-gradient(180deg, var(--pym-grey), var(--pym-white)); overflow: hidden; }
.pym-logos__title { text-align: center; font: 600 .8rem/1 var(--pym-font-head); letter-spacing: .24em; text-transform: uppercase; color: var(--pym-muted); margin-bottom: 34px; }
.pym-logos__stage { display: grid; gap: 22px; padding-block: 18px 30px; transform: perspective(1100px) rotateX(14deg); transform-origin: 50% 100%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.pym-logos__track { display: flex; gap: 22px; width: max-content; animation: pym-marquee var(--pym-logo-speed, 45s) linear infinite; }
.pym-logos__track.is-reverse { animation-direction: reverse; animation-duration: calc(var(--pym-logo-speed, 45s) * 1.15); }
.pym-logos__stage:hover .pym-logos__track { animation-play-state: paused; }
@keyframes pym-marquee { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
.pym-logo { flex: none; width: clamp(150px, 15vw, 210px); height: clamp(84px, 8vw, 112px); display: grid; place-items: center; padding: 18px 26px; border-radius: 18px; background: linear-gradient(160deg, #fff, #f6f6f7); border: 1px solid rgba(17, 17, 17, .06); box-shadow: 0 18px 30px -22px rgba(17, 17, 17, .35), inset 0 1px 0 #fff; transition: transform .5s var(--pym-ease), box-shadow .5s var(--pym-ease); }
.pym-logo a { display: grid; place-items: center; width: 100%; height: 100%; }
.pym-logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; transition: filter .5s, opacity .5s; }
.pym-logos.is-gray .pym-logo img { filter: grayscale(1); opacity: .62; }
.pym-logo:hover { transform: translateY(-8px) scale(1.04); box-shadow: 0 30px 40px -24px rgba(215, 25, 32, .45); }
.pym-logos.is-gray .pym-logo:hover img { filter: none; opacity: 1; }

/* Choix d'affichage et blocs par service */
.pym-views { display: inline-flex; gap: 4px; padding: 5px; margin-bottom: 50px; border-radius: 999px; background: var(--pym-grey); }
.pym-views a { padding: 11px 22px; border-radius: 999px; text-decoration: none; font: 600 .9rem var(--pym-font-head); color: var(--pym-muted); transition: background-color .3s, color .3s, box-shadow .3s; }
.pym-views a[aria-current] { background: var(--pym-black); color: #fff; box-shadow: 0 10px 20px -12px rgba(0, 0, 0, .6); }
.pym-sblock { padding-block: 40px; border-top: 1px solid var(--pym-line); }
.pym-sblock:first-of-type { border-top: 0; padding-top: 0; }
.pym-sblock__head { display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; margin-bottom: 28px; }
.pym-sblock__ico { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; color: #fff; background: linear-gradient(140deg, var(--pym-red), var(--pym-red-dark)); box-shadow: 0 14px 28px -12px rgba(215, 25, 32, .7); }
.pym-sblock__ico .pym-ico { width: 28px; height: 28px; }
.pym-sblock__title { font-size: clamp(1.3rem, 2.2vw, 1.75rem); margin: 0 0 .25em; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.pym-sblock__count { display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 8px; border-radius: 99px; background: var(--pym-grey); font-size: .8rem; color: var(--pym-muted); }
.pym-sblock__txt p { margin: 0; color: var(--pym-muted); max-width: 70ch; }
.pym-scroller { position: relative; }
.pym-scroller__track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 2px 10px; -webkit-overflow-scrolling: touch; }
.pym-scroller__track::-webkit-scrollbar { display: none; }
.pym-scroller__track > .pym-pf__item { width: clamp(240px, 26vw, 330px); scroll-snap-align: start; }
.pym-scroller__ctrl { display: flex; gap: 10px; justify-content: flex-end; margin-top: 16px; }
.pym-scroller__ctrl .pym-round { width: 46px; height: 46px; }
.pym-related { margin-top: 80px; }
.pym-related__title { font-size: clamp(1.5rem, 2.6vw, 2.2rem); margin-bottom: 30px; }
.pym-related__title em { font-style: normal; color: var(--pym-red); }
.pym-pf__badge { display: inline-flex; align-items: center; gap: 5px; margin-left: 10px; padding: 3px 9px; border-radius: 99px; background: rgba(215, 25, 32, .1); color: var(--pym-red); font: 600 .68rem var(--pym-font-head); letter-spacing: .06em; text-transform: uppercase; vertical-align: 1px; }
.pym-pf__badge .pym-ico { width: 12px; height: 12px; }

/* Avis client (sous une réalisation et section Témoignages) */
@property --pym-a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.pym-ptm { position: relative; margin: 0; height: 100%; display: grid; gap: clamp(22px, 3vw, 40px); align-items: center; padding: clamp(26px, 4vw, 48px); border-radius: calc(var(--pym-radius) + 6px); background: radial-gradient(120% 120% at 100% 0%, #2a0709 0%, var(--pym-black) 55%); color: #fff; isolation: isolate; overflow: hidden; }
.pym-ptm::before { content: ""; position: absolute; inset: 0; z-index: -1; padding: 1.5px; border-radius: inherit; background: conic-gradient(from var(--pym-a), transparent 0 55%, var(--pym-red) 70%, #fff 76%, transparent 84%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: pym-orbit 6s linear infinite; }
@keyframes pym-orbit { to { --pym-a: 360deg; } }
.pym-ptm__glow { position: absolute; z-index: -1; width: 60%; aspect-ratio: 1; right: -15%; top: -30%; border-radius: 50%; background: radial-gradient(circle, rgba(215, 25, 32, .35), transparent 65%); animation: pym-breathe 7s ease-in-out infinite; }
@keyframes pym-breathe { 50% { transform: translate(-8%, 10%) scale(1.15); opacity: .7; } }
.pym-ptm.has-image.has-text { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.pym-ptm__shot { justify-self: center; max-width: 420px; width: 100%; perspective: 900px; }
.pym-ptm__shot img { width: 100%; border-radius: 16px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .1); transform: rotateY(-8deg) rotateX(4deg); transition: transform 1.2s var(--pym-ease); }
.pym-ptm:hover .pym-ptm__shot img { transform: none; }
.pym-ptm__kicker { display: inline-flex; align-items: center; gap: 10px; font: 600 .74rem var(--pym-font-head); letter-spacing: .22em; text-transform: uppercase; color: rgba(255, 255, 255, .7); margin-bottom: 18px; }
.pym-ptm__q { width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: var(--pym-red); color: #fff; }
.pym-ptm__text { margin: 0 0 24px; font: 500 clamp(1.1rem, 1.8vw, 1.45rem)/1.5 var(--pym-font-head); letter-spacing: -.01em; color: #fff; }
.pym-ptm__who { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .12); }
.pym-ptm__who strong { font: 700 .95rem var(--pym-font-head); }
.pym-ptm .pym-more { color: #fff; }
.pym-ptm.has-image:not(.has-text) { justify-items: center; text-align: center; }
.pym-ptm.has-image:not(.has-text) .pym-ptm__who { justify-content: center; }
.pym-project__tm { margin-top: 70px; }
.pym-project__tm.pym-rv .pym-ptm__shot img { transform: rotateY(-25deg) rotateX(8deg) scale(.9); }
.pym-project__tm.pym-rv.in .pym-ptm__shot img { transform: rotateY(-8deg) rotateX(4deg); }
.pym-tm .pym-ptm { padding: 30px; }
.pym-tm .pym-ptm.has-image.has-text { grid-template-columns: 1fr; }
.pym-tm .pym-ptm__shot { max-width: 260px; }
.pym-tm[data-mode="carousel"] .pym-tm__item { flex-basis: min(560px, 88%); }
@media (max-width: 960px) {
	.pym-ptm.has-image.has-text { grid-template-columns: 1fr; }
	.pym-sblock__head { grid-template-columns: auto 1fr; }
	.pym-sblock__head .pym-more { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
	.pym-scroller__track > .pym-pf__item { width: 74vw; }
	.pym-views { display: flex; }
	.pym-views a { flex: 1; text-align: center; padding: 11px 12px; }
	.pym-logos__stage { transform: perspective(700px) rotateX(10deg); gap: 14px; }
	.pym-logos__track { gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
	.pym-logos__stage { transform: none; -webkit-mask-image: none; mask-image: none; }
	.pym-logos__track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; padding-inline: 16px; }
	.pym-logo[aria-hidden="true"] { display: none; }
	.pym-ptm::before { animation: none; background: linear-gradient(135deg, var(--pym-red), transparent 60%); }
}
.pym-logos + .pym-archive { padding-top: clamp(24px, 3vw, 48px); }
@media (max-width: 640px) {
	.pym-sblock__head { grid-template-columns: 1fr; gap: 14px; }
	.pym-sblock__ico { width: 50px; height: 50px; border-radius: 14px; }
}

/* v1.2 : image de fond du bandeau des pages intérieures */
.pym-phero.has-image { background: var(--pym-hero-a) var(--pym-phero-img) center / cover no-repeat; }
.pym-phero.has-image::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, rgba(11, 11, 13, calc(var(--pym-phero-dim) + .1)), rgba(11, 11, 13, var(--pym-phero-dim))); }

/* ==========================================================================
   v1.2 : pages de service (visuel 3D, textes animés mot par mot, prestations)
   ========================================================================== */
.pym-split .pym-w { display: inline-block; perspective: 700px; }
.pym-split .pym-w > span { display: inline-block; transform-origin: 50% 100%; animation: pym-wordin 1s var(--pym-ease) both; animation-delay: calc(var(--i) * 70ms + .15s); }
.pym-phero__text--in { animation: pym-fadeup 1s var(--pym-ease) both; animation-delay: .55s; }
@keyframes pym-wordin { from { opacity: 0; transform: translateY(.45em) rotateX(-85deg); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes pym-fadeup { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.pym-sv { padding-top: 0; overflow: hidden; }
.pym-sv__visual { position: relative; margin: -70px auto 0; max-width: 1180px; perspective: 1600px; z-index: 3; }
.pym-sv__stage { transform-style: preserve-3d; transition: transform 1.4s var(--pym-ease), opacity 1.2s var(--pym-ease); }
.js .pym-sv__visual.pym-rv { opacity: 1; transform: none; }
.js .pym-sv__visual.pym-rv .pym-sv__stage { opacity: 0; transform: rotateX(22deg) translateY(60px) scale(.92); }
.js .pym-sv__visual.pym-rv.in .pym-sv__stage { opacity: 1; transform: none; }
.pym-sv__frame { position: relative; margin: 0; border-radius: calc(var(--pym-card-radius) + 6px); overflow: hidden; box-shadow: 0 50px 90px -40px rgba(17, 17, 17, .55), 0 0 0 1px rgba(255, 255, 255, .6) inset; transition: transform .5s var(--pym-ease); animation: pym-float 7s ease-in-out 1.6s infinite; }
.pym-sv__frame img { display: block; width: 100%; height: auto; }
.pym-sv__shine { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .28) 48%, transparent 60%); transform: translateX(-120%); animation: pym-shine 6.5s ease-in-out 2s infinite; pointer-events: none; }
.pym-sv__halo { position: absolute; left: 8%; right: 8%; bottom: -46px; height: 70px; border-radius: 50%; background: radial-gradient(closest-side, rgba(215, 25, 32, .45), transparent); filter: blur(8px); z-index: -1; animation: pym-halo 7s ease-in-out 1.6s infinite; }
@keyframes pym-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes pym-halo { 0%, 100% { opacity: .9; transform: scaleX(1); } 50% { opacity: .55; transform: scaleX(.9); } }
@keyframes pym-shine { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }

.pym-sv__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: start; margin-top: clamp(60px, 8vw, 110px); }
.pym-sv__main .pym-video { margin-bottom: 34px; }
.pym-sv__intro { margin: 0; font: 500 clamp(1.15rem, 1.8vw, 1.45rem)/1.6 var(--pym-font-head); color: var(--pym-black); position: relative; padding-left: 26px; }
.pym-sv__intro::before { content: ""; position: absolute; left: 0; top: .3em; bottom: .3em; width: 4px; border-radius: 4px; background: linear-gradient(var(--pym-red), var(--pym-red-dark)); }
.pym-sv__lt { margin: 0 0 22px; font: 700 .82rem/1.2 var(--pym-font-head); letter-spacing: .2em; text-transform: uppercase; color: var(--pym-red); }
.pym-sv__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; perspective: 1200px; }
.pym-sv__list li { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; padding: 18px 22px; border-radius: var(--pym-card-radius); background: linear-gradient(160deg, #fff, #f7f7f8); border: 1px solid rgba(17, 17, 17, .07); box-shadow: 0 16px 30px -24px rgba(17, 17, 17, .4); transform-origin: 0 50%; transition: transform .9s var(--pym-ease), opacity .8s var(--pym-ease), box-shadow .4s, border-color .4s; transition-delay: calc(var(--i) * 90ms); }
.pym-sv__list li::before { content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 3px; border-radius: 3px; background: var(--pym-red); transform: scaleY(0); transition: transform .4s var(--pym-ease); }
.pym-sv__list li:hover { transform: translateX(6px) translateZ(20px); box-shadow: 0 26px 40px -26px rgba(215, 25, 32, .45); border-color: rgba(215, 25, 32, .25); transition-delay: 0s; }
.pym-sv__list li:hover::before { transform: scaleY(1); }
.pym-sv__num { font: 800 1.5rem/1 var(--pym-font-head); color: transparent; -webkit-text-stroke: 1.2px var(--pym-red); min-width: 2ch; }
.pym-sv__txt { font-weight: 500; color: var(--pym-black); }
.pym-sv__ok { width: 22px; height: 22px; color: var(--pym-red); }
.js .pym-sv__list.pym-rv { opacity: 1; transform: none; }
.js .pym-sv__list.pym-rv li { opacity: 0; transform: rotateY(-38deg) translateX(-40px); }
.js .pym-sv__list.pym-rv.in li { opacity: 1; transform: none; }
.js .pym-sv__list.pym-rv.in li:hover { transform: translateX(6px) translateZ(20px); }

.pym-sv__end { margin-top: clamp(70px, 9vw, 130px); text-align: center; max-width: 980px; }
.pym-sv__closing { margin: 0 auto 18px; font: 700 clamp(1.5rem, 3.2vw, 2.5rem)/1.25 var(--pym-font-head); color: var(--pym-black); letter-spacing: -.01em; }
.pym-sv__closing--sub { font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 600; color: var(--pym-red); }
.pym-sv__closing .pym-w { display: inline-block; perspective: 700px; }
.pym-sv__closing .pym-w > span { display: inline-block; transform-origin: 50% 100%; transition: transform 1s var(--pym-ease), opacity .9s var(--pym-ease), filter .9s; transition-delay: calc(var(--i) * 45ms); }
.js .pym-sv__end.pym-rv { opacity: 1; transform: none; }
.js .pym-sv__end.pym-rv .pym-w > span { opacity: 0; transform: translateY(.5em) rotateX(-80deg); filter: blur(3px); }
.js .pym-sv__end.pym-rv.in .pym-w > span { opacity: 1; transform: none; filter: none; }
.pym-sv__end .pym-actions { justify-content: center; margin-top: 36px; }

.pym-sv__others { margin-top: clamp(70px, 8vw, 110px); padding-top: 40px; border-top: 1px solid rgba(17, 17, 17, .08); }
.pym-sv__others ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.pym-sv__others a { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; background: var(--pym-grey); color: var(--pym-black); text-decoration: none; font: 600 .9rem/1.2 var(--pym-font-head); transition: background-color .3s, color .3s, transform .3s var(--pym-ease); }
.pym-sv__others a:hover { background: var(--pym-black); color: #fff; transform: translateY(-3px); }
.pym-sv__others .pym-ico { width: 18px; height: 18px; color: var(--pym-red); }
.pym-sv .pym-related { margin-top: clamp(60px, 8vw, 100px); }

@media (max-width: 900px) {
	.pym-sv__visual { margin-top: -40px; }
	.pym-sv__grid { grid-template-columns: 1fr; }
	.pym-sv__list li { padding: 16px 18px; gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
	.pym-split .pym-w > span, .pym-phero__text--in, .pym-sv__frame, .pym-sv__shine, .pym-sv__halo { animation: none !important; }
	.js .pym-sv__visual.pym-rv .pym-sv__stage, .js .pym-sv__list.pym-rv li, .js .pym-sv__end.pym-rv .pym-w > span { opacity: 1 !important; transform: none !important; filter: none !important; }
}

/* v1.2 : vidéos des réalisations */
.pym-pvideos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 24px; margin-top: 60px; }
.pym-pvideos.is-single { max-width: 980px; }
.pym-pvideos__item .pym-video { margin: 0; }

/* ==========================================================================
   v1.3 : cartes de services cliquables, offres, page À propos, réalisations par service
   ========================================================================== */
.pym-svc__link { color: inherit; text-decoration: none; }
.pym-svc__link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.pym-svc__card .pym-video, .pym-svc__links, .pym-svc__img { position: relative; z-index: 2; }
.pym-svc__card:hover .pym-svc__title, .pym-svc__link:focus-visible { color: var(--pym-red); }
.pym-svc__card { cursor: pointer; }

.pym-offers__nav { justify-content: center; }
.pym-offers__nav span { opacity: .55; }
.pym-offers__block { scroll-margin-top: 110px; }
.pym-offers__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 28px; align-items: start; perspective: 1400px; }
.pym-offer { position: relative; display: flex; flex-direction: column; border-radius: calc(var(--pym-card-radius) + 4px); background: #fff; border: 1px solid rgba(17, 17, 17, .08); box-shadow: 0 30px 50px -36px rgba(17, 17, 17, .45); overflow: hidden; transition: transform .6s var(--pym-ease), box-shadow .5s, opacity .8s var(--pym-ease); }
.pym-offer:hover { transform: translateY(-8px) rotateX(3deg); box-shadow: 0 46px 70px -40px rgba(215, 25, 32, .5); }
.js .pym-offer.pym-rv { transform: rotateY(-18deg) translateY(40px); }
.js .pym-offer.pym-rv.in { transform: none; }
.js .pym-offer.pym-rv.in:hover { transform: translateY(-8px) rotateX(3deg); }
.pym-offer__media { position: relative; background: #0b0b0d; }
.pym-offer__media.is-video { aspect-ratio: 9 / 16; }
.pym-offer__media video { display: block; width: 100%; height: 100%; object-fit: cover; background: #000; }
.pym-offer__media.is-video .pym-video { height: 100%; margin: 0; border-radius: 0; }
.pym-offer__zoom { display: block; position: relative; background: #f4f4f5; }
.pym-offer__zoom img { display: block; width: 100%; height: auto; transition: transform .8s var(--pym-ease); }
.pym-offer__zoom:hover img { transform: scale(1.04); }
.pym-offer__plus { position: absolute; right: 14px; bottom: 14px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--pym-red); color: #fff; font: 600 1.5rem/1 var(--pym-font-head); box-shadow: 0 10px 24px -8px rgba(215, 25, 32, .7); transition: transform .4s var(--pym-ease); }
.pym-offer__zoom:hover .pym-offer__plus { transform: rotate(90deg) scale(1.08); }
.pym-offer__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.pym-offer__title { margin: 0; font-size: 1.08rem; line-height: 1.3; }
.pym-offer__text { margin: 0; color: var(--pym-muted, #555); font-size: .95rem; }
.pym-sv__offers { margin-top: clamp(70px, 8vw, 110px); }
.pym-sv__offers .pym-related__title { margin-bottom: 34px; }

.pym-lightbox { border: 0; padding: 0; background: transparent; max-width: min(94vw, 1100px); max-height: 92vh; overflow: visible; }
.pym-lightbox::backdrop { background: rgba(8, 8, 10, .88); backdrop-filter: blur(4px); }
.pym-lightbox img { display: block; max-width: 100%; max-height: 90vh; width: auto; height: auto; border-radius: 14px; box-shadow: 0 40px 80px rgba(0, 0, 0, .5); }
.pym-lightbox__close { position: absolute; top: -18px; right: -18px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: var(--pym-black); font: 400 1.8rem/1 var(--pym-font-head); cursor: pointer; box-shadow: 0 8px 20px rgba(0, 0, 0, .3); }

.pym-related__grid { margin-top: 30px; }
.pym-related__all { margin: 26px 0 0; text-align: right; }
.pym-sblock { scroll-margin-top: 110px; }
.pym-project__main--video { aspect-ratio: 9 / 16; max-height: 82vh; margin-inline: auto; background: #000; }
.pym-project__main--video video { width: 100%; height: 100%; object-fit: contain; display: block; }
.pym-project__main a[data-lightbox] { display: block; cursor: zoom-in; }

/* Page À propos */
.pym-dg__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.pym-dg__media { position: relative; margin: 0; perspective: 1400px; }
.pym-dg__card { position: relative; border-radius: calc(var(--pym-card-radius) + 10px); overflow: hidden; box-shadow: 0 60px 90px -50px rgba(17, 17, 17, .6); animation: pym-float 7s ease-in-out 1.5s infinite; }
.pym-dg__card img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
.pym-dg__card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); background: linear-gradient(180deg, transparent 60%, rgba(17, 17, 17, .35)); }
.pym-dg__shine { position: absolute; inset: 0; z-index: 1; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .3) 48%, transparent 60%); transform: translateX(-120%); animation: pym-shine 7s ease-in-out 2s infinite; pointer-events: none; }
.pym-dg__halo { position: absolute; left: 10%; right: 10%; bottom: -40px; height: 60px; border-radius: 50%; background: radial-gradient(closest-side, rgba(215, 25, 32, .45), transparent); filter: blur(8px); z-index: -1; }
.js .pym-dg__media.pym-rv { transform: rotateY(18deg) translateX(-30px); }
.js .pym-dg__media.pym-rv.in { transform: none; }
.pym-dg__name { margin: 0 0 6px; }
.pym-dg__role { margin: 0 0 26px; font: 600 .95rem var(--pym-font-head); color: var(--pym-red); letter-spacing: .02em; }
.pym-dg__quote { position: relative; margin: 30px 0 0; padding: 24px 28px 24px 70px; border-radius: var(--pym-card-radius); background: var(--pym-grey); font: 500 1.1rem/1.55 var(--pym-font-head); }
.pym-dg__quote p { margin: 0; }
.pym-dg__q { position: absolute; left: 24px; top: 24px; width: 30px; height: 30px; color: var(--pym-red); }
.pym-team .pym-head { text-align: center; margin-inline: auto; }
.pym-team__group { margin: 0 0 50px; border-radius: calc(var(--pym-card-radius) + 6px); overflow: hidden; box-shadow: 0 40px 70px -46px rgba(17, 17, 17, .55); }
.pym-team__group img { display: block; width: 100%; height: auto; }
.pym-team__group figcaption { padding: 14px 20px; background: #fff; font-size: .92rem; color: #555; }
.pym-team__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 30px; perspective: 1400px; }
.pym-member { text-align: center; }
.js .pym-member.pym-rv { transform: rotateX(-25deg) translateY(40px); transform-origin: 50% 100%; }
.js .pym-member.pym-rv.in { transform: none; }
.pym-member__photo { position: relative; aspect-ratio: 4 / 5; border-radius: calc(var(--pym-card-radius) + 4px); overflow: hidden; background: linear-gradient(160deg, #fff, #e9e9ec); box-shadow: 0 30px 50px -34px rgba(17, 17, 17, .55); margin-bottom: 18px; transition: transform .5s var(--pym-ease); }
.pym-member__photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--pym-ease); }
.pym-member:hover .pym-member__photo img { transform: scale(1.05); }
.pym-member__initials { position: absolute; inset: 0; display: grid; place-items: center; font: 800 4rem var(--pym-font-head); color: var(--pym-red); opacity: .35; }
.pym-member__name { margin: 0 0 4px; font-size: 1.12rem; }
.pym-member__role { margin: 0; color: var(--pym-red); font: 600 .85rem var(--pym-font-head); letter-spacing: .03em; }
.pym-member__bio { margin: 10px 0 0; font-size: .93rem; color: #555; }

@media (max-width: 900px) {
	.pym-dg__grid { grid-template-columns: 1fr; }
	.pym-dg__media { max-width: 460px; margin-inline: auto; }
	.pym-related__all { text-align: left; }
	.pym-offers__grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 22px; }
}
@media (prefers-reduced-motion: reduce) {
	.pym-dg__card, .pym-dg__shine { animation: none !important; }
	.js .pym-offer.pym-rv, .js .pym-member.pym-rv, .js .pym-dg__media.pym-rv { transform: none !important; }
}

/* Les cartes de côté (en retrait 3D) passent derrière le plan du carrousel : seul le carrousel recevait les clics.
   Le plan lui-même ne capte plus les clics, chaque carte visible les reçoit. */
.pym-carousel.is-ready[data-mode="carousel"] .pym-carousel__ring { pointer-events: none; }
.pym-carousel.is-ready[data-mode="carousel"] .pym-svc { pointer-events: auto; }


/* v1.3.1 : emplacements de l'équipe tant que les photos manquent. */
.pym-team__group--soon { display: grid; place-items: center; aspect-ratio: 16 / 7; background: linear-gradient(150deg, #fff, #ececef); border: 2px dashed rgba(17, 17, 17, .14); box-shadow: none; }
.pym-team__soon, .pym-member__soon { display: grid; justify-items: center; gap: 10px; color: #8a8a93; font: 600 .9rem var(--pym-font-head); text-align: center; }
.pym-team__soon .pym-ico { width: 64px; height: 64px; color: var(--pym-red); opacity: .55; }
.pym-member__soon { position: absolute; inset: 0; place-content: center; }
.pym-member__soon .pym-ico { width: 72px; height: 72px; color: var(--pym-red); opacity: .4; }
@media (max-width: 640px) { .pym-team__group--soon { aspect-ratio: 4 / 3; } }

/* v1.3.1 : page Offres rangée par service (sommaire collant, une section par service). */
.pym-offers__nav { position: sticky; top: 84px; z-index: 20; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0 auto 44px; padding: 8px; width: fit-content; max-width: 100%; border-radius: 28px; background: rgba(255, 255, 255, .88); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 0 0 1px rgba(17, 17, 17, .06), 0 14px 30px -20px rgba(17, 17, 17, .4); scrollbar-width: none; }
.pym-offers__nav::-webkit-scrollbar { display: none; }
.admin-bar .pym-offers__nav { top: 116px; }
.pym-offers__nav a { flex: none; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 0; background: transparent; font-size: .84rem; }
.pym-offers.pym-section { padding-top: clamp(40px, 6vw, 70px); }
.pym-offers__nav a span { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px; background: var(--pym-grey); color: var(--pym-muted); font-size: .72rem; opacity: 1; }
.pym-offers__nav a:hover { background: var(--pym-grey); }
.pym-offers__nav a[aria-current] { background: var(--pym-black); color: #fff; }
.pym-offers__nav a[aria-current] span { background: var(--pym-red); color: #fff; }
.pym-offers__block.pym-sblock { margin-bottom: 34px; padding: clamp(22px, 3.2vw, 44px); border: 0; border-radius: 30px; background: linear-gradient(180deg, #F6F6F7, #fff 70%); box-shadow: inset 0 0 0 1px rgba(17, 17, 17, .06), 0 30px 60px -50px rgba(17, 17, 17, .45); scroll-margin-top: 150px; }
.pym-offers__block .pym-sblock__head { padding-bottom: 22px; border-bottom: 1px solid var(--pym-line); }
.pym-offers__custom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 30px; padding: 22px 26px; border-radius: var(--pym-card-radius); background: #fff; border: 1px dashed rgba(17, 17, 17, .16); }
.pym-offers__custom p { margin: 0; max-width: 60ch; color: var(--pym-muted); }
@media (max-width: 960px) { .pym-offers__nav { top: 76px; flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; border-radius: 999px; } }
@media (max-width: 640px) {
	.pym-offers__nav { width: auto; margin-inline: -8px; border-radius: 22px; }
	.pym-offers__block .pym-sblock__head { grid-template-columns: auto 1fr; gap: 12px 14px; align-items: start; }
	.pym-offers__block .pym-sblock__head .pym-more { grid-column: 1 / -1; }
	.pym-offers__block .pym-sblock__title { font-size: 1.22rem; gap: 8px; }
	.pym-offers__block .pym-sblock__ico { width: 46px; height: 46px; border-radius: 14px; }
	.pym-offers__block .pym-sblock__txt p { font-size: .92rem; }
	.pym-offers__custom .pym-btn { width: 100%; justify-content: center; }
}
.pym-team__grid { display: flex; flex-wrap: wrap; justify-content: center; }
.pym-team__grid > .pym-member { flex: 0 1 260px; }
@media (max-width: 640px) { .pym-team__grid { gap: 22px 16px; } .pym-team__grid > .pym-member { flex-basis: calc(50% - 8px); } .pym-member__soon .pym-ico { width: 52px; height: 52px; } .pym-member__name { font-size: 1rem; } }

/* ==========================================================================
   v1.4 : page Services, « Pour qui ? », clients en 3D, vidéos verticales des services
   ========================================================================== */
/* Vidéos des services (format vertical) */
.pym-sv__videos { display: grid; grid-template-columns: minmax(0, 340px); gap: 20px; margin-bottom: 34px; }
.pym-sv__videos.is-many { grid-template-columns: repeat(2, minmax(0, 300px)); }
.pym-sv__videos .pym-video { margin: 0; }
.pym-sv__videos .pym-video.is-file { aspect-ratio: 9 / 16; border-radius: 22px; box-shadow: 0 34px 60px -30px rgba(17, 17, 17, .6); }

/* Page Services */
.pym-svcs__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: clamp(22px, 3vw, 36px); perspective: 1600px; }
.pym-svcs__card { display: flex; flex-direction: column; border-radius: 28px; background: #fff; border: 1px solid rgba(17, 17, 17, .07); box-shadow: 0 40px 70px -50px rgba(17, 17, 17, .55); overflow: hidden; transition: transform .6s var(--pym-ease), box-shadow .5s; }
.pym-svcs__card:hover { transform: translateY(-8px); box-shadow: 0 50px 80px -46px rgba(215, 25, 32, .45); }
.js .pym-svcs__card.pym-rv { transform: rotateX(-16deg) translateY(50px); transform-origin: 50% 100%; transition-delay: var(--d, 0s); }
.js .pym-svcs__card.pym-rv.in { transform: none; }
.pym-svcs__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(150deg, #1a1a1d, #3a0a0e); }
.pym-svcs__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .9s var(--pym-ease); }
.pym-svcs__card:hover .pym-svcs__media img { transform: scale(1.05); }
.pym-svcs__ph { display: grid; place-items: center; height: 100%; color: #fff; }
.pym-svcs__ph .pym-ico { width: 64px; height: 64px; opacity: .7; }
.pym-svcs__body { position: relative; display: flex; flex-direction: column; gap: 12px; flex: 1; padding: 34px 28px 28px; }
.pym-svcs__ico { position: absolute; top: -28px; left: 26px; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; color: #fff; background: linear-gradient(140deg, var(--pym-red), var(--pym-red-dark)); box-shadow: 0 14px 26px -10px rgba(215, 25, 32, .7), inset 0 2px 0 rgba(255, 255, 255, .25); }
.pym-svcs__ico .pym-ico { width: 26px; height: 26px; }
.pym-svcs__title { margin: 6px 0 0; font-size: clamp(1.2rem, 1.8vw, 1.4rem); }
.pym-svcs__title a { color: inherit; text-decoration: none; }
.pym-svcs__title a:hover { color: var(--pym-red); }
.pym-svcs__body p { margin: 0; color: var(--pym-muted); font-size: .97rem; }
.pym-svcs__links { margin-top: auto; padding-top: 8px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }

/* Pour qui ? */

@media (max-width: 640px) {
	.pym-sv__videos.is-many { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.pym-sv__videos { grid-template-columns: minmax(0, 300px); }
}
@media (prefers-reduced-motion: reduce) {
	.js .pym-tcard.pym-rv, .js .pym-svcs__card.pym-rv { transform: none !important; }
}


/* v1.4 : prix « à partir de » */
.pym-price.pym-price { display: inline-flex; align-items: center; gap: 6px; width: fit-content; margin: 4px 0 10px; padding: 6px 14px; border-radius: 999px; font: 700 .85rem/1.25 var(--pym-font-head); color: var(--pym-red, #D71920); background: linear-gradient(180deg, #fff, #fbe9ea); border: 1px solid rgba(215,25,32,.22); box-shadow: inset 0 1px 0 #fff, 0 8px 16px -10px rgba(215,25,32,.6); }
.pym-price.pym-price--lg { font-size: clamp(.95rem, 1.6vw, 1.1rem); padding: 9px 18px; margin-bottom: 18px; }

/* v1.6 : taille des cartes de services de l'accueil (Personnaliser > 5. Services > Taille des cartes). */
.pym-carousel { --svc-k: 1; }
.pym-carousel__ring { grid-template-columns: repeat(auto-fit, minmax(calc(260px * var(--svc-k)), 1fr)); }
.pym-carousel.is-ready[data-mode="carousel"] .pym-svc { width: min(calc(390px * var(--svc-k)), 80vw); margin-left: calc(min(calc(390px * var(--svc-k)), 80vw) / -2); }
.pym-carousel .pym-svc__card { padding: calc(30px * var(--svc-k)) calc(28px * var(--svc-k)) calc(28px * var(--svc-k)); }
.pym-carousel .pym-svc__img { width: calc(100% + 56px * var(--svc-k)); margin: calc(-30px * var(--svc-k)) calc(-28px * var(--svc-k)) calc(22px * var(--svc-k)); }
.pym-carousel .pym-svc__top { margin-bottom: calc(26px * var(--svc-k)); }
.pym-carousel .pym-svc__ico { width: calc(60px * var(--svc-k)); height: calc(60px * var(--svc-k)); border-radius: calc(18px * var(--svc-k)); }
.pym-carousel .pym-svc__ico .pym-ico { width: calc(28px * var(--svc-k)); height: calc(28px * var(--svc-k)); }
.pym-carousel .pym-svc__num { font-size: calc(2.6rem * var(--svc-k)); }
.pym-carousel .pym-svc__title { font-size: max(1.05rem, calc(1.32rem * var(--svc-k))); }
.pym-carousel .pym-svc__text { font-size: max(.88rem, calc(.97rem * var(--svc-k))); }
