/* ==========================================================================
   Matchstone Blog — styles principaux
   Identité reprise de matchstone.fr
   ========================================================================== */

:root {
	/* Couleurs relevées sur le site principal */
	--ms-navy: #0c102b;          /* fond */
	--ms-navy-2: #111536;
	--ms-glow-1: #151d55;        /* halos du fond */
	--ms-glow-2: #131a4a;
	--ms-gold: #f4d595;          /* accent : titres, bouton « Je m'inscris » */
	--ms-gold-hover: rgba(244, 213, 149, .9);
	--ms-white: #fff;
	--ms-text: rgba(255, 255, 255, .85);
	--ms-muted: rgba(255, 255, 255, .6);
	--ms-line: rgba(255, 255, 255, .2);
	--ms-line-soft: rgba(255, 255, 255, .1);
	--ms-surface: rgba(255, 255, 255, .05);
	--ms-surface-2: rgba(255, 255, 255, .08);
	--ms-cream: #f2f0ea;

	--ms-font-title: "Petrona", Georgia, serif;
	--ms-font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	--ms-radius: 5px;            /* rounded-button / rounded-card du site */
	--ms-max: 1200px;
	--ms-gutter: 16px;
	--ms-header-h: 65px;
}

/* --- Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--ms-navy); }
body {
	margin: 0; color: var(--ms-white); font-family: var(--ms-font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
	background:
		radial-gradient(900px 600px at 50% 0%, var(--ms-glow-1) 0%, rgba(12, 16, 43, 0) 70%),
		radial-gradient(800px 500px at 85% 60%, var(--ms-glow-2) 0%, rgba(12, 16, 43, 0) 70%),
		var(--ms-navy);
	background-repeat: no-repeat;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--ms-gold); text-underline-offset: 3px; }
a:hover { color: var(--ms-white); }
:focus-visible { outline: 2px solid var(--ms-gold); outline-offset: 3px; }
::selection { background: var(--ms-gold); color: var(--ms-navy); }

h1, h2, h3, h4, h5, h6 { font-family: var(--ms-font-title); font-weight: 600; color: var(--ms-white); line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(34px, 4.2vw, 50px); letter-spacing: -.03em; line-height: 1.15; }
h2 { font-size: clamp(26px, 3vw, 36px); }
h3 { font-size: 20px; color: var(--ms-gold); }
h4 { font-size: 18px; color: var(--ms-gold); }
p { margin: 0 0 1em; }
.text-gold { color: var(--ms-gold); }

.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; word-wrap: normal !important; }
.skip-link:focus { clip: auto; clip-path: none; height: auto; width: auto; margin: 0; left: 12px; top: 12px; z-index: 1000; padding: 12px 18px; background: var(--ms-gold); color: var(--ms-navy); border-radius: var(--ms-radius); }

.container { width: 100%; max-width: var(--ms-max); margin: 0 auto; padding: 0 var(--ms-gutter); }
.container--narrow { max-width: 860px; }

/* --- Pastille & sur-titre ------------------------------------------------------- */
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 10px 20px; margin-bottom: 24px; border: 1px solid rgba(255, 255, 255, .15); border-radius: 999px; background: var(--ms-surface); color: rgba(255, 255, 255, .75); font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.pill svg { width: 16px; height: 16px; color: var(--ms-gold); }
.sub-title { display: inline-flex; align-items: center; gap: 14px; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ms-gold); margin-bottom: 14px; }
.sub-title::before, .sub-title::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .6; }

/* --- Boutons : identiques au site (« Je m'inscris », « Me connecter ») ------------- */
.btn, .wp-block-button__link, input[type="submit"], .comment-form .submit {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px; white-space: nowrap;
	padding: 10px 24px; border: 0; border-radius: var(--ms-radius);
	background: var(--ms-gold); color: var(--ms-navy);
	font-family: var(--ms-font); font-size: 14px; font-weight: 600; line-height: 1.5; letter-spacing: .025em; text-transform: uppercase; text-decoration: none; cursor: pointer;
	transition: background-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.btn:hover, .wp-block-button__link:hover, input[type="submit"]:hover { background: var(--ms-gold-hover); color: var(--ms-navy); }
.btn--sm { padding: 6px 16px; font-size: 12px; letter-spacing: .025em; }
.btn--glow { box-shadow: 0 4px 16px rgba(244, 213, 149, .4); }
.btn--outline { background: transparent; color: var(--ms-white); box-shadow: inset 0 0 0 1px var(--ms-white); }
.btn--outline:hover { background: var(--ms-white); color: var(--ms-navy); }
.link-login { padding: 8px; color: var(--ms-muted); font-size: 14px; text-decoration: none; transition: color .15s ease; }
.link-login:hover { color: var(--ms-white); }

/* --- En-tête -------------------------------------------------------------------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: background-color .3s ease, backdrop-filter .3s ease; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.is-scrolled .site-header, .nav-open .site-header { background: rgba(12, 16, 43, .65); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.nav-open .site-header { background: rgba(12, 16, 43, .97); }

.site-header__inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; height: var(--ms-header-h); display: flex; align-items: center; gap: 24px; }
.site-header__brand { flex-shrink: 0; }
.site-logo { display: block; width: 160px; }
.site-logo img { width: 100%; height: auto; }
.site-header__brand .custom-logo { width: 160px; height: auto; }

.site-nav { flex: 1; display: flex; justify-content: center; }
.site-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.site-nav .menu > li { position: relative; }
.site-nav a { color: var(--ms-muted); font-size: 14px; text-decoration: none; transition: color .15s ease; }
.site-nav .menu > li > a { display: flex; align-items: center; gap: 4px; padding: 8px 12px; }
.site-nav .menu-item-has-children > a::after { content: ""; width: 6px; height: 6px; margin: -3px 0 0 4px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.site-nav .menu > li > a:hover, .site-nav .current-menu-item > a, .site-nav .current-menu-ancestor > a { color: var(--ms-white); }
.site-nav .current-menu-item > a { font-weight: 600; }

.site-nav .sub-menu { list-style: none; margin: 0; padding: 8px; position: absolute; left: 0; top: calc(100% + 8px); min-width: 280px; background: var(--ms-navy-2); border: 1px solid var(--ms-line-soft); border-radius: 8px; box-shadow: 0 20px 40px rgba(0, 0, 0, .4); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s ease, transform .2s ease, visibility .2s; }
.site-nav .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.site-nav .sub-menu a { display: block; padding: 9px 12px; border-radius: var(--ms-radius); }
.site-nav .sub-menu a:hover { background: var(--ms-surface-2); color: var(--ms-white); }
.site-nav li:hover > .sub-menu, .site-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }

.site-header__auth, .site-nav__auth { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.site-nav__auth { display: none; }

.nav-toggle { display: none; margin-left: auto; width: 40px; height: 40px; padding: 12px 9px; background: transparent; border: 0; cursor: pointer; flex-direction: column; justify-content: space-between; }
.nav-toggle__bar { display: block; height: 2px; width: 100%; background: var(--ms-white); border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }
.nav-open .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1100px) {
	.site-header__inner { padding: 0 var(--ms-gutter); }
	.site-header__auth .link-login { display: none; }
	.site-header__auth { margin-left: auto; }
	.nav-toggle { display: flex; margin-left: 0; }
	.site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; justify-content: flex-start; padding: 8px var(--ms-gutter) 24px; background: var(--ms-navy); border-top: 1px solid var(--ms-line-soft); max-height: calc(100vh - var(--ms-header-h)); overflow-y: auto; }
	.nav-open .site-nav { display: flex; }
	.site-nav .menu { flex-direction: column; align-items: stretch; gap: 0; }
	.site-nav .menu > li > a { padding: 14px 0; border-bottom: 1px solid var(--ms-line-soft); justify-content: space-between; font-size: 16px; color: var(--ms-white); }
	.site-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; padding: 4px 0 8px 12px; min-width: 0; }
	.site-nav .sub-menu a { padding: 7px 0; }
	.site-nav__auth { display: flex; padding-top: 18px; }
}

/* --- En-tête de page ------------------------------------------------------------------ */
.hero { padding: calc(var(--ms-header-h) + 56px) var(--ms-gutter) 24px; }
.hero__inner { max-width: calc(var(--ms-max) - 2 * var(--ms-gutter)); margin: 0 auto; }
.hero__title { margin: 0; max-width: 1000px; }
.hero__subtitle { max-width: 760px; margin-top: 22px; font-size: 18px; line-height: 1.65; color: var(--ms-muted); }
.hero__subtitle p { margin: 0 0 .8em; }
.hero__line { display: none; }
.hero .badge { margin-bottom: 16px; }

.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--ms-muted); margin-bottom: 22px; }
.breadcrumbs a { color: var(--ms-muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--ms-white); }
.breadcrumbs__current { color: var(--ms-white); max-width: 50ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.hero--post { padding-bottom: 40px; }
.hero--post .hero__inner { max-width: 828px; }
.has-sidebar-layout .hero--post .hero__inner { max-width: calc(var(--ms-max) - 2 * var(--ms-gutter)); }
.hero--post .hero__title { font-size: clamp(32px, 3.8vw, 46px); }
.hero--post .post-meta { margin-top: 20px; }

/* --- Liste d'articles --------------------------------------------------------------- */
.site-main { padding-top: 32px; }

.cat-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.chip { display: inline-flex; align-items: center; padding: 10px 20px; border: 1px solid var(--ms-line); border-radius: var(--ms-radius); background: var(--ms-surface); color: var(--ms-white); font-size: 14px; text-decoration: none; transition: border-color .15s ease, background .15s ease; }
.chip:hover { border-color: var(--ms-gold); color: var(--ms-white); }
.chip.is-active { background: var(--ms-gold); border-color: var(--ms-gold); color: var(--ms-navy); font-weight: 600; }

.badge { display: inline-block; padding: 4px 10px; border: 1px solid rgba(244, 213, 149, .4); border-radius: 999px; color: var(--ms-gold); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; }
.badge:hover { background: var(--ms-gold); color: var(--ms-navy); }

.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--ms-muted); }
.post-meta svg { width: 14px; height: 14px; display: inline-block; vertical-align: -2px; margin-right: 4px; }
.post-meta__read { display: inline-flex; align-items: center; }

.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 1000px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .post-grid { grid-template-columns: 1fr; } }

.card { display: flex; flex-direction: column; overflow: hidden; background: rgba(255, 255, 255, .04); border: 1px solid var(--ms-line); border-radius: var(--ms-radius); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.card:hover { transform: translateY(-3px); border-color: rgba(244, 213, 149, .5); box-shadow: 0 4px 24px rgba(255, 255, 255, .08); }
.card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ms-navy-2); border-bottom: 1px solid var(--ms-line-soft); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card__media img { transform: scale(1.04); }
.card__placeholder { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; background: radial-gradient(circle at 50% 40%, var(--ms-glow-1), var(--ms-navy)); }
.card__placeholder img { width: 55%; height: auto; object-fit: contain; }
.card:hover .card__placeholder img { transform: none; }
.card__body { display: flex; flex-direction: column; gap: 12px; padding: 22px 22px 24px; flex: 1; }
.card__body .badge { align-self: flex-start; }
.card__title { font-size: 20px; line-height: 1.3; margin: 0; }
.card__title a { color: var(--ms-white); text-decoration: none; }
.card__title a:hover { color: var(--ms-gold); }
.card__excerpt { margin: 0; font-size: 14px; line-height: 1.6; color: var(--ms-muted); }
.card__body .post-meta { margin-top: auto; padding-top: 6px; }
.card__actions { margin-top: 8px; }

.featured-row { margin-bottom: 24px; }
.card--featured { display: grid; grid-template-columns: 1.2fr 1fr; background: rgba(255, 255, 255, .06); }
.card--featured .card__media { aspect-ratio: auto; min-height: 400px; border-bottom: 0; border-right: 1px solid var(--ms-line-soft); }
.card--featured .card__body { justify-content: center; padding: 44px; gap: 16px; }
.card--featured .card__title { font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -.01em; }
.card--featured .card__excerpt { font-size: 16px; }
.card--featured .post-meta { margin-top: 0; }
@media (max-width: 860px) { .card--featured { grid-template-columns: 1fr; } .card--featured .card__media { min-height: 0; aspect-ratio: 16 / 10; border-right: 0; } .card--featured .card__body { padding: 24px; } }

.pagination { margin: 48px 0 0; }
.pagination .nav-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.pagination .page-numbers { min-width: 42px; height: 42px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--ms-line); border-radius: var(--ms-radius); color: var(--ms-white); text-decoration: none; font-weight: 600; font-size: 14px; }
.pagination .page-numbers svg { width: 18px; height: 18px; }
.pagination .page-numbers.current, .pagination a.page-numbers:hover { background: var(--ms-gold); border-color: var(--ms-gold); color: var(--ms-navy); }

.empty-state { text-align: center; padding: 40px 0; }
.empty-state .search-form { margin: 24px auto; }
.big-404 { font-family: var(--ms-font-title); font-size: clamp(90px, 16vw, 160px); font-weight: 600; line-height: 1; margin: 0 0 8px; color: var(--ms-gold); }

/* --- Article ------------------------------------------------------------------------ */
.container--post { max-width: 860px; }
.container--post.has-sidebar { max-width: var(--ms-max); display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
@media (max-width: 1000px) { .container--post.has-sidebar { grid-template-columns: 1fr; } }

.entry__thumb { margin: 0 0 40px; border-radius: var(--ms-radius); overflow: hidden; border: 1px solid var(--ms-line-soft); }
.entry__thumb img { width: 100%; }
.entry__content { font-size: 18px; line-height: 1.75; color: var(--ms-text); }
.entry__content > * { margin-top: 0; margin-bottom: 1.2em; }
.entry__content h2 { font-size: clamp(26px, 2.6vw, 32px); margin-top: 1.7em; margin-bottom: .6em; color: var(--ms-white); }
.entry__content h3 { font-size: clamp(20px, 2vw, 22px); margin-top: 1.5em; margin-bottom: .5em; }
.entry__content h4 { margin-top: 1.4em; }
.entry__content strong { color: var(--ms-white); font-weight: 600; }
.entry__content a { color: var(--ms-gold); }
.entry__content ul, .entry__content ol { padding-left: 1.3em; }
.entry__content li { margin-bottom: .45em; }
.entry__content ul li::marker { color: var(--ms-gold); }
.entry__content ol li::marker { color: var(--ms-gold); font-weight: 600; }
.entry__content figure { margin-left: 0; margin-right: 0; }
.entry__content img { border-radius: var(--ms-radius); }
.entry__content figcaption, .wp-element-caption { font-size: 14px; color: var(--ms-muted); text-align: center; margin-top: 8px; }
.entry__content blockquote, .wp-block-quote { margin-left: 0; margin-right: 0; padding: 26px 30px; background: var(--ms-surface); border: 1px solid var(--ms-line-soft); border-left: 3px solid var(--ms-gold); border-radius: var(--ms-radius); font-family: var(--ms-font-title); font-size: 23px; line-height: 1.45; font-weight: 500; color: var(--ms-white); }
.entry__content blockquote p:last-child { margin-bottom: 0; }
.entry__content blockquote cite { display: block; margin-top: 12px; font-family: var(--ms-font); font-size: 12px; font-style: normal; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ms-gold); }
.entry__content table { width: 100%; border-collapse: collapse; font-size: 15px; border: 1px solid var(--ms-line); border-radius: var(--ms-radius); overflow: hidden; }
.entry__content th, .entry__content td { padding: 12px 16px; border-bottom: 1px solid var(--ms-line-soft); text-align: left; }
.entry__content th { background: rgba(244, 213, 149, .12); color: var(--ms-gold); font-weight: 600; }
.entry__content tr:nth-child(even) td { background: rgba(255, 255, 255, .03); }
.entry__content hr { border: 0; height: 1px; margin: 2.5em 0; background: var(--ms-line); }
.entry__content code { background: var(--ms-surface-2); padding: 2px 6px; border-radius: 4px; font-size: .9em; }
.entry__content .wp-block-button__link { color: var(--ms-navy); }
.entry__content .alignwide, .entry__content .alignfull { margin-left: 0; margin-right: 0; }
.entry__content .aligncenter { margin-left: auto; margin-right: auto; }
.entry__content .alignleft { float: left; margin: .3em 1.5em 1em 0; }
.entry__content .alignright { float: right; margin: .3em 0 1em 1.5em; }

.has-navy-color { color: #0c102b !important; } .has-navy-background-color { background-color: #0c102b !important; }
.has-navy-light-color { color: #151d55 !important; } .has-navy-light-background-color { background-color: #151d55 !important; }
.has-gold-color { color: #f4d595 !important; } .has-gold-background-color { background-color: #f4d595 !important; }
.has-cream-color { color: #f2f0ea !important; } .has-cream-background-color { background-color: #f2f0ea !important; }
.has-white-color { color: #fff !important; } .has-white-background-color { background-color: #fff !important; }

.entry__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0; }

.author-box { display: flex; gap: 18px; align-items: center; margin: 40px 0; padding: 24px; background: var(--ms-surface); border: 1px solid var(--ms-line-soft); border-radius: var(--ms-radius); }
.author-box img { border-radius: 50%; flex-shrink: 0; }
.author-box p { margin: 0; }
.author-box__label { font-size: 11px; text-transform: uppercase; letter-spacing: .18em; color: var(--ms-gold); font-weight: 600; }
.author-box__name { font-family: var(--ms-font-title); font-size: 22px; font-weight: 600; color: var(--ms-white); }
.author-box__bio { margin-top: 6px !important; font-size: 14px; color: var(--ms-muted); }

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 40px 0; }
.post-nav > div:last-child { text-align: right; }
.post-nav a { display: block; height: 100%; padding: 18px 20px; border: 1px solid var(--ms-line); border-radius: var(--ms-radius); background: var(--ms-surface); text-decoration: none; color: var(--ms-white); font-family: var(--ms-font-title); font-size: 18px; font-weight: 600; line-height: 1.35; transition: border-color .2s ease; }
.post-nav a:hover { border-color: var(--ms-gold); color: var(--ms-white); }
.post-nav a span { display: block; font-family: var(--ms-font); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ms-gold); margin-bottom: 6px; }
@media (max-width: 640px) { .post-nav { grid-template-columns: 1fr; } .post-nav > div:last-child { text-align: left; } }

.related { padding: 72px 0 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.section-head > div { display: flex; flex-direction: column; align-items: flex-start; }
.section-title { margin: 0; }

/* Barre latérale */
.sidebar { display: flex; flex-direction: column; gap: 20px; position: sticky; top: calc(var(--ms-header-h) + 24px); }
.sidebar .widget { padding: 24px; background: var(--ms-surface); border: 1px solid var(--ms-line-soft); border-radius: var(--ms-radius); }
.widget-title, .sidebar h2, .sidebar .wp-block-heading { font-size: 20px; color: var(--ms-gold); margin-bottom: 14px; }
.sidebar ul { list-style: none; margin: 0; padding: 0; }
.sidebar li { padding: 9px 0; border-bottom: 1px solid var(--ms-line-soft); line-height: 1.45; font-size: 15px; }
.sidebar li:last-child { border-bottom: 0; }
.sidebar a { color: var(--ms-text); text-decoration: none; }
.sidebar a:hover { color: var(--ms-gold); }
.sidebar .wp-block-latest-comments__comment-excerpt p, .sidebar .no-comments { color: var(--ms-muted); }
.sidebar .wp-block-search__label { display: block; font-family: var(--ms-font-title); font-size: 20px; font-weight: 600; color: var(--ms-gold); margin-bottom: 12px; }
.sidebar .wp-block-search__inside-wrapper { display: flex; gap: 6px; }
.sidebar .wp-block-search__input { flex: 1; min-width: 0; border: 1px solid var(--ms-line); border-radius: var(--ms-radius); padding: 10px 14px; font: inherit; background: var(--ms-surface); color: var(--ms-white); }
.sidebar .wp-block-search__button { border: 0; margin: 0; padding: 0 16px; border-radius: var(--ms-radius); background: var(--ms-gold); color: var(--ms-navy); font: inherit; font-size: 13px; font-weight: 600; text-transform: uppercase; cursor: pointer; }

/* Recherche */
.search-form { display: flex; gap: 6px; max-width: 480px; }
.search-form__input { flex: 1; min-width: 0; border: 1px solid var(--ms-line); border-radius: var(--ms-radius); padding: 12px 16px; font: inherit; background: var(--ms-surface); color: var(--ms-white); }
.search-form__input::placeholder { color: var(--ms-muted); }
.search-form__input:focus { outline: none; border-color: var(--ms-gold); }
.search-form__btn { border: 0; border-radius: var(--ms-radius); background: var(--ms-gold); color: var(--ms-navy); width: 48px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.search-form__btn svg { width: 20px; height: 20px; }

/* Commentaires */
.comments { margin-top: 48px; }
.comments__title, .comment-reply-title { font-size: 26px; }
.comment-list { list-style: none; padding: 0; margin: 0 0 32px; }
.comment-list .children { list-style: none; padding-left: 32px; }
.comment-body { padding: 20px 0; border-bottom: 1px solid var(--ms-line-soft); }
.comment-author { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.comment-author img { border-radius: 50%; }
.comment-metadata { font-size: 13px; margin: 4px 0 10px; }
.comment-metadata a { color: var(--ms-muted); text-decoration: none; }
.comment-form label { display: block; font-weight: 500; margin-bottom: 6px; color: var(--ms-text); }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--ms-line); border-radius: var(--ms-radius); font: inherit; background: var(--ms-surface); color: var(--ms-white); }
.comment-form input:focus, .comment-form textarea:focus { outline: none; border-color: var(--ms-gold); }
.comment-notes, .logged-in-as { color: var(--ms-muted); font-size: 14px; }
.comment-form-cookies-consent label { display: inline; font-weight: 400; }

/* --- Encart d'inscription -------------------------------------------------------------- */
.cta { padding: 120px var(--ms-gutter) 100px; }
.cta__box { max-width: 820px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
.cta__title { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 18px; }
.cta__text { max-width: 640px; margin: 0 0 32px; color: var(--ms-muted); font-size: 16px; }

/* --- Pied de page ------------------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--ms-line-soft); font-size: 14px; }
.site-footer a { color: var(--ms-muted); text-decoration: none; }
.site-footer a:hover { color: var(--ms-white); }
.site-footer__inner { max-width: var(--ms-max); margin: 0 auto; padding: 56px var(--ms-gutter) 40px; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.site-footer__name { font-family: var(--ms-font-title); font-size: 24px; font-weight: 600; color: var(--ms-gold); margin: 0 0 12px; }
.site-footer__tagline { max-width: 340px; color: var(--ms-text); margin: 0 0 18px; }
.site-footer__title { font-size: 18px; color: var(--ms-white); margin-bottom: 14px; }
.social-link { display: inline-flex; width: 32px; height: 32px; align-items: center; justify-content: center; border: 1px solid var(--ms-line); border-radius: var(--ms-radius); }
.social-link svg { width: 16px; height: 16px; }
.footer-menu, .contact-list, .legal-links { list-style: none; margin: 0; padding: 0; }
.footer-menu li { margin-bottom: 12px; }
.contact-list li { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; color: var(--ms-muted); }
.contact-list svg { width: 16px; height: 16px; color: var(--ms-gold); flex-shrink: 0; }
.site-footer__bottom { max-width: var(--ms-max); margin: 0 auto; padding: 22px var(--ms-gutter) 28px; border-top: 1px solid var(--ms-line-soft); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12px; color: var(--ms-muted); }
.site-footer__bottom p { margin: 0; }
.legal-links { display: flex; gap: 24px; flex-wrap: wrap; }
@media (max-width: 760px) { .site-footer__inner { grid-template-columns: 1fr; gap: 28px; } }

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