/* =========================================================
   Agence GEO Bordeaux — main.css
   Charte qlint : Manrope + fond #060606 + accent #1F3AED
   ========================================================= */

/* ---------- Variables ---------- */
:root {
	/* Couleurs charte qlint */
	--c-bg:           #060606;
	--c-bg-card:     #1D1F59;
	--c-bg-card-2:   #121212;
	--c-secondary:   #181A40;
	--c-accent:      #1F3AED;
	--c-accent-soft: #2c47ff;
	--c-text:        #FFFFFF;
	--c-text-muted:  rgba(255,255,255,0.65);
	--c-text-dim:    rgba(255,255,255,0.45);
	--c-mauve:       #D5DAFC;
	--c-white:       #FFFFFF;
	--c-border:      rgba(213,218,252,0.12);
	--c-border-strong: rgba(213,218,252,0.25);

	/* Gradients */
	--g-title:       linear-gradient(110deg, #FFFFFF 0%, #D5DAFC 50%, #1F3AED 100%);
	--g-title-soft:  linear-gradient(180deg, #FFFFFF 0%, #D5DAFC 100%);
	--g-glow:        radial-gradient(ellipse at top, rgba(31,58,237,0.25) 0%, rgba(6,6,6,0) 60%);

	/* Typo */
	--f-sans:        'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

	/* Sizes */
	--container:     1240px;
	--container-sm:  860px;
	--radius:        14px;
	--radius-lg:     22px;
	--radius-pill:   999px;

	/* Spacing scale */
	--s-1: 0.25rem;
	--s-2: 0.5rem;
	--s-3: 0.75rem;
	--s-4: 1rem;
	--s-5: 1.25rem;
	--s-6: 1.5rem;
	--s-8: 2rem;
	--s-10: 2.5rem;
	--s-12: 3rem;
	--s-16: 4rem;
	--s-20: 5rem;
	--s-24: 6rem;
	--s-32: 8rem;

	/* Transitions */
	--t-fast: 150ms ease;
	--t-base: 250ms cubic-bezier(.4,0,.2,1);
}

/* ---------- Reset léger ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--f-sans);
	font-size: 17px;
	line-height: 1.65;
	color: var(--c-text);
	background: var(--c-bg);
	background-image: var(--g-glow);
	background-repeat: no-repeat;
	background-size: 100% 1200px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-weight: 400;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--c-mauve); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--c-accent-soft); }
button { font: inherit; cursor: pointer; }
::selection { background: var(--c-accent); color: #fff; }

.screen-reader-text {
	border: 0; clip: rect(1px,1px,1px,1px); -webkit-clip-path: inset(50%); clip-path: inset(50%);
	height: 1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important;
}
.skip-link {
	position: absolute; left: -9999px;
	background: var(--c-accent); color: #fff; padding: var(--s-3) var(--s-5); border-radius: var(--radius-pill);
	z-index: 9999;
}
.skip-link:focus { left: var(--s-4); top: var(--s-4); }

/* ---------- Typo ---------- */
h1, h2, h3, h4, h5, h6 {
	font-family: var(--f-sans);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.02em;
	margin: 0 0 var(--s-5);
	color: var(--c-text);
}
h1 { font-size: clamp(2.25rem, 4.2vw, 4rem); font-weight: 600; }
h2 { font-size: clamp(1.75rem, 3vw, 2.75rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); }
h4 { font-size: 1.15rem; }
p  { margin: 0 0 var(--s-5); }
strong, b { font-weight: 600; }
small { font-size: 0.875rem; color: var(--c-text-muted); }
.eyebrow {
	display: inline-block;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	font-size: 0.75rem;
	font-weight: 500;
	color: var(--c-mauve);
	margin-bottom: var(--s-4);
}
.title-gradient {
	background: var(--g-title);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}
.title-accent { color: var(--c-mauve); }
.text-accent  { color: var(--c-mauve); }

/* ---------- Layout ---------- */
.container {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding-left: var(--s-6);
	padding-right: var(--s-6);
}
.container-sm { max-width: var(--container-sm); }
.site-main { min-height: 60vh; }
.section { padding: var(--s-20) 0; }
.section--lg { padding: var(--s-24) 0; }

/* ---------- Boutons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--s-2);
	padding: 0.875rem 1.5rem;
	border-radius: var(--radius-pill);
	font-weight: 600;
	font-size: 0.95rem;
	line-height: 1;
	border: 1px solid transparent;
	cursor: pointer;
	text-decoration: none;
	transition: all var(--t-base);
	white-space: nowrap;
}
.btn--primary {
	background: var(--c-secondary);
	color: var(--c-white);
	border-color: var(--c-border-strong);
}
.btn--primary:hover {
	background: var(--c-accent);
	border-color: var(--c-accent);
	color: var(--c-white);
	transform: translateY(-1px);
}
.btn--accent {
	background: var(--c-accent);
	color: var(--c-white);
}
.btn--accent:hover {
	background: var(--c-accent-soft);
	transform: translateY(-1px);
	color: var(--c-white);
}
.btn--ghost {
	background: transparent;
	color: var(--c-text);
	border-color: var(--c-border-strong);
}
.btn--ghost:hover {
	background: rgba(255,255,255,0.04);
	border-color: var(--c-mauve);
	color: var(--c-mauve);
}
.btn--lg { padding: 1.05rem 1.85rem; font-size: 1rem; }

/* ---------- Header ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(6,6,6,0.7);
	backdrop-filter: saturate(160%) blur(14px);
	-webkit-backdrop-filter: saturate(160%) blur(14px);
	border-bottom: 1px solid var(--c-border);
}
.site-header__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--s-6);
	padding: var(--s-4) var(--s-6);
}
.site-header__brand {
	display: inline-flex;
	align-items: center;
	gap: var(--s-3);
	color: var(--c-text);
	text-decoration: none;
}
.site-header__logo { height: 30px; width: auto; display: block; }
.site-header__wordmark {
	font-size: 1.6rem;
	font-weight: 600;
	letter-spacing: -0.04em;
}
.site-header__wordmark-accent {
	background: linear-gradient(180deg, var(--c-accent) 0%, #FFFFFF 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}
.site-header__sep {
	color: var(--c-text-dim);
	font-weight: 300;
}
.site-header__baseline {
	display: inline-block;
	font-size: 0.78rem;
	line-height: 1.2;
	color: var(--c-text-muted);
	letter-spacing: 0.01em;
}
.site-header__baseline-sub {
	color: var(--c-text-dim);
	font-size: 0.7rem;
}

.site-nav { display: none; }
@media (min-width: 1024px) { .site-nav { display: block; } }
.site-nav__menu {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	gap: var(--s-2);
}
.site-nav__menu > li > a {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 0.6rem var(--s-3);
	color: var(--c-text);
	font-size: 0.94rem;
	font-weight: 500;
	border-radius: var(--radius-pill);
	transition: background var(--t-fast), color var(--t-fast);
}
.site-nav__menu > li > a:hover,
.site-nav__menu > .current-menu-item > a,
.site-nav__menu > .current-menu-ancestor > a {
	color: var(--c-mauve);
	background: rgba(255,255,255,0.04);
}
.site-nav__menu .caret { transition: transform var(--t-fast); }
.site-nav__menu .has-dropdown { position: relative; }
.site-nav__menu .has-dropdown:hover > a .caret,
.site-nav__menu .has-dropdown:focus-within > a .caret { transform: rotate(180deg); }
.nav-submenu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 260px;
	list-style: none;
	padding: var(--s-3);
	margin: var(--s-2) 0 0;
	background: var(--c-bg-card);
	border: 1px solid var(--c-border);
	border-radius: var(--radius);
	box-shadow: 0 30px 50px -20px rgba(0,0,0,0.6);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-8px);
	transition: opacity var(--t-base), transform var(--t-base), visibility var(--t-base);
}
.has-dropdown:hover > .nav-submenu,
.has-dropdown:focus-within > .nav-submenu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.nav-submenu li a {
	display: block;
	padding: 0.65rem var(--s-3);
	border-radius: 10px;
	color: var(--c-text);
	font-size: 0.92rem;
}
.nav-submenu li a:hover { background: rgba(31,58,237,0.18); color: var(--c-mauve); }

.site-header__actions { display: flex; align-items: center; gap: var(--s-3); }
.site-header__cta { display: none; }
@media (min-width: 1024px) { .site-header__cta { display: inline-flex; } }

.site-header__burger {
	width: 42px; height: 42px;
	background: transparent;
	border: 1px solid var(--c-border);
	border-radius: 12px;
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 5px;
	color: var(--c-text);
}
.site-header__burger span {
	display: block;
	width: 18px; height: 1.5px;
	background: currentColor;
	transition: transform var(--t-base), opacity var(--t-base);
}
@media (min-width: 1024px) { .site-header__burger { display: none; } }
.site-header__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.site-header__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.site-header__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
	position: fixed;
	top: 70px; left: 0; right: 0;
	background: var(--c-bg);
	border-top: 1px solid var(--c-border);
	padding: var(--s-6);
	max-height: calc(100vh - 70px);
	overflow-y: auto;
}
.mobile-menu__list { list-style: none; padding: 0; margin: 0 0 var(--s-6); }
.mobile-menu__list li a {
	display: block;
	padding: var(--s-3) 0;
	color: var(--c-text);
	font-size: 1.05rem;
	border-bottom: 1px solid var(--c-border);
}
.mobile-menu__list .sub-menu { list-style: none; padding: 0 0 0 var(--s-5); margin: 0; }
.mobile-menu__list .sub-menu li a { font-size: 0.95rem; color: var(--c-text-muted); }
.mobile-menu__cta { width: 100%; }

/* ---------- Footer ---------- */
.site-footer {
	margin-top: var(--s-24);
	background: linear-gradient(180deg, rgba(29,31,89,0.0) 0%, rgba(29,31,89,0.3) 100%), var(--c-bg);
	border-top: 1px solid var(--c-border);
}
.site-footer__inner {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--s-12);
	padding: var(--s-20) var(--s-6) var(--s-12);
}
@media (min-width: 900px) {
	.site-footer__inner {
		grid-template-columns: 1.4fr 2fr;
	}
}
.site-footer__brand .site-header__wordmark { font-size: 1.8rem; display: inline-block; margin-bottom: var(--s-5); }
.site-footer__brand img { max-width: 140px; height: auto; }
.site-footer__tagline { color: var(--c-text-muted); max-width: 360px; }
.site-footer__address { font-style: normal; color: var(--c-text-muted); font-size: 0.95rem; line-height: 1.7; }

.site-footer__cols {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
	gap: var(--s-10);
}
.site-footer__title {
	font-size: 0.82rem;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	color: var(--c-mauve);
	margin-bottom: var(--s-5);
}
.site-footer__menu, .footer-widget ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: var(--s-2);
}
.site-footer__menu li a, .footer-widget li a {
	color: var(--c-text-muted);
	font-size: 0.95rem;
}
.site-footer__menu li a:hover { color: var(--c-mauve); }

.site-footer__bottom { border-top: 1px solid var(--c-border); }
.site-footer__bottom-inner {
	display: flex;
	flex-direction: column;
	gap: var(--s-3);
	padding: var(--s-5) var(--s-6);
	font-size: 0.85rem;
	color: var(--c-text-dim);
}
@media (min-width: 700px) {
	.site-footer__bottom-inner { flex-direction: row; justify-content: space-between; align-items: center; }
}
.site-footer__legal {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: var(--s-5);
}
.site-footer__legal li a { color: var(--c-text-dim); font-size: 0.85rem; }
.site-footer__legal li a:hover { color: var(--c-mauve); }

/* ---------- Blocks : wrapper commun ---------- */
.block { padding: var(--s-20) 0; }
.alignwide  { max-width: 1340px; margin-left: auto; margin-right: auto; }
.alignfull  { width: 100%; }

/* ---------- Block : Hero ---------- */
.block--hero {
	padding: var(--s-24) 0 var(--s-20);
	position: relative;
	overflow: hidden;
}
.block--hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(31,58,237,0.35) 0%, rgba(6,6,6,0) 70%);
	pointer-events: none;
}
.block--hero .container { position: relative; z-index: 1; }
.hero__inner {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--s-12);
	align-items: center;
}
@media (min-width: 960px) {
	.hero__inner { grid-template-columns: 1.15fr 1fr; gap: var(--s-16); }
}
.hero__title { font-size: clamp(2.4rem, 4.4vw, 4.2rem); margin-bottom: var(--s-6); }
.hero__lead {
	font-size: 1.2rem;
	color: var(--c-text-muted);
	max-width: 600px;
	margin-bottom: var(--s-8);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s-4); margin-bottom: var(--s-10); }
.hero__trust {
	display: flex;
	flex-wrap: wrap;
	gap: var(--s-5);
	align-items: center;
	font-size: 0.85rem;
	color: var(--c-text-dim);
}
.hero__visual {
	position: relative;
	border-radius: var(--radius-lg);
	overflow: hidden;
	border: 1px solid var(--c-border);
	background: var(--c-bg-card);
	aspect-ratio: 5/4;
}
.hero__visual img { width: 100%; height: 100%; object-fit: cover; }
.hero__badge {
	position: absolute; bottom: var(--s-5); left: var(--s-5);
	background: rgba(6,6,6,0.7);
	backdrop-filter: blur(12px);
	border: 1px solid var(--c-border);
	color: var(--c-text);
	padding: var(--s-3) var(--s-5);
	border-radius: var(--radius-pill);
	font-size: 0.85rem;
}
.hero__badge::before { content: '✦ '; color: var(--c-mauve); }

/* ---------- Block : Services Grid ---------- */
.block--services-grid { padding: var(--s-20) 0; }
.services-grid__header {
	max-width: 720px;
	margin-bottom: var(--s-12);
}
.services-grid__list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: var(--s-5);
}
.service-card {
	background: var(--c-bg-card);
	border: 1px solid var(--c-border);
	border-radius: var(--radius-lg);
	padding: var(--s-8);
	transition: transform var(--t-base), border-color var(--t-base);
	position: relative;
	overflow: hidden;
}
.service-card:hover { transform: translateY(-4px); border-color: var(--c-accent); }
.service-card__icon {
	width: 48px; height: 48px;
	border-radius: 12px;
	background: rgba(31,58,237,0.15);
	color: var(--c-mauve);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-bottom: var(--s-5);
	font-size: 1.4rem;
}
.service-card__title { margin-bottom: var(--s-3); font-size: 1.25rem; }
.service-card__desc { color: var(--c-text-muted); font-size: 0.96rem; margin-bottom: var(--s-5); }
.service-card__link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: var(--c-mauve);
	font-size: 0.9rem;
	font-weight: 500;
}
.service-card__link:hover { color: var(--c-accent-soft); }
.service-card__link::after { content: '→'; transition: transform var(--t-fast); }
.service-card__link:hover::after { transform: translateX(3px); }

/* ---------- Block : Pillars ---------- */
.block--pillars { padding: var(--s-20) 0; }
.pillars__header { max-width: 720px; margin-bottom: var(--s-12); }
.pillars__list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: var(--s-8);
}
.pillar {
	border-top: 1px solid var(--c-border);
	padding-top: var(--s-6);
}
.pillar__num {
	font-size: 0.85rem;
	color: var(--c-accent-soft);
	font-weight: 600;
	margin-bottom: var(--s-3);
	display: block;
}
.pillar__title { font-size: 1.25rem; margin-bottom: var(--s-3); }
.pillar__desc { color: var(--c-text-muted); font-size: 0.96rem; margin: 0; }

/* ---------- Block : Stats ---------- */
.block--stats { padding: var(--s-16) 0; }
.stats__inner {
	background: var(--c-bg-card);
	border: 1px solid var(--c-border);
	border-radius: var(--radius-lg);
	padding: var(--s-10);
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: var(--s-8);
}
.stat { text-align: left; }
.stat__value {
	display: block;
	font-size: clamp(2.2rem, 4vw, 3.2rem);
	font-weight: 600;
	letter-spacing: -0.04em;
	background: var(--g-title-soft);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	margin-bottom: var(--s-2);
	line-height: 1;
}
.stat__label { color: var(--c-text-muted); font-size: 0.95rem; }

/* ---------- Block : CTA Banner ---------- */
.block--cta-banner { padding: var(--s-16) 0; }
.cta-banner__inner {
	background: linear-gradient(120deg, var(--c-bg-card) 0%, var(--c-secondary) 100%);
	border: 1px solid var(--c-border);
	border-radius: var(--radius-lg);
	padding: var(--s-12) var(--s-10);
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--s-6);
	align-items: center;
	position: relative;
	overflow: hidden;
}
.cta-banner__inner::before {
	content: '';
	position: absolute;
	right: -100px; top: -100px;
	width: 360px; height: 360px;
	background: radial-gradient(circle, rgba(31,58,237,0.4) 0%, rgba(31,58,237,0) 70%);
}
@media (min-width: 800px) { .cta-banner__inner { grid-template-columns: 1.8fr 1fr; } }
.cta-banner__title { font-size: clamp(1.5rem, 2.5vw, 2.2rem); margin-bottom: var(--s-3); position: relative; }
.cta-banner__lead  { color: var(--c-text-muted); margin: 0; position: relative; }
.cta-banner__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); position: relative; }

/* ---------- Block : Team Grid ---------- */
.block--team-grid { padding: var(--s-20) 0; }
.team-grid__header { max-width: 720px; margin-bottom: var(--s-12); }
.team-grid__list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: var(--s-6);
}
.team-card {
	background: var(--c-bg-card);
	border: 1px solid var(--c-border);
	border-radius: var(--radius-lg);
	overflow: hidden;
	transition: transform var(--t-base);
}
.team-card:hover { transform: translateY(-4px); }
.team-card__photo {
	aspect-ratio: 1/1;
	background: var(--c-secondary);
	overflow: hidden;
}
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card__body { padding: var(--s-5); }
.team-card__name { font-size: 1.1rem; margin-bottom: var(--s-1); }
.team-card__role { color: var(--c-text-muted); font-size: 0.9rem; margin: 0; }
.team-card__bio  { color: var(--c-text-muted); font-size: 0.92rem; margin-top: var(--s-3); }

/* ---------- Block : FAQ ---------- */
.block--faq { padding: var(--s-20) 0; }
.faq__header { max-width: 720px; margin-bottom: var(--s-10); }
.faq__list { max-width: 860px; margin: 0 auto; }
.faq__item {
	border-bottom: 1px solid var(--c-border);
}
.faq__item summary {
	list-style: none;
	cursor: pointer;
	padding: var(--s-6) 0;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: var(--s-4);
	font-size: 1.1rem;
	font-weight: 500;
	color: var(--c-text);
	transition: color var(--t-fast);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--c-mauve); }
.faq__icon {
	flex-shrink: 0;
	width: 28px; height: 28px;
	border: 1px solid var(--c-border-strong);
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--c-mauve);
	transition: transform var(--t-base);
}
.faq__item[open] .faq__icon { transform: rotate(45deg); background: var(--c-accent); border-color: var(--c-accent); color: #fff; }
.faq__answer {
	padding: 0 0 var(--s-6);
	color: var(--c-text-muted);
	max-width: 720px;
}
.faq__answer p:last-child { margin-bottom: 0; }

/* ---------- Block : Logos ---------- */
.block--logos { padding: var(--s-12) 0; }
.logos__title {
	text-align: center;
	color: var(--c-text-dim);
	text-transform: uppercase;
	letter-spacing: 0.2em;
	font-size: 0.78rem;
	margin-bottom: var(--s-8);
	font-weight: 500;
}
.logos__list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--s-8) var(--s-10);
	align-items: center;
	justify-items: center;
	opacity: 0.7;
}
@media (min-width: 600px) { .logos__list { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 900px) { .logos__list { grid-template-columns: repeat(6, 1fr); } }
.logos__item img { max-height: 40px; width: auto; filter: brightness(0) invert(1); opacity: 0.85; transition: opacity var(--t-fast); }
.logos__item:hover img { opacity: 1; }

/* ---------- Block : Case Studies ---------- */
.block--case-studies { padding: var(--s-20) 0; }
.case-studies__header { max-width: 720px; margin-bottom: var(--s-12); }
.case-studies__list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: var(--s-6);
}
.case-card {
	background: var(--c-bg-card);
	border: 1px solid var(--c-border);
	border-radius: var(--radius-lg);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform var(--t-base), border-color var(--t-base);
}
.case-card:hover { transform: translateY(-4px); border-color: var(--c-accent); }
.case-card__thumb {
	aspect-ratio: 16/10;
	background: var(--c-secondary);
	overflow: hidden;
}
.case-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.case-card__body { padding: var(--s-6) var(--s-7) var(--s-7); }
.case-card__meta {
	display: inline-block;
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	color: var(--c-mauve);
	margin-bottom: var(--s-3);
}
.case-card__title { font-size: 1.2rem; margin-bottom: var(--s-3); }
.case-card__title a { color: inherit; }
.case-card__excerpt { color: var(--c-text-muted); font-size: 0.95rem; margin-bottom: var(--s-4); }
.case-card__kpi {
	display: flex;
	gap: var(--s-5);
	border-top: 1px solid var(--c-border);
	padding-top: var(--s-4);
	margin-top: auto;
}
.case-card__kpi-value { font-size: 1.3rem; font-weight: 600; color: var(--c-mauve); display: block; }
.case-card__kpi-label { font-size: 0.78rem; color: var(--c-text-dim); }

/* ---------- Block : Rich Text ---------- */
.block--rich-text { padding: var(--s-16) 0; }
.rich-text { max-width: var(--container-sm); margin: 0 auto; }
.prose h2 { margin-top: var(--s-12); }
.prose h3 { margin-top: var(--s-10); }
.prose p, .prose li { color: var(--c-text-muted); }
.prose strong { color: var(--c-text); }
.prose ul, .prose ol { padding-left: 1.4em; margin-bottom: var(--s-5); }
.prose li { margin-bottom: var(--s-2); }
.prose a { color: var(--c-mauve); text-decoration: underline; text-decoration-color: rgba(213,218,252,0.4); text-underline-offset: 3px; }
.prose a:hover { color: var(--c-accent-soft); }
.prose blockquote {
	border-left: 3px solid var(--c-accent);
	padding-left: var(--s-5);
	font-size: 1.15rem;
	color: var(--c-text);
	margin: var(--s-8) 0;
	font-style: italic;
}
.prose code {
	background: var(--c-bg-card);
	padding: 0.1em 0.4em;
	border-radius: 4px;
	font-size: 0.92em;
}

/* ---------- Block : Image + Text ---------- */
.block--image-text { padding: var(--s-20) 0; }
.image-text__inner {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--s-10);
	align-items: center;
}
@media (min-width: 900px) {
	.image-text__inner { grid-template-columns: 1fr 1fr; gap: var(--s-16); }
	.image-text__inner.is-reversed .image-text__media { order: 2; }
}
.image-text__media {
	border-radius: var(--radius-lg);
	overflow: hidden;
	border: 1px solid var(--c-border);
	background: var(--c-bg-card);
	aspect-ratio: 4/3;
}
.image-text__media img { width: 100%; height: 100%; object-fit: cover; }
.image-text__body p { color: var(--c-text-muted); }
.image-text__cta { margin-top: var(--s-5); }

/* ---------- Block : Steps ---------- */
.block--steps { padding: var(--s-20) 0; }
.steps__header { max-width: 720px; margin-bottom: var(--s-12); }
.steps__list { display: flex; flex-direction: column; gap: var(--s-5); }
.step {
	display: grid;
	grid-template-columns: 56px 1fr;
	gap: var(--s-6);
	padding: var(--s-6) var(--s-7);
	background: var(--c-bg-card);
	border: 1px solid var(--c-border);
	border-radius: var(--radius);
	align-items: start;
}
.step__num {
	width: 40px; height: 40px;
	border-radius: 50%;
	background: var(--c-accent);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 600;
	font-size: 0.95rem;
}
.step__title { font-size: 1.15rem; margin-bottom: var(--s-2); }
.step__desc  { color: var(--c-text-muted); margin: 0; }

/* ---------- Block : Contact Form ---------- */
.block--contact-form { padding: var(--s-20) 0; }
.contact-form__inner {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--s-12);
}
@media (min-width: 900px) { .contact-form__inner { grid-template-columns: 1fr 1.2fr; } }
.contact-form__intro h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.contact-form__intro p  { color: var(--c-text-muted); font-size: 1.05rem; }
.contact-form__contact {
	margin-top: var(--s-8);
	display: flex;
	flex-direction: column;
	gap: var(--s-4);
}
.contact-form__contact a { color: var(--c-mauve); }

.contact-form__form {
	background: var(--c-bg-card);
	border: 1px solid var(--c-border);
	border-radius: var(--radius-lg);
	padding: var(--s-8);
}
.contact-form__field { margin-bottom: var(--s-5); }
.contact-form__label {
	display: block;
	font-size: 0.85rem;
	color: var(--c-text-muted);
	margin-bottom: var(--s-2);
	font-weight: 500;
}
.contact-form__input, .contact-form__textarea, .contact-form__select {
	width: 100%;
	padding: 0.85rem var(--s-4);
	background: rgba(255,255,255,0.04);
	border: 1px solid var(--c-border-strong);
	border-radius: 10px;
	color: var(--c-text);
	font: inherit;
	font-size: 0.95rem;
	transition: border-color var(--t-fast), background var(--t-fast);
}
.contact-form__textarea { min-height: 140px; resize: vertical; }
.contact-form__input:focus, .contact-form__textarea:focus, .contact-form__select:focus {
	outline: none;
	border-color: var(--c-accent);
	background: rgba(31,58,237,0.06);
}
.contact-form__row { display: grid; grid-template-columns: 1fr; gap: var(--s-5); }
@media (min-width: 600px) { .contact-form__row { grid-template-columns: 1fr 1fr; } }
.contact-form__consent { font-size: 0.85rem; color: var(--c-text-muted); display: flex; gap: var(--s-2); align-items: flex-start; margin-bottom: var(--s-5); }
.contact-form__consent input { margin-top: 4px; }
.contact-form__submit { width: 100%; }

/* ---------- Page hero & archive ---------- */
.page-hero {
	padding: var(--s-20) 0 var(--s-10);
	border-bottom: 1px solid var(--c-border);
	position: relative;
	overflow: hidden;
}
.page-hero::before {
	content: '';
	position: absolute; inset: 0;
	background: radial-gradient(ellipse 50% 60% at 50% 0%, rgba(31,58,237,0.18) 0%, rgba(6,6,6,0) 70%);
}
.page-hero .container { position: relative; }
.page-hero__eyebrow { text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.78rem; color: var(--c-mauve); margin-bottom: var(--s-4); }
.page-hero__title { font-size: clamp(2.2rem, 4vw, 3.5rem); margin-bottom: 0; }
.page-content { padding: var(--s-12) var(--s-6) var(--s-16); max-width: var(--container-sm); }
.page-content p { color: var(--c-text-muted); font-size: 1.05rem; }

.archive-hero { padding: var(--s-20) 0 var(--s-10); }
.archive-hero__title { font-size: clamp(2rem, 3.5vw, 3rem); margin-bottom: var(--s-4); }
.archive-hero__desc { color: var(--c-text-muted); max-width: 720px; }

.post-grid { padding: var(--s-12) 0 var(--s-20); }
.post-grid__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--s-6); }
.post-card {
	background: var(--c-bg-card);
	border: 1px solid var(--c-border);
	border-radius: var(--radius);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform var(--t-base);
}
.post-card:hover { transform: translateY(-3px); }
.post-card__thumb { aspect-ratio: 16/10; background: var(--c-secondary); overflow: hidden; }
.post-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: var(--s-5) var(--s-6) var(--s-6); }
.post-card__meta { font-size: 0.78rem; color: var(--c-text-dim); text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: var(--s-3); }
.post-card__title { font-size: 1.15rem; margin-bottom: var(--s-3); }
.post-card__title a { color: inherit; }
.post-card__title a:hover { color: var(--c-mauve); }
.post-card__excerpt { color: var(--c-text-muted); font-size: 0.94rem; margin-bottom: var(--s-4); }
.post-card__link { color: var(--c-mauve); font-weight: 500; font-size: 0.9rem; }

.pagination {
	display: flex;
	justify-content: center;
	gap: var(--s-2);
	margin-top: var(--s-12);
}
.pagination .page-numbers {
	padding: 0.6rem var(--s-4);
	border: 1px solid var(--c-border);
	border-radius: 10px;
	color: var(--c-text-muted);
}
.pagination .page-numbers.current { background: var(--c-accent); color: #fff; border-color: var(--c-accent); }

/* ---------- Single article ---------- */
.single-article__header { padding: var(--s-20) 0 var(--s-10); }
.single-article__meta { color: var(--c-mauve); text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.78rem; margin-bottom: var(--s-4); }
.single-article__title { font-size: clamp(2rem, 4vw, 3.5rem); margin-bottom: var(--s-5); }
.single-article__excerpt { color: var(--c-text-muted); font-size: 1.15rem; max-width: 720px; }
.single-article__hero { margin-top: var(--s-10); max-height: 480px; overflow: hidden; }
.single-article__hero img { width: 100%; max-height: 480px; object-fit: cover; }
.single-article__body { padding: var(--s-12) 0 var(--s-20); }

/* ---------- 404 ---------- */
.error-404 { padding: var(--s-32) 0; text-align: center; }
.error-404__code {
	font-size: clamp(5rem, 10vw, 9rem);
	font-weight: 600;
	letter-spacing: -0.04em;
	background: var(--g-title-soft);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	margin: 0;
	line-height: 1;
}
.error-404__title { margin-top: var(--s-4); }
.error-404__lead { color: var(--c-text-muted); max-width: 480px; margin: var(--s-3) auto var(--s-8); }
.error-404__actions { display: flex; justify-content: center; gap: var(--s-3); margin-bottom: var(--s-8); }
.error-404__search { max-width: 480px; margin: 0 auto; }

/* ---------- Search form ---------- */
.search-form { display: flex; gap: var(--s-2); }
.search-form__input {
	flex: 1;
	padding: 0.75rem var(--s-4);
	background: rgba(255,255,255,0.04);
	border: 1px solid var(--c-border-strong);
	border-radius: var(--radius-pill);
	color: var(--c-text);
	font: inherit;
}
.search-form__input:focus { outline: none; border-color: var(--c-accent); }

/* ---------- Utilitaires ---------- */
.no-scroll { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---------- Animation à l'apparition ---------- */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 700ms ease, transform 700ms ease; }
.fade-in.is-visible { opacity: 1; transform: translateY(0); }
