/*
Theme Name:   MicroPartner
Template:     micropartner-socle
Description:  Thème de MicroPartner.
Version:      1.2.0
Text Domain:  micropartner
*/

/* ════════════════════════════════════════════════════════════════════
   Jetons
   ════════════════════════════════════════════════════════════════════ */
:root {
	--mp-creme: #f6f4ee;
	--mp-creme-2: #efece4;
	--mp-blanc: #fffefb;
	--mp-vert-nuit: #15241c;
	--mp-vert-nuit-2: #1c2d24;
	--mp-vert: #5f8a3a;
	--mp-vert-clair: #7aa64c;
	--mp-texte: #1a1f1b;
	--mp-gris: #5a5f5a;
	--mp-bordure: #e3dfd4;
	--mp-ombre: 0 10px 28px rgba(21, 36, 28, .08);
	--mp-ombre-forte: 0 18px 40px rgba(21, 36, 28, .15);
	--mp-rayon: 10px;
	--mp-serif: "Source Serif 4", "Serif Repli", Georgia, "Times New Roman", serif;
	--mp-sans: "Inter", "Inter Repli", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
	--mp-largeur: 1240px;
	--mp-gouttiere: clamp(1.1rem, 4vw, 3rem);

	--obs-fond: var(--mp-blanc);
	--obs-fond-doux: var(--mp-creme);
	--obs-texte: var(--mp-texte);
	--obs-texte-doux: var(--mp-gris);
	--obs-bordure: var(--mp-bordure);
	--obs-accent: var(--mp-vert-nuit);
	--obs-accent-texte: #ffffff;
	--obs-lien: var(--mp-vert);
	--obs-police: var(--mp-sans);
	--obs-police-titres: var(--mp-serif);
	--obs-rayon: 999px;
	--obs-ck-fond: #fffefb;
	--obs-ck-texte: var(--mp-texte);
	--obs-ck-doux: var(--mp-gris);
	--obs-ck-bordure: var(--mp-bordure);
	--obs-ck-accent: var(--mp-vert-nuit);
}

/* ════════════════════════════════════════════════════════════════════
   Base
   ════════════════════════════════════════════════════════════════════ */
body { font-family: var(--mp-sans); color: var(--mp-texte); background: var(--mp-creme); font-size: 1rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
.obs-main { padding-bottom: 0; }
h1, h2, h3, h4 { font-family: var(--mp-serif); font-weight: 600; letter-spacing: -.015em; }
a { color: var(--mp-vert); }
::selection { background: var(--mp-vert); color: #fff; }
.mp-conteneur { width: 100%; max-width: var(--mp-largeur); margin: 0 auto; padding: 0 var(--mp-gouttiere); }
.mp-conteneur--article { max-width: calc(780px + 2 * var(--mp-gouttiere)); }
.mp-icone { width: 1.15em; height: 1.15em; flex: none; }
.mp-trait { display: block; width: 44px; height: 2px; background: var(--mp-vert); margin-bottom: 1rem; }

/* Boutons */
.mp-bouton, .obs-bouton {
	display: inline-flex; align-items: center; justify-content: center; gap: .6em;
	padding: 1em 1.6em; border: 0; border-radius: 999px;
	background: var(--mp-vert-nuit); color: #fff;
	font: 600 .95rem/1.1 var(--mp-sans); text-decoration: none; cursor: pointer;
	transition: background .2s, transform .2s;
}
.mp-bouton:hover, .obs-bouton:hover { background: var(--mp-vert); color: #fff; transform: translateY(-1px); filter: none; }
.mp-bouton .mp-icone { width: 1.05em; height: 1.05em; transition: transform .2s; }
.mp-bouton:hover .mp-icone { transform: translateX(3px); }
.mp-bouton--petit { padding: .72em 1.2em; font-size: .85rem; }
.mp-lien-fleche { display: inline-flex; align-items: center; gap: .5em; color: var(--mp-texte); font-weight: 500; font-size: .9rem; text-decoration: none; }
.mp-lien-fleche:hover { color: var(--mp-vert); }
.mp-lien-fleche .mp-icone { width: 1.05em; height: 1.05em; }

.mp-titre { font-size: clamp(1.8rem, 3.4vw, 2.4rem); line-height: 1.12; margin: 0; color: var(--mp-texte); }
.mp-surtitre { display: flex; align-items: center; gap: 1rem; margin: 0 0 1.6rem; font-size: .74rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--mp-texte); }
.mp-surtitre::after { content: ""; width: 110px; height: 1px; background: rgba(26, 31, 27, .25); }

.mp-pastille { position: absolute; top: 14px; left: 14px; z-index: 2; padding: .4em .95em; border-radius: 999px; background: var(--mp-vert-nuit); color: #fff; font-size: .74rem; font-weight: 600; }
.mp-pastille--statique { position: static; display: inline-block; margin-bottom: 1.1rem; }

/* ════════════════════════════════════════════════════════════════════
   En-tête
   ════════════════════════════════════════════════════════════════════ */
.mp-entete { position: sticky; top: 0; z-index: 60; background: rgba(246, 244, 238, .96); color: var(--mp-texte); border-bottom: 1px solid var(--mp-bordure); backdrop-filter: blur(8px); transition: background .25s, box-shadow .25s, border-color .25s; }
.admin-bar .mp-entete { top: 32px; }
.mp-accueil .mp-entete { position: fixed; left: 0; right: 0; background: transparent; border-color: transparent; backdrop-filter: none; }
.admin-bar.mp-accueil .mp-entete { top: 32px; }
.mp-accueil .mp-entete.is-defile, .mp-menu-ouvert .mp-entete { background: rgba(246, 244, 238, .96); border-color: var(--mp-bordure); box-shadow: 0 6px 24px rgba(21, 36, 28, .08); backdrop-filter: blur(8px); }
.mp-entete__ligne { display: flex; align-items: center; gap: clamp(1.2rem, 2.2vw, 2.5rem); min-height: 82px; }

.mp-logo { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; flex: none; color: var(--mp-texte); }
.mp-logo__m { width: 48px; height: 32px; }
.mp-logo__texte { font: 500 1.6rem/1 var(--mp-serif); letter-spacing: -.02em; }
.mp-logo img { max-height: 44px; width: auto; }
.mp-logo--pied { color: #f3f1ea; }
.mp-logo--pied .mp-logo__m { width: 60px; height: 40px; }
.mp-logo--pied .mp-logo__texte { font-size: 2rem; }

.mp-nav { flex: 1; display: flex; }
.mp-nav__liste { list-style: none; display: flex; gap: clamp(.8rem, 1.6vw, 1.6rem); margin: 0; padding: 0; }
.mp-nav__liste a { position: relative; display: block; padding: .6rem 0; color: var(--mp-texte); font-size: .88rem; white-space: nowrap; font-weight: 500; text-decoration: none; transition: color .2s; }
.mp-nav__liste a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--mp-vert); transform: scaleX(0); transition: transform .25s; }
.mp-nav__liste a:hover, .mp-nav__liste .current-menu-item > a, .mp-nav__liste .current-menu-parent > a, .mp-nav__liste a[aria-current] { color: var(--mp-vert); }
.mp-nav__liste a:hover::after, .mp-nav__liste .current-menu-item > a::after, .mp-nav__liste .current-menu-parent > a::after, .mp-nav__liste a[aria-current]::after { transform: scaleX(1); }
.mp-nav__cta-mobile { display: none; }
.mp-entete__actions { display: flex; align-items: center; gap: 1.4rem; flex: none; }
.mp-entete__icone { display: inline-flex; padding: .4rem; border: 0; background: none; color: var(--mp-texte); cursor: pointer; border-radius: 8px; }
.mp-entete__icone .mp-icone { width: 22px; height: 22px; }
.mp-entete__icone:hover { color: var(--mp-vert); }
.mp-entete__burger { display: none; }
.mp-recherche { background: var(--mp-creme); border-top: 1px solid var(--mp-bordure); padding: 1rem 0; }
.mp-recherche[hidden] { display: none; }
.mp-recherche__form { display: flex; align-items: center; gap: .8rem; background: #fff; border: 1px solid var(--mp-bordure); border-radius: 999px; padding: .35rem .35rem .35rem 1.1rem; max-width: 720px; margin: 0 auto; color: var(--mp-gris); }
.mp-recherche__form input { flex: 1; min-width: 0; border: 0; outline: 0; font: 400 .95rem var(--mp-sans); color: var(--mp-texte); background: transparent; padding: .5rem 0; }

@media (max-width: 1180px) {
	.mp-entete__burger { display: inline-flex; }
	.mp-entete__cta { display: none; }
	.mp-entete__ligne { justify-content: space-between; }
	.mp-nav { position: fixed; inset: 82px 0 0; z-index: 59; display: none; flex-direction: column; gap: 2rem; padding: 2rem var(--mp-gouttiere); background: var(--mp-creme); overflow-y: auto; }
	.admin-bar .mp-nav { top: 114px; }
	.mp-nav.is-ouvert { display: flex; }
	.mp-nav__liste { flex-direction: column; gap: .2rem; }
	.mp-nav__liste a { font: 500 1.4rem var(--mp-serif); padding: .7rem 0; border-bottom: 1px solid var(--mp-bordure); }
	.mp-nav__liste a::after { display: none; }
	.mp-nav__cta-mobile { display: inline-flex; align-self: flex-start; }
	.mp-menu-ouvert body { overflow: hidden; }
}
@media (max-width: 782px) { .admin-bar .mp-entete, .admin-bar.mp-accueil .mp-entete { top: 46px; } .admin-bar .mp-nav { top: 128px; } }

/* ════════════════════════════════════════════════════════════════════
   Héros
   ════════════════════════════════════════════════════════════════════ */
.mp-heros { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(180deg, #f1efe9, #efede6); min-height: clamp(560px, 82vh, 720px); display: flex; align-items: center; padding: 130px 0 80px; }
.mp-heros__image { position: absolute; inset: 0 0 0 auto; width: min(58%, 900px); z-index: -2; background-size: cover; background-position: 40% 40%; -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .55) 16%, #000 36%); mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .55) 16%, #000 36%); }
.mp-heros::before, .mp-heros::after { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; pointer-events: none; }
.mp-heros::before { left: 38%; width: 22%; background: linear-gradient(180deg, rgba(255, 255, 255, .7), rgba(255, 255, 255, .15)); clip-path: polygon(55% 0, 100% 0, 45% 100%, 0 100%); }
.mp-heros::after { left: 46%; width: 18%; background: linear-gradient(180deg, rgba(255, 255, 255, .45), rgba(255, 255, 255, 0)); clip-path: polygon(60% 0, 100% 0, 40% 100%, 0 100%); }
.mp-heros__titre { font-size: clamp(2.2rem, 4.4vw, 3.6rem); font-weight: 500; line-height: 1.04; letter-spacing: -.03em; max-width: 20ch; margin: 0 0 1.5rem; color: var(--mp-texte); }
.mp-heros__titre em { font-style: italic; color: var(--mp-vert); font-weight: 500; }
.mp-heros__texte { font-size: clamp(1rem, 1.4vw, 1.12rem); line-height: 1.55; max-width: 40ch; margin: 0 0 2.1rem; color: var(--mp-texte); }
@media (max-width: 800px) {
	.mp-heros { min-height: 0; flex-direction: column; align-items: stretch; padding: 100px 0 3rem; }
	.mp-heros__image { position: relative; inset: auto; order: 2; width: auto; height: 300px; margin: 2rem var(--mp-gouttiere) 0; border-radius: 14px; -webkit-mask-image: none; mask-image: none; }
	.mp-heros::before, .mp-heros::after { display: none; }
}

/* ════════════════════════════════════════════════════════════════════
   Sections, cartes
   ════════════════════════════════════════════════════════════════════ */
.mp-section { padding: clamp(3rem, 6vw, 4.5rem) 0; }
.mp-section--serre { padding-top: 0; }
.mp-section--liste { padding-top: 2.4rem; }
.mp-section__tete { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; margin-bottom: 2rem; }
.mp-grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.6rem); }
@media (max-width: 980px) { .mp-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .mp-grille { grid-template-columns: 1fr; } }

.mp-carte { position: relative; display: flex; flex-direction: column; background: var(--mp-blanc); border-radius: var(--mp-rayon); overflow: hidden; box-shadow: var(--mp-ombre); transition: transform .25s, box-shadow .25s; }
.mp-carte:hover { transform: translateY(-4px); box-shadow: var(--mp-ombre-forte); }
.mp-carte__image { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--mp-creme-2); }
.mp-carte__image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.mp-carte:hover .mp-carte__image img { transform: scale(1.04); }
.mp-carte__vide { position: absolute; inset: 0; background: linear-gradient(135deg, #dfe6d6, #c9d4bd); }
.mp-carte__corps { display: flex; flex-direction: column; flex: 1; padding: 1.3rem 1.3rem 1.2rem; }
.mp-carte__titre { font-size: 1.3rem; font-weight: 600; line-height: 1.22; margin: 0 0 .7rem; letter-spacing: -.015em; }
.mp-carte__titre a { color: var(--mp-texte); text-decoration: none; }
.mp-carte__titre a::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.mp-carte:hover .mp-carte__titre a { color: var(--mp-vert); }
.mp-carte__extrait { font-size: .88rem; line-height: 1.55; color: var(--mp-gris); margin: 0 0 1.2rem; }
.mp-carte__pied { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: auto; }
.mp-carte__fleche { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: var(--mp-vert-nuit); color: #fff; transition: background .25s, transform .25s; }
.mp-carte__fleche .mp-icone { width: 14px; height: 14px; }
.mp-carte:hover .mp-carte__fleche { background: var(--mp-vert); transform: translateX(3px); }
.mp-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem 1.2rem; font-size: .76rem; color: var(--mp-texte); }
.mp-meta__item { display: inline-flex; align-items: center; gap: .45em; }
.mp-meta .mp-icone { width: 1.15em; height: 1.15em; }
.mp-meta--clair { color: var(--mp-gris); font-size: .85rem; margin-top: 1.2rem; }

/* Thématiques */
.mp-themes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .75rem; }
.mp-theme a { position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; height: 86px; border-radius: 8px; overflow: hidden; color: #fff; text-decoration: none; background-size: cover; background-position: center; }
.mp-theme a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(21, 36, 28, .55), rgba(21, 36, 28, .78)); transition: background .25s; }
.mp-theme a:hover::before { background: linear-gradient(180deg, rgba(95, 138, 58, .7), rgba(21, 36, 28, .85)); }
.mp-theme .mp-icone { width: 30px; height: 30px; }
.mp-theme__nom { font-weight: 600; font-size: .9rem; line-height: 1.2; text-align: center; padding: 0 .5rem; }
@media (max-width: 1100px) { .mp-themes { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 520px) { .mp-themes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Newsletter */
.mp-news { padding: 0 0 clamp(2rem, 4vw, 3rem); }
.mp-news__boite { position: relative; display: grid; grid-template-columns: 1fr minmax(300px, 38%); align-items: center; gap: 2rem; background: var(--mp-vert-nuit); color: #fff; border-radius: 14px; overflow: hidden; min-height: 120px; padding: 1.7rem clamp(1.4rem, 3vw, 1.8rem) 1.7rem clamp(8rem, 14vw, 9.5rem); }
.mp-news__deco { position: absolute; left: 0; top: 0; height: 100%; width: clamp(6.5rem, 12vw, 8.5rem); }
.mp-news .mp-trait { margin-bottom: .7rem; }
.mp-news__titre { font-size: clamp(1.45rem, 2.6vw, 1.85rem); font-weight: 500; margin: 0 0 .35rem; color: #fff; }
.mp-news__texte p { margin: 0; color: rgba(255, 255, 255, .85); font-size: .92rem; }
.mp-news .obs-news { margin: 0; }
.mp-news .obs-news__ligne { gap: .5rem; }
.mp-news .obs-news input[type="email"] {
	border: 0; border-radius: 999px; padding: .95em 1em .95em 2.8em; font: 400 .85rem var(--mp-sans); color: var(--mp-texte);
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a5f5a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5.5' width='18' height='13' rx='2'/%3E%3Cpath d='m3.5 7 8.5 6 8.5-6'/%3E%3C/svg%3E") no-repeat 1em 50% / 1.1em;
}
.mp-news .obs-bouton { flex: none; background: var(--mp-vert); padding: .95em 1.4em; font-size: .85rem; }
.mp-news .obs-bouton:hover { background: var(--mp-vert-clair); }
.mp-news .obs-bouton::after { content: "→"; margin-left: .15em; }
.mp-news .obs-news__note { background: rgba(255, 255, 255, .1); color: #fff; }
.mp-news .obs-news__note[data-state="error"] { background: rgba(224, 72, 52, .2); color: #ffc2b8; }
@media (max-width: 900px) { .mp-news__boite { grid-template-columns: 1fr; padding-left: clamp(6rem, 22vw, 8rem); } }
@media (max-width: 520px) { .mp-news__boite { padding: 1.6rem 1.3rem; } .mp-news__deco { opacity: .25; } .mp-news .obs-news__ligne { flex-direction: column; } }

/* ════════════════════════════════════════════════════════════════════
   Bandeau (pages, listes, articles)
   ════════════════════════════════════════════════════════════════════ */
.mp-bandeau { position: relative; overflow: hidden; background: var(--mp-creme-2); padding: clamp(2.2rem, 5vw, 3.6rem) 0 clamp(2.4rem, 5vw, 3.4rem); border-bottom: 1px solid var(--mp-bordure); }
.mp-bandeau::after { content: ""; position: absolute; right: -60px; top: -40px; width: 340px; height: 300px; background: linear-gradient(115deg, transparent 40%, rgba(95, 138, 58, .14) 41%, rgba(95, 138, 58, .05) 70%, transparent 71%); pointer-events: none; }
.mp-bandeau .mp-conteneur { position: relative; z-index: 1; }
.mp-bandeau__titre { font-size: clamp(1.8rem, 3.4vw, 2.7rem); font-weight: 500; line-height: 1.08; letter-spacing: -.025em; margin: 0; max-width: 22ch; color: var(--mp-texte); text-wrap: balance; }
.mp-bandeau__chapo { max-width: 62ch; margin-top: 1rem; color: var(--mp-gris); font-size: 1.05rem; }
.mp-bandeau__chapo p { margin: 0; }
.mp-bandeau--avec-image { padding-bottom: clamp(7rem, 14vw, 9.5rem); }
.mp-bandeau .obs-ariane { margin: 0 0 1.4rem; font-size: .8rem; color: var(--mp-gris); }
.mp-bandeau .obs-ariane a { color: var(--mp-gris); text-decoration: none; }
.mp-bandeau .obs-ariane a:hover { color: var(--mp-vert); }

.mp-filtres { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.mp-filtre { padding: .55em 1.1em; border-radius: 999px; background: var(--mp-blanc); border: 1px solid var(--mp-bordure); color: var(--mp-texte); font-size: .85rem; font-weight: 500; text-decoration: none; transition: background .2s, color .2s, border-color .2s; }
.mp-filtre:hover { border-color: var(--mp-vert); color: var(--mp-vert); }
.mp-filtre.is-actif { background: var(--mp-vert-nuit); border-color: var(--mp-vert-nuit); color: #fff; }
.mp-vide { color: var(--mp-gris); }

.pagination { margin-top: 2.4rem; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; }
.pagination .page-numbers { min-width: 2.6em; text-align: center; padding: .6em .95em; border: 1px solid var(--mp-bordure); border-radius: 999px; background: var(--mp-blanc); color: var(--mp-texte); font-size: .88rem; text-decoration: none; }
.pagination .page-numbers.current, .pagination a.page-numbers:hover { background: var(--mp-vert-nuit); border-color: var(--mp-vert-nuit); color: #fff; }

/* ════════════════════════════════════════════════════════════════════
   Article et contenu
   ════════════════════════════════════════════════════════════════════ */
.mp-section--article { padding-top: clamp(2rem, 4vw, 3rem); }
.mp-article__image { margin: calc(-1 * clamp(7rem, 14vw, 9.5rem) - clamp(2rem, 4vw, 3rem) + 2.2rem) 0 2.4rem; position: relative; }
.mp-article__image img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; box-shadow: var(--mp-ombre-forte); }
.mp-contenu { font-size: 1.06rem; line-height: 1.78; color: #2a2f2b; }
.mp-contenu > *:first-child { margin-top: 0; }
.mp-contenu h2 { font-size: clamp(1.5rem, 2.8vw, 1.95rem); margin: 2em 0 .6em; color: var(--mp-texte); }
.mp-contenu h3 { font-size: 1.3rem; margin: 1.7em 0 .5em; }
.mp-contenu p, .mp-contenu ul, .mp-contenu ol { margin: 0 0 1.25em; }
.mp-contenu ul, .mp-contenu ol { padding-left: 1.3em; }
.mp-contenu li { margin-bottom: .45em; }
.mp-contenu li::marker { color: var(--mp-vert); }
.mp-contenu a { color: var(--mp-vert); text-underline-offset: .2em; }
.mp-contenu strong { color: var(--mp-texte); }
.mp-contenu blockquote { margin: 2em 0; padding: .3em 0 .3em 1.4em; border-left: 2px solid var(--mp-vert); font: italic 1.3rem/1.5 var(--mp-serif); color: var(--mp-texte); }
.mp-contenu blockquote p:last-child { margin-bottom: 0; }
.mp-contenu img { border-radius: 10px; height: auto; }
.mp-contenu figure { margin: 2em 0; }
.mp-contenu figcaption { font-size: .85rem; color: var(--mp-gris); text-align: center; margin-top: .6em; }
.mp-contenu hr { border: 0; height: 1px; background: var(--mp-bordure); margin: 2.5em 0; }
.mp-contenu .obs-form { margin-top: 1.5rem; }
.obs-lies { border-top: 0; margin-top: 3.5rem; padding-top: 0; }
.obs-lies h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 0 0 1.6rem; }
.obs-lies h2::before { content: ""; display: block; width: 44px; height: 2px; background: var(--mp-vert); margin-bottom: 1rem; }
.obs-lies .obs-grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
@media (max-width: 980px) { .obs-lies .obs-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .obs-lies .obs-grille { grid-template-columns: 1fr; } }

.obs-form input[type="text"], .obs-form input[type="email"], .obs-form input[type="tel"], .obs-form select, .obs-form textarea { border-radius: 8px; border-color: var(--mp-bordure); background: #fff; }
.obs-404 { padding-top: 3rem; padding-bottom: 4rem; }
.obs-404__code { font-family: var(--mp-serif); font-style: italic; color: var(--mp-vert); opacity: .8; }
.obs-recherche { margin: 0 0 2rem; }
.obs-recherche input[type="search"] { border-radius: 999px; padding-left: 1.2em; }

/* ════════════════════════════════════════════════════════════════════
   Pied de page
   ════════════════════════════════════════════════════════════════════ */
.mp-pied { position: relative; overflow: hidden; background: #151b17; color: #f3f1ea; padding-top: clamp(2.6rem, 5vw, 3.6rem); }
.mp-pied__filigrane { position: absolute; right: clamp(-40px, 2vw, 30px); bottom: 70px; width: min(220px, 30vw); fill: rgba(255, 255, 255, .07); pointer-events: none; }
.mp-pied__grille { position: relative; display: grid; grid-template-columns: minmax(260px, 1.3fr) minmax(140px, .55fr) minmax(160px, 1fr); gap: 2.4rem; padding-bottom: 2.6rem; }
.mp-pied__marque p { margin: .7rem 0 0 4.2rem; color: rgba(243, 241, 234, .85); font-size: .9rem; }
.mp-pied__titre { font-weight: 600; font-size: .95rem; margin: 0 0 1rem; color: #fff; }
.mp-pied__liens { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.mp-pied__liens a { color: rgba(243, 241, 234, .82); font-size: .86rem; text-decoration: none; }
.mp-pied__liens a:not([href]) { color: #fff; }
.mp-pied__liens a:hover, .mp-pied__legal a:hover { color: var(--mp-vert-clair); }
.mp-pied__reseaux { list-style: none; margin: 0; padding: 0; display: flex; gap: 1rem; }
.mp-pied__reseaux a { display: inline-flex; color: #f3f1ea; transition: color .2s, transform .2s; }
.mp-pied__reseaux a:hover { color: var(--mp-vert-clair); transform: translateY(-2px); }
.mp-pied__reseaux .mp-icone { width: 20px; height: 20px; }
.mp-pied__bas { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem 2rem; padding-top: 1.3rem; padding-bottom: 1.5rem; }
.mp-pied__bas::before { content: ""; position: absolute; top: 0; left: var(--mp-gouttiere); right: var(--mp-gouttiere); height: 1px; background: rgba(255, 255, 255, .13); }
.mp-pied__legal { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.mp-pied__legal li + li::before { content: "|"; margin: 0 .9rem; color: rgba(255, 255, 255, .3); }
.mp-pied__legal a { color: rgba(243, 241, 234, .85); font-size: .78rem; text-decoration: none; }
.mp-pied__copyright { margin: 0; font-size: .76rem; color: rgba(243, 241, 234, .7); }
@media (max-width: 760px) { .mp-pied__grille { grid-template-columns: 1fr 1fr; } .mp-pied__marque { grid-column: 1 / -1; } .mp-pied__marque p { margin-left: 0; } }

/* Fenêtre cookies */
.ck { border-radius: 14px; box-shadow: 0 24px 60px rgba(21, 36, 28, .2); }
.ck-btn { border-radius: 999px; }

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

/* ─── Accueil : sections éditoriales (template-parts/accueil.php, 2026-11-14) ──────────────── */
.acc-section { padding: clamp(3.2rem, 6.5vw, 5.2rem) 0; }
.acc-section--fond { background: var(--mp-creme); }
.acc-tete { max-width: 720px; margin-bottom: clamp(1.8rem, 3.4vw, 2.8rem); }
.acc-sur { display: inline-block; font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--mp-vert); margin-bottom: .8rem; }
.acc-titre { font-family: var(--mp-serif); font-size: clamp(1.9rem, 3.7vw, 2.75rem); font-weight: 600;  line-height: 1.08; margin: 0; color: var(--mp-texte); }
.acc-titre em { font-style: italic; color: var(--mp-vert); }
.acc-intro { margin: 1.1rem 0 0; font-size: 1.08rem; line-height: 1.7; color: var(--mp-gris); }

/* 1. Par où commencer */
.acc-piliers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.acc-pilier { position: relative; display: flex; flex-direction: column; background: var(--mp-blanc); border-radius: var(--mp-rayon); overflow: hidden; box-shadow: var(--mp-ombre); transition: transform .25s, box-shadow .25s; }
.acc-pilier:hover { transform: translateY(-5px); box-shadow: var(--mp-ombre-forte); }
.acc-pilier > a, .acc-pilier > div { display: flex; flex-direction: column; flex: 1; color: inherit; text-decoration: none; }
.acc-pilier__image { position: relative; aspect-ratio: 4 / 3; margin: 0; overflow: hidden; background: var(--mp-vert-nuit); }
.acc-pilier__image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s; }
.acc-pilier:hover .acc-pilier__image img { transform: scale(1.06); }
.acc-pilier__image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .5), rgba(0, 0, 0, 0) 60%); }
.acc-pilier__num { position: absolute; top: .9rem; left: .9rem; z-index: 1; font-family: var(--mp-serif); font-size: .95rem; font-weight: 800; font-style: italic; letter-spacing: .04em; color: #fff; background: var(--mp-vert); padding: .32em .75em; border-radius: 999px; box-shadow: 0 4px 12px rgba(0, 0, 0, .25); }
.acc-pilier__bientot { position: absolute; bottom: .9rem; right: .9rem; z-index: 1; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: rgba(0, 0, 0, .55); backdrop-filter: blur(4px); padding: .4em .8em; border-radius: 999px; }
.acc-pilier__corps { display: flex; flex-direction: column; flex: 1; padding: clamp(1.1rem, 2vw, 1.5rem); }
.acc-pilier h3 { font-family: var(--mp-serif); font-size: 1.2rem; font-weight: 600; line-height: 1.25; margin: 0 0 .6rem; color: var(--mp-texte); }
.acc-pilier p { margin: 0; font-size: .95rem; line-height: 1.6; color: var(--mp-gris); }
.acc-pilier__lien { margin-top: auto; padding-top: 1.2rem; font-weight: 700; font-size: .92rem; color: var(--mp-vert); display: inline-flex; align-items: center; gap: .45em; }
.acc-pilier__lien::after { content: "\2192"; transition: transform .2s; }
.acc-pilier:hover .acc-pilier__lien::after { transform: translateX(5px); }

/* 2. Ce que vous trouverez : photo + points */
.acc-split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2.4rem, 6vw, 5rem); align-items: center; }
.acc-split__image { position: relative; margin: 0 1.6rem 1.6rem 0; }
.acc-split__image::before { content: ""; position: absolute; inset: 1.6rem -1.6rem -1.6rem 1.6rem; background: var(--mp-vert); border-radius: 14px; z-index: 0; }
.acc-split__image img { position: relative; z-index: 1; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; display: block; border-radius: 14px; box-shadow: var(--mp-ombre-forte); }
.acc-points { list-style: none; margin: clamp(1.6rem, 3vw, 2.2rem) 0 0; padding: 0; display: grid; gap: 1.4rem; }
.acc-points li { display: grid; grid-template-columns: 54px 1fr; gap: 1.1rem; align-items: start; }
.acc-points__icone { width: 54px; height: 54px; border-radius: 16px; display: flex; align-items: center; justify-content: center; background: var(--mp-blanc); color: var(--mp-vert); box-shadow: var(--mp-ombre); }
.acc-icone { width: 26px; height: 26px; }
.acc-points h3 { font-family: var(--mp-serif); font-size: 1.14rem; font-weight: 600; margin: .35rem 0 .35rem; color: var(--mp-texte); }
.acc-points p { margin: 0; line-height: 1.65; color: var(--mp-gris); }

/* 3. Notre façon de travailler : bandeau sombre, photo en fond */
.acc-engagements { position: relative; overflow: hidden; isolation: isolate; background: var(--mp-vert-nuit); color: #fff; padding: clamp(3.4rem, 7vw, 5.8rem) 0; }
.acc-engagements__fond { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; opacity: .28; filter: saturate(.5); }
.acc-engagements::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, var(--mp-vert-nuit) 38%, rgba(0, 0, 0, .15) 100%); }
.acc-engagements .acc-titre { color: #fff; }
.acc-engagements .acc-intro { color: rgba(255, 255, 255, .78); }
.acc-engagements__grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(1.6rem, 4vw, 2.8rem); border-top: 1px solid rgba(255, 255, 255, .2); }
.acc-engagement { padding: clamp(1.5rem, 3vw, 2.4rem) clamp(1.2rem, 2.6vw, 2rem) 0; border-left: 1px solid rgba(255, 255, 255, .2); }
.acc-engagement:first-child { border-left: 0; padding-left: 0; }
.acc-engagement__chiffre { display: block; font-family: var(--mp-serif); font-size: clamp(2.8rem, 5.4vw, 4.2rem); font-weight: 800; font-style: italic; line-height: 1; letter-spacing: -.02em; color: var(--mp-vert); margin-bottom: .8rem; }
.acc-engagement h3 { font-family: var(--mp-serif); font-size: 1.22rem; font-weight: 600; margin: 0 0 .55rem; color: #fff; }
.acc-engagement p { margin: 0; line-height: 1.65; color: rgba(255, 255, 255, .75); }

/* 4. Questions fréquentes */
.acc-faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.acc-faq__tete { position: sticky; top: 6rem; }
.acc-faq__tete .acc-intro { margin-bottom: 1.5rem; }
.acc-questions { border-top: 1px solid var(--mp-bordure); }
.acc-question { border-bottom: 1px solid var(--mp-bordure); }
.acc-question summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.2rem 0; cursor: pointer; list-style: none; }
.acc-question summary::-webkit-details-marker { display: none; }
.acc-question h3 { font-family: var(--mp-serif); font-size: 1.1rem; font-weight: 600; line-height: 1.35; margin: 0; color: var(--mp-texte); transition: color .2s; }
.acc-question summary:hover h3 { color: var(--mp-vert); }
.acc-question__plus { flex: 0 0 36px; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--mp-bordure); display: flex; align-items: center; justify-content: center; color: var(--mp-vert); transition: transform .25s, background .25s, color .25s, border-color .25s; }
.acc-question[open] .acc-question__plus { transform: rotate(45deg); background: var(--mp-vert); border-color: var(--mp-vert); color: #fff; }
.acc-question__reponse { padding: 0 3.2rem 1.4rem 0; line-height: 1.7; color: var(--mp-gris); }
.acc-question__reponse p { margin: 0; }

@media (max-width: 1060px) {
	.acc-piliers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.acc-engagements__grille { grid-template-columns: 1fr; border-top: 0; }
	.acc-engagement { border-left: 0; padding-left: 0; padding-right: 0; border-top: 1px solid rgba(255, 255, 255, .2); }
}
@media (max-width: 820px) {
	.acc-split, .acc-faq { grid-template-columns: 1fr; }
	.acc-split__image { margin: 0 1rem 1rem 0; }
	.acc-split__image::before { inset: 1rem -1rem -1rem 1rem; }
	.acc-split__image img { aspect-ratio: 4 / 3; }
	.acc-faq__tete { position: static; }
}
@media (max-width: 560px) {
	.acc-piliers { grid-template-columns: 1fr; }
	.acc-question__reponse { padding-right: 0; }
}
