/* ==========================================================================
   SineDev – styles communs à toutes les pages
   Préfixe « sdt- » : aucun conflit avec les classes des widgets Elementor.
   ========================================================================== */

:root {
	--sdt-v: #6852f4;
	--sdt-v-dark: #4e3bd4;
	--sdt-v-light: #9b85ff;
	--sdt-v-text: #8a72ff;
	--sdt-vx: #ede9ff;
	--sdt-v-soft: rgba(104, 82, 244, .08);
	--sdt-v-border: rgba(104, 82, 244, .14);
	--sdt-ink: #0d0d14;
	--sdt-ink-2: #2a2a3a;
	--sdt-slate: #4a4a62;
	--sdt-muted: #6b6b85;
	--sdt-bg-off: #f7f5ff;
	--sdt-white: #fff;
	--sdt-grad: linear-gradient(135deg, #6852f4 0%, #9b85ff 100%);
	--sdt-grad-2: linear-gradient(135deg, #4e3bd4 0%, #6852f4 100%);
	--sdt-shadow: 0 4px 30px rgba(104, 82, 244, .08);
	--sdt-shadow-h: 0 16px 50px rgba(104, 82, 244, .16);
	--sdt-radius: 16px;
	--sdt-radius-l: 24px;
	--sdt-ease: cubic-bezier(.23, 1, .32, 1);
	--sdt-font: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--sdt-font-title: 'Akaya Kanadaka', 'DM Sans', system-ui, sans-serif;
	--sdt-header-top: 16px;
	--sdt-header-h: 84px;
}

/* ---------- Base ---------- */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: var(--sdt-font);
	font-size: 1rem;
	line-height: 1.6;
	color: var(--sdt-ink);
	background: var(--sdt-white);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: clip;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--sdt-font-title);
	font-weight: 400;
	line-height: 1.15;
	color: var(--sdt-ink);
}

img,
svg,
video {
	max-width: 100%;
	height: auto;
}

a {
	color: var(--sdt-v);
}

:focus-visible {
	outline: 3px solid rgba(104, 82, 244, .55);
	outline-offset: 3px;
}

::selection {
	background: var(--sdt-vx);
	color: var(--sdt-ink);
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.sdt-skip {
	position: absolute;
	left: 16px;
	top: -100px;
	z-index: 10001;
	padding: 12px 20px;
	border-radius: 999px;
	background: var(--sdt-ink);
	color: #fff;
	font-weight: 600;
	text-decoration: none;
}

.sdt-skip:focus {
	top: 16px;
}

.sdt-icon {
	width: 1.1em;
	height: 1.1em;
	flex-shrink: 0;
	vertical-align: middle;
}

.sdt-container {
	width: 100%;
	max-width: 1200px;
	margin-inline: auto;
	padding-inline: 24px;
}

.sdt-container--narrow {
	max-width: 820px;
}

.sdt-main {
	display: block;
}

/* ---------- Titres & textes utilitaires ---------- */

.sdt-eyebrow {
	display: inline-block;
	margin-bottom: 10px;
	font-family: var(--sdt-font);
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--sdt-v);
}

.sdt-h2 {
	margin: 0 0 14px;
	font-size: clamp(2rem, 4vw, 3rem);
	line-height: 1.1;
}

.sdt-section-title {
	margin: 0 0 32px;
	font-size: clamp(1.8rem, 3.2vw, 2.4rem);
	text-align: center;
}

.sdt-gradient-text {
	background: linear-gradient(135deg, #6852f4 0%, #8a72ff 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}

.sdt-gradient-text--bright {
	background-image: linear-gradient(135deg, #a58bff 0%, #c084fc 55%, #7fb0ff 100%);
}

.sdt-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--sdt-vx);
	color: var(--sdt-v-dark);
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .04em;
	text-decoration: none;
}

.sdt-stars {
	display: inline-flex;
	gap: 2px;
	vertical-align: middle;
}

.sdt-star {
	position: relative;
	display: inline-block;
	width: 1em;
	height: 1em;
}

.sdt-star .sdt-icon {
	position: absolute;
	inset: 0;
	width: 1em;
	height: 1em;
}

.sdt-star .sdt-icon:first-child {
	color: rgba(245, 179, 1, .25);
}

.sdt-star .sdt-icon:last-child {
	color: #f5b301;
	clip-path: inset(0 calc(100% - var(--fill, 100%)) 0 0);
}

@media (max-width: 640px) {
	.sdt-hide-mobile {
		display: none;
	}
}

/* ---------- Boutons ---------- */

.sdt-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 14px 28px;
	border: 1.5px solid transparent;
	border-radius: 999px;
	font-family: var(--sdt-font);
	font-size: .95rem;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: .01em;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	overflow: hidden;
	isolation: isolate;
	transition: transform .3s var(--sdt-ease), box-shadow .3s, background-color .3s, border-color .3s, color .3s;
}

.sdt-btn:active {
	transform: translateY(0) scale(.99);
}

.sdt-btn--sm {
	padding: 9px 18px;
	font-size: .85rem;
}

.sdt-btn--lg {
	padding: 17px 34px;
}

.sdt-btn--primary {
	background: var(--sdt-grad-2);
	color: #fff;
	box-shadow: 0 8px 28px rgba(104, 82, 244, .32), inset 0 1px 0 rgba(255, 255, 255, .18);
}

.sdt-btn--primary::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, .22) 50%, transparent 100%);
	transform: translateX(-100%);
	transition: transform .55s var(--sdt-ease);
}

.sdt-btn--primary:hover {
	color: #fff;
	transform: translateY(-3px);
	box-shadow: 0 18px 50px rgba(104, 82, 244, .38), 0 4px 12px rgba(104, 82, 244, .2);
}

.sdt-btn--primary:hover::after {
	transform: translateX(100%);
}

.sdt-btn--outline {
	background: rgba(104, 82, 244, .03);
	border-color: rgba(104, 82, 244, .25);
	color: var(--sdt-ink);
}

.sdt-btn--outline:hover {
	background: var(--sdt-vx);
	border-color: var(--sdt-v);
	color: var(--sdt-v);
	transform: translateY(-3px);
	box-shadow: 0 10px 32px rgba(104, 82, 244, .12);
}

.sdt-btn--dark {
	background: var(--sdt-ink);
	color: #fff;
	box-shadow: 0 6px 20px rgba(0, 0, 0, .2);
}

.sdt-btn--dark:hover {
	color: #fff;
	transform: translateY(-3px);
	box-shadow: 0 14px 34px rgba(0, 0, 0, .28);
}

.sdt-btn--glass,
.sdt-btn--ghost-light {
	background: rgba(255, 255, 255, .12);
	border-color: rgba(255, 255, 255, .35);
	color: #fff;
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
}

.sdt-btn--glass:hover,
.sdt-btn--ghost-light:hover {
	background: rgba(255, 255, 255, .2);
	color: #fff;
	transform: translateY(-3px);
}

.sdt-btn .sdt-icon {
	transition: transform .3s var(--sdt-ease);
}

.sdt-btn:hover .sdt-icon {
	transform: translateX(3px);
}

.sdt-btn__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .2);
}

.sdt-btn__arrow .sdt-icon {
	width: 15px;
	height: 15px;
}

/* ---------- En-tête ---------- */

.sdt-header {
	position: fixed;
	top: var(--sdt-header-top);
	left: 0;
	right: 0;
	z-index: 1000;
	padding-inline: 16px;
	pointer-events: none;
}

.admin-bar .sdt-header {
	top: calc(var(--sdt-header-top) + 32px);
}

.sdt-header__bar {
	pointer-events: auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	max-width: 1260px;
	height: var(--sdt-header-h);
	margin-inline: auto;
	padding: 0 16px 0 28px;
	border: 1px solid rgba(104, 82, 244, .08);
	border-radius: 20px;
	background: rgba(255, 255, 255, .92);
	-webkit-backdrop-filter: saturate(160%) blur(16px);
	backdrop-filter: saturate(160%) blur(16px);
	box-shadow: 0 10px 40px rgba(13, 13, 20, .06);
	transition: box-shadow .3s, height .3s var(--sdt-ease);
}

.sdt-header.is-scrolled .sdt-header__bar {
	height: calc(var(--sdt-header-h) - 12px);
	box-shadow: 0 14px 44px rgba(13, 13, 20, .1);
}

.sdt-header-spacer {
	height: calc(var(--sdt-header-top) + var(--sdt-header-h) + 16px);
}

.sdt-logo {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
}

.sdt-logo__img {
	display: block;
	width: auto;
	height: 60px;
	transition: height .3s var(--sdt-ease);
}

.sdt-header.is-scrolled .sdt-logo__img {
	height: 50px;
}

.sdt-logo__mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 12px;
	background: linear-gradient(135deg, #8b7bf7, #6852f4);
	box-shadow: 0 4px 16px rgba(104, 82, 244, .4);
	color: #fff;
	font-family: var(--sdt-font);
	font-size: 1.4rem;
	font-weight: 700;
}

.sdt-logo__text {
	font-family: var(--sdt-font-title);
	font-size: 1.75rem;
	color: #fff;
}

.sdt-menu,
.sdt-drawer__menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.sdt-nav {
	display: none;
}

.sdt-menu {
	display: flex;
	align-items: center;
	gap: clamp(18px, 2.4vw, 36px);
}

.sdt-menu > li {
	position: relative;
}

.sdt-menu a {
	position: relative;
	display: inline-block;
	padding: 8px 0;
	font-family: var(--sdt-font-title);
	font-size: 1.2rem;
	color: #1a1a1a;
	text-decoration: none;
	transition: color .2s;
}

.sdt-menu > li > a::after {
	content: '';
	position: absolute;
	left: 50%;
	bottom: 0;
	width: 6px;
	height: 6px;
	margin-left: -3px;
	border-radius: 50%;
	background: var(--sdt-v);
	transform: scale(0);
	transition: transform .3s var(--sdt-ease);
}

.sdt-menu a:hover,
.sdt-menu .current-menu-item > a,
.sdt-menu .current_page_item > a,
.sdt-menu .current-menu-ancestor > a {
	color: var(--sdt-v);
}

.sdt-menu > .current-menu-item > a::after,
.sdt-menu > .current_page_item > a::after,
.sdt-menu > li > a:hover::after {
	transform: scale(1);
}

.sdt-menu .sub-menu {
	position: absolute;
	top: 100%;
	left: -16px;
	min-width: 240px;
	margin: 0;
	padding: 10px;
	list-style: none;
	border: 1px solid var(--sdt-v-border);
	border-radius: 14px;
	background: #fff;
	box-shadow: var(--sdt-shadow-h);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity .2s, transform .2s, visibility .2s;
}

.sdt-menu li:hover > .sub-menu,
.sdt-menu li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.sdt-menu .sub-menu a {
	display: block;
	padding: 8px 12px;
	border-radius: 8px;
	font-size: 1.05rem;
}

.sdt-menu .sub-menu a:hover {
	background: var(--sdt-v-soft);
}

.sdt-header__actions {
	display: flex;
	align-items: center;
	gap: 6px;
}

.sdt-header__icon {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 12px;
	background: transparent;
	color: var(--sdt-v);
	cursor: pointer;
	transition: background .2s;
}

.sdt-header__icon:hover {
	background: var(--sdt-v-soft);
}

.sdt-header__icon .sdt-icon {
	width: 22px;
	height: 22px;
}

.sdt-cart-count {
	position: absolute;
	top: 4px;
	right: 2px;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 999px;
	background: var(--sdt-v);
	color: #fff;
	font-size: .68rem;
	font-weight: 700;
	line-height: 18px;
	text-align: center;
}

.sdt-cart-count[data-count="0"] {
	display: none;
}

.sdt-header__cta {
	display: none;
	margin-left: 8px;
}

.sdt-burger__close {
	display: none;
}

.sdt-burger[aria-expanded="true"] .sdt-burger__open {
	display: none;
}

.sdt-burger[aria-expanded="true"] .sdt-burger__close {
	display: block;
}

.sdt-drawer {
	pointer-events: auto;
	position: fixed;
	top: calc(var(--sdt-header-top) + var(--sdt-header-h) + 10px);
	left: 16px;
	right: 16px;
	max-height: calc(100vh - var(--sdt-header-h) - 40px);
	overflow-y: auto;
	padding: 20px;
	border: 1px solid var(--sdt-v-border);
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 24px 60px rgba(13, 13, 20, .16);
	animation: sdt-drop .3s var(--sdt-ease);
}

@keyframes sdt-drop {
	from { opacity: 0; transform: translateY(-10px); }
	to { opacity: 1; transform: translateY(0); }
}

.sdt-drawer__menu a {
	display: block;
	padding: 12px 8px;
	border-bottom: 1px solid var(--sdt-v-soft);
	font-family: var(--sdt-font-title);
	font-size: 1.5rem;
	color: var(--sdt-ink);
	text-decoration: none;
}

.sdt-drawer__menu .current-menu-item > a {
	color: var(--sdt-v);
}

.sdt-drawer__menu .sub-menu {
	margin: 0;
	padding-left: 16px;
	list-style: none;
}

.sdt-drawer__menu .sub-menu a {
	font-size: 1.2rem;
}

.sdt-drawer__actions {
	display: grid;
	gap: 10px;
	margin-top: 20px;
}

.sdt-drawer__link {
	padding: 8px;
	color: var(--sdt-slate);
	font-weight: 600;
	text-align: center;
	text-decoration: none;
}

html.sdt-drawer-open {
	overflow: hidden;
}

@media (min-width: 1100px) {
	.sdt-nav {
		display: block;
	}

	.sdt-header__cta {
		display: inline-flex;
	}

	.sdt-burger,
	.sdt-drawer {
		display: none !important;
	}
}

@media (max-width: 782px) {
	.admin-bar .sdt-header {
		top: calc(var(--sdt-header-top) + 46px);
	}
}

@media (max-width: 600px) {
	:root {
		--sdt-header-top: 10px;
		--sdt-header-h: 68px;
	}

	.admin-bar .sdt-header {
		top: var(--sdt-header-top);
	}

	.sdt-header {
		padding-inline: 10px;
	}

	.sdt-header__bar {
		padding: 0 8px 0 16px;
		border-radius: 16px;
	}

	.sdt-logo__img {
		height: 48px;
	}

	.sdt-drawer {
		left: 10px;
		right: 10px;
	}
}

/* ---------- Pied de page ---------- */

.sdt-footer {
	position: relative;
	overflow: hidden;
	background: linear-gradient(180deg, #1a1a2e 0%, #0f0f1a 100%);
	color: #fff;
}

.sdt-footer::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(104, 82, 244, .03) 1px, transparent 1px),
		linear-gradient(90deg, rgba(104, 82, 244, .03) 1px, transparent 1px);
	background-size: 50px 50px;
	pointer-events: none;
}

.sdt-footer__glow {
	position: absolute;
	top: -220px;
	right: 8%;
	width: 460px;
	height: 460px;
	border-radius: 50%;
	background: var(--sdt-v);
	opacity: .08;
	filter: blur(80px);
	pointer-events: none;
}

.sdt-footer .sdt-container {
	position: relative;
	z-index: 1;
}

.sdt-footer__top {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
	gap: 48px;
	padding-top: 80px;
	padding-bottom: 56px;
}

.sdt-footer__tagline {
	max-width: 320px;
	margin: 20px 0 24px;
	color: rgba(255, 255, 255, .72);
	font-size: .95rem;
	line-height: 1.7;
}

.sdt-footer__social {
	display: flex;
	gap: 12px;
}

.sdt-social {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: rgba(255, 255, 255, .08);
	color: #fff;
	transition: transform .3s var(--sdt-ease), background .3s, box-shadow .3s;
}

.sdt-social:hover {
	background: var(--sdt-v);
	color: #fff;
	transform: translateY(-4px);
	box-shadow: 0 8px 20px rgba(104, 82, 244, .4);
}

.sdt-social .sdt-icon {
	width: 20px;
	height: 20px;
}

.sdt-footer__title {
	position: relative;
	margin: 0 0 22px;
	padding-bottom: 12px;
	font-family: var(--sdt-font-title);
	font-size: 1.3rem;
	color: #fff;
}

.sdt-footer__title::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 40px;
	height: 3px;
	border-radius: 2px;
	background: linear-gradient(90deg, var(--sdt-v), transparent);
}

.sdt-footer__links,
.sdt-footer__contact,
.sdt-footer__legal {
	margin: 0;
	padding: 0;
	list-style: none;
}

.sdt-footer__links li {
	margin-bottom: 11px;
}

.sdt-footer a {
	color: rgba(255, 255, 255, .72);
	text-decoration: none;
	transition: color .2s, padding .2s;
}

.sdt-footer a:hover {
	color: var(--sdt-v-light);
}

.sdt-footer__links a {
	font-size: .95rem;
}

.sdt-footer__links a:hover {
	padding-left: 6px;
}

.sdt-footer__contact li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 16px;
	color: rgba(255, 255, 255, .72);
	font-size: .95rem;
	line-height: 1.6;
}

.sdt-footer__ico {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: rgba(104, 82, 244, .22);
	color: var(--sdt-v-light);
}

.sdt-footer__ico .sdt-icon {
	width: 17px;
	height: 17px;
}

.sdt-footer__contact a {
	word-break: break-word;
}

.sdt-footer__local {
	margin: 8px 0 0;
	font-size: .85rem;
	color: rgba(255, 255, 255, .5);
}

.sdt-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-top: 28px;
	padding-bottom: 28px;
	color: rgba(255, 255, 255, .55);
	font-size: .875rem;
}

.sdt-footer__bottom::before {
	content: '';
	position: absolute;
	top: 0;
	left: 24px;
	right: 24px;
	border-top: 1px solid rgba(255, 255, 255, .1);
}

.sdt-footer__bottom p {
	margin: 0;
}

.sdt-footer__bottom p a {
	color: var(--sdt-v-light);
	font-weight: 600;
}

.sdt-footer__legal {
	display: flex;
	gap: 24px;
}

@media (max-width: 980px) {
	.sdt-footer__top {
		grid-template-columns: 1fr 1fr;
		gap: 40px;
	}

	.sdt-footer__brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 600px) {
	.sdt-footer__top {
		grid-template-columns: 1fr;
		padding-top: 60px;
	}

	.sdt-footer__bottom {
		flex-direction: column;
		text-align: center;
	}
}

.sdt-to-top {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 900;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border: 0;
	border-radius: 50%;
	background: linear-gradient(135deg, #8b7bf7, #6852f4);
	box-shadow: 0 4px 16px rgba(104, 82, 244, .4);
	color: #fff;
	cursor: pointer;
	transition: transform .3s var(--sdt-ease), box-shadow .3s;
}

.sdt-to-top:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(104, 82, 244, .55);
}

@media (max-width: 600px) {
	.sdt-to-top {
		right: 16px;
		bottom: 16px;
		width: 44px;
		height: 44px;
	}
}

/* ---------- Pages simples (hors Elementor) ---------- */

.sdt-page {
	padding: 32px 0 80px;
}

.sdt-page__head {
	margin-bottom: 28px;
}

.sdt-page__title {
	margin: 8px 0 0;
	font-size: clamp(2.2rem, 5vw, 3.4rem);
}

.sdt-breadcrumbs {
	font-size: .85rem;
	color: var(--sdt-muted);
}

.sdt-breadcrumbs a {
	color: var(--sdt-muted);
	text-decoration: none;
}

.sdt-breadcrumbs a:hover {
	color: var(--sdt-v);
}

/* ---------- Texte éditorial (articles, pages) ---------- */

.sdt-prose {
	font-size: 1.075rem;
	line-height: 1.8;
	color: var(--sdt-ink-2);
}

.sdt-prose > * {
	margin-top: 0;
	margin-bottom: 1.2em;
}

.sdt-prose h2 {
	margin: 2em 0 .6em;
	font-size: clamp(1.7rem, 3.4vw, 2.3rem);
}

.sdt-prose h3 {
	margin: 1.6em 0 .5em;
	font-size: clamp(1.35rem, 2.6vw, 1.7rem);
}

.sdt-prose h4 {
	margin: 1.4em 0 .5em;
	font-size: 1.25rem;
}

.sdt-prose a {
	color: var(--sdt-v);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.sdt-prose a:hover {
	color: var(--sdt-v-dark);
}

.sdt-prose ul,
.sdt-prose ol {
	padding-left: 1.3em;
}

.sdt-prose li {
	margin-bottom: .45em;
}

.sdt-prose li::marker {
	color: var(--sdt-v);
}

.sdt-prose blockquote {
	margin-inline: 0;
	padding: 18px 24px;
	border-left: 4px solid var(--sdt-v);
	border-radius: 0 12px 12px 0;
	background: var(--sdt-bg-off);
	font-style: italic;
}

.sdt-prose img {
	border-radius: 14px;
}

.sdt-prose figure {
	margin-inline: 0;
}

.sdt-prose figcaption {
	margin-top: 8px;
	font-size: .88rem;
	color: var(--sdt-muted);
	text-align: center;
}

.sdt-prose table {
	width: 100%;
	border-collapse: collapse;
	font-size: .95rem;
}

.sdt-prose .wp-block-table {
	overflow-x: auto;
}

.sdt-prose th,
.sdt-prose td {
	padding: 10px 14px;
	border: 1px solid var(--sdt-v-border);
	text-align: left;
}

.sdt-prose th {
	background: var(--sdt-bg-off);
	font-weight: 700;
}

.sdt-prose code {
	padding: 2px 6px;
	border-radius: 6px;
	background: var(--sdt-vx);
	font-size: .9em;
}

.sdt-prose pre {
	overflow-x: auto;
	padding: 18px;
	border-radius: 12px;
	background: var(--sdt-ink);
	color: #e8e6ff;
}

.sdt-prose pre code {
	padding: 0;
	background: none;
}

.sdt-prose hr {
	border: 0;
	border-top: 1px solid var(--sdt-v-border);
}

.sdt-page-links {
	margin-top: 24px;
	font-weight: 600;
}

/* ---------- Encadré d'appel à l'action ---------- */

.sdt-cta-box {
	position: relative;
	overflow: hidden;
	margin: 56px 0;
	padding: 36px;
	border-radius: var(--sdt-radius-l);
	background: radial-gradient(circle at 85% 0%, rgba(155, 133, 255, .35), transparent 55%), var(--sdt-ink);
	color: #fff;
}

.sdt-cta-box__title {
	margin: 0 0 8px;
	font-family: var(--sdt-font-title);
	font-size: clamp(1.6rem, 3vw, 2.1rem);
	line-height: 1.15;
}

.sdt-cta-box__text {
	max-width: 560px;
	margin: 0 0 22px;
	color: rgba(255, 255, 255, .72);
}

.sdt-cta-box__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

@media (max-width: 600px) {
	.sdt-cta-box {
		padding: 28px 22px;
	}

	.sdt-cta-box__actions .sdt-btn {
		width: 100%;
	}
}

/* ---------- Cartes d'articles (accueil, blog) ---------- */

.sdt-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 24px;
}

.sdt-card {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1.5px solid var(--sdt-v-border);
	border-radius: var(--sdt-radius-l);
	background: #fff;
	transition: transform .35s var(--sdt-ease), box-shadow .35s, border-color .35s;
}

.sdt-card:hover {
	transform: translateY(-6px);
	border-color: rgba(104, 82, 244, .3);
	box-shadow: var(--sdt-shadow-h);
}

.sdt-card__media {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--sdt-bg-off);
}

.sdt-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .6s var(--sdt-ease);
}

.sdt-card:hover .sdt-card__media img {
	transform: scale(1.04);
}

.sdt-card__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	background: var(--sdt-grad);
	color: #fff;
	font-family: var(--sdt-font-title);
	font-size: 3rem;
}

.sdt-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 22px 24px 24px;
}

.sdt-card__cat {
	margin-bottom: 8px;
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--sdt-v);
}

.sdt-card__title {
	margin: 0 0 10px;
	font-size: 1.3rem;
	line-height: 1.25;
}

.sdt-card__title a {
	color: var(--sdt-ink);
	text-decoration: none;
}

.sdt-card__title a::after {
	content: '';
	position: absolute;
	inset: 0;
}

.sdt-card__title a:hover {
	color: var(--sdt-v);
}

.sdt-card__excerpt {
	flex: 1;
	margin: 0 0 16px;
	color: var(--sdt-slate);
	font-size: .92rem;
	line-height: 1.7;
}

.sdt-card__meta {
	display: flex;
	gap: 8px;
	margin: 0;
	color: var(--sdt-muted);
	font-size: .8rem;
}

/* ---------- Recherche ---------- */

.sdt-search {
	position: relative;
	display: flex;
	max-width: 460px;
}

.sdt-search__input {
	width: 100%;
	height: 52px;
	padding: 0 56px 0 20px;
	border: 1.5px solid var(--sdt-v-border);
	border-radius: 999px;
	background: #fff;
	font: inherit;
	color: var(--sdt-ink);
	transition: border-color .2s, box-shadow .2s;
}

.sdt-search__input:focus {
	border-color: var(--sdt-v);
	outline: none;
	box-shadow: 0 0 0 4px rgba(104, 82, 244, .12);
}

.sdt-search__btn {
	position: absolute;
	top: 6px;
	right: 6px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 50%;
	background: var(--sdt-grad-2);
	color: #fff;
	cursor: pointer;
}

/* ---------- Page 404 ---------- */

.sdt-404 {
	padding: 60px 0 100px;
	text-align: center;
}

.sdt-404__code {
	margin: 0;
	font-family: var(--sdt-font-title);
	font-size: clamp(6rem, 20vw, 10rem);
	line-height: 1;
	background: var(--sdt-grad);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.sdt-404__title {
	margin: 8px 0 12px;
	font-size: clamp(2rem, 5vw, 3rem);
}

.sdt-404__text {
	max-width: 520px;
	margin: 0 auto 28px;
	color: var(--sdt-slate);
}

.sdt-404 .sdt-search {
	margin: 0 auto 28px;
}

.sdt-404__links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
}

/* ---------- Apparition au défilement ---------- */

.js .sdt-reveal {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity .65s var(--sdt-ease), transform .65s var(--sdt-ease);
	transition-delay: var(--sdt-delay, 0s);
}

.js .sdt-reveal.is-in {
	opacity: 1;
	transform: none;
}

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

	*,
	*::before,
	*::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}

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