/* ==========================================================================
   Noutela — feuille de style principale
   Design éditorial : titres serif, interface sans-serif, grille de quotidien.
   ========================================================================== */

/* 1. Variables
   ------------------------------------------------------------------------ */
:root {
	--ink: #121212;
	--ink-2: #2b2b2b;
	--muted: #5f5f5f;
	--muted-2: #8a8a8a;
	--line: #e3e1dc;
	--line-strong: #121212;
	--paper: #ffffff;
	--paper-soft: #f6f4ef;
	--brand: #c8102e;
	--brand-dark: #9f0c24;
	--brand-soft: #fbe9ec;

	--font-serif: "Source Serif 4", "Source Serif Pro", Georgia, "Times New Roman", serif;
	--font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

	--container: 1240px;
	--gutter: 20px;
	--radius: 4px;
	--shadow: 0 10px 30px rgba(0, 0, 0, .12);
	--ease: cubic-bezier(.2, .7, .2, 1);
	--sticky-top: 0px;
}

.admin-bar { --sticky-top: 32px; }

@media (max-width: 782px) {
	.admin-bar { --sticky-top: 46px; }
}

@media (max-width: 600px) {
	:root { --gutter: 16px; }
	.admin-bar { --sticky-top: 0px; }
}

/* 2. Base
   ------------------------------------------------------------------------ */
*,
*::before,
*::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--sticky-top) + 70px);
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-sans);
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

body.no-scroll { overflow: hidden; }

img,
video,
iframe { max-width: 100%; }

img { height: auto; display: block; }

a {
	color: inherit;
	text-decoration: none;
	transition: color .15s ease;
}

a:hover { color: var(--brand); }

:focus-visible {
	outline: 2px solid var(--brand);
	outline-offset: 2px;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0;
	font-family: var(--font-serif);
	font-weight: 700;
	line-height: 1.2;
	color: var(--ink);
}

p { margin: 0 0 1em; }

ul, ol { margin: 0; padding: 0; }

button { font: inherit; color: inherit; }

hr {
	border: 0;
	border-top: 1px solid var(--line);
	margin: 2rem 0;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	white-space: nowrap;
	word-wrap: normal !important;
}

.skip-link:focus {
	position: fixed !important;
	top: 8px;
	left: 8px;
	z-index: 10000;
	width: auto;
	height: auto;
	clip: auto;
	clip-path: none;
	padding: 12px 18px;
	background: var(--ink);
	color: #fff;
	font-weight: 600;
}

.site-main:focus { outline: none; }

.text-center { text-align: center; }

/* 3. Mise en page
   ------------------------------------------------------------------------ */
.container {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding-left: var(--gutter);
	padding-right: var(--gutter);
}

.container--narrow { max-width: calc(780px + var(--gutter) * 2); }

.layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 56px;
	padding-top: 32px;
	padding-bottom: 32px;
}

.layout__sidebar {
	border-left: 1px solid var(--line);
	padding-left: 32px;
	margin-left: -24px;
}

.sidebar-sticky {
	position: sticky;
	top: calc(var(--sticky-top) + 72px);
}

.post-grid { display: grid; gap: 28px; }
.post-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 1100px) {
	.layout { grid-template-columns: minmax(0, 1fr) 280px; gap: 40px; }
	.layout__sidebar { padding-left: 24px; margin-left: -16px; }
}

@media (max-width: 900px) {
	.layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.layout__sidebar { border-left: 0; padding-left: 0; margin-left: 0; padding-top: 16px; }
	.sidebar-sticky { position: static; }
	.post-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
	.post-grid--3 { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}

/* 4. Boutons & formulaires
   ------------------------------------------------------------------------ */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 10px 20px;
	border: 1px solid transparent;
	border-radius: var(--radius);
	font-family: var(--font-sans);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: .01em;
	cursor: pointer;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
	white-space: nowrap;
}

.btn--sm { min-height: 36px; padding: 8px 14px; font-size: 13px; }
.btn--block { width: 100%; }

.btn--brand { background: var(--brand); color: #fff; }
.btn--brand:hover { background: var(--brand-dark); color: #fff; }

.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--brand); color: #fff; }

.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: #fff; }

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 600;
	color: var(--ink);
	white-space: nowrap;
}

.link-arrow i { font-size: 11px; transition: transform .2s var(--ease); }
.link-arrow:hover { color: var(--brand); }
.link-arrow:hover i { transform: translateX(3px); }

.icon-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-width: 44px;
	min-height: 44px;
	padding: 0 10px;
	border: 0;
	background: transparent;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	border-radius: var(--radius);
	justify-content: center;
}

.icon-btn i { font-size: 17px; }
.icon-btn:hover { color: var(--brand); }

input[type="text"],
input[type="email"],
input[type="search"],
input[type="url"],
input[type="tel"],
input[type="password"],
input[type="number"],
select,
textarea {
	width: 100%;
	min-height: 46px;
	padding: 10px 14px;
	border: 1px solid #cfccc5;
	border-radius: var(--radius);
	background: #fff;
	color: var(--ink);
	font: 15px/1.4 var(--font-sans);
	transition: border-color .15s ease, box-shadow .15s ease;
}

textarea { min-height: 140px; resize: vertical; }

input:focus,
select:focus,
textarea:focus {
	outline: none;
	border-color: var(--ink);
	box-shadow: 0 0 0 3px rgba(18, 18, 18, .08);
}

input[type="submit"],
.wpcf7-submit {
	min-height: 46px;
	padding: 10px 22px;
	border: 0;
	border-radius: var(--radius);
	background: var(--ink);
	color: #fff;
	font: 600 14px var(--font-sans);
	cursor: pointer;
}

input[type="submit"]:hover,
.wpcf7-submit:hover { background: var(--brand); }

/* Recherche */
.search-form {
	position: relative;
	display: flex;
	gap: 8px;
	width: 100%;
}

.search-form__icon {
	position: absolute;
	left: 16px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--muted-2);
	pointer-events: none;
}

.search-form__input { padding-left: 44px !important; }

/* Newsletter */
.newsletter-form { display: flex; gap: 8px; }
.newsletter-form input { flex: 1; min-width: 0; }

.newsletter-form--dark input {
	background: #1f1f1f;
	border-color: #3a3a3a;
	color: #fff;
}

.newsletter-form--dark input::placeholder { color: #9a9a9a; }

/* 5. Barre supérieure
   ------------------------------------------------------------------------ */
.topbar {
	background: var(--ink);
	color: #d7d7d7;
	font-size: 12.5px;
}

.topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 38px;
}

.topbar__date { margin: 0; display: flex; align-items: center; gap: 8px; }
.topbar__date i { color: var(--muted-2); }

.topbar__place {
	padding-left: 8px;
	border-left: 1px solid #444;
	color: #9a9a9a;
}

.topbar__right { display: flex; align-items: center; gap: 20px; }

.topbar__menu { display: flex; gap: 18px; list-style: none; }
.topbar__menu a { color: #d7d7d7; }
.topbar__menu a:hover { color: #fff; }

.social-links { display: flex; gap: 4px; list-style: none; }

.social-links a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	transition: background-color .15s ease, color .15s ease;
}

.social-links--topbar a { color: #bdbdbd; }
.social-links--topbar a:hover { color: #fff; background: #2a2a2a; }

.topbar__date,
.topbar__menu a { white-space: nowrap; }

@media (max-width: 900px) {
	.topbar__nav { display: none; }
}

@media (max-width: 600px) {
	.topbar__right { display: none; }
	.topbar__inner { justify-content: center; min-height: 32px; }
}

/* 6. En-tête (masthead)
   ------------------------------------------------------------------------ */
.masthead { background: var(--paper); }

.masthead__inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 16px;
	padding-top: 22px;
	padding-bottom: 18px;
}

.masthead__left { display: flex; gap: 4px; margin-left: -10px; }
.masthead__right { display: flex; justify-content: flex-end; align-items: center; gap: 4px; }
.masthead__brand { text-align: center; }

.masthead__tagline {
	margin: 6px 0 0;
	font-family: var(--font-serif);
	font-style: italic;
	font-size: 15px;
	color: var(--muted);
}

.icon-btn--mobile { display: none; }

.site-logo { margin: 0; line-height: 1; font-size: inherit; }
.site-logo a { display: inline-block; color: var(--ink); }
.site-logo a:hover { color: var(--ink); }

.site-logo__img { width: auto; margin: 0 auto; }
.site-logo--masthead .site-logo__img { height: 64px; }
.site-logo--compact .site-logo__img { height: 30px; }
.site-logo--footer .site-logo__img { height: 44px; margin: 0; padding: 8px 12px; background: #fff; border-radius: var(--radius); box-sizing: content-box; }

.site-logo__text {
	font-family: var(--font-serif);
	font-weight: 800;
	letter-spacing: -.02em;
}

.site-logo--masthead .site-logo__text { font-size: clamp(2.4rem, 5.2vw, 4rem); }
.site-logo--compact .site-logo__text { font-size: 1.6rem; }
.site-logo--footer .site-logo__text { font-size: 2.2rem; color: #fff; }

@media (max-width: 900px) {
	.masthead__inner { padding-top: 12px; padding-bottom: 12px; grid-template-columns: 48px 1fr 48px; gap: 8px; }
	.masthead__left .js-search-open,
	.masthead__right .btn,
	.icon-btn__label { display: none; }
	.icon-btn--mobile { display: inline-flex; }
	.masthead__right { margin-right: -10px; }
	.masthead__tagline { font-size: 13px; margin-top: 4px; }
	.site-logo--masthead .site-logo__img { height: 44px; }
}

@media (max-width: 600px) {
	.masthead__tagline { display: none; }
	.site-logo--masthead .site-logo__img { height: 36px; }
}

/* 7. Navigation principale
   ------------------------------------------------------------------------ */
.primary-nav {
	position: sticky;
	top: var(--sticky-top);
	z-index: 500;
	background: rgba(255, 255, 255, .97);
	backdrop-filter: saturate(180%) blur(8px);
	border-top: 1px solid var(--line-strong);
	border-bottom: 1px solid var(--line);
	transition: box-shadow .2s ease;
}

.nav-is-stuck .primary-nav { box-shadow: 0 4px 18px rgba(0, 0, 0, .07); }

.primary-nav__inner {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
}

.primary-nav__logo,
.primary-nav__search {
	position: absolute;
	top: 50%;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-50%);
	transition: opacity .2s ease, visibility .2s;
}

.primary-nav__logo { left: var(--gutter); }
.primary-nav__search { right: calc(var(--gutter) - 10px); }

.nav-is-stuck .primary-nav__logo,
.nav-is-stuck .primary-nav__search { opacity: 1; visibility: visible; }

.primary-menu {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	list-style: none;
}

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

.primary-menu > li > a {
	position: relative;
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 15px 16px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--ink);
}

.primary-menu > li > a::after {
	content: "";
	position: absolute;
	left: 16px;
	right: 16px;
	bottom: -1px;
	height: 3px;
	background: var(--brand);
	transform: scaleX(0);
	transition: transform .2s var(--ease);
}

.primary-menu > li > a:hover::after,
.primary-menu > .current-menu-item > a::after,
.primary-menu > .current-menu-parent > a::after,
.primary-menu > .current-post-ancestor > a::after,
.primary-menu > .current-category-ancestor > a::after { transform: scaleX(1); }

.primary-menu > li > a:hover { color: var(--ink); }

.primary-menu .menu-item-has-children > a::before {
	content: "\f107";
	order: 2;
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	font-size: 11px;
	color: var(--muted-2);
}

.primary-menu .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	padding: 8px 0;
	list-style: none;
	background: #fff;
	border: 1px solid var(--line);
	border-top: 3px solid var(--brand);
	box-shadow: var(--shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity .18s ease, transform .18s ease, visibility .18s;
}

.primary-menu li:hover > .sub-menu,
.primary-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }

.primary-menu .sub-menu a {
	display: block;
	padding: 9px 18px;
	font-size: 14px;
}

.primary-menu .sub-menu a:hover { background: var(--paper-soft); color: var(--brand); }

@media (max-width: 900px) {
	.primary-nav__inner { justify-content: flex-start; padding: 0; }
	.primary-nav__logo,
	.primary-nav__search { display: none; }
	.primary-menu {
		flex-wrap: nowrap;
		justify-content: flex-start;
		overflow-x: auto;
		scrollbar-width: none;
		padding: 0 6px;
		width: 100%;
		-webkit-overflow-scrolling: touch;
		mask-image: linear-gradient(90deg, #000 85%, transparent);
		-webkit-mask-image: linear-gradient(90deg, #000 85%, transparent);
	}
	.primary-menu::-webkit-scrollbar { display: none; }
	.primary-menu > li > a { padding: 13px 12px; font-size: 12px; white-space: nowrap; }
	.primary-menu .sub-menu,
	.primary-menu .menu-item-has-children > a::before { display: none; }
}

/* 8. Panneau de recherche
   ------------------------------------------------------------------------ */
.search-panel {
	position: fixed;
	top: var(--sticky-top);
	left: 0;
	right: 0;
	z-index: 900;
	padding: 28px 0;
	background: #fff;
	border-bottom: 1px solid var(--line);
	box-shadow: var(--shadow);
	animation: slideDown .22s var(--ease);
}

.search-panel .container { display: flex; align-items: center; gap: 12px; }
.search-panel .search-form__input { min-height: 54px; font-size: 18px; }
.search-panel .search-form__submit { min-height: 54px; }

@keyframes slideDown {
	from { transform: translateY(-100%); }
	to { transform: none; }
}

@media (max-width: 600px) {
	.search-panel { padding: 16px 0; }
	.search-panel .search-form__submit { display: none; }
}

/* 9. Tiroir de navigation
   ------------------------------------------------------------------------ */
.drawer { position: fixed; inset: 0; z-index: 1000; }

.drawer__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .5);
	opacity: 0;
	transition: opacity .25s ease;
}

.drawer__panel {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	display: flex;
	flex-direction: column;
	gap: 18px;
	width: min(360px, 88vw);
	padding: 16px 20px 24px;
	overflow-y: auto;
	background: #fff;
	transform: translateX(-100%);
	transition: transform .25s var(--ease);
}

.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }

.drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--line);
}

.drawer__head .icon-btn { margin-right: -10px; }

.drawer__title {
	margin: 4px 0 -8px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--muted);
}

.drawer-menu { list-style: none; }

.drawer-menu li {
	position: relative;
	border-bottom: 1px solid var(--line);
}

.drawer-menu a {
	display: block;
	padding: 13px 44px 13px 0;
	font-family: var(--font-serif);
	font-size: 19px;
	font-weight: 600;
}

.drawer-menu .current-menu-item > a { color: var(--brand); }

.drawer-menu .sub-menu {
	display: none;
	list-style: none;
	padding: 0 0 8px 14px;
}

.drawer-menu .sub-menu li { border: 0; }
.drawer-menu .sub-menu a { padding: 8px 0; font-family: var(--font-sans); font-size: 15px; font-weight: 500; }
.drawer-menu .is-open > .sub-menu { display: block; }

.submenu-toggle {
	position: absolute;
	top: 4px;
	right: 0;
	width: 44px;
	height: 44px;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.submenu-toggle i { transition: transform .2s ease; }
.is-open > .submenu-toggle i { transform: rotate(180deg); }

.drawer-menu--secondary a { font-family: var(--font-sans); font-size: 14px; font-weight: 500; padding: 10px 0; }

.drawer__foot { margin-top: auto; display: grid; gap: 14px; justify-items: center; }
.social-links--drawer a { width: 40px; height: 40px; background: var(--paper-soft); }
.social-links--drawer a:hover { background: var(--ink); color: #fff; }

.drawer .search-form__submit { display: none; }

/* 10. Bandeau « En continu »
   ------------------------------------------------------------------------ */
.ticker {
	background: var(--paper-soft);
	border-bottom: 1px solid var(--line);
	font-size: 14px;
}

.ticker__inner { display: flex; align-items: stretch; }

.ticker__label {
	position: relative;
	z-index: 1;
	flex: none;
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 0 16px 0 0;
	background: var(--paper-soft);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--brand);
}

.ticker__pulse {
	position: relative;
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--brand);
	flex: none;
}

.ticker__pulse::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: var(--brand);
	animation: pulse 1.6s ease-out infinite;
}

@keyframes pulse {
	from { transform: scale(1); opacity: .7; }
	to { transform: scale(2.8); opacity: 0; }
}

.ticker__viewport {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.ticker__rail {
	display: flex;
	width: max-content;
	animation: ticker var(--ticker-duration, 60s) linear infinite;
}

.ticker.is-paused .ticker__rail { animation-play-state: paused; }

.ticker__toggle {
	flex: none;
	align-self: center;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	margin-left: 8px;
	border: 1px solid var(--line);
	border-radius: 50%;
	background: #fff;
	color: var(--ink);
	font-size: 11px;
	cursor: pointer;
}

.ticker__toggle:hover { border-color: var(--ink); }

.ticker__viewport:hover .ticker__rail,
.ticker__viewport:focus-within .ticker__rail { animation-play-state: paused; }

.ticker__track { display: flex; list-style: none; }

.ticker__item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 11px 28px 11px 0;
	white-space: nowrap;
}

.ticker__item::before {
	content: "";
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: var(--muted-2);
	margin-right: 18px;
}

.ticker__cat {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--muted);
}

.ticker__item a { font-weight: 500; }

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

/* 11. Surtitres, métadonnées, titres de section
   ------------------------------------------------------------------------ */
.kicker {
	display: inline-block;
	margin-bottom: 8px;
	font-family: var(--font-sans);
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: .08em;
	line-height: 1.2;
	text-transform: uppercase;
	color: var(--brand);
}

.kicker:hover { color: var(--brand-dark); text-decoration: underline; }

.card__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 0;
	margin: 10px 0 0;
	font-size: 12.5px;
	color: var(--muted);
}

.card__meta > * + *::before {
	content: "·";
	margin: 0 7px;
	color: var(--muted-2);
}

.card__author { font-weight: 600; color: var(--ink-2); }

.section-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 22px;
	padding-top: 10px;
	border-top: 3px solid var(--ink);
}

.section-title {
	font-family: var(--font-serif);
	font-size: 1.65rem;
	font-weight: 800;
	letter-spacing: -.01em;
}

.section-title a:hover { color: var(--brand); }

.related .section-title,
.comments .section-title {
	margin-bottom: 22px;
	padding-top: 10px;
	border-top: 3px solid var(--ink);
}

.widget-title {
	margin: 0 0 14px;
	padding-top: 10px;
	border-top: 3px solid var(--ink);
	font-family: var(--font-sans);
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
}

/* 12. Cartes d'articles
   ------------------------------------------------------------------------ */
.card { position: relative; display: flex; flex-direction: column; min-width: 0; }

.card__media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--paper-soft);
	margin-bottom: 14px;
}

.card__media img,
.list-item__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s var(--ease);
}

.card:hover .card__media img,
.list-item:hover .list-item__media img { transform: scale(1.035); }

.card__title {
	font-size: 1.2rem;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -.005em;
}

.card__title a {
	background-image: linear-gradient(currentColor, currentColor);
	background-size: 0 1px;
	background-repeat: no-repeat;
	background-position: 0 100%;
	transition: background-size .25s var(--ease), color .15s ease;
}

.card__title a:hover { color: var(--ink); background-size: 100% 1px; }

.card__excerpt {
	margin: 10px 0 0;
	font-family: var(--font-serif);
	font-size: 1rem;
	line-height: 1.5;
	color: var(--muted);
}

/* À la une */
.card--lead .card__title {
	font-size: clamp(1.75rem, 3vw, 2.6rem);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -.02em;
}

.card--lead .card__excerpt { font-size: 1.15rem; color: var(--ink-2); }
.card--lead .card__media { margin-bottom: 18px; }

/* Article phare d'une rubrique */
.card--feature {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
	gap: 24px;
	align-items: start;
}

.card--feature .card__media { margin: 0; }
.card--feature .card__title { font-size: 1.6rem; font-weight: 800; line-height: 1.15; }

/* Compact */
.card--compact .card__media { margin-bottom: 10px; }
.card--compact .card__title { font-size: 1.05rem; line-height: 1.3; }
.card--compact .card__meta { margin-top: 6px; }

@media (max-width: 600px) {
	.card--feature { grid-template-columns: minmax(0, 1fr); gap: 14px; }
	.card--feature .card__title { font-size: 1.4rem; }

	.card--compact {
		display: grid;
		grid-template-columns: 110px minmax(0, 1fr);
		gap: 14px;
		align-items: start;
	}
	.card--compact .card__media { margin: 0; aspect-ratio: 4 / 3; }
}

/* 13. Accueil
   ------------------------------------------------------------------------ */
.front-top { padding-top: 28px; padding-bottom: 8px; }

.front-top__grid {
	display: grid;
	grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr) minmax(0, 1fr);
	gap: 0;
}

.front-top__grid > * { padding: 0 24px; }
.front-top__grid > *:first-child { padding-left: 0; }
.front-top__grid > *:last-child { padding-right: 0; }
.front-top__grid > * + * { border-left: 1px solid var(--line); }

.front-top__secondary { display: flex; flex-direction: column; gap: 24px; }

.front-top__secondary .card + .card {
	padding-top: 24px;
	border-top: 1px solid var(--line);
}

.front-top__secondary .card__title { font-size: 1.25rem; }

.latest__title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 6px;
	font-family: var(--font-sans);
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--brand);
}

.latest { list-style: none; margin-bottom: 16px; }

.latest__item {
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr);
	gap: 12px;
	padding: 14px 0;
	border-bottom: 1px solid var(--line);
}

.latest__time {
	font-size: 11.5px;
	line-height: 1.3;
	color: var(--muted);
}

.latest__time span { font-weight: 700; color: var(--ink); font-size: 13px; }

.latest__item .kicker { margin-bottom: 4px; font-size: 10.5px; }

.latest__link {
	display: block;
	font-family: var(--font-serif);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.3;
}

@media (max-width: 1100px) {
	.front-top__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); row-gap: 28px; }
	.front-top__lead { grid-column: 1 / -1; padding: 0 !important; }
	.front-top__secondary { padding-left: 0 !important; border-left: 0 !important; }
}

@media (max-width: 700px) {
	.front-top { padding-top: 18px; }
	.front-top__grid { grid-template-columns: minmax(0, 1fr); }
	.front-top__grid > * { padding: 0 !important; border-left: 0 !important; }
	.front-top__latest { border-top: 3px solid var(--ink) !important; padding-top: 10px !important; }
	.front-top__lead .card__media { margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); }
}

.cat-section { margin-bottom: 48px; }

.cat-section__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.cat-section__grid .card--feature {
	grid-column: 1 / -1;
	padding-bottom: 24px;
	border-bottom: 1px solid var(--line);
}

@media (max-width: 600px) {
	.cat-section { margin-bottom: 36px; }
	.cat-section__grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
	.cat-section__grid .card--compact + .card--compact { padding-top: 18px; border-top: 1px solid var(--line); }
	.section-title { font-size: 1.4rem; }
}

/* 14. Barre latérale & widgets
   ------------------------------------------------------------------------ */
.widget { margin-bottom: 36px; font-size: 15px; }
.widget ul { list-style: none; }
.widget li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.widget li:last-child { border-bottom: 0; }

.most-read { list-style: none; counter-reset: most-read; }

.most-read__item {
	display: grid;
	grid-template-columns: 40px minmax(0, 1fr);
	gap: 8px;
	padding: 14px 0 !important;
	counter-increment: most-read;
}

.most-read__item::before {
	content: counter(most-read);
	font-family: var(--font-serif);
	font-size: 2.1rem;
	font-weight: 800;
	line-height: .9;
	color: var(--brand);
}

.most-read__item .kicker { margin-bottom: 4px; font-size: 10.5px; }

.most-read__title {
	display: block;
	font-family: var(--font-serif);
	font-size: 1.02rem;
	font-weight: 600;
	line-height: 1.3;
}

.newsletter-box {
	padding: 26px 22px;
	background: var(--paper-soft);
	border-top: 3px solid var(--brand);
	text-align: center;
}

.newsletter-box__icon { font-size: 26px; color: var(--brand); margin-bottom: 12px; }
.newsletter-box__title { font-size: 1.25rem; font-weight: 800; margin-bottom: 8px; }
.newsletter-box p { color: var(--muted); font-size: 14px; }
.newsletter-box .newsletter-form { flex-direction: column; }

/* Publicité */
.ad-slot {
	margin: 32px auto;
	padding-top: 6px;
	text-align: center;
	overflow: hidden;
}

.ad-slot__label {
	display: block;
	margin-bottom: 6px;
	font-size: 10px;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--muted-2);
}

.ad-slot img { display: inline-block; }
.layout__sidebar .ad-slot { margin: 0 0 36px; }

/* 15. En-têtes de pages & listes
   ------------------------------------------------------------------------ */
.page-header {
	padding: 40px 0 32px;
	background: var(--paper-soft);
	border-bottom: 1px solid var(--line);
}

.page-header__eyebrow {
	margin: 0 0 8px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--brand);
}

.page-header__title {
	font-size: clamp(2rem, 4.5vw, 3.2rem);
	font-weight: 800;
	letter-spacing: -.02em;
	line-height: 1.08;
}

.page-header__title span { color: var(--brand); }

.page-header__desc {
	max-width: 720px;
	margin: 12px 0 0;
	font-family: var(--font-serif);
	font-size: 1.15rem;
	color: var(--muted);
}

.page-header__desc p { margin: 0; }

.page-header__count {
	margin: 14px 0 0;
	font-size: 13px;
	color: var(--muted);
}

.page-header--search .search-form { max-width: 680px; margin-top: 20px; }

.page-header--dark { background: var(--ink); border-color: var(--ink); }
.page-header--dark .page-header__title { color: #fff; }
.page-header--dark .page-header__desc { color: #bdbdbd; }
.page-header--dark .page-header__eyebrow { color: #ff5a73; }

.author-head { display: flex; align-items: center; gap: 22px; }
.author-head > img,
.author-head__avatar { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; flex: none; }

.subcats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; list-style: none; }

.subcats a {
	display: inline-block;
	padding: 6px 14px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: #fff;
	font-size: 13px;
	font-weight: 600;
}

.subcats a:hover { border-color: var(--ink); color: var(--ink); }

.post-list > .card--feature {
	padding-bottom: 28px;
	margin-bottom: 4px;
	border-bottom: 1px solid var(--line);
}

.post-list > .card--feature .card__title { font-size: clamp(1.5rem, 2.6vw, 2rem); }

.list-item {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 240px;
	gap: 28px;
	align-items: start;
	padding: 24px 0;
	border-bottom: 1px solid var(--line);
}

.list-item__title {
	font-size: 1.4rem;
	font-weight: 700;
	line-height: 1.22;
}

.list-item__title a:hover { color: var(--brand); }

.list-item__excerpt {
	margin: 8px 0 0;
	font-family: var(--font-serif);
	color: var(--muted);
}

.list-item__media {
	display: block;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	background: var(--paper-soft);
}

@media (max-width: 600px) {
	.page-header { padding: 28px 0 22px; }
	.list-item { grid-template-columns: minmax(0, 1fr) 104px; gap: 14px; padding: 18px 0; }
	.list-item__media { aspect-ratio: 1; order: 2; }
	.list-item__title { font-size: 1.1rem; }
	.list-item__excerpt { display: none; }
	.card__reading { display: none; }
	.author-head { flex-direction: column; align-items: flex-start; gap: 14px; }
	.author-head > img,
	.author-head__avatar { width: 72px; height: 72px; }
}

/* Pagination */
.pagination { margin: 36px 0 12px; }

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
}

.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 12px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	font-weight: 600;
	font-size: 14px;
}

a.page-numbers:hover { border-color: var(--ink); color: var(--ink); }
.page-numbers.current { background: var(--ink); border-color: var(--ink); color: #fff; }
.page-numbers.dots { border: 0; }

/* État vide */
.empty-state {
	padding: 56px 24px;
	text-align: center;
	background: var(--paper-soft);
}

.empty-state__icon { font-size: 40px; color: var(--muted-2); margin-bottom: 16px; }
.empty-state h2 { font-size: 1.6rem; margin-bottom: 8px; }
.empty-state p { color: var(--muted); }

/* 16. Article
   ------------------------------------------------------------------------ */
.read-progress {
	position: fixed;
	top: var(--sticky-top);
	left: 0;
	right: 0;
	z-index: 600;
	height: 3px;
	pointer-events: none;
}

.read-progress__bar {
	display: block;
	height: 100%;
	background: var(--brand);
	transform: scaleX(0);
	transform-origin: 0 50%;
}

.breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-bottom: 14px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--muted);
}

.breadcrumbs a:last-child:not(:first-child) { color: var(--brand); }
.breadcrumbs__sep { color: var(--muted-2); font-weight: 400; }

.article-header { max-width: 780px; }

.article-header__title {
	font-size: clamp(1.9rem, 4.2vw, 3.1rem);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -.02em;
}

.article-header__standfirst {
	margin: 16px 0 0;
	font-family: var(--font-serif);
	font-size: clamp(1.1rem, 1.8vw, 1.35rem);
	line-height: 1.45;
	color: var(--ink-2);
}

.byline {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 14px;
	margin-top: 22px;
	padding: 14px 0;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}

.byline__avatar img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; display: block; }
.byline__text { flex: 1; min-width: 200px; }
.byline__text p { margin: 0; }
.byline__author { font-size: 14px; }
.byline__author a { font-weight: 700; }
.byline__date { font-size: 13px; color: var(--muted); }

.byline__stats {
	display: flex;
	gap: 16px;
	list-style: none;
	font-size: 13px;
	color: var(--muted);
}

.byline__stats i { margin-right: 4px; }

.article-header .share { margin-top: 14px; }

.share { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

.share__label {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.share__list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }

.share__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid var(--line);
	border-radius: 50%;
	background: #fff;
	color: var(--ink);
	font-size: 15px;
	cursor: pointer;
	transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.share__btn:hover { color: #fff; }
.share__btn--facebook:hover { background: #1877f2; border-color: #1877f2; }
.share__btn--twitter:hover { background: #000; border-color: #000; }
.share__btn--whatsapp:hover { background: #25d366; border-color: #25d366; }
.share__btn--linkedin:hover { background: #0a66c2; border-color: #0a66c2; }
.share__btn--email:hover,
.share__btn--copy:hover { background: var(--ink); border-color: var(--ink); }
.share__btn.is-copied { background: #1a7f37; border-color: #1a7f37; color: #fff; }

.article-figure { margin: 28px 0 0; }
.article-figure__img { width: 100%; }

.article-figure figcaption {
	margin-top: 8px;
	font-size: 13px;
	color: var(--muted);
}

@media (max-width: 700px) {
	.article-figure { margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); }
	.article-figure figcaption { padding: 0 var(--gutter); }
	.byline__stats { width: 100%; }
}

/* Contenu éditorial */
.entry-content {
	max-width: 720px;
	margin-top: 32px;
	font-family: var(--font-serif);
	font-size: 1.19rem;
	line-height: 1.75;
	color: var(--ink-2);
	overflow-wrap: break-word;
}

.entry-content--wide { max-width: none; }

.entry-content > * + * { margin-top: 1.3em; }
.entry-content p { margin: 0; }
.entry-content > *:first-child { margin-top: 0; }

.is-article .entry-content > p:first-of-type::first-letter {
	float: left;
	margin: .08em .1em 0 0;
	font-size: 4.1em;
	font-weight: 800;
	line-height: .8;
	color: var(--brand);
}

.entry-content h2,
.entry-content h3,
.entry-content h4 { margin-top: 1.8em; color: var(--ink); line-height: 1.25; }
.entry-content h2 { font-size: 1.6rem; }
.entry-content h3 { font-size: 1.35rem; }
.entry-content h4 { font-size: 1.15rem; }

.entry-content a {
	color: var(--brand);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.entry-content a:hover { color: var(--brand-dark); }

.entry-content ul,
.entry-content ol { padding-left: 1.4em; }
.entry-content li + li { margin-top: .4em; }

.entry-content blockquote {
	margin: 2em 0;
	padding: 4px 0 4px 24px;
	border-left: 4px solid var(--brand);
	font-size: 1.35rem;
	font-style: italic;
	line-height: 1.5;
	color: var(--ink);
}

.entry-content blockquote p + p { margin-top: .8em; }
.entry-content blockquote cite { display: block; margin-top: 10px; font-family: var(--font-sans); font-size: 14px; font-style: normal; color: var(--muted); }

.entry-content img { margin-left: auto; margin-right: auto; }

.entry-content figure,
.entry-content .wp-caption { margin-left: 0; margin-right: 0; max-width: 100%; }

.entry-content figcaption,
.entry-content .wp-caption-text {
	margin-top: 8px;
	font-family: var(--font-sans);
	font-size: 13px;
	line-height: 1.45;
	color: var(--muted);
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
	font-family: var(--font-sans);
	font-size: 15px;
}

.entry-content th,
.entry-content td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.entry-content th { border-bottom: 2px solid var(--ink); }

.entry-content pre {
	padding: 16px;
	overflow-x: auto;
	background: var(--paper-soft);
	font-size: 14px;
}

.alignleft { float: left; margin: .4em 1.6em 1em 0; max-width: 50%; }
.alignright { float: right; margin: .4em 0 1em 1.6em; max-width: 50%; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }

@media (max-width: 600px) {
	.entry-content { font-size: 1.1rem; line-height: 1.7; }
	.alignleft,
	.alignright { float: none; margin: 1em 0; max-width: 100%; }
}

.embed {
	position: relative;
	aspect-ratio: 16 / 9;
	background: #000;
}

.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.page-links { margin-top: 2em; font-family: var(--font-sans); font-size: 14px; }

.entry-content form,
.entry-content input,
.entry-content select,
.entry-content textarea,
.entry-content button { font-family: var(--font-sans); }

/* Galerie YouTube (plugin YouTube Embed Plus) */
.entry-content .epyt-gallery-thumb { padding: 0 8px 20px; }
.entry-content .epyt-gallery-img-box { margin-bottom: 8px; }

.entry-content .epyt-gallery-title {
	font-family: var(--font-sans);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.35;
	text-align: left;
	color: var(--ink);
}

.entry-content .epyt-gallery-subscribe a { text-decoration: none; }

@media (max-width: 600px) {
	.entry-content .epyt-gallery-thumb { width: 50% !important; }
	.entry-content .epyt-gallery-rowbreak { display: none; }
}

/* Pied d'article */
.article-footer { max-width: 720px; margin-top: 36px; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; list-style: none; }

.tags a {
	display: inline-block;
	padding: 6px 12px;
	background: var(--paper-soft);
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
}

.article-footer > .share {
	padding: 18px 0;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}

.author-box {
	display: flex;
	gap: 20px;
	margin-top: 32px;
	padding: 24px;
	background: var(--paper-soft);
}

.author-box > img,
.author-box__avatar { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; flex: none; }

.author-box__eyebrow {
	margin: 0 0 4px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--muted);
}

.author-box__name { font-size: 1.3rem; margin-bottom: 6px; }
.author-box__bio { font-family: var(--font-serif); color: var(--ink-2); font-size: 15px; margin-bottom: 8px; }

@media (max-width: 600px) {
	.author-box { flex-direction: column; gap: 12px; padding: 20px; }
	.author-box > img,
	.author-box__avatar { width: 64px; height: 64px; }
}

.post-nav { margin-top: 32px; }

.post-nav .nav-links {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.post-nav .nav-next { grid-column: 2; text-align: right; }

.post-nav a {
	display: block;
	height: 100%;
	padding: 18px;
	border: 1px solid var(--line);
	transition: border-color .15s ease;
}

.post-nav a:hover { border-color: var(--ink); color: var(--ink); }

.post-nav__label {
	display: block;
	margin-bottom: 6px;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--brand);
}

.post-nav__title {
	font-family: var(--font-serif);
	font-size: 1.05rem;
	font-weight: 600;
	line-height: 1.3;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

@media (max-width: 600px) {
	.post-nav .nav-links { grid-template-columns: 1fr; }
	.post-nav .nav-next { grid-column: auto; }
}

.related { margin-top: 48px; }
.related .card__title { font-size: 1.1rem; }

/* Commentaires */
.comments { margin-top: 48px; max-width: 720px; }
.comment-list { list-style: none; margin-bottom: 32px; }
.comment-list .children { list-style: none; padding-left: 28px; }
.comment-body { padding: 18px 0; border-bottom: 1px solid var(--line); }
.comment-author { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.comment-author img { border-radius: 50%; }
.comment-author .says { display: none; }
.comment-metadata { font-size: 12.5px; color: var(--muted); margin: 4px 0 10px 54px; }
.comment-content { font-family: var(--font-serif); margin-left: 54px; }
.reply { margin-left: 54px; font-size: 13px; font-weight: 600; }
.comment-form p { margin-bottom: 16px; }
.comment-form label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; }
.comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; }
.comment-form-cookies-consent label { font-weight: 400; }

/* Pages */
.page-article { padding: 36px 0 24px; }
.page-article .entry-content { margin: 0 auto; }
.page-article .article-figure { margin: 0 0 32px; }
.page-article > .share { max-width: 720px; margin: 36px auto 0; padding-top: 18px; border-top: 1px solid var(--line); }
.page-article--wide > .share { max-width: none; }

/* Contact Form 7 */
.wpcf7 form p { margin-bottom: 18px; }
.wpcf7 label { display: block; font-family: var(--font-sans); font-size: 14px; font-weight: 600; }
.wpcf7 label input,
.wpcf7 label textarea,
.wpcf7 label select { margin-top: 6px; }
.wpcf7-not-valid-tip { font-size: 13px; margin-top: 4px; }
.wpcf7 form .wpcf7-response-output { margin: 16px 0 0; padding: 12px 16px; font-family: var(--font-sans); font-size: 14px; }

/* 17. 404
   ------------------------------------------------------------------------ */
.error-404 { padding: 64px 0 40px; text-align: center; }

.error-404__code {
	margin: 0;
	font-family: var(--font-serif);
	font-size: clamp(6rem, 18vw, 10rem);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -.04em;
	color: var(--brand);
}

.error-404__title { font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin: 8px 0 12px; }
.error-404__text { max-width: 540px; margin: 0 auto 24px; font-family: var(--font-serif); font-size: 1.1rem; color: var(--muted); }
.error-404 .search-form { max-width: 560px; margin: 0 auto 24px; }

/* 18. Pied de page
   ------------------------------------------------------------------------ */
.site-footer {
	margin-top: 56px;
	background: #111;
	color: #b9b9b9;
	font-size: 14.5px;
}

.site-footer a { color: #e6e6e6; }
.site-footer a:hover { color: #fff; }

.site-footer__top {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1.1fr 1.4fr;
	gap: 40px;
	padding: 56px 0 40px;
}

.site-footer__about .site-logo { margin-bottom: 18px; }
.site-footer__about p { line-height: 1.6; }
.site-footer__about .link-arrow { color: #fff; }
.site-footer__about .link-arrow:hover { color: #ff5a73; }

.site-footer__title {
	margin-bottom: 18px;
	padding-top: 10px;
	border-top: 2px solid #3a3a3a;
	font-family: var(--font-sans);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: #fff;
}

.site-footer__list { list-style: none; }
.site-footer__list li { padding: 5px 0; }
.site-footer__list .children { display: none; }

.site-footer__contact {
	display: grid;
	gap: 8px;
	margin-top: 18px;
	font-style: normal;
	font-size: 13.5px;
}

.site-footer__contact i { width: 16px; color: #777; }

.site-footer__newsletter p { margin-bottom: 14px; }

.social-links--footer { margin-top: 20px; gap: 8px; }

.social-links--footer a {
	width: 40px;
	height: 40px;
	background: #222;
	color: #e6e6e6;
}

.social-links--footer a:hover { background: var(--brand); color: #fff; }

.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
	padding: 20px 0 24px;
	border-top: 1px solid #2a2a2a;
	font-size: 13px;
	color: #8a8a8a;
}

.site-footer__bottom p { margin: 0; }

@media (max-width: 1000px) {
	.site-footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
	.site-footer { margin-top: 40px; }
	.site-footer__top { grid-template-columns: 1fr; gap: 32px; padding: 40px 0 28px; }
	.site-footer__bottom { flex-direction: column; text-align: center; }
	.newsletter-form--dark { flex-direction: column; }
}

/* Retour en haut */
.back-to-top {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 400;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--ink);
	color: #fff;
	box-shadow: var(--shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: opacity .2s ease, transform .2s ease, visibility .2s, background-color .15s ease;
}

.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--brand); color: #fff; }

/* 19. Accessibilité : mouvement réduit
   ------------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*,
	*::before,
	*::after {
		animation-duration: .001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .001ms !important;
	}
	/* Le bandeau « En continu » défile toujours (un bouton permet de le mettre en pause). */
	.ticker__rail {
		animation-duration: var(--ticker-duration, 60s) !important;
		animation-iteration-count: infinite !important;
	}
}

/* 20. Impression
   ------------------------------------------------------------------------ */
@media print {
	.topbar,
	.primary-nav,
	.ticker,
	.masthead__left,
	.masthead__right,
	.layout__sidebar,
	.share,
	.ad-slot,
	.related,
	.post-nav,
	.site-footer,
	.back-to-top,
	.read-progress,
	.search-panel,
	.drawer { display: none !important; }
	.layout { display: block; }
	body { font-size: 12pt; }
	.entry-content { max-width: none; }
}
