/*
Theme Name: Veilleuse IA · Nuit
Theme URI: https://veilleuse-ia.tech
Author: Veilleuse IA
Author URI: https://veilleuse-ia.tech
Description: Thème sombre (ambre et violet) pour Veilleuse IA. Page d’accueil avec « Actu chaude » en carrousel, « Articles de fond » en cartes et lettre hebdomadaire. Autonome : aucune dépendance, polices hébergées dans le thème.
Version: 1.0.0
Requires at least: 6.3
Tested up to: 6.5
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: veilleuse-nuit
Tags: blog, news, dark, custom-menu, featured-images
*/

/* ==========================================================================
   1. Polices (hébergées dans le thème : rien n’est chargé depuis Google)
   ========================================================================== */
@font-face {
	font-family: "Bricolage Grotesque";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("assets/fonts/bricolage-grotesque-latin-500-normal.woff2") format("woff2");
}
@font-face {
	font-family: "Bricolage Grotesque";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("assets/fonts/bricolage-grotesque-latin-700-normal.woff2") format("woff2");
}
@font-face {
	font-family: "Bricolage Grotesque";
	font-style: normal;
	font-weight: 800;
	font-display: swap;
	src: url("assets/fonts/bricolage-grotesque-latin-800-normal.woff2") format("woff2");
}
@font-face {
	font-family: "DM Sans";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("assets/fonts/dm-sans-latin-400-normal.woff2") format("woff2");
}
@font-face {
	font-family: "DM Sans";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("assets/fonts/dm-sans-latin-500-normal.woff2") format("woff2");
}
@font-face {
	font-family: "DM Sans";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("assets/fonts/dm-sans-latin-700-normal.woff2") format("woff2");
}

/* ==========================================================================
   2. Variables et base
   ========================================================================== */
:root {
	--vn-bg: #0C0E1B;
	--vn-surface: #141731;
	--vn-surface-2: #1C2042;
	--vn-line: #2B3060;
	--vn-line-2: #3A4080;
	--vn-field: #7C84C8;
	--vn-text: #F3F1FA;
	--vn-lead: #D6D3EA;
	--vn-body: #E4E1F2;
	--vn-muted: #B9B7D0;
	--vn-amber: #F6B64F;
	--vn-amber-hover: #FFC76B;
	--vn-amber-ink: #1B1306;
	--vn-violet: #B3A9FF;
	--vn-font-head: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--vn-font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--vn-pad: 32px;
	color-scheme: dark;
}

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

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

@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

/* Un élément « hidden » (boutons que le JavaScript affiche ensuite) reste caché même si une règle lui donne un display. */
[hidden] {
	display: none !important;
}

body {
	margin: 0;
	background: var(--vn-bg);
	color: var(--vn-text);
	font-family: var(--vn-font-body);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-wrap: break-word;
}

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

img {
	height: auto;
}

a {
	color: var(--vn-violet);
	text-decoration: none;
}

a:hover {
	color: var(--vn-amber);
}

:focus-visible {
	outline: 3px solid var(--vn-amber);
	outline-offset: 3px;
	border-radius: 4px;
}

::selection {
	background: rgba(246, 182, 79, 0.35);
	color: #fff;
}

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

.screen-reader-text:focus,
.skip-link:focus {
	background: var(--vn-amber);
	border-radius: 999px;
	clip: auto;
	clip-path: none;
	color: var(--vn-amber-ink);
	display: block;
	font-size: 15px;
	font-weight: 700;
	height: auto;
	left: 16px;
	margin: 0;
	padding: 12px 22px;
	top: 16px;
	width: auto;
	z-index: 100000;
}

.vn-container {
	max-width: 1200px;
	margin: 0 auto;
	padding-left: var(--vn-pad);
	padding-right: var(--vn-pad);
}

.vn-main {
	display: block;
}

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

.vn-accent {
	color: var(--vn-amber);
}

.vn-icon {
	flex: none;
	display: inline-block;
	vertical-align: -0.15em;
}

/* La flèche « ↗ » est dessinée avec une marge intérieure : on la rapproche du texte. */
.vn-icon--arrow-up-right {
	margin-left: -4px;
}

/* Boutons et liens d’action ------------------------------------------------ */
.vn-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0 28px;
	border: 0;
	border-radius: 999px;
	background: var(--vn-amber);
	color: var(--vn-amber-ink);
	font-family: var(--vn-font-body);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
}

.vn-btn:hover {
	background: var(--vn-amber-hover);
	color: var(--vn-amber-ink);
}

.vn-btn--sm {
	min-height: 44px;
	padding: 0 22px;
	font-size: 15px;
}

.vn-link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	min-height: 44px;
	font-size: 15px;
	font-weight: 700;
}

.vn-pill {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 20px;
	border: 1px solid var(--vn-field);
	border-radius: 999px;
	background: transparent;
	color: var(--vn-text);
	font-family: var(--vn-font-body);
	font-size: 15px;
	font-weight: 500;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
}

.vn-pill:hover {
	border-color: var(--vn-amber);
	color: var(--vn-amber);
}

.vn-chip {
	display: inline-block;
	padding: 3px 12px;
	border: 1px solid var(--vn-line-2);
	border-radius: 999px;
	color: var(--vn-violet);
	line-height: 1.5;
}

.vn-state {
	display: inline-block;
	padding: 2px 10px;
	border: 1px dashed var(--vn-amber);
	border-radius: 999px;
	color: var(--vn-amber);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.5;
	text-transform: uppercase;
}

.vn-eyebrow {
	margin: 0 0 16px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--vn-amber);
}

/* ==========================================================================
   3. En-tête et navigation
   ========================================================================== */
.vn-header {
	border-bottom: 1px solid var(--vn-line);
}

.vn-header__inner {
	min-height: 80px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px 24px;
}

.vn-logo {
	display: flex;
	align-items: center;
	min-height: 44px;
	gap: 12px;
	color: var(--vn-text);
	font-family: var(--vn-font-head);
	font-size: 23px;
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.01em;
}

.vn-logo:hover {
	color: var(--vn-text);
}

.vn-logo svg {
	width: 36px;
	height: 36px;
	flex: none;
}

.vn-logo__accent {
	color: var(--vn-amber);
}

.vn-nav {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 4px;
}

.vn-nav__list {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vn-nav__list a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 14px;
	color: var(--vn-muted);
	font-size: 15px;
	font-weight: 500;
}

.vn-nav__list a:hover {
	color: var(--vn-text);
}

.vn-nav__list .current-menu-item > a,
.vn-nav__list .current-menu-parent > a,
.vn-nav__list .current-menu-ancestor > a,
.vn-nav__list .current-post-ancestor > a,
.vn-nav__list .current_page_item > a,
.vn-nav__list a[aria-current="page"] {
	color: var(--vn-text);
	font-weight: 700;
}

.vn-nav__cta {
	margin-left: 8px;
}

.vn-menu-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 1px solid var(--vn-field);
	border-radius: 14px;
	background: transparent;
	color: var(--vn-text);
	cursor: pointer;
}

.vn-menu-toggle .vn-menu-toggle__close {
	display: none;
}

.vn-menu-toggle[aria-expanded="true"] .vn-menu-toggle__open {
	display: none;
}

.vn-menu-toggle[aria-expanded="true"] .vn-menu-toggle__close {
	display: block;
}

@media (max-width: 900px) {
	.js .vn-header__inner {
		min-height: 68px;
		padding-top: 10px;
		padding-bottom: 10px;
	}

	.js .vn-menu-toggle {
		display: flex;
	}

	.js .vn-nav {
		display: none;
		order: 3;
		flex: 0 0 100%;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 4px 0 20px;
	}

	.js .vn-nav.is-open {
		display: flex;
	}

	.js .vn-nav__list {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.js .vn-nav__list a {
		display: flex;
		min-height: 52px;
		padding: 0 4px;
		border-top: 1px solid var(--vn-line);
		font-size: 17px;
	}

	.js .vn-nav__cta {
		margin: 12px 0 0;
		min-height: 52px;
	}
}

/* ==========================================================================
   4. Accueil
   ========================================================================== */
.vn-hero {
	border-bottom: 1px solid var(--vn-line);
}

.vn-hero__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 48px;
	padding-top: 80px;
	padding-bottom: 88px;
}

.vn-hero__text {
	flex: 3 1 520px;
	min-width: 0;
}

.vn-hero__art {
	flex: 2 1 320px;
	min-width: 0;
	display: flex;
	justify-content: center;
}

.vn-hero__art svg {
	display: block;
	width: 100%;
	max-width: 400px;
	height: auto;
}

.vn-kicker {
	margin: 0 0 28px;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 7px 16px;
	border: 1px solid var(--vn-line);
	border-radius: 999px;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: var(--vn-muted);
}

.vn-kicker::before {
	content: "";
	flex: none;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--vn-amber);
}

.vn-hero__title {
	margin: 0 0 24px;
	font-family: var(--vn-font-head);
	font-size: 56px;
	font-weight: 800;
	line-height: 1.04;
	letter-spacing: -0.03em;
	text-wrap: balance;
}

.vn-hero__lead {
	margin: 0 0 36px;
	max-width: 560px;
	font-size: 19px;
	line-height: 1.6;
	color: var(--vn-muted);
	text-wrap: pretty;
}

.vn-hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 28px;
}

.vn-hero__link {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	font-size: 16px;
	font-weight: 500;
	text-decoration: underline;
	text-underline-offset: 5px;
}

/* Sections -------------------------------------------------------------------- */
.vn-section {
	border-bottom: 1px solid var(--vn-line);
}

.vn-section--tint {
	background: var(--vn-surface);
}

.vn-section__inner {
	padding-top: 80px;
	padding-bottom: 80px;
}

.vn-section--actu .vn-section__inner {
	padding-top: 72px;
	padding-bottom: 64px;
}

.vn-section__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px 32px;
	margin-bottom: 36px;
}

.vn-section--actu .vn-section__head {
	margin-bottom: 32px;
}

.vn-section__title {
	margin: 0 0 8px;
	font-family: var(--vn-font-head);
	font-size: 38px;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.02em;
}

.vn-section__title--live {
	display: flex;
	align-items: center;
	gap: 16px;
}

.vn-section__title--live::before {
	content: "";
	flex: none;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--vn-amber);
	box-shadow: 0 0 0 6px rgba(246, 182, 79, 0.25);
}

.vn-section__sub {
	margin: 0;
	font-size: 17px;
	color: var(--vn-muted);
}

.vn-section__tools {
	display: flex;
	align-items: center;
	gap: 12px;
}

.vn-section__tools .vn-slider__btn--prev {
	margin-left: 12px;
}

.vn-only-sm {
	display: none;
}

/* Carrousel « Actu chaude » ---------------------------------------------------- */
.vn-slider__track {
	display: flex;
	gap: 20px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	padding-bottom: 4px;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior-x: contain;
}

.vn-slider__track::-webkit-scrollbar {
	display: none;
}

html:not(.js) .vn-slider__track {
	scrollbar-width: thin;
}

.vn-slider__track > .vn-card {
	flex: 0 0 calc((100% - 60px) / 3.25);
	min-width: 280px;
	scroll-snap-align: start;
}

.vn-slider__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 1px solid var(--vn-line-2);
	border-radius: 50%;
	background: transparent;
	color: var(--vn-text);
	cursor: pointer;
}

.vn-slider__btn--next {
	border-color: var(--vn-amber);
	background: var(--vn-amber);
	color: var(--vn-amber-ink);
}

.vn-slider__btn[disabled] {
	opacity: 0.5;
	cursor: default;
}

.vn-slider__dots {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 24px;
}

.vn-slider__dot {
	display: block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--vn-line-2);
	transition: width 0.2s ease, background-color 0.2s ease;
}

.vn-slider__dot.is-active {
	width: 28px;
	border-radius: 999px;
	background: var(--vn-amber);
}

/* Cartes ---------------------------------------------------------------------- */
.vn-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 28px;
}

@media (min-width: 700px) {
	.vn-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1020px) {
	.vn-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.vn-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	background: var(--vn-surface);
	border: 1px solid var(--vn-line);
	border-radius: 24px;
	overflow: hidden;
	transition: border-color 0.2s ease, transform 0.2s ease;
}

.vn-card:hover {
	border-color: var(--vn-line-2);
}

@media (prefers-reduced-motion: no-preference) {
	.vn-card:hover {
		transform: translateY(-2px);
	}
}

.vn-card:has(a:focus-visible) {
	outline: 3px solid var(--vn-amber);
	outline-offset: 3px;
}

.vn-card__media {
	display: block;
	height: 190px;
	background: var(--vn-surface-2);
	overflow: hidden;
}

.vn-card__media > svg,
.vn-card__media > img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
}

.vn-card__media > img {
	object-fit: cover;
}

.vn-card__body {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 24px 24px 8px;
}

.vn-card__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 12px;
	font-size: 13px;
	font-weight: 500;
	color: var(--vn-muted);
}

.vn-card__title {
	margin: 0;
	font-family: var(--vn-font-head);
	font-size: 23px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.015em;
}

.vn-card__title a {
	color: var(--vn-text);
}

.vn-card__title a:hover {
	color: var(--vn-amber);
}

.vn-card__title a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.vn-card__title a:focus-visible {
	outline-offset: 2px;
}

.vn-card__excerpt {
	margin: 0;
	font-size: 16px;
	line-height: 1.6;
	color: var(--vn-muted);
}

.vn-card__more {
	position: relative;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	align-self: flex-start;
	min-height: 52px;
	padding: 0 24px 4px;
	font-size: 15px;
	font-weight: 700;
}

/* Variante « actu » (carrousel et rubrique) */
.vn-card--actu {
	background: var(--vn-surface-2);
	border-radius: 20px;
}

.vn-card--actu .vn-card__media {
	height: 170px;
}

.vn-card--actu .vn-card__body {
	gap: 10px;
	padding: 20px 22px 8px;
}

.vn-card--actu .vn-card__title {
	font-size: 20px;
	line-height: 1.25;
	letter-spacing: -0.01em;
}

.vn-card--actu .vn-card__excerpt {
	font-size: 15px;
	line-height: 1.55;
}

.vn-card--actu .vn-card__more {
	min-height: 48px;
	padding: 0 22px;
	font-size: 14px;
}

/* Variante compacte (« À lire aussi ») */
.vn-card--compact {
	background: var(--vn-bg);
}

.vn-card--compact .vn-card__media {
	height: 150px;
}

.vn-card--compact .vn-card__body {
	padding: 22px 22px 6px;
}

.vn-card--compact .vn-card__title {
	font-size: 21px;
}

.vn-card--compact .vn-card__excerpt {
	font-size: 15px;
}

.vn-card--compact .vn-card__more {
	padding: 0 22px 4px;
}

/* Dessin de secours : traits constants, quelle que soit la taille */
.vn-art * {
	vector-effect: non-scaling-stroke;
}

/* État vide ---------------------------------------------------------------------- */
.vn-empty {
	padding: 32px;
	border: 1px dashed var(--vn-line-2);
	border-radius: 24px;
	color: var(--vn-muted);
}

.vn-empty p {
	margin: 0 0 8px;
}

.vn-empty p:last-child {
	margin-bottom: 0;
}

.vn-empty strong {
	color: var(--vn-text);
}

/* ==========================================================================
   5. Lettre hebdomadaire
   ========================================================================== */
.vn-newsletter__inner {
	padding-top: 80px;
	padding-bottom: 96px;
}

.vn-newsletter__panel {
	display: flex;
	flex-wrap: wrap;
	gap: 48px;
	padding: 48px;
	background: var(--vn-surface-2);
	border: 1px solid var(--vn-line);
	border-radius: 32px;
}

.vn-newsletter__panel--aside {
	align-items: center;
}

.vn-newsletter__main {
	flex: 3 1 420px;
	min-width: 0;
}

.vn-newsletter__side {
	flex: 2 1 320px;
	min-width: 0;
}

.vn-newsletter__mark {
	display: none;
}

.vn-newsletter__title {
	margin: 0 0 16px;
	font-family: var(--vn-font-head);
	font-size: 44px;
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -0.025em;
	text-wrap: balance;
}

.vn-newsletter__text {
	margin: 0 0 28px;
	max-width: 520px;
	font-size: 18px;
	line-height: 1.6;
	color: var(--vn-muted);
	text-wrap: pretty;
}

.vn-newsletter__form {
	max-width: 540px;
}

.vn-newsletter__note {
	margin: 14px 0 0;
	font-size: 14px;
	color: var(--vn-muted);
}

/* Formulaire fourni par l’extension de lettre (MailPoet, MC4WP, etc.) */
.vn-newsletter__form form {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 12px;
	margin: 0;
}

.vn-newsletter__form label {
	display: block;
	margin-bottom: 8px;
	font-size: 14px;
	font-weight: 500;
	color: var(--vn-muted);
}

.vn-newsletter__form p {
	margin: 0;
}

.vn-newsletter__form input[type="email"],
.vn-newsletter__form input[type="text"] {
	width: 100%;
	height: 52px;
	padding: 0 16px;
	border: 1px solid var(--vn-field);
	border-radius: 14px;
	background: var(--vn-bg);
	color: var(--vn-text);
	font-family: inherit;
	font-size: 16px;
}

.vn-newsletter__form input[type="submit"],
.vn-newsletter__form button[type="submit"] {
	height: 52px;
	padding: 0 26px;
	border: 0;
	border-radius: 14px;
	background: var(--vn-amber);
	color: var(--vn-amber-ink);
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
}

.vn-newsletter__form input[type="submit"]:hover,
.vn-newsletter__form button[type="submit"]:hover {
	background: var(--vn-amber-hover);
}

/* État « bientôt » (aucun formulaire branché) */
.vn-soon {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 16px;
	max-width: 540px;
	padding: 18px 20px;
	border: 1px solid var(--vn-line-2);
	border-radius: 18px;
	background: var(--vn-bg);
}

.vn-soon__badge {
	margin: 0;
	padding: 4px 14px;
	border-radius: 999px;
	background: var(--vn-amber);
	color: var(--vn-amber-ink);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.vn-soon__text {
	flex: 1 1 220px;
	margin: 0;
	font-size: 15px;
	line-height: 1.5;
	color: var(--vn-muted);
}

/* Aperçu du sommaire */
.vn-preview {
	padding: 28px;
	background: var(--vn-bg);
	border: 1px solid var(--vn-line);
	border-radius: 20px;
}

.vn-preview__eyebrow {
	margin: 0 0 6px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--vn-violet);
}

.vn-preview__title {
	margin: 0 0 20px;
	font-family: var(--vn-font-head);
	font-size: 22px;
	font-weight: 700;
	line-height: 1.2;
}

.vn-preview__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.vn-preview__row {
	display: flex;
	gap: 14px;
	padding: 14px 0;
	border-top: 1px solid var(--vn-line);
}

.vn-preview__n {
	flex: 0 0 28px;
	font-family: var(--vn-font-head);
	font-size: 20px;
	font-weight: 800;
	line-height: 1.3;
	color: var(--vn-amber);
}

.vn-preview__body {
	min-width: 0;
}

.vn-preview__kind {
	font-size: 13px;
	font-weight: 500;
	color: var(--vn-muted);
}

.vn-preview__link {
	font-size: 16px;
	font-weight: 500;
	line-height: 1.35;
	color: var(--vn-text);
}

.vn-preview__link:hover {
	color: var(--vn-amber);
}

/* Variante en bandeau (pages intérieures) */
.vn-newsletter--band .vn-newsletter__inner {
	max-width: 1100px;
	padding-top: 72px;
	padding-bottom: 88px;
}

.vn-newsletter--band .vn-newsletter__panel {
	align-items: center;
	gap: 32px 48px;
	padding: 40px 44px;
}

.vn-newsletter--band .vn-newsletter__main {
	flex: 1 1 360px;
}

.vn-newsletter--band .vn-newsletter__side {
	flex: 1 1 360px;
}

.vn-newsletter--band .vn-newsletter__title {
	margin-bottom: 10px;
	font-size: 34px;
	line-height: 1.1;
}

.vn-newsletter--band .vn-eyebrow {
	margin-bottom: 12px;
}

.vn-newsletter--band .vn-newsletter__text {
	margin: 0;
	font-size: 16px;
}

.vn-newsletter--band .vn-newsletter__form {
	max-width: none;
}

/* ==========================================================================
   6. Pied de page
   ========================================================================== */
.vn-footer {
	border-top: 1px solid var(--vn-line);
}

.vn-footer__top {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 40px 64px;
	padding-top: 56px;
	padding-bottom: 40px;
}

.vn-footer__brand {
	flex: 1 1 280px;
	max-width: 380px;
}

.vn-footer__brand .vn-logo {
	margin-bottom: 16px;
	font-size: 22px;
}

.vn-footer__brand .vn-logo svg {
	width: 32px;
	height: 32px;
}

.vn-footer__tagline {
	margin: 0;
	font-size: 15px;
	color: var(--vn-muted);
}

.vn-footer__cols {
	display: flex;
	flex-wrap: wrap;
	gap: 40px 64px;
}

.vn-footer__col {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.vn-footer__col-title {
	margin: 0 0 8px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--vn-text);
}

.vn-footer__col ul {
	display: flex;
	flex-direction: column;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vn-footer__col a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	font-size: 15px;
	color: var(--vn-muted);
}

.vn-footer__col a:hover {
	color: var(--vn-amber);
}

.vn-footer__bottom {
	border-top: 1px solid var(--vn-line);
}

.vn-footer__bottom .vn-container {
	padding-top: 20px;
	padding-bottom: 20px;
	font-size: 14px;
	color: var(--vn-muted);
}

/* ==========================================================================
   7. Article et pages
   ========================================================================== */
.vn-article-head {
	max-width: 860px;
	margin: 0 auto;
	padding: 56px var(--vn-pad) 40px;
}

.vn-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 10px;
	margin-bottom: 20px;
	font-size: 14px;
	color: var(--vn-muted);
}

.vn-breadcrumb a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--vn-muted);
}

.vn-breadcrumb a:hover {
	color: var(--vn-amber);
}

.vn-article-title {
	margin: 0 0 24px;
	font-family: var(--vn-font-head);
	font-size: 54px;
	font-weight: 800;
	line-height: 1.06;
	letter-spacing: -0.03em;
	text-wrap: balance;
}

.vn-article-lead {
	margin: 0 0 28px;
	font-size: 22px;
	line-height: 1.55;
	color: var(--vn-lead);
	text-wrap: pretty;
}

.vn-article-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 16px;
	font-size: 14px;
	font-weight: 500;
	color: var(--vn-muted);
}

.vn-article-meta .vn-chip {
	border-color: var(--vn-line);
}

.vn-ai-label {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 20px 0 0;
	font-size: 14px;
	color: var(--vn-muted);
}

.vn-hero-media {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 var(--vn-pad);
}

.vn-hero-media__frame {
	height: 400px;
	margin: 0;
	border-radius: 28px;
	background: var(--vn-surface-2);
	overflow: hidden;
}

.vn-hero-media__frame > svg,
.vn-hero-media__frame > img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
}

.vn-hero-media__frame > img {
	object-fit: cover;
}

.vn-article-wrap {
	max-width: 1100px;
	margin: 0 auto;
	padding: 56px var(--vn-pad) 24px;
}

.vn-article-layout {
	display: block;
}

.vn-article-body {
	min-width: 0;
	max-width: 720px;
}

.vn-article-layout--solo .vn-article-body {
	margin-left: auto;
	margin-right: auto;
}

@media (min-width: 960px) {
	.vn-article-layout--toc {
		display: grid;
		grid-template-columns: 220px minmax(0, 720px);
		gap: 48px;
		align-items: start;
	}

	.vn-article-layout--toc .vn-toc {
		position: sticky;
		top: 24px;
	}
}

.vn-toc__title {
	margin: 0 0 14px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--vn-violet);
}

.vn-toc ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

.vn-toc a {
	display: flex;
	align-items: center;
	min-height: 48px;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.35;
	color: var(--vn-muted);
}

.vn-toc a:hover,
.vn-toc a[aria-current="true"] {
	color: var(--vn-text);
}

@media (max-width: 959px) {
	.vn-toc {
		margin-bottom: 32px;
		padding: 20px 22px;
		background: var(--vn-surface);
		border: 1px solid var(--vn-line);
		border-radius: 20px;
	}
}

/* Texte de l’article ---------------------------------------------------------- */
.vn-content {
	min-width: 0;
	font-size: 19px;
	line-height: 1.75;
	color: var(--vn-body);
}

.vn-content > *:first-child {
	margin-top: 0;
}

.vn-content p {
	margin: 0 0 24px;
}

.vn-content h2,
.vn-content h3,
.vn-content h4 {
	color: var(--vn-text);
	font-family: var(--vn-font-head);
	scroll-margin-top: 24px;
}

.vn-content h2 {
	margin: 48px 0 20px;
	font-size: 34px;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.02em;
}

.vn-content h3 {
	margin: 36px 0 14px;
	font-size: 25px;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -0.015em;
}

.vn-content h4 {
	margin: 28px 0 10px;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
}

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

.vn-content a:hover {
	color: var(--vn-amber);
}

.vn-content strong {
	color: var(--vn-text);
}

.vn-content ul,
.vn-content ol {
	margin: 0 0 32px;
	padding-left: 24px;
}

.vn-content li {
	margin-bottom: 8px;
}

.vn-content li::marker {
	color: var(--vn-amber);
}

.vn-content blockquote {
	margin: 0 0 40px;
	padding: 28px 0;
	border-top: 1px solid var(--vn-amber);
	border-bottom: 1px solid var(--vn-line);
}

.vn-content blockquote p {
	margin: 0;
	color: var(--vn-text);
	font-family: var(--vn-font-head);
	font-size: 30px;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -0.015em;
	text-wrap: balance;
}

.vn-content blockquote p + p {
	margin-top: 16px;
}

.vn-content blockquote cite {
	display: block;
	margin-top: 14px;
	font-family: var(--vn-font-body);
	font-size: 15px;
	font-style: normal;
	font-weight: 500;
	color: var(--vn-muted);
}

.vn-content figure {
	margin: 0 0 32px;
}

.vn-content img {
	border-radius: 20px;
}

.vn-content figcaption,
.vn-content .wp-caption-text {
	margin-top: 10px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--vn-muted);
}

.vn-content hr {
	margin: 48px 0;
	border: 0;
	border-top: 1px solid var(--vn-line);
}

.vn-content code {
	padding: 2px 6px;
	border-radius: 6px;
	background: var(--vn-surface-2);
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 0.88em;
	color: var(--vn-text);
}

.vn-content pre {
	margin: 0 0 32px;
	padding: 20px 22px;
	border: 1px solid var(--vn-line);
	border-radius: 16px;
	background: var(--vn-surface);
	overflow-x: auto;
	font-size: 15px;
	line-height: 1.6;
}

.vn-content pre code {
	padding: 0;
	background: none;
}

.vn-table-wrap {
	margin: 0 0 32px;
	overflow-x: auto;
}

.vn-content table {
	width: 100%;
	border-collapse: collapse;
	font-size: 16px;
	line-height: 1.5;
}

.vn-content th,
.vn-content td {
	padding: 12px 14px;
	border-bottom: 1px solid var(--vn-line);
	text-align: left;
	vertical-align: top;
}

.vn-content th {
	color: var(--vn-text);
	font-weight: 700;
	border-bottom-color: var(--vn-line-2);
}

.vn-content .alignleft {
	float: left;
	margin: 6px 24px 16px 0;
}

.vn-content .alignright {
	float: right;
	margin: 6px 0 16px 24px;
}

.vn-content .aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.vn-content iframe,
.vn-content video {
	max-width: 100%;
	border-radius: 20px;
}

.vn-content .wp-block-button__link {
	padding: 14px 28px;
	border-radius: 999px;
	background: var(--vn-amber);
	color: var(--vn-amber-ink);
	font-weight: 700;
	text-decoration: none;
}

.vn-content .wp-block-separator {
	border-color: var(--vn-line);
}

/* Encadré « À retenir » */
.vn-retenir {
	margin: 0 0 48px;
	padding: 28px 32px;
	background: var(--vn-surface-2);
	border: 1px solid var(--vn-line);
	border-radius: 24px;
	scroll-margin-top: 24px;
}

.vn-content .vn-retenir__title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 14px;
	font-size: 22px;
	line-height: 1.3;
	letter-spacing: 0;
}

.vn-retenir ul,
.vn-retenir ol {
	margin: 0;
	padding-left: 22px;
	font-size: 18px;
	line-height: 1.7;
}

.vn-retenir li {
	margin-bottom: 6px;
}

.vn-retenir li:last-child {
	margin-bottom: 0;
}

/* Section « Sources » */
.vn-content #sources {
	margin: 48px 0 14px;
	font-size: 22px;
	line-height: 1.3;
	letter-spacing: 0;
}

.vn-content #sources ~ ol,
.vn-content #sources ~ ul {
	font-size: 16px;
	line-height: 1.65;
	color: var(--vn-muted);
}

.vn-content #sources ~ ol li,
.vn-content #sources ~ ul li {
	margin-bottom: 6px;
}

/* Source d’une actu */
.vn-source {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 16px;
	margin: 0 0 40px;
	padding: 18px 22px;
	border: 1px solid var(--vn-line);
	border-radius: 18px;
	background: var(--vn-surface);
	font-size: 16px;
	color: var(--vn-muted);
}

.vn-source strong {
	color: var(--vn-text);
}

.vn-source a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
}

.vn-share {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 12px;
	margin-top: 40px;
	padding-top: 28px;
	border-top: 1px solid var(--vn-line);
}

.vn-share__label {
	margin-right: 6px;
	font-size: 14px;
	font-weight: 700;
	color: var(--vn-muted);
}

.vn-share__status {
	font-size: 14px;
	color: var(--vn-amber);
}

.vn-related {
	border-top: 1px solid var(--vn-line);
	background: var(--vn-surface);
}

.vn-related__inner {
	max-width: 1100px;
	margin: 0 auto;
	padding: 64px var(--vn-pad) 72px;
}

.vn-related__title {
	margin: 0 0 28px;
	font-family: var(--vn-font-head);
	font-size: 32px;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.vn-grid--related {
	gap: 24px;
}

/* ==========================================================================
   8. Rubriques, recherche, 404, pagination
   ========================================================================== */
.vn-archive-head {
	padding-top: 64px;
	padding-bottom: 40px;
}

.vn-archive-title {
	margin: 0 0 16px;
	font-family: var(--vn-font-head);
	font-size: 52px;
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -0.03em;
	text-wrap: balance;
}

.vn-archive-desc {
	max-width: 640px;
	margin: 0;
	font-size: 19px;
	line-height: 1.6;
	color: var(--vn-muted);
	text-wrap: pretty;
}

.vn-archive-body {
	padding-bottom: 88px;
}

.vn-archive-search {
	margin-bottom: 40px;
}

.vn-page-head {
	max-width: 860px;
	margin: 0 auto;
	padding: 64px var(--vn-pad) 24px;
}

.vn-page-body {
	max-width: 760px;
	margin: 0 auto;
	padding: 24px var(--vn-pad) 96px;
}

.vn-search {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	max-width: 560px;
}

.vn-search input[type="search"] {
	flex: 1 1 240px;
	height: 52px;
	padding: 0 16px;
	border: 1px solid var(--vn-field);
	border-radius: 14px;
	background: var(--vn-bg);
	color: var(--vn-text);
	font-family: inherit;
	font-size: 16px;
}

.vn-search button {
	height: 52px;
	padding: 0 26px;
	border: 0;
	border-radius: 14px;
	background: var(--vn-amber);
	color: var(--vn-amber-ink);
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
}

.vn-search button:hover {
	background: var(--vn-amber-hover);
}

.vn-notfound {
	max-width: 720px;
	padding-top: 96px;
	padding-bottom: 112px;
}

.vn-notfound__code {
	margin: 0 0 12px;
	font-family: var(--vn-font-head);
	font-size: 96px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.04em;
	color: var(--vn-amber);
}

.vn-notfound__search {
	margin-top: 32px;
}

.vn-notfound__home {
	margin: 28px 0 0;
}

.vn-pagination ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 48px 0 0;
	padding: 0;
	list-style: none;
}

.vn-pagination a,
.vn-pagination span.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 14px;
	border: 1px solid var(--vn-line-2);
	border-radius: 999px;
	color: var(--vn-text);
	font-size: 15px;
	font-weight: 500;
}

.vn-pagination a:hover {
	border-color: var(--vn-amber);
	color: var(--vn-amber);
}

.vn-pagination .current {
	border-color: var(--vn-amber);
	background: var(--vn-amber);
	color: var(--vn-amber-ink);
	font-weight: 700;
}

.vn-pagination .dots {
	border-color: transparent;
}

/* ==========================================================================
   9. Téléphone et tablette
   ========================================================================== */
@media (max-width: 900px) {
	.vn-hero__inner {
		padding-top: 64px;
		padding-bottom: 72px;
	}

	.vn-newsletter__panel {
		padding: 36px;
	}
}

@media (max-width: 720px) {
	.vn-hero__art {
		display: none;
	}
}

@media (max-width: 640px) {
	:root {
		--vn-pad: 20px;
	}

	.vn-only-sm {
		display: flex;
	}

	.vn-hide-sm {
		display: none !important;
	}

	/* En-tête */
	.vn-header__inner {
		min-height: 68px;
	}

	.vn-logo {
		min-height: 48px;
		font-size: 21px;
	}

	.vn-logo svg {
		width: 30px;
		height: 30px;
	}

	/* Accueil : héros */
	.vn-hero__inner {
		display: block;
		padding-top: 36px;
		padding-bottom: 44px;
	}

	.vn-kicker {
		margin-bottom: 22px;
		padding: 6px 14px;
		font-size: 12px;
	}

	.vn-hero__title {
		margin-bottom: 18px;
		font-size: 40px;
		line-height: 1.05;
	}

	.vn-hero__lead {
		margin-bottom: 28px;
		font-size: 17px;
	}

	.vn-hero__actions {
		flex-direction: column;
		align-items: stretch;
		gap: 6px;
	}

	.vn-hero__link {
		justify-content: center;
		min-height: 48px;
	}

	/* Sections */
	.vn-section__inner,
	.vn-section--actu .vn-section__inner {
		padding-top: 44px;
		padding-bottom: 36px;
	}

	.vn-section--actu .vn-section__inner {
		padding-top: 40px;
		padding-bottom: 28px;
	}

	.vn-section__head,
	.vn-section--actu .vn-section__head {
		margin-bottom: 24px;
	}

	.vn-section__title {
		font-size: 30px;
	}

	.vn-section__title--live {
		gap: 14px;
	}

	.vn-section__title--live::before {
		width: 12px;
		height: 12px;
		box-shadow: 0 0 0 5px rgba(246, 182, 79, 0.25);
	}

	.vn-section__sub {
		font-size: 16px;
	}

	/* Carrousel : on déborde jusqu’aux bords de l’écran */
	.vn-slider {
		margin-left: calc(var(--vn-pad) * -1);
		margin-right: calc(var(--vn-pad) * -1);
	}

	.vn-slider__track {
		gap: 14px;
		padding: 0 var(--vn-pad) 4px;
		scroll-padding-left: var(--vn-pad);
	}

	.vn-slider__track > .vn-card {
		flex: 0 0 292px;
		min-width: 0;
	}

	.vn-card--actu .vn-card__media {
		height: 150px;
	}

	.vn-card--actu .vn-card__body {
		padding: 18px 20px 6px;
	}

	.vn-card--actu .vn-card__title {
		font-size: 19px;
	}

	.vn-card--actu .vn-card__more {
		padding: 0 20px;
	}

	.vn-slider__dots {
		margin-top: 20px;
		padding: 0 var(--vn-pad);
	}

	.vn-section__tools {
		display: none;
	}

	.vn-only-sm.vn-link-arrow {
		min-height: 52px;
		margin-top: 8px;
	}

	/* Cartes */
	.vn-grid {
		gap: 20px;
	}

	.vn-card__media {
		height: 170px;
	}

	.vn-card__body {
		padding: 22px 22px 6px;
	}

	.vn-card__title {
		font-size: 22px;
	}

	.vn-card__excerpt {
		font-size: 15px;
	}

	.vn-card__more {
		padding: 0 22px 4px;
	}

	.vn-grid--home > .vn-card:nth-child(n + 4) {
		display: none;
	}

	/* Lettre */
	.vn-newsletter__inner,
	.vn-newsletter--band .vn-newsletter__inner {
		padding-top: 40px;
		padding-bottom: 48px;
	}

	.vn-newsletter__panel,
	.vn-newsletter--band .vn-newsletter__panel {
		display: block;
		padding: 28px 22px;
		border-radius: 28px;
	}

	.vn-newsletter__mark {
		display: block;
		width: 44px;
		height: 44px;
		margin-bottom: 16px;
	}

	.vn-newsletter__title,
	.vn-newsletter--band .vn-newsletter__title {
		margin-bottom: 12px;
		font-size: 30px;
	}

	.vn-newsletter__text {
		margin-bottom: 22px;
		font-size: 16px;
	}

	.vn-newsletter--band .vn-newsletter__side {
		margin-top: 22px;
	}

	.vn-newsletter__side:not(:only-child) .vn-preview {
		display: none;
	}

	.vn-newsletter__form form {
		display: block;
	}

	.vn-newsletter__form input[type="submit"],
	.vn-newsletter__form button[type="submit"] {
		width: 100%;
		margin-top: 12px;
	}

	/* Pied de page */
	.vn-footer__top {
		padding-top: 36px;
		padding-bottom: 28px;
		gap: 24px;
	}

	.vn-footer__brand .vn-logo {
		margin-bottom: 10px;
		font-size: 20px;
	}

	.vn-footer__brand .vn-logo svg {
		width: 28px;
		height: 28px;
	}

	.vn-footer__cols {
		gap: 24px 40px;
	}

	.vn-footer__col a {
		min-height: 44px;
	}

	.vn-footer__bottom .vn-container {
		padding-top: 18px;
		padding-bottom: 28px;
		font-size: 13px;
	}

	/* Article */
	.vn-article-head {
		padding-top: 24px;
		padding-bottom: 28px;
	}

	.vn-article-title {
		font-size: 34px;
	}

	.vn-article-lead {
		font-size: 19px;
	}

	.vn-hero-media__frame {
		height: 220px;
		border-radius: 20px;
	}

	.vn-article-wrap {
		padding-top: 36px;
	}

	.vn-content {
		font-size: 18px;
		line-height: 1.7;
	}

	.vn-content h2 {
		margin-top: 40px;
		font-size: 28px;
	}

	.vn-content h3 {
		font-size: 22px;
	}

	.vn-content blockquote p {
		font-size: 24px;
	}

	.vn-retenir {
		padding: 22px 20px;
		border-radius: 20px;
	}

	.vn-related__inner {
		padding-top: 44px;
		padding-bottom: 48px;
	}

	.vn-related__title {
		font-size: 28px;
	}

	.vn-archive-head {
		padding-top: 32px;
		padding-bottom: 28px;
	}

	.vn-archive-title {
		font-size: 38px;
	}

	.vn-archive-desc {
		font-size: 17px;
	}

	.vn-page-head {
		padding-top: 36px;
	}

	.vn-notfound__code {
		font-size: 72px;
	}
}

@media print {
	.vn-header,
	.vn-footer,
	.vn-newsletter,
	.vn-share,
	.vn-related,
	.vn-toc {
		display: none !important;
	}

	body {
		background: #fff;
		color: #000;
	}

	.vn-content,
	.vn-content h2,
	.vn-content h3,
	.vn-article-title,
	.vn-article-lead {
		color: #000;
	}
}
