/* ==========================================================================
   Spad-On – Articles de blog
   Style aligné sur les pages du site (« Vos besoins », offres d'emploi) :
   bleu marine + bleu, titres Exo 2 en majuscules, texte Inter.
   ========================================================================== */

.sob {
	--sob-navy: #0b1a33;
	--sob-blue: #3b82d6;
	--sob-blue-dark: #2f6fbd;
	--sob-ink: #1a2238;
	--sob-text: #3d4659;
	--sob-muted: #5b6474;
	--sob-navy-text: #c1c8d3;
	--sob-soft: #e6effb;
	--sob-tag-text: #1f4f8f;
	--sob-line: #d9dee6;
	--sob-white: #ffffff;
	--sob-radius: 12px;
	--sob-shadow: 0 12px 45px rgba(11, 26, 51, .055);
	--sob-heading: 'Exo 2', sans-serif;
	--sob-sans: 'Inter', sans-serif;

	font-family: var(--sob-sans);
	color: var(--sob-ink);
	background: var(--sob-white);
	width: 100%;
	box-sizing: border-box;
	-webkit-font-smoothing: antialiased;
}
.sob *, .sob *::before, .sob *::after { box-sizing: border-box; }
.sob img { max-width: 100%; height: auto; }
.sob h1, .sob h2, .sob h3 {
	font-family: var(--sob-heading);
	font-weight: 800;
	letter-spacing: 0;
	text-transform: uppercase;
	color: var(--sob-ink);
	margin: 0;
}
.sob a { text-decoration: none; }
body.sob-page { margin: 0; background: #ffffff; }

.sob-wrap { width: min(1120px, calc(100% - 64px)); margin: 0 auto; }

/* --- Petits titres (trait + majuscules bleues) ------------------------- */
.sob-eyebrow {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	color: var(--sob-blue);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1.8px;
	text-transform: uppercase;
}
.sob-eyebrow::before { content: ''; flex: none; width: 22px; height: 2px; background: var(--sob-blue); }

.sob-heading { text-align: center; margin-bottom: 34px; }
.sob-heading .sob-eyebrow { justify-content: center; }
.sob-heading h2 { font-size: 32px; margin-top: 12px; }
.sob-divider { width: 94px; height: 1px; background: var(--sob-blue); position: relative; margin: 22px auto 0; }
.sob-divider::after { content: ''; width: 6px; height: 6px; background: var(--sob-blue); position: absolute; left: calc(50% - 3px); top: -2.5px; border-radius: 50%; }

/* --- Boutons ----------------------------------------------------------- */
.sob-btn, .sob-btn-out {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 49px;
	padding: 0 23px;
	border-radius: 6px;
	font-family: var(--sob-sans);
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	transition: background .2s ease, border-color .2s ease;
}
.sob-btn { background: var(--sob-blue); color: var(--sob-white) !important; }
.sob-btn:hover, .sob-btn:focus-visible { background: var(--sob-blue-dark); color: var(--sob-white) !important; }
.sob-btn-out { border: 1px solid rgba(255, 255, 255, .6); color: var(--sob-white) !important; background: transparent; }
.sob-btn-out:hover, .sob-btn-out:focus-visible { background: rgba(255, 255, 255, .1); }
.sob-btn--block { width: 100%; }

/* --- En-tête ----------------------------------------------------------- */
.sob-header { background: var(--sob-navy); color: var(--sob-white); border-bottom: 1px solid rgba(255, 255, 255, .12); position: relative; z-index: 50; }
.sob-header__inner { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.sob-logo { display: inline-flex; align-items: center; justify-content: center; background: var(--sob-white); border-radius: 16px; padding: 6px 12px; flex: none; }
.sob-logo img { height: 56px; width: auto; display: block; }
.sob-nav { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.sob-nav a { color: var(--sob-navy-text); font-size: 13px; font-weight: 500; }
.sob-nav a:hover, .sob-nav a.is-current { color: var(--sob-white); }
.sob-nav .sob-nav__cv-mobile { display: none; }
.sob-header__cv { height: 42px; }
.sob-burger { display: none; width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 6px; background: transparent; color: var(--sob-white); cursor: pointer; align-items: center; justify-content: center; }

/* --- Bannière ---------------------------------------------------------- */
.sob-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--sob-navy); color: var(--sob-white); }
.sob-hero__photo { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; z-index: -2; }
.sob-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11, 26, 51, .97) 0%, rgba(11, 26, 51, .86) 45%, rgba(11, 26, 51, .2) 100%); }
.sob-hero--nophoto::after { background: radial-gradient(circle at 85% 20%, rgba(59, 130, 214, .25), transparent 55%); }
.sob-hero__inner { padding: 44px 0 72px; }
.sob-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 38px; color: var(--sob-navy-text) !important; font-size: 12px; font-weight: 500; }
.sob-back:hover { color: var(--sob-white) !important; }
.sob-hero .sob-title { font-size: 52px; line-height: 1.08; max-width: 760px; margin: 25px 0 22px; color: var(--sob-white); }
.sob-title span { color: var(--sob-blue); }
.sob-lead { max-width: 580px; margin: 0; font-size: 16px; line-height: 1.9; color: var(--sob-navy-text); }
.sob-pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.sob-pills li { display: inline-flex; align-items: center; gap: 7px; margin: 0; padding: 7px 13px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; color: var(--sob-white); font-size: 12px; font-weight: 500; }
.sob-pills svg { color: var(--sob-blue); }

/* --- Corps de l'article ------------------------------------------------ */
.sob-main { padding: 64px 0 70px; }
.sob-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }

.sob-body p, .sob-body li { font-size: 15px; line-height: 1.9; color: var(--sob-text); }
.sob-body p { margin: 0 0 18px; }
.sob-body p.sob-intro { font-size: 18px; line-height: 1.8; font-weight: 500; color: var(--sob-ink); }
.sob-body h2 { font-size: 24px; margin: 34px 0 14px; }
.sob-body > h2:first-child { margin-top: 0; }
.sob-body strong { color: var(--sob-ink); }
.sob-body ul { margin: 0 0 22px; padding: 0; list-style: none; }
.sob-body > ul li, .sob-editor ul li { position: relative; margin: 0 0 8px; padding-left: 22px; }
.sob-body > ul li::before, .sob-editor ul li::before { content: ''; position: absolute; left: 4px; top: .75em; width: 7px; height: 7px; border-radius: 50%; background: var(--sob-blue); }
.sob-editor img { border-radius: 10px; }

.sob-checks { display: flex; flex-direction: column; gap: 12px; margin-bottom: 30px !important; }
.sob-checks li { display: flex; gap: 12px; align-items: flex-start; margin: 0; padding: 0 !important; line-height: 1.7; }
.sob-checks li::before { display: none; }
.sob-checks__icon { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--sob-soft); color: var(--sob-blue); display: grid; place-items: center; margin-top: 1px; }

.sob-quote { position: relative; margin: 36px 0; padding: 32px 36px; border: 1px solid var(--sob-line); border-radius: var(--sob-radius); box-shadow: var(--sob-shadow); background: var(--sob-white); }
.sob-quote__mark { position: absolute; top: 10px; right: 26px; font-family: var(--sob-heading); font-size: 90px; line-height: 1; color: var(--sob-soft); }
.sob-quote blockquote { margin: 14px 0 10px; padding: 0; border: 0; }
.sob-quote blockquote p { margin: 0; max-width: 560px; font-family: var(--sob-heading); font-size: 21px; line-height: 1.5; font-weight: 600; font-style: normal; color: var(--sob-navy); }
.sob-quote figcaption { font-size: 12px; font-weight: 600; color: var(--sob-blue); }

.sob-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.sob-gallery__item { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 10px; cursor: zoom-in; background: var(--sob-soft); }
.sob-gallery__item img { width: 100%; height: 100% !important; object-fit: cover; display: block; transition: transform .3s ease; }
.sob-gallery__item:hover img { transform: scale(1.04); }

/* --- Encadrés à droite ------------------------------------------------- */
.sob-aside { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 24px; }
.sob-box { padding: 26px; border: 1px solid var(--sob-line); border-radius: var(--sob-radius); box-shadow: var(--sob-shadow); background: var(--sob-white); }
.sob-box h3 { font-size: 17px; margin-bottom: 6px; }
.sob-facts { margin: 0 0 16px; }
.sob-facts div { padding: 11px 0; border-bottom: 1px solid var(--sob-line); }
.sob-facts dt { font-size: 10px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--sob-muted); }
.sob-facts dd { margin: 4px 0 0; font-size: 13px; font-weight: 600; color: var(--sob-ink); }
.sob-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.sob-tag { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--sob-soft); color: var(--sob-tag-text); font-size: 11px; font-weight: 600; line-height: 1.5; }
.sob-box--navy { background: var(--sob-navy); border-color: var(--sob-navy); color: var(--sob-white); display: flex; flex-direction: column; gap: 12px; }
.sob-box--navy p:not(.sob-eyebrow) { margin: 0; font-size: 13px; line-height: 1.8; color: var(--sob-navy-text); }

/* --- À lire aussi + cartes --------------------------------------------- */
.sob-related { padding: 62px 0 70px; border-top: 1px solid var(--sob-line); }
.sob-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.sob-card { display: flex; flex-direction: column; overflow: hidden; background: var(--sob-white); border: 1px solid var(--sob-line); border-radius: var(--sob-radius); box-shadow: var(--sob-shadow); color: var(--sob-ink) !important; transition: border-color .2s ease, transform .2s ease; }
.sob-card[hidden] { display: none; }
.sob-card:hover { border-color: var(--sob-blue); transform: translateY(-3px); }
.sob-card__media { display: block; height: 180px; overflow: hidden; background: var(--sob-navy); }
.sob-card__media img { width: 100%; height: 100% !important; object-fit: cover; display: block; }
.sob-card__placeholder { display: block; width: 100%; height: 100%; background: radial-gradient(circle at 80% 20%, rgba(59, 130, 214, .35), transparent 60%), var(--sob-navy); }
.sob-card__body { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; flex: 1; padding: 22px; }
.sob-card__title { font-family: var(--sob-heading); font-size: 17px; font-weight: 800; line-height: 1.3; text-transform: uppercase; color: var(--sob-ink); }
.sob-card__meta { font-size: 12px; color: var(--sob-muted); }
.sob-card__link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--sob-blue); }

/* Liste du shortcode [spadon_blog] (facultative) */
.sob-filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 0 0 36px; }
.sob-filter { height: 40px; padding: 0 18px; border: 1px solid var(--sob-line); border-radius: 999px; background: var(--sob-white); color: var(--sob-ink); font: 600 13px var(--sob-sans); cursor: pointer; }
.sob-filter.is-active { background: var(--sob-navy); border-color: var(--sob-navy); color: var(--sob-white); }
.sob-empty { padding: 24px; border: 1px dashed var(--sob-line); border-radius: var(--sob-radius); text-align: center; color: var(--sob-muted); }
.sob-empty[hidden] { display: none; }

/* --- Bandeau final ----------------------------------------------------- */
.sob-cta { padding: 70px 0; background: var(--sob-navy); color: var(--sob-white); text-align: center; }
.sob-cta .sob-wrap { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.sob-cta h2 { font-size: 36px; line-height: 1.15; max-width: 640px; color: var(--sob-white); }
.sob-cta h2 span { color: var(--sob-blue); }
.sob-cta p:not(.sob-eyebrow) { margin: 0; max-width: 520px; font-size: 15px; line-height: 1.8; color: var(--sob-navy-text); }
.sob-cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 8px; }

/* --- Pied de page ------------------------------------------------------ */
.sob-footer { background: var(--sob-navy); color: var(--sob-white); padding: 52px 0 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.sob-footer__top { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }
.sob-footer__slogan { font-family: var(--sob-heading); font-size: 27px; font-weight: 800; line-height: 1.4; text-transform: uppercase; max-width: 410px; margin: 24px 0; color: var(--sob-white); }
.sob-footer__slogan span { color: var(--sob-blue); }
.sob-footer__contact { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; font-size: 12px; color: var(--sob-navy-text); }
.sob-footer__contact li { display: flex; align-items: center; gap: 10px; margin: 0; }
.sob-footer__contact svg { color: var(--sob-blue); }
.sob-footer a { color: var(--sob-navy-text); }
.sob-footer a:hover { color: var(--sob-white); }
.sob-footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-content: center; }
.sob-footer__cols div { display: flex; flex-direction: column; gap: 9px; font-size: 12px; }
.sob-footer__title { margin: 0 0 4px; font-family: var(--sob-heading); font-size: 14px; font-weight: 700; color: var(--sob-white); }
.sob-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 65px; margin-top: 40px; border-top: 1px solid rgba(255, 255, 255, .13); color: var(--sob-navy-text); font-size: 10px; }

/* --- Visionneuse photos ------------------------------------------------ */
.sob-lightbox { position: fixed; inset: 0; z-index: 99999; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(5, 14, 28, .94); }
.sob-lightbox[hidden] { display: none; }
.sob-lightbox img { max-width: 100%; max-height: 88vh; border-radius: 10px; }
.sob-lightbox button { position: absolute; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; font-size: 26px; cursor: pointer; }
.sob-lightbox button:hover { background: rgba(255, 255, 255, .25); }
.sob-lightbox__close { top: 18px; right: 18px; }
.sob-lightbox__prev { left: 18px; top: 50%; transform: translateY(-50%); }
.sob-lightbox__next { right: 18px; top: 50%; transform: translateY(-50%); }

/* --- Tablette et mobile ------------------------------------------------ */
@media (max-width: 1080px) {
	.sob-nav { gap: 18px; }
	.sob-header__cv { display: none; }
}
@media (max-width: 900px) {
	.sob-burger { display: inline-flex; }
	.sob-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; background: var(--sob-navy); border-bottom: 1px solid rgba(255, 255, 255, .12); }
	.sob-nav.is-open { display: flex; }
	.sob-nav a { padding: 13px 0; font-size: 15px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
	.sob-nav .sob-nav__cv-mobile { display: inline-flex; margin-top: 16px; border: 0; color: var(--sob-white); }
	.sob-layout { grid-template-columns: 1fr; gap: 36px; }
	.sob-aside { position: static; }
	.sob-grid { grid-template-columns: 1fr 1fr; }
	.sob-footer__top { grid-template-columns: 1fr; gap: 35px; }
	.sob-hero .sob-title { font-size: 44px; }
}
@media (max-width: 600px) {
	.sob-wrap { width: calc(100% - 32px); }
	.sob-header__inner { min-height: 82px; }
	.sob-logo img { height: 44px; }
	.sob-hero::after { background: rgba(11, 26, 51, .86); }
	.sob-hero__inner { padding: 32px 0 50px; }
	.sob-back { margin-bottom: 26px; }
	.sob-hero .sob-title { font-size: 32px; overflow-wrap: anywhere; }
	.sob-lead { font-size: 14px; }
	.sob-main { padding: 44px 0 50px; }
	.sob-body p.sob-intro { font-size: 17px; }
	.sob-quote { padding: 26px 22px; }
	.sob-quote__mark { display: none; }
	.sob-gallery { grid-template-columns: 1fr 1fr; }
	.sob-grid { grid-template-columns: 1fr; }
	.sob-heading h2 { font-size: 27px; }
	.sob-cta h2 { font-size: 28px; }
	.sob-cta__actions a { width: 100%; }
	.sob-footer__cols { grid-template-columns: 1fr 1fr; }
	.sob-footer__bottom { flex-direction: column; align-items: flex-start; justify-content: center; padding: 20px 0; }
}
@media (prefers-reduced-motion: reduce) {
	.sob *, .sob *::before, .sob *::after { transition: none !important; }
}
