/* ==========================================================================
   Yenigom — styles principaux
   3 designs : .skin-nova (sombre tech), .skin-clarte (éditorial clair),
   .skin-savane (chaleureux géométrique). Variables surchargées par le Customizer.
   ========================================================================== */

/* ---------- Jetons (Nova par défaut) ---------- */
body.yg {
	--yg-bg: #0a0d18;
	--yg-bg-alt: #0f1424;
	--yg-surface: #131a2e;
	--yg-surface-2: #1a2340;
	--yg-text: #e9edf7;
	--yg-muted: #9aa5c0;
	--yg-border: rgba(255, 255, 255, .09);
	--yg-primary: #7c5cff;
	--yg-on-primary: #ffffff;
	--yg-accent: #22d3ee;
	--yg-header-bg: rgba(10, 13, 24, .72);
	--yg-radius: 16px;
	--yg-radius-sm: calc(var(--yg-radius) * .6);
	--yg-shadow: 0 20px 60px -20px rgba(0, 0, 0, .55);
	--yg-font-head: 'Space Grotesk', system-ui, sans-serif;
	--yg-font-body: 'Inter', system-ui, sans-serif;
	--yg-container: 1200px;
	--yg-head-weight: 600;
	--yg-head-tracking: -.025em;
	--yg-section-y: clamp(72px, 10vw, 128px);
	color-scheme: dark;
}

body.yg.skin-clarte {
	--yg-bg: #faf8f4;
	--yg-bg-alt: #f2eee6;
	--yg-surface: #ffffff;
	--yg-surface-2: #f5f2ec;
	--yg-text: #16181d;
	--yg-muted: #5c6270;
	--yg-border: #e3ddd2;
	--yg-primary: #1d4ed8;
	--yg-on-primary: #ffffff;
	--yg-accent: #e8772e;
	--yg-header-bg: rgba(250, 248, 244, .86);
	--yg-radius: 6px;
	--yg-shadow: 0 18px 50px -24px rgba(22, 24, 29, .25);
	--yg-font-head: 'Fraunces', Georgia, serif;
	--yg-head-weight: 600;
	--yg-head-tracking: -.02em;
	color-scheme: light;
}

body.yg.skin-savane {
	--yg-bg: #fff8ef;
	--yg-bg-alt: #fbecd9;
	--yg-surface: #ffffff;
	--yg-surface-2: #fdf1e2;
	--yg-text: #2b1a10;
	--yg-muted: #74594a;
	--yg-border: #f0dcc4;
	--yg-primary: #c2410c;
	--yg-on-primary: #ffffff;
	--yg-accent: #15803d;
	--yg-header-bg: rgba(255, 248, 239, .88);
	--yg-radius: 22px;
	--yg-shadow: 0 22px 50px -24px rgba(120, 53, 15, .35);
	--yg-font-head: 'Sora', system-ui, sans-serif;
	--yg-font-body: 'DM Sans', system-ui, sans-serif;
	--yg-head-weight: 700;
	--yg-head-tracking: -.03em;
	color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body.yg {
	margin: 0;
	background: var(--yg-bg);
	color: var(--yg-text);
	font-family: var(--yg-font-body);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--yg-primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.skin-nova a { color: color-mix(in srgb, var(--yg-primary) 55%, #fff); }
h1, h2, h3, h4 { font-family: var(--yg-font-head); font-weight: var(--yg-head-weight); letter-spacing: var(--yg-head-tracking); line-height: 1.12; margin: 0 0 .5em; color: var(--yg-text); }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--yg-accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--yg-primary); color: var(--yg-on-primary); }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { clip: auto; width: auto; height: auto; top: 12px; left: 12px; z-index: 1000; padding: 10px 16px; background: var(--yg-surface); color: var(--yg-text); border-radius: 8px; }

.yg-container { width: 100%; max-width: var(--yg-container); margin: 0 auto; padding: 0 24px; }
.yg-container--narrow { max-width: 780px; }
.yg-container--wide { max-width: calc(var(--yg-container) - 80px); }
.is-center { text-align: center; }
.yg-actions.is-center { justify-content: center; }

.yg-section { padding: var(--yg-section-y) 0; position: relative; }
.yg-section--tight { padding: 48px 0 var(--yg-section-y); }

.yg-h1 { font-size: clamp(2.3rem, 5.6vw, 4.4rem); margin-bottom: .45em; }
.yg-h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.yg-h1 em, .yg-h2 em { font-style: normal; color: var(--yg-primary); }
.skin-nova .yg-h1 em, .skin-nova .yg-h2 em {
	background: linear-gradient(100deg, var(--yg-primary), var(--yg-accent));
	-webkit-background-clip: text; background-clip: text; color: transparent;
}
.skin-clarte .yg-h1 em, .skin-clarte .yg-h2 em { font-style: italic; color: var(--yg-primary); }
.skin-savane .yg-h1 em, .skin-savane .yg-h2 em {
	color: var(--yg-text);
	background: linear-gradient(transparent 62%, color-mix(in srgb, var(--yg-primary) 30%, transparent) 62%);
	padding: 0 .08em;
}
.yg-lead { font-size: 1.12rem; color: var(--yg-muted); max-width: 62ch; }
.yg-eyebrow {
	font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .14em;
	color: var(--yg-accent); margin-bottom: 14px;
}
.yg-eyebrow a { color: inherit; text-decoration: none; }
.skin-clarte .yg-eyebrow { color: var(--yg-muted); font-family: var(--yg-font-body); }
.skin-clarte .yg-eyebrow::before { content: ''; display: inline-block; width: 28px; height: 1px; background: currentColor; vertical-align: middle; margin-right: 12px; }
.skin-savane .yg-eyebrow { color: var(--yg-primary); }

.yg-section-head { margin-bottom: clamp(36px, 5vw, 64px); max-width: 720px; }
.yg-section-head.is-center { margin-left: auto; margin-right: auto; text-align: center; }
.yg-section-head.is-center .yg-lead { margin-left: auto; margin-right: auto; }
.yg-section-head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; max-width: none; flex-wrap: wrap; }
.yg-section-head .yg-h2 { margin-bottom: .35em; }

/* ---------- Boutons ---------- */
.yg-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 48px; padding: 12px 22px; border-radius: calc(var(--yg-radius) * .7);
	font: 600 .97rem/1.2 var(--yg-font-body); text-decoration: none; cursor: pointer;
	border: 1px solid transparent; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
	white-space: nowrap;
}
.yg-btn .yg-icon { width: 18px; height: 18px; transition: transform .2s ease; }
.yg-btn:hover .yg-icon { transform: translateX(3px); }
.yg-btn--primary { background: var(--yg-primary); color: var(--yg-on-primary) !important; }
.yg-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px var(--yg-primary); }
.yg-btn--ghost { background: transparent; color: var(--yg-text) !important; border-color: var(--yg-border); }
.yg-btn--ghost:hover { border-color: var(--yg-text); }
.yg-btn--light { background: #fff; color: #111 !important; }
.yg-btn--light:hover { transform: translateY(-2px); }
.yg-btn--wa { background: #1fa855; color: #fff !important; }
.yg-btn--wa:hover { background: #178a45; }
.yg-btn:disabled { opacity: .6; cursor: wait; }
.skin-clarte .yg-btn { border-radius: 999px; }
.skin-nova .yg-btn--primary { background: linear-gradient(120deg, var(--yg-primary), color-mix(in srgb, var(--yg-primary) 60%, var(--yg-accent))); }
.yg-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.yg-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.yg-link .yg-icon { width: 16px; height: 16px; }

/* ---------- En-tête ---------- */
.yg-header {
	position: relative; z-index: 50; background: var(--yg-header-bg);
	-webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
	border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s;
}
.has-sticky-header .yg-header { position: sticky; top: 0; }
.admin-bar.has-sticky-header .yg-header { top: 32px; }
@media (max-width: 782px) { .admin-bar.has-sticky-header .yg-header { top: 0; } }
.is-scrolled .yg-header { border-bottom-color: var(--yg-border); }
.yg-header__inner { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.yg-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--yg-text) !important; text-decoration: none; font: var(--yg-head-weight) 1.3rem/1 var(--yg-font-head); letter-spacing: -.02em; }
.yg-brand__mark { color: var(--yg-primary); display: inline-flex; }
.custom-logo-link img { max-height: 46px; width: auto; }

.yg-nav { margin-left: auto; }
.yg-menu { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.yg-menu > li { position: relative; }
.yg-menu a {
	display: block; padding: 10px 14px; border-radius: 8px; color: var(--yg-text) !important; text-decoration: none;
	font-weight: 500; font-size: .96rem; opacity: .82; transition: opacity .2s, background .2s;
}
.yg-menu a:hover, .yg-menu .current-menu-item > a { opacity: 1; background: color-mix(in srgb, var(--yg-text) 7%, transparent); }
.yg-menu .sub-menu {
	list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: 0; min-width: 220px;
	background: var(--yg-surface); border: 1px solid var(--yg-border); border-radius: var(--yg-radius-sm); box-shadow: var(--yg-shadow);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s;
}
.yg-menu li:hover > .sub-menu, .yg-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.yg-header__actions { display: flex; align-items: center; gap: 14px; }
.yg-header__actions .yg-btn { min-height: 42px; padding: 10px 18px; font-size: .92rem; }
.yg-nav__mobile-extra { display: none; }

.yg-lang { display: inline-flex; padding: 3px; border: 1px solid var(--yg-border); border-radius: 999px; font-size: .78rem; font-weight: 700; letter-spacing: .04em; }
.yg-lang a { padding: 5px 10px; border-radius: 999px; color: var(--yg-muted) !important; text-decoration: none; line-height: 1; }
.yg-lang a.is-active { background: var(--yg-text); color: var(--yg-bg) !important; }

.yg-burger { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--yg-border); background: transparent; color: var(--yg-text); cursor: pointer; align-items: center; justify-content: center; }
.yg-burger .is-close-icon { display: none; }
.menu-open .yg-burger .is-close-icon { display: block; }
.menu-open .yg-burger .is-open-icon { display: none; }

@media (max-width: 960px) {
	.yg-burger { display: inline-flex; }
	.yg-header__actions { margin-left: auto; }
	.yg-header__actions .yg-lang, .yg-header__actions .yg-btn { display: none; }
	.yg-nav {
		position: fixed; inset: 76px 0 0 0; background: var(--yg-bg); padding: 24px;
		overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .25s ease; margin: 0;
	}
	.has-sticky-header .yg-nav { inset: 76px 0 0 0; }
	.menu-open .yg-nav { opacity: 1; visibility: visible; transform: none; }
	.menu-open { overflow: hidden; }
	.yg-menu { flex-direction: column; gap: 0; }
	.yg-menu a { font-size: 1.25rem; padding: 14px 4px; border-bottom: 1px solid var(--yg-border); border-radius: 0; opacity: 1; }
	.yg-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: none; padding: 0 0 0 16px; }
	.yg-nav__mobile-extra { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; margin-top: 28px; }
	.yg-nav__mobile-extra .yg-btn { width: 100%; }
}

/* ---------- Héros ---------- */
.yg-hero { position: relative; overflow: hidden; padding: clamp(64px, 9vw, 120px) 0 clamp(72px, 10vw, 132px); }
.yg-hero__inner { position: relative; display: grid; gap: 56px; align-items: center; }
.yg-hero--split .yg-hero__inner { grid-template-columns: 1.08fr .92fr; }
.yg-hero--centered .yg-hero__inner { text-align: center; justify-items: center; }
.yg-hero--centered .yg-hero__content { max-width: 920px; }
.yg-hero--centered .yg-hero__lead { margin-left: auto; margin-right: auto; }
.yg-hero--centered .yg-actions, .yg-hero--centered .yg-badges { justify-content: center; }
.yg-hero--centered .yg-hero__visual { width: 100%; max-width: 960px; }
.yg-hero__lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--yg-muted); max-width: 58ch; margin-bottom: 32px; }
.yg-pill {
	display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; margin-bottom: 26px;
	border: 1px solid var(--yg-border); border-radius: 999px; font-size: .86rem; font-weight: 500; color: var(--yg-muted);
	background: color-mix(in srgb, var(--yg-surface) 70%, transparent);
}
.yg-pill .dot, .yg-mock__chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yg-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--yg-accent) 25%, transparent); }
.yg-badges { list-style: none; padding: 0; margin: 34px 0 0; display: flex; flex-wrap: wrap; gap: 10px 26px; color: var(--yg-muted); font-size: .93rem; }
.yg-badges li { display: inline-flex; align-items: center; gap: 8px; }
.yg-badges .yg-icon { width: 18px; height: 18px; color: var(--yg-accent); }

.yg-hero__bg { position: absolute; inset: 0; pointer-events: none; }
.yg-hero__bg span { position: absolute; }
.skin-nova .yg-hero__bg .b1 { width: 620px; height: 620px; top: -260px; right: -120px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--yg-primary) 55%, transparent), transparent 65%); filter: blur(30px); opacity: .7; }
.skin-nova .yg-hero__bg .b2 { width: 520px; height: 520px; bottom: -280px; left: -160px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--yg-accent) 40%, transparent), transparent 65%); filter: blur(40px); opacity: .5; }
.skin-nova .yg-hero__bg .grid { inset: 0; background-image: linear-gradient(var(--yg-border) 1px, transparent 1px), linear-gradient(90deg, var(--yg-border) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); }
.skin-clarte .yg-hero { border-bottom: 1px solid var(--yg-border); }
.skin-clarte .yg-hero .yg-h1 { font-size: clamp(2.6rem, 6.4vw, 5.4rem); font-weight: 500; }
.skin-clarte .yg-hero__bg .grid { inset: 0; background-image: linear-gradient(90deg, var(--yg-border) 1px, transparent 1px); background-size: calc(100% / 6) 100%; opacity: .5; -webkit-mask-image: linear-gradient(#000, transparent 85%); mask-image: linear-gradient(#000, transparent 85%); }
.skin-clarte .yg-pill { background: var(--yg-surface); }
.skin-savane .yg-hero { background: radial-gradient(1200px 500px at 85% -10%, var(--yg-bg-alt), transparent 70%); }
.skin-savane .yg-hero__bg .b1 { width: 0; height: 0; right: 6%; top: 8%; border-left: 70px solid transparent; border-right: 70px solid transparent; border-bottom: 120px solid color-mix(in srgb, var(--yg-accent) 18%, transparent); transform: rotate(14deg); }
.skin-savane .yg-hero__bg .b2 { width: 180px; height: 180px; left: -60px; bottom: 40px; border-radius: 50%; border: 26px solid color-mix(in srgb, var(--yg-primary) 14%, transparent); }
.skin-savane .yg-hero__bg .grid { right: 0; bottom: 0; width: 260px; height: 140px; background-image: radial-gradient(color-mix(in srgb, var(--yg-primary) 40%, transparent) 2px, transparent 2.5px); background-size: 20px 20px; opacity: .55; }
.skin-savane .yg-pill { background: var(--yg-surface); color: var(--yg-text); }
.skin-savane .yg-pill .dot { background: var(--yg-primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--yg-primary) 22%, transparent); }

/* Visuel illustré */
.yg-hero__visual { position: relative; }
.yg-hero__img { width: 100%; border-radius: var(--yg-radius); box-shadow: var(--yg-shadow); object-fit: cover; }
.yg-mock {
	position: relative; border-radius: var(--yg-radius); overflow: hidden;
	background: var(--yg-surface); border: 1px solid var(--yg-border); box-shadow: var(--yg-shadow);
	transform: perspective(1400px) rotateY(-6deg) rotateX(3deg);
}
.yg-hero--centered .yg-mock { transform: none; }
.skin-nova .yg-mock { background: linear-gradient(160deg, color-mix(in srgb, var(--yg-surface-2) 90%, transparent), color-mix(in srgb, var(--yg-surface) 95%, transparent)); }
.skin-savane .yg-mock { transform: rotate(-2deg); }
.yg-mock__bar { display: flex; align-items: center; gap: 7px; padding: 14px 16px; border-bottom: 1px solid var(--yg-border); }
.yg-mock__bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--yg-border); }
.yg-mock__bar i:nth-child(1) { background: #ff5f57; } .yg-mock__bar i:nth-child(2) { background: #febc2e; } .yg-mock__bar i:nth-child(3) { background: #28c840; }
.yg-mock__bar em { margin-left: 10px; font-style: normal; font-size: .78rem; color: var(--yg-muted); padding: 3px 12px; border-radius: 6px; background: color-mix(in srgb, var(--yg-text) 6%, transparent); }
.yg-mock__body { padding: 22px; display: grid; gap: 18px; }
.yg-mock__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.yg-mock__kpi { padding: 14px; border-radius: var(--yg-radius-sm); background: color-mix(in srgb, var(--yg-text) 4%, transparent); border: 1px solid var(--yg-border); }
.yg-mock__kpi small { display: block; font-size: .72rem; color: var(--yg-muted); margin-bottom: 4px; }
.yg-mock__kpi strong { font: 700 1.35rem/1 var(--yg-font-head); }
.yg-mock__kpi strong span { font-size: .8rem; color: var(--yg-muted); }
.yg-mock__chart { color: var(--yg-primary); height: 120px; border-radius: var(--yg-radius-sm); background: color-mix(in srgb, var(--yg-text) 3%, transparent); padding: 10px 0 0; }
.yg-mock__chart svg { width: 100%; height: 100%; }
.yg-mock__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .88rem; }
.yg-mock__list li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--yg-radius-sm); border: 1px solid var(--yg-border); }
.yg-mock__list b { margin-left: auto; font-size: .78rem; color: var(--yg-muted); font-weight: 600; }
.yg-mock__list .bar { width: 90px; height: 6px; border-radius: 6px; background: var(--yg-border); overflow: hidden; }
.yg-mock__list .bar i { display: block; height: 100%; background: var(--yg-accent); }
.yg-mock__list span { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; }
.yg-mock__list span .yg-icon { width: 15px; height: 15px; }
.yg-mock__list .ok { background: color-mix(in srgb, #22c55e 18%, transparent); color: #22c55e; }
.yg-mock__list .run { background: color-mix(in srgb, var(--yg-primary) 18%, transparent); color: var(--yg-primary); }
.yg-mock__chip {
	position: absolute; left: 28px; bottom: -20px; display: inline-flex; align-items: center; gap: 10px;
	padding: 10px 16px; border-radius: 999px; background: var(--yg-surface); border: 1px solid var(--yg-border); box-shadow: var(--yg-shadow);
	font-size: .85rem; font-weight: 600; animation: yg-float 5s ease-in-out infinite;
}
.yg-mock__chip .dot { background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, .2); }
@keyframes yg-float { 50% { transform: translateY(-8px); } }

@media (max-width: 960px) {
	.yg-hero--split .yg-hero__inner { grid-template-columns: 1fr; }
	.yg-mock { transform: none !important; }
}

/* ---------- Cartes génériques ---------- */
.yg-card { background: var(--yg-surface); border: 1px solid var(--yg-border); border-radius: var(--yg-radius); }

/* ---------- Services ---------- */
.yg-services__grid { display: grid; gap: 20px; }
.yg-services__grid--cards { grid-template-columns: repeat(3, 1fr); }
.yg-services__grid--cards .yg-service {
	position: relative; padding: 32px 28px; border-radius: var(--yg-radius); background: var(--yg-surface); border: 1px solid var(--yg-border);
	transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; overflow: hidden;
}
.yg-services__grid--cards .yg-service:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--yg-primary) 50%, var(--yg-border)); box-shadow: var(--yg-shadow); }
.yg-service__num { position: absolute; top: 26px; right: 26px; font: 600 .82rem/1 var(--yg-font-head); color: var(--yg-muted); opacity: .6; }
.yg-service__icon {
	display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: calc(var(--yg-radius) * .75); margin-bottom: 22px;
	color: var(--yg-primary); background: color-mix(in srgb, var(--yg-primary) 12%, transparent);
}
.skin-nova .yg-service__icon { color: var(--yg-accent); background: linear-gradient(140deg, color-mix(in srgb, var(--yg-primary) 30%, transparent), color-mix(in srgb, var(--yg-accent) 15%, transparent)); }
.skin-savane .yg-services__grid--cards .yg-service:nth-child(3n+2) .yg-service__icon { color: var(--yg-accent); background: color-mix(in srgb, var(--yg-accent) 12%, transparent); }
.skin-savane .yg-services__grid--cards .yg-service::after { content: ''; position: absolute; right: -30px; bottom: -30px; width: 90px; height: 90px; border-radius: 50%; background: var(--yg-surface-2); z-index: 0; transition: transform .3s; }
.skin-savane .yg-services__grid--cards .yg-service:hover::after { transform: scale(1.4); }
.skin-savane .yg-service > *:not(.yg-service__num) { position: relative; z-index: 1; }
.skin-savane .yg-service__num { z-index: 1; }
.yg-service__icon .yg-icon { width: 26px; height: 26px; }
.yg-service__title { font-size: 1.24rem; margin-bottom: 10px; }
.yg-service__text { color: var(--yg-muted); margin: 0; font-size: .98rem; }

/* Liste numérotée */
.yg-services__grid--list { gap: 0; border-top: 1px solid var(--yg-border); }
.yg-services__grid--list .yg-service {
	display: grid; grid-template-columns: 80px 56px 1fr 1.3fr; gap: 24px; align-items: center;
	padding: 30px 0; border-bottom: 1px solid var(--yg-border); transition: padding .25s ease, background .25s;
}
.yg-services__grid--list .yg-service:hover { padding-left: 16px; padding-right: 16px; background: var(--yg-surface); }
.yg-services__grid--list .yg-service__num { position: static; font-size: 1.1rem; opacity: 1; color: var(--yg-primary); font-family: var(--yg-font-head); }
.yg-services__grid--list .yg-service__icon { margin: 0; width: 48px; height: 48px; }
.yg-services__grid--list .yg-service__title { margin: 0; font-size: 1.45rem; }

@media (max-width: 960px) {
	.yg-services__grid--cards { grid-template-columns: repeat(2, 1fr); }
	.yg-services__grid--list .yg-service { grid-template-columns: 48px 1fr; gap: 6px 18px; }
	.yg-services__grid--list .yg-service__num { display: none; }
	.yg-services__grid--list .yg-service__icon { grid-row: span 2; align-self: start; }
}
@media (max-width: 620px) { .yg-services__grid--cards { grid-template-columns: 1fr; } }

/* ---------- À propos ---------- */
.yg-about { background: var(--yg-bg-alt); }
.skin-nova .yg-about { background: linear-gradient(180deg, var(--yg-bg), var(--yg-bg-alt)); }
.yg-about__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.yg-prose p { color: var(--yg-muted); }
.yg-checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.yg-checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.yg-checks .yg-icon { flex: none; width: 22px; height: 22px; padding: 3px; border-radius: 50%; color: var(--yg-on-primary); background: var(--yg-primary); stroke-width: 2.4; margin-top: 2px; }
.yg-about__side { display: grid; gap: 20px; }
.yg-about__media img { border-radius: var(--yg-radius); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.yg-stats { display: grid; grid-template-columns: 1fr; gap: 14px; margin: 0; }
.yg-stat { display: flex; flex-direction: column-reverse; padding: 26px 28px; border-radius: var(--yg-radius); background: var(--yg-surface); border: 1px solid var(--yg-border); }
.yg-stat dd { margin: 0; font: var(--yg-head-weight) clamp(2.2rem, 4vw, 3rem)/1 var(--yg-font-head); letter-spacing: -.03em; color: var(--yg-text); }
.yg-stat dt { color: var(--yg-muted); margin-top: 8px; }
.skin-nova .yg-stat dd { background: linear-gradient(100deg, #fff, color-mix(in srgb, var(--yg-accent) 70%, #fff)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.skin-clarte .yg-stats { gap: 0; border-top: 1px solid var(--yg-text); }
.skin-clarte .yg-stat { background: none; border: 0; border-bottom: 1px solid var(--yg-border); border-radius: 0; padding: 22px 0; flex-direction: row-reverse; justify-content: space-between; align-items: baseline; }
.skin-clarte .yg-stat dd { color: var(--yg-primary); }
.skin-savane .yg-stats { grid-template-columns: 1fr 1fr; }
.skin-savane .yg-stat:first-child { grid-column: span 2; background: var(--yg-primary); border-color: var(--yg-primary); }
.skin-savane .yg-stat:first-child dd, .skin-savane .yg-stat:first-child dt { color: var(--yg-on-primary); }
@media (max-width: 960px) { .yg-about__inner { grid-template-columns: 1fr; } }

/* ---------- Démarche ---------- */
.yg-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; position: relative; }
.yg-steps::before { content: ''; position: absolute; top: 28px; left: 8%; right: 8%; height: 1px; background: repeating-linear-gradient(90deg, var(--yg-border) 0 8px, transparent 8px 16px); }
.yg-step { position: relative; text-align: center; padding: 0 8px; }
.yg-step__num {
	position: relative; display: inline-grid; place-items: center; width: 56px; height: 56px; margin-bottom: 22px; border-radius: 50%;
	font: 700 1.2rem/1 var(--yg-font-head); background: var(--yg-bg); border: 1px solid var(--yg-border); color: var(--yg-primary);
}
.skin-nova .yg-step__num { background: var(--yg-surface); box-shadow: 0 0 0 6px var(--yg-bg), 0 0 30px -6px var(--yg-primary); color: var(--yg-text); }
.skin-savane .yg-step__num { background: var(--yg-primary); color: var(--yg-on-primary); border: 0; border-radius: 20px 20px 20px 6px; }
.skin-savane .yg-step:nth-child(even) .yg-step__num { background: var(--yg-accent); }
.yg-step__title { font-size: 1.2rem; }
.yg-step p { color: var(--yg-muted); font-size: .97rem; }
@media (max-width: 960px) {
	.yg-steps { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
	.yg-steps::before { display: none; }
}
@media (max-width: 560px) {
	.yg-steps { grid-template-columns: 1fr; }
	.yg-step { text-align: left; display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; }
	.yg-step__num { grid-row: span 2; margin: 0; }
}

/* ---------- Technologies ---------- */
.yg-tech { padding: 8px 0 var(--yg-section-y); }
.yg-tech__title { text-align: center; font: 600 .82rem/1 var(--yg-font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--yg-muted); margin-bottom: 28px; }
.yg-marquee { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.yg-marquee__track { list-style: none; margin: 0; padding: 0; display: flex; gap: 14px; flex: none; padding-right: 14px; animation: yg-marquee 38s linear infinite; }
.yg-marquee:hover .yg-marquee__track { animation-play-state: paused; }
.yg-marquee__track li { padding: 12px 22px; border-radius: 999px; border: 1px solid var(--yg-border); background: var(--yg-surface); font: 600 1rem/1 var(--yg-font-head); white-space: nowrap; color: var(--yg-text); }
@keyframes yg-marquee { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .yg-marquee__track { animation: none; flex-wrap: wrap; } .yg-marquee { mask-image: none; -webkit-mask-image: none; } .yg-marquee__track[aria-hidden] { display: none; } }

/* ---------- Bandeau CTA ---------- */
.yg-cta-wrap { padding-top: 0; }
.yg-cta {
	position: relative; overflow: hidden; display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap;
	padding: clamp(36px, 6vw, 72px); border-radius: calc(var(--yg-radius) * 1.5);
	background: var(--yg-primary); color: var(--yg-on-primary);
}
.yg-cta .yg-h2 { color: inherit; margin-bottom: .3em; }
.yg-cta .yg-h2 em { color: inherit; -webkit-text-fill-color: currentColor; background: none; text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.yg-cta p { margin: 0; opacity: .88; max-width: 56ch; font-size: 1.08rem; }
.skin-nova .yg-cta { background: linear-gradient(120deg, var(--yg-primary), color-mix(in srgb, var(--yg-primary) 40%, var(--yg-accent))); }
.skin-nova .yg-cta::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 40px 40px; pointer-events: none; -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000); mask-image: linear-gradient(90deg, transparent 30%, #000); }
.skin-clarte .yg-cta { background: var(--yg-text); color: var(--yg-bg); border-radius: var(--yg-radius); }
.skin-savane .yg-cta::before { content: ''; position: absolute; right: -40px; top: -40px; width: 220px; height: 220px; border-radius: 50%; border: 36px solid rgba(255,255,255,.12); }
.skin-savane .yg-cta::after { content: ''; position: absolute; right: 200px; bottom: -30px; width: 0; height: 0; border-left: 50px solid transparent; border-right: 50px solid transparent; border-bottom: 86px solid rgba(255,255,255,.1); }
.yg-cta > * { position: relative; z-index: 1; }

/* ---------- Contact ---------- */
.yg-contact { background: var(--yg-bg-alt); }
.skin-nova .yg-contact { background: var(--yg-bg); }
.yg-contact__inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.yg-contact__form { padding: clamp(24px, 4vw, 40px); box-shadow: var(--yg-shadow); }
.yg-contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.yg-contact-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--yg-muted); }
.yg-contact-list a { color: inherit !important; text-decoration: none; }
.yg-contact-list a:hover { color: var(--yg-text) !important; }
.yg-contact-list .yg-icon { flex: none; width: 20px; height: 20px; margin-top: 3px; color: var(--yg-primary); }
.yg-contact-list--big { margin-top: 32px; gap: 14px; }
.yg-contact-list--big li { align-items: center; padding: 16px 18px; border-radius: var(--yg-radius-sm); background: var(--yg-surface); border: 1px solid var(--yg-border); }
.yg-contact-list--big .yg-icon { width: 40px; height: 40px; padding: 9px; margin: 0; border-radius: 10px; background: color-mix(in srgb, var(--yg-primary) 12%, transparent); }
.yg-contact-list--big .is-wa .yg-icon { color: #1fa855; background: rgba(31, 168, 85, .12); }
.yg-contact-list--big small { display: block; font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; margin-bottom: 2px; }
.yg-contact-list--big a, .yg-contact-list--big span { color: var(--yg-text) !important; font-weight: 500; }
@media (max-width: 960px) { .yg-contact__inner { grid-template-columns: 1fr; } }

/* Formulaire */
.yg-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.yg-field { margin: 0; display: flex; flex-direction: column; gap: 7px; }
.yg-field--full { grid-column: 1 / -1; }
.yg-field label { font-size: .9rem; font-weight: 600; }
.yg-field label small { font-weight: 400; color: var(--yg-muted); }
.yg-field .req { color: var(--yg-primary); }
.yg-form input[type=text], .yg-form input[type=email], .yg-form input[type=tel], .yg-form select, .yg-form textarea, .yg-search input {
	width: 100%; font: inherit; font-size: 1rem; color: var(--yg-text); background: var(--yg-bg);
	border: 1px solid var(--yg-border); border-radius: var(--yg-radius-sm); padding: 13px 15px; transition: border-color .2s, box-shadow .2s;
}
.skin-clarte .yg-form input, .skin-clarte .yg-form select, .skin-clarte .yg-form textarea { background: var(--yg-surface-2); }
.yg-form textarea { resize: vertical; min-height: 140px; }
.yg-form input:focus, .yg-form select:focus, .yg-form textarea:focus, .yg-search input:focus { outline: none; border-color: var(--yg-primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--yg-primary) 18%, transparent); }
.yg-form.was-validated :invalid { border-color: #e5484d; }
.yg-consent { margin: 18px 0 0; font-size: .9rem; color: var(--yg-muted); }
.yg-consent label { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.yg-consent input { margin-top: 4px; accent-color: var(--yg-primary); width: 17px; height: 17px; flex: none; }
.yg-form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 24px; }
.yg-form__or { color: var(--yg-muted); font-size: .9rem; }
.yg-form__notice { padding: 14px 16px; border-radius: var(--yg-radius-sm); margin-bottom: 20px; font-weight: 500; }
.yg-form__notice.is-success { background: rgba(34, 197, 94, .14); color: #15803d; border: 1px solid rgba(34, 197, 94, .35); }
.skin-nova .yg-form__notice.is-success { color: #86efac; }
.yg-form__notice.is-error { background: rgba(229, 72, 77, .12); color: #c62a2f; border: 1px solid rgba(229, 72, 77, .35); }
.skin-nova .yg-form__notice.is-error { color: #fca5a5; }
.yg-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 620px) { .yg-form__grid { grid-template-columns: 1fr; } .yg-form__actions .yg-btn { width: 100%; } .yg-form__or { width: 100%; text-align: center; } }

/* ---------- WhatsApp flottant ---------- */
.yg-wa {
	position: fixed; bottom: 22px; z-index: 90; display: inline-flex; align-items: center; gap: 10px;
	height: 58px; padding: 0 18px 0 16px; border-radius: 999px; background: #1fa855; color: #fff !important; text-decoration: none;
	font-weight: 600; font-size: .95rem; box-shadow: 0 12px 30px -8px rgba(31, 168, 85, .6); transition: transform .2s ease, box-shadow .2s ease;
}
.yg-wa--right { right: 22px; }
.yg-wa--left { left: 22px; }
.yg-wa:hover { transform: translateY(-3px) scale(1.02); }
.yg-wa .yg-icon { width: 28px; height: 28px; stroke-width: 1.6; }
.yg-wa::before { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(31, 168, 85, .5); animation: yg-pulse 2.6s infinite; }
@keyframes yg-pulse { 70% { box-shadow: 0 0 0 14px rgba(31, 168, 85, 0); } 100% { box-shadow: 0 0 0 0 rgba(31, 168, 85, 0); } }
.yg-wa--hint { background: #444; font-size: .8rem; height: auto; padding: 12px 16px; max-width: 260px; white-space: normal; }
.yg-wa--hint::before { display: none; }
@media (max-width: 720px) {
	.yg-wa { width: 58px; padding: 0; justify-content: center; }
	.yg-wa__label { display: none; }
}
@media (min-width: 721px) { .yg-wa--mobile { display: none; } }

/* ---------- Pied de page ---------- */
.yg-footer { background: var(--yg-bg-alt); border-top: 1px solid var(--yg-border); padding: 72px 0 0; font-size: .95rem; }
.skin-nova .yg-footer { background: #070a13; }
.skin-clarte .yg-footer { background: #16181d; color: #d9dbe0; --yg-text: #fff; --yg-muted: #a5aab5; --yg-border: rgba(255,255,255,.12); }
.skin-savane .yg-footer { background: #2b1a10; --yg-text: #fff8ef; --yg-muted: #d8c0ab; --yg-border: rgba(255,255,255,.12); color: var(--yg-muted); }
.yg-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding-bottom: 56px; }
.yg-footer__brand p { color: var(--yg-muted); margin: 18px 0 22px; max-width: 42ch; }
.yg-footer__title { font: 600 .8rem/1 var(--yg-font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--yg-muted); margin-bottom: 20px; }
.yg-footer__menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.yg-footer__menu a { color: var(--yg-text) !important; text-decoration: none; opacity: .85; }
.yg-footer__menu a:hover { opacity: 1; text-decoration: underline; }
.yg-footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 24px; padding-bottom: 28px; border-top: 1px solid var(--yg-border); color: var(--yg-muted); font-size: .88rem; }
.yg-footer__bottom p { margin: 0; }
.yg-footer .yg-brand { color: var(--yg-text) !important; }
.yg-footer .yg-lang a.is-active { background: var(--yg-text); color: #111 !important; }
.yg-socials { display: flex; gap: 10px; }
.yg-socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--yg-border); color: var(--yg-text) !important; transition: background .2s, transform .2s; }
.yg-socials a:hover { background: var(--yg-primary); border-color: var(--yg-primary); color: var(--yg-on-primary) !important; transform: translateY(-2px); }
.yg-socials .yg-icon { width: 19px; height: 19px; }
@media (max-width: 860px) { .yg-footer__grid { grid-template-columns: 1fr 1fr; } .yg-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .yg-footer__grid { grid-template-columns: 1fr; } }

/* ---------- Pages, blog ---------- */
.yg-page-head { padding: clamp(56px, 8vw, 104px) 0 clamp(28px, 4vw, 48px); border-bottom: 1px solid var(--yg-border); }
.yg-page-head__title { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
.yg-meta { color: var(--yg-muted); font-size: .9rem; margin-bottom: 8px; }
.yg-single__thumb { margin-top: 40px; }
.yg-single__thumb img { width: 100%; border-radius: var(--yg-radius); }
.yg-entry { padding-top: 40px; padding-bottom: 40px; font-size: 1.08rem; }
.yg-entry > * + * { margin-top: 1.2em; }
.yg-entry h2 { font-size: 1.9rem; margin-top: 1.8em; }
.yg-entry h3 { font-size: 1.45rem; margin-top: 1.6em; }
.yg-entry p, .yg-entry li { color: color-mix(in srgb, var(--yg-text) 82%, var(--yg-muted)); }
.yg-entry img { border-radius: var(--yg-radius-sm); }
.yg-entry blockquote { margin-left: 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--yg-primary); font-size: 1.2rem; font-style: italic; }
.yg-entry pre, .yg-entry code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .9em; background: var(--yg-surface); border-radius: 6px; }
.yg-entry code { padding: 2px 6px; }
.yg-entry pre { padding: 18px; overflow-x: auto; border: 1px solid var(--yg-border); }
.yg-entry .alignwide { margin-left: -80px; margin-right: -80px; max-width: none; }
@media (max-width: 960px) { .yg-entry .alignwide { margin-left: 0; margin-right: 0; } }
.yg-entry .wp-block-button__link { background: var(--yg-primary); color: var(--yg-on-primary); border-radius: calc(var(--yg-radius) * .7); }
.yg-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.yg-tags a { padding: 6px 12px; border-radius: 999px; background: var(--yg-surface); border: 1px solid var(--yg-border); color: var(--yg-muted) !important; text-decoration: none; font-size: .88rem; }
.yg-post-nav { display: flex; justify-content: space-between; gap: 24px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--yg-border); font-weight: 600; }
.yg-post-nav a { text-decoration: none; }
.yg-post-nav div:last-child { text-align: right; }

.yg-posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.yg-post-card { overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.yg-post-card:hover { transform: translateY(-4px); box-shadow: var(--yg-shadow); }
.yg-post-card__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.yg-post-card__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.yg-post-card__body > p:not(.yg-meta) { color: var(--yg-muted); font-size: .97rem; }
.yg-post-card__body .yg-link { margin-top: auto; }
.yg-post-card__title { font-size: 1.25rem; }
.yg-post-card__title a { color: var(--yg-text) !important; text-decoration: none; }
@media (max-width: 960px) { .yg-posts-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .yg-posts-grid { grid-template-columns: 1fr; } }

.nav-links { display: flex; gap: 8px; justify-content: center; margin-top: 48px; flex-wrap: wrap; }
.nav-links .page-numbers { min-width: 44px; height: 44px; display: inline-grid; place-items: center; padding: 0 12px; border-radius: 10px; border: 1px solid var(--yg-border); color: var(--yg-text) !important; text-decoration: none; }
.nav-links .page-numbers.current { background: var(--yg-primary); border-color: var(--yg-primary); color: var(--yg-on-primary) !important; }

.yg-search { display: flex; gap: 10px; margin-top: 24px; max-width: 560px; }
.yg-404 { text-align: center; }
.yg-404__code { font: 700 clamp(6rem, 18vw, 11rem)/1 var(--yg-font-head); letter-spacing: -.05em; margin: 0; color: var(--yg-primary); opacity: .9; }

.yg-comments { margin-top: 56px; }
.yg-comment-list { list-style: none; padding: 0; }
.yg-comment-list .comment-body { padding: 18px 0; border-bottom: 1px solid var(--yg-border); }
.yg-comment-list .avatar { border-radius: 50%; float: left; margin-right: 12px; }
.comment-form input:not([type=submit]):not([type=checkbox]), .comment-form textarea { width: 100%; padding: 12px; border-radius: var(--yg-radius-sm); border: 1px solid var(--yg-border); background: var(--yg-surface); color: var(--yg-text); font: inherit; }
.comment-form .submit { background: var(--yg-primary); color: var(--yg-on-primary); border: 0; border-radius: calc(var(--yg-radius) * .7); padding: 12px 22px; font: 600 1rem var(--yg-font-body); cursor: pointer; }

/* ---------- Animations d'apparition ---------- */
.reveal-ready [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.reveal-ready [data-reveal].is-visible { opacity: 1; transform: none; }
.customize-partial-edit-shortcuts-shown [data-reveal], .wp-customizer [data-reveal] { opacity: 1 !important; transform: none !important; }

/* ---------- Petits écrans ---------- */
@media (max-width: 600px) {
	body.yg { font-size: 16px; }
	.yg-container { padding: 0 18px; }
	.yg-header__inner { min-height: 68px; gap: 12px; }
	.yg-nav, .has-sticky-header .yg-nav { inset: 68px 0 0 0; }
	.yg-actions .yg-btn { flex: 1 1 auto; }
	.yg-mock__kpis { grid-template-columns: 1fr 1fr; }
	.yg-mock__kpi:last-child { display: none; }
	.yg-cta { padding: 32px 24px; }
	.yg-cta .yg-actions, .yg-cta .yg-btn { width: 100%; }
}
