/* Brief V2, « Partout » : sur téléphone, « Me guider » devient un rond de 46 px posé au-dessus
   de la barre « Réserver | Offrir », à droite, pour ne plus cacher le contenu. Le guide lui-même ne change pas. */
@media (max-width: 820px) {
	.rappel-guide { right: 12px; bottom: calc(76px + env(safe-area-inset-bottom)); width: 46px; height: 46px; border-radius: 50%; overflow: hidden; box-shadow: 0 10px 24px -10px rgba(120, 40, 15, .6); }
	.rappel-guide .rappel-fermer { display: none; }
	.rappel-guide .rappel-ouvrir { width: 46px; height: 46px; min-height: 0; padding: 0; gap: 0; font-size: 0; border-radius: 50%; }
	.rappel-guide .rappel-ouvrir svg { width: 22px; height: 22px; }
	.rappel-guide > :first-child, .rappel-guide > :last-child { border-radius: 50%; }
	.rappel-ouvrir:focus-visible { outline-offset: 2px; outline-color: var(--action); }
}
@media (max-width: 820px) {
	/* Bulle WhatsApp présente : la bulle « Me guider » reste à droite, juste au-dessus d'elle (et la flèche « haut de page » encore au-dessus). */
	body:has(.joinchat:not([hidden])) .rappel-guide { right: 21px; bottom: calc(156px + env(safe-area-inset-bottom)); }
	body:has(.joinchat:not([hidden])):has(.rappel-guide) .haut-page { bottom: calc(214px + env(safe-area-inset-bottom, 0px)); }
}
/* Cartes à picto (Spa privatif, fiches rituel, Escales, Romantica, Institut) : le titre sur la même ligne que l'icône. */
body:not(.home) .rf-picto:has(+ h2.titre) { float: left; margin: 0 16px 0 0; }
body:not(.home) .rf-picto + h2.titre { display: flex; align-items: center; min-height: 52px; margin-top: 0; text-align: left; }
body:not(.home) .cat-deux .rf-picto + h2.titre { min-height: 46px; }
body:not(.home) .rf-picto + h2.titre + * { clear: left; }
/* Accordéons (« Avant de venir », Informations, conditions) : + et − dessinés en traits, centrés au pixel dans le rond ;
   ouvert, le rond montre « − » et le titre passe en couleur d'accent. */
body:not(.home) .cat-details summary::after,
body:not(.home) .rf-conditions .sc-faq summary::after {
	content: "" !important;
	background: linear-gradient(currentColor, currentColor) center / 12px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 12px no-repeat;
	transform: none !important;
	transition: background-size .25s ease;
}
body:not(.home) .cat-details details[open] summary::after,
body:not(.home) details.cat-details[open] > summary::after,
body:not(.home) .rf-conditions .sc-faq details[open] summary::after { background-size: 12px 1.5px, 1.5px 0; }
body:not(.home) .cat-details details[open] > summary,
body:not(.home) details.cat-details[open] > summary,
body:not(.home) .rf-conditions .sc-faq details[open] > summary { color: var(--action); font-weight: 600 !important; }
/* Formulaire « Écrivez-nous » (Contact Form 7 n° 11636, Contact et pages soins) : le nom, l’objet et le message
   sur toute la largeur ; seuls le téléphone et l’e-mail sont côte à côte. */
[id^="wpcf7-f11636"] form > p:first-of-type:has(> label + br + label) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; align-items: end; }
[id^="wpcf7-f11636"] form > p:first-of-type:has(> label + br + label) > br { display: none; }
[id^="wpcf7-f11636"] form > p:first-of-type:has(> label + br + label) > label { display: block; min-width: 0; }
[id^="wpcf7-f11636"] form > p:first-of-type:has(> label + br + label) > label:first-child { grid-column: 1 / -1; }

/* Arches de haut de page (photo 4/5) : demi-cercle, comme sur Spa privatif (40 % de la hauteur = la moitié de la largeur). */
body:not(.home) .rf-arche img,
body:not(.home) .rf-arche::before,
body:not(.home) .pg-soins .soins-photos img { border-radius: 50% 50% 18px 18px / 40% 40% 18px 18px !important; }
/* Lignes à picto (Contact, Informations) : le picto centré verticalement sur la ligne. */
body:not(.home) .in-info { align-items: center; }

/* Accueil : carte « Parler à une collaboratrice », deux choix (Appeler | WhatsApp). */
.ac-action-contact:hover, .ac-action-contact:focus-within { transform: none; background: #fff; }
.ac-contact-choix { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.ac-contact-choix a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border: 1px solid var(--action); border-radius: 999px; color: var(--action); font-size: 15px; text-decoration: none; transition: background .2s ease, color .2s ease; }
.ac-contact-choix a:first-child { background: var(--action); color: #fff; }
.ac-contact-choix a:hover, .ac-contact-choix a:focus-visible { background: var(--action-fonce, #9E3D20); border-color: var(--action-fonce, #9E3D20); color: #fff; }

/* Cartes de soins : pastilles de durée plus compactes, trois tiennent sur une ligne (les plus longues passent à la ligne si besoin). */
.soin .soin-choix:not(:has(> label:nth-child(4))) > label { flex: 1 1 auto; min-width: 0; }
.soin .soin-choix:not(:has(> label:nth-child(4))) span { padding: 0 6px; font-size: 13.5px; white-space: nowrap; }

/* Massages & rituels : Tous | Pour 1 | Pour 2 juste après les familles, pas à l'autre bout. */
.ms-filtres-in { justify-content: flex-start; }

/* Accordéons : les listes gardent le même retrait que le texte (les puces ne sortent plus de la carte). */
.cat-details details > ul, .cat-details details > ol, body .cat-details details > .spa-conseils, body .pg .cat-details details > .spa-conseils.spa-conseils { margin-left: 18px !important; margin-right: 18px !important; padding-left: 20px !important; }
/* Cadre de focus : arrondi et à l'intérieur de la carte, jamais au simple clic. */
.cat-details summary:focus:not(:focus-visible), .sc-faq summary:focus:not(:focus-visible) { outline: none; }
.cat-details summary:focus-visible, .sc-faq summary:focus-visible { outline: 2px solid var(--action); outline-offset: -2px; border-radius: 14px; }

/* Brillance animée, plus douce que sur la carte de l'accueil : bandeau « Le prochain moment libre » et aperçu de la carte cadeau. */
.v3-express { position: relative; overflow: hidden; isolation: isolate; }
.v3-express::after, .cc-apercu[data-cc-apercu]::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; z-index: 1; width: 40%; background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .16) 50%, rgba(255, 255, 255, 0) 100%); pointer-events: none; animation: ac-ecarte-reflet 7s ease-in-out infinite; }
.cc-apercu[data-cc-apercu]::after { background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .28) 50%, rgba(255, 255, 255, 0) 100%); }
/* Carte de l'accueil : reflet adouci. */
.ac-ecarte-carte::after { background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .12) 50%, rgba(255, 255, 255, 0) 100%) !important; }
@keyframes ac-ecarte-reflet { 0%, 62% { transform: translateX(-120%) skewX(-18deg); } 100% { transform: translateX(260%) skewX(-18deg); } }
@media (prefers-reduced-motion: reduce) { .v3-express::after, .cc-apercu[data-cc-apercu]::after { animation: none; display: none; } }

/* Escales et Romantica : une carte par formule avec ses durées, Réserver et Offrir. */
body:not(.home) .rf-suites-photos .of-formule { gap: 6px; }
.of-formule:hover { border-color: var(--filet); }
.of-formule .of-durees { margin: 8px 0 0; padding: 0 6px; border: 0; min-width: 0; }
.of-formule .soin-choix { justify-content: center; gap: 6px; }
.of-formule .soin-choix label { flex: 1 1 auto; min-width: 0; }
.of-formule .soin-choix span { padding: 0 8px; font-size: 13.5px; white-space: nowrap; justify-content: center; }
.of-formule .ms-unique { margin-top: 8px; }
.of-formule .soin-calme { margin: 2px 0 0; font-size: 13px; font-style: italic; color: var(--gris); }
.of-boutons { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; padding: 0 6px; }
.of-boutons .btn { justify-content: center; min-height: 42px; padding: 0 10px; }

/* Rituels Romantica : étiquette « Romantica · en amoureux ». */
.soin-etiquette-amour { align-self: flex-start; display: inline-block; margin: 10px 0 0; padding: 3px 12px; border: 1px solid rgba(189, 76, 41, .4); border-radius: 999px; background: #F8ECE6; color: var(--action); font-size: 13px; letter-spacing: .02em; }
.soin-etiquette-amour + .soin-meta { margin-top: 6px; }

/* Anciens textes des pages (bandeaux « ab-texte-origine ») : titres à la charte, comme « De quoi avez-vous envie ? / À chacun sa parenthèse ».
   Sous-titre en manuscrit Allison terracotta au-dessus, titre en Cormorant Garamond SemiBold, sans majuscules forcées. */
section.ab-texte-origine .ab-texte-origine-corps h2 { display: flex; flex-direction: column; align-items: center; text-transform: none; letter-spacing: 0; font: 600 var(--t-section, 42px)/1.15 "Cormorant Garamond", Georgia, serif; color: var(--encre); }
section.ab-texte-origine .ab-texte-origine-corps h2::before { order: -2; }
section.ab-texte-origine .ab-texte-origine-corps h2 .titre-sous { order: -1; display: block; margin: 0 0 -4px; font: 400 var(--t-manuscrit, 42px)/1.1 Allison, Newsreader, Georgia, serif; letter-spacing: 0; text-transform: none; color: #BD4C29; transform: rotate(-1deg); }
section.ab-texte-origine .ab-chapitre--image .ab-texte-origine-corps h2 { align-items: flex-start; }
section.ab-texte-origine .ab-texte-origine-corps h3 { text-transform: none; letter-spacing: 0; font: 600 var(--t-chapitre, 29px)/1.2 "Cormorant Garamond", Georgia, serif; color: var(--encre); }
section.ab-texte-origine .ab-texte-origine-corps h4 { font: 600 var(--t-sous, 23px)/1.25 "Cormorant Garamond", Georgia, serif; letter-spacing: 0; color: var(--encre); }

/* Boutons contour du site : fond rose poudré (la teinte la plus foncée du dégradé des pages), légèrement transparent ; pas sur le diaporama. */
body .site .btn-ligne:not(.ac-slider .btn-ligne):not(:hover):not(:focus-visible), body .site .btn-cadeau:not(:hover):not(:focus-visible), body .site .btn-ligne-action:not(:hover):not(:focus-visible), body .ac-contact-choix a:not(:first-child):not(:hover):not(:focus-visible) { background-color: rgba(241, 223, 210, .85); }
body:not(.home) main .btn-ligne:not(:hover):not(:focus-visible), body:not(.home) main .btn-ligne-action:not(:hover):not(:focus-visible) { background-color: rgba(241, 223, 210, .85) !important; }
/* Icône cadeau : centrée sur le texte (la police Newsreader porte ses lettres un peu haut). */
.btn-cadeau svg, .tete-action svg { position: relative; top: -2.5px; flex: none; }
.tete-action svg.tete-cadeau { width: 21px; height: 21px; }

/* Menu : la boussole dorée devant « Me guider » (cachée seulement quand la place manque, 1181–1320 px). */
@media (min-width: 1321px) {
	.nav-guide-bouton { display: inline-flex; align-items: center; gap: 6px; }
	.nav-guide-bouton .nav-picto { display: inline-block !important; flex: none; width: 17px; height: 17px; color: #A9782F; }
}

/* « À plusieurs » : nombre en rangée à cliquer (comme Spa privatif), champs en un seul cadre avec le titre au-dessus. */
.v3-z .v3-nombre { display: grid; gap: 8px; margin: 8px 0 4px; }
.v3-z .v3-nombre-titre { margin: 0; font: 600 22px/1.2 "Cormorant Garamond", Georgia, serif; color: var(--encre); }
.v3-z .v3-nombre-ligne { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.v3-z .v3-nombre-ligne .tf-nombres[hidden] { display: none; }
.v3-z .v3-nombre-ligne .tf-nombres button { min-width: 38px; padding: 7px 10px; border: 0; border-radius: 999px; background: none; color: var(--texte); font: 400 15px/1.2 Jost, sans-serif; cursor: pointer; }
.v3-z .v3-nombre-ligne .tf-nombres button[aria-pressed="true"] { background: var(--encre); color: #fff; }
.v3-z .v3-nombre-unite { font-size: 15px; color: var(--texte); }
body .v3-z .v3-champ { gap: 6px; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
body .v3-z .v3-champ:focus-within { box-shadow: none; }
body .v3-z .v3-champ label { font-size: 14px; color: var(--texte); }
body .v3-z .v3-champ input[type="text"], body .v3-z .v3-champ input[type="tel"] { width: 100%; min-height: 48px; padding: 0 14px !important; border: 1px solid rgba(169, 120, 47, .32) !important; border-radius: 12px !important; background: #fff !important; box-shadow: none !important; font: 400 16px/1.2 Jost, sans-serif; color: var(--encre); box-sizing: border-box; }
body .v3-z .v3-champ input:focus { border-color: #BD4C29 !important; outline: 2px solid rgba(189, 76, 41, .18); outline-offset: 0; }
@media (max-width: 480px) { .v3-z .v3-nombre-ligne { flex-wrap: nowrap; gap: 8px; } .v3-z .v3-nombre-ligne .tf-nombres { flex-wrap: nowrap; } .v3-z .v3-nombre-ligne .tf-nombres button { min-width: 30px; padding: 7px 6px; } .v3-z .v3-nombre-unite { font-size: 14px; } }

/* « À plusieurs » : trois occasions qui ouvrent le parcours Bookdo. */
.v3-occasions { display: grid; gap: 12px; margin: 18px 0 14px; }
.v3-occasion { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: center; padding: 18px 20px; border: 1px solid rgba(169, 120, 47, .25); border-radius: 16px; background: #fff; box-shadow: 0 18px 36px -30px rgba(59, 42, 29, .5); color: var(--encre); text-decoration: none; transition: border-color .2s ease, transform .2s ease; }
.v3-occasion:hover, .v3-occasion:focus-visible { border-color: #BD4C29; transform: translateY(-1px); color: var(--encre); }
.v3-occasion-nom { grid-column: 1; font: 600 23px/1.2 "Cormorant Garamond", Georgia, serif; }
.v3-occasion-texte { grid-column: 1; font-size: 14.5px; line-height: 1.5; color: var(--texte); }
.v3-occasion-action { grid-column: 2; grid-row: 1 / span 2; display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 18px; border-radius: 10px; background: #BD4C29; color: #fff; font: 500 17px/1 "Cormorant Garamond", Georgia, serif; white-space: nowrap; }
@media (max-width: 560px) { .v3-occasion { grid-template-columns: 1fr; } .v3-occasion-action { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 8px; } }

/* Parcours coupés dans Réglages › Bookdo (« Activé » décoché) : leurs boutons disparaissent, le bouton restant prend la place. */
body.bookdo-sans-reserver :is(a[href*="/reserver/"]:not(.v3-chips a, .spa-durees a), [data-reserver], [data-spa-reserver], [data-of-resa], [data-demande-lien][href*="/reserver/"], .v3-express, .spa-libre),
body.bookdo-sans-cadeau :is(a[href*="/cartes-cadeaux/"], .btn-cadeau, .soin-offrir, [data-spa-offrir], [data-of-offrir], [data-fiche-offrir]),
body.bookdo-sans-guide :is([data-guide], .rappel-guide, .nav-guide, .sous-guide, .ms-question) { display: none !important; }
body:is(.bookdo-sans-reserver, .bookdo-sans-cadeau) :is(.soin-actions, .of-boutons, .spa-boutons, .ph-guide-boutons, .ms-question-boutons, .pg-actions, .barre-in) { grid-template-columns: minmax(0, 1fr) !important; }
body:is(.bookdo-sans-reserver, .bookdo-sans-cadeau) .ac-actions-grille:has(> :nth-child(3):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 820px) { body:is(.bookdo-sans-reserver, .bookdo-sans-cadeau) .ac-actions-grille { grid-template-columns: minmax(0, 1fr) !important; } }
