/* ======================================================================
   Pages intérieures : même charte que l'accueil (ux-zz-accueil.css).
   Chargé en dernier. Tout est limité à body:not(.home) : l'accueil ne bouge pas.
   Les modules Bookdo (<bookdo-booking>, <bookdo-giftcards>) ne sont jamais ciblés.
   Rappel charte : un seul terracotta #BD4C29 (nuances par transparence), or #A9782F,
   titres Cormorant Garamond 600 sans espacement de lettres, textes Jost 16 px / 1,75.
   ====================================================================== */

/* ---------- En-tête de page : ligne manuscrite, grand titre, chapeau calme ---------- */
body:not(.home) main p.sur {
	display: block;
	margin: 0 0 4px;
	font: 400 var(--t-manuscrit)/1 var(--police-script);
	letter-spacing: normal;
	word-spacing: .14em;
	text-transform: none;
	color: #BD4C29;
	transform: rotate(-1deg);
	transform-origin: left center;
}
body:not(.home) main p.sur.sur-centre { text-align: center; transform-origin: center; }
body:not(.home) main p.sur .sur-trait { display: none; }
body:not(.home) .pg-h1, body:not(.home) main h1.titre {
	font-family: var(--police-titre);
	font-weight: 600;
	font-size: var(--t-page);
	line-height: 1.1;
	letter-spacing: normal;
	font-variant-ligatures: common-ligatures contextual;
	font-variant-numeric: lining-nums;
	color: var(--encre);
}
body:not(.home) .pg-chapeau { max-width: 680px; font-size: 17px; line-height: 1.7; color: var(--texte); }
body:not(.home) .cat-retour a, body:not(.home) a.v3-fiche-retour { color: #BD4C29; }

/* Sous-titre après la barre (« Titre|Sous-titre » de l'ancien thème) : souvent écrit en capitales,
   illisible en manuscrite ; il devient une petite mention dorée, comme les mentions de l'accueil. */
body:not(.home) main .titre-sous {
	display: block;
	margin-top: 10px;
	font: 500 13px/1.4 var(--police-texte);
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--dore-texte);
}

/* ---------- Titres de section ---------- */
body:not(.home) main h2.titre, body:not(.home) main .soins-pages-titre, body:not(.home) .page-corps .contenu h2,
body:not(.home) .page-corps .contenu h3, body:not(.home) .page-corps .contenu h4, body:not(.home) .coord-bloc h2, body:not(.home) .coord-bloc h3,
body:not(.home) .institut-carte h3, body:not(.home) .sc-faq summary {
	font-family: var(--police-titre);
	font-weight: 600;
	letter-spacing: normal;
	text-transform: none;
	font-variant-ligatures: common-ligatures contextual;
	font-variant-numeric: lining-nums;
	color: var(--encre);
}
body:not(.home) main .soins-pages-titre { font-size: var(--t-sous); }

/* ---------- Textes ---------- */
body:not(.home) .page-corps .contenu p, body:not(.home) .page-corps .contenu li,
body:not(.home) .cat-chapo, body:not(.home) .soins-section > .intro, body:not(.home) .sc-texte p {
	font-size: 16px;
	line-height: 1.75;
	color: var(--texte);
}
body:not(.home) main strong, body:not(.home) main strong.gold, body:not(.home) main b.gold { color: #BD4C29; font-weight: 500; }
body:not(.home) main em.gold { color: #A9782F; }
body:not(.home) .page-corps .contenu :is(p, td, dd) > a:not(.btn), body:not(.home) .page-corps .contenu ul:not(.products) > li > a:not(.btn), body:not(.home) .cat-chapo a, body:not(.home) .cat-note a {
	color: #BD4C29;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}
body:not(.home) .page-corps .contenu :is(p, td, dd) > a:not(.btn):hover { color: rgba(189, 76, 41, .8); }

/* ---------- Encart « Vous hésitez ? » : bandeau doux et arrondi comme sur l'accueil ---------- */
body:not(.home) .encart-guide {
	padding: 22px 28px;
	background: linear-gradient(#F3EBE2, #EEE3D8);
	border: 0;
	border-radius: 18px;
}
body:not(.home) .encart-guide svg { color: #A9782F; }
body:not(.home) .encart-guide .encart-texte { color: var(--texte); }

/* ---------- Pastilles de choix (durées, personnes, filtres) : terracotta quand choisies ---------- */
body:not(.home) .soin-choix input:checked + span, body:not(.home) .cat-pilules input:checked + span,
body:not(.home) .cat-pilules button[aria-pressed=true], body:not(.home) .v3-onglets input:checked + span,
body:not(.home) .bascule input:checked + span, body:not(.home) .bascule button[aria-pressed=true],
body:not(.home) .v3-chips a.on {
	background: #BD4C29;
	border-color: #BD4C29;
	color: #fff;
}
body:not(.home) .soin-choix input:checked + span b, body:not(.home) .cat-pilules input:checked + span b { color: #fff; }
body:not(.home) .soin-choix label:hover span, body:not(.home) .cat-pilules label:hover span,
body:not(.home) .v3-chips a:hover, body:not(.home) .v3-onglets label:hover span { border-color: rgba(189, 76, 41, .45); }
body:not(.home) .soins-filtre { background: rgba(255, 255, 255, .6); border: 1px solid rgba(169, 120, 47, .2); border-radius: 18px; }

/* Liens d'ancres et de pages sœurs : pastilles de la charte. */
body:not(.home) .soins-nav a, body:not(.home) .soins-ancres a, body:not(.home) .cat-familles .cat-famille-lien {
	border: 1px solid rgba(189, 76, 41, .35);
	border-radius: 999px;
	background: #fff;
	color: #BD4C29;
	font: 400 15px/1.2 Newsreader, Georgia, serif;
	text-decoration: none;
	transition: background .2s ease, color .2s ease, border-color .2s ease;
}
body:not(.home) .soins-nav a:hover, body:not(.home) .soins-ancres a:hover, body:not(.home) .cat-familles .cat-famille-lien:hover,
body:not(.home) .soins-nav a:focus-visible, body:not(.home) .soins-ancres a:focus-visible,
body:not(.home) .soins-nav a[aria-current=page], body:not(.home) .cat-familles .cat-famille-lien[aria-current] {
	background: #BD4C29;
	border-color: #BD4C29;
	color: #fff;
}

/* ---------- Cartes : blanches, arrondi 18 px, ombre douce, sans filet ---------- */
body:not(.home) .soin, body:not(.home) .cat-carte, body:not(.home) .cat-rang, body:not(.home) .coord-bloc,
body:not(.home) .cat-suite, body:not(.home) .institut-carte > a {
	background: #fff;
	border: 0;
	border-radius: 18px;
	box-shadow: 0 22px 44px -30px rgba(59, 42, 29, .45), 0 0 0 1px rgba(169, 120, 47, .1);
}
body:not(.home) .soin-visuel { border-radius: 18px 18px 0 0; }
body:not(.home) .cat-carte { overflow: hidden; }
body:not(.home) .cat-suite { transition: transform .3s ease, box-shadow .3s ease; }
body:not(.home) .cat-suite:hover, body:not(.home) .cat-suite:focus-visible { transform: translateY(-3px); box-shadow: 0 28px 50px -30px rgba(59, 42, 29, .55), 0 0 0 1px rgba(189, 76, 41, .25); }
body:not(.home) .institut-carte > a { padding: 12px 12px 20px; transition: transform .3s ease, box-shadow .3s ease; }
body:not(.home) .institut-carte > a:hover { transform: translateY(-3px); }
body:not(.home) .institut-carte h3 { margin-inline: 6px; }
body:not(.home) .institut-carte p { margin-inline: 6px; }
body:not(.home) .institut-carte .prix, body:not(.home) .soin-prix b, body:not(.home) .cat-total b { color: #BD4C29; }
body:not(.home) .sc-arche { border-radius: 50% 50% 12px 12px / 46% 46% 12px 12px; }
body:not(.home) .soin-meta, body:not(.home) .cat-rang-nom small, body:not(.home) .institut-carte p { color: var(--texte); }

/* ---------- Tableaux de prix : carte blanche, filets dorés fins ---------- */
body:not(.home) .cat-matrice-cadre, body:not(.home) .soins-table {
	background: #fff;
	border: 0;
	border-radius: 18px;
	box-shadow: 0 22px 44px -32px rgba(59, 42, 29, .45), 0 0 0 1px rgba(169, 120, 47, .12);
}
body:not(.home) .cat-matrice-cadre { overflow: auto; }
body:not(.home) .soins-table { border-collapse: separate; border-spacing: 0; overflow: hidden; }
body:not(.home) .cat-matrice { border: 0; background: transparent; }
body:not(.home) .cat-matrice th, body:not(.home) .cat-matrice td,
body:not(.home) .soins-table th, body:not(.home) .soins-table td,
body:not(.home) .cat-capacite th, body:not(.home) .cat-capacite td { border-color: rgba(169, 120, 47, .2); }
body:not(.home) .cat-matrice thead th, body:not(.home) .soins-table thead th { background: rgba(169, 120, 47, .08); color: var(--encre); }
body:not(.home) .soins-table-groupe th { background: rgba(251, 244, 236, .9); font-weight: 600; }
body:not(.home) .soins-table td { color: #BD4C29; }

/* ---------- Encadrés d'aide et de contact : fond doux de la charte ---------- */
body:not(.home) .soins-aide, body:not(.home) .soins-lien, body:not(.home) .cat-aide {
	background: radial-gradient(110% 90% at 15% 20%, #FBF4EC 0%, #F6E8DD 60%, #F1DFD2 100%);
	border: 0;
	border-radius: 18px;
}
body:not(.home) .soins-aide-liens a:not(.btn-action), body:not(.home) .cat-aide a.cat-lien-offrir, body:not(.home) .cat-rang-actions a.cat-lien-offrir {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 40px;
	padding: 0 16px;
	border: 1px solid rgba(189, 76, 41, .35);
	border-radius: 999px;
	background: rgba(255, 255, 255, .7);
	color: #BD4C29;
	font: 400 15px/1.2 Newsreader, Georgia, serif;
	text-decoration: none;
	transition: background .2s ease, color .2s ease, border-color .2s ease;
}
body:not(.home) .soins-aide-liens a:not(.btn-action):hover, body:not(.home) .soins-aide-liens a:not(.btn-action):focus-visible,
body:not(.home) .cat-aide a.cat-lien-offrir:hover, body:not(.home) .cat-rang-actions a.cat-lien-offrir:hover {
	background: #BD4C29;
	border-color: #BD4C29;
	color: #fff;
}
body:not(.home) .coord-bloc svg { color: #A9782F; }
body:not(.home) .sc-faq, body:not(.home) .sc-faq details { border-color: rgba(169, 120, 47, .25); }
body:not(.home) .sc-faq summary::after { color: #A9782F; }
body:not(.home) .sc-faq-corps { color: var(--texte); line-height: 1.75; }

/* ---------- Photos : coins arrondis et ombre douce ---------- */
body:not(.home) .v3-fiche-photo { border-radius: 18px; box-shadow: 0 30px 60px -36px rgba(59, 42, 29, .6); }
body:not(.home) .galerie a { border-radius: 14px; box-shadow: 0 22px 40px -30px rgba(59, 42, 29, .5); }
body:not(.home) .soins-photos img { border-radius: 14px; box-shadow: 0 22px 40px -30px rgba(59, 42, 29, .5); }

/* ---------- Formulaires (contact, recrutement, demande de groupe) ---------- */
body:not(.home) main .wpcf7-form-control:not([type=submit]):not([type=checkbox]):not([type=radio]),
body:not(.home) .v3-champ input, body:not(.home) .v3-champ select, body:not(.home) .v3-champ textarea {
	border: 1px solid rgba(169, 120, 47, .35);
	border-radius: 10px;
	background: #fff;
}
body:not(.home) main .wpcf7-form-control:focus, body:not(.home) .v3-champ input:focus, body:not(.home) .v3-champ select:focus, body:not(.home) .v3-champ textarea:focus {
	border-color: #BD4C29;
	outline: 2px solid rgba(189, 76, 41, .2);
	outline-offset: 0;
}

/* ---------- « En savoir plus » (texte d'origine) : même rythme que l'accueil ---------- */
body:not(.home) .ab-texte-origine { border-top: 0; }
body:not(.home) .ab-chapitre { padding: 72px 0; }
body:not(.home) .ab-chapitre:nth-child(even) { background: radial-gradient(110% 90% at 15% 20%, #FBF4EC 0%, #F6E8DD 60%, #F1DFD2 100%); }
body:not(.home) .ab-texte-origine-corps p, body:not(.home) .ab-texte-origine-corps ul, body:not(.home) .ab-texte-origine-corps ol {
	font-family: var(--police-texte);
	font-size: 16px;
	line-height: 1.75;
	color: var(--texte);
}
body:not(.home) .ab-texte-origine-corps h2 + p, body:not(.home) .ab-texte-origine-corps > p:first-child {
	font: 400 17.5px/1.7 var(--police-texte);
	color: var(--encre);
}
body:not(.home) .ab-texte-origine-themes span {
	border: 1px solid rgba(189, 76, 41, .35);
	background: rgba(255, 255, 255, .7);
	color: #BD4C29;
	font: 400 14px/1.2 Newsreader, Georgia, serif;
}
body:not(.home) .ab-suite summary { font: 400 16px/1.2 Newsreader, Georgia, serif; color: #BD4C29; }
/* L'image décorative (feuillages dorés + logo, PNG détouré) reste telle quelle : pas d'arche. */

/* Encart suivi d'un titre : un peu d'air. */
body:not(.home) .encart-guide { margin-bottom: 28px; }
body:not(.home) .sc-arche { background: #F6E8DD; }

/* ---------- Page introuvable et recherche : centrées, sans vide sous le pied de page ---------- */
body.error404 main.page-vide { display: flex; flex-direction: column; justify-content: center; min-height: calc(100vh - 360px); padding-top: 72px; padding-bottom: 72px; text-align: center; }
body.error404 main.page-vide h1.titre em { font-style: italic; font-weight: 600; color: #BD4C29; }
body.error404 main.page-vide .texte-section { font-size: 16px; line-height: 1.75; color: var(--texte); }
body.search main { padding-bottom: 72px; }
body.search .article-resume { padding: 22px 24px; margin-bottom: 16px; background: #fff; border-radius: 18px; box-shadow: 0 22px 44px -30px rgba(59, 42, 29, .45), 0 0 0 1px rgba(169, 120, 47, .1); }
body.search .search-form input.search-field { min-height: 46px; padding: 0 16px; border: 1px solid rgba(169, 120, 47, .35); border-radius: 10px; background: #fff; }

@media (max-width: 820px) {
	body:not(.home) .encart-guide { padding: 18px; }
	body:not(.home) .ab-chapitre { padding: 48px 0; }
	body:not(.home) .pg-chapeau { font-size: 16px; }
}
