/*
Theme Name: Sylvain Gengo - SEO GEO AEO
Template: twentytwentyfive
Version: 18.3
Description: Thème enfant moderne/tech pour le site vitrine de Sylvain Gengo, consultant SEO / GEO / AEO / Google Ads / Réseaux sociaux en Creuse.
*/

:root {
	--sg-violet: #7c3aed;
	--sg-violet-light: #a78bfa;
	--sg-violet-deep: #5b21b6;
	--sg-vert: #22c55e;
	--sg-vert-light: #4ade80;
	--sg-cyan: #38bdf8;
	--sg-dark: #0b0817;
	--sg-dark-2: #140f2b;
	--sg-dark-3: #1d1640;
	--sg-lavande: #f6f4ff;
	--sg-gris: #6b7280;
	--sg-gris-clair: #9ca3af;

	--sg-noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");

	--sg-ease: cubic-bezier(0.22, 1, 0.36, 1);
	--sg-radius: 20px;
}

/* ===============================================================
   67. Footer éditorial et maillage local
   =============================================================== */

footer.wp-block-template-part {
	overflow: hidden;
	background: #0f0a22;
}

.sg-footer {
	position: relative;
	isolation: isolate;
	padding: clamp(3.5rem, 6vw, 5.5rem) 1.5rem 1.6rem;
	color: rgb(255 255 255 / 76%);
	background:
		linear-gradient(180deg, rgb(25 16 54 / 98%), rgb(12 8 29) 52%, #0b071b);
}

.sg-footer::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--sg-violet-light), var(--sg-vert-light), transparent);
	opacity: 0.7;
}

.sg-footer__glow {
	position: absolute;
	z-index: -1;
	width: 32rem;
	height: 32rem;
	border-radius: 999px;
	filter: blur(100px);
	pointer-events: none;
}

.sg-footer__glow--violet {
	top: -18rem;
	left: -12rem;
	background: rgb(124 58 237 / 22%);
}

.sg-footer__glow--green {
	right: -18rem;
	bottom: -22rem;
	background: rgb(34 197 94 / 15%);
}

.sg-footer__inner {
	width: min(1180px, 100%);
	margin-inline: auto;
}

.sg-footer__cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	margin-bottom: clamp(3.5rem, 6vw, 5.5rem);
	padding: clamp(1.5rem, 3vw, 2.25rem);
	border: 1px solid rgb(255 255 255 / 12%);
	border-radius: 24px;
	background:
		linear-gradient(135deg, rgb(124 58 237 / 18%), rgb(255 255 255 / 5%) 52%, rgb(34 197 94 / 12%));
	box-shadow: 0 34px 80px -48px rgb(0 0 0 / 90%), inset 0 1px 0 rgb(255 255 255 / 8%);
}

.sg-footer__eyebrow {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	margin: 0 0 0.65rem;
	color: var(--sg-violet-light) !important;
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.13em;
	line-height: 1.4 !important;
	text-transform: uppercase;
}

.sg-footer__eyebrow span {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--sg-vert-light);
	box-shadow: 0 0 0 5px rgb(74 222 128 / 10%);
}

.sg-footer__cta h2 {
	max-width: 720px;
	margin: 0;
	color: #fff !important;
	font-size: clamp(1.55rem, 3vw, 2.5rem) !important;
	line-height: 1.08 !important;
	letter-spacing: -0.035em;
}

footer.wp-block-template-part .sg-footer__cta-button {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	min-height: 52px;
	padding: 0.85rem 1.25rem;
	border-radius: 14px;
	background: var(--sg-vert);
	color: var(--sg-dark) !important;
	font-weight: 800;
	box-shadow: 0 14px 32px rgb(34 197 94 / 24%);
}

footer.wp-block-template-part .sg-footer__cta-button:hover {
	transform: translateY(-2px);
	background: var(--sg-vert-light);
	color: var(--sg-dark) !important;
}

.sg-footer__cta-button span,
.sg-footer__nav a span {
	transition: transform 0.25s var(--sg-ease);
}

.sg-footer__cta-button:hover span,
.sg-footer__nav a:hover span {
	transform: translate(2px, -2px);
}

.sg-footer__grid {
	display: grid;
	grid-template-columns: minmax(260px, 1.35fr) minmax(150px, 0.7fr) minmax(140px, 0.65fr) minmax(290px, 1.2fr);
	gap: clamp(2rem, 4vw, 4.5rem);
	align-items: start;
}

.sg-footer__logo {
	display: inline-flex;
	margin-bottom: 1.15rem;
}

.sg-footer__logo img {
	display: block;
	width: auto;
	height: 48px;
}

.sg-footer__brand > p {
	max-width: 390px;
	margin: 0;
	color: rgb(255 255 255 / 68%) !important;
	font-size: 0.94rem;
	line-height: 1.72 !important;
}

.sg-footer__brand strong {
	color: #fff;
}

.sg-footer__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin: 1.3rem 0 1.25rem;
}

.sg-footer__tags span {
	padding: 0.38rem 0.62rem;
	border: 1px solid rgb(167 139 250 / 18%);
	border-radius: 999px;
	background: rgb(124 58 237 / 9%);
	color: rgb(237 233 254 / 82%);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.05em;
}

.sg-footer__brand .sg-footer__location {
	color: rgb(255 255 255 / 49%) !important;
	font-size: 0.78rem;
}

.sg-footer__location span {
	margin-right: 0.38rem;
	color: var(--sg-vert-light);
	font-size: 0.65rem;
}

.sg-footer__nav h2,
.sg-footer__local h2 {
	margin: 0 0 1.2rem;
	color: #fff !important;
	font-size: 0.78rem !important;
	font-weight: 800 !important;
	letter-spacing: 0.12em;
	line-height: 1.4 !important;
	text-transform: uppercase;
}

.sg-footer__nav ul,
.sg-footer__local ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.sg-footer__nav ul {
	display: grid;
	gap: 0.3rem;
}

footer.wp-block-template-part .sg-footer__nav a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.48rem 0;
	color: rgb(255 255 255 / 66%);
	font-size: 0.91rem;
	line-height: 1.35;
}

.sg-footer__nav a span {
	color: var(--sg-violet-light);
}

footer.wp-block-template-part .sg-footer__nav a:hover {
	color: #fff;
}

.sg-footer__local > p {
	margin: -0.55rem 0 1.05rem;
	color: rgb(255 255 255 / 48%) !important;
	font-size: 0.79rem;
	line-height: 1.5 !important;
}

.sg-footer__local .sg-footer__local-label {
	margin: 1.15rem 0 0.7rem;
	color: rgb(255 255 255 / 38%) !important;
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.sg-footer__local ul {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.5rem;
}

.sg-footer__local .sg-footer__local-hubs {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sg-footer__local-hubs li:last-child {
	grid-column: 1 / -1;
}

footer.wp-block-template-part .sg-footer__local a {
	display: block;
	padding: 0.58rem 0.65rem;
	border: 1px solid rgb(255 255 255 / 8%);
	border-radius: 10px;
	background: rgb(255 255 255 / 4%);
	color: rgb(255 255 255 / 68%);
	font-size: 0.74rem;
	font-weight: 700;
	line-height: 1.25;
	text-align: center;
}

footer.wp-block-template-part .sg-footer__local a:hover {
	border-color: rgb(167 139 250 / 38%);
	background: rgb(124 58 237 / 15%);
	color: #fff;
	transform: translateY(-1px);
}

footer.wp-block-template-part .sg-footer__local-hubs a {
	border-color: rgb(167 139 250 / 20%);
	background: rgb(124 58 237 / 12%);
	color: rgb(237 233 254 / 88%);
}

.sg-footer__bottom {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 1.5rem;
	margin-top: clamp(3rem, 5vw, 4.5rem);
	padding-top: 1.35rem;
	border-top: 1px solid rgb(255 255 255 / 9%);
}

.sg-footer__bottom p {
	margin: 0;
	color: rgb(255 255 255 / 42%) !important;
	font-size: 0.74rem;
	line-height: 1.5 !important;
}

.sg-footer__legal {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1.2rem;
}

footer.wp-block-template-part .sg-footer__legal a,
footer.wp-block-template-part .sg-footer__top {
	color: rgb(255 255 255 / 50%);
	font-size: 0.74rem;
}

footer.wp-block-template-part .sg-footer__legal a:hover,
footer.wp-block-template-part .sg-footer__top:hover {
	color: #fff;
}

.sg-footer__top {
	justify-self: end;
}

.sg-footer__top span {
	display: inline-grid;
	place-items: center;
	width: 28px;
	height: 28px;
	margin-left: 0.4rem;
	border: 1px solid rgb(255 255 255 / 11%);
	border-radius: 9px;
	background: rgb(255 255 255 / 5%);
	color: var(--sg-violet-light);
}

@media (max-width: 1050px) {
	.sg-footer__grid {
		grid-template-columns: minmax(260px, 1.3fr) repeat(2, minmax(150px, 0.7fr));
	}

	.sg-footer__local {
		grid-column: 1 / -1;
		grid-row: auto;
	}
}

@media (max-width: 760px) {
	.sg-footer {
		padding: 2.8rem 1.1rem 1.25rem;
	}

	.sg-footer__cta {
		align-items: stretch;
		flex-direction: column;
		margin-bottom: 3.25rem;
		padding: 1.4rem;
		border-radius: 20px;
	}

	footer.wp-block-template-part .sg-footer__cta-button {
		width: 100%;
		box-sizing: border-box;
	}

	.sg-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 2.6rem 1.5rem;
	}

	.sg-footer__brand,
	.sg-footer__local {
		grid-column: 1 / -1;
	}

	.sg-footer__local {
		grid-row: auto;
	}

	.sg-footer__bottom {
		grid-template-columns: 1fr;
		justify-items: center;
		gap: 0.9rem;
		text-align: center;
	}

	.sg-footer__top {
		justify-self: center;
	}
}

@media (max-width: 440px) {
	.sg-footer__local ul {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.sg-footer__grid {
		grid-template-columns: 1fr 1fr;
	}
}

/* ===============================================================
   0. Base
   =============================================================== */

html {
	scroll-behavior: smooth;
}

body {
	overflow-x: hidden;
}

/* ===============================================================
   1. Barre de progression de lecture
   =============================================================== */

.sg-progress {
	position: fixed;
	top: 0;
	left: 0;
	height: 3px;
	width: 100%;
	transform: scaleX(0);
	transform-origin: left;
	background: linear-gradient(90deg, var(--sg-violet), var(--sg-cyan), var(--sg-vert));
	z-index: 9999;
	pointer-events: none;
}

/* ===============================================================
   2. En-tête collant
   =============================================================== */

.wp-site-blocks > header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 999;
	transition: background 0.4s var(--sg-ease), backdrop-filter 0.4s var(--sg-ease),
	            box-shadow 0.4s var(--sg-ease), padding 0.35s var(--sg-ease);
}

/* Décalage sous la barre d'admin WordPress (utilisateur connecté) */
body.admin-bar .wp-site-blocks > header {
	top: 32px;
}

@media screen and (max-width: 782px) {
	body.admin-bar .wp-site-blocks > header {
		top: 46px;
	}
}

/* Au sommet : transparent, texte clair par-dessus le hero sombre */
.wp-site-blocks > header .wp-block-site-title a,
.wp-site-blocks > header .wp-block-navigation a {
	color: #fff !important;
	transition: color 0.35s var(--sg-ease);
}

.wp-site-blocks > header .wp-block-navigation a {
	font-weight: 500;
	position: relative;
	text-decoration: none !important;
}

/* Le dégradé animé ci-dessous est l'unique soulignement du menu. */
.wp-site-blocks > header .wp-block-navigation a:hover,
.wp-site-blocks > header .wp-block-navigation a:focus,
.wp-site-blocks > header .wp-block-navigation a:active,
.wp-site-blocks > header .wp-block-navigation a:visited {
	text-decoration: none !important;
}

/* Soulignement animé du menu */
.wp-site-blocks > header .wp-block-navigation-item > a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -5px;
	width: 100%;
	height: 2px;
	border-radius: 2px;
	background: linear-gradient(90deg, var(--sg-violet-light), var(--sg-vert));
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.35s var(--sg-ease);
}

.wp-site-blocks > header .wp-block-navigation-item > a:hover::after {
	transform: scaleX(1);
	transform-origin: left;
}

/* Après défilement : fond translucide flouté */
.sg-scrolled .wp-site-blocks > header {
	background: rgba(11, 8, 23, 0.72);
	backdrop-filter: blur(18px) saturate(180%);
	-webkit-backdrop-filter: blur(18px) saturate(180%);
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08), 0 12px 40px -18px rgba(0, 0, 0, 0.9);
}

.wp-site-blocks > header .wp-block-site-title {
	font-size: 1.15rem !important;
	font-weight: 800 !important;
	letter-spacing: -0.02em;
}

/* Menu mobile : fond sombre lisible */
.wp-block-navigation__responsive-container.is-menu-open {
	background: var(--sg-dark) !important;
}

.wp-block-navigation__responsive-container.is-menu-open a {
	color: #fff !important;
}

/* ===============================================================
   3. Typographie
   =============================================================== */

.sg-display {
	font-size: clamp(2.6rem, 7vw, 5.4rem) !important;
	line-height: 0.98 !important;
	letter-spacing: -0.035em !important;
	font-weight: 800 !important;
}

.sg-title {
	font-size: clamp(2rem, 4.4vw, 3.4rem) !important;
	line-height: 1.04 !important;
	letter-spacing: -0.03em !important;
	font-weight: 800 !important;
}

.sg-gradient-text {
	background: linear-gradient(115deg, var(--sg-violet-light) 0%, var(--sg-cyan) 45%, var(--sg-vert) 100%);
	background-size: 200% 100%;
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
	animation: sg-shine 8s ease-in-out infinite alternate;
	font-style: normal;
}

@keyframes sg-shine {
	0%   { background-position: 0% 50%; }
	100% { background-position: 100% 50%; }
}

.sg-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.65em;
	font-size: 0.74rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	margin-bottom: 1.4rem !important;
	color: var(--sg-violet);
}

.sg-dark-zone .sg-eyebrow {
	color: var(--sg-vert-light);
}

.sg-eyebrow::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: currentColor;
	animation: sg-pulse 2.4s infinite;
	flex: none;
}

@keyframes sg-pulse {
	0%   { box-shadow: 0 0 0 0 currentColor; opacity: 1; }
	70%  { box-shadow: 0 0 0 11px transparent; opacity: 0.75; }
	100% { box-shadow: 0 0 0 0 transparent; opacity: 1; }
}

.sg-lead {
	font-size: clamp(1.08rem, 1.5vw, 1.32rem) !important;
	line-height: 1.6 !important;
	opacity: 0.88;
	max-width: 62ch;
	/* WordPress centre automatiquement les enfants plus étroits que le conteneur
	   dans une mise en page « contrainte » : on force l'alignement à gauche. */
	margin-inline: 0;
}

.has-text-align-center .sg-lead,
.sg-lead.has-text-align-center {
	margin-inline: auto;
}

/* ===============================================================
   4. Zones sombres
   =============================================================== */

.sg-dark-zone {
	position: relative;
	isolation: isolate;
	background: var(--sg-dark);
	color: #fff;
	overflow: hidden;
}

.sg-dark-zone h1,
.sg-dark-zone h2,
.sg-dark-zone h3,
.sg-dark-zone h4,
.sg-dark-zone p,
.sg-dark-zone li,
.sg-dark-zone strong {
	color: #fff;
}

.sg-dark-zone p:not(.sg-eyebrow) {
	color: rgba(255, 255, 255, 0.74);
}

/* Aurore animée */
.sg-aurora::before {
	content: "";
	position: absolute;
	inset: -30%;
	z-index: -2;
	background:
		radial-gradient(38% 44% at 18% 22%, rgba(124, 58, 237, 0.75) 0%, transparent 62%),
		radial-gradient(34% 40% at 82% 26%, rgba(56, 189, 248, 0.42) 0%, transparent 64%),
		radial-gradient(44% 48% at 52% 92%, rgba(34, 197, 94, 0.4) 0%, transparent 66%),
		radial-gradient(30% 36% at 88% 78%, rgba(167, 139, 250, 0.45) 0%, transparent 60%);
	filter: blur(30px);
	animation: sg-aurora 26s ease-in-out infinite alternate;
}

@keyframes sg-aurora {
	0%   { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
	50%  { transform: translate3d(4%, -3%, 0) rotate(6deg) scale(1.12); }
	100% { transform: translate3d(-4%, 4%, 0) rotate(-6deg) scale(1.05); }
}

/* Texture de grain */
.sg-dark-zone::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image: var(--sg-noise);
	opacity: 0.16;
	mix-blend-mode: overlay;
	pointer-events: none;
}

/* Grille technique */
.sg-grid-lines {
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
	background-size: 64px 64px;
	mask-image: radial-gradient(ellipse 75% 65% at 50% 40%, #000 20%, transparent 78%);
	-webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 40%, #000 20%, transparent 78%);
	pointer-events: none;
}

/* ===============================================================
   5. Hero
   =============================================================== */

.sg-hero {
	padding-top: clamp(150px, 17vw, 230px) !important;
	padding-bottom: clamp(90px, 12vw, 150px) !important;
	min-height: 88vh;
	display: flex;
	align-items: center;
}

.sg-hero .sg-display {
	max-width: 15ch;
	margin-inline: 0;
}

.sg-hero.has-text-align-center .sg-display,
.sg-hero .sg-display.has-text-align-center {
	margin-inline: auto;
}

/* Hero réduit des pages internes */
.sg-page-hero {
	padding-top: clamp(140px, 15vw, 200px) !important;
	padding-bottom: clamp(60px, 8vw, 100px) !important;
	text-align: center;
}

.sg-page-hero .sg-lead {
	margin-inline: auto;
}

/* Badges de confiance */
.sg-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	margin-top: 2.6rem !important;
}

.sg-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	padding: 0.55em 1.15em;
	border-radius: 100px;
	font-size: 0.85rem;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.9);
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.14);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	transition: transform 0.3s var(--sg-ease), background 0.3s var(--sg-ease),
	            border-color 0.3s var(--sg-ease);
}

.sg-badge::before {
	content: "";
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--sg-vert);
	flex: none;
}

.sg-badge:hover {
	transform: translateY(-3px);
	background: rgba(255, 255, 255, 0.12);
	border-color: rgba(124, 58, 237, 0.55);
}

/* ===============================================================
   6. Bandeau défilant
   =============================================================== */

.sg-marquee {
	overflow: hidden;
	padding: 1.15rem 0;
	background: var(--sg-dark-2);
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.sg-marquee__track {
	display: flex;
	width: max-content;
	gap: 3.2rem;
	animation: sg-scroll 32s linear infinite;
}

.sg-marquee:hover .sg-marquee__track {
	animation-play-state: paused;
}

@keyframes sg-scroll {
	from { transform: translateX(0); }
	to   { transform: translateX(-50%); }
}

.sg-marquee__item {
	display: inline-flex;
	align-items: center;
	gap: 3.2rem;
	font-size: 0.95rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.55);
	white-space: nowrap;
}

.sg-marquee__item::after {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--sg-vert);
	flex: none;
}

/* ===============================================================
   7. Révélation au scroll (activée uniquement si le JS répond)
   =============================================================== */

.sg-js .sg-reveal {
	opacity: 0;
	transform: translateY(34px);
	transition: opacity 0.85s var(--sg-ease), transform 0.85s var(--sg-ease);
	will-change: opacity, transform;
}

.sg-js .sg-reveal.sg-visible {
	opacity: 1;
	transform: none;
}

.sg-js .sg-stagger > * {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 0.75s var(--sg-ease), transform 0.75s var(--sg-ease);
}

.sg-js .sg-stagger.sg-visible > * {
	opacity: 1;
	transform: none;
}

.sg-stagger.sg-visible > *:nth-child(1) { transition-delay: 0.04s; }
.sg-stagger.sg-visible > *:nth-child(2) { transition-delay: 0.13s; }
.sg-stagger.sg-visible > *:nth-child(3) { transition-delay: 0.22s; }
.sg-stagger.sg-visible > *:nth-child(4) { transition-delay: 0.31s; }
.sg-stagger.sg-visible > *:nth-child(5) { transition-delay: 0.40s; }
.sg-stagger.sg-visible > *:nth-child(6) { transition-delay: 0.49s; }

/* ===============================================================
   8. Grille bento
   =============================================================== */

.sg-bento {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 1.15rem;
	margin-top: 3rem;
}

.sg-bento__cell {
	position: relative;
	grid-column: span 2;
	padding: 2.1rem 1.9rem;
	border-radius: var(--sg-radius);
	background: linear-gradient(var(--sg-dark-2), var(--sg-dark-2)) padding-box,
	            linear-gradient(140deg, rgba(124, 58, 237, 0.55), rgba(56, 189, 248, 0.2) 45%, rgba(34, 197, 94, 0.35)) border-box;
	border: 1px solid transparent;
	overflow: hidden;
	transition: transform 0.45s var(--sg-ease), box-shadow 0.45s var(--sg-ease);
}

.sg-bento__cell--wide {
	grid-column: span 3;
}

.sg-bento__cell--full {
	grid-column: span 6;
}

/* Lueur qui suit le curseur */
.sg-bento__cell::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%),
	            rgba(124, 58, 237, 0.28), transparent 62%);
	opacity: 0;
	transition: opacity 0.4s var(--sg-ease);
	pointer-events: none;
}

.sg-bento__cell:hover::before {
	opacity: 1;
}

.sg-bento__cell:hover {
	transform: translateY(-5px);
	box-shadow: 0 28px 60px -30px rgba(124, 58, 237, 0.75);
}

.sg-bento__tag {
	display: inline-block;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--sg-vert-light);
	margin-bottom: 0.9rem;
}

.sg-bento__cell h3 {
	font-size: 1.45rem !important;
	font-weight: 700 !important;
	line-height: 1.15 !important;
	letter-spacing: -0.02em;
	margin: 0 0 0.7rem !important;
	color: #fff;
}

.sg-bento__cell p {
	font-size: 1rem;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.7);
	margin: 0;
}

@media (max-width: 860px) {
	.sg-bento {
		grid-template-columns: 1fr;
	}
	.sg-bento__cell,
	.sg-bento__cell--wide,
	.sg-bento__cell--full {
		grid-column: span 1;
	}
}

/* ===============================================================
   9. Cartes de services
   =============================================================== */

.sg-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
	gap: 1.4rem;
	margin-top: 3.2rem;
}

.sg-card {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 2.4rem 2rem;
	border-radius: var(--sg-radius);
	background: #fff;
	border: 1px solid rgba(21, 16, 43, 0.08);
	box-shadow: 0 1px 3px rgba(21, 16, 43, 0.05);
	overflow: hidden;
	transition: transform 0.45s var(--sg-ease), box-shadow 0.45s var(--sg-ease),
	            border-color 0.45s var(--sg-ease);
}

.sg-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--sg-violet), var(--sg-cyan), var(--sg-vert));
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.5s var(--sg-ease);
}

.sg-card:hover {
	transform: translateY(-9px);
	box-shadow: 0 34px 60px -28px rgba(124, 58, 237, 0.45);
	border-color: rgba(124, 58, 237, 0.25);
}

.sg-card:hover::before {
	transform: scaleX(1);
}

.sg-card__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 15px;
	font-size: 1.05rem;
	font-weight: 800;
	color: #fff;
	background: linear-gradient(140deg, var(--sg-violet), var(--sg-violet-light));
	box-shadow: 0 10px 24px -10px rgba(124, 58, 237, 0.85);
	margin-bottom: 1.3rem;
	transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sg-card:hover .sg-card__num {
	transform: rotate(-9deg) scale(1.09);
}

.sg-card h3 {
	font-size: 1.35rem !important;
	font-weight: 700 !important;
	letter-spacing: -0.02em;
	margin: 0 0 0.75rem !important;
}

.sg-card p {
	line-height: 1.68;
	color: var(--sg-gris);
	margin: 0 0 1.6rem;
	flex: 1;
}

.sg-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	font-weight: 600;
	font-size: 0.98rem;
	color: var(--sg-violet);
	text-decoration: none !important;
	align-self: flex-start;
}

.sg-link::after {
	content: "→";
	transition: transform 0.35s var(--sg-ease);
}

.sg-link:hover::after {
	transform: translateX(6px);
}

/* ===============================================================
   10. Chiffres clés
   =============================================================== */

.sg-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 1.2rem;
}

.sg-stat {
	padding: 2.2rem 1.8rem;
	border-radius: var(--sg-radius);
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	transition: transform 0.4s var(--sg-ease), border-color 0.4s var(--sg-ease);
}

.sg-stat:hover {
	transform: translateY(-5px);
	border-color: rgba(34, 197, 94, 0.5);
}

.sg-stat__num {
	display: block;
	font-size: clamp(2.8rem, 5.5vw, 4rem);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.04em;
	background: linear-gradient(115deg, var(--sg-violet-light), var(--sg-cyan) 50%, var(--sg-vert));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
	margin-bottom: 0.6rem;
}

.sg-stat__label {
	font-size: 0.96rem;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.62);
}

/* ===============================================================
   11. Timeline de méthode
   =============================================================== */

.sg-timeline {
	counter-reset: sg-steps;
	display: grid;
	gap: 0;
	margin-top: 3rem;
}

.sg-timeline__step {
	position: relative;
	padding: 0 0 2.6rem 4.6rem;
}

.sg-timeline__step::before {
	counter-increment: sg-steps;
	content: "0" counter(sg-steps);
	position: absolute;
	left: 0;
	top: -2px;
	width: 50px;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 15px;
	font-size: 0.9rem;
	font-weight: 800;
	color: #fff;
	background: linear-gradient(140deg, var(--sg-violet), var(--sg-violet-light));
	box-shadow: 0 12px 26px -12px rgba(124, 58, 237, 0.9);
}

.sg-timeline__step::after {
	content: "";
	position: absolute;
	left: 24px;
	top: 58px;
	bottom: 4px;
	width: 2px;
	background: linear-gradient(180deg, rgba(124, 58, 237, 0.5), rgba(124, 58, 237, 0));
}

.sg-timeline__step:last-child {
	padding-bottom: 0;
}

.sg-timeline__step:last-child::after {
	display: none;
}

.sg-timeline__step h3 {
	font-size: 1.3rem !important;
	font-weight: 700 !important;
	letter-spacing: -0.02em;
	margin: 0 0 0.55rem !important;
}

.sg-timeline__step p {
	line-height: 1.7;
	color: var(--sg-gris);
	margin: 0;
}

.sg-dark-zone .sg-timeline__step p {
	color: rgba(255, 255, 255, 0.7);
}

/* ===============================================================
   12. Pastilles géographiques
   =============================================================== */

.sg-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	margin-top: 1.5rem;
}

.sg-pill {
	display: inline-block;
	padding: 0.55em 1.15em;
	border-radius: 100px;
	font-size: 0.9rem;
	font-weight: 500;
	background: rgba(255, 255, 255, 0.05);
	color: rgba(255, 255, 255, 0.82);
	border: 1px solid rgba(255, 255, 255, 0.13);
	transition: transform 0.3s var(--sg-ease), background 0.3s var(--sg-ease),
	            color 0.3s var(--sg-ease), border-color 0.3s var(--sg-ease);
}

.sg-pill:hover {
	transform: translateY(-4px);
	background: linear-gradient(135deg, var(--sg-violet), var(--sg-violet-light));
	color: #fff;
	border-color: transparent;
	box-shadow: 0 12px 26px -12px rgba(124, 58, 237, 0.9);
}

/* ===============================================================
   13. FAQ
   =============================================================== */

.sg-faq {
	margin-top: 2.6rem;
}

.sg-faq details {
	border: 1px solid rgba(21, 16, 43, 0.09);
	border-radius: 16px;
	padding: 1.35rem 1.7rem;
	margin-bottom: 0.85rem;
	background: #fff;
	transition: border-color 0.35s var(--sg-ease), box-shadow 0.35s var(--sg-ease),
	            transform 0.35s var(--sg-ease);
}

.sg-faq details:hover {
	border-color: rgba(124, 58, 237, 0.28);
}

.sg-faq details[open] {
	border-color: rgba(124, 58, 237, 0.4);
	box-shadow: 0 22px 44px -26px rgba(124, 58, 237, 0.7);
}

.sg-faq summary {
	cursor: pointer;
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1.2rem;
}

.sg-faq summary::-webkit-details-marker {
	display: none;
}

.sg-faq summary h3 {
	margin: 0 !important;
	font-size: 1.08rem !important;
	font-weight: 600 !important;
	letter-spacing: -0.01em;
	line-height: 1.4 !important;
}

.sg-faq summary::after {
	content: "";
	flex: none;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--sg-lavande);
	position: relative;
	transition: transform 0.4s var(--sg-ease), background 0.35s var(--sg-ease);
	background-image:
		linear-gradient(var(--sg-violet), var(--sg-violet)),
		linear-gradient(var(--sg-violet), var(--sg-violet));
	background-size: 12px 2px, 2px 12px;
	background-position: center, center;
	background-repeat: no-repeat;
}

.sg-faq details[open] summary::after {
	transform: rotate(135deg);
}

.sg-faq details > *:not(summary) {
	margin-top: 1rem;
	line-height: 1.72;
	color: var(--sg-gris);
	animation: sg-fade 0.5s var(--sg-ease) both;
}

@keyframes sg-fade {
	from { opacity: 0; transform: translateY(-8px); }
	to   { opacity: 1; transform: none; }
}

/* ===============================================================
   14. Bandeau CTA
   =============================================================== */

.sg-cta {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	border-radius: 28px;
	background: var(--sg-dark);
}

.sg-cta::before {
	content: "";
	position: absolute;
	inset: -40%;
	z-index: -2;
	background:
		radial-gradient(40% 50% at 22% 30%, rgba(124, 58, 237, 0.85) 0%, transparent 62%),
		radial-gradient(38% 46% at 78% 70%, rgba(34, 197, 94, 0.55) 0%, transparent 62%),
		radial-gradient(30% 38% at 55% 15%, rgba(56, 189, 248, 0.45) 0%, transparent 60%);
	filter: blur(24px);
	animation: sg-aurora 22s ease-in-out infinite alternate;
}

.sg-cta::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image: var(--sg-noise);
	opacity: 0.14;
	mix-blend-mode: overlay;
}

/* ===============================================================
   15. Boutons
   =============================================================== */

.wp-block-button__link {
	border-radius: 12px !important;
	font-weight: 600 !important;
	transition: transform 0.3s var(--sg-ease), box-shadow 0.3s var(--sg-ease),
	            background-color 0.3s var(--sg-ease), color 0.3s var(--sg-ease);
}

.wp-block-button__link:hover {
	transform: translateY(-3px);
	box-shadow: 0 18px 36px -14px rgba(34, 197, 94, 0.8);
}

.is-style-outline .wp-block-button__link {
	border-width: 1px !important;
	border-color: rgba(255, 255, 255, 0.35) !important;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.is-style-outline .wp-block-button__link:hover {
	background: rgba(255, 255, 255, 0.1) !important;
	border-color: rgba(255, 255, 255, 0.65) !important;
	box-shadow: none;
}

/* ===============================================================
   16. Rythme des sections
   =============================================================== */

.sg-section {
	padding-top: clamp(72px, 10vw, 130px) !important;
	padding-bottom: clamp(72px, 10vw, 130px) !important;
}

.sg-prose p {
	line-height: 1.78;
	font-size: 1.06rem;
}

.sg-prose h2 {
	margin-top: 3rem !important;
	margin-bottom: 0.8rem !important;
}

.sg-prose h3 {
	font-size: 1.35rem !important;
	font-weight: 700 !important;
	letter-spacing: -0.02em;
	margin-top: 2.2rem !important;
	margin-bottom: 0.6rem !important;
}

.sg-divider {
	width: 68px;
	height: 4px;
	border-radius: 4px;
	border: 0;
	background: linear-gradient(90deg, var(--sg-violet), var(--sg-vert));
	margin: 1.3rem 0 2rem;
}

/* Colonne éditoriale à deux niveaux */
.sg-split {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: start;
}

@media (max-width: 900px) {
	.sg-split {
		grid-template-columns: 1fr;
	}
}

.sg-sticky {
	position: sticky;
	top: 120px;
}

/* ===============================================================
   17. Pied de page
   =============================================================== */

footer.wp-block-template-part {
	position: relative;
	background: var(--sg-dark);
}

footer.wp-block-template-part .wp-block-list {
	list-style: none;
	padding-left: 0;
	margin-left: 0;
}

footer.wp-block-template-part a {
	color: rgba(255, 255, 255, 0.72);
	text-decoration: none;
	transition: color 0.25s var(--sg-ease);
}

footer.wp-block-template-part a:hover {
	color: var(--sg-vert-light);
}

footer.wp-block-template-part p,
footer.wp-block-template-part li {
	line-height: 1.8;
}

footer.wp-block-template-part .wp-block-separator {
	margin-top: 2.8rem;
	margin-bottom: 1.7rem;
	opacity: 0.14;
}

footer.wp-block-template-part h2 {
	color: rgba(255, 255, 255, 0.55) !important;
}

/* ===============================================================
   18. Formulaire de contact (WPForms)
   =============================================================== */

.wpforms-container {
	max-width: none !important;
	margin: 0 !important;
}

.wpforms-form .wpforms-field {
	padding: 0 0 1.3rem !important;
}

.wpforms-form .wpforms-field-label {
	display: block;
	font-weight: 600 !important;
	font-size: 0.95rem !important;
	margin-bottom: 0.5rem !important;
	color: #fff;
}

.wpforms-form .wpforms-required-label {
	color: var(--sg-vert-light);
	border: 0;
}

.wpforms-form .wpforms-field-description,
.wpforms-form .wpforms-field-sublabel {
	font-size: 0.85rem !important;
	color: rgba(255, 255, 255, 0.5) !important;
	margin-top: 0.35rem !important;
}

.wpforms-form input[type="text"],
.wpforms-form input[type="email"],
.wpforms-form input[type="tel"],
.wpforms-form textarea {
	width: 100%;
	padding: 0.9rem 1.1rem !important;
	border-radius: 12px !important;
	border: 1px solid rgba(255, 255, 255, 0.16) !important;
	background: rgba(255, 255, 255, 0.05) !important;
	color: #fff !important;
	font-family: inherit !important;
	font-size: 1rem !important;
	transition: border-color 0.3s var(--sg-ease), box-shadow 0.3s var(--sg-ease),
	            background 0.3s var(--sg-ease);
}

.wpforms-form input::placeholder,
.wpforms-form textarea::placeholder {
	color: rgba(255, 255, 255, 0.36);
}

.wpforms-form input[type="text"]:focus,
.wpforms-form input[type="email"]:focus,
.wpforms-form input[type="tel"]:focus,
.wpforms-form textarea:focus {
	outline: none;
	border-color: var(--sg-violet-light) !important;
	background: rgba(255, 255, 255, 0.08) !important;
	box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.22);
}

.wpforms-form textarea {
	min-height: 150px;
	resize: vertical;
}

.wpforms-form button[type="submit"],
.wpforms-form .wpforms-submit {
	padding: 1rem 2.4rem !important;
	border: 0 !important;
	border-radius: 12px !important;
	font-family: inherit !important;
	font-size: 1rem !important;
	font-weight: 600 !important;
	color: var(--sg-dark) !important;
	background: var(--sg-vert) !important;
	cursor: pointer;
	transition: transform 0.3s var(--sg-ease), box-shadow 0.3s var(--sg-ease),
	            background 0.3s var(--sg-ease);
}

.wpforms-form button[type="submit"]:hover,
.wpforms-form .wpforms-submit:hover {
	transform: translateY(-3px);
	background: var(--sg-vert-light) !important;
	box-shadow: 0 18px 34px -14px rgba(34, 197, 94, 0.85);
}

/* Messages d'erreur et de confirmation */
.wpforms-form .wpforms-error {
	color: #fca5a5 !important;
	font-size: 0.88rem !important;
}

.wpforms-form input.wpforms-error,
.wpforms-form textarea.wpforms-error {
	border-color: #f87171 !important;
}

.wpforms-confirmation-container-full {
	background: rgba(34, 197, 94, 0.14) !important;
	border: 1px solid rgba(34, 197, 94, 0.45) !important;
	border-radius: 14px !important;
	color: #fff !important;
	padding: 1.4rem 1.6rem !important;
}

.wpforms-confirmation-container-full p {
	margin: 0;
	color: #fff !important;
}

/* ===============================================================
   19. Mouvement réduit
   =============================================================== */

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.sg-aurora::before,
	.sg-cta::before,
	.sg-eyebrow::before,
	.sg-gradient-text,
	.sg-marquee__track {
		animation: none !important;
	}

	.sg-js .sg-reveal,
	.sg-js .sg-stagger > * {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}

	.sg-card,
	.sg-bento__cell,
	.sg-stat,
	.sg-pill,
	.sg-badge,
	.wp-block-button__link,
	.sg-progress {
		transition: none !important;
	}
}

/* ===============================================================
   20. Hero en deux colonnes + visuel orbital
   =============================================================== */

.sg-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: center;
	width: 100%;
}

@media (max-width: 980px) {
	.sg-hero__grid {
		grid-template-columns: 1fr;
	}
	.sg-orbit {
		max-width: 460px;
		margin-inline: auto;
	}
}

.sg-orbit {
	position: relative;
	width: 100%;
	aspect-ratio: 1;
}

.sg-orbit svg {
	width: 100%;
	height: 100%;
	overflow: visible;
}

/* Anneaux en rotation */
.sg-orbit__ring {
	transform-origin: 250px 250px;
	animation: sg-spin 40s linear infinite;
}

.sg-orbit__ring--2 {
	animation-duration: 58s;
	animation-direction: reverse;
}

.sg-orbit__ring--3 {
	animation-duration: 76s;
}

@keyframes sg-spin {
	to { transform: rotate(360deg); }
}

/* Cœur pulsant */
.sg-orbit__core {
	transform-origin: 250px 250px;
	animation: sg-breathe 4.5s ease-in-out infinite;
}

@keyframes sg-breathe {
	0%, 100% { transform: scale(1); opacity: 1; }
	50%      { transform: scale(1.06); opacity: 0.9; }
}

/* Traits de connexion qui se dessinent */
.sg-orbit__link {
	stroke-dasharray: 6 10;
	animation: sg-dash 2.4s linear infinite;
}

@keyframes sg-dash {
	to { stroke-dashoffset: -32; }
}

/* Satellites : contre-rotation pour garder le texte lisible */
.sg-orbit__sat {
	animation: sg-spin 40s linear infinite reverse;
	transform-box: fill-box;
	transform-origin: center;
}

.sg-orbit__sat--2 { animation-duration: 58s; animation-direction: normal; }
.sg-orbit__sat--3 { animation-duration: 76s; animation-direction: reverse; }

/* Impulsions le long des orbites */
.sg-orbit__pulse {
	animation: sg-pulse-dot 3.2s ease-in-out infinite;
}

.sg-orbit__pulse--b { animation-delay: 1.1s; }
.sg-orbit__pulse--c { animation-delay: 2.2s; }

@keyframes sg-pulse-dot {
	0%, 100% { opacity: 0.25; r: 3; }
	50%      { opacity: 1; r: 5.5; }
}

/* ===============================================================
   21. Icônes de service animées
   =============================================================== */

.sg-icon {
	width: 56px;
	height: 56px;
	margin-bottom: 1.4rem;
	display: block;
}

.sg-icon .sg-icon__stroke {
	fill: none;
	stroke: url(#sgGrad);
	stroke-width: 2.2;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-dasharray: 200;
	stroke-dashoffset: 200;
	transition: stroke-dashoffset 1.1s var(--sg-ease);
}

.sg-visible .sg-icon .sg-icon__stroke,
.sg-card:hover .sg-icon .sg-icon__stroke {
	stroke-dashoffset: 0;
}

.sg-icon__dot {
	fill: var(--sg-vert);
	opacity: 0;
	transition: opacity 0.5s var(--sg-ease) 0.6s;
}

.sg-visible .sg-icon__dot,
.sg-card:hover .sg-icon__dot {
	opacity: 1;
}

.sg-card:hover .sg-icon {
	animation: sg-nudge 0.6s var(--sg-ease);
}

@keyframes sg-nudge {
	0%, 100% { transform: translateY(0); }
	40%      { transform: translateY(-6px); }
}

/* ===============================================================
   22. Courbe de progression animée
   =============================================================== */

.sg-chart {
	width: 100%;
	height: auto;
	display: block;
}

.sg-chart__line {
	fill: none;
	stroke: url(#sgGradLine);
	stroke-width: 3;
	stroke-linecap: round;
	stroke-dasharray: 620;
	stroke-dashoffset: 620;
	transition: stroke-dashoffset 2.2s var(--sg-ease);
}

.sg-visible .sg-chart__line {
	stroke-dashoffset: 0;
}

.sg-chart__area {
	fill: url(#sgGradArea);
	opacity: 0;
	transition: opacity 1s var(--sg-ease) 1s;
}

.sg-visible .sg-chart__area {
	opacity: 1;
}

.sg-chart__pt {
	fill: #fff;
	stroke: var(--sg-violet);
	stroke-width: 3;
	opacity: 0;
	transition: opacity 0.4s var(--sg-ease);
}

.sg-visible .sg-chart__pt { opacity: 1; }
.sg-visible .sg-chart__pt:nth-of-type(1) { transition-delay: 0.9s; }
.sg-visible .sg-chart__pt:nth-of-type(2) { transition-delay: 1.3s; }
.sg-visible .sg-chart__pt:nth-of-type(3) { transition-delay: 1.7s; }
.sg-visible .sg-chart__pt:nth-of-type(4) { transition-delay: 2.1s; }

.sg-chart__grid {
	stroke: rgba(255, 255, 255, 0.09);
	stroke-width: 1;
}

/* ===============================================================
   23. Cadres photo
   =============================================================== */

.sg-photo {
	position: relative;
	border-radius: 24px;
	overflow: hidden;
	background: linear-gradient(140deg, var(--sg-dark-2), var(--sg-dark-3));
	aspect-ratio: 4 / 5;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.sg-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.8s var(--sg-ease);
}

.sg-photo:hover img {
	transform: scale(1.05);
}

/* Halo dégradé derrière la photo */
.sg-photo::before {
	content: "";
	position: absolute;
	inset: -40%;
	background:
		radial-gradient(40% 40% at 30% 25%, rgba(124, 58, 237, 0.55), transparent 65%),
		radial-gradient(38% 38% at 75% 78%, rgba(34, 197, 94, 0.4), transparent 65%);
	filter: blur(26px);
	animation: sg-aurora 24s ease-in-out infinite alternate;
	pointer-events: none;
}

/* Emplacement en attente de la vraie photo */
.sg-photo__placeholder {
	position: relative;
	z-index: 1;
	text-align: center;
	padding: 2rem;
	color: rgba(255, 255, 255, 0.5);
	font-size: 0.9rem;
	line-height: 1.6;
}

.sg-photo__placeholder svg {
	width: 46px;
	height: 46px;
	margin: 0 auto 0.9rem;
	display: block;
	opacity: 0.55;
}

/* Cartouche flottant posé sur la photo */
.sg-photo-badge {
	position: absolute;
	left: -18px;
	bottom: 28px;
	z-index: 2;
	display: flex;
	align-items: center;
	gap: 0.8rem;
	padding: 0.85rem 1.2rem;
	border-radius: 15px;
	background: rgba(11, 8, 23, 0.82);
	border: 1px solid rgba(255, 255, 255, 0.14);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	box-shadow: 0 20px 46px -20px rgba(0, 0, 0, 0.9);
}

.sg-photo-badge strong {
	display: block;
	font-size: 0.95rem;
	color: #fff;
	line-height: 1.2;
}

.sg-photo-badge span {
	font-size: 0.8rem;
	color: rgba(255, 255, 255, 0.6);
}

/* ===============================================================
   24. Monogramme
   =============================================================== */

.sg-logo {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	text-decoration: none;
}

.sg-logo__mark {
	width: 36px;
	height: 36px;
	flex: none;
}

.sg-logo__mark .sg-logo__ring {
	transform-origin: center;
	animation: sg-spin 18s linear infinite;
}

/* ===============================================================
   25. Curseur lumineux (pointeurs fins uniquement)
   =============================================================== */

@media (hover: hover) and (pointer: fine) {
	.sg-cursor {
		position: fixed;
		top: 0;
		left: 0;
		width: 400px;
		height: 400px;
		margin: -200px 0 0 -200px;
		border-radius: 50%;
		background: radial-gradient(circle, rgba(124, 58, 237, 0.16), transparent 62%);
		pointer-events: none;
		z-index: 1;
		opacity: 0;
		transition: opacity 0.4s var(--sg-ease);
		will-change: transform;
	}

	.sg-cursor.sg-cursor--on {
		opacity: 1;
	}
}

/* ===============================================================
   26. Révélation mot à mot du titre
   =============================================================== */

.sg-js .sg-word {
	display: inline-block;
	opacity: 0;
	transform: translateY(0.5em) rotate(2deg);
	transition: opacity 0.7s var(--sg-ease), transform 0.7s var(--sg-ease);
}

.sg-js .sg-visible .sg-word,
.sg-js .sg-word.sg-visible {
	opacity: 1;
	transform: none;
}

/* ===============================================================
   27. Boutons magnétiques
   =============================================================== */

.sg-magnetic {
	display: inline-block;
	will-change: transform;
	transition: transform 0.35s var(--sg-ease);
}

/* ===============================================================
   28. Bandeau logos / preuves
   =============================================================== */

.sg-proof {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.2rem 2.6rem;
	padding: 1.6rem 0;
}

.sg-proof__item {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	font-size: 0.92rem;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.62);
}

.sg-proof__item svg {
	width: 20px;
	height: 20px;
	flex: none;
	stroke: var(--sg-vert);
	fill: none;
	stroke-width: 2.4;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* ===============================================================
   29. Correctifs de largeur : les grilles occupent la zone large
   =============================================================== */

.sg-full-bleed > .sg-bento,
.sg-full-bleed > .sg-cards,
.sg-full-bleed > .sg-stats,
.sg-full-bleed > .sg-split,
.sg-full-bleed > .sg-marquee {
	max-width: none;
	margin-inline: 0;
}

/* ===============================================================
   30. Mouvement réduit : additions
   =============================================================== */

@media (prefers-reduced-motion: reduce) {
	.sg-orbit__ring,
	.sg-orbit__core,
	.sg-orbit__link,
	.sg-orbit__sat,
	.sg-orbit__pulse,
	.sg-logo__mark .sg-logo__ring,
	.sg-photo::before {
		animation: none !important;
	}

	.sg-js .sg-word {
		opacity: 1 !important;
		transform: none !important;
	}

	.sg-icon .sg-icon__stroke,
	.sg-chart__line {
		stroke-dashoffset: 0 !important;
	}

	.sg-chart__area,
	.sg-chart__pt,
	.sg-icon__dot {
		opacity: 1 !important;
	}

	.sg-cursor {
		display: none !important;
	}
}

/* ===============================================================
   31. Maquettes illustratives (SERP, réponse IA, encadré)
   =============================================================== */

.sg-mock {
	width: 100%;
	height: auto;
	display: block;
	margin-top: 1.6rem;
	border-radius: 14px;
	overflow: hidden;
}

.sg-mock__panel {
	fill: rgba(255, 255, 255, 0.035);
	stroke: rgba(255, 255, 255, 0.1);
}

.sg-mock__bar {
	fill: rgba(255, 255, 255, 0.16);
}

.sg-mock__bar--dim {
	fill: rgba(255, 255, 255, 0.09);
}

/* Résultat mis en avant qui remonte dans le classement */
.sg-mock__win {
	transform: translateY(0);
	animation: sg-climb 7s var(--sg-ease) infinite;
}

@keyframes sg-climb {
	0%, 12%   { transform: translateY(114px); }
	38%, 72%  { transform: translateY(0); }
	92%, 100% { transform: translateY(114px); }
}

.sg-mock__winbox {
	fill: rgba(124, 58, 237, 0.2);
	stroke: url(#sgGrad);
	stroke-width: 1.6;
}

/* Résultats poussés vers le bas pendant la remontée */
.sg-mock__push {
	animation: sg-push 7s var(--sg-ease) infinite;
}

@keyframes sg-push {
	0%, 12%   { transform: translateY(0); }
	38%, 72%  { transform: translateY(38px); }
	92%, 100% { transform: translateY(0); }
}

/* Curseur clignotant de la barre de recherche */
.sg-mock__caret {
	animation: sg-blink 1.1s steps(2) infinite;
}

@keyframes sg-blink {
	0%, 49%   { opacity: 1; }
	50%, 100% { opacity: 0; }
}

/* Bulle de réponse IA qui se remplit ligne par ligne */
.sg-mock__line {
	transform-origin: left center;
	transform: scaleX(0);
	animation: sg-typeline 7s var(--sg-ease) infinite;
}

.sg-mock__line--2 { animation-delay: 0.45s; }
.sg-mock__line--3 { animation-delay: 0.9s; }
.sg-mock__line--4 { animation-delay: 1.35s; }

@keyframes sg-typeline {
	0%, 8%    { transform: scaleX(0); }
	26%, 80%  { transform: scaleX(1); }
	94%, 100% { transform: scaleX(0); }
}

/* Mention surlignée dans la réponse */
.sg-mock__mention {
	opacity: 0;
	animation: sg-mention 7s var(--sg-ease) infinite;
}

@keyframes sg-mention {
	0%, 34%   { opacity: 0; }
	46%, 80%  { opacity: 1; }
	92%, 100% { opacity: 0; }
}

/* Points de saisie */
.sg-mock__dot {
	animation: sg-typing 1.4s ease-in-out infinite;
}

.sg-mock__dot--b { animation-delay: 0.18s; }
.sg-mock__dot--c { animation-delay: 0.36s; }

@keyframes sg-typing {
	0%, 100% { opacity: 0.25; transform: translateY(0); }
	50%      { opacity: 1; transform: translateY(-3px); }
}

/* ===============================================================
   32. Carte constellation de la zone d'intervention
   =============================================================== */

.sg-map {
	width: 100%;
	height: auto;
	display: block;
}

.sg-map__link {
	stroke: rgba(167, 139, 250, 0.28);
	stroke-width: 1;
	stroke-dasharray: 4 6;
	animation: sg-dash 5s linear infinite;
}

.sg-map__zone {
	fill: rgba(124, 58, 237, 0.09);
	stroke: rgba(167, 139, 250, 0.35);
	stroke-width: 1.4;
	stroke-dasharray: 7 6;
	animation: sg-dash 22s linear infinite reverse;
}

.sg-map__pin {
	cursor: default;
}

.sg-map__pin circle {
	fill: var(--sg-violet-light);
	transition: r 0.3s var(--sg-ease), fill 0.3s var(--sg-ease);
}

.sg-map__pin text {
	fill: rgba(255, 255, 255, 0.72);
	font-size: 11px;
	font-family: Manrope, sans-serif;
	transition: fill 0.3s var(--sg-ease);
}

.sg-map__pin:hover circle {
	fill: var(--sg-vert);
	r: 7;
}

.sg-map__pin:hover text {
	fill: #fff;
}

/* Ville principale : halo pulsant */
.sg-map__halo {
	fill: rgba(34, 197, 94, 0.28);
	transform-box: fill-box;
	transform-origin: center;
	animation: sg-halo 3s ease-out infinite;
}

@keyframes sg-halo {
	0%   { transform: scale(0.6); opacity: 0.8; }
	100% { transform: scale(2.6); opacity: 0; }
}

.sg-map__main circle:not(.sg-map__halo) {
	fill: var(--sg-vert);
}

.sg-map__main text {
	fill: #fff;
	font-weight: 700;
	font-size: 13px;
}

/* Balayage radar */
.sg-map__scan {
	transform-origin: 300px 210px;
	animation: sg-spin 9s linear infinite;
}

/* ===============================================================
   33. Logo
   =============================================================== */

.sg-brand {
	display: inline-flex;
	align-items: center;
	flex: none;
	line-height: 0;
	transition: transform 0.35s var(--sg-ease), filter 0.35s var(--sg-ease);
}

.sg-brand img {
	height: clamp(42px, 4.4vw, 60px);
	width: auto;
	display: block;
}

.sg-brand:hover {
	transform: translateY(-1px);
	filter: drop-shadow(0 6px 18px rgba(124, 58, 237, 0.55));
}

/* Version réduite une fois la page défilée */
.sg-scrolled .sg-brand img {
	height: clamp(36px, 3.6vw, 48px);
	transition: height 0.35s var(--sg-ease);
}

/* Logo du pied de page */
.sg-footer-logo img {
	height: 52px;
	width: auto;
	display: block;
	margin-bottom: 1.1rem;
}

@media (max-width: 560px) {
	.sg-brand img {
		height: 36px;
	}
}

/* ===============================================================
   34. Galerie d'emplacements photo
   =============================================================== */

.sg-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 1.2rem;
	margin-top: 2.6rem;
}

.sg-gallery .sg-photo {
	aspect-ratio: 3 / 4;
}

.sg-gallery .sg-photo:nth-child(2) {
	aspect-ratio: 3 / 4;
	margin-top: 2.2rem;
}

.sg-gallery .sg-photo:nth-child(3) {
	aspect-ratio: 3 / 4;
}

@media (max-width: 720px) {
	.sg-gallery .sg-photo:nth-child(2) {
		margin-top: 0;
	}
}

.sg-photo--wide {
	aspect-ratio: 16 / 9;
}

.sg-photo__caption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	padding: 1.4rem 1.2rem 1rem;
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.85);
	background: linear-gradient(transparent, rgba(11, 8, 23, 0.9));
}

/* ===============================================================
   35. Parallaxe
   =============================================================== */

.sg-parallax {
	will-change: transform;
}

/* ===============================================================
   36. Mouvement réduit : additions
   =============================================================== */

@media (prefers-reduced-motion: reduce) {
	.sg-mock__win,
	.sg-mock__push,
	.sg-mock__caret,
	.sg-mock__line,
	.sg-mock__mention,
	.sg-mock__dot,
	.sg-map__link,
	.sg-map__zone,
	.sg-map__halo,
	.sg-map__scan {
		animation: none !important;
	}

	.sg-mock__line {
		transform: scaleX(1) !important;
	}

	.sg-mock__mention {
		opacity: 1 !important;
	}

	.sg-mock__win {
		transform: none !important;
	}

	.sg-parallax {
		transform: none !important;
	}
}

/* ===============================================================
   37. Suppression des interstices blancs entre sections
   =============================================================== */

/* WordPress applique un écart vertical (blockGap) entre les enfants directs du
   contenu. Nos sections pleine largeur gèrent déjà leur propre rembourrage :
   cet écart ne faisait qu'ouvrir une bande blanche entre elles — y compris en
   haut de page, le bloc de définitions SVG comptant comme premier enfant. */
.entry-content.wp-block-post-content > * {
	margin-block-start: 0;
	margin-block-end: 0;
}

/* Le bandeau d'appel à l'action n'est pas une section pleine largeur :
   il garde son espace de respiration. */
.entry-content.wp-block-post-content > .sg-cta {
	margin-block-start: var(--wp--preset--spacing--70);
	margin-block-end: var(--wp--preset--spacing--80);
}

/* Le bloc qui ne porte que les dégradés SVG ne doit occuper aucune place. */
.entry-content.wp-block-post-content > svg[width="0"] {
	position: absolute;
	width: 0;
	height: 0;
	margin: 0;
}

/* Conteneur du bandeau défilant : fond sombre pour que le fondu latéral
   se fasse vers le sombre et non vers le blanc. */
.sg-marquee-wrap {
	background: var(--sg-dark);
	margin-block-start: 0 !important;
	margin-block-end: 0 !important;
}

.sg-marquee {
	border-top-color: rgba(255, 255, 255, 0.06);
	border-bottom-color: rgba(255, 255, 255, 0.06);
}

/* ===============================================================
   38. Puces d'ancrage (navigation interne)
   =============================================================== */

.sg-anchors {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem;
	margin-top: 2.6rem;
}

.sg-anchors a {
	display: inline-flex;
	align-items: center;
	gap: 0.6em;
	padding: 0.7em 1.3em;
	border-radius: 100px;
	font-size: 0.92rem;
	font-weight: 600;
	text-decoration: none;
	color: #fff;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.14);
	transition: transform 0.3s var(--sg-ease), background 0.3s var(--sg-ease),
	            border-color 0.3s var(--sg-ease);
}

.sg-anchors a::after {
	content: "↓";
	font-size: 0.9em;
	opacity: 0.6;
	transition: transform 0.3s var(--sg-ease);
}

.sg-anchors a:hover {
	transform: translateY(-3px);
	background: rgba(124, 58, 237, 0.28);
	border-color: rgba(167, 139, 250, 0.6);
	color: #fff;
}

.sg-anchors a:hover::after {
	transform: translateY(3px);
}

/* ===============================================================
   39. Grande section de service alternée
   =============================================================== */

.sg-service {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(2rem, 5vw, 5rem);
	align-items: center;
	scroll-margin-top: 110px;
}

.sg-service--flip .sg-service__media {
	order: -1;
}

@media (max-width: 920px) {
	.sg-service {
		grid-template-columns: 1fr;
	}
	.sg-service--flip .sg-service__media {
		order: 0;
	}
}

.sg-service__num {
	display: inline-flex;
	align-items: center;
	gap: 0.7rem;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--sg-violet-light);
	margin-bottom: 1.1rem;
}

.sg-service__num::before {
	content: "";
	width: 32px;
	height: 2px;
	border-radius: 2px;
	background: linear-gradient(90deg, var(--sg-violet), var(--sg-vert));
}

.sg-service h2 {
	font-size: clamp(1.8rem, 3.6vw, 2.8rem) !important;
	font-weight: 800 !important;
	letter-spacing: -0.03em;
	line-height: 1.08 !important;
	margin: 0 0 1rem !important;
}

.sg-service__media {
	position: relative;
}

/* ===============================================================
   40. Liste à cocher
   =============================================================== */

.sg-checklist {
	list-style: none;
	padding: 0;
	margin: 1.8rem 0 0;
	display: grid;
	gap: 0.85rem;
}

.sg-checklist li {
	position: relative;
	padding-left: 2.1rem;
	line-height: 1.6;
	font-size: 1rem;
}

.sg-checklist li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.15em;
	width: 21px;
	height: 21px;
	border-radius: 7px;
	background: rgba(34, 197, 94, 0.16);
	border: 1px solid rgba(34, 197, 94, 0.45);
}

.sg-checklist li::after {
	content: "";
	position: absolute;
	left: 6px;
	top: 0.5em;
	width: 9px;
	height: 5px;
	border-left: 2px solid var(--sg-vert);
	border-bottom: 2px solid var(--sg-vert);
	transform: rotate(-45deg);
}

/* ===============================================================
   41. Empilement des trois couches SEO / GEO / AEO
   =============================================================== */

.sg-layers {
	width: 100%;
	height: auto;
	display: block;
}

.sg-layers__plate {
	transition: transform 0.5s var(--sg-ease);
	transform-box: fill-box;
	transform-origin: center;
}

.sg-layers__group:hover .sg-layers__plate--1 { transform: translateY(-8px); }
.sg-layers__group:hover .sg-layers__plate--2 { transform: translateY(0); }
.sg-layers__group:hover .sg-layers__plate--3 { transform: translateY(8px); }

.sg-layers__float {
	animation: sg-levitate 6s ease-in-out infinite;
}

.sg-layers__float--b { animation-delay: 0.8s; }
.sg-layers__float--c { animation-delay: 1.6s; }

@keyframes sg-levitate {
	0%, 100% { transform: translateY(0); }
	50%      { transform: translateY(-7px); }
}

/* ===============================================================
   42. Tableau comparatif
   =============================================================== */

.sg-table-wrap {
	margin-top: 3rem;
	overflow-x: auto;
	border-radius: var(--sg-radius);
	border: 1px solid rgba(255, 255, 255, 0.12);
	background: rgba(255, 255, 255, 0.03);
}

.sg-table {
	width: 100%;
	min-width: 680px;
	border-collapse: collapse;
	font-size: 0.97rem;
}

.sg-table th,
.sg-table td {
	padding: 1.1rem 1.3rem;
	text-align: left;
	vertical-align: top;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sg-table thead th {
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.5);
	background: rgba(255, 255, 255, 0.035);
	white-space: nowrap;
}

.sg-table tbody th {
	font-weight: 700;
	color: #fff;
	white-space: nowrap;
}

.sg-table td {
	color: rgba(255, 255, 255, 0.72);
	line-height: 1.6;
}

.sg-table tbody tr:last-child th,
.sg-table tbody tr:last-child td {
	border-bottom: 0;
}

.sg-table tbody tr {
	transition: background 0.25s var(--sg-ease);
}

.sg-table tbody tr:hover {
	background: rgba(124, 58, 237, 0.1);
}

/* ===============================================================
   43. Maquette tableau de bord publicitaire
   =============================================================== */

.sg-dash__bar {
	transform-origin: bottom;
	transform: scaleY(0);
	animation: sg-grow 5s var(--sg-ease) infinite;
}

.sg-dash__bar--2 { animation-delay: 0.14s; }
.sg-dash__bar--3 { animation-delay: 0.28s; }
.sg-dash__bar--4 { animation-delay: 0.42s; }
.sg-dash__bar--5 { animation-delay: 0.56s; }
.sg-dash__bar--6 { animation-delay: 0.70s; }

@keyframes sg-grow {
	0%, 6%    { transform: scaleY(0); }
	30%, 82%  { transform: scaleY(1); }
	96%, 100% { transform: scaleY(0); }
}

/* ===============================================================
   44. Entonnoir d'acquisition
   =============================================================== */

.sg-funnel__step {
	opacity: 0;
	animation: sg-funnel 6s var(--sg-ease) infinite;
}

.sg-funnel__step--2 { animation-delay: 0.5s; }
.sg-funnel__step--3 { animation-delay: 1s; }
.sg-funnel__step--4 { animation-delay: 1.5s; }

@keyframes sg-funnel {
	0%, 8%    { opacity: 0; transform: translateY(-8px); }
	28%, 80%  { opacity: 1; transform: none; }
	94%, 100% { opacity: 0; transform: translateY(-8px); }
}

.sg-funnel__drop {
	animation: sg-drop 2.6s ease-in-out infinite;
}

@keyframes sg-drop {
	0%   { transform: translateY(0); opacity: 0; }
	20%  { opacity: 1; }
	80%  { opacity: 1; }
	100% { transform: translateY(112px); opacity: 0; }
}

/* ===============================================================
   45. Mouvement réduit : additions
   =============================================================== */

@media (prefers-reduced-motion: reduce) {
	.sg-layers__float,
	.sg-dash__bar,
	.sg-funnel__step,
	.sg-funnel__drop {
		animation: none !important;
	}

	.sg-dash__bar { transform: scaleY(1) !important; }
	.sg-funnel__step { opacity: 1 !important; transform: none !important; }
}

/* ===============================================================
   46. Comparaison en deux panneaux (avant / après)
   =============================================================== */

.sg-compare {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 1.4rem;
	margin-top: 2.8rem;
	align-items: start;
}

.sg-compare__panel {
	padding: 1.8rem;
	border-radius: var(--sg-radius);
	background: rgba(255, 255, 255, 0.035);
	border: 1px solid rgba(255, 255, 255, 0.1);
	transition: border-color 0.35s var(--sg-ease), transform 0.35s var(--sg-ease);
}

.sg-compare__panel:hover {
	transform: translateY(-4px);
	border-color: rgba(124, 58, 237, 0.4);
}

.sg-compare__panel--now {
	border-color: rgba(34, 197, 94, 0.35);
	background: rgba(34, 197, 94, 0.06);
}

.sg-compare__tag {
	display: inline-block;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	padding: 0.35em 0.9em;
	border-radius: 100px;
	margin-bottom: 1.1rem;
	background: rgba(255, 255, 255, 0.08);
	color: rgba(255, 255, 255, 0.7);
}

.sg-compare__panel--now .sg-compare__tag {
	background: rgba(34, 197, 94, 0.18);
	color: var(--sg-vert-light);
}

.sg-compare__panel h3 {
	font-size: 1.2rem !important;
	font-weight: 700 !important;
	margin: 0 0 0.6rem !important;
	letter-spacing: -0.02em;
}

.sg-compare__panel p {
	font-size: 0.98rem;
	line-height: 1.65;
	margin: 0;
}

/* ===============================================================
   47. Pyramide des piliers
   =============================================================== */

.sg-pillars {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 1.3rem;
	margin-top: 2.8rem;
}

.sg-pillar {
	position: relative;
	padding: 2rem 1.7rem;
	border-radius: var(--sg-radius);
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.1);
	overflow: hidden;
	transition: transform 0.4s var(--sg-ease), border-color 0.4s var(--sg-ease);
}

.sg-pillar:hover {
	transform: translateY(-6px);
	border-color: rgba(124, 58, 237, 0.45);
}

.sg-pillar__index {
	font-size: 3.4rem;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.05em;
	background: linear-gradient(140deg, var(--sg-violet-light), var(--sg-vert));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
	opacity: 0.85;
	margin-bottom: 0.7rem;
}

.sg-pillar h3 {
	font-size: 1.2rem !important;
	font-weight: 700 !important;
	margin: 0 0 0.6rem !important;
}

.sg-pillar p {
	font-size: 0.98rem;
	line-height: 1.65;
	margin: 0;
}

/* Jauge de progression décorative */
.sg-pillar__gauge {
	position: absolute;
	left: 0;
	bottom: 0;
	height: 3px;
	width: 100%;
	background: rgba(255, 255, 255, 0.07);
}

.sg-pillar__gauge span {
	display: block;
	height: 100%;
	width: 0;
	background: linear-gradient(90deg, var(--sg-violet), var(--sg-vert));
	transition: width 1.4s var(--sg-ease);
}

.sg-visible .sg-pillar__gauge span {
	width: var(--fill, 70%);
}

/* ===============================================================
   48. Maquette de fiche d'établissement
   =============================================================== */

.sg-gbp__star {
	fill: #fbbf24;
	opacity: 0;
	animation: sg-star 4s var(--sg-ease) infinite;
}

.sg-gbp__star--2 { animation-delay: 0.12s; }
.sg-gbp__star--3 { animation-delay: 0.24s; }
.sg-gbp__star--4 { animation-delay: 0.36s; }
.sg-gbp__star--5 { animation-delay: 0.48s; }

@keyframes sg-star {
	0%, 6%    { opacity: 0; transform: scale(.5); }
	26%, 84%  { opacity: 1; transform: none; }
	96%, 100% { opacity: 0; transform: scale(.5); }
}

.sg-gbp__ping {
	transform-box: fill-box;
	transform-origin: center;
	animation: sg-halo 2.8s ease-out infinite;
}

/* ===============================================================
   49. Mouvement réduit : additions
   =============================================================== */

@media (prefers-reduced-motion: reduce) {
	.sg-gbp__star,
	.sg-gbp__ping {
		animation: none !important;
		opacity: 1 !important;
	}

	.sg-pillar__gauge span {
		width: var(--fill, 70%) !important;
		transition: none !important;
	}
}

/* ===============================================================
   50. Ligne d'indicateurs
   =============================================================== */

.sg-metrics {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 1rem;
	margin-top: 2.4rem;
}

.sg-metric {
	padding: 1.5rem 1.3rem;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.sg-metric__k {
	display: block;
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--sg-vert-light);
	margin-bottom: 0.55rem;
}

.sg-metric__v {
	display: block;
	font-size: 1.02rem;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.78);
}

/* ===============================================================
   51. Ciblage géographique
   =============================================================== */

.sg-geo__ring {
	fill: none;
	stroke: rgba(124, 58, 237, 0.5);
	stroke-dasharray: 5 7;
	animation: sg-dash 14s linear infinite;
}

.sg-geo__wave {
	transform-box: fill-box;
	transform-origin: center;
	animation: sg-halo 3.4s ease-out infinite;
}

.sg-geo__wave--b { animation-delay: 1.1s; }
.sg-geo__wave--c { animation-delay: 2.2s; }

@media (prefers-reduced-motion: reduce) {
	.sg-geo__ring,
	.sg-geo__wave {
		animation: none !important;
	}
}

/* ===============================================================
   52. Plateformes sociales
   =============================================================== */

.sg-platforms {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 1.2rem;
	margin-top: 2.8rem;
}

.sg-platform {
	position: relative;
	padding: 1.9rem 1.6rem;
	border-radius: var(--sg-radius);
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.11);
	overflow: hidden;
	transition: transform 0.4s var(--sg-ease), border-color 0.4s var(--sg-ease);
}

.sg-platform:hover {
	transform: translateY(-6px);
	border-color: rgba(124, 58, 237, 0.5);
}

.sg-platform__mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 14px;
	margin-bottom: 1.1rem;
	font-size: 1.05rem;
	font-weight: 800;
	color: #fff;
	background: linear-gradient(140deg, var(--sg-violet), var(--sg-violet-light));
	transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sg-platform:hover .sg-platform__mark {
	transform: rotate(-8deg) scale(1.08);
}

.sg-platform h3 {
	font-size: 1.18rem !important;
	font-weight: 700 !important;
	margin: 0 0 0.35rem !important;
	letter-spacing: -0.02em;
}

.sg-platform__for {
	display: block;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--sg-vert-light);
	margin-bottom: 0.8rem;
}

.sg-platform p {
	font-size: 0.97rem;
	line-height: 1.65;
	margin: 0;
	color: rgba(255, 255, 255, 0.7);
}

/* ===============================================================
   53. Rythme de publication
   =============================================================== */

.sg-rhythm__slot {
	opacity: 0;
	animation: sg-slot 6s var(--sg-ease) infinite;
}

.sg-rhythm__slot--2 { animation-delay: 0.35s; }
.sg-rhythm__slot--3 { animation-delay: 0.7s; }
.sg-rhythm__slot--4 { animation-delay: 1.05s; }
.sg-rhythm__slot--5 { animation-delay: 1.4s; }
.sg-rhythm__slot--6 { animation-delay: 1.75s; }

@keyframes sg-slot {
	0%, 5%    { opacity: 0; transform: scale(.85); }
	22%, 82%  { opacity: 1; transform: none; }
	95%, 100% { opacity: 0; transform: scale(.85); }
}

@media (prefers-reduced-motion: reduce) {
	.sg-rhythm__slot {
		animation: none !important;
		opacity: 1 !important;
	}
}

/* ===============================================================
   54. Parcours (frise avec repères temporels)
   =============================================================== */

.sg-career {
	display: grid;
	gap: 0;
	margin-top: 3rem;
}

.sg-career__step {
	position: relative;
	display: grid;
	grid-template-columns: 130px minmax(0, 1fr);
	gap: 1.8rem;
	padding-bottom: 2.8rem;
}

@media (max-width: 720px) {
	.sg-career__step {
		grid-template-columns: 1fr;
		gap: 0.6rem;
		padding-left: 1.8rem;
	}
}

.sg-career__when {
	text-align: right;
	font-size: 0.9rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: var(--sg-vert-light);
	padding-top: 0.15rem;
}

@media (max-width: 720px) {
	.sg-career__when {
		text-align: left;
	}
}

.sg-career__body {
	position: relative;
	padding-left: 2.2rem;
}

@media (max-width: 720px) {
	.sg-career__body {
		padding-left: 0;
	}
}

/* Pastille et trait de liaison */
.sg-career__body::before {
	content: "";
	position: absolute;
	left: 0;
	top: 6px;
	width: 13px;
	height: 13px;
	border-radius: 50%;
	background: linear-gradient(140deg, var(--sg-violet), var(--sg-violet-light));
	box-shadow: 0 0 0 5px rgba(124, 58, 237, 0.16);
}

.sg-career__body::after {
	content: "";
	position: absolute;
	left: 6px;
	top: 26px;
	bottom: -22px;
	width: 2px;
	background: linear-gradient(180deg, rgba(124, 58, 237, 0.45), rgba(124, 58, 237, 0.05));
}

@media (max-width: 720px) {
	.sg-career__body::before {
		left: -1.8rem;
	}
	.sg-career__body::after {
		left: calc(-1.8rem + 6px);
	}
}

.sg-career__step:last-child {
	padding-bottom: 0;
}

.sg-career__step:last-child .sg-career__body::after {
	display: none;
}

/* Étape en cours : pastille verte pulsante */
.sg-career__step--now .sg-career__body::before {
	background: linear-gradient(140deg, var(--sg-vert), var(--sg-vert-light));
	animation: sg-pulse 2.6s infinite;
}

.sg-career__body h3 {
	font-size: 1.28rem !important;
	font-weight: 700 !important;
	letter-spacing: -0.02em;
	margin: 0 0 0.5rem !important;
}

.sg-career__body p {
	line-height: 1.7;
	margin: 0;
}

.sg-career__tag {
	display: inline-block;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	padding: 0.3em 0.8em;
	border-radius: 100px;
	margin-left: 0.6rem;
	vertical-align: 3px;
	background: rgba(255, 255, 255, 0.08);
	color: rgba(255, 255, 255, 0.6);
}

.sg-career__tag--closed {
	background: rgba(251, 146, 60, 0.16);
	color: #fdba74;
}

/* Portrait en médaillon */
.sg-portrait {
	position: relative;
	border-radius: 24px;
	overflow: hidden;
	aspect-ratio: 1;
	border: 1px solid rgba(255, 255, 255, 0.12);
	background: linear-gradient(140deg, var(--sg-dark-2), var(--sg-dark-3));
}

.sg-portrait img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.9s var(--sg-ease);
}

.sg-portrait:hover img {
	transform: scale(1.04);
}

.sg-portrait::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(160deg, transparent 55%, rgba(11, 8, 23, 0.55));
	pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
	.sg-career__step--now .sg-career__body::before {
		animation: none !important;
	}
}

/* ===============================================================
   55. Conteneurs <picture> (repli WebP)
   =============================================================== */

/* <picture> est un élément en ligne : sans cela il introduit une ligne
   de base parasite sous le logo et casse le calage du portrait. */
.sg-brand picture,
.sg-footer-logo picture {
	display: block;
	line-height: 0;
}

.sg-portrait picture {
	display: block;
	width: 100%;
	height: 100%;
}

/* ===============================================================
   56. Études de cas
   =============================================================== */

.sg-case {
	position: relative;
	border-radius: 22px;
	padding: 2.4rem 2.2rem;
	background: linear-gradient(var(--sg-dark-2), var(--sg-dark-2)) padding-box,
	            linear-gradient(140deg, rgba(124, 58, 237, 0.55), rgba(56, 189, 248, 0.22) 45%, rgba(34, 197, 94, 0.4)) border-box;
	border: 1px solid transparent;
	overflow: hidden;
	transition: transform 0.45s var(--sg-ease), box-shadow 0.45s var(--sg-ease);
}

.sg-case + .sg-case {
	margin-top: 1.6rem;
}

.sg-case:hover {
	transform: translateY(-5px);
	box-shadow: 0 30px 60px -32px rgba(124, 58, 237, 0.8);
}

.sg-case__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.9rem;
	margin-bottom: 0.5rem;
}

.sg-case__client {
	font-size: 1.45rem !important;
	font-weight: 800 !important;
	letter-spacing: -0.02em;
	margin: 0 !important;
	color: #fff;
}

.sg-case__type {
	display: inline-block;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	padding: 0.35em 0.9em;
	border-radius: 100px;
	background: rgba(124, 58, 237, 0.28);
	border: 1px solid rgba(167, 139, 250, 0.45);
	color: #ddd6fe;
}

.sg-case__type--seo {
	background: rgba(56, 189, 248, 0.2);
	border-color: rgba(56, 189, 248, 0.45);
	color: #bae6fd;
}

.sg-case__lead {
	font-size: 1.02rem;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.72);
	margin: 0 0 1.8rem;
	max-width: 70ch;
}

/* Grille de chiffres */
.sg-case__metrics {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 1rem;
	margin-bottom: 1.6rem;
}

.sg-case__metric {
	padding: 1.2rem 1.1rem;
	border-radius: 15px;
	background: rgba(255, 255, 255, 0.045);
	border: 1px solid rgba(255, 255, 255, 0.1);
	transition: border-color 0.35s var(--sg-ease);
}

.sg-case:hover .sg-case__metric {
	border-color: rgba(255, 255, 255, 0.2);
}

.sg-case__metric b {
	display: block;
	font-size: clamp(1.6rem, 3vw, 2.1rem);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -0.03em;
	background: linear-gradient(115deg, var(--sg-violet-light), var(--sg-cyan) 55%, var(--sg-vert));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
	margin-bottom: 0.3rem;
}

.sg-case__metric span {
	font-size: 0.86rem;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.58);
	display: block;
}

/* Ce qui a été fait */
.sg-case__what {
	padding-top: 1.4rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sg-case__what h4 {
	font-size: 0.76rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--sg-vert-light);
	margin: 0 0 0.7rem !important;
}

.sg-case__what p {
	font-size: 0.98rem;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.7);
	margin: 0;
}

/* Mention de source / période */
.sg-case__source {
	display: block;
	margin-top: 1.2rem;
	font-size: 0.82rem;
	color: rgba(255, 255, 255, 0.4);
}

/* Cas en cours de documentation */
.sg-case--soon {
	background: rgba(255, 255, 255, 0.03);
	border: 1px dashed rgba(255, 255, 255, 0.18);
}

.sg-case--soon:hover {
	transform: none;
	box-shadow: none;
}

/* ===============================================================
   57. Captures de preuve dans les études de cas
   =============================================================== */

.sg-proof-fig {
	margin: 1.8rem 0 0;
}

.sg-proof-fig img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 14px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	background: #fff;
	transition: transform 0.45s var(--sg-ease), box-shadow 0.45s var(--sg-ease);
}

.sg-proof-fig img:hover {
	transform: scale(1.012);
	box-shadow: 0 24px 50px -26px rgba(0, 0, 0, 0.9);
}

.sg-proof-fig figcaption {
	margin-top: 0.8rem;
	font-size: 0.85rem;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.5);
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
}

.sg-proof-fig figcaption::before {
	content: "";
	flex: none;
	width: 14px;
	height: 14px;
	margin-top: 0.22em;
	border-radius: 4px;
	background: rgba(34, 197, 94, 0.25);
	border: 1px solid rgba(34, 197, 94, 0.5);
}

/* Capture au format portrait : on limite sa hauteur pour ne pas casser le rythme */
.sg-proof-fig--tall img {
	max-width: 620px;
}

/* ===============================================================
   58. Pages légales
   =============================================================== */

.sg-legal h2 {
	font-size: clamp(1.4rem, 2.4vw, 1.8rem) !important;
	font-weight: 800 !important;
	letter-spacing: -0.02em;
	margin: 3rem 0 1rem !important;
	padding-top: 1.6rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sg-legal h2:first-of-type {
	margin-top: 0 !important;
	padding-top: 0;
	border-top: 0;
}

.sg-legal h3 {
	font-size: 1.1rem !important;
	font-weight: 700 !important;
	margin: 1.8rem 0 0.6rem !important;
}

.sg-legal p,
.sg-legal li {
	line-height: 1.75;
	color: rgba(255, 255, 255, 0.74);
}

.sg-legal ul {
	padding-left: 1.3rem;
	margin: 1rem 0;
}

.sg-legal li {
	margin-bottom: 0.5rem;
}

.sg-legal strong {
	color: #fff;
}

.sg-legal a {
	color: var(--sg-vert-light);
}

/* Bloc d'identification */
.sg-legal__id {
	margin: 1.2rem 0;
	padding: 1.4rem 1.6rem;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.11);
}

.sg-legal__id dl {
	margin: 0;
	display: grid;
	grid-template-columns: minmax(150px, auto) 1fr;
	gap: 0.6rem 1.4rem;
}

@media (max-width: 620px) {
	.sg-legal__id dl {
		grid-template-columns: 1fr;
		gap: 0.2rem;
	}
	.sg-legal__id dd {
		margin-bottom: 0.9rem;
	}
}

.sg-legal__id dt {
	font-weight: 600;
	color: rgba(255, 255, 255, 0.55);
	font-size: 0.93rem;
}

.sg-legal__id dd {
	margin: 0;
	color: #fff;
}

/* Champ restant à compléter — volontairement très visible */
.sg-todo {
	display: inline-block;
	padding: 0.15em 0.7em;
	border-radius: 6px;
	background: rgba(251, 146, 60, 0.2);
	border: 1px dashed rgba(251, 146, 60, 0.7);
	color: #fdba74 !important;
	font-weight: 600;
	font-size: 0.92em;
}

.sg-legal__notice {
	margin-top: 2.4rem;
	padding: 1.3rem 1.5rem;
	border-radius: 14px;
	background: rgba(251, 146, 60, 0.1);
	border: 1px dashed rgba(251, 146, 60, 0.5);
}

.sg-legal__notice p {
	margin: 0;
	color: #fed7aa !important;
	font-size: 0.95rem;
}

/* ===============================================================
   59. Menu : bouton d'appel à l'action et sous-menu illustré
   =============================================================== */

/* Contact traité comme un bouton plein */
.wp-block-navigation .sg-nav-cta > a,
.wp-block-navigation li.sg-nav-cta > a {
	padding: 0.68em 1.5em !important;
	border-radius: 100px;
	background: var(--sg-vert);
	color: var(--sg-dark) !important;
	font-weight: 700 !important;
	transition: transform 0.3s var(--sg-ease), box-shadow 0.3s var(--sg-ease),
	            background 0.3s var(--sg-ease);
}

.wp-block-navigation .sg-nav-cta > a:hover {
	transform: translateY(-2px);
	background: var(--sg-vert-light);
	box-shadow: 0 14px 30px -12px rgba(34, 197, 94, 0.9);
}

/* Le soulignement animé n'a pas de sens sur un bouton */
.wp-block-navigation .sg-nav-cta > a::after {
	display: none !important;
}

/* --- Sous-menu --- */
.wp-block-navigation__submenu-container {
	border: 1px solid rgba(255, 255, 255, 0.12) !important;
	border-radius: 16px !important;
	background: rgba(13, 9, 28, 0.92) !important;
	backdrop-filter: blur(20px) saturate(180%);
	-webkit-backdrop-filter: blur(20px) saturate(180%);
	box-shadow: 0 26px 60px -24px rgba(0, 0, 0, 0.95);
	padding: 0.5rem !important;
	min-width: 268px !important;
	overflow: hidden;
}

.wp-block-navigation__submenu-container li > a {
	display: flex !important;
	align-items: center;
	gap: 0.8rem;
	padding: 0.72rem 0.9rem !important;
	border-radius: 11px;
	font-weight: 500;
	transition: background 0.3s var(--sg-ease), transform 0.3s var(--sg-ease),
	            color 0.3s var(--sg-ease);
}

.wp-block-navigation__submenu-container li > a:hover {
	background: rgba(124, 58, 237, 0.28);
	transform: translateX(4px);
}

/* Pas de soulignement dans le sous-menu, l'icône fait le travail */
.wp-block-navigation__submenu-container li > a::after {
	display: none !important;
}

/* Pictogramme devant chaque entrée, coloré par masque */
.wp-block-navigation__submenu-container li > a::before {
	content: "";
	flex: none;
	width: 22px;
	height: 22px;
	background: linear-gradient(135deg, var(--sg-violet-light), var(--sg-vert));
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: contain;
	mask-size: contain;
	transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
	            background 0.35s var(--sg-ease);
}

/* Loupe — référencement */
.wp-block-navigation__submenu-container a[href*="seo-geo-aeo"]::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5L21 21'/%3E%3Cpath d='M7.5 11.5l2-2.5 2 2 2.5-3.5'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5L21 21'/%3E%3Cpath d='M7.5 11.5l2-2.5 2 2 2.5-3.5'/%3E%3C/svg%3E");
}

/* Presse-papiers et loupe — audit SEO */
.wp-block-navigation__submenu-container a[href*="audit-seo"]::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 5H6a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h7'/%3E%3Crect x='9' y='3' width='6' height='4' rx='1'/%3E%3Cpath d='M8 11h4M8 15h2'/%3E%3Ccircle cx='16.5' cy='15.5' r='4.5'/%3E%3Cpath d='m20 19 2 2'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 5H6a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h7'/%3E%3Crect x='9' y='3' width='6' height='4' rx='1'/%3E%3Cpath d='M8 11h4M8 15h2'/%3E%3Ccircle cx='16.5' cy='15.5' r='4.5'/%3E%3Cpath d='m20 19 2 2'/%3E%3C/svg%3E");
}

/* Repère cartographique — Google Maps */
.wp-block-navigation__submenu-container a[href*="referencement-google-maps"]::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 5-8 12-8 12S4 15 4 10a8 8 0 1 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 5-8 12-8 12S4 15 4 10a8 8 0 1 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E");
}

/* Outils croisés — artisans */
.wp-block-navigation__submenu-container a[href*="seo-artisans"]::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m14 6 4-4 4 4-4 4'/%3E%3Cpath d='m16 8-9.5 9.5a2.1 2.1 0 0 1-3-3L13 5'/%3E%3Cpath d='m14 14 7 7M18 17l-2 2'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m14 6 4-4 4 4-4 4'/%3E%3Cpath d='m16 8-9.5 9.5a2.1 2.1 0 0 1-3-3L13 5'/%3E%3Cpath d='m14 14 7 7M18 17l-2 2'/%3E%3C/svg%3E");
}

/* Usine et signal — industrie B2B */
.wp-block-navigation__submenu-container a[href*="seo-industrie-b2b"]::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21V10l6 3V9l6 3V6h4l2 15H3Z'/%3E%3Cpath d='M7 17h2M12 17h2M17 17h2'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21V10l6 3V9l6 3V6h4l2 15H3Z'/%3E%3Cpath d='M7 17h2M12 17h2M17 17h2'/%3E%3C/svg%3E");
}

/* Cible — publicité */
.wp-block-navigation__submenu-container a[href*="google-ads"]::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Ccircle cx='12' cy='12' r='4.5'/%3E%3Ccircle cx='12' cy='12' r='1.2' fill='%23000'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Ccircle cx='12' cy='12' r='4.5'/%3E%3Ccircle cx='12' cy='12' r='1.2' fill='%23000'/%3E%3C/svg%3E");
}

/* Réseau de points — réseaux sociaux */
.wp-block-navigation__submenu-container a[href*="reseaux-sociaux"]::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='6' cy='7' r='3'/%3E%3Ccircle cx='18' cy='13' r='3'/%3E%3Ccircle cx='8' cy='18.5' r='3'/%3E%3Cpath d='M8.7 8.5l6.6 3.2M9.9 16.4l5.6-2.2'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='6' cy='7' r='3'/%3E%3Ccircle cx='18' cy='13' r='3'/%3E%3Ccircle cx='8' cy='18.5' r='3'/%3E%3Cpath d='M8.7 8.5l6.6 3.2M9.9 16.4l5.6-2.2'/%3E%3C/svg%3E");
}

/* L'icône réagit au survol */
.wp-block-navigation__submenu-container li > a:hover::before {
	transform: rotate(-10deg) scale(1.18);
	background: linear-gradient(135deg, var(--sg-vert-light), var(--sg-cyan));
}

/* Apparition en cascade à l'ouverture du sous-menu */
.wp-block-navigation__submenu-container li {
	opacity: 0;
	transform: translateY(-6px);
	animation: sg-submenu-in 0.35s var(--sg-ease) forwards;
}

.wp-block-navigation__submenu-container li:nth-child(1) { animation-delay: 0.02s; }
.wp-block-navigation__submenu-container li:nth-child(2) { animation-delay: 0.08s; }
.wp-block-navigation__submenu-container li:nth-child(3) { animation-delay: 0.14s; }
.wp-block-navigation__submenu-container li:nth-child(4) { animation-delay: 0.20s; }
.wp-block-navigation__submenu-container li:nth-child(5) { animation-delay: 0.26s; }

@keyframes sg-submenu-in {
	to { opacity: 1; transform: none; }
}

/* Chevron du parent qui pivote quand le sous-menu s'ouvre */
.wp-block-navigation-submenu__toggle svg,
.wp-block-navigation__submenu-icon svg {
	transition: transform 0.35s var(--sg-ease);
}

.wp-block-navigation-item:hover > .wp-block-navigation-submenu__toggle svg,
.wp-block-navigation-item:focus-within > .wp-block-navigation-submenu__toggle svg,
.wp-block-navigation-item:hover > a > .wp-block-navigation__submenu-icon svg {
	transform: rotate(180deg);
}

@media (prefers-reduced-motion: reduce) {
	.wp-block-navigation__submenu-container li {
		animation: none !important;
		opacity: 1 !important;
		transform: none !important;
	}
	.wp-block-navigation__submenu-container li > a::before,
	.wp-block-navigation-submenu__toggle svg {
		transition: none !important;
	}
}

/* ===============================================================
   60. Mobile — bouton du menu et correctifs de débordement
   =============================================================== */

/* Icône hamburger en blanc sur le hero sombre */
.wp-block-navigation__responsive-container-open,
.wp-block-navigation__responsive-container-close {
	color: #fff !important;
	padding: 0.35rem !important;
}

.wp-block-navigation__responsive-container-open svg,
.wp-block-navigation__responsive-container-close svg {
	fill: #fff !important;
	width: 28px;
	height: 28px;
}

.wp-block-navigation__responsive-container-open svg path,
.wp-block-navigation__responsive-container-open svg rect,
.wp-block-navigation__responsive-container-close svg path,
.wp-block-navigation__responsive-container-close svg rect {
	fill: #fff !important;
	stroke: #fff !important;
}

/* Menu déroulé : fond sombre plein écran, entrées lisibles */
.wp-block-navigation__responsive-container.is-menu-open {
	background: var(--sg-dark) !important;
	padding: 1.4rem !important;
}

.wp-block-navigation__responsive-container.is-menu-open a,
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	color: #fff !important;
	font-size: 1.15rem !important;
}

/* Sous-menu déplié dans le menu mobile : pas de fond flouté ni de position absolue */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	backdrop-filter: none !important;
	-webkit-backdrop-filter: none !important;
	padding-left: 0.6rem !important;
	min-width: 0 !important;
}

/* Le bouton Contact reprend sa forme dans le menu mobile */
.wp-block-navigation__responsive-container.is-menu-open .sg-nav-cta > a {
	display: inline-flex !important;
	margin-top: 0.6rem;
}

/* ===============================================================
   61. Mobile — garde-fous contre le débordement horizontal
   =============================================================== */

@media (max-width: 782px) {
	/* Rien ne doit dépasser la largeur de l'écran */
	.sg-map,
	.sg-chart,
	.sg-mock,
	.sg-layers,
	.sg-orbit svg,
	.sg-service__media svg,
	.sg-proof-fig img {
		max-width: 100%;
		height: auto;
	}

	/* Le parallaxe provoque des décalages sur petits écrans */
	.sg-parallax {
		transform: none !important;
	}

	/* Les titres très longs ne doivent pas forcer la largeur */
	.sg-display,
	.sg-title {
		max-width: 100% !important;
		overflow-wrap: break-word;
		hyphens: auto;
	}

	/* Les blocs sticky n'ont pas de sens en colonne unique */
	.sg-sticky {
		position: static !important;
	}

	/* Le hero reprend une hauteur naturelle */
	.sg-hero {
		min-height: 0;
		padding-top: clamp(120px, 26vw, 170px) !important;
	}

	/* Les cellules bento et cartes gardent des marges internes confortables */
	.sg-bento__cell,
	.sg-case {
		padding: 1.6rem 1.3rem !important;
	}

	/* Les chiffres très larges se replient */
	.sg-case__metrics,
	.sg-stats {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 480px) {
	.sg-case__metrics,
	.sg-stats,
	.sg-pillars,
	.sg-platforms,
	.sg-cards {
		grid-template-columns: 1fr;
	}

	/* Les pastilles de villes ne débordent pas */
	.sg-pills {
		gap: 0.45rem;
	}

	.sg-pill,
	.sg-badge {
		font-size: 0.82rem;
		padding: 0.45em 0.85em;
	}

	/* Le tableau comparatif reste défilable sans casser la page */
	.sg-table-wrap {
		margin-left: calc(var(--wp--preset--spacing--50) * -1);
		margin-right: calc(var(--wp--preset--spacing--50) * -1);
		border-radius: 0;
		border-left: 0;
		border-right: 0;
	}
}

/* ===============================================================
   62. Texte en dégradé — robustesse
   =============================================================== */

/* Si le navigateur ne sait pas découper un fond sur du texte, on retombe
   sur une couleur pleine plutôt que sur du texte invisible. */
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
	.sg-gradient-text {
		background: none;
		color: var(--sg-vert-light);
		-webkit-text-fill-color: var(--sg-vert-light);
	}
}

/* Un élément en dégradé qui sert aussi de mot animé doit rester en ligne :
   sinon il passe à la ligne et casse la mise en page du titre. */
.sg-gradient-text.sg-word {
	display: inline;
}

/* Sur mobile, on renonce à l'animation du dégradé : elle consomme
   inutilement et provoque des rendus instables sur certains WebKit. */
@media (max-width: 782px) {
	.sg-gradient-text {
		animation: none;
		background-position: 0 50%;
	}
}

/* ===============================================================
   63. Direction lumineuse — août 2026
   =============================================================== */

:root {
	--sg-paper: #fbfcff;
	--sg-paper-soft: #f4f6ff;
	--sg-paper-violet: #f5f1ff;
	--sg-paper-cyan: #eef9ff;
	--sg-ink: #171329;
	--sg-ink-soft: #59556a;
	--sg-line: rgba(41, 32, 78, 0.11);
	--sg-shadow: 0 24px 70px -40px rgba(68, 49, 132, 0.34);
}

body {
	background: var(--sg-paper);
	color: var(--sg-ink);
}

/* En-tête clair, flottant et lisible dès le premier écran. */
.wp-site-blocks > header {
	background: rgba(251, 252, 255, 0.8);
	backdrop-filter: blur(18px) saturate(160%);
	-webkit-backdrop-filter: blur(18px) saturate(160%);
	border-bottom: 1px solid rgba(41, 32, 78, 0.07);
}

.sg-scrolled .wp-site-blocks > header {
	background: rgba(255, 255, 255, 0.92);
	box-shadow: 0 14px 42px -28px rgba(32, 23, 69, 0.42);
	border-bottom-color: rgba(41, 32, 78, 0.1);
}

.wp-site-blocks > header .wp-block-site-title a,
.wp-site-blocks > header .wp-block-navigation a,
.wp-site-blocks > header .wp-block-navigation__responsive-container-open {
	color: var(--sg-ink) !important;
}

.wp-site-blocks > header .wp-block-navigation__responsive-container-open svg,
.wp-site-blocks > header .wp-block-navigation__responsive-container-close svg {
	fill: var(--sg-ink) !important;
}

.wp-site-blocks > header .sg-brand img {
	filter: none;
}

.wp-block-navigation__submenu-container {
	background: rgba(255, 255, 255, 0.97) !important;
	border-color: var(--sg-line) !important;
	box-shadow: 0 24px 54px -26px rgba(38, 27, 82, 0.35) !important;
}

.wp-block-navigation__submenu-container a:hover {
	background: var(--sg-paper-violet);
}

/* Les anciennes zones sombres deviennent des surfaces claires aérées. */
.sg-dark-zone {
	background-color: var(--sg-paper) !important;
	background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(251, 252, 255, 0.92));
	color: var(--sg-ink);
}

.sg-dark-zone h1,
.sg-dark-zone h2,
.sg-dark-zone h3,
.sg-dark-zone h4,
.sg-dark-zone p,
.sg-dark-zone li,
.sg-dark-zone strong {
	color: var(--sg-ink);
}

.sg-dark-zone p:not(.sg-eyebrow),
.sg-dark-zone .sg-stat__label,
.sg-dark-zone .sg-timeline__step p {
	color: var(--sg-ink-soft);
}

.sg-dark-zone [style*="color:rgba(255,255,255"] {
	color: var(--sg-ink-soft) !important;
}

.sg-dark-zone .sg-eyebrow,
.sg-service__num,
.sg-bento__tag {
	color: var(--sg-violet-deep);
}

.sg-dark-zone::after {
	opacity: 0.035;
	mix-blend-mode: multiply;
}

.sg-aurora::before {
	inset: -18%;
	background:
		radial-gradient(36% 44% at 10% 18%, rgba(124, 58, 237, 0.2), transparent 68%),
		radial-gradient(32% 38% at 88% 20%, rgba(56, 189, 248, 0.2), transparent 68%),
		radial-gradient(42% 46% at 54% 92%, rgba(34, 197, 94, 0.12), transparent 70%);
	filter: blur(22px);
}

.sg-grid-lines {
	background-image:
		linear-gradient(rgba(74, 58, 130, 0.055) 1px, transparent 1px),
		linear-gradient(90deg, rgba(74, 58, 130, 0.055) 1px, transparent 1px);
}

.sg-hero {
	min-height: 82vh;
}

.sg-hero .sg-lead {
	opacity: 1;
	color: var(--sg-ink-soft);
}

.sg-badge,
.sg-pill,
.sg-anchors a {
	color: #3d3751;
	background: rgba(255, 255, 255, 0.72);
	border-color: rgba(74, 58, 130, 0.14);
	box-shadow: 0 10px 30px -25px rgba(68, 49, 132, 0.45);
}

.sg-badge:hover,
.sg-pill:hover,
.sg-anchors a:hover {
	color: var(--sg-violet-deep);
	background: #fff;
	border-color: rgba(124, 58, 237, 0.28);
	box-shadow: 0 18px 38px -24px rgba(124, 58, 237, 0.48);
}

.sg-proof__item {
	color: #4e4860;
}

/* Cartes et chiffres : du verre sombre vers un relief blanc discret. */
.sg-bento__cell,
.sg-stat,
.sg-proof__item {
	background: rgba(255, 255, 255, 0.78);
	border: 1px solid rgba(74, 58, 130, 0.12);
	box-shadow: var(--sg-shadow);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
}

.sg-bento__cell:hover,
.sg-stat:hover,
.sg-proof__item:hover {
	border-color: rgba(124, 58, 237, 0.28);
	box-shadow: 0 30px 62px -34px rgba(124, 58, 237, 0.42);
}

.sg-bento__cell h3,
.sg-bento__cell p {
	color: var(--sg-ink);
}

.sg-bento__cell p {
	color: var(--sg-ink-soft);
}

.sg-bento__cell::before {
	background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%),
	            rgba(124, 58, 237, 0.12), transparent 65%);
}

.sg-stat__label {
	color: var(--sg-ink-soft);
}

.sg-card,
.sg-faq details {
	background: rgba(255, 255, 255, 0.9);
	border-color: var(--sg-line);
	box-shadow: 0 20px 54px -42px rgba(68, 49, 132, 0.45);
}

/* Le bandeau reste animé mais devient une respiration pastel. */
.sg-marquee-wrap,
.sg-marquee {
	background: linear-gradient(90deg, var(--sg-paper-violet), var(--sg-paper-cyan));
}

.sg-marquee {
	border-top-color: rgba(124, 58, 237, 0.1);
	border-bottom-color: rgba(56, 189, 248, 0.13);
}

.sg-marquee__item {
	color: rgba(32, 25, 60, 0.62);
}

/* Les illustrations techniques restent dynamiques sur un canevas blanc. */
.sg-mock,
.sg-photo,
.sg-table-wrap {
	background: rgba(255, 255, 255, 0.76);
	border-color: rgba(74, 58, 130, 0.13);
	box-shadow: var(--sg-shadow);
}

.sg-mock__panel,
.sg-mock__win,
.sg-mock__winbox {
	background: rgba(246, 247, 255, 0.92);
	border-color: rgba(74, 58, 130, 0.12);
}

.sg-mock__panel {
	fill: #f7f6ff;
	stroke: rgba(74, 58, 130, 0.18);
}

.sg-mock__bar {
	fill: rgba(48, 38, 82, 0.22);
}

.sg-mock__bar--dim {
	fill: rgba(48, 38, 82, 0.11);
}

.sg-mock text:not([fill]) {
	fill: var(--sg-violet-deep);
}

.sg-mock > rect:not(.sg-mock__panel):not(.sg-mock__winbox) {
	fill: rgba(124, 58, 237, 0.08);
	stroke: rgba(74, 58, 130, 0.14);
}

.sg-map {
	padding: clamp(0.7rem, 2vw, 1.2rem);
	box-sizing: border-box;
	border-radius: 24px;
	background: rgba(255, 255, 255, 0.68);
	border: 1px solid rgba(74, 58, 130, 0.11);
	box-shadow: 0 24px 60px -42px rgba(68, 49, 132, 0.42);
}

.sg-map__link {
	stroke: rgba(91, 33, 182, 0.3);
}

.sg-map__zone {
	fill: rgba(124, 58, 237, 0.12);
	stroke: rgba(91, 33, 182, 0.38);
}

.sg-map__pin text,
.sg-map__main text,
.sg-map__pin:hover text {
	fill: #554e69;
}

.sg-map__main text {
	fill: var(--sg-ink);
}

/* Deux respirations pastel et des étapes plus faciles à parcourir. */
.sg-dark-zone:has(.sg-timeline) {
	background-color: var(--sg-paper-violet) !important;
	background-image:
		radial-gradient(circle at 8% 18%, rgba(124, 58, 237, 0.12), transparent 34%),
		radial-gradient(circle at 92% 82%, rgba(56, 189, 248, 0.11), transparent 36%);
	border-block: 1px solid rgba(124, 58, 237, 0.08);
}

.sg-dark-zone:has(.sg-timeline) .sg-timeline__step {
	padding: 1.45rem 1.5rem 1.45rem 5rem;
	margin-bottom: 0.9rem;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.76);
	border: 1px solid rgba(74, 58, 130, 0.11);
	box-shadow: 0 20px 50px -40px rgba(68, 49, 132, 0.48);
}

.sg-dark-zone:has(.sg-timeline) .sg-timeline__step::before {
	left: 1rem;
	top: 1.3rem;
}

.sg-dark-zone:has(.sg-timeline) .sg-timeline__step::after {
	display: none;
}

.sg-dark-zone:has(.sg-map) {
	background-color: var(--sg-paper-cyan) !important;
	background-image:
		radial-gradient(circle at 12% 24%, rgba(56, 189, 248, 0.14), transparent 34%),
		radial-gradient(circle at 88% 72%, rgba(34, 197, 94, 0.1), transparent 38%);
	border-block: 1px solid rgba(56, 189, 248, 0.1);
}

.sg-chart__grid {
	stroke: rgba(49, 39, 83, 0.09);
}

.sg-table th,
.sg-table td {
	border-bottom-color: rgba(74, 58, 130, 0.09);
}

.sg-table thead th {
	color: #706a80;
	background: var(--sg-paper-soft);
}

.sg-table tbody th,
.sg-table td {
	color: var(--sg-ink);
}

.sg-table td {
	color: var(--sg-ink-soft);
}

.sg-table tbody tr:hover {
	background: var(--sg-paper-violet);
}

/* Boutons : accent plus net, sans lourdeur. */
.wp-block-button:not(.is-style-outline) .wp-block-button__link {
	box-shadow: 0 14px 30px -18px rgba(34, 197, 94, 0.7);
}

.sg-dark-zone .is-style-outline .wp-block-button__link {
	color: var(--sg-ink) !important;
	border-color: rgba(74, 58, 130, 0.23) !important;
	background: rgba(255, 255, 255, 0.62) !important;
}

.sg-dark-zone .is-style-outline .wp-block-button__link:hover {
	background: #fff !important;
	border-color: rgba(124, 58, 237, 0.38) !important;
}

/* Le grand appel à l'action et le pied de page gardent une assise sombre. */
.sg-cta {
	background: #15102b;
	box-shadow: 0 34px 80px -40px rgba(39, 27, 84, 0.68);
}

.sg-cta h1,
.sg-cta h2,
.sg-cta h3,
.sg-cta p,
.sg-cta strong {
	color: #fff;
}

footer.wp-block-template-part {
	background: #100c22;
}

/* Formulaires placés dans une zone claire. */
.sg-dark-zone .wpforms-form .wpforms-field-label {
	color: var(--sg-ink);
}

.sg-dark-zone .wpforms-form .wpforms-field-description,
.sg-dark-zone .wpforms-form .wpforms-field-sublabel {
	color: var(--sg-ink-soft) !important;
}

.sg-dark-zone .wpforms-form input[type="text"],
.sg-dark-zone .wpforms-form input[type="email"],
.sg-dark-zone .wpforms-form input[type="tel"],
.sg-dark-zone .wpforms-form textarea {
	background: #fff !important;
	border-color: rgba(74, 58, 130, 0.16) !important;
	color: var(--sg-ink) !important;
}

.sg-dark-zone .wpforms-form input::placeholder,
.sg-dark-zone .wpforms-form textarea::placeholder {
	color: #928da0;
}

@media (max-width: 782px) {
	.wp-block-navigation__responsive-container.is-menu-open {
		background: #fff !important;
	}

	.wp-block-navigation__responsive-container.is-menu-open a {
		color: var(--sg-ink) !important;
	}

	.sg-hero {
		min-height: auto;
		padding-top: 128px !important;
	}
}

/* ===============================================================
   64. Études de cas — version claire
   =============================================================== */

.sg-dark-zone.sg-section:has(.sg-case) {
	padding-top: clamp(56px, 7vw, 88px) !important;
	padding-bottom: clamp(72px, 9vw, 110px) !important;
}

.sg-case {
	background: rgba(255, 255, 255, 0.94);
	border: 1px solid rgba(74, 58, 130, 0.12);
	box-shadow: 0 26px 70px -46px rgba(55, 39, 112, 0.48);
}

.sg-case::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--sg-violet), var(--sg-cyan), var(--sg-vert));
	opacity: 0.82;
}

.sg-case:nth-child(even) {
	background: linear-gradient(145deg, #fff 35%, rgba(238, 249, 255, 0.72));
}

.sg-case:nth-child(odd) {
	background: linear-gradient(145deg, #fff 35%, rgba(245, 241, 255, 0.72));
}

.sg-case:hover {
	box-shadow: 0 34px 76px -42px rgba(91, 33, 182, 0.38);
	border-color: rgba(124, 58, 237, 0.24);
}

.sg-dark-zone .sg-case__client {
	color: var(--sg-ink);
}

.sg-case__type {
	background: rgba(124, 58, 237, 0.09);
	border-color: rgba(124, 58, 237, 0.2);
	color: var(--sg-violet-deep);
}

.sg-case__type--seo {
	background: rgba(56, 189, 248, 0.11);
	border-color: rgba(14, 165, 233, 0.23);
	color: #075985;
}

.sg-dark-zone .sg-case__lead {
	color: var(--sg-ink-soft);
}

.sg-case__metric {
	background: rgba(246, 247, 255, 0.88);
	border-color: rgba(74, 58, 130, 0.1);
}

.sg-case:nth-child(even) .sg-case__metric {
	background: rgba(238, 249, 255, 0.78);
}

.sg-case:hover .sg-case__metric {
	border-color: rgba(124, 58, 237, 0.2);
}

.sg-case__metric span {
	color: #686278;
}

.sg-case__what {
	border-top-color: rgba(74, 58, 130, 0.11);
}

.sg-case__what h4 {
	color: #15803d;
}

.sg-dark-zone .sg-case__what p {
	color: var(--sg-ink-soft);
}

.sg-case__source,
.sg-proof-fig figcaption {
	color: #777184;
}

.sg-proof-fig img {
	border-color: rgba(74, 58, 130, 0.14);
	box-shadow: 0 20px 50px -38px rgba(39, 28, 82, 0.46);
}

.sg-proof-fig img:hover {
	box-shadow: 0 28px 56px -32px rgba(91, 33, 182, 0.34);
}

@media (max-width: 782px) {
	.sg-case {
		padding: 1.7rem 1.25rem;
		border-radius: 18px;
	}

	.sg-case__metrics {
		grid-template-columns: 1fr;
	}
}

/* ===============================================================
   65. Pages locales SEO
   =============================================================== */

.sg-local-shell {
	position: relative;
	z-index: 1;
	width: min(100% - clamp(40px, 8vw, 100px), 1360px);
	margin-inline: auto;
}

.sg-local-hero .sg-local-shell {
	text-align: left;
}

.sg-local-hero .sg-display {
	max-width: 17ch;
}

.sg-local-hero .sg-lead {
	max-width: 68ch;
}

/* Les deux actions restent côte à côte sur ordinateur. */
.sg-local-hero .wp-block-buttons {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: wrap !important;
	align-items: center;
	gap: 0.85rem !important;
	width: 100%;
}

.sg-local-hero .wp-block-button {
	margin: 0 !important;
}

/* Le bouton secondaire devient un véritable accent violet. */
.sg-local-hero .wp-block-button.is-style-outline .wp-block-button__link {
	color: #fff !important;
	background: linear-gradient(135deg, var(--sg-violet), var(--sg-violet-deep)) !important;
	border-color: var(--sg-violet) !important;
	box-shadow: 0 15px 34px -18px rgba(91, 33, 182, 0.82);
}

.sg-local-hero .wp-block-button.is-style-outline .wp-block-button__link:hover {
	color: #fff !important;
	background: linear-gradient(135deg, #8b5cf6, var(--sg-violet)) !important;
	border-color: #8b5cf6 !important;
	box-shadow: 0 18px 38px -18px rgba(91, 33, 182, 0.88);
}

.sg-local-section {
	padding-block: clamp(72px, 9vw, 120px);
}

.sg-local-answer {
	position: relative;
	padding: clamp(1.8rem, 4vw, 3rem);
	border-radius: 24px;
	background: linear-gradient(135deg, rgba(245, 241, 255, 0.94), rgba(238, 249, 255, 0.92));
	border: 1px solid rgba(124, 58, 237, 0.13);
	box-shadow: 0 28px 70px -48px rgba(68, 49, 132, 0.5);
}

.sg-local-answer::before {
	content: "";
	position: absolute;
	top: 0;
	left: clamp(1.8rem, 4vw, 3rem);
	width: 80px;
	height: 4px;
	border-radius: 0 0 4px 4px;
	background: linear-gradient(90deg, var(--sg-violet), var(--sg-cyan), var(--sg-vert));
}

.sg-local-answer h2 {
	font-size: clamp(1.65rem, 3.2vw, 2.45rem);
	line-height: 1.12;
	letter-spacing: -0.025em;
	margin: 0 0 1rem;
}

.sg-local-answer p:last-child {
	font-size: clamp(1.04rem, 1.45vw, 1.2rem);
	line-height: 1.72;
	color: var(--sg-ink-soft);
	margin-bottom: 0;
}

.sg-local-source {
	margin-top: 1.5rem;
	font-size: 0.9rem;
	color: #777184 !important;
}

.sg-local-source a {
	color: var(--sg-violet-deep);
	text-underline-offset: 3px;
}

.sg-local-media {
	position: relative;
	margin: 0;
	border-radius: 24px;
	overflow: hidden;
	background: #fff;
	border: 1px solid rgba(74, 58, 130, 0.12);
	box-shadow: 0 30px 70px -42px rgba(68, 49, 132, 0.46);
}

.sg-local-media img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 520px;
	object-fit: cover;
}

.sg-local-media figcaption {
	padding: 0.9rem 1.15rem 1rem;
	font-size: 0.86rem;
	line-height: 1.5;
	color: #716b7d;
}

.sg-local-query-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.sg-local-query {
	padding: 1.35rem 1.25rem;
	border-radius: 16px;
	background: #fff;
	border: 1px solid rgba(74, 58, 130, 0.1);
	box-shadow: 0 20px 45px -38px rgba(68, 49, 132, 0.5);
}

.sg-local-query strong,
.sg-local-query span {
	display: block;
}

.sg-local-query strong {
	color: var(--sg-violet-deep);
	font-size: 0.78rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	margin-bottom: 0.55rem;
}

.sg-local-query span {
	color: var(--sg-ink);
	font-weight: 600;
	line-height: 1.5;
}

.sg-local-links-section {
	padding-block: clamp(50px, 7vw, 80px);
	background: linear-gradient(90deg, var(--sg-paper-violet), var(--sg-paper-cyan));
	border-block: 1px solid rgba(74, 58, 130, 0.08);
}

.sg-local-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.sg-local-links a {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	padding: 0.75em 1.2em;
	border-radius: 100px;
	background: rgba(255, 255, 255, 0.8);
	border: 1px solid rgba(74, 58, 130, 0.12);
	color: var(--sg-ink);
	font-size: 0.92rem;
	font-weight: 600;
	text-decoration: none;
	transition: transform 0.3s var(--sg-ease), border-color 0.3s var(--sg-ease), box-shadow 0.3s var(--sg-ease);
}

.sg-local-links a::after {
	content: "→";
	color: var(--sg-violet);
}

.sg-local-links a:hover {
	transform: translateY(-3px);
	border-color: rgba(124, 58, 237, 0.28);
	box-shadow: 0 16px 32px -26px rgba(91, 33, 182, 0.5);
}

.sg-dept-city-links {
	margin-top: 1.6rem;
}

.sg-dept-no-city {
	margin: 0;
	padding: 1rem 1.1rem;
	border: 1px solid rgba(124, 58, 237, 0.13);
	border-radius: 14px;
	background: var(--sg-paper-violet);
	color: var(--sg-ink-soft);
	font-size: 0.94rem;
	line-height: 1.65;
}

.sg-local-hub-label {
	margin: 2rem 0 0.8rem;
	color: var(--sg-violet-deep);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.11em;
	text-transform: uppercase;
}

.sg-local-hubs {
	margin-bottom: 0.35rem;
}

.sg-local-hubs a {
	border-color: rgba(124, 58, 237, 0.2);
	background: rgba(245, 241, 255, 0.96);
}

.sg-local-cta {
	margin-block: clamp(60px, 8vw, 100px);
	padding: clamp(3.5rem, 8vw, 6.5rem) clamp(1.5rem, 5vw, 4rem);
	text-align: center;
	max-width: 1360px;
}

.sg-local-cta .sg-lead {
	margin-inline: auto;
	color: rgba(255, 255, 255, 0.76);
}

.sg-local-cta .wp-block-buttons {
	display: flex;
	justify-content: center;
}

@media (max-width: 782px) {
	.sg-local-shell {
		width: min(100% - 40px, 1360px);
	}

	.sg-local-query-grid {
		grid-template-columns: 1fr;
	}

	.sg-local-hero .wp-block-buttons,
	.sg-local-hero .wp-block-button,
	.sg-local-hero .wp-block-button__link {
		width: 100%;
	}

	.sg-local-hero .wp-block-buttons {
		flex-direction: column !important;
		flex-wrap: nowrap !important;
		align-items: stretch;
		gap: 0.85rem !important;
	}

	.sg-local-hero .wp-block-button {
		flex: 0 0 auto !important;
	}

	.sg-local-hero .wp-block-button__link {
		display: flex;
		align-items: center;
		justify-content: center;
		min-height: 56px;
		box-sizing: border-box;
		text-align: center;
		line-height: 1.25;
	}

	.sg-local-links a {
		width: 100%;
		justify-content: space-between;
		box-sizing: border-box;
	}
}

/* ===============================================================
   66. Navigation mobile lisible et structurée
   =============================================================== */

@media (max-width: 782px) {
	/* Le flou de l'en-tête ne doit pas contraindre le menu fixe à sa hauteur. */
	.wp-site-blocks > header:has(.wp-block-navigation__responsive-container.is-menu-open) {
		backdrop-filter: none !important;
		-webkit-backdrop-filter: none !important;
	}

	.wp-site-blocks > header .wp-block-navigation__responsive-container-open {
		display: grid !important;
		place-items: center;
		width: 44px;
		height: 44px;
		padding: 0 !important;
		border: 1px solid rgb(124 58 237 / 18%);
		border-radius: 12px;
		background: var(--sg-paper-violet) !important;
		color: var(--sg-violet) !important;
		box-shadow: 0 8px 20px rgb(91 33 182 / 12%);
	}

	.wp-site-blocks > header .wp-block-navigation__responsive-container-open svg {
		width: 28px !important;
		height: 28px !important;
		fill: var(--sg-violet) !important;
	}

	.wp-site-blocks > header .wp-block-navigation__responsive-container-open svg path,
	.wp-site-blocks > header .wp-block-navigation__responsive-container-open svg rect {
		fill: var(--sg-violet) !important;
		stroke: var(--sg-violet) !important;
	}

	.wp-site-blocks > header .wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open {
		background: #fff !important;
		color: var(--sg-ink) !important;
		height: 100dvh !important;
		min-height: 100dvh !important;
		max-height: none !important;
		box-sizing: border-box;
		padding: max(1.35rem, env(safe-area-inset-top)) 1.35rem max(1.35rem, env(safe-area-inset-bottom)) !important;
	}

	.wp-site-blocks > header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
		align-items: stretch !important;
		width: 100%;
		padding-top: 4.35rem !important;
	}

	.wp-site-blocks > header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
		align-items: stretch !important;
		gap: 0.45rem !important;
		width: 100%;
	}

	.wp-site-blocks > header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container > .wp-block-navigation-item {
		width: 100%;
		align-items: stretch !important;
	}

	.wp-site-blocks > header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container > .wp-block-navigation-item:not(.has-child) > a,
	.wp-site-blocks > header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container > .wp-block-navigation-item.has-child > a {
		display: flex !important;
		align-items: center;
		width: 100%;
		min-height: 48px;
		padding: 0.72rem 0.9rem !important;
		box-sizing: border-box;
		border-radius: 12px;
		background: var(--sg-paper-soft) !important;
		color: var(--sg-ink) !important;
		font-size: 1.05rem !important;
		font-weight: 700 !important;
		text-align: left;
	}

	.wp-site-blocks > header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item.has-child {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) auto;
		column-gap: 0.45rem;
	}

	.wp-site-blocks > header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item.has-child > a {
		grid-column: 1;
	}

	.wp-site-blocks > header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-submenu__toggle {
		grid-column: 2;
		width: 48px;
		height: 48px;
		margin: 0 !important;
		border-radius: 12px;
		background: var(--sg-paper-violet) !important;
		color: var(--sg-violet-deep) !important;
	}

	.wp-site-blocks > header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-submenu__toggle svg,
	.wp-site-blocks > header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-submenu__toggle svg path {
		fill: none !important;
		stroke: var(--sg-violet-deep) !important;
	}

	.wp-site-blocks > header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container {
		grid-column: 1 / -1;
		display: flex !important;
		position: static !important;
		visibility: visible !important;
		opacity: 1 !important;
		width: 100% !important;
		margin: 0.15rem 0 0.35rem !important;
		padding: 0.35rem !important;
		box-sizing: border-box;
		border-radius: 14px !important;
		background: var(--sg-paper-violet) !important;
	}

	.wp-site-blocks > header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item,
	.wp-site-blocks > header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container a {
		width: 100% !important;
	}

	.wp-site-blocks > header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container a {
		justify-content: flex-start;
		padding: 0.68rem 0.75rem !important;
		box-sizing: border-box;
		color: var(--sg-ink-soft) !important;
		font-size: 0.98rem !important;
		font-weight: 650 !important;
	}

	.wp-site-blocks > header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container > .sg-nav-cta > a {
		justify-content: center;
		margin-top: 0.35rem !important;
		background: var(--sg-vert) !important;
		color: var(--sg-dark) !important;
	}

	.wp-site-blocks > header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close,
	.wp-site-blocks > header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close svg,
	.wp-site-blocks > header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close svg path {
		color: var(--sg-ink) !important;
		fill: var(--sg-ink) !important;
		stroke: var(--sg-ink) !important;
	}

	.wp-site-blocks > header .wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open ul.wp-block-navigation__container > li.sg-nav-cta.wp-block-navigation-item > a.wp-block-navigation-item__content {
		justify-content: center !important;
		margin-top: 0.35rem !important;
		background: var(--sg-vert) !important;
		color: var(--sg-dark) !important;
		box-shadow: 0 10px 24px rgb(34 197 94 / 22%);
	}
}
