/*
Theme Name: Mode d'Emploi
Theme URI: https://example.com/mode-emploi
Author: Mode d'Emploi
Description: Thème éditorial sobre et premium pour une revue de droit social : articles d'actualité, analyses et entretiens. Typographie serif, noir et blanc, accent vert #4DB285, effets discrets.
Version: 1.0.0
Requires at least: 6.3
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mode-emploi
Tags: blog, news, one-column, three-columns, custom-logo, custom-menu, featured-images, translation-ready
*/

/* Polices auto-hébergées (RGPD : aucun appel à Google Fonts) — licence SIL OFL */
@font-face {
	font-family: "Newsreader"; font-style: normal; font-weight: 200 800; font-display: swap;
	src: url("assets/fonts/newsreader-latin-opsz-normal.woff2") format("woff2");
}
@font-face {
	font-family: "Newsreader"; font-style: italic; font-weight: 200 800; font-display: swap;
	src: url("assets/fonts/newsreader-latin-opsz-italic.woff2") format("woff2");
}
@font-face {
	font-family: "Inter Tight"; font-style: normal; font-weight: 100 900; font-display: swap;
	src: url("assets/fonts/inter-tight-latin-wght-normal.woff2") format("woff2");
}

/* ==========================================================================
   1. Tokens
   ========================================================================== */
:root {
	--green: #4DB285;
	--green-deep: #1F6B4B;
	--green-soft: #E7F4EE;
	--ink: #0E0F0E;
	--ink-2: #2A2D2B;
	--muted: #5E6460;
	--paper: #FFFFFF;
	--mist: #F4F5F2;
	--line: rgba(14, 15, 14, .14);
	--line-strong: #0E0F0E;

	--serif: "Newsreader", "Iowan Old Style", "Times New Roman", Georgia, serif;
	--sans: "Inter Tight", "Helvetica Neue", Arial, system-ui, sans-serif;

	--wrap: 1320px;
	--wrap-mid: 920px;
	--wrap-text: 700px;
	--gutter: clamp(16px, 3vw, 40px);
	--ease: cubic-bezier(.2, .7, .1, 1);
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--serif);
	font-size: 18px;
	line-height: 1.55;
	font-optical-sizing: auto;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
::selection { background: var(--green); color: var(--ink); }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; line-height: 1.1; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; z-index: 999; top: 8px; left: 8px;
	background: var(--ink); color: #fff; padding: 10px 16px; font-family: var(--sans);
}

.container { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.container--mid { max-width: calc(var(--wrap-mid) + 2 * var(--gutter)); }
.container--text { max-width: calc(var(--wrap-text) + 2 * var(--gutter)); }
.container--narrow { max-width: 760px; }

/* Libellés en petites capitales sans-serif */
.label, .kicker, .meta, .more, .card__num, .topbar, .nav__list a, .fil__date {
	font-family: var(--sans);
}
.label {
	display: block; margin: 0 0 .9rem;
	font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
	color: var(--muted);
}
.label--light { color: rgba(255,255,255,.7); }

.kicker {
	display: inline-flex; align-items: center; gap: .5em;
	font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
	color: var(--green-deep);
	margin-bottom: .75rem;
	transition: color .25s;
}
a.kicker:hover { color: var(--ink); }
.kicker--interview { color: var(--ink); }
.kicker__dot {
	width: 7px; height: 7px; border-radius: 50%; background: var(--green);
	box-shadow: 0 0 0 0 rgba(77,178,133,.6); animation: pulse 2.4s infinite;
}
@keyframes pulse {
	0% { box-shadow: 0 0 0 0 rgba(77,178,133,.55); }
	70% { box-shadow: 0 0 0 8px rgba(77,178,133,0); }
	100% { box-shadow: 0 0 0 0 rgba(77,178,133,0); }
}

.meta {
	display: flex; flex-wrap: wrap; gap: .35em 0;
	font-size: 12px; color: var(--muted); letter-spacing: .01em;
}
.meta > * + *::before { content: "·"; margin: 0 .55em; color: var(--line-strong); opacity: .35; }
.meta__author { color: var(--ink); font-weight: 500; }
.meta a { color: var(--ink); font-weight: 500; }

.more {
	display: inline-flex; align-items: center; gap: .6em;
	font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
}
.more::after { content: "→"; transition: transform .35s var(--ease); }
.more:hover::after { transform: translateX(5px); }
.more:hover { color: var(--green-deep); }

/* Soulignement animé des titres */
.card__title a, .fil__title a, .itw-card__title a, .entry-content a, .footer-list a {
	background-image: linear-gradient(var(--green), var(--green));
	background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%;
	transition: background-size .5s var(--ease), color .25s;
}
.card__title a:hover, .fil__title a:hover, .itw-card__title a:hover, .footer-list a:hover { background-size: 100% 1px; }

/* ==========================================================================
   3. En-tête
   ========================================================================== */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 200; pointer-events: none; }
.progress__bar { display: block; height: 100%; width: 100%; background: var(--green); transform-origin: 0 50%; transform: scaleX(0); }

.topbar { border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 42px; }
.topbar__claim { letter-spacing: .12em; text-transform: uppercase; font-size: 10.5px; font-weight: 600; }
.topbar__actions { display: flex; align-items: center; gap: 1.25rem; }
.topbar__link { font-weight: 600; color: var(--ink); }
.topbar__link:hover { color: var(--green-deep); }

.icon-btn {
	display: inline-grid; place-items: center; width: 34px; height: 34px;
	border: 0; background: none; color: var(--ink); border-radius: 50%;
	transition: background .25s, color .25s;
}
.icon-btn:hover { background: var(--ink); color: #fff; }

.masthead { text-align: center; padding: clamp(28px, 4.5vw, 56px) 0 clamp(18px, 2.5vw, 28px); }
.masthead__title {
	margin: 0; font-family: var(--serif); font-weight: 400;
	font-size: clamp(48px, 9.5vw, 132px); line-height: .9; letter-spacing: -.035em;
	animation: mast-in 1.2s var(--ease) both;
}
.masthead__title a { display: inline-block; }
.masthead__title a::first-letter { font-style: italic; }
.masthead__tagline {
	margin: 1rem 0 0; font-family: var(--sans); font-size: 11px; font-weight: 600;
	letter-spacing: .32em; text-transform: uppercase; color: var(--muted);
	animation: fade-in 1.2s .3s var(--ease) both;
}
.masthead__logo img { margin-inline: auto; max-height: 90px; width: auto; }
@keyframes mast-in { from { opacity: 0; letter-spacing: .02em; filter: blur(6px); } to { opacity: 1; letter-spacing: -.035em; filter: blur(0); } }
@keyframes fade-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.nav {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
	border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line);
	box-shadow: inset 0 3px 0 -2px var(--line-strong);
	transition: box-shadow .3s;
}
.is-scrolled .nav { box-shadow: 0 10px 30px -20px rgba(0,0,0,.35); }
.nav__inner { display: flex; align-items: center; min-height: 54px; gap: 1.5rem; }
.nav__brand {
	font-family: var(--serif); font-size: 22px; letter-spacing: -.02em; white-space: nowrap;
	max-width: 0; opacity: 0; overflow: hidden; margin-right: -1.5rem;
	transition: max-width .6s var(--ease), opacity .4s, margin .6s var(--ease);
}
.is-scrolled .nav__brand { max-width: 260px; opacity: 1; margin-right: 0; }
.nav__menu { flex: 1; min-width: 0; }
.nav__list {
	list-style: none; margin: 0; padding: 0;
	display: flex; justify-content: center; gap: clamp(1rem, 2.4vw, 2.4rem); flex-wrap: wrap;
}
.nav__list a {
	position: relative; display: block; padding: 17px 0;
	font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}
.nav__list a::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px;
	background: var(--green); transform: scaleX(0); transform-origin: 100% 50%;
	transition: transform .45s var(--ease);
}
.nav__list a:hover::after, .nav__list .current-menu-item > a::after, .nav__list .current-cat > a::after {
	transform: scaleX(1); transform-origin: 0 50%;
}
.nav__search { display: none; }
.is-scrolled .nav__search { display: inline-grid; }
.nav__toggle { display: none; }

/* Overlay de recherche */
.search-overlay {
	position: fixed; inset: 0; z-index: 300; background: rgba(14,15,14,.97); color: #fff;
	display: grid; align-items: center; opacity: 0; transition: opacity .35s var(--ease);
}
.search-overlay.is-open { opacity: 1; }
.search-overlay[hidden] { display: none; }
.search-overlay .label { color: var(--green); }
.search-overlay__close {
	position: absolute; top: 20px; right: 24px; border: 0; background: none; color: #fff;
	font-size: 44px; line-height: 1; font-weight: 300; transition: transform .3s var(--ease);
}
.search-overlay__close:hover { transform: rotate(90deg); color: var(--green); }
.search-overlay .search-form { border-color: rgba(255,255,255,.5); }
.search-overlay .search-form__input { color: #fff; font-size: clamp(28px, 5vw, 56px); }
.search-overlay .search-form__submit { color: #fff; }

.search-form { display: flex; align-items: center; border-bottom: 1px solid var(--ink); margin: 1.5rem 0; }
.search-form__input {
	flex: 1; min-width: 0; border: 0; background: none; padding: .4em 0; color: var(--ink);
	font-family: var(--serif); font-size: clamp(22px, 3vw, 32px); font-style: italic;
}
.search-form__input:focus { outline: none; }
.search-form__submit { border: 0; background: none; font-size: 28px; color: var(--ink); transition: transform .3s var(--ease), color .2s; }
.search-form__submit:hover { transform: translateX(6px); color: var(--green); }

/* ==========================================================================
   4. Bandeau défilant
   ========================================================================== */
.ticker { display: flex; align-items: stretch; border-bottom: 1px solid var(--line); background: var(--paper); overflow: hidden; }
.ticker__label {
	flex: none; display: flex; align-items: center; gap: .6em; padding: 0 18px 0 var(--gutter);
	background: var(--ink); color: #fff;
	font-family: var(--sans); font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
}
.ticker__label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: pulse 2.4s infinite; }
.ticker__track { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.ticker__items { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.ticker:hover .ticker__items { animation-play-state: paused; }
.ticker__items a { display: flex; align-items: center; padding: 12px 0; font-size: 15px; white-space: nowrap; }
.ticker__items a::after { content: "✦"; color: var(--green); font-size: 10px; margin: 0 28px; }
.ticker__items a:hover { color: var(--green-deep); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   5. Sections & titres
   ========================================================================== */
.section { padding: clamp(40px, 6vw, 88px) 0; }
.section + .section:not(.section--dark) { padding-top: 0; }
.section-head {
	display: flex; align-items: baseline; flex-wrap: wrap; gap: .5rem 2rem;
	border-top: 1px solid var(--line-strong); padding-top: 14px; margin-bottom: clamp(24px, 3vw, 40px);
}
.section-head .more { margin-left: auto; }
.section-head__desc { flex: 0 0 100%; order: 3; padding-right: 40%; margin: .5rem 0 0; color: var(--muted); font-style: italic; }
.section-title { font-family: var(--serif); font-size: clamp(30px, 3.6vw, 46px); letter-spacing: -.02em; }
.section-title span { position: relative; }
.section-title span::before {
	content: ""; display: inline-block; width: .32em; height: .32em; margin-right: .35em;
	background: var(--green); border-radius: 50%; vertical-align: .18em;
}
.section-title--small { font-size: 22px; margin-bottom: 1rem; }

.grid { display: grid; gap: clamp(24px, 3vw, 44px); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--rules > * { position: relative; }
.grid--rules > *:not(:nth-child(3n+1))::before {
	content: ""; position: absolute; top: 0; bottom: 0; left: calc(-1 * clamp(24px, 3vw, 44px) / 2);
	border-left: 1px solid var(--line);
}

/* ==========================================================================
   6. Cartes
   ========================================================================== */
.thumb { position: relative; overflow: hidden; background: var(--mist); aspect-ratio: 3 / 2; }
.thumb img {
	width: 100%; height: 100%; object-fit: cover;
	filter: grayscale(.35) contrast(1.02);
	transform: scale(1.01); transition: transform 1.1s var(--ease), filter .8s var(--ease);
}
.thumb::after {
	content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 100%;
	background: var(--green); transform: scaleX(0); transform-origin: 0 50%; transition: transform .6s var(--ease);
}
a:hover > .thumb img, .card:hover .thumb img, .itw-card:hover .thumb img { transform: scale(1.05); filter: grayscale(0) contrast(1.02); }
.card:hover .thumb::after, .itw-card:hover .thumb::after { transform: scaleX(1); }
.thumb--portrait { aspect-ratio: 4 / 5; }
.thumb__placeholder {
	position: absolute; inset: 0; display: grid; place-items: center;
	font-family: var(--serif); font-style: italic; font-size: 7rem; color: var(--green);
	background: radial-gradient(circle at 30% 20%, var(--green-soft), var(--mist) 70%);
}

.card__media { display: block; margin-bottom: 1.1rem; }
.card__title { font-size: 24px; line-height: 1.15; margin-bottom: .6rem; }
.card__excerpt { color: var(--ink-2); font-size: 16.5px; line-height: 1.5; }
.card__excerpt p { margin-bottom: .9rem; }
.card__guest { font-family: var(--sans); font-size: 13px; font-weight: 600; margin-bottom: .6rem; }
.card__guest span { font-weight: 400; color: var(--muted); }

.card--lead .card__title { font-size: clamp(34px, 4.4vw, 60px); line-height: 1.02; letter-spacing: -.025em; margin: .2rem 0 1rem; }
.card--lead .card__excerpt { font-size: 20px; max-width: 58ch; }
.card--lead .thumb { aspect-ratio: 16 / 10; }

.card--list { display: grid; grid-template-columns: 44px 1fr; gap: 0 12px; padding: 18px 0; border-top: 1px solid var(--line); }
.card--list:first-of-type { border-top: 0; padding-top: 0; }
.card--list .card__title { font-size: 20px; }
.card--list .meta__author { display: none; }
.card--list .meta > .meta__author + *::before { content: none; }
.card__num { font-size: 13px; font-weight: 600; color: var(--green-deep); padding-top: 2px; font-variant-numeric: tabular-nums; }

/* ==========================================================================
   7. À la une
   ========================================================================== */
.section--une { padding-top: clamp(28px, 4vw, 56px); }
.une { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); }
.une__side { border-left: 1px solid var(--line); padding-left: clamp(20px, 3vw, 44px); }

/* ==========================================================================
   8. Entretiens (bande sombre)
   ========================================================================== */
.section--dark { background: var(--ink); color: #fff; }
.section--dark .section-head { border-top-color: rgba(255,255,255,.9); }
.section--dark .section-head__desc { color: rgba(255,255,255,.65); }
.section--dark .more:hover { color: var(--green); }
.section.section--dark + .section:not(.section--dark) { padding-top: clamp(40px, 6vw, 88px); }

.itw-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: clamp(24px, 3vw, 44px); align-items: start; }
.itw-grid--light { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.itw-card__media { display: block; margin-bottom: 1.25rem; }
.itw-card .thumb { background: #1b1d1c; }
.itw-card__quote {
	position: relative; margin: 0 0 1rem; padding-top: 1.6rem;
	font-size: 21px; line-height: 1.3; font-style: italic; color: var(--green);
}
.itw-card__quote::before {
	content: ""; position: absolute; top: 0; left: 0; width: 28px; height: 2px; background: currentColor;
}
.itw-card__title { font-size: 22px; line-height: 1.2; margin-bottom: .8rem; }
.itw-card__guest { font-family: var(--sans); font-size: 13px; display: flex; flex-direction: column; gap: 2px; }
.itw-card__guest span { color: rgba(255,255,255,.6); }
.itw-grid > .itw-card:first-child .itw-card__quote { font-size: 26px; }
.itw-grid > .itw-card:nth-child(2) { margin-top: 64px; }
.itw-grid > .itw-card:nth-child(3) { margin-top: 128px; }
.itw-grid--light > .itw-card:nth-child(n) { margin-top: 0; }
.itw-grid--light .itw-card__quote { color: var(--green-deep); }
.itw-grid--light .itw-card__guest span { color: var(--muted); }
.itw-grid--light .itw-card .thumb { background: var(--mist); }

/* ==========================================================================
   9. Le fil
   ========================================================================== */
.fil { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(28px, 4vw, 64px); }
.fil__item { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.fil__date { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); line-height: 1.2; }
.fil__date span { display: block; font-family: var(--serif); font-size: 36px; font-weight: 300; letter-spacing: -.02em; color: var(--ink); }
.fil__title { font-size: 22px; line-height: 1.2; }
.fil .kicker { margin-bottom: .4rem; }

/* ==========================================================================
   10. Newsletter
   ========================================================================== */
.newsletter { background: var(--green); color: var(--ink); padding: clamp(48px, 7vw, 96px) 0; position: relative; overflow: hidden; }
.newsletter::before {
	content: "§"; position: absolute; right: -2vw; top: 50%; transform: translateY(-52%);
	font-family: var(--serif); font-style: italic; font-size: clamp(260px, 36vw, 520px); line-height: 1;
	color: rgba(255,255,255,.16); pointer-events: none;
}
.newsletter .label { color: rgba(14,15,14,.7); }
.newsletter__inner { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: end; }
.newsletter__title { font-size: clamp(32px, 4vw, 54px); letter-spacing: -.025em; line-height: 1.02; margin-bottom: 1rem; }
.newsletter__text { max-width: 48ch; margin: 0; font-size: 18px; }
.newsletter__form { display: flex; border-bottom: 2px solid var(--ink); }
.newsletter__form input {
	flex: 1; min-width: 0; border: 0; background: none; padding: 14px 0; color: var(--ink);
	font-family: var(--serif); font-size: 22px; font-style: italic;
}
.newsletter__form input::placeholder { color: rgba(14,15,14,.55); }
.newsletter__form input:focus { outline: none; }
.newsletter__form button {
	border: 0; background: var(--ink); color: #fff; padding: 0 22px; margin-bottom: 8px;
	font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
	transition: background .25s, color .25s;
}
.newsletter__form button:hover { background: #fff; color: var(--ink); }

/* ==========================================================================
   11. Pied de page
   ========================================================================== */
.site-footer { background: var(--ink); color: rgba(255,255,255,.75); font-family: var(--sans); font-size: 14px; padding: clamp(48px, 6vw, 80px) 0 28px; }
.site-footer .label { color: rgba(255,255,255,.45); }
.site-footer__top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.15); }
.site-footer__title { font-family: var(--serif); color: #fff; font-size: clamp(40px, 5vw, 64px); letter-spacing: -.03em; line-height: 1; margin-bottom: .6rem; }
.site-footer__desc { font-family: var(--serif); font-style: italic; font-size: 17px; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-list a { color: #fff; }
.site-footer__bottom { display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; padding-top: 24px; font-size: 12px; color: rgba(255,255,255,.5); }
.to-top { color: #fff; }
.to-top:hover { color: var(--green); }
.footer-widget { margin-bottom: 1.5rem; }

/* ==========================================================================
   12. Article
   ========================================================================== */
.single__head { text-align: center; padding-top: clamp(36px, 6vw, 88px); padding-bottom: clamp(28px, 4vw, 48px); }
.single__kicker { margin-bottom: .5rem; }
.single__title { font-size: clamp(38px, 5.6vw, 76px); line-height: 1.02; letter-spacing: -.03em; margin-bottom: 1.4rem; text-wrap: balance; }
.single__standfirst { font-size: clamp(20px, 2vw, 25px); line-height: 1.4; color: var(--ink-2); font-style: italic; font-weight: 300; max-width: 42ch; margin: 0 auto 2rem; text-wrap: pretty; }
.byline { display: inline-flex; align-items: center; gap: 14px; text-align: left; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.byline__avatar { border-radius: 50%; filter: grayscale(1); }
.byline__name { font-family: var(--sans); font-size: 14px; margin: 0 0 2px; }
.byline__name a { font-weight: 600; }
.byline__name a:hover { color: var(--green-deep); }

.single__figure { margin: 0 auto clamp(32px, 5vw, 64px); }
.single__figure img { width: 100%; max-height: 78vh; object-fit: cover; }
.single__figure figcaption, .entry-content figcaption { font-family: var(--sans); font-size: 12px; color: var(--muted); margin-top: .7rem; }

.single__layout { display: grid; grid-template-columns: 1fr minmax(0, var(--wrap-text)) 1fr; gap: 0 40px; }
.single__aside { grid-column: 1; justify-self: end; }
.single__aside-sticky { position: sticky; top: 96px; }
.single__layout .entry-content { grid-column: 2; }

.share { display: flex; flex-direction: column; gap: 10px; font-family: var(--sans); font-size: 13px; }
.share a, .share button {
	display: inline-block; border: 0; background: none; padding: 0; text-align: left; color: var(--ink); font-size: 13px;
	transition: color .2s, transform .3s var(--ease);
}
.share a:hover, .share button:hover { color: var(--green-deep); transform: translateX(3px); }

/* Contenu éditorial */
.entry-content { font-size: 20px; line-height: 1.68; }
.entry-content > * { margin-top: 0; margin-bottom: 1.35em; }
.entry-content a { color: var(--green-deep); background-size: 100% 1px; }
.entry-content a:hover { color: var(--ink); background-image: linear-gradient(var(--green), var(--green)); background-size: 100% 100%; }
.entry-content h2 { font-size: 32px; letter-spacing: -.02em; margin-top: 1.8em; margin-bottom: .6em; line-height: 1.15; }
.entry-content h3 { font-size: 24px; margin-top: 1.6em; margin-bottom: .5em; }
.entry-content h4 { font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.entry-content ul, .entry-content ol { padding-left: 1.2em; }
.entry-content li { margin-bottom: .4em; }
.entry-content ul li::marker { color: var(--green); }
.entry-content ol li::marker { color: var(--green-deep); font-family: var(--sans); font-weight: 600; font-size: .8em; }
.entry-content blockquote, .entry-content .wp-block-quote {
	margin: 2em 0; padding: 0 0 0 1.5em; border-left: 3px solid var(--green);
	font-size: 1.2em; line-height: 1.4; font-style: italic;
}
.entry-content blockquote cite, .entry-content .wp-block-quote cite {
	display: block; margin-top: .8em; font-family: var(--sans); font-style: normal; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.entry-content .wp-block-pullquote { border: 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 1.5em 0; text-align: center; }
.entry-content .wp-block-pullquote blockquote { border: 0; padding: 0; font-size: 1.5em; }
.entry-content hr { border: 0; text-align: center; margin: 2.5em 0; }
.entry-content hr::before { content: "§"; color: var(--green); font-size: 24px; }
.entry-content table { width: 100%; border-collapse: collapse; font-family: var(--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-color: var(--ink); font-weight: 600; }
.entry-content .alignwide { margin-inline: calc(-1 * min(12vw, 160px)); max-width: none; }
.entry-content .alignfull { margin-inline: calc(50% - 50vw); max-width: 100vw; }
.entry-content .has-green-background-color, .entry-content .wp-block-group.has-background { padding: 1.4em 1.6em; }

/* Encadré « À retenir » : ajouter la classe CSS "a-retenir" à un bloc Groupe */
.entry-content .a-retenir {
	background: var(--green-soft); border-top: 3px solid var(--green); padding: 1.4em 1.6em; font-size: .9em;
}
.entry-content .a-retenir::before {
	content: "À retenir"; display: block; margin-bottom: .6em;
	font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--green-deep);
}

.has-dropcap > p:first-of-type::first-letter {
	float: left; font-size: 5.1em; line-height: .78; margin: .06em .1em 0 0; color: var(--green); font-weight: 400;
}

/* Référence juridique : <code> stylé comme une mention d’article (ex : L. 1233-3) */
.entry-content code { font-family: var(--sans); font-size: .78em; background: var(--mist); padding: .15em .45em; border-radius: 2px; }

.single__foot { padding-top: 2rem; padding-bottom: 1rem; }
.tags { list-style: none; margin: 0 0 2.5rem; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags a {
	display: inline-block; padding: 6px 12px; border: 1px solid var(--line);
	font-family: var(--sans); font-size: 12px; transition: all .25s;
}
.tags a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.author-box { display: grid; grid-template-columns: 72px 1fr; gap: 20px; padding: 28px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.author-box img { border-radius: 50%; filter: grayscale(1); }
.author-box__name { font-size: 22px; margin-bottom: .3rem; }
.author-box__bio { font-size: 16px; color: var(--ink-2); margin: 0; }
.author-box .label { margin-bottom: .3rem; }

.section--related { padding-top: clamp(40px, 6vw, 80px); }

/* ==========================================================================
   13. Interview
   ========================================================================== */
.itw-hero { background: var(--ink); color: #fff; padding: clamp(40px, 6vw, 96px) 0; }
.itw-hero__inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: end; }
.itw-hero .kicker { color: #fff; }
.itw-hero__with { font-family: var(--sans); font-size: 14px; color: rgba(255,255,255,.7); margin-bottom: 1.2rem; }
.itw-hero__with strong { color: var(--green); font-weight: 600; }
.itw-hero .single__title { font-size: clamp(36px, 4.8vw, 68px); }
.itw-hero .single__standfirst { color: rgba(255,255,255,.8); margin-left: 0; }
.itw-hero__meta { border-top: 1px solid rgba(255,255,255,.2); padding-top: 1.2rem; }
.itw-hero__role { font-style: italic; margin-bottom: .4rem; }
.itw-hero .meta { color: rgba(255,255,255,.6); }
.itw-hero .meta a { color: #fff; }
.itw-hero .meta > * + *::before { color: #fff; }
.itw-hero__portrait { position: relative; }
.itw-hero__portrait::before {
	content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--green); z-index: 0;
	transition: inset .8s var(--ease);
}
.itw-hero__portrait:hover::before { inset: 10px -10px -10px 10px; }
.itw-hero__portrait .thumb { position: relative; z-index: 1; background: #1b1d1c; }
.itw-hero__portrait .thumb img { filter: grayscale(1) contrast(1.05); }
.itw-hero__portrait:hover .thumb img { filter: grayscale(0); }

.itw-keyquote { margin: clamp(40px, 6vw, 80px) 0 clamp(24px, 4vw, 48px); text-align: center; }
.itw-keyquote p {
	font-size: clamp(28px, 3.6vw, 46px); line-height: 1.15; letter-spacing: -.02em; font-style: italic; font-weight: 300; margin-bottom: 1rem; text-wrap: balance;
}
.itw-keyquote p::before { content: "“"; display: block; font-size: 2.4em; line-height: .6; color: var(--green); font-style: normal; margin-bottom: .1em; }
.itw-keyquote cite { font-family: var(--sans); font-style: normal; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* Questions : paragraphes commençant par du gras, ou titres H3 */
.entry-content--interview > p:has(> strong:first-child),
.entry-content--interview > h3 {
	position: relative; padding-left: 1.3em;
	font-family: var(--sans); font-size: 17px; line-height: 1.5; font-weight: 600; color: var(--ink);
	margin-top: 2.2em;
}
.entry-content--interview > p:has(> strong:first-child)::before,
.entry-content--interview > h3::before {
	content: ""; position: absolute; left: 0; top: .72em; width: .75em; height: 2px; background: var(--green);
}

/* ==========================================================================
   14. Archives, recherche, 404, pagination
   ========================================================================== */
.archive-head { padding: clamp(40px, 6vw, 88px) 0 clamp(24px, 3vw, 40px); border-bottom: 1px solid var(--line); }
.archive-head .label { color: var(--green-deep); }
.archive-head__title { font-size: clamp(44px, 7vw, 104px); line-height: .95; letter-spacing: -.035em; margin-bottom: 1rem; }
.archive-head__desc { font-size: 20px; font-style: italic; color: var(--muted); max-width: 56ch; }
.section--archive { padding-top: clamp(32px, 4vw, 56px); }
.section--archive .grid { row-gap: clamp(40px, 5vw, 64px); }
.empty { padding: 40px 0; font-size: 20px; }

.pagination { margin-top: clamp(40px, 5vw, 72px); border-top: 1px solid var(--ink); padding-top: 18px; }
.pagination .nav-links { display: flex; gap: 6px; justify-content: center; font-family: var(--sans); font-size: 14px; }
.pagination .page-numbers { min-width: 40px; height: 40px; display: grid; place-items: center; padding: 0 8px; transition: background .2s, color .2s; }
.pagination .page-numbers.current { background: var(--ink); color: #fff; }
.pagination a.page-numbers:hover { background: var(--green); }

.notfound { padding: clamp(60px, 10vw, 140px) 0; text-align: center; }
.notfound__code { font-size: clamp(120px, 22vw, 280px); line-height: .8; letter-spacing: -.05em; color: var(--green); font-style: italic; margin-bottom: 2rem; }
.notfound .search-form { max-width: 520px; margin-inline: auto; }

/* Commentaires */
.comments-wrap { padding-bottom: 60px; }
.comment-list { list-style: none; padding: 0; margin: 0 0 2rem; }
.comment-list .children { list-style: none; padding-left: 2rem; }
.comment-body { padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
.comment-meta { font-family: var(--sans); font-size: 13px; display: flex; gap: 10px; align-items: center; margin-bottom: .5rem; }
.comment-meta img { border-radius: 50%; }
.comment-meta a { color: var(--muted); }
.comment-form label { display: block; font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; }
.comment-form input[type=text], .comment-form input[type=email], .comment-form input[type=url], .comment-form textarea {
	width: 100%; border: 0; border-bottom: 1px solid var(--ink); background: var(--mist); padding: 12px; font: inherit; font-size: 17px;
}
.comment-form .submit, .button {
	border: 0; background: var(--ink); color: #fff; padding: 14px 26px;
	font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; transition: background .25s;
}
.comment-form .submit:hover { background: var(--green); color: var(--ink); }

/* ==========================================================================
   15. Apparition au défilement
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.js .reveal { opacity: 1; transform: none; }
}

/* WordPress core */
.alignleft { float: left; margin: .3em 1.5em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.5em; }
.aligncenter { margin-inline: auto; }
.wp-caption-text, .gallery-caption { font-family: var(--sans); font-size: 12px; color: var(--muted); }
.sticky, .bypostauthor { }

/* ==========================================================================
   16. Responsive
   ========================================================================== */
@media (max-width: 1100px) {
	.single__layout { grid-template-columns: minmax(0, 1fr); max-width: calc(var(--wrap-text) + 2 * var(--gutter)); }
	.single__layout .entry-content { grid-column: 1; }
	.single__aside { grid-column: 1; grid-row: 2; justify-self: stretch; border-top: 1px solid var(--line); padding-top: 20px; margin-top: 20px; }
	.share { flex-direction: row; flex-wrap: wrap; gap: 18px; align-items: center; }
	.share .label { margin: 0; }
	.entry-content .alignwide { margin-inline: 0; }
	.site-footer__top { grid-template-columns: 1fr 1fr; }
	.site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
	body { font-size: 17px; }
	.topbar__claim { display: none; }
	.une { grid-template-columns: 1fr; }
	.une__side { border-left: 0; padding-left: 0; border-top: 1px solid var(--ink); padding-top: 18px; }
	.grid--3, .itw-grid, .itw-grid--light { grid-template-columns: 1fr 1fr; }
	.grid--rules > *::before { display: none; }
	.itw-grid > .itw-card:nth-child(n) { margin-top: 0; }
	.itw-grid > .itw-card:first-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
	.fil { grid-template-columns: 1fr; }
	.newsletter__inner, .itw-hero__inner { grid-template-columns: 1fr; }
	.itw-hero__portrait { max-width: 420px; order: -1; }

	/* Menu mobile */
	.nav__inner { min-height: 52px; }
	.nav__brand { margin-right: 0; }
	.nav__search { display: inline-grid; margin-left: auto; }
	.nav__toggle {
		display: inline-flex; flex-direction: column; justify-content: center; gap: 6px;
		width: 34px; height: 34px; border: 0; background: none; padding: 0 6px; order: 3;
	}
	.nav__toggle span:not(.screen-reader-text) { display: block; height: 1.5px; background: var(--ink); transition: transform .35s var(--ease); }
	.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
	.nav__toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }
	.nav__menu {
		position: absolute; left: 0; right: 0; top: 100%;
		background: var(--paper); border-bottom: 1px solid var(--ink);
		max-height: 0; overflow: hidden; transition: max-height .5s var(--ease);
	}
	.nav.is-open .nav__menu { max-height: 80vh; }
	.nav__list { flex-direction: column; gap: 0; padding: 8px var(--gutter) 20px; }
	.nav__list a { padding: 14px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); text-transform: none; letter-spacing: -.01em; font-size: 24px; font-weight: 400; }
	.nav__list a::after { display: none; }
}

@media (max-width: 600px) {
	.section-head__desc { padding-right: 0; }
	.itw-card .thumb--portrait { aspect-ratio: 1 / 1; }
	.grid--3, .itw-grid, .itw-grid--light, .itw-grid > .itw-card:first-child { grid-template-columns: 1fr; }
	.topbar__date { font-size: 11px; }
	.masthead__tagline { letter-spacing: .2em; font-size: 10px; }
	.card--lead .card__excerpt { font-size: 18px; }
	.entry-content { font-size: 18.5px; }
	.site-footer__top { grid-template-columns: 1fr; }
	.single__head { text-align: left; }
	.single__standfirst { margin-left: 0; }
	.ticker__label { padding: 0 12px 0 var(--gutter); font-size: 0; gap: 0; }
	.ticker__label::before { font-size: 11px; }
}
