/* ==========================================================================
   Allazià Blog — styles principaux
   Identité reprise d'allazia.com
   ========================================================================== */

:root {
	/* Couleurs relevées sur le site principal et le logo */
	--al-red: #e53622;         /* « À » du logo, boutons */
	--al-red-dark: #c42a18;
	--al-green: #5c6d5a;       /* titres h2 */
	--al-green-2: #697b65;     /* titres h3 */
	--al-sand: #9a8e6f;        /* h1, lettres camouflage */
	--al-black: #1c1c1c;       /* pied de page, en-tête */
	--al-ink: #212121;
	--al-text: #333;
	--al-grey: #6b6b6b;
	--al-card: #e8e8e8;        /* cartes arrondies */
	--al-line: rgba(0, 0, 0, .1);
	--al-white: #fff;

	--al-font-title: "Anton", Impact, "Arial Narrow", sans-serif;
	--al-font: "Montserrat", "Helvetica Neue", Arial, sans-serif;
	--al-max: 1200px;
	--al-gutter: 20px;
	--al-radius: 20px;

	--al-camo-light: linear-gradient(rgba(235, 235, 235, .86), rgba(235, 235, 235, .86)), url("../images/camo-gris.webp") 0 0 / 900px auto repeat;
	--al-camo-dark: linear-gradient(rgba(59, 59, 59, .8), rgba(59, 59, 59, .8)), url("../images/camo-vert.webp") 0 0 / 900px auto repeat;
}

/* --- Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: #ebebeb; background: var(--al-camo-light); color: var(--al-text); font-family: var(--al-font); font-size: 15.5px; line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--al-red); text-underline-offset: 3px; }
a:hover { color: var(--al-red-dark); }
:focus-visible { outline: 2px solid var(--al-red); outline-offset: 3px; }

h1, h2, h3, h4, h5, h6 { font-family: var(--al-font-title); font-weight: 400; letter-spacing: 1px; color: var(--al-green); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(32px, 3.6vw, 48px); text-transform: uppercase; color: var(--al-sand); }
h2 { font-size: clamp(24px, 2.2vw, 30px); }
h3 { font-size: 21px; color: var(--al-green-2); }
h4 { font-size: 18px; }
p { margin: 0 0 1em; }
strong { color: var(--al-ink); }

.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: 14px 24px; background: var(--al-red); color: var(--al-white); border-radius: var(--al-radius); }

.container { width: 100%; max-width: var(--al-max); margin: 0 auto; padding: 0 var(--al-gutter); }

/* --- Sur-titre ------------------------------------------------------------- */
.sub-title { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--al-red); }
.sub-title::before { content: ""; width: 26px; height: 3px; border-radius: 2px; background: currentColor; }
.sub-title--light { color: var(--al-white); }
.sub-title--light::before { background: var(--al-red); }

/* --- Boutons pilule rouges (comme « Nous appeler pour commander ») ---------------- */
.btn, .wp-block-button__link, input[type="submit"], .comment-form .submit {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 11px 30px; border: 0; border-radius: var(--al-radius);
	background: var(--al-red); color: var(--al-white);
	font-family: var(--al-font); font-size: 14.5px; font-weight: 500; line-height: 1.3; letter-spacing: 1px; text-decoration: none; cursor: pointer;
	transition: background-color .2s ease, transform .2s ease, color .2s ease;
}
.btn:hover, .wp-block-button__link:hover, input[type="submit"]:hover { background: var(--al-red-dark); color: var(--al-white); transform: translateY(-1px); }
.btn--sm { padding: 8px 18px; font-size: 12.5px; font-weight: 700; }
.btn--dark { background: var(--al-black); }
.btn--dark:hover { background: var(--al-green); }
.btn span[aria-hidden] { transition: transform .2s ease; }
.btn:hover span[aria-hidden] { transform: translateX(3px); }

/* --- En-tête noir ----------------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--al-black); color: var(--al-white); transition: box-shadow .25s ease; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
.is-scrolled .site-header { box-shadow: 0 6px 20px rgba(0, 0, 0, .35); }

.site-header__inner { max-width: 1440px; margin: 0 auto; padding: 8px 32px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 26px; }
.site-logo { display: block; width: 92px; transition: width .25s ease; }
.site-logo img { width: 100%; height: auto; }
.site-header__brand .custom-logo { width: 92px; height: auto; }
.is-scrolled .site-header .site-logo { width: 78px; }

.site-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; align-items: center; gap: 4px; }
.site-nav .menu > li { position: relative; }
.site-nav a { display: block; padding: 10px 11px; color: var(--al-white); font-size: 12.5px; font-weight: 700; letter-spacing: 1.5px; text-decoration: none; border-radius: var(--al-radius); transition: background-color .2s ease, color .2s ease; }
.site-nav a:hover { color: var(--al-white); background: rgba(255, 255, 255, .1); }
.site-nav .current-menu-item > a, .site-nav .current-menu-ancestor > a { background: var(--al-red); color: var(--al-white); }
.site-nav .sub-menu { list-style: none; margin: 0; padding: 10px; position: absolute; left: 0; top: 100%; min-width: 220px; background: var(--al-black); border-radius: 0 0 14px 14px; opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s; }
.site-nav .sub-menu a { font-weight: 500; }
.site-nav li:hover > .sub-menu, .site-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; }

.site-header__tools { display: flex; justify-content: flex-end; align-items: center; gap: 14px; }
.header-icons { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.header-icons a { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; color: var(--al-white); transition: background-color .2s ease; }
.header-icons a:hover { background: var(--al-red); color: var(--al-white); }
.header-icons svg { width: 18px; height: 18px; }

.nav-toggle { display: none; width: 40px; height: 40px; padding: 11px 8px; background: transparent; border: 0; cursor: pointer; flex-direction: column; justify-content: space-between; }
.nav-toggle__bar { display: block; height: 2px; width: 100%; border-radius: 2px; background: var(--al-white); transition: transform .25s ease, opacity .2s 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: 1240px) { .header-icons li:nth-child(n+3) { display: none; } .site-nav a { padding: 10px 8px; letter-spacing: 1px; } }
@media (max-width: 1060px) {
	.site-header__inner { grid-template-columns: auto 1fr; padding: 6px var(--al-gutter); gap: 12px; }
	.site-logo, .site-header__brand .custom-logo, .is-scrolled .site-header .site-logo { width: 72px; }
	.nav-toggle { display: flex; }
	.site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; height: calc(100vh - 54px); background: var(--al-black); padding: 20px var(--al-gutter) 40px; overflow-y: auto; border-top: 1px solid rgba(255, 255, 255, .1); }
	.nav-open .site-nav { display: block; }
	.site-nav .menu { flex-direction: column; align-items: stretch; gap: 6px; }
	.site-nav a { padding: 14px 18px; font-size: 15px; }
	.site-nav .sub-menu { position: static; opacity: 1; visibility: visible; padding: 0 0 6px 16px; }
}
@media (max-width: 480px) { .header-icons { display: none; } }

/* --- Bandeau photo assombri ------------------------------------------------------------- */
.hero {
	--hero-image: url("../images/banner.webp");
	position: relative; color: var(--al-white);
	background: linear-gradient(90deg, rgba(0, 0, 0, .82) 0%, rgba(0, 0, 0, .7) 55%, rgba(0, 0, 0, .45) 100%), var(--hero-image) center 30% / cover no-repeat, var(--al-black);
	padding: 90px 4vw 84px;
}
.hero__title { margin: 0; max-width: 820px; color: var(--al-sand); font-size: clamp(34px, 4.4vw, 58px); letter-spacing: 1.5px; text-transform: uppercase; }
.hero__subtitle { max-width: 600px; margin-top: 18px; font-size: 16.5px; color: rgba(255, 255, 255, .9); }
.hero__subtitle p { margin: 0; }
.hero__cta { margin: 28px 0 0; }
.hero .badge { margin-bottom: 16px; }

.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 22px; font-size: 12.5px; font-weight: 600; letter-spacing: 1px; color: rgba(255, 255, 255, .65); }
.breadcrumbs a { color: var(--al-white); text-decoration: none; }
.breadcrumbs a:hover { color: var(--al-red); }
.breadcrumbs__current { max-width: 50ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.hero--post { padding-top: 80px; padding-bottom: 76px; }
.hero--post .hero__title { font-size: clamp(30px, 3.4vw, 46px); color: var(--al-white); text-transform: none; }
.hero--post .post-meta { margin-top: 18px; color: rgba(255, 255, 255, .8); }
.hero--post .post-meta svg { color: var(--al-red); }

/* --- Liste d'articles ------------------------------------------------------------------- */
.site-main { padding-top: 56px; }
.site-main > .container { padding: 0 4vw; }

.cat-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.chip { display: inline-block; padding: 8px 18px; border-radius: var(--al-radius); background: var(--al-white); color: var(--al-ink); font-size: 13px; font-weight: 600; letter-spacing: .5px; text-decoration: none; box-shadow: 0 2px 6px rgba(0, 0, 0, .06); transition: all .2s ease; }
.chip:hover { color: var(--al-red); }
.chip.is-active { background: var(--al-red); color: var(--al-white); }

.badge { display: inline-block; padding: 5px 12px; border-radius: var(--al-radius); background: var(--al-green); color: var(--al-white); font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; text-decoration: none; }
.badge:hover { background: var(--al-red); color: var(--al-white); }

.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13.5px; color: var(--al-grey); }
.post-meta svg { width: 15px; height: 15px; display: inline-block; vertical-align: -2px; margin-right: 5px; }
.post-meta__read { display: inline-flex; align-items: center; }

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

.card { display: flex; flex-direction: column; padding: 14px; border-radius: var(--al-radius); background: var(--al-card); box-shadow: 0 10px 28px rgba(0, 0, 0, .14); transition: transform .3s ease, box-shadow .3s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0, 0, 0, .2); }
.card__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 14px; background: var(--al-black); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s 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: var(--al-camo-dark); }
.card__placeholder img { width: 46% !important; height: auto !important; object-fit: contain; }
.card:hover .card__placeholder img { transform: none; }
.card__body { display: flex; flex-direction: column; gap: 10px; padding: 18px 8px 8px; flex: 1; }
.card__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; }
.card__top .badge { white-space: nowrap; }
.card__date { font-size: 12.5px; color: var(--al-grey); }
.card__title { font-size: 20px; margin: 0; line-height: 1.3; }
.card__title a { color: var(--al-green); text-decoration: none; }
.card__title a:hover { color: var(--al-red); }
.card__excerpt { margin: 0; font-size: 14.5px; color: var(--al-ink); }
.card__more { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding: 8px 18px; border-radius: var(--al-radius); background: var(--al-red); color: var(--al-white); font-size: 13px; font-weight: 500; letter-spacing: 1px; text-decoration: none; transition: background-color .2s ease; }
.card__more svg { width: 15px; height: 15px; transition: transform .2s ease; }
.card__more:hover { background: var(--al-red-dark); color: var(--al-white); }
.card__more:hover svg { transform: translateX(3px); }
.card__body > .card__more { margin-top: auto; }
.card__excerpt + .card__more { margin-top: 6px; }

.featured-row { margin-bottom: 56px; }
.card--featured { display: grid; grid-template-columns: 1.15fr 1fr; gap: 10px; align-items: center; padding: 16px; }
.card--featured .card__media { aspect-ratio: 5 / 4; }
.card--featured .card__body { justify-content: center; padding: 28px 36px; gap: 16px; }
.card--featured .card__title { font-size: clamp(26px, 2.6vw, 36px); }
.card--featured .card__excerpt { font-size: 16px; }
.card--featured:hover { transform: none; }
@media (max-width: 860px) { .card--featured { grid-template-columns: 1fr; } .card--featured .card__media { aspect-ratio: 4 / 3; } .card--featured .card__body { padding: 18px 8px 8px; } }

.pagination { margin: 56px 0 0; }
.pagination .nav-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.pagination .page-numbers { min-width: 44px; height: 44px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--al-radius); background: var(--al-white); color: var(--al-ink); font-weight: 700; text-decoration: none; }
.pagination .page-numbers svg { width: 18px; height: 18px; }
.pagination .page-numbers.current, .pagination a.page-numbers:hover { background: var(--al-red); color: var(--al-white); }
.pagination .dots { background: none; }

.empty-state { text-align: center; padding: 40px 0; }
.empty-state .search-form { margin: 24px auto; }
.big-404 { font-family: var(--al-font-title); font-size: clamp(100px, 18vw, 200px); line-height: 1; margin: 0 0 8px; color: var(--al-red); }

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

.entry { padding: clamp(20px, 4vw, 44px); border-radius: var(--al-radius); background: var(--al-white); box-shadow: 0 10px 30px rgba(0, 0, 0, .1); }
.entry__thumb { margin: 0 0 36px; border-radius: 14px; overflow: hidden; }
.entry__thumb img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.entry__content { font-size: 16.5px; line-height: 1.8; color: var(--al-text); }
.entry__content > * { margin-top: 0; margin-bottom: 1.2em; }
.entry__content h2 { margin-top: 1.6em; margin-bottom: .5em; }
.entry__content h3 { margin-top: 1.4em; margin-bottom: .4em; }
.entry__content h4 { margin-top: 1.3em; }
.entry__content a { color: var(--al-red); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; }
.entry__content ul, .entry__content ol { padding-left: 1.3em; }
.entry__content li { margin-bottom: .45em; }
.entry__content ul li::marker { color: var(--al-red); }
.entry__content figure { margin-left: 0; margin-right: 0; }
.entry__content img { border-radius: 14px; }
.entry__content figcaption, .wp-element-caption { margin-top: 10px; font-size: 13px; color: var(--al-grey); }
.entry__content blockquote, .wp-block-quote { margin: 2em 0; padding: 18px 24px; border-left: 4px solid var(--al-red); border-radius: 0 14px 14px 0; background: var(--al-card); font-family: var(--al-font-title); font-size: clamp(20px, 2vw, 24px); letter-spacing: 1px; line-height: 1.4; color: var(--al-green); }
.entry__content blockquote p:last-child { margin-bottom: 0; }
.entry__content blockquote cite { display: block; margin-top: 10px; font-family: var(--al-font); font-size: 12px; font-style: normal; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--al-red); }
.entry__content table { width: 100%; border-collapse: separate; border-spacing: 0; overflow: hidden; border-radius: 14px; font-size: 15px; }
.entry__content th, .entry__content td { padding: 12px 14px; text-align: left; }
.entry__content th { background: var(--al-green); color: var(--al-white); font-weight: 700; }
.entry__content tbody tr { background: #f4f4f4; }
.entry__content tbody tr:nth-child(even) { background: var(--al-card); }
.entry__content hr { border: 0; height: 1px; margin: 3em 0; background: var(--al-line); }
.entry__content code { padding: 2px 6px; border-radius: 4px; background: var(--al-card); font-size: .9em; }
.entry__content .wp-block-button__link { color: var(--al-white); text-decoration: none; font-weight: 500; }
.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-rouge-color { color: #e53622 !important; } .has-rouge-background-color { background-color: #e53622 !important; }
.has-vert-color { color: #5c6d5a !important; } .has-vert-background-color { background-color: #5c6d5a !important; }
.has-sable-color { color: #9a8e6f !important; } .has-sable-background-color { background-color: #9a8e6f !important; }
.has-noir-color { color: #1c1c1c !important; } .has-noir-background-color { background-color: #1c1c1c !important; }
.has-anthracite-color { color: #3b3b3b !important; } .has-anthracite-background-color { background-color: #3b3b3b !important; }
.has-gris-color { color: #e8e8e8 !important; } .has-gris-background-color { background-color: #e8e8e8 !important; }
.has-blanc-color { color: #fff !important; } .has-blanc-background-color { background-color: #fff !important; }

.entry__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 36px 0; }
.entry__tags .chip { background: var(--al-card); box-shadow: none; font-size: 12.5px; }

.author-box { display: flex; gap: 18px; align-items: center; margin: 40px 0; padding: 22px; border-radius: var(--al-radius); background: var(--al-camo-dark); color: var(--al-white); }
.author-box img { border-radius: 50%; flex-shrink: 0; border: 3px solid var(--al-red); }
.author-box p { margin: 0; }
.author-box__label { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.author-box__name { font-family: var(--al-font-title); font-size: 22px; letter-spacing: 1px; color: var(--al-sand); }
.author-box__bio { margin-top: 4px !important; font-size: 14.5px; color: rgba(255, 255, 255, .88); }

.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: 16px 18px; border-radius: 14px; background: var(--al-card); color: var(--al-green); font-family: var(--al-font-title); font-size: 17px; letter-spacing: .5px; line-height: 1.35; text-decoration: none; transition: background-color .2s ease; }
.post-nav a:hover { background: #dedede; }
.post-nav a span { display: block; margin-bottom: 6px; font-family: var(--al-font); font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--al-red); }
@media (max-width: 640px) { .post-nav { grid-template-columns: 1fr; } .post-nav > div:last-child { text-align: left; } }

/* Articles liés : bande camouflage verte comme sur le site */
.related { margin-top: 72px; padding: 72px 0; background: var(--al-camo-dark); }
.related > .container { padding: 0 4vw; }
.related .section-title { color: var(--al-white); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.section-head > div { display: flex; flex-direction: column; align-items: flex-start; }
.section-title { margin: 0; }
.related + .cta { margin-top: 0; }

/* Barre latérale */
.sidebar { display: flex; flex-direction: column; gap: 22px; position: sticky; top: 100px; }
.sidebar .widget { padding: 22px; border-radius: var(--al-radius); background: var(--al-card); box-shadow: 0 6px 18px rgba(0, 0, 0, .08); }
.widget-title, .sidebar h2, .sidebar .wp-block-heading, .sidebar .wp-block-search__label { display: block; margin: 0 0 12px; font-family: var(--al-font-title); font-size: 19px; font-weight: 400; letter-spacing: 1px; color: var(--al-green); }
.sidebar ul { list-style: none; margin: 0; padding: 0; }
.sidebar li { padding: 9px 0; border-bottom: 1px solid var(--al-line); font-size: 14.5px; line-height: 1.45; }
.sidebar li:last-child { border-bottom: 0; }
.sidebar a { color: var(--al-ink); text-decoration: none; }
.sidebar a:hover { color: var(--al-red); }
.sidebar .wp-block-search__inside-wrapper { display: flex; padding: 4px; border-radius: var(--al-radius); background: var(--al-white); }
.sidebar .wp-block-search__input { flex: 1; min-width: 0; border: 0; padding: 8px 12px; background: transparent; font: inherit; font-size: 14px; }
.sidebar .wp-block-search__button { margin: 0; padding: 0 16px; border: 0; border-radius: var(--al-radius); background: var(--al-red); color: var(--al-white); font: inherit; font-size: 13px; cursor: pointer; }

/* Recherche */
.search-form { display: flex; max-width: 480px; padding: 4px; border-radius: var(--al-radius); background: var(--al-white); box-shadow: 0 4px 12px rgba(0, 0, 0, .08); }
.search-form__input { flex: 1; min-width: 0; border: 0; padding: 10px 16px; background: transparent; font: inherit; color: var(--al-ink); }
.search-form__input:focus { outline: none; }
.search-form__btn { width: 48px; border: 0; border-radius: var(--al-radius); background: var(--al-red); color: var(--al-white); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.search-form__btn svg { width: 18px; height: 18px; }

/* 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: 28px; }
.comment-body { padding: 18px 0; border-bottom: 1px solid var(--al-line); }
.comment-author { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.comment-author img { border-radius: 50%; }
.comment-metadata { margin: 4px 0 10px; font-size: 12.5px; }
.comment-metadata a { color: var(--al-grey); text-decoration: none; }
.comment-form label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; padding: 12px 16px; border: 1px solid #d6d6d6; border-radius: 14px; background: #f6f6f6; font: inherit; color: var(--al-ink); }
.comment-form input:focus, .comment-form textarea:focus { outline: 2px solid var(--al-red); border-color: transparent; }
.comment-notes, .logged-in-as { font-size: 14px; color: var(--al-grey); }
.comment-form-cookies-consent label { display: inline; }

/* --- Encart « Contactez notre atelier » (camouflage vert + carte grise) ----------------------- */
.cta { margin-top: 88px; padding: 64px 4vw; background: var(--al-camo-dark); }
.cta__box { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: center; }
.site-logo--cta { width: 100%; max-width: 300px; }
.cta__card { padding: clamp(24px, 4vw, 40px); border-radius: var(--al-radius); background: var(--al-card); box-shadow: 0 14px 34px rgba(0, 0, 0, .25); }
.cta__title { margin-bottom: 12px; }
.cta__text { margin: 0 0 24px; color: var(--al-ink); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 860px) { .cta__box { grid-template-columns: 1fr; gap: 24px; } .site-logo--cta { max-width: 200px; margin: 0 auto; } }

/* --- Pied de page --------------------------------------------------------------------------- */
.site-footer { background: var(--al-black); color: var(--al-white); }
.site-footer__inner { max-width: var(--al-max); margin: 0 auto; padding: 48px 4vw 36px; display: grid; grid-template-columns: 220px 1fr; gap: 48px; align-items: center; }
.site-logo--footer { width: 200px; }
.footer-actions { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.footer-actions li { padding: 18px; border-radius: var(--al-radius); background: rgba(255, 255, 255, .06); text-align: center; }
.footer-actions a { display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--al-white); text-decoration: none; }
.footer-actions svg { width: 30px; height: 30px; color: var(--al-red); }
.footer-actions strong { color: var(--al-white); font-size: 14.5px; letter-spacing: 1px; }
.footer-actions span { font-size: 12.5px; line-height: 1.5; color: rgba(255, 255, 255, .72); }
.footer-actions a:hover strong { color: var(--al-red); }
.footer-actions__social { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.footer-actions__icons { display: flex; gap: 10px; }
.footer-actions__icons a { width: 38px; height: 38px; justify-content: center; border-radius: 50%; background: var(--al-red); }
.footer-actions__icons a:hover { background: var(--al-red-dark); }
.footer-actions__icons svg { width: 18px; height: 18px; color: var(--al-white); }
.site-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; max-width: none; padding: 16px 4vw; background: var(--al-camo-light); color: var(--al-ink); }
.footer-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-menu a { color: var(--al-ink); font-size: 12.5px; font-weight: 600; letter-spacing: .5px; text-decoration: none; }
.footer-menu a:hover { color: var(--al-red); }
.copyright { margin: 0; font-size: 12.5px; font-weight: 600; letter-spacing: 1px; color: var(--al-ink); }
@media (max-width: 1000px) { .site-footer__inner { grid-template-columns: 1fr; justify-items: center; gap: 28px; } .footer-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; } }
@media (max-width: 480px) { .footer-actions { grid-template-columns: 1fr 1fr; gap: 10px; } .footer-actions li { padding: 14px 8px; } .site-footer__bottom { justify-content: center; text-align: center; } }

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

/* Alignement des bandeaux sur la grille du contenu */
.hero__inner, .cta__box, .related .container { max-width: calc(var(--al-max) - 8vw); margin-left: auto; margin-right: auto; }
@media (max-width: 1240px) { .hero__inner, .cta__box { max-width: none; } }
.related .container { padding: 0; }
.hero--post .hero__inner { max-width: calc(880px - 2 * var(--al-gutter)); }
.has-sidebar-layout .hero--post .hero__inner { max-width: calc(var(--al-max) - 8vw); }
@media (max-width: 640px) { .hero { padding: 56px var(--al-gutter) 52px; background: linear-gradient(180deg, rgba(0, 0, 0, .7), rgba(0, 0, 0, .82)), var(--hero-image) center / cover no-repeat, var(--al-black); } .site-main > .container, .related .container { padding: 0 var(--al-gutter); } .cta { padding: 48px var(--al-gutter); } }
