/* Direction D2: D after the client's feedback of 2026-10-31. No hero photo, one sentence; every treatment in
   one priced grid (taken from C); a team line that names nobody; shorter copy, each block ends on a way to
   book; the price list and the booking request as pages of their own. Loads after ../d/style.css and only
   adds or overrides. */

/* Touch targets: 44 px everywhere, the phone header included (client SPEC, mobile section). */
.entete .btn { height: 44px; }
/* Four nav items: the phone number leaves the header before the row gets tight (it stays in the menu). */
@media (max-width: 1180px) { .entete .tel { display: none; } }

/* Full-screen phone menu (as in D) */
.menu-plein { position: fixed; inset: 0; z-index: 60; background: var(--blanc); padding: 96px var(--px) 40px; display: grid; align-content: start; gap: 6px; transform: translateY(-100%); visibility: hidden; transition: transform .7s var(--ease), visibility .7s; }
.menu-ouvert .menu-plein { transform: none; visibility: visible; }
.menu-plein a { font: 300 2.3rem/1.3 var(--f-display); text-decoration: none; }
.menu-plein .petit { margin-top: 28px; font: 400 1.0625rem/1.8 var(--f-texte); color: var(--taupe); }
.menu-plein .petit a { font: inherit; text-decoration: underline; }
.menu-ouvert .entete { color: var(--teck) !important; background: transparent !important; box-shadow: none !important; z-index: 70; }

/* Opening: the sentence alone, on cream, the header solid from the start. */
.page-d2 .entete { background: rgba(251, 248, 243, .95); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
/* Short enough that the first row of priced cards shows at 1440 × 900. */
.ouverture { padding: calc(88px + clamp(40px, 5vw, 80px)) 0 clamp(32px, 3.5vw, 52px); }
.ouverture h1 { max-width: 30ch; font: 300 clamp(2.5rem, 1.125rem + 4vw, 5.2rem)/1.03 var(--f-display); letter-spacing: -.025em; }
.ouverture h1 em { font-style: italic; color: var(--argile); }
.ouverture .ligne { display: block; overflow: hidden; padding-bottom: .07em; }
.ouverture .ligne > span { display: inline-block; }
.anime .ouverture .ligne > span { transform: translateY(108%); transition: transform 1.2s var(--ease) calc(var(--i, 0) * 140ms + 150ms); }
.anime.charge .ouverture .ligne > span { transform: none; }

/* Every treatment, one grid (from C), in D's materials */
.soins { padding-bottom: var(--section); }
.soins-tete { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px 32px; margin-bottom: 30px; }
.soins-tete h2 { font: 300 clamp(1.75rem, 1.375rem + 1.6vw, 2.8rem)/1.1 var(--f-display); letter-spacing: -.012em; }
.filtres { display: flex; gap: 8px; }
.filtres button { height: 44px; padding: 0 18px; border: 1px solid rgba(42, 33, 28, .22); border-radius: 2px; background: var(--blanc); font: 500 .95rem/1 var(--f-texte); white-space: nowrap; transition: background .3s, color .3s, border-color .3s; }
.filtres button:hover { border-color: var(--teck); }
.filtres button[aria-pressed="true"] { background: var(--teck); color: var(--blanc); border-color: var(--teck); }
.grille-soins { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 20px; }
.carte { display: block; text-decoration: none; }
.carte .photo { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--lin); }
.carte .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.carte:hover .photo img { transform: scale(1.05); }
.carte .etiquette { position: absolute; left: 10px; top: 10px; padding: 8px 10px; background: rgba(251, 248, 243, .94); font: 500 .8rem/1 var(--f-texte); letter-spacing: .14em; text-transform: uppercase; color: var(--teck); }
.carte .etiquette.argile { background: var(--argile); color: #fff; }
.carte .reserver { position: absolute; left: 10px; right: 10px; bottom: 10px; height: 44px; display: grid; place-items: center; background: var(--teck); color: var(--blanc); font: 500 .8rem/1 var(--f-texte); letter-spacing: .14em; text-transform: uppercase; transform: translateY(64px); transition: transform .5s var(--ease); }
.carte:hover .reserver, .carte:focus-visible .reserver { transform: none; }
.carte h3 { margin-top: 14px; font: 400 1.375rem/1.15 var(--f-display); }
.carte .meta { display: flex; justify-content: space-between; gap: 10px; margin-top: 6px; font-size: .95rem; color: var(--taupe); }
.carte .meta b { color: var(--teck); font-weight: 500; white-space: nowrap; }
.soins .suite { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(42, 33, 28, .12); color: var(--taupe); }

/* Offers (client SPEC: travellers and the lunch formula), two halves */
.offres { display: grid; grid-template-columns: 1fr 1fr; }
.offre { display: grid; align-content: space-between; gap: 22px; padding: clamp(40px, 5vw, 72px) clamp(24px, 5vw, 72px); }
.offre.voyageurs { background: var(--lin); }
.offre.midi { background: var(--argile); color: #fff; }
.offre .surtitre { margin-bottom: 14px; }
.offre.midi .surtitre { color: #FBEBD9; }
.offre h2 { font: 300 clamp(1.75rem, 1.375rem + 1.3vw, 2.6rem)/1.1 var(--f-display); }
.offre p:not(.surtitre) { margin-top: 12px; color: var(--taupe); }
.offre.midi p:not(.surtitre) { color: rgba(251, 248, 243, .9); }
.offre .bas { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; }
.offre .prix { font: 300 2.4rem/1 var(--f-display); }
.offre .prix small { font: 400 .95rem/1 var(--f-texte); }

/* Salon and team share D's clay chapter */
.salon .equipe { margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .25); }

/* Reviews: three short cards beside the photo */
.avis .notes { margin-top: 0; }
.avis .sceau-ligne { margin-top: 14px; font: 500 .8rem/1.5 var(--f-texte); letter-spacing: .14em; text-transform: uppercase; color: var(--taupe); }
.cartes-avis { gap: 12px; margin-top: 28px; }
.cartes-avis figure { padding: 24px 26px; }
.cartes-avis blockquote { font-size: 1.25rem; line-height: 1.42; }
.cartes-avis figcaption { margin-top: 12px; font-size: .875rem; }

/* Map loads only on request (Google sets cookies) */
.carte-plan { position: relative; height: 100%; min-height: 440px; overflow: hidden; background: var(--lin); }
.carte-plan img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.carte-plan::after { content: ""; position: absolute; inset: 0; background: rgba(32, 24, 20, .38); }
.carte-plan .action { position: absolute; z-index: 2; left: 24px; right: 24px; bottom: 24px; display: grid; justify-items: start; gap: 10px; color: #fff; }
.carte-plan .action small { font-size: .875rem; color: rgba(251, 248, 243, .9); }
.carte-plan iframe { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; border: 0; }

/* Questions on the home page reuse D's accordion */
.questions { background: var(--blanc); }
.questions .liste p { max-width: 58ch; }

/* Footer extras */
footer .reseaux { display: flex; gap: 18px; margin-top: 18px; }
footer .reseaux a { text-decoration: underline; text-underline-offset: 4px; }
footer .offrir { margin-top: 18px; color: #E7B98E; }

/* Chat icon: a message form that lands in the back office and the company mailbox */
.chat-bouton { position: fixed; right: 20px; bottom: 22px; z-index: 46; display: inline-grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--argile); color: #fff; box-shadow: 0 14px 34px rgba(42, 33, 28, .3); transition: bottom .5s var(--ease), background .3s; }
.chat-bouton:hover { background: var(--argile-fonce); }
.chat-bouton svg { width: 26px; height: 26px; }
.chat-panneau { position: fixed; right: 20px; bottom: 92px; z-index: 47; width: min(380px, calc(100vw - 24px)); max-height: calc(100svh - 120px); overflow: auto; padding: 24px; background: var(--blanc); color: var(--teck); box-shadow: 0 30px 70px rgba(20, 15, 12, .3); visibility: hidden; opacity: 0; transform: translateY(16px); transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s; }
.chat-ouvert .chat-panneau { visibility: visible; opacity: 1; transform: none; }
.chat-panneau .entete-chat { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.chat-panneau h2 { font: 300 1.75rem/1.1 var(--f-display); }
.chat-panneau .fermer { width: 44px; height: 44px; margin: -10px -10px 0 0; font: 300 1.75rem/1 var(--f-texte); }
.chat-panneau p.doux { margin-top: 8px; font-size: .95rem; }
.chat-panneau form { display: grid; gap: 14px; margin-top: 18px; }
.chat-panneau .btn { width: 100%; }
.chat-panneau .merci { margin-top: 18px; padding: 16px 18px; background: var(--lin); }

/* Form fields (booking page and chat) */
.champ { display: grid; gap: 8px; }
.champ label, .champ .libelle { font: 500 .8rem/1.3 var(--f-texte); letter-spacing: .14em; text-transform: uppercase; color: var(--taupe); }
.champ label b, .champ .libelle b { color: var(--argile); font-weight: 500; }
.champ input, .champ select, .champ textarea { width: 100%; height: 54px; padding: 0 16px; border: 1px solid rgba(42, 33, 28, .24); border-radius: 2px; background: #fff; font: 400 1.0625rem/1.4 var(--f-texte); color: var(--teck); }
.champ select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--teck) 50%), linear-gradient(135deg, var(--teck) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.champ textarea { height: auto; min-height: 112px; padding: 14px 16px; resize: vertical; }
.champ input:focus, .champ select:focus, .champ textarea:focus { border-color: var(--teck); }
.champ small { font-size: .875rem; color: var(--taupe); }
.case { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; font-size: .95rem; }
.case input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--teck); }

/* ===== Booking request page ===== */
.page-sous main { padding-top: 88px; }
.titre-page { padding-block: clamp(36px, 6vw, 88px) clamp(28px, 4vw, 52px); }
.titre-page h1 { font: 300 clamp(2.6rem, 1.5rem + 3vw, 4.6rem)/1.02 var(--f-display); letter-spacing: -.022em; }
.titre-page p:not(.surtitre) { max-width: 52ch; margin-top: 16px; color: var(--taupe); font-size: 1.125rem; }
.titre-page .surtitre { margin-bottom: 16px; }
.resa { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; padding-bottom: var(--section); }
.resa .formulaire { grid-column: 1 / 8; }
.resa form { display: grid; gap: 20px; }
.resa .rangee { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.resa .envoi { display: grid; gap: 12px; margin-top: 8px; }
.resa .envoi .btn { justify-self: start; min-width: 280px; }
.resa .envoi small { color: var(--taupe); }
.resa .rgpd { font-size: .875rem; color: var(--taupe); }
.resa .merci { padding: 32px; background: var(--lin); }
.resa .merci h2 { font: 300 2.2rem/1.1 var(--f-display); }
.resa .merci p { margin-top: 12px; color: var(--taupe); }
.resa aside { grid-column: 9 / 13; display: grid; align-content: start; gap: 24px; }
.resa aside .photo { aspect-ratio: 4 / 5; overflow: hidden; }
.resa aside .photo img { width: 100%; height: 100%; object-fit: cover; }
.resa aside dl { display: grid; gap: 22px; }
.resa aside dt { margin-bottom: 4px; }
.resa aside dd { font: 300 1.25rem/1.45 var(--f-display); }
.resa aside dd small { display: block; margin-top: 2px; font: 400 .95rem/1.55 var(--f-texte); color: var(--taupe); }

/* ===== Price list page ===== */
.bandeau-photo { height: clamp(220px, 30vw, 440px); overflow: hidden; }
.bandeau-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.rubrique { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; padding-block: clamp(48px, 6vw, 96px); border-top: 1px solid rgba(42, 33, 28, .12); }
.rubrique:first-of-type { border-top: 0; }
.rubrique > .tete { grid-column: 1 / 5; }
.rubrique > .tete h2 { font: 300 clamp(1.75rem, 1.375rem + 1.4vw, 2.7rem)/1.08 var(--f-display); }
.rubrique > .tete p { margin-top: 12px; color: var(--taupe); }
.rubrique > .contenu { grid-column: 6 / 13; }
.ligne-prix { display: grid; grid-template-columns: minmax(0, 1fr) 76px 80px 136px auto; align-items: baseline; gap: 6px 20px; padding: 20px 0; border-bottom: 1px solid rgba(42, 33, 28, .1); }
.ligne-prix h3 { font: 400 1.25rem/1.2 var(--f-display); }
.ligne-prix h3 small { display: block; margin-top: 4px; font: 400 .95rem/1.5 var(--f-texte); color: var(--taupe); }
.ligne-prix .duree { color: var(--taupe); white-space: nowrap; }
.ligne-prix .prix { font: 300 1.5rem/1 var(--f-display); white-space: nowrap; }
.ligne-prix .prix-duo { font: 300 1.25rem/1 var(--f-display); color: var(--taupe); white-space: nowrap; }
.ligne-prix .lien { padding-block: 6px; }
.encart { display: grid; gap: 14px; padding: clamp(28px, 3.5vw, 44px); }
.encart.lin { background: var(--lin); }
.encart.argile { background: var(--argile); color: #fff; }
.encart.argile .surtitre { color: #FBEBD9; }
.encart h3 { font: 300 clamp(1.75rem, 1.375rem + 1vw, 2.3rem)/1.1 var(--f-display); }
.encart p { color: var(--taupe); }
.encart.argile p { color: rgba(251, 248, 243, .9); }
.encart .bas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 6px; }
.encart .prix { font: 300 2.4rem/1 var(--f-display); }

/* ===== Phones and tablets ===== */
@media (max-width: 1100px) {
  .grille-soins { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .entete .btn { height: 44px; padding: 0 16px; }
  .page-d2 .entete { height: 66px; }
  .ouverture { padding: calc(66px + 36px) 0 28px; }
  .ouverture h1 { font-size: clamp(2.3rem, 10.4vw, 3.2rem); }
  .soins-tete { margin-bottom: 20px; }
  .filtres { width: calc(100% + 2 * var(--px)); margin-inline: calc(-1 * var(--px)); padding-inline: var(--px); overflow-x: auto; scrollbar-width: none; }
  .filtres::-webkit-scrollbar { display: none; }
  .grille-soins { grid-template-columns: 1fr 1fr; gap: 24px 12px; }
  .carte h3 { font-size: 1.125rem; }
  .carte .meta { flex-direction: column; gap: 2px; font-size: .95rem; }
  .carte .reserver { display: none; }
  .offres { grid-template-columns: minmax(0, 1fr); }
  .avis .contenu { grid-column: 1; }
  .carte-plan { min-height: 0; aspect-ratio: 4 / 3.4; }
  .chat-bouton { right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); width: 54px; height: 54px; }
  body:has(.flottant.visible) .chat-bouton { bottom: calc(80px + env(safe-area-inset-bottom)); }
  .chat-panneau { right: 12px; bottom: calc(80px + env(safe-area-inset-bottom)); }
  .page-sous main { padding-top: 66px; }
  .resa, .rubrique { grid-template-columns: minmax(0, 1fr); row-gap: 28px; }
  .resa .formulaire, .resa aside, .rubrique > .tete, .rubrique > .contenu { grid-column: 1; }
  .resa .rangee { grid-template-columns: minmax(0, 1fr); }
  .resa .envoi .btn { justify-self: stretch; min-width: 0; }
  .resa aside .photo { display: none; }
  .ligne-prix { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; }
  .ligne-prix h3 { grid-column: 1 / -1; }
  .ligne-prix .duree { grid-column: 1; }
  .ligne-prix .prix { grid-column: 2; grid-row: 2; text-align: right; }
  .ligne-prix .prix-duo { grid-column: 1; }
  .ligne-prix .prix-duo:empty { display: none; }
  .ligne-prix .lien { grid-column: 2; justify-self: end; }
}
.chat-panneau, .chat-bouton { --focus: var(--teck); --focus-halo: #FFFFFF; }
.offre.midi, .encart.argile { --focus: #FFFFFF; --focus-halo: rgba(32, 24, 20, .85); }
