/* ==========================================================================
   Barbara Desrochers — styles principaux (mobile d'abord)
   ========================================================================== */

/* Polices auto-hébergées (SIL Open Font License) */
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("../fonts/open-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("../fonts/open-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
	--bd-black: #000;
	--bd-ink: #111;
	--bd-text: #1a1a1a;
	--bd-muted: #6b6b6b;
	--bd-line: #d9d9d9;
	--bd-soft: #f2f2f2;
	--bd-cream: #f7f4ef;
	--bd-white: #fff;
	--bd-font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--bd-font-alt: "Open Sans", system-ui, sans-serif;
	--bd-font-display: "BD Display", "Poppins", Georgia, serif;
	--bd-header-h: 64px;
	--bd-gutter: 20px;
	--bd-max: 1200px;
	--bd-narrow: 820px;
	--bd-space: clamp(48px, 8vw, 110px);
	--bd-radius: 999px;
	--bd-ease: cubic-bezier(.2, .7, .2, 1);
}

/* Base ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--bd-header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--bd-font); font-size: 15px; font-weight: 500; line-height: 1.75; color: var(--bd-text); background: var(--bd-white); -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img, video, iframe { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--bd-muted); }
:focus-visible { outline: 2px solid var(--bd-black); outline-offset: 3px; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .6em; font-weight: 700; color: var(--bd-ink); }
p, ul, ol, dl, blockquote, figure { margin: 0 0 1.2em; }
figure { margin-inline: 0; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); white-space: nowrap; border: 0; padding: 0; margin: -1px; }
.skip-link:focus { position: fixed !important; top: 8px; left: 8px; z-index: 1000; width: auto; height: auto; clip: auto; clip-path: none; padding: 10px 16px; background: var(--bd-black); color: var(--bd-white); margin: 0; }
.text-center { text-align: center; }

.container { width: 100%; max-width: var(--bd-max); margin-inline: auto; padding-inline: var(--bd-gutter); }
.container--narrow { max-width: var(--bd-narrow); }

/* Boutons ---------------------------------------------------------------- */
.btn-group { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.5em; }
.text-center .btn-group { justify-content: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 46px; padding: 12px 26px; font: 600 12px/1.2 var(--bd-font); letter-spacing: .18em; text-transform: uppercase; text-decoration: none; text-align: center; border: 1px solid var(--bd-black); border-radius: 0; cursor: pointer; transition: background .25s var(--bd-ease), color .25s var(--bd-ease); }
.btn--plein { background: var(--bd-black); color: var(--bd-white); }
.btn--plein:hover { background: var(--bd-white); color: var(--bd-black); }
.btn--contour { background: transparent; color: var(--bd-black); }
.btn--contour:hover { background: var(--bd-black); color: var(--bd-white); }
.btn--texte { border-color: transparent; padding-inline: 0; text-decoration: underline; }

/* En-tête ---------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--bd-white); }
.admin-bar .site-header { top: 46px; }
@media (min-width: 783px) { .admin-bar .site-header { top: 32px; } }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--bd-header-h); gap: 16px; }
.site-logo img { max-height: 44px; width: auto; }
.site-title { font-family: var(--bd-font-display); font-size: 27px; font-weight: 400; -webkit-text-stroke: .6px currentColor; text-decoration: none; letter-spacing: .02em; color: var(--bd-black); white-space: nowrap; }
@media (min-width: 1040px) { .site-title { font-size: 32px; -webkit-text-stroke-width: .7px; } }

/* Menu horizontal (grand écran) */
.desktop-nav { display: none; }
.desktop-menu { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0; list-style: none; margin: 0; padding: 0; }
.desktop-menu a { display: inline-flex; align-items: center; height: 40px; padding: 0 22px; font-size: 16px; font-weight: 500; color: #333; text-decoration: none; transition: background .2s, color .2s; }
@media (min-width: 1441px) { .desktop-menu a { padding: 0 30px; } }
@media (max-width: 1279px) { .desktop-menu a { padding: 0 12px; font-size: 15px; } }
.desktop-menu a:hover { color: var(--bd-black); background: var(--bd-soft); }
.desktop-menu .current-menu-item > a, .desktop-menu .current_page_item > a, .desktop-menu [aria-current="page"] { background: var(--bd-black); color: var(--bd-white); }

.menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; background: none; border: 0; cursor: pointer; color: var(--bd-ink); }
.menu-toggle__bars { position: relative; width: 26px; height: 16px; }
.menu-toggle__bars span { position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; transition: transform .3s var(--bd-ease), opacity .2s; }
.menu-toggle__bars span:nth-child(1) { top: 0; }
.menu-toggle__bars span:nth-child(2) { top: 7px; width: 70%; left: 30%; }
.menu-toggle__bars span:nth-child(3) { top: 14px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Menu plein écran */
.site-menu { position: fixed; inset: var(--bd-header-h) 0 0; background: var(--bd-white); overflow-y: auto; z-index: 99; }
.admin-bar .site-menu { top: calc(var(--bd-header-h) + 46px); }
@media (min-width: 783px) { .admin-bar .site-menu { top: calc(var(--bd-header-h) + 32px); } }
.site-menu[hidden] { display: none; }
.site-menu.is-open { animation: bd-fade .35s var(--bd-ease); }
@keyframes bd-fade { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.site-menu__inner { display: grid; gap: 40px; padding-block: 32px 48px; }
.main-navigation .menu, .main-navigation .menu-wrap > ul { list-style: none; margin: 0; padding: 0; }
.main-navigation li { margin: 0; }
.main-navigation a { display: inline-block; padding: 6px 0; font-size: clamp(26px, 7vw, 54px); font-weight: 600; line-height: 1.2; text-decoration: none; text-transform: uppercase; letter-spacing: .04em; color: var(--bd-ink); transition: color .2s, transform .25s var(--bd-ease); }
.main-navigation a:hover, .main-navigation a:focus-visible { color: var(--bd-muted); transform: translateX(6px); }
.main-navigation .current-menu-item > a, .main-navigation [aria-current="page"] { color: var(--bd-muted); }
.main-navigation .sub-menu { list-style: none; padding: 0 0 8px 16px; margin: 0; }
.main-navigation .sub-menu a { font-size: 18px; }
.site-menu__aside { display: grid; gap: 24px; align-content: end; }

/* Recherche */
.search-form { display: flex; border-bottom: 1px solid var(--bd-black); max-width: 420px; }
.search-form__field { flex: 1; min-width: 0; border: 0; padding: 12px 0; font: inherit; background: transparent; }
.search-form__field:focus { outline: none; }
.search-form:focus-within { outline: 2px solid var(--bd-black); outline-offset: 4px; }
.search-form__submit { border: 0; background: none; padding: 0 4px; cursor: pointer; color: var(--bd-ink); }
.text-center .search-form { margin: 0 auto 1.5em; }

/* Réseaux sociaux */
.social { display: flex; gap: 10px; list-style: none; padding: 0; margin: 0; }
.social a { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 1px solid currentColor; border-radius: 50%; transition: background .2s, color .2s; }
.social a:hover { background: var(--bd-black); color: var(--bd-white); }
.icon { width: 20px; height: 20px; flex: none; }

/* Panneau photo + contenu (mise en page du site) --------------------------- */
.page-visual { height: 62svh; min-height: 300px; background: var(--bd-soft); margin: 0 var(--bd-gutter); }
.page-visual__img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.site-main { container-type: inline-size; padding-bottom: 24px; }
.site-main > .section .container, .site-main > .page-header, .site-main > .hero { padding-inline: var(--bd-gutter); }
.site-main .container { max-width: none; }

/* Accueil */
.hero { display: flex; align-items: center; padding-block: 48px; }
.hero__title { margin: 0; font-family: var(--bd-font-display); font-weight: 400; font-size: clamp(56px, 11vw, 120px); line-height: 1; color: var(--bd-black); }
.hero__line { display: block; }
.hero__line--2 { padding-left: .45em; margin-top: -.15em; }
.hero__bar { display: block; width: min(400px, 70%); height: 7px; margin-top: 24px; background: var(--bd-black); }
.hero__tagline { margin: 20px 0 0; font-size: clamp(17px, 2vw, 20px); font-weight: 600; color: var(--bd-black); }

/* Titre de page */
.page-header { padding-top: 48px; }
.page-header .line-title { margin-bottom: 1em; }
.page-header__subtitle { margin: 0; font-size: 16px; font-weight: 600; }

/* Titre avec ligne (signature Cavani) */
.line-title { display: flex; align-items: center; gap: 16px; margin: 0 0 1.6em; font-size: 14px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
@media (min-width: 800px) { .line-title { gap: 24px; font-size: 15px; letter-spacing: .5em; } }
.line-title::after { content: ""; flex: 1 0 40px; height: 1px; background: var(--bd-black); opacity: .5; }
.line-title span { flex: 0 1 auto; }

/* Sections --------------------------------------------------------------- */
.section { padding-block: 32px; }
.site-main > .section:first-child { padding-top: 48px; }
.page-header + .section { padding-top: 16px; }
.section--bg-creme { background: var(--bd-cream); padding-block: 48px; }
.section--bg-noir { background: var(--bd-black); color: var(--bd-white); padding-block: 48px; }
.section--bg-noir h2, .section--bg-noir h3, .section--bg-noir .section__title { color: var(--bd-white); }
.section--bg-noir .line-title::after { background: var(--bd-white); }
.section--bg-noir .btn--plein { background: var(--bd-white); color: var(--bd-black); border-color: var(--bd-white); }
.section--bg-noir .btn--contour { color: var(--bd-white); border-color: var(--bd-white); }
.section__header { margin-bottom: 1.4em; }
.section__header .line-title { margin-bottom: .8em; }
.text-center .line-title::before { content: ""; flex: 1 0 40px; height: 1px; background: currentColor; opacity: .5; }
.section__subtitle { margin-top: -.3em; color: var(--bd-muted); font-weight: 600; }
.section__intro { margin-bottom: 2em; }

/* Texte riche */
.richtext > :last-child { margin-bottom: 0; }
.richtext h2 { font-size: clamp(20px, 2.6vw, 26px); margin-top: 1.6em; }
.richtext h3 { font-size: 17px; margin-top: 1.4em; }
.richtext strong { font-weight: 700; color: var(--bd-ink); }
.richtext ul, .richtext ol { padding-left: 1.3em; }
.richtext li { margin-bottom: .35em; }
.richtext blockquote { margin-inline: 0; padding-left: 20px; border-left: 2px solid var(--bd-black); font-style: italic; }
.richtext img { margin-block: 1.5em; }
.richtext .alignleft, .richtext .alignright { margin-bottom: 1em; }
@media (min-width: 700px) { .richtext .alignleft { float: left; margin-right: 1.5em; max-width: 50%; } .richtext .alignright { float: right; margin-left: 1.5em; max-width: 50%; } }
.richtext .aligncenter { margin-inline: auto; }
.section--bg-noir .richtext strong { color: var(--bd-white); }

/* Texte + image */
.split { display: grid; gap: 32px; align-items: start; }
@container (min-width: 560px) {
	.split { grid-template-columns: 1fr 1fr; gap: 36px; }
	.split--image-gauche .split__media { order: -1; }
}
.split__media img { width: 100%; }
.split--taille-petite .split__media img { max-width: 200px; }
@container (min-width: 560px) {
	.split--taille-moyenne { grid-template-columns: 2fr 1fr; }
	.split--taille-moyenne.split--image-gauche { grid-template-columns: 1fr 2fr; }
	.split--taille-petite { grid-template-columns: 1fr 200px; align-items: center; }
	.split--taille-petite.split--image-gauche { grid-template-columns: 200px 1fr; }
}
@container (min-width: 760px) { .split__media { position: sticky; top: calc(var(--bd-header-h) + 24px); } }
.split__media figcaption { margin-top: 8px; font-size: 13px; color: var(--bd-muted); }

/* Chronologie */
.timeline { list-style: none; margin: 0; padding: 0 0 0 26px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 1px; background: var(--bd-line); }
.timeline__item { position: relative; padding-bottom: 36px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before { content: ""; position: absolute; left: -26px; top: 6px; width: 13px; height: 13px; border-radius: 50%; background: var(--bd-white); border: 2px solid var(--bd-line); }
.timeline__year { display: inline-block; margin-bottom: 12px; padding: 3px 16px; font-size: 13px; font-weight: 600; background: var(--bd-soft); border-radius: var(--bd-radius); }
.timeline__title { margin: 0 0 2px; font-size: 15px; font-weight: 600; text-transform: uppercase; letter-spacing: .02em; }
.timeline__detail { margin: 0; font-size: 14px; color: var(--bd-text); }

/* Colonnes */
.columns { display: grid; gap: 32px; }
.columns { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.columns__title { font-size: 15px; text-transform: uppercase; letter-spacing: .08em; }

/* Livres */
.books { display: grid; gap: 64px; }
.book { display: grid; gap: 24px; }
.book__cover img { width: 100%; max-width: 360px; box-shadow: 0 14px 40px rgba(0,0,0,.12); }
.book__cover { margin: 0; }
.book__logo { display: block; margin-top: 20px; }
.book__logo img { width: auto; max-width: 200px; height: auto; box-shadow: none; }
.book__title { font-size: clamp(20px, 2.6vw, 26px); }
@container (min-width: 760px) {
	.book { grid-template-columns: 320px 1fr; gap: 48px; align-items: start; }
	.book:nth-child(even) { grid-template-columns: 1fr 320px; }
	.book:nth-child(even) .book__cover { order: 2; }
}

/* Téléchargements */
.downloads { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; }
@container (min-width: 480px) { .downloads { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@container (min-width: 640px) { .downloads { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.downloads__link { display: flex; flex-direction: column; height: 100%; gap: 10px; padding: 14px; text-decoration: none; border: 1px solid var(--bd-line); transition: border-color .2s, transform .2s var(--bd-ease); }
.downloads__link:hover { border-color: var(--bd-black); transform: translateY(-2px); color: inherit; }
.downloads__thumb { display: block; padding: 10%; background: var(--bd-white); }
.downloads__thumb img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.downloads__label { font-weight: 600; overflow-wrap: anywhere; hyphens: auto; }
.downloads__action { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 11px; letter-spacing: .15em; text-transform: uppercase; }
.downloads__action .icon { width: 16px; height: 16px; }

/* Critiques */
.reviews { display: grid; gap: 32px; }
@container (min-width: 760px) { .reviews { grid-template-columns: repeat(2, 1fr); } }
.review { margin: 0; padding: 32px; background: var(--bd-soft); }
.section--bg-creme .review { background: var(--bd-white); }
.review__title { font-size: 16px; }
.review__text { margin: 0 0 1em; font-style: italic; }
.review__author { font-weight: 600; font-size: 14px; }

/* Médias */
.media-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; }
.media-list__item { display: grid; gap: 16px; padding-bottom: 24px; border-bottom: 1px solid var(--bd-line); }
.media-list__title { font-size: 16px; margin-bottom: .3em; }
.media-list__text p { margin: 0; color: var(--bd-muted); }
.media-list__player { display: grid; gap: 12px; align-content: center; }
.media-list__player audio { width: 100%; }
@container (min-width: 560px) { .media-list__item { grid-template-columns: 1fr 1fr; align-items: center; } .media-list__item--video { grid-template-columns: 1fr; } }

/* Grille de vidéos : une grande, puis les autres en rangée de trois */
.video-grid { display: grid; gap: 12px; grid-template-columns: repeat(3, 1fr); }
.video-grid__item { margin: 0; }
.video-grid--videos .video-grid__item:first-child { grid-column: 1 / -1; }
.video-grid__caption { margin-top: 6px; font-size: 13px; font-weight: 600; }

/* Galerie */
.gallery-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(2, 1fr); }
@container (min-width: 560px) { .gallery-grid--3 { grid-template-columns: repeat(3, 1fr); } .gallery-grid--4 { grid-template-columns: repeat(4, 1fr); } .gallery-grid { gap: 12px; } }
.gallery-grid__link { display: block; overflow: hidden; background: var(--bd-soft); }
.gallery-grid__link img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s var(--bd-ease), filter .3s; }
.gallery-grid__link:hover img { transform: scale(1.04); }

/* Visionneuse */
.lightbox { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 56px 12px; background: rgba(0,0,0,.92); color: var(--bd-white); }
.lightbox[hidden] { display: none; }
.lightbox__figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox__img { max-height: calc(100svh - 140px); width: auto; object-fit: contain; }
.lightbox__caption { margin-top: 10px; font-size: 14px; text-align: center; }
.lightbox__btn { position: absolute; width: 48px; height: 48px; border: 0; background: rgba(255,255,255,.1); color: var(--bd-white); font-size: 26px; line-height: 1; cursor: pointer; border-radius: 50%; }
.lightbox__btn:hover { background: rgba(255,255,255,.25); }
.lightbox__close { top: 12px; right: 12px; }
.lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }

/* Film */
.film { display: grid; gap: 32px; }
@container (min-width: 760px) { .film { grid-template-columns: 5fr 7fr; gap: 48px; align-items: start; } }
.film__poster { position: relative; display: block; }
.film__poster img { width: 100%; }
.film__play { position: absolute; inset: 0; margin: auto; display: flex; align-items: center; justify-content: center; width: 76px; height: 76px; border-radius: 50%; background: rgba(255,255,255,.9); color: var(--bd-black); transition: transform .25s var(--bd-ease); }
.film__play .icon { width: 32px; height: 32px; }
.film__poster:hover .film__play { transform: scale(1.08); }
.film__meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 16px; margin-bottom: 2em; padding-bottom: 1.5em; border-bottom: 1px solid var(--bd-line); }
.film__meta dt { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--bd-muted); }
.film__meta dd { margin: 0; font-weight: 600; }
.film__title { font-size: clamp(24px, 3.4vw, 36px); margin-bottom: .2em; }
.film__subtitle { font-size: 17px; font-weight: 600; color: var(--bd-muted); }
.film__credits { margin-top: 1.5em; font-size: 14px; }

/* Intégrations vidéo */
.embed { position: relative; aspect-ratio: 16 / 9; background: var(--bd-black); }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Logos */
.logo-row { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 32px 48px; }
.logo-row img { max-height: 80px; width: auto; filter: grayscale(1); opacity: .8; transition: filter .2s, opacity .2s; }
.logo-row a:hover img { filter: none; opacity: 1; }

/* Liste de liens */
.link-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--bd-line); }
.link-list a { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; align-items: center; padding: 16px 0; text-decoration: none; border-bottom: 1px solid var(--bd-line); }
.link-list__title { font-weight: 600; }
.link-list__desc { grid-column: 1; font-size: 14px; color: var(--bd-muted); }
.link-list .icon { grid-column: 2; grid-row: 1 / span 2; transition: transform .2s var(--bd-ease); }
.link-list a:hover .icon { transform: translateX(4px); }

/* Événements */
.events { list-style: none; margin: 0 0 2em; padding: 0; display: grid; gap: 16px; }
.event { display: grid; grid-template-columns: 76px 1fr; gap: 20px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--bd-line); }
.event__date { display: flex; flex-direction: column; align-items: center; justify-content: center; aspect-ratio: 1; background: var(--bd-black); color: var(--bd-white); text-transform: uppercase; }
.event__day { font-size: 26px; font-weight: 700; line-height: 1; }
.event__month { font-size: 10px; letter-spacing: .1em; }
.event__title { font-size: 17px; margin-bottom: .2em; }
.event__title a { text-decoration: none; }
.event__meta { margin: 0; font-size: 14px; color: var(--bd-muted); }
.events__empty, .events__note { color: var(--bd-muted); }

/* Code court / formulaires (Contact Form 7) */
.shortcode-output input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]), .shortcode-output textarea, .shortcode-output select { width: 100%; padding: 12px 14px; font: inherit; border: 1px solid var(--bd-line); background: var(--bd-white); border-radius: 0; }
.shortcode-output input:focus, .shortcode-output textarea:focus, .shortcode-output select:focus { outline: 2px solid var(--bd-black); outline-offset: 0; border-color: var(--bd-black); }
.shortcode-output input[type="submit"] { min-height: 46px; padding: 12px 26px; font: 600 12px/1.2 var(--bd-font); letter-spacing: .18em; text-transform: uppercase; background: var(--bd-black); color: var(--bd-white); border: 1px solid var(--bd-black); cursor: pointer; }
.shortcode-output input[type="submit"]:hover { background: var(--bd-white); color: var(--bd-black); }

/* Pages génériques, blogue -------------------------------------------- */
.page-intro { padding-top: var(--bd-space); padding-bottom: 24px; }
.page-title { font-size: clamp(28px, 4.5vw, 48px); }
.display-title { font-family: var(--bd-font-display); font-size: clamp(90px, 20vw, 200px); line-height: 1; margin: 0; }
.entry-meta { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--bd-muted); }
.entry-thumbnail img { width: 100%; }
.entry .richtext { padding-bottom: var(--bd-space); }
.post-grid { display: grid; gap: 40px; padding-bottom: 40px; }
@media (min-width: 700px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }
.card__media img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.card__body { padding-top: 16px; }
.card__title { font-size: 19px; }
.card__title a { text-decoration: none; }
.card__meta { font-size: 13px; color: var(--bd-muted); margin-bottom: .5em; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: var(--bd-space); }
.page-numbers { display: inline-flex; min-width: 42px; height: 42px; align-items: center; justify-content: center; padding: 0 12px; border: 1px solid var(--bd-line); text-decoration: none; }
.page-numbers.current { background: var(--bd-black); color: var(--bd-white); border-color: var(--bd-black); }
.post-nav { padding-bottom: var(--bd-space); }
.post-nav .nav-links { justify-content: space-between; padding: 24px 0 0; border-top: 1px solid var(--bd-line); }
.post-nav__label { display: block; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--bd-muted); }
.section--404 { padding-block: var(--bd-space); }

/* Pied de page ---------------------------------------------------------- */
.site-footer { padding-block: 20px; border-top: 1px solid var(--bd-line); font-size: 13px; background: var(--bd-white); }
.site-footer__inner { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.site-footer__copy, .site-footer__credit { margin: 0; }
.site-footer__credit { color: var(--bd-muted); }
.site-footer__credit a { text-decoration: none; }
.site-footer__credit a:hover { text-decoration: underline; }
.footer-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; }
.footer-menu a { text-decoration: none; letter-spacing: .08em; text-transform: uppercase; font-size: 12px; }
.site-footer .social a { width: 34px; height: 34px; }
.site-footer .social .icon { width: 16px; height: 16px; }
@media (min-width: 800px) {
	.site-footer__inner { flex-direction: row; justify-content: space-between; text-align: left; }
	.site-footer__legal { display: flex; gap: 24px; align-items: center; }
}

/* Grand écran : photo fixe à gauche, contenu à droite (comme le site actuel) */
@media (min-width: 800px) {
	:root { --bd-gutter: 40px; }
}
@media (min-width: 1040px) {
	:root { --bd-header-h: 60px; --bd-footer-h: 60px; --bd-frame: 60px; --bd-visual-w: calc((100vw - 2 * var(--bd-frame)) * .35); }
	.menu-toggle, .site-menu { display: none !important; }
	.desktop-nav { display: block; }
	.site-header__inner { max-width: none; padding-inline: var(--bd-frame); }
	.site-header { position: fixed; left: 0; right: 0; }
	.site-frame { padding-top: var(--bd-header-h); padding-bottom: var(--bd-footer-h); }
	.page-visual { position: fixed; z-index: 5; top: var(--bd-header-h); bottom: var(--bd-footer-h); left: var(--bd-frame); width: var(--bd-visual-w); height: auto; min-height: 0; margin: 0; }
	.admin-bar .page-visual { top: calc(var(--bd-header-h) + 32px); }
	.has-visual .site-main { margin-left: calc(var(--bd-frame) + var(--bd-visual-w) + 50px); margin-right: var(--bd-frame); }
	.no-visual .site-main { max-width: var(--bd-max); margin-inline: auto; padding-inline: var(--bd-frame); }
	.site-main > .section .container, .site-main > .page-header, .site-main > .hero { padding-inline: 0; }
	.section--bg-creme, .section--bg-noir { padding-inline: 32px; }
	.hero { min-height: calc(100vh - var(--bd-header-h) - var(--bd-footer-h) - 32px); padding-block: 40px; }
	.page-header { padding-top: 56px; }
	.site-footer { position: fixed; z-index: 90; left: 0; right: 0; bottom: 0; height: var(--bd-footer-h); padding: 0; border-top: 0; display: flex; align-items: center; }
	.site-footer__inner { max-width: none; padding-inline: var(--bd-frame); }
	.site-footer .footer-menu, .site-footer .social { display: none; }
	html { scroll-padding-top: calc(var(--bd-header-h) + 24px); }
}
@media (min-width: 1441px) {
	:root { --bd-header-h: 70px; --bd-footer-h: 70px; --bd-frame: 70px; }
}

/* Impression */
@media print {
	.site-header, .site-footer, .hero__media, .page-header__media, .btn-group, .embed { display: none !important; }
	body { color: #000; font-size: 12pt; }
	a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 10pt; }
}
