/*
Theme Name: Sophie Bousquet
Theme URI: https://devwebpro.fr/
Author: DevWebPro
Author URI: https://devwebpro.fr/
Description: Thème sur mesure pour le cabinet de Sophie Bousquet, psychologue à Mazères.
Version: 1.28.2
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sophie-bousquet
*/

/* ---------- Polices (locales) ---------- */
@font-face {
	font-family: "Young Serif";
	src: url("assets/fonts/young-serif-latin-400-normal.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Instrument Sans";
	src: url("assets/fonts/instrument-sans-latin-wght-normal.woff2") format("woff2");
	font-weight: 400 700;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Instrument Sans";
	src: url("assets/fonts/instrument-sans-latin-wght-italic.woff2") format("woff2");
	font-weight: 400 700;
	font-style: italic;
	font-display: swap;
}

/* ---------- Jetons ---------- */
:root {
	--platre: #EEF0E7;
	--papier: #F9F9F4;
	--feuillage: #23402F;
	--feuillage-profond: #1A3124;
	--sauge: #A9BFA6;
	--terre: #C4674F;
	--terre-bouton: #B25640; /* même teinte, assez foncée pour rester lisible en blanc */
	--terre-fonce: #A84C37;
	--rideau: #C9932E;
	--rideau-clair: #E3B95F;
	--cabochon: #C4674F; /* conservé pour compatibilité : c'est désormais la terre cuite */
	--encre: #1D2A22;
	--encre-douce: #4C5A51;
	--filet: #CDD2C4;

	--titre: "Young Serif", "Iowan Old Style", Georgia, serif;
	--texte: "Instrument Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

	--gouttiere: clamp(20px, 5vw, 48px);
	--large: 1120px;
	--lecture: 46rem;
	--souffle: clamp(4rem, 9vw, 7.5rem);
}

/* ---------- Barres de défilement, à la charte ----------
   Chrome, Edge, Safari : pseudo-éléments ::-webkit-scrollbar (pilule sauge sur plâtre, vert feuillage au survol).
   Firefox : scrollbar-color, réservé à Firefox car dans Chrome il désactiverait la pilule arrondie. */
html::-webkit-scrollbar { width: 14px; height: 14px; }
html::-webkit-scrollbar-track { background: var(--platre); box-shadow: inset 1px 0 0 rgba(29, 42, 34, .06); }
html::-webkit-scrollbar-thumb {
	background: var(--sauge); border: 3.5px solid var(--platre); border-radius: 999px; background-clip: padding-box; min-height: 48px;
}
html::-webkit-scrollbar-thumb:hover { background-color: var(--feuillage); }
html::-webkit-scrollbar-thumb:active { background-color: var(--feuillage-profond); }
/* Zones qui défilent dans la page (tableaux, panneaux, champs de texte, menus) : plus fines, sans fond */
body ::-webkit-scrollbar { width: 10px; height: 10px; }
body ::-webkit-scrollbar-track { background: transparent; }
body ::-webkit-scrollbar-thumb {
	background: var(--sauge); border: 2.5px solid transparent; border-radius: 999px; background-clip: padding-box; min-height: 36px;
}
body ::-webkit-scrollbar-thumb:hover { background-color: var(--feuillage); }
body ::-webkit-scrollbar-corner, html::-webkit-scrollbar-corner { background: transparent; }
/* Sur les fonds verts : pilule claire */
:is(.pied, .section--feuillage, .rappel, .fx-bandeau, .sb-a11y__tete, .tarteaucitronMainLine) ::-webkit-scrollbar-thumb { background-color: rgba(249, 249, 244, .35); }
:is(.pied, .section--feuillage, .rappel, .fx-bandeau, .sb-a11y__tete, .tarteaucitronMainLine) ::-webkit-scrollbar-thumb:hover { background-color: var(--rideau-clair); }
@supports (-moz-appearance: none) {
	html { scrollbar-color: var(--sauge) var(--platre); }
	body * { scrollbar-width: thin; scrollbar-color: var(--sauge) transparent; }
	:is(.pied, .section--feuillage, .rappel, .fx-bandeau) * { scrollbar-color: rgba(249, 249, 244, .35) transparent; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--platre);
	color: var(--encre);
	font-family: var(--texte);
	font-size: 1.0625rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--feuillage); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--terre-fonce); }
:focus-visible { outline: 3px solid var(--terre); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3, h4 {
	font-family: var(--titre);
	font-weight: 400;
	line-height: 1.12;
	letter-spacing: -.01em;
	margin: 0 0 .6em;
	text-wrap: balance;
}
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
h3 { font-size: 1.375rem; line-height: 1.25; }
h4 { font-size: 1.125rem; line-height: 1.3; }
p { margin: 0 0 1.1em; }

.conteneur {
	width: 100%;
	max-width: calc(var(--large) + 2 * var(--gouttiere));
	margin-inline: auto;
	padding-inline: var(--gouttiere);
}
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.lien-evitement {
	position: absolute; left: 12px; top: -60px; z-index: 100;
	background: var(--feuillage); color: var(--papier); padding: .6em 1em; border-radius: 4px;
}
.lien-evitement:focus { top: 12px; color: var(--papier); }

/* Filet de séparation sous l'en-tête des pages */
.separation { height: 1px; background: var(--filet); }

/* ---------- Boutons ---------- */
.bouton {
	display: inline-flex; align-items: center; justify-content: center;
	font: 600 1rem/1.2 var(--texte);
	padding: .95em 1.5em;
	border: 0; border-radius: 4px;
	background: var(--feuillage); color: var(--papier);
	text-decoration: none; cursor: pointer;
	transition: background-color .15s ease;
}
.bouton:hover { background: var(--terre-bouton); color: #fff; }
.bouton--rideau { background: var(--rideau); color: var(--encre); }
.bouton--rideau:hover { background: var(--rideau-clair); color: var(--encre); }
.bouton[disabled] { opacity: .6; cursor: progress; }

/* ---------- En-tête ---------- */
.entete { padding-block: 1.25rem; }
.entete__rang { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.entete__nom {
	font-family: var(--titre); font-size: 1.5rem; line-height: 1.1;
	color: var(--encre); text-decoration: none; display: block;
}
.entete__nom small {
	display: block; font-family: var(--texte); font-size: .875rem; color: var(--encre-douce); margin-top: .2em;
}
.entete__logo { display: block; flex: none; }
.entete__logo img, .entete .custom-logo { height: 68px; width: auto; max-width: none; }
@media (max-width: 899px) { .entete__logo img, .entete .custom-logo { height: 54px; } }

.nav__liste { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .25rem; }
.nav__liste a {
	position: relative; display: block; padding: .6em .8em;
	color: var(--encre); text-decoration: none; font-weight: 500;
}
.nav__liste a:hover { color: var(--terre-fonce); }
.nav__liste .current-menu-item > a::after,
.nav__liste .current_page_item > a::after {
	content: ""; position: absolute; left: 50%; bottom: 0;
	width: 7px; height: 7px; margin-left: -3.5px; background: var(--terre); border-radius: 50%;
}
.nav__rdv { margin-left: .75rem; }
.nav__rdv .bouton { padding: .75em 1.15em; }
.nav__bascule, .nav__pied { display: none; } /* version ordinateur : ni bouton burger ni pied de panneau */

/* Icônes de réseaux à la charte : forme du logo en masque, couleur du site */
.reseau__masque { display: inline-block; flex: none; width: 20px; height: 20px; background-color: currentColor; }
.reseau__masque--facebook {
	-webkit-mask: url("assets/img/reseaux/facebook-masque.png") center / contain no-repeat;
	mask: url("assets/img/reseaux/facebook-masque.png") center / contain no-repeat;
}

/* Icône Facebook de l'en-tête : pastille crème, logo vert feuillage, terre cuite au survol */
.entete__reseau {
	flex: none; display: grid; place-items: center; width: 44px; height: 44px; margin-left: -.6rem;
	border-radius: 50%; background: var(--papier); box-shadow: inset 0 0 0 1px var(--filet);
	color: var(--feuillage);
	transition: box-shadow .2s ease, transform .2s ease, color .2s ease;
}
.entete__reseau .reseau__masque, .entete__reseau img, .entete__reseau .reseau__badge { width: 24px; height: 24px; object-fit: contain; }
.entete__reseau:hover { color: var(--terre-bouton); box-shadow: inset 0 0 0 1.5px var(--rideau); transform: translateY(-1px); }
@media (min-width: 1080px) {
	/* Ordinateur : le menu se range à droite et l'icône suit juste après le bouton Contact */
	.entete__rang > .nav { margin-left: auto; }
}
@media (max-width: 1079px) {
	/* Mobile et tablette : à gauche du bouton Menu */
	.entete__reseau { order: 1; margin-left: auto; margin-right: -.75rem; }
	.nav__bascule { order: 2; }
	.entete__rang > .nav { order: 3; }
	body.nav-ouverte .entete__reseau { visibility: hidden; }
}

@media (max-width: 1079px) {
	/* Bouton : trois feuilles stylisées, qui se replient en croix à l'ouverture */
	.nav__bascule {
		display: inline-flex; align-items: center; gap: .65em; position: relative; z-index: 92;
		font: 600 .9375rem var(--texte); letter-spacing: .02em; color: var(--encre);
		background: var(--papier); border: 1px solid var(--filet); border-radius: 999px;
		padding: .55em 1.1em .55em .75em; cursor: pointer; min-height: 44px;
		box-shadow: 0 10px 20px -16px rgba(29, 42, 34, .5); transition: border-color .25s ease, color .25s ease;
	}
	.nav__bascule:hover { border-color: var(--rideau); }
	.nav__traits { display: grid; gap: 4px; width: 22px; }
	.nav__traits i {
		display: block; height: 2px; border-radius: 2px; background: var(--feuillage);
		transition: transform .38s cubic-bezier(.2,.7,.2,1), opacity .25s ease, width .38s ease, background-color .25s ease;
	}
	.nav__traits i:nth-child(1) { width: 22px; }
	.nav__traits i:nth-child(2) { width: 14px; background: var(--rideau); }
	.nav__traits i:nth-child(3) { width: 18px; }
	.nav__bascule[aria-expanded="true"] .nav__traits i:nth-child(1) { width: 22px; transform: translateY(6px) rotate(45deg); }
	.nav__bascule[aria-expanded="true"] .nav__traits i:nth-child(2) { opacity: 0; transform: scaleX(.2); }
	.nav__bascule[aria-expanded="true"] .nav__traits i:nth-child(3) { width: 22px; transform: translateY(-6px) rotate(-45deg); }

	/* Panneau plein écran, aux couleurs du cabinet */
	/* Les deux halos sont peints en fond du panneau (et non plus en pseudo-éléments qui dépassaient) :
	   aucun défilement latéral ni zone vide en bas quand le menu est ouvert. */
	.nav {
		position: fixed; inset: 0; z-index: 90; display: block; visibility: hidden; opacity: 0;
		background:
			radial-gradient(circle 40vmax at 2vmax 0, rgba(169, 191, 166, .55), transparent 72%),
			radial-gradient(circle 40vmax at 100% calc(100% + 4vmax), rgba(227, 185, 95, .3), transparent 72%),
			var(--platre);
		overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain;
		padding: 6.5rem var(--gouttiere) 2.5rem; isolation: isolate;
		transition: opacity .35s ease, visibility .35s ease;
	}
	.nav.est-ouverte { visibility: visible; opacity: 1; }
	/* Dans le panneau, un intitulé trop long passe à la ligne au lieu de déborder. */
	.nav .nav__liste > li > a, .nav .mega__bascule { white-space: normal; }
	.nav__liste { flex-direction: column; align-items: stretch; gap: 0; padding: 0; }
	.nav__liste li { border-bottom: 1px solid var(--filet); opacity: 0; transform: translateY(12px); }
	.nav.est-ouverte .nav__liste li { animation: nav-entree .45s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: calc(var(--i, 0) * 45ms + .1s); }
	@keyframes nav-entree { to { opacity: 1; transform: none; } }
	.nav__liste a {
		display: flex; align-items: center; justify-content: space-between; gap: 1rem;
		font-family: var(--titre); font-size: 1.6rem; line-height: 1.2; padding: .8em 0; color: var(--encre);
	}
	.nav__liste a::before { display: none; }
	.nav__liste .current-menu-item > a,
	.nav__liste .current_page_item > a { color: var(--feuillage); }
	.nav__liste .current-menu-item > a::after,
	.nav__liste .current_page_item > a::after {
		position: static; width: 9px; height: 9px; margin: 0; background: var(--terre); border-radius: 50%; flex: none;
	}
	.nav__rdv { border-bottom: 0; margin-top: 1.75rem; margin-left: 0; }
	.nav__rdv .bouton { width: 100%; padding: 1em; font-size: 1.0625rem; justify-content: center; text-align: center; }
	.nav__pied { display: block; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--filet); }
	.nav__tel { font-family: var(--titre); font-size: 1.35rem; color: var(--feuillage); text-decoration: none; }
	.nav__lieu { color: var(--encre-douce); font-size: .9375rem; margin: .35rem 0 0; }
	html.nav-ouverte, body.nav-ouverte { overflow: hidden; }
	/* Le flou de l'en-tête crée un cadre de référence pour les éléments fixes :
	   on le retire pendant l'ouverture pour que le panneau occupe tout l'écran. */
	body.nav-ouverte .entete { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; background: transparent !important; box-shadow: none !important; }
	@media (prefers-reduced-motion: reduce) {
		.nav, .nav__traits i { transition: none; }
		.nav.est-ouverte .nav__liste li { animation: none; opacity: 1; transform: none; }
	}
}

/* L'en-tête est plus large que le reste du site : le menu doit tenir sur une seule ligne. */
.entete .conteneur { max-width: calc(1420px + 2 * var(--gouttiere)); }
/* Seuls les onglets du menu restent d'un seul tenant : dans le méga menu, le texte doit pouvoir revenir à la ligne. */
.nav__liste > li > a, .mega__bascule { white-space: nowrap; }
.mega a, .mega span { white-space: normal; overflow-wrap: anywhere; }
@media (min-width: 1080px) and (max-width: 1319px) {
	.nav__liste > li > a, .mega__bascule { padding-inline: .55em; font-size: .9375rem; }
	.entete__logo img, .entete .custom-logo { height: 58px; }
	.nav__rdv .bouton { padding: .7em .95em; font-size: .9375rem; }
}

/* ---------- Méga menu « Près de chez vous » ---------- */
.nav__mega { position: static; }
.mega__bascule {
	display: inline-flex; align-items: center; gap: .5em; padding: .6em .8em;
	font: 500 1rem var(--texte); color: var(--encre); background: none; border: 0; cursor: pointer;
}
.mega__bascule:hover { color: var(--terre-fonce); }
.mega__fleche { width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); transition: transform .3s ease; }
.mega__bascule[aria-expanded="true"] .mega__fleche { transform: rotate(-135deg) translate(-2px, -2px); }
.mega {
	position: absolute; left: 0; right: 0; top: 100%; z-index: 70;
	background: var(--papier); border-top: 1px solid var(--filet);
	box-shadow: 0 30px 60px -40px rgba(29, 42, 34, .6); padding: 2.5rem 0 2.75rem; overflow: hidden;
}
.mega::after {
	content: ""; position: absolute; right: -2rem; bottom: -3rem; width: 220px; aspect-ratio: 1; opacity: .08; pointer-events: none;
	background: var(--feuillage);
	-webkit-mask: url("assets/img/branche.svg") center / contain no-repeat; mask: url("assets/img/branche.svg") center / contain no-repeat;
}
.mega__grille { display: grid; gap: 2.5rem; position: relative; z-index: 1; }
.mega__titre { font-family: var(--titre); font-size: 1.5rem; line-height: 1.2; margin: 0 0 .75rem; color: var(--feuillage); }
.mega__texte { color: var(--encre-douce); margin: 0 0 1.5rem; max-width: 26rem; }
.mega .bouton { color: var(--papier); }
.mega .bouton:hover { color: #fff; }
.mega a { text-decoration: none; }
.mega__cartes { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.mega__carte a {
	display: grid; gap: .2rem; padding: 1.15rem 1.35rem; height: 100%;
	background: #fff; border: 1px solid var(--filet); border-radius: 10px; text-decoration: none;
	transition: transform .3s cubic-bezier(.2,.7,.2,1), border-color .3s ease, box-shadow .3s ease;
}
.mega__carte a:hover { transform: translateY(-3px); border-color: var(--rideau); box-shadow: 0 18px 30px -22px rgba(29, 42, 34, .55); }
.mega__ville { font-family: var(--titre); font-size: 1.25rem; line-height: 1.2; color: var(--encre); }
.mega__trajet { font-weight: 600; color: var(--terre-fonce); font-size: .9375rem; }
.mega__detail { color: var(--encre-douce); font-size: .875rem; }
.mega__lire { margin-top: .5rem; font-size: .875rem; font-weight: 600; color: var(--feuillage); }
.mega__lire::after { content: " →"; }
.mega__carte--visio a { background: var(--feuillage); border-color: var(--feuillage); }
.mega__carte--visio .mega__ville, .mega__carte--visio .mega__lire { color: var(--papier); }
.mega__carte--visio .mega__trajet { color: var(--rideau-clair); }
.mega__carte--visio .mega__detail { color: #C9D4C4; }
@media (min-width: 900px) {
	.mega__grille { grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); align-items: center; }
	.mega__cartes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1079px) {
	.mega { position: static; box-shadow: none; padding: 1.25rem 0 .5rem; background: none; border-top: 0; }
	.mega::after { display: none; }
	.mega .conteneur { padding: 0; }
	.mega__intro { display: none; }
	/* « Près de chez vous » : même typographie que les autres entrées du menu mobile. */
	.mega__bascule {
		width: 100%; justify-content: space-between; gap: 1rem; padding: .8em 0;
		font: 500 1.6rem/1.2 var(--titre); color: var(--encre); text-align: left;
	}
	.mega__fleche { width: 10px; height: 10px; flex: none; }
	/* Sur écran tactile, le survol « collé » après un toucher ne doit pas laisser l'intitulé en terre cuite. */
	@media (hover: none) { .mega__bascule:hover { color: var(--encre); } }
}

/* ---------- Accueil : ouverture ---------- */
.ouverture { position: relative; overflow: hidden; padding-block: clamp(2rem, 5vw, 4.5rem) var(--souffle); }
.ouverture__grille { display: grid; gap: 3rem; align-items: end; }
.ouverture__lieu {
	font-family: var(--texte); font-weight: 600; font-size: 1rem; letter-spacing: 0;
	color: var(--encre-douce); margin: 0 0 1.4rem; display: flex; align-items: center; gap: .7em;
}
.ouverture__lieu::before { content: ""; width: 9px; height: 9px; background: var(--terre); border-radius: 50%; flex: none; }
.ouverture__phrase {
	font-family: var(--titre);
	font-size: clamp(2.1rem, 5.4vw, 2.4375rem); /* 39 px au maximum */
	line-height: 1.12; letter-spacing: -.01em;
	margin: 0 0 2rem; max-width: 16em; text-wrap: balance;
}
@media (min-width: 900px) {
	.ouverture__phrase { font-size: 39px; }
}
.ouverture__texte { max-width: 36rem; color: var(--encre-douce); }
.ouverture__texte p:first-child { color: var(--encre); font-size: 1.1875rem; }
.ouverture__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 2rem; }
.ouverture__tel { font-weight: 600; color: var(--encre); white-space: nowrap; }

.ouverture__image { position: relative; margin: 0 1rem 0 0; }
.ouverture__image img {
	position: relative; width: 100%; border-radius: 10px; aspect-ratio: 5 / 3.4; object-fit: cover;
	box-shadow: 0 22px 44px -26px rgba(29, 42, 34, .45);
}
/* Un simple aplat moutarde qui déborde du coin de la photo, comme sur la page de présentation. */
.rideau {
	position: absolute; z-index: 0; right: -1rem; top: -1rem; width: 45%; height: 62%;
	background: var(--rideau); border-radius: 10px;
	animation: rideau-apparait .8s cubic-bezier(.2,.7,.2,1) .15s both;
}
@keyframes rideau-apparait { from { opacity: 0; transform: translate(-10px, 10px); } }

@media (min-width: 900px) {
	.ouverture__grille { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 4rem; align-items: center; }
	.ouverture__image { margin-right: 1.25rem; }
	.rideau { right: -1.25rem; top: -1.25rem; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--souffle); }
.section--papier { background: var(--papier); }
.section--feuillage { background: var(--feuillage); color: #E6ECDF; }
.section--feuillage h2 { color: var(--papier); }
.section--feuillage a { color: var(--rideau-clair); }
.section--feuillage strong { color: var(--papier); }

/* Séances */
.seances__grille { display: grid; gap: 2.5rem; }
.seances__intro p { color: var(--encre-douce); max-width: 26rem; }
.seances__table { width: 100%; border-collapse: collapse; }
.seances__table th, .seances__table td {
	padding: 1.15rem 0; border-top: 1px solid var(--filet); text-align: left; vertical-align: baseline; font-weight: 400;
}
.seances__table tr:last-child th, .seances__table tr:last-child td { border-bottom: 1px solid var(--filet); }
.seances__table th { font-family: var(--titre); font-size: 1.25rem; line-height: 1.25; padding-right: 1rem; }
.seances__table .duree { color: var(--encre-douce); white-space: nowrap; padding-right: 1rem; }
.seances__table .prix { font-family: var(--titre); font-size: 1.5rem; text-align: right; white-space: nowrap; }
.seances__note { margin-top: 1.5rem; color: var(--encre-douce); }
@media (min-width: 900px) {
	.seances__grille { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 5rem; }
}
@media (max-width: 520px) {
	.seances__table tr { display: grid; grid-template-columns: 1fr auto; border-top: 1px solid var(--filet); padding: 1rem 0; }
	.seances__table th, .seances__table td { border: 0 !important; padding: 0; }
	.seances__table th { grid-column: 1 / -1; margin-bottom: .25rem; }
}

/* Le cabinet */
.cabinet__grille { display: grid; gap: 3rem; align-items: start; }
.cabinet__texte { max-width: 32rem; }
.cabinet__visio { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.22); }
.cabinet__visio p { margin: 0; }
.cabinet__photos { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(.75rem, 2vw, 1.5rem); margin: 0; }
.cabinet__photos img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 10px; }
.cabinet__photos img:nth-child(2) { margin-top: 4rem; }
@media (min-width: 900px) {
	.cabinet__grille { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 5rem; }
}

/* Contact */
.contact__grille { display: grid; gap: 3rem; }
.contact__infos p { max-width: 26rem; }
.coordonnees { list-style: none; margin: 2rem 0; padding: 0; }
.coordonnees li { padding: 1rem 0; border-top: 1px solid var(--filet); }
.coordonnees li:last-child { border-bottom: 1px solid var(--filet); }
.coordonnees dt, .coordonnees .lib { display: block; font-size: .9375rem; color: var(--encre-douce); }
.coordonnees .val { font-size: 1.125rem; font-weight: 600; }
.coordonnees .val a { text-decoration: none; }
.coordonnees .val a:hover { text-decoration: underline; }
.coordonnees .plan { display: inline-block; margin-top: .2rem; font-size: .9375rem; font-weight: 400; }

.formulaire { display: grid; gap: 1.25rem; }
.formulaire__duo { display: grid; gap: 1.25rem; }
@media (min-width: 600px) { .formulaire__duo { grid-template-columns: 1fr 1fr; } }
.champ label { display: block; font-weight: 600; font-size: .9375rem; margin-bottom: .4rem; }
.champ label span { font-weight: 400; color: var(--encre-douce); }
.champ input, .champ textarea {
	width: 100%; font: inherit; color: var(--encre);
	background: var(--papier); border: 1px solid #6F7D73; border-radius: 4px; padding: .8em .9em;
}
.champ textarea { min-height: 11rem; resize: vertical; }
.champ input:focus, .champ textarea:focus { outline: 3px solid var(--terre); outline-offset: 0; border-color: var(--terre-fonce); }
.formulaire__pot { position: absolute; left: -9999px; }
.formulaire__mention { font-size: .875rem; color: var(--encre-douce); margin: 0; max-width: 38rem; }
/* Case RGPD (formulaire intégré et Contact Form 7) */
.champ--case { display: flex; align-items: flex-start; gap: .65rem; margin: 0; font-size: .9375rem; max-width: 38rem; }
.champ--case > label { display: inline; font-weight: 400; font-size: inherit; margin: 0; }
.champ--case input[type="checkbox"] { flex: none; width: 1.25rem; height: 1.25rem; margin: .15rem 0 0; accent-color: var(--feuillage); cursor: pointer; }
.champ--case input[type="checkbox"]:focus-visible { outline: 3px solid var(--terre); outline-offset: 2px; }
.champ--case a { color: var(--feuillage); text-decoration: underline; }
.champ--case .wpcf7-form-control-wrap, .champ--case .wpcf7-list-item { display: block; margin: 0; }
.champ--case .wpcf7-list-item label { display: flex; align-items: flex-start; gap: .65rem; font-weight: 400; cursor: pointer; }
.avis { padding: 1rem 1.25rem; border-radius: 4px; margin: 0 0 1.5rem; font-weight: 500; }
.avis--ok { background: #DCE8D6; color: var(--feuillage-profond); }
.avis--erreur { background: #F6E0D6; color: #6B2A12; }

/* ---------- Formulaire Contact Form 7 (même apparence que le formulaire intégré) ---------- */
.formulaire-cf7 .wpcf7 { margin: 0; }
.formulaire-cf7 .wpcf7-form-control-wrap { display: block; }
.formulaire-cf7 .formulaire__aide { margin: 0; }
.formulaire-cf7 .champ { margin: 0; }
.formulaire-cf7 .formulaire__envoi { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem; margin: 0; }
.formulaire-cf7 input.bouton { width: auto; -webkit-appearance: none; appearance: none; }
.formulaire-cf7 .wpcf7-spinner { margin: 0; background-color: var(--feuillage); }
.formulaire-cf7 .wpcf7-not-valid-tip { display: block; margin-top: .35rem; font-size: .875rem; font-weight: 500; color: #6B2A12; }
.formulaire-cf7 .champ .wpcf7-not-valid { border-color: #A84C37; box-shadow: inset 0 0 0 1px #A84C37; }
.formulaire-cf7 .formulaire__verif:empty { display: none; }
.formulaire-cf7 .formulaire__verif { min-height: 65px; }
.formulaire-cf7 .wpcf7 form .wpcf7-response-output {
	margin: 0; padding: 1rem 1.25rem; border: 0; border-radius: 4px; font-weight: 500;
	background: #F6E0D6; color: #6B2A12;
}
.formulaire-cf7 .wpcf7 form.sent .wpcf7-response-output { background: #DCE8D6; color: var(--feuillage-profond); }
.formulaire-cf7 .wpcf7 form.init .wpcf7-response-output,
.formulaire-cf7 .wpcf7 form.resetting .wpcf7-response-output,
.formulaire-cf7 .wpcf7 form.submitting .wpcf7-response-output { display: none; }
@media (min-width: 900px) {
	.contact__grille { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 5rem; }
}

/* ---------- Article : en-tête, sommaire, lecture ---------- */
.article__tete { padding-top: clamp(2rem, 5vw, 3.5rem); }
.article__cat { margin: 0 0 1rem; }
.article__cat a {
	display: inline-block; padding: .35em 1em; border-radius: 999px; text-decoration: none;
	background: var(--feuillage); color: var(--papier); font-size: .8125rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
}
.article__cat a:hover { background: var(--terre-bouton); color: #fff; }
.article__tete h1 { font-size: clamp(2.35rem, 5.2vw, 3.9rem); line-height: 1.05; margin: 0; max-width: 18em; }
.article__chapo { font-size: clamp(1.125rem, 2vw, 1.375rem); line-height: 1.5; color: var(--encre-douce); max-width: 34em; margin: 1.25rem 0 0; }
.article__meta { display: flex; flex-wrap: wrap; gap: .5rem .75rem; color: var(--encre-douce); font-size: .9375rem; margin: 1.25rem 0 0; }
.article__image { margin: clamp(2rem, 4vw, 3rem) 0 0; }
.article__image img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; box-shadow: 0 30px 60px -36px rgba(29, 42, 34, .6); }
.article__grille { display: grid; gap: 2.5rem; }
.sommaire {
	align-self: start; background: var(--papier); border: 1px solid var(--filet); border-radius: 12px; padding: 1.5rem 1.6rem;
}
.sommaire__titre { font-family: var(--titre); font-size: 1.0625rem; margin: 0 0 .85rem; color: var(--feuillage); }
.sommaire ol { list-style: none; margin: 0; padding: 0; counter-reset: som; }
.sommaire li { counter-increment: som; margin-bottom: .6rem; line-height: 1.35; }
.sommaire a { display: block; padding-left: 1.9rem; position: relative; text-decoration: none; color: var(--encre-douce); font-size: .9375rem; transition: color .25s ease; }
.sommaire a::before { content: counter(som, decimal-leading-zero); position: absolute; left: 0; top: 0; font-size: .8125rem; font-weight: 600; color: var(--sauge-fonce, #6F7D73); }
.sommaire a:hover, .sommaire a.est-actif { color: var(--feuillage); font-weight: 600; }
.sommaire a.est-actif::before { color: var(--rideau); }
.contenu--article > * { max-width: 40rem; }
.contenu--article > p { font-size: 1.0625rem; line-height: 1.75; }
.contenu--article > h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-top: 2.75em; scroll-margin-top: 120px; }
.contenu--article > p:first-of-type::first-letter {
	float: left; font-family: var(--titre); font-size: 3.6em; line-height: .82; padding: .08em .12em 0 0; color: var(--feuillage);
}
.contenu--article figure img, .contenu--article > img { border-radius: 12px; box-shadow: 0 24px 46px -34px rgba(29, 42, 34, .55); }
.contenu--article figcaption { font-size: .875rem; color: var(--encre-douce); margin-top: .6rem; }
.contenu--article blockquote {
	margin: 2.5rem 0; padding: .25rem 0 .25rem 1.75rem; border-left: 3px solid var(--rideau);
	font-family: var(--titre); font-size: 1.3rem; line-height: 1.45; color: var(--feuillage);
}
.contenu--article blockquote p:last-child { margin-bottom: 0; }

/* Partage et carte de l'autrice */
.partage { margin-top: 3.5rem; padding-top: 1.75rem; border-top: 1px solid var(--filet); }
.partage__titre { font-family: var(--titre); font-size: 1.125rem; margin: 0 0 .75rem; }
.partage__liens { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin: 0; }
.partage__lien, .partage__copier {
	font: 600 .9375rem var(--texte); color: var(--feuillage); background: none; border: 1px solid var(--filet);
	border-radius: 999px; padding: .55em 1.1em; cursor: pointer; text-decoration: none; transition: border-color .25s ease, color .25s ease;
}
.partage__lien:hover, .partage__copier:hover { border-color: var(--rideau); color: var(--terre-fonce); }
.partage__retour { font-size: .875rem; color: var(--encre-douce); }
.autrice {
	display: grid; gap: 1.5rem; align-items: center; margin-top: 3rem; padding: 1.75rem;
	background: var(--papier); border: 1px solid var(--filet); border-radius: 14px;
}
.autrice__photo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
.autrice__nom { font-family: var(--titre); font-size: 1.3rem; margin: 0 0 .35rem; }
.autrice__texte { color: var(--encre-douce); margin: 0 0 1rem; }
.autrice__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; margin: 0; }

/* Articles liés et liste du blog */
.lies__grille, .articles {
	list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(1.75rem, 3vw, 2.75rem);
}
.articles { margin-block: clamp(.5rem, 2vw, 1.5rem) 1rem; }
.carte-article a {
	display: grid; gap: .6rem; height: 100%; padding: 1.5rem; background: #fff; border: 1px solid var(--filet);
	border-radius: 14px; text-decoration: none; transition: transform .35s cubic-bezier(.2,.7,.2,1), border-color .3s ease, box-shadow .3s ease;
}
.carte-article a:hover { transform: translateY(-4px); border-color: var(--rideau); box-shadow: 0 24px 40px -30px rgba(29, 42, 34, .55); }
.carte-article a { align-content: start; }
.carte-article__corps { height: 100%; }
.carte-article__lire { margin-top: auto; padding-top: .35rem; }
/* Article sans image : vignette maison, dans la charte */
.carte-article__image--vide {
	display: block; aspect-ratio: 3 / 2; border-radius: 10px; margin-bottom: .5rem; position: relative; overflow: hidden;
	background:
		radial-gradient(ellipse 60% 70% at 18% 20%, rgba(169, 191, 166, .55), transparent 70%),
		radial-gradient(ellipse 50% 60% at 85% 85%, rgba(227, 185, 95, .35), transparent 70%),
		var(--platre);
}
.carte-article__image--vide::after {
	content: ""; position: absolute; inset: 22% 30%; background: var(--feuillage); opacity: .18;
	-webkit-mask: url("assets/img/branche.svg") center / contain no-repeat;
	mask: url("assets/img/branche.svg") center / contain no-repeat;
}
.carte-article__image { display: block; overflow: hidden; border-radius: 10px; margin-bottom: .5rem; }
.carte-article__image img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.carte-article a:hover .carte-article__image img { transform: scale(1.05); }
.carte-article__meta { font-size: .8125rem; color: var(--encre-douce); }
.carte-article__titre { font-family: var(--titre); font-size: 1.2rem; line-height: 1.25; color: var(--encre); }
.lies h2 { margin-bottom: 2rem; }

@media (min-width: 900px) {
	.article__grille { grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: 4rem; align-items: start; }
	.sommaire { position: sticky; top: 120px; }
	.contenu--article > * { margin-inline: 0; }
	.lies__grille { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.autrice { grid-template-columns: 96px minmax(0, 1fr); }
}

.articles { grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); }
.carte-article__corps { display: grid; gap: .45rem; }
.carte-article__cat { font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--terre-fonce); }
.carte-article__extrait { color: var(--encre-douce); font-size: .9375rem; line-height: 1.6; }
.carte-article__lire { font-size: .875rem; font-weight: 600; color: var(--feuillage); }
.carte-article__lire::after { content: " →"; }
@media (min-width: 900px) {
	.carte-article--une { grid-column: 1 / -1; }
	.carte-article--une a { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); align-items: center; gap: 2.75rem; padding: 2rem; }
	.carte-article--une .carte-article__image { margin: 0; }
	.carte-article--une .carte-article__titre { font-size: 1.9rem; }
}

/* ---------- Pages de zone (référencement local) ---------- */
.zone__accroche { color: var(--encre-douce); max-width: 40rem; margin: .75rem 0 0; }
.zone__grille { display: grid; gap: 3rem; }
.zone__pratique {
	background: var(--papier); border: 1px solid var(--filet); border-radius: 10px; padding: 1.75rem;
	align-self: start; box-shadow: 0 22px 44px -32px rgba(29, 42, 34, .45);
}
.zone__pratique h2 { font-size: 1.375rem; margin: 0 0 1rem; }
.zone__pratique h3 { font-size: 1rem; font-family: var(--texte); font-weight: 600; margin: 1.5rem 0 .5rem; }
.zone__pratique dl { margin: 0; display: grid; gap: .25rem .75rem; }
.zone__pratique dt { font-size: .875rem; color: var(--encre-douce); }
.zone__pratique dd { margin: 0 0 .85rem; }
.zone__horaires { list-style: none; margin: 0; padding: 0; font-size: .9375rem; }
.zone__horaires li { display: flex; justify-content: space-between; gap: 1rem; padding: .3rem 0; border-bottom: 1px solid var(--filet); }
.zone__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin: 1.5rem 0 1rem; }
.zone__tel { font-weight: 600; color: var(--encre); }
.zone__note { font-size: .9375rem; color: var(--encre-douce); }
.zones { margin: 3rem 0 0; padding-top: 1.75rem; border-top: 1px solid var(--filet); }
.zones__titre { font-family: var(--titre); font-size: 1.25rem; margin: 0 0 1rem; }
.zones ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .75rem; }
.zones li::before { display: none; }
.zones a {
	display: flex; flex-direction: column; gap: .15rem; padding: .7rem 1.1rem;
	border: 1px solid var(--filet); border-radius: 8px; text-decoration: none; background: var(--papier);
	transition: border-color .25s ease, transform .25s ease;
}
.zones a:hover { border-color: var(--rideau); transform: translateY(-2px); }
.zones__ville { font-weight: 600; color: var(--encre); }
.zones__detail { font-size: .8125rem; color: var(--encre-douce); }
@media (min-width: 900px) {
	.zone__grille { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 4rem; }
}

/* ---------- Pages intérieures & articles ---------- */
.page-titre { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(2rem, 4vw, 3rem); }
.page-titre h1 { font-size: clamp(2.35rem, 5vw, 3.75rem); margin: 0; max-width: 16em; }
.page-titre .meta { color: var(--encre-douce); margin: 1rem 0 0; }
.page-corps { background: var(--papier); padding-block: clamp(3rem, 6vw, 5rem) var(--souffle); }

/* Le contenu démarre à gauche, aligné sur le titre de la page. */
.contenu > * { max-width: var(--lecture); margin-inline: 0; }
.contenu > .alignwide { max-width: var(--large); }
.contenu > .alignfull { max-width: none; }
.contenu > .sb-contact, .contenu > .sb-avis { max-width: var(--large); }
.contenu h2 { font-size: clamp(1.6rem, 2.6vw, 2.125rem); margin-top: 2.2em; }
.contenu h3 { margin-top: 2em; }
.contenu > :first-child { margin-top: 0; }
.contenu ul, .contenu ol { padding-left: 1.3em; margin-block: 0 1.4em; }
.contenu ul { list-style: none; padding-left: 0; }
.contenu ul > li { position: relative; padding-left: 1.5em; margin-bottom: .5em; }
.contenu ul > li::before {
	content: ""; position: absolute; left: .05em; top: .42em; width: 9px; height: 12px; background: var(--rideau);
	-webkit-mask: url("assets/img/feuille.svg") center / contain no-repeat;
	mask: url("assets/img/feuille.svg") center / contain no-repeat;
}
.contenu .chapo, .contenu .is-style-chapo { font-size: 1.25rem; line-height: 1.55; }
.contenu blockquote { margin: 2em auto; padding: 0 0 0 1.5em; border-left: 3px solid var(--rideau); font-family: var(--titre); font-size: 1.3rem; line-height: 1.4; }
.contenu hr, .contenu .wp-block-separator { border: 0; width: 4rem; max-width: 4rem; height: 2px; margin: 3rem 0; background: var(--sauge); opacity: 1; }
.contenu figure { margin-block: 2.5rem; }
.contenu figcaption { font-size: .9375rem; color: var(--encre-douce); margin-top: .6rem; text-align: left; }
.contenu img { border-radius: 2px; }
.contenu .wp-block-image img { width: 100%; }
.contenu .wp-block-image.size-large img { aspect-ratio: 3 / 2; object-fit: cover; }
.contenu table { width: 100%; border-collapse: collapse; }
.contenu .wp-block-table td, .contenu .wp-block-table th { border: 0; border-top: 1px solid var(--filet); padding: 1rem .75rem 1rem 0; text-align: left; }
.contenu .wp-block-table tr:last-child td { border-bottom: 1px solid var(--filet); }
.contenu .wp-block-table td:first-child { font-family: var(--titre); font-size: 1.15rem; }
.contenu .wp-block-table td:last-child { text-align: right; font-family: var(--titre); font-size: 1.3rem; white-space: nowrap; padding-right: 0; }
.contenu .wp-block-button__link { background: var(--feuillage); color: var(--papier); border-radius: 4px; font-weight: 600; padding: .95em 1.5em; font-size: 1rem; }
.contenu .wp-block-button__link:hover { background: var(--terre-bouton); color: #fff; }

/* Parcours (liste d'expériences) */
.contenu .parcours { list-style: none; padding: 0; }
.contenu .parcours > li { padding: 1.1rem 0 1.1rem 0; margin: 0; border-top: 1px solid var(--filet); }
.contenu .parcours > li::before { display: none; }
.contenu .parcours strong { display: block; font-family: var(--titre); font-weight: 400; font-size: 1.15rem; line-height: 1.3; margin-bottom: .2rem; }

/* Page avec portrait (image mise en avant) : texte à gauche, photo à droite */
.portrait { margin: 0 auto 2.5rem; max-width: 20rem; position: relative; }
.portrait::before { content: ""; position: absolute; z-index: 0; right: -14px; top: -14px; width: 46%; height: 60%; background: var(--rideau); border-radius: 10px; }
.portrait img { position: relative; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 10px; box-shadow: 0 22px 44px -26px rgba(29, 42, 34, .45); }
.page-corps__grille { display: flex; flex-direction: column-reverse; }
@media (min-width: 1000px) {
	.page-corps__grille { display: grid; grid-template-columns: minmax(0, 42rem) minmax(0, 20rem); justify-content: space-between; gap: 4rem; align-items: start; }
	.page-corps__grille .contenu > * { margin-inline: 0; }
	.portrait { margin: .5rem 0 0; position: sticky; top: 2rem; }
}

/* Bandeau de rendez-vous en bas des pages */
.rappel { background: var(--feuillage); color: #E6ECDF; padding-block: clamp(3rem, 6vw, 4.5rem); }
.rappel__rang { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; }
.rappel h2 { color: var(--papier); margin: 0 0 .3em; font-size: clamp(1.6rem, 2.8vw, 2.25rem); }
.rappel p { margin: 0; }
.rappel a:not(.bouton) { color: var(--rideau-clair); }

/* Blog : anciens styles remplacés par les cartes (voir « Articles ») */
.contenu .billet-une { margin-top: 0; }
.contenu .billet-une img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 12px; }
.post-navigation { margin-top: 4rem; padding-top: 2rem; border-top: 1px solid var(--filet); }
.post-navigation .nav-links { display: grid; gap: 1.5rem; }
.post-navigation a { text-decoration: none; font-family: var(--titre); font-size: 1.15rem; line-height: 1.3; display: block; }
.post-navigation a span { display: block; font-family: var(--texte); font-size: .9375rem; color: var(--encre-douce); margin-bottom: .2rem; }
@media (min-width: 700px) {
	.post-navigation .nav-links { grid-template-columns: 1fr 1fr; gap: 3rem; }
	.post-navigation .nav-next { text-align: right; grid-column: 2; }
}

/* Rendez-vous en ligne (Amelia) */
.contenu > .sb-rdv { max-width: var(--large); }
.sb-rdv { display: grid; gap: 3rem; margin-block: 2.5rem 0; align-items: start; }
.sb-rdv__agenda { min-width: 0; }
/* Le thème ne modifie pas l'intérieur du formulaire Amelia : couleurs et police se règlent dans Amelia › Personnaliser. */
/* Seule exception : la marge de 100 px qu'Amelia place au-dessus de son formulaire, qui le décalait par rapport à l'encadré « Bon à savoir ». */
.sb-rdv .sb-rdv__agenda .amelia-v2-booking #amelia-container.am-fs__wrapper { margin: 0 0 48px; }
/* iPhone / iPad : le navigateur zoome sur tout champ dont le texte fait moins de 16 px, puis décale la page
   (cas des champs Amelia, en 14-15 px). On impose 16 px minimum aux champs sur iOS uniquement : plus de zoom
   ni de décalage, et le zoom à deux doigts reste possible (accessibilité). Le « #sb-ios#sb-ios » ne cible rien :
   il donne seulement à la règle assez de poids pour passer devant les styles d'Amelia, y compris ses listes
   déroulantes (indicatif du téléphone…) affichées hors du formulaire. */
@supports (-webkit-touch-callout: none) {
	:is(body, #sb-ios#sb-ios) :is(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="submit"]):not([type="button"]):not([type="hidden"]), select, textarea) {
		font-size: 16px !important;
	}
}
.sb-rdv__diag { font-size: .875rem; color: var(--encre-douce); margin-top: 1rem; }
.sb-rdv__reperes { border-top: 1px solid var(--filet); padding-top: 1.75rem; font-size: 1rem; }
.contenu .sb-rdv__reperes h2 { font-size: 1.5rem; margin: 0 0 1rem; }
.sb-rdv__reperes p { color: var(--encre-douce); }
.sb-rdv__reperes p:last-child { margin-bottom: 0; color: var(--encre); }
.sb-rdv__reperes a { text-decoration: none; font-size: 1.125rem; }
.contenu .sb-rdv__seances { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; }
.sb-rdv__seances th, .sb-rdv__seances td { padding: .7rem 0; border-top: 1px solid var(--filet); text-align: left; font-weight: 400; vertical-align: baseline; }
.sb-rdv__seances tr:last-child th, .sb-rdv__seances tr:last-child td { border-bottom: 1px solid var(--filet); }
.sb-rdv__seances th { padding-right: .75rem; }
.sb-rdv__seances td { white-space: nowrap; color: var(--encre-douce); padding-left: .5rem; }
.sb-rdv__seances td:last-child { font-family: var(--titre); font-size: 1.15rem; color: var(--encre); text-align: right; }
@media (min-width: 1000px) {
	.sb-rdv { grid-template-columns: minmax(0, 1fr) 19rem; gap: 3.5rem; }
	.sb-rdv__reperes { border-top: 0; padding-top: 0; position: sticky; top: 2rem; }
}

/* ---------- Filigranes : feuilles inspirées du logo ---------- */
/* Les feuilles sont posées en masque : leur couleur suit le fond de la section. */
#seances, #cabinet, .rappel, .pied { position: relative; overflow: hidden; }
#seances > *, #cabinet > *, .rappel > *, .pied > * { position: relative; z-index: 1; }
.filigrane::after, #seances::after, #cabinet::after, .rappel::after, .pied::after {
	content: ""; position: absolute; pointer-events: none;
	-webkit-mask: url("assets/img/branche.svg") center / contain no-repeat;
	mask: url("assets/img/branche.svg") center / contain no-repeat;
}
/* Feuillages libres (accueil et en-tête des pages) */
.feuillage {
	position: absolute; z-index: 0; pointer-events: none; display: block;
	-webkit-mask: url("assets/img/branche.svg") center / contain no-repeat;
	mask: url("assets/img/branche.svg") center / contain no-repeat;
}
.ouverture__grille { position: relative; z-index: 1; }
.feuillage--bas {
	right: 6%; bottom: -2rem; width: clamp(110px, 13vw, 190px); aspect-ratio: 1;
	background: var(--rideau); opacity: .16; transform: scaleX(-1) rotate(10deg);
}
@media (max-width: 899px) {
	.feuillage--bas { right: -1.5rem; bottom: -1rem; width: 120px; }
}
.page-titre { position: relative; overflow: hidden; }
.page-titre > * { position: relative; z-index: 1; }
.page-titre::after {
	content: ""; position: absolute; right: -2rem; top: -2.5rem; width: clamp(130px, 16vw, 220px); aspect-ratio: 1;
	pointer-events: none; background: var(--rideau); opacity: .12;
	-webkit-mask: url("assets/img/branche.svg") center / contain no-repeat;
	mask: url("assets/img/branche.svg") center / contain no-repeat;
}

#seances::after { right: -2.5rem; bottom: -2.5rem; width: clamp(160px, 22vw, 280px); aspect-ratio: 1; background: var(--rideau); opacity: .09; }
#cabinet::after { left: -3rem; top: -3rem; width: clamp(170px, 24vw, 300px); aspect-ratio: 1; background: var(--papier); opacity: .06; transform: scaleX(-1); }
.rappel::after { right: 1rem; top: 50%; width: 120px; aspect-ratio: 1; margin-top: -60px; background: var(--rideau); opacity: .12; }
.pied::after { right: -2rem; bottom: -2rem; width: clamp(150px, 20vw, 260px); aspect-ratio: 1; background: var(--papier); opacity: .06; }

/* Bloc Séparateur : une petite feuille entre deux filets */
.contenu hr, .contenu .wp-block-separator {
	border: 0; width: auto; max-width: none; height: auto; margin: 3rem 0; background: none; opacity: 1;
	display: flex; align-items: center; gap: 1rem;
}
.contenu hr::before, .contenu .wp-block-separator::before {
	content: ""; width: 14px; height: 19px; flex: none; background: var(--rideau);
	-webkit-mask: url("assets/img/feuille.svg") center / contain no-repeat;
	mask: url("assets/img/feuille.svg") center / contain no-repeat;
}
.contenu hr::after, .contenu .wp-block-separator::after { content: ""; height: 1px; flex: 1; background: var(--filet); max-width: 12rem; }

/* ---------- Accessibilité (RGAA) ---------- */
/* Focus visible sur les fonds sombres : le bleu y manque de contraste, on passe au moutarde clair. */
.pied :focus-visible, .section--feuillage :focus-visible, .rappel :focus-visible { outline-color: var(--rideau-clair); }
.formulaire__aide { font-size: .9375rem; color: var(--encre-douce); margin: 0 0 1rem; }
.champ__aide { display: block; font-size: .875rem; color: var(--encre-douce); margin-top: .35rem; }
#sb-contact-message:focus { outline: 3px solid var(--terre); outline-offset: 3px; }
.pied__nav { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; }
.pied__nav ul { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; list-style: none; margin: 0; padding: 0; }
.pied__nav li { margin: 0; }
.plan-du-site ul { margin-bottom: 2rem; }

/* Boutons ronds, panneau d'accessibilité : assets/css/accessibilite.css — bandeau et panneau des cookies : assets/css/cookies.css */
/* Carte confiée à tarteaucitron : même cadre que le reste du site */
.carte--tac { height: clamp(360px, 55vw, 520px); }
.carte--tac .googlemaps_embed, .carte--tac iframe { width: 100% !important; height: 100% !important; border: 0; display: block; }
.carte--tac .tac_activate {
	display: grid; place-items: center; height: 100%; text-align: center; padding: 2rem;
	background: var(--papier) !important; color: var(--encre) !important;
}
.carte--tac .tac_float { color: var(--encre) !important; }
.carte--tac .tarteaucitronAllow { border-radius: 4px !important; }

/* Carte de la page Contact */
.carte { position: relative; margin: 4rem 0 0; height: clamp(360px, 55vw, 520px); border: 1px solid var(--filet); border-radius: 10px; overflow: hidden; background: var(--papier); box-shadow: 0 22px 44px -30px rgba(29, 42, 34, .45); }
.carte iframe { display: block; width: 100%; height: 100%; border: 0; }
.carte__attente {
	height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 2rem;
	background:
		radial-gradient(ellipse 55% 70% at 12% 20%, rgba(169, 191, 166, .38), transparent 70%),
		radial-gradient(ellipse 45% 60% at 90% 85%, rgba(227, 185, 95, .22), transparent 70%),
		var(--papier);
}
.carte__repere { width: 44px; height: 44px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--feuillage); margin-bottom: 1.4rem; position: relative; }
.carte__repere::after { content: ""; position: absolute; inset: 14px; border-radius: 50%; background: var(--rideau); }
.carte__adresse { font-size: 1.125rem; margin-bottom: 1.25rem; }
.carte__adresse strong { font-family: var(--titre); font-weight: 400; font-size: 1.5rem; }
.carte__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .75rem 1.5rem; margin-bottom: 1rem; }
.carte__actions a { font-weight: 600; }
.carte__note { max-width: 30rem; font-size: .875rem; color: var(--encre-douce); margin: 0; }

/* Avis (Trustindex) */
.sb-avis { margin-block: 2.5rem; }
.sb-avis__invite { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; margin-top: 3rem; padding: 2rem 0; border-block: 1px solid var(--filet); }
.sb-avis__invite > div { flex: 1 1 22rem; max-width: 36rem; }
.contenu .sb-avis__invite h2 { font-size: 1.5rem; margin: 0 0 .4em; }
.sb-avis__invite p { margin: 0; color: var(--encre-douce); }
.sb-avis__invite .bouton { flex: none; }
.avis-accueil__tete { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 2rem; margin-bottom: 2rem; }
.avis-accueil__tete h2 { margin: 0; }

.pagination { max-width: 52rem; margin: 2rem auto 0; display: flex; gap: .5rem; }
.pagination .page-numbers { padding: .4em .8em; border: 1px solid var(--filet); border-radius: 4px; text-decoration: none; }
.pagination .current { background: var(--feuillage); color: var(--papier); border-color: var(--feuillage); }

/* Fil d'Ariane, horaires, encadré autrice */
.ariane { margin-bottom: 1.25rem; font-size: .9375rem; color: var(--encre-douce); }
.ariane ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem .6rem; }
.ariane li + li::before { content: "›"; margin-right: .6rem; }
.ariane a { color: inherit; }
.horaires, .contenu .horaires { width: auto; }
.horaires { border-collapse: collapse; margin: .25rem 0 .35rem; font-size: 1.0625rem; }
.horaires th { font-weight: 600; text-align: left; padding: .1rem 1.5rem .1rem 0; }
.horaires td { padding: .1rem 0; font-variant-numeric: tabular-nums; }
.horaires .est-ferme td, .zone__horaires .est-ferme { font-style: italic; } /* couleur inchangée : contraste préservé */
.contenu .autrice { display: flex; gap: 1.25rem; align-items: center; margin-top: 4rem; padding: 1.5rem 0; border-block: 1px solid var(--filet); }
.autrice img { width: 84px; height: 84px; object-fit: cover; border-radius: 2px; flex: none; }
.autrice p { margin: 0; font-size: 1rem; }
.autrice strong { display: block; font-family: var(--titre); font-weight: 400; font-size: 1.2rem; }
.autrice a { display: inline-block; }
.contenu .autrice + .post-navigation { margin-top: 2rem; border-top: 0; padding-top: 0; }
.pied .pied__zones { margin-top: .75rem; font-size: .9375rem; max-width: 26rem; }

/* ---------- Pied de page ---------- */
.pied { background: var(--feuillage-profond); color: #C9D4C4; padding-block: 3.5rem 2rem; font-size: 1rem; }
.pied a { color: #E6ECDF; text-decoration: none; }
.pied a:hover { color: var(--rideau-clair); text-decoration: underline; }
.pied__grille { display: grid; gap: 2.5rem; }
.pied__nom { font-family: var(--titre); font-size: 1.5rem; color: var(--papier); margin: 0 0 .4rem; }
.pied p { margin: 0 0 .3rem; }
.pied .pied__logo { margin-bottom: 1.25rem; }
.pied__logo img { height: 76px; width: auto; }
.pied ul { list-style: none; margin: 0; padding: 0; }
.pied li { margin-bottom: .45rem; }
.pied__bas { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.14); font-size: .875rem; display: flex; flex-wrap: wrap; gap: .5rem 2rem; justify-content: space-between; }
.pied__bas ul { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; }
.pied__bas li { margin: 0; }
/* Crédit DevWebPro */
.pied .pied__credit { margin: 1.75rem 0 0; display: flex; flex-direction: column; align-items: center; gap: .5rem; font-size: .8125rem; text-align: center; }
.pied__credit a { display: inline-flex; align-items: center; gap: .35rem; border-radius: 4px; padding: .2rem; transition: opacity .2s; }
.pied__credit a:hover { opacity: .85; text-decoration: none; }
.pied__credit img { display: block; height: 28px; width: auto; }
/* Mobile : bas de pied de page centré, liens les uns sous les autres (comme le crédit DevWebPro). */
@media (max-width: 759px) {
	.pied__bas { flex-direction: column; align-items: center; text-align: center; gap: 1rem; }
	.pied__nav, .pied__nav ul { flex-direction: column; align-items: center; gap: .65rem; }
}
@media (min-width: 760px) {
	.pied__grille { grid-template-columns: 5fr 3fr 3fr; gap: 4rem; }
}

.pied__reseaux { list-style: none; margin: 1.25rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .75rem; }
.reseau {
	display: inline-flex; align-items: center; gap: .6em; padding: .5em .9em;
	border: 1px solid rgba(249, 249, 244, .28); border-radius: 999px;
	color: var(--papier); text-decoration: none; font-size: .9375rem; font-weight: 600;
	transition: background-color .25s ease, border-color .25s ease;
}
.reseau:hover { background: rgba(249, 249, 244, .1); border-color: var(--rideau); color: var(--papier); }
.reseau:hover .reseau__masque { background-color: var(--rideau-clair); }
.reseau__logo { width: 20px; height: 20px; flex: none; object-fit: contain; }
.reseau__badge {
	width: 22px; height: 22px; flex: none; display: grid; place-items: center;
	font: 700 13px/1 var(--texte); color: #fff; letter-spacing: 0;
}
.reseau--google .reseau__badge { background: var(--encre); border-radius: 50%; }
.reseau--doctolib .reseau__badge { background: #107ACA; border-radius: 4px; font-style: italic; }
.reseau--facebook .reseau__badge { background: var(--encre); border-radius: 50%; }

/* ---------- 404 ---------- */
.introuvable { position: relative; overflow: hidden; padding-block: clamp(3.5rem, 9vw, 7rem); isolation: isolate; }
.introuvable::before, .introuvable::after {
	content: ""; position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; width: 58vmax; height: 58vmax;
}
.introuvable::before { left: -22vmax; top: -26vmax; background: radial-gradient(closest-side, rgba(169, 191, 166, .5), transparent 72%); }
.introuvable::after { right: -24vmax; bottom: -30vmax; background: radial-gradient(closest-side, rgba(227, 185, 95, .26), transparent 72%); }
.introuvable__feuille { right: -2.5rem; bottom: -3rem; width: clamp(160px, 22vw, 300px); aspect-ratio: 1; background: var(--feuillage); opacity: .07; }
.introuvable__bloc { max-width: 40rem; }
.introuvable__code {
	font-family: var(--titre); font-size: clamp(4rem, 12vw, 7rem); line-height: .9; margin: 0 0 .5rem;
	color: transparent; -webkit-text-stroke: 2px var(--sauge); letter-spacing: .04em;
}
.introuvable h1 { font-size: clamp(2.1rem, 4.6vw, 3.25rem); margin: 0; }
.introuvable__texte { font-size: 1.125rem; color: var(--encre-douce); margin: 1.25rem 0 0; max-width: 34em; }
.introuvable__actions { display: flex; flex-wrap: wrap; gap: .85rem 1rem; margin: 2rem 0 0; }
.introuvable__pistes { margin-top: 3rem; padding-top: 1.75rem; border-top: 1px solid var(--filet); }
.introuvable__pistes-titre { font-family: var(--titre); font-size: 1.125rem; margin: 0 0 1rem; }
.introuvable__pistes ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .75rem; }
.introuvable__pistes a {
	display: inline-block; padding: .6em 1.1em; border: 1px solid var(--filet); border-radius: 999px;
	background: var(--papier); text-decoration: none; color: var(--encre); font-weight: 600; font-size: .9375rem;
	transition: border-color .25s ease, transform .25s ease, color .25s ease;
}
.introuvable__pistes a:hover { border-color: var(--rideau); color: var(--terre-fonce); transform: translateY(-2px); }
.introuvable__tel { margin-top: 2rem; color: var(--encre-douce); }
.introuvable__tel a { font-weight: 600; color: var(--encre); }

/* ---------- Alignements WordPress ---------- */
.aligncenter { margin-inline: auto; }
.alignleft { float: left; margin: .4em 1.5em 1em 0; }
.alignright { float: right; margin: .4em 0 1em 1.5em; }
.wp-caption { max-width: 100%; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.rideau { animation: none; }
	* { transition: none !important; }
}

/* Le bloc contact inséré dans une page ne reprend pas les puces de contenu. */
.contenu .coordonnees { margin-block: 2rem; }
.contenu .coordonnees > li { padding-left: 0; margin: 0; }
.contenu .coordonnees > li::before { display: none; }
