/*
Theme Name: UCodeur
Theme URI: https://www.ucodeur.fr
Author: UCodeur
Author URI: https://www.ucodeur.fr
Description: Thème WordPress sur mesure pour l'agence UCodeur. Léger, rapide, sans constructeur de page. Identité Nuit & Or, modes sombre et clair, portfolio, blog, devis et contact sécurisés.
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: ucodeur
Tags: custom-logo, custom-menu, featured-images, translation-ready, one-column, accessibility-ready
*/

/* ==========================================================================
   1. Polices (hébergées localement, aucune requête externe)
   ========================================================================== */
@font-face {
	font-family: "Cormorant Garamond";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("assets/fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2");
}
@font-face {
	font-family: "Cormorant Garamond";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("assets/fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2");
}
@font-face {
	font-family: "Cormorant Garamond";
	font-style: italic;
	font-weight: 500;
	font-display: swap;
	src: url("assets/fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2");
}
@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
}

/* ==========================================================================
   2. Variables — Nuit & Or (sombre par défaut) + mode clair
   ========================================================================== */
:root,
[data-theme="dark"] {
	color-scheme: dark;
	--bg: #070816;
	--bg-alt: #0b0d1f;
	--surface: #0f1228;
	--surface-2: #151936;
	--text: #ece9e1;
	--muted: #a9acc4;
	--heading: #ffffff;
	--blue: #0054ff;
	--blue-text: #7aa3ff;
	--gold: #c9a96a;
	--gold-bright: #e6cc96;
	--gold-text: #d9bd86;
	--on-gold: #0a0a14;
	--border: rgba(201, 169, 106, 0.2);
	--border-soft: rgba(255, 255, 255, 0.08);
	--header-bg: rgba(7, 8, 22, 0.72);
	--shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.7);
	--glow-a: rgba(0, 84, 255, 0.22);
	--glow-b: rgba(201, 169, 106, 0.16);
}

[data-theme="light"] {
	color-scheme: light;
	--bg: #f7f4ee;
	--bg-alt: #efeadf;
	--surface: #ffffff;
	--surface-2: #f3efe6;
	--text: #1c1d30;
	--muted: #555870;
	--heading: #000091;
	--blue: #0054ff;
	--blue-text: #0044cc;
	--gold: #b8944f;
	--gold-bright: #d4b574;
	--gold-text: #7a5c22;
	--on-gold: #0a0a14;
	--border: rgba(122, 92, 34, 0.28);
	--border-soft: rgba(0, 0, 145, 0.1);
	--header-bg: rgba(247, 244, 238, 0.8);
	--shadow: 0 24px 50px -28px rgba(20, 20, 60, 0.35);
	--glow-a: rgba(0, 84, 255, 0.1);
	--glow-b: rgba(184, 148, 79, 0.18);
}

:root {
	--font-display: "Cormorant Garamond", "Times New Roman", Georgia, serif;
	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--radius: 22px;
	--radius-sm: 14px;
	--header-h: 76px;
	--ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

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

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

img,
svg,
video {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--gold-text);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	transition: color 0.2s var(--ease);
}
a:hover {
	color: var(--gold-bright);
}

h1,
h2,
h3,
h4 {
	font-family: var(--font-display);
	font-weight: 600;
	line-height: 1.08;
	color: var(--heading);
	margin: 0 0 0.6em;
	letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.8rem, 6.2vw, 5.2rem); }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); }
h3 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); }

p { margin: 0 0 1.1em; }

:focus-visible {
	outline: 2px solid var(--gold);
	outline-offset: 3px;
	border-radius: 6px;
}

::selection {
	background: var(--gold);
	color: var(--on-gold);
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	left: 1rem;
	top: -4rem;
	z-index: 1000;
	padding: 0.7rem 1.1rem;
	background: var(--gold);
	color: var(--on-gold);
	border-radius: 999px;
	font-weight: 600;
	transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

.container {
	width: min(1200px, calc(100% - 2.5rem));
	margin-inline: auto;
}
.container--narrow { width: min(820px, calc(100% - 2.5rem)); }
.container--wide { width: min(1320px, calc(100% - 2.5rem)); }

.icon { width: 1.25em; height: 1.25em; flex: none; }

/* Animation d'apparition (uniquement si JavaScript actif) */
.js .reveal {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.js .reveal.is-visible {
	opacity: 1;
	transform: none;
}

/* ==========================================================================
   4. Boutons et petits éléments
   ========================================================================== */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	padding: 0.95rem 1.7rem;
	border-radius: 999px;
	border: 1px solid transparent;
	font: 600 0.95rem/1 var(--font-body);
	letter-spacing: 0.01em;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, border-color 0.25s, color 0.25s;
}
.btn .icon { width: 1.1em; height: 1.1em; }
.btn:hover { transform: translateY(-2px); }

.btn--gold {
	background: linear-gradient(135deg, var(--gold-bright), var(--gold));
	color: var(--on-gold);
	box-shadow: 0 10px 30px -12px rgba(201, 169, 106, 0.6);
}
.btn--gold:hover {
	color: var(--on-gold);
	box-shadow: 0 16px 36px -12px rgba(201, 169, 106, 0.75);
}

.btn--ghost {
	background: transparent;
	color: var(--text);
	border-color: var(--border);
}
.btn--ghost:hover {
	color: var(--gold-text);
	border-color: var(--gold);
	background: rgba(201, 169, 106, 0.07);
}

.btn--sm { padding: 0.65rem 1.15rem; font-size: 0.85rem; }

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.8rem;
	margin: 0 0 1.1rem;
	font-size: 0.74rem;
	font-weight: 600;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--gold-text);
}
.eyebrow::before {
	content: "";
	width: 2rem;
	height: 1px;
	background: currentColor;
}
.eyebrow a { color: inherit; text-decoration: none; }

.lead {
	font-size: clamp(1.1rem, 1.6vw, 1.3rem);
	color: var(--muted);
	max-width: 42rem;
}

.tag {
	display: inline-block;
	padding: 0.28rem 0.75rem;
	border: 1px solid var(--border);
	border-radius: 999px;
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--gold-text);
}

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-weight: 600;
	text-decoration: none;
	color: var(--gold-text);
}
.link-arrow .icon { width: 1.1em; height: 1.1em; transition: transform 0.25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

.chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	margin: 2.2rem 0 0;
	padding: 0;
	list-style: none;
}
.chips li {
	padding: 0.5rem 1rem;
	border: 1px solid var(--border-soft);
	border-radius: 999px;
	font-size: 0.82rem;
	color: var(--muted);
	background: rgba(255, 255, 255, 0.02);
}
.chips--center { justify-content: center; margin-top: 0; }

/* ==========================================================================
   5. En-tête et navigation
   ========================================================================== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--header-bg);
	-webkit-backdrop-filter: saturate(160%) blur(16px);
	backdrop-filter: saturate(160%) blur(16px);
	border-bottom: 1px solid var(--border-soft);
}

.header__inner {
	display: flex;
	align-items: center;
	gap: 2rem;
	min-height: var(--header-h);
}

.brand {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	color: var(--heading);
}
.brand__text {
	font-family: var(--font-display);
	font-size: 2rem;
	font-weight: 600;
	letter-spacing: 0.01em;
	line-height: 1;
}
.brand__text em {
	font-style: italic;
	font-weight: 500;
	color: var(--gold-text);
}
.brand--logo img { max-height: 48px; width: auto; }

.nav {
	display: flex;
	align-items: center;
	gap: 1.8rem;
	margin-left: auto;
}
.nav__list {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
.nav__list a {
	display: block;
	padding: 0.5rem 0.9rem;
	border-radius: 999px;
	color: var(--text);
	font-size: 0.92rem;
	font-weight: 500;
	text-decoration: none;
	transition: color 0.2s, background 0.2s;
}
.nav__list a:hover,
.nav__list .current-menu-item > a,
.nav__list .current_page_item > a {
	color: var(--gold-text);
	background: rgba(201, 169, 106, 0.09);
}

.header__actions {
	display: flex;
	align-items: center;
	gap: 0.6rem;
}

.theme-toggle,
.burger {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--border-soft);
	border-radius: 50%;
	background: transparent;
	color: var(--text);
	cursor: pointer;
	transition: border-color 0.2s, color 0.2s;
}
.theme-toggle:hover,
.burger:hover { border-color: var(--gold); color: var(--gold-text); }

[data-theme="dark"] .theme-toggle__moon,
[data-theme="light"] .theme-toggle__sun { display: none; }

.burger { display: none; gap: 4px; align-content: center; }
.burger span {
	display: block;
	width: 18px;
	height: 1.5px;
	background: currentColor;
	transition: transform 0.25s var(--ease), opacity 0.2s;
}
.nav-open .burger span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

@media (max-width: 960px) {
	.burger { display: inline-grid; }
	.header__actions { margin-left: auto; }
	.nav {
		position: fixed;
		inset: var(--header-h) 0 auto 0;
		display: none;
		flex-direction: column;
		align-items: stretch;
		gap: 1rem;
		margin: 0;
		padding: 1.5rem 1.25rem 2rem;
		background: var(--bg);
		border-bottom: 1px solid var(--border-soft);
		max-height: calc(100vh - var(--header-h));
		overflow-y: auto;
	}
	.nav-open .nav { display: flex; }
	.nav__list { flex-direction: column; align-items: stretch; }
	.nav__list a { padding: 0.9rem 1rem; font-size: 1.05rem; }
	.nav__cta { align-self: flex-start; }
}

/* ==========================================================================
   6. Hero (accueil)
   ========================================================================== */
.hero {
	position: relative;
	overflow: hidden;
	padding: clamp(3.5rem, 8vw, 7rem) 0 clamp(4rem, 8vw, 7rem);
}
.hero::before,
.page-hero::before {
	content: "";
	position: absolute;
	inset: -20% -10% auto -10%;
	height: 90%;
	background:
		radial-gradient(40% 55% at 15% 25%, var(--glow-a), transparent 70%),
		radial-gradient(35% 50% at 85% 15%, var(--glow-b), transparent 70%);
	pointer-events: none;
}
.hero__grid {
	position: relative;
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: clamp(2rem, 5vw, 5rem);
	align-items: center;
}
.hero__title { margin-bottom: 0.45em; }
.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.9rem;
	margin-top: 2rem;
}

.hero__visual {
	position: relative;
	min-height: 360px;
}
.mock {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 20px;
	box-shadow: var(--shadow);
	overflow: hidden;
}
.mock__bar {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 0.8rem 1rem;
	border-bottom: 1px solid var(--border-soft);
}
.mock__bar i {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--border);
}
.mock__bar span {
	margin-left: 0.8rem;
	padding: 0.15rem 0.8rem;
	border-radius: 999px;
	background: var(--surface-2);
	font-size: 0.7rem;
	color: var(--muted);
}
.mock__body { padding: 1.6rem; }
.mock__hero { display: grid; gap: 0.7rem; margin-bottom: 1.6rem; }
.mock__hero b {
	display: block;
	height: 16px;
	border-radius: 8px;
	background: linear-gradient(90deg, var(--gold), transparent);
	opacity: 0.85;
}
.mock__hero b.short { width: 55%; background: linear-gradient(90deg, var(--blue), transparent); }
.mock__hero u {
	display: block;
	width: 120px;
	height: 34px;
	margin-top: 0.6rem;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--gold-bright), var(--gold));
}
.mock__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; }
.mock__row s {
	display: block;
	height: 86px;
	border-radius: 14px;
	background: var(--surface-2);
	border: 1px solid var(--border-soft);
}
.mock--float {
	position: absolute;
	right: -1rem;
	bottom: -2rem;
	width: 56%;
	padding: 1.1rem;
	animation: ucFloat 7s ease-in-out infinite;
}
.mock__tag {
	font-family: var(--font-display);
	font-size: 1.15rem;
	font-weight: 600;
	color: var(--heading);
	margin-bottom: 0.8rem;
}
.mock__swatches { display: flex; gap: 0.5rem; }
.mock__swatches i { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--border-soft); }
.mock__swatches i:nth-child(1) { background: var(--bg); }
.mock__swatches i:nth-child(2) { background: var(--blue); }
.mock__swatches i:nth-child(3) { background: var(--gold); }
.mock__swatches i:nth-child(4) { background: var(--text); }

@keyframes ucFloat {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-12px); }
}

@media (max-width: 960px) {
	.hero__grid { grid-template-columns: 1fr; }
	.hero__visual { min-height: 300px; margin-top: 1rem; }
	.mock--float { right: 0; }
}

/* ==========================================================================
   7. Sections génériques
   ========================================================================== */
.section { padding: clamp(4rem, 8vw, 7rem) 0; position: relative; }
.section--tight { padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.section--alt {
	background: var(--bg-alt);
	border-block: 1px solid var(--border-soft);
}
.section__head {
	max-width: 46rem;
	margin: 0 auto clamp(2.5rem, 5vw, 4rem);
	text-align: center;
}
.section__head .lead { margin-inline: auto; }
.section__head .eyebrow { justify-content: center; }
.section__more { margin: 2.5rem 0 0; text-align: center; }

.page-hero {
	position: relative;
	overflow: hidden;
	padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(1.5rem, 3vw, 2.5rem);
}
.page-hero .container { position: relative; }
.page-hero__title { max-width: 18ch; font-size: clamp(2.6rem, 5.4vw, 4.4rem); }
.page-hero--article .page-hero__title { max-width: 22ch; }
.page-hero::before { height: 130%; opacity: 0.8; }

/* ==========================================================================
   8. Cartes « bento » (services)
   ========================================================================== */
.bento {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
}
.bento--3 .bento__item { grid-column: auto; }
.bento__item {
	position: relative;
	padding: 2rem;
	background: var(--surface);
	border: 1px solid var(--border-soft);
	border-radius: var(--radius);
	overflow: hidden;
	transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}
.bento__item::before {
	content: "";
	position: absolute;
	inset: 0 auto auto 0;
	width: 70%;
	height: 70%;
	background: radial-gradient(circle at 0 0, var(--glow-b), transparent 70%);
	opacity: 0;
	transition: opacity 0.4s;
	pointer-events: none;
}
.bento__item:hover {
	transform: translateY(-5px);
	border-color: var(--border);
	box-shadow: var(--shadow);
}
.bento__item:hover::before { opacity: 1; }
.bento__item--wide { grid-column: span 2; }
.bento__item h3 { margin-bottom: 0.4em; }
.bento__item p { margin: 0; color: var(--muted); }
.bento__icon {
	position: relative;
	display: inline-grid;
	place-items: center;
	width: 52px;
	height: 52px;
	margin-bottom: 1.3rem;
	border: 1px solid var(--border);
	border-radius: 16px;
	color: var(--gold-text);
	background: rgba(201, 169, 106, 0.07);
}
.bento__icon .icon { width: 26px; height: 26px; }

@media (max-width: 900px) {
	.bento { grid-template-columns: 1fr 1fr; }
	.bento__item--wide { grid-column: span 2; }
}
@media (max-width: 600px) {
	.bento { grid-template-columns: 1fr; }
	.bento__item--wide { grid-column: auto; }
}

/* Page services : liste détaillée */
.services-list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.25rem;
}
.service {
	display: flex;
	gap: 1.4rem;
	padding: 2rem;
	background: var(--surface);
	border: 1px solid var(--border-soft);
	border-radius: var(--radius);
}
.service h2 { font-size: 1.9rem; margin-bottom: 0.3em; }
.service p { color: var(--muted); }
.ticks { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.5rem; }
.ticks li { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.95rem; }
.ticks .icon { width: 1.1em; height: 1.1em; margin-top: 0.25em; color: var(--gold-text); }
@media (max-width: 900px) {
	.services-list { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
	.service { flex-direction: column; }
}

/* ==========================================================================
   9. Méthode (étapes)
   ========================================================================== */
.steps {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 2rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
.step {
	padding-top: 1.4rem;
	border-top: 1px solid var(--border);
}
.step__num {
	display: block;
	margin-bottom: 0.4rem;
	font-family: var(--font-display);
	font-size: 3.4rem;
	font-weight: 500;
	line-height: 1;
	color: transparent;
	-webkit-text-stroke: 1px var(--gold);
}
.step h3 { font-size: 1.6rem; margin-bottom: 0.3em; }
.step p { margin: 0; color: var(--muted); font-size: 0.96rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ==========================================================================
   10. Réalisations
   ========================================================================== */
.works {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}
.work-card__link { display: block; text-decoration: none; color: inherit; }
.work-card__media {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border: 1px solid var(--border-soft);
	border-radius: var(--radius);
	background: var(--surface-2);
}
.work-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.8s var(--ease);
}
.work-card__link:hover .work-card__media img { transform: scale(1.05); }
.work-card__ph {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	font-family: var(--font-display);
	font-size: 5rem;
	color: var(--gold-text);
	background:
		radial-gradient(60% 60% at 30% 20%, var(--glow-a), transparent 70%),
		radial-gradient(60% 60% at 80% 90%, var(--glow-b), transparent 70%),
		var(--surface-2);
}
.work-card__body { padding: 1.1rem 0.2rem 0; }
.work-card__body h3 { margin: 0.6rem 0 0.15em; font-size: 1.7rem; }
.work-card__meta { margin: 0; color: var(--muted); font-size: 0.9rem; }
@media (max-width: 960px) { .works { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .works { grid-template-columns: 1fr; } }

.project-facts dl { margin: 0 0 1.5rem; }
.project-facts dt {
	margin-top: 1rem;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--muted);
}
.project-facts dd { margin: 0.2rem 0 0; color: var(--text); }

.pager {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding-bottom: 3rem;
}
.pager a { font-weight: 600; text-decoration: none; }

/* ==========================================================================
   11. Formules (sans prix)
   ========================================================================== */
.plans {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
	align-items: stretch;
}
.plan {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 2.2rem 2rem;
	background: var(--surface);
	border: 1px solid var(--border-soft);
	border-radius: var(--radius);
}
.plan--featured {
	border-color: var(--gold);
	background:
		radial-gradient(80% 50% at 50% 0, var(--glow-b), transparent 70%),
		var(--surface);
	box-shadow: var(--shadow);
}
.plan__badge {
	position: absolute;
	top: -0.8rem;
	left: 2rem;
	padding: 0.28rem 0.9rem;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--gold-bright), var(--gold));
	color: var(--on-gold);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
.plan__name { font-size: 2.2rem; margin-bottom: 0.2em; }
.plan__tagline { color: var(--muted); min-height: 3.2em; }
.plan__quote {
	margin: 0.4rem 0 1.4rem;
	padding-bottom: 1.4rem;
	border-bottom: 1px solid var(--border-soft);
	font-family: var(--font-display);
	font-size: 1.4rem;
	font-style: italic;
	color: var(--gold-text);
}
.plan__list {
	display: grid;
	gap: 0.75rem;
	margin: 0 0 2rem;
	padding: 0;
	list-style: none;
	flex: 1;
}
.plan__list li { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.95rem; }
.plan__list .icon { width: 1.1em; height: 1.1em; margin-top: 0.28em; color: var(--gold-text); }
.plan .btn { width: 100%; }
.plans__note {
	display: flex;
	justify-content: center;
	gap: 0.6rem;
	align-items: flex-start;
	max-width: 52rem;
	margin: 2.2rem auto 0;
	font-size: 0.92rem;
	color: var(--muted);
	text-align: center;
}
.plans__note .icon { width: 1.1em; height: 1.1em; margin-top: 0.2em; color: var(--gold-text); }
@media (max-width: 960px) {
	.plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
	.plan__tagline { min-height: 0; }
}

/* ==========================================================================
   12. Avis clients
   ========================================================================== */
.reviews {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
}
.review {
	margin: 0;
	padding: 2rem;
	background: var(--surface);
	border: 1px solid var(--border-soft);
	border-radius: var(--radius);
}
.review__stars { display: flex; gap: 0.2rem; margin-bottom: 1rem; color: var(--gold); }
.review__stars .icon { width: 1.1rem; height: 1.1rem; fill: currentColor; }
.review blockquote { margin: 0 0 1.2rem; font-size: 1rem; color: var(--text); }
.review blockquote p:last-child { margin: 0; }
.review figcaption { display: grid; font-size: 0.9rem; color: var(--muted); }
.review figcaption strong { color: var(--heading); font-weight: 600; }
.reviews__more { margin: 2.2rem 0 0; text-align: center; }
@media (max-width: 960px) { .reviews { grid-template-columns: 1fr; } }

/* ==========================================================================
   13. Blog
   ========================================================================== */
.toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.2rem;
	margin-bottom: 2.5rem;
}
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0; }
.toolbar .filters { margin-bottom: 0; }
section > .container > .filters { margin-bottom: 2.5rem; }
.chip-link {
	padding: 0.5rem 1.05rem;
	border: 1px solid var(--border-soft);
	border-radius: 999px;
	font-size: 0.85rem;
	font-weight: 500;
	color: var(--muted);
	text-decoration: none;
	transition: all 0.2s;
}
.chip-link:hover { color: var(--gold-text); border-color: var(--gold); }
.chip-link.is-active {
	background: linear-gradient(135deg, var(--gold-bright), var(--gold));
	border-color: transparent;
	color: var(--on-gold);
}

.searchbar {
	position: relative;
	width: min(100%, 320px);
}
.searchbar input {
	width: 100%;
	padding: 0.75rem 3rem 0.75rem 1.2rem;
	border: 1px solid var(--border-soft);
	border-radius: 999px;
	background: var(--surface);
	color: var(--text);
	font: inherit;
	font-size: 0.92rem;
}
.searchbar input::placeholder { color: var(--muted); }
.searchbar button {
	position: absolute;
	top: 50%;
	right: 0.35rem;
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	padding: 0;
	transform: translateY(-50%);
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--gold-text);
	cursor: pointer;
}

.posts {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}
.post-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: var(--surface);
	border: 1px solid var(--border-soft);
	border-radius: var(--radius);
	transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}
.post-card:hover { transform: translateY(-5px); border-color: var(--border); box-shadow: var(--shadow); }
.post-card__media {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--surface-2);
}
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__ph {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	min-height: 180px;
	color: var(--gold-text);
	background:
		radial-gradient(60% 60% at 30% 20%, var(--glow-a), transparent 70%),
		radial-gradient(60% 60% at 80% 90%, var(--glow-b), transparent 70%),
		var(--surface-2);
}
.post-card__ph .icon { width: 44px; height: 44px; }
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem; }
.post-card__title { margin: 0.8rem 0 0.3em; font-size: 1.65rem; }
.post-card__title a { color: inherit; text-decoration: none; }
.post-card__title a:hover { color: var(--gold-text); }
.post-card__meta { margin: 0 0 0.8rem; font-size: 0.85rem; color: var(--muted); }
.post-card__excerpt { color: var(--muted); font-size: 0.96rem; flex: 1; }
@media (max-width: 960px) { .posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .posts { grid-template-columns: 1fr; } }

.featured {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 0;
	margin-bottom: 1.5rem;
	overflow: hidden;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 28px;
}
.featured__media { display: block; min-height: 320px; background: var(--surface-2); }
.featured__media img { width: 100%; height: 100%; object-fit: cover; }
.featured__body { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(1.5rem, 4vw, 3rem); }
.featured__body h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.featured__body h2 a { color: inherit; text-decoration: none; }
.featured__body p { color: var(--muted); }
@media (max-width: 860px) { .featured { grid-template-columns: 1fr; } .featured__media { min-height: 220px; } }

/* Pagination WordPress */
.pagination { margin-top: 3rem; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; }
.page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding: 0 1rem;
	border: 1px solid var(--border-soft);
	border-radius: 999px;
	color: var(--text);
	font-size: 0.9rem;
	text-decoration: none;
	transition: all 0.2s;
}
a.page-numbers:hover { border-color: var(--gold); color: var(--gold-text); }
.page-numbers.current {
	background: linear-gradient(135deg, var(--gold-bright), var(--gold));
	border-color: transparent;
	color: var(--on-gold);
	font-weight: 700;
}
.pagination .dots { border: 0; }

.empty {
	padding: 3rem 1.5rem;
	text-align: center;
	border: 1px dashed var(--border);
	border-radius: var(--radius);
	color: var(--muted);
}
.empty p { margin-bottom: 1rem; }

/* ==========================================================================
   14. Article (contenu rédactionnel)
   ========================================================================== */
.article__cover {
	margin: 0 0 2.5rem;
	overflow: hidden;
	border: 1px solid var(--border-soft);
	border-radius: 28px;
}
.article__cover img { width: 100%; max-height: 560px; object-fit: cover; }

.article__layout { padding-bottom: clamp(3rem, 6vw, 5rem); }
.article__layout.has-toc {
	display: grid;
	grid-template-columns: 250px minmax(0, 1fr);
	gap: clamp(2rem, 5vw, 4rem);
	align-items: start;
}
.article__main { min-width: 0; max-width: 760px; }
.article__layout:not(.has-toc) .article__main { margin-inline: auto; }

.toc {
	position: sticky;
	top: calc(var(--header-h) + 1.5rem);
	padding: 1.4rem;
	background: var(--surface);
	border: 1px solid var(--border-soft);
	border-radius: var(--radius);
	font-size: 0.9rem;
}
.toc__title {
	margin: 0 0 0.8rem;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--gold-text);
}
.toc ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.55rem; }
.toc a { color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--gold-text); }
.toc__l3 { padding-left: 0.9rem; }
@media (max-width: 960px) {
	.article__layout.has-toc { grid-template-columns: 1fr; }
	.toc { position: static; }
}

.prose { font-size: 1.1rem; line-height: 1.8; }
.prose > * + * { margin-top: 1.2em; }
.prose h2 { margin-top: 2em; font-size: clamp(1.9rem, 3vw, 2.5rem); scroll-margin-top: calc(var(--header-h) + 1rem); }
.prose h3 { margin-top: 1.7em; scroll-margin-top: calc(var(--header-h) + 1rem); }
.prose p,
.prose li { color: var(--text); }
.prose ul,
.prose ol { padding-left: 1.4rem; }
.prose li + li { margin-top: 0.4em; }
.prose a { color: var(--gold-text); }
.prose img { border-radius: var(--radius-sm); }
.prose figure { margin-inline: 0; }
.prose figcaption { margin-top: 0.5rem; font-size: 0.88rem; color: var(--muted); }
.prose blockquote {
	margin-inline: 0;
	padding: 0.2rem 0 0.2rem 1.5rem;
	border-left: 2px solid var(--gold);
	font-family: var(--font-display);
	font-size: 1.5rem;
	font-style: italic;
	line-height: 1.4;
	color: var(--heading);
}
.prose table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.prose th,
.prose td { padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--border-soft); text-align: left; }
.prose pre,
.prose code { font-size: 0.9em; background: var(--surface-2); border-radius: 8px; }
.prose code { padding: 0.15em 0.4em; }
.prose pre { padding: 1rem 1.2rem; overflow-x: auto; }
.prose iframe { width: 100%; border: 0; border-radius: var(--radius-sm); }

.share {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.6rem;
	margin: 3rem 0 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--border-soft);
	font-size: 0.85rem;
	color: var(--muted);
}
.share a,
.share button {
	padding: 0.4rem 0.95rem;
	border: 1px solid var(--border-soft);
	border-radius: 999px;
	background: transparent;
	color: var(--text);
	font: inherit;
	font-size: 0.85rem;
	text-decoration: none;
	cursor: pointer;
	transition: all 0.2s;
}
.share a:hover,
.share button:hover { border-color: var(--gold); color: var(--gold-text); }

.author h2 { font-size: 1.8rem; margin-bottom: 0.2em; }
.author p:last-child { margin: 0; color: var(--muted); }

/* ==========================================================================
   15. Mises en page à deux colonnes, panneaux, contact
   ========================================================================== */
.split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 380px;
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: start;
}
.split--even { grid-template-columns: 1fr 1fr; align-items: center; }
.split--project { grid-template-columns: minmax(0, 1fr) 340px; }
.split__aside { display: grid; gap: 1.25rem; }
@media (max-width: 960px) {
	.split,
	.split--even,
	.split--project { grid-template-columns: 1fr; }
}

.panel {
	padding: 1.9rem;
	background: var(--surface);
	border: 1px solid var(--border-soft);
	border-radius: var(--radius);
}
.panel h2 { font-size: 1.7rem; }
.panel h3 { margin-bottom: 0.3em; }
.panel p:last-child { margin-bottom: 0; }
.panel--founder { border-color: var(--border); }

.contact-list { display: grid; gap: 0.9rem; margin: 0; padding: 0; list-style: none; }
.contact-list li { display: flex; gap: 0.8rem; align-items: center; }
.contact-list .icon { color: var(--gold-text); }
.contact-list a { color: var(--text); text-decoration: none; }
.contact-list a:hover { color: var(--gold-text); }

.mini-steps { margin: 0; padding: 0; list-style: none; counter-reset: ms; display: grid; gap: 1.1rem; }
.mini-steps li { position: relative; padding-left: 2.8rem; counter-increment: ms; display: grid; }
.mini-steps li::before {
	content: counter(ms);
	position: absolute;
	left: 0;
	top: 0;
	display: grid;
	place-items: center;
	width: 2rem;
	height: 2rem;
	border: 1px solid var(--gold);
	border-radius: 50%;
	font-family: var(--font-display);
	font-size: 1.1rem;
	color: var(--gold-text);
}
.mini-steps strong { color: var(--heading); font-weight: 600; }
.mini-steps span { font-size: 0.92rem; color: var(--muted); }

/* ==========================================================================
   16. Formulaires
   ========================================================================== */
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-bottom: 1.4rem; }
.field { display: grid; gap: 0.45rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--heading); }
.req { color: var(--gold-text); }
.field input,
.field select,
.field textarea {
	width: 100%;
	padding: 0.9rem 1.05rem;
	border: 1px solid var(--border-soft);
	border-radius: var(--radius-sm);
	background: var(--surface);
	color: var(--text);
	font: inherit;
	font-size: 0.98rem;
	transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
	outline: none;
	border-color: var(--gold);
	box-shadow: 0 0 0 3px rgba(201, 169, 106, 0.2);
}
.check { display: flex; gap: 0.8rem; align-items: flex-start; margin-bottom: 1.6rem; font-size: 0.9rem; color: var(--muted); }
.check input { width: 1.2rem; height: 1.2rem; margin-top: 0.15rem; accent-color: var(--gold); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.notice {
	margin-bottom: 1.5rem;
	padding: 1rem 1.25rem;
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	font-size: 0.95rem;
}
.notice--success { background: rgba(201, 169, 106, 0.1); border-color: var(--gold); color: var(--heading); }
.notice--error { background: rgba(255, 90, 90, 0.1); border-color: rgba(255, 110, 110, 0.6); color: var(--text); }
@media (max-width: 640px) { .form__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   17. FAQ
   ========================================================================== */
.faq__item { border-bottom: 1px solid var(--border-soft); }
.faq__item summary {
	position: relative;
	padding: 1.4rem 3rem 1.4rem 0;
	font-family: var(--font-display);
	font-size: 1.55rem;
	font-weight: 600;
	line-height: 1.2;
	color: var(--heading);
	cursor: pointer;
	list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
	content: "+";
	position: absolute;
	right: 0.3rem;
	top: 50%;
	transform: translateY(-50%);
	font-family: var(--font-body);
	font-size: 1.6rem;
	font-weight: 300;
	color: var(--gold-text);
	transition: transform 0.3s var(--ease);
}
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__item p { padding-bottom: 1.5rem; margin: 0; color: var(--muted); }

/* ==========================================================================
   18. Bandeau d'appel à l'action
   ========================================================================== */
.cta-band__box {
	position: relative;
	overflow: hidden;
	padding: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4rem);
	text-align: center;
	background:
		radial-gradient(60% 80% at 15% 0, var(--glow-a), transparent 70%),
		radial-gradient(60% 80% at 90% 100%, var(--glow-b), transparent 70%),
		var(--surface);
	border: 1px solid var(--border);
	border-radius: 32px;
}
.cta-band__box .eyebrow { justify-content: center; }
.cta-band__box .lead { margin-inline: auto; }
.cta-band__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.9rem; margin-top: 2rem; }

/* ==========================================================================
   19. Pied de page
   ========================================================================== */
.site-footer {
	margin-top: 2rem;
	padding-top: clamp(3rem, 6vw, 5rem);
	background: var(--bg-alt);
	border-top: 1px solid var(--border-soft);
}
.footer__grid {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
	gap: 2.5rem;
	padding-bottom: 3rem;
}
.footer__brand p { max-width: 24rem; margin-top: 1rem; color: var(--muted); font-size: 0.95rem; }
.footer__title {
	margin: 0 0 1.1rem;
	font-family: var(--font-body);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--gold-text);
}
.footer__list { display: grid; gap: 0.6rem; margin: 0; padding: 0; list-style: none; font-size: 0.95rem; color: var(--muted); }
.footer__list a { color: var(--text); text-decoration: none; }
.footer__list a:hover { color: var(--gold-text); }
.social { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.2rem 0 0; padding: 0; list-style: none; }
.social a {
	display: inline-block;
	padding: 0.35rem 0.9rem;
	border: 1px solid var(--border-soft);
	border-radius: 999px;
	font-size: 0.82rem;
	color: var(--text);
	text-decoration: none;
}
.social a:hover { border-color: var(--gold); color: var(--gold-text); }
.footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 1rem;
	padding-block: 1.5rem;
	border-top: 1px solid var(--border-soft);
	font-size: 0.85rem;
	color: var(--muted);
}
.footer__bottom p { margin: 0; }
.footer__bottom a { color: var(--muted); text-decoration: none; }
.footer__bottom a:hover { color: var(--gold-text); }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   20. Page 404
   ========================================================================== */
.notfound { text-align: center; }
.notfound .lead { margin-inline: auto; }
.notfound .hero__actions { justify-content: center; }
.notfound__code {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(6rem, 20vw, 12rem);
	font-weight: 500;
	line-height: 1;
	color: transparent;
	-webkit-text-stroke: 1px var(--gold);
}

/* ==========================================================================
   21. Accessibilité : mouvement réduit
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
	.js .reveal { opacity: 1; transform: none; }
}

@media print {
	.site-header,
	.site-footer,
	.cta-band,
	.theme-toggle { display: none; }
	body { background: #fff; color: #000; }
}
