/* NADIS SPA PARIS — what the D2 mockup did not draw: form errors, the cookie bar, the gift card form, the salon
   album, the blog, the legal pages and the short pages. Built on d.css's tokens (--blanc, --lin, --argile, …). */
:root { --erreur: #9B2C1F; }

/* Forms: honeypot, error summary and field errors */
.piege { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.alerte { padding: 16px 20px; border-left: 3px solid var(--erreur); background: var(--lin); }
.alerte p { color: var(--teck); }
.alerte:focus { outline: 2px solid var(--teck); outline-offset: 3px; }
.erreur-champ { display: block; color: var(--erreur); font-size: .95rem; }
.champ [aria-invalid="true"], .case [aria-invalid="true"] { border-color: var(--erreur); outline-color: var(--erreur); }
.case + .erreur-champ { margin-top: -10px; padding-left: 36px; }
.chat-panneau .erreur { margin: 0; color: var(--erreur); font-size: .95rem; }
.resa .merci:focus, .chat-panneau .merci:focus { outline: 2px solid var(--teck); outline-offset: 3px; }
.resa .merci .lien { margin-top: 18px; display: inline-block; }

/* Footer: the cookie link is a button that looks like its neighbours */
.lien-pied { padding: 0; border: 0; background: none; color: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit; text-decoration: inherit; cursor: pointer; }
.lien-pied:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Cookie bar */
.bandeau-cookies { position: fixed; z-index: 80; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); width: min(560px, calc(100vw - 32px)); display: grid; gap: 14px; padding: 20px 22px; background: var(--blanc); color: var(--teck); box-shadow: 0 24px 60px rgba(20, 15, 12, .28); font-size: .95rem; }
.bandeau-cookies[hidden] { display: none; }
.bandeau-cookies a { text-decoration: underline; text-underline-offset: 3px; }
.bandeau-cookies .actions { display: flex; flex-wrap: wrap; gap: 10px; }
.bandeau-cookies .btn { height: 44px; padding: 0 20px; }

/* Short pages: thanks, errors, empty blog */
.page-courte { min-height: 56vh; padding-bottom: var(--section); }
.actions-courtes { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 28px; }
.titre-page .actions-courtes { max-width: none; }

/* Gift card form */
.groupe { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; gap: 16px; }
.groupe legend { margin-bottom: 14px; padding: 0; font: 500 .8rem/1.4 var(--f-texte); letter-spacing: .14em; text-transform: uppercase; color: var(--argile-fonce); }
.choix-cartes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.choix-carte { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 14px; min-height: 76px; padding: 14px 18px; border: 1px solid rgba(42, 33, 28, .22); background: #fff; cursor: pointer; transition: border-color .25s, background .25s, box-shadow .25s; }
.choix-carte:hover { border-color: var(--teck); }
.choix-carte input { position: absolute; opacity: 0; pointer-events: none; }
.choix-carte:has(input:checked) { border-color: var(--teck); background: var(--lin); box-shadow: inset 0 0 0 1px var(--teck); }
.choix-carte:has(input:focus-visible) { outline: 2px solid var(--teck); outline-offset: 2px; }
.choix-carte .nom { font: 400 1.0625rem/1.35 var(--f-texte); }
.choix-carte .nom small { display: block; margin-top: 2px; font-size: .875rem; color: var(--taupe); }
.choix-carte .prix { font: 300 1.5rem/1 var(--f-display); white-space: nowrap; }
/* The same cards as a plain list, while the gift card is ordered by phone. */
.cartes-liste { margin: 0 0 24px; padding: 0; list-style: none; }
.cartes-liste .choix-carte { cursor: default; }
.cartes-liste .choix-carte:hover { border-color: rgba(42, 33, 28, .22); }
.scene-carte .carte-argile { position: relative; right: auto; bottom: auto; width: 100%; max-width: 430px; }

/* Notre espace */
.album { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.album li { aspect-ratio: 4 / 5; overflow: hidden; background: var(--lin); }
.album img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.album li:hover img { transform: scale(1.03); }
.texte-court { display: grid; gap: 14px; align-content: start; font-size: 1.125rem; }
.photo-venir { aspect-ratio: 3 / 2; overflow: hidden; }
.photo-venir img { width: 100%; height: 100%; object-fit: cover; }
.infos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 28px; margin-top: 28px; }
.infos dt { margin-bottom: 4px; }
.infos dd { font: 300 1.125rem/1.45 var(--f-display); }

/* Legal pages and blog posts */
.texte-legal, .texte-article { max-width: 72ch; padding-bottom: var(--section); }
.texte-legal h2, .texte-article h2 { margin-top: 2.2em; font: 300 clamp(1.5rem, 1.25rem + .8vw, 2rem)/1.15 var(--f-display); }
.texte-legal h3, .texte-article h3 { margin-top: 1.6em; font: 500 1.0625rem/1.4 var(--f-texte); }
.texte-legal p, .texte-legal ul, .texte-article p, .texte-article ul, .texte-article ol, .texte-article figure, .texte-article blockquote { margin-top: 1em; }
.texte-legal ul, .texte-article ul, .texte-article ol { padding-left: 1.3em; }
.texte-legal li + li, .texte-article li + li { margin-top: .4em; }
.texte-legal a, .texte-article a { text-decoration: underline; text-underline-offset: 3px; }
.texte-article blockquote { padding-left: 20px; border-left: 2px solid var(--argile); font: 300 1.375rem/1.5 var(--f-display); }
.texte-article figcaption { margin-top: 6px; font-size: .875rem; color: var(--taupe); }
.texte-article hr { margin: 2em 0; border: 0; border-top: 1px solid rgba(42, 33, 28, .14); }

/* Blog list */
.blog-vide { padding-bottom: var(--section); }
.blog-vide > p:first-child { font: 300 clamp(1.5rem, 1.25rem + .9vw, 2.1rem)/1.3 var(--f-display); color: var(--taupe); }
.blog-liste { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; margin: 0; padding: 0 0 var(--section); list-style: none; }
.blog-liste a { display: grid; gap: 10px; text-decoration: none; }
.blog-liste img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.blog-liste .date { font: 500 .8rem/1.4 var(--f-texte); letter-spacing: .14em; text-transform: uppercase; color: var(--argile-fonce); }
.blog-liste h2 { font: 300 1.5rem/1.15 var(--f-display); }
.blog-liste p { color: var(--taupe); }

/* The price rows need the full width before the phone layout starts (d2.css stacks at 900 px). */
@media (max-width: 1180px) {
  .rubrique { grid-template-columns: minmax(0, 1fr); row-gap: 24px; }
  .rubrique > .tete, .rubrique > .contenu { grid-column: 1; }
  .rubrique > .tete p { max-width: 60ch; }
}

/* The chat's data-use line; the cookie bar steps aside while the chat is open (it hid « Envoyer » on phones). */
.chat-panneau .rgpd { margin: 10px 0 0; font-size: .8rem; color: var(--taupe); }
.chat-ouvert .bandeau-cookies { visibility: hidden; }

/* The booking summary card waits for a treatment to be chosen (site.js). */
.carte-resume[hidden] { display: none; }

/* The address heading of the home's practical block, now followed directly by the shopfront photo. */
.pratique > .titre { margin-bottom: clamp(28px, 4vw, 56px); }

/* The bottom call bar is for phones: on computers the fixed header shows the number and « Réserver ». */
@media (min-width: 901px) { .flottant { display: none; } }

/* Free-plan project only: Wix's banner holds the bottom-right corner (20 px up, 44 px tall); site.js marks it. */
.wix-banniere .chat-bouton { bottom: 76px; }
.wix-banniere .chat-panneau { bottom: 146px; max-height: calc(100svh - 174px); }

@media (max-width: 900px) {
  .wix-banniere .flottant { margin-bottom: 72px; }
  .wix-banniere .chat-bouton { bottom: calc(76px + env(safe-area-inset-bottom)); }
  .wix-banniere body:has(.flottant.visible) .chat-bouton { bottom: calc(154px + env(safe-area-inset-bottom)); }
  .wix-banniere .chat-panneau { bottom: calc(142px + env(safe-area-inset-bottom)); max-height: calc(100svh - 170px); }
  .wix-banniere .bandeau-cookies { bottom: calc(76px + env(safe-area-inset-bottom)); }
}

@media (max-width: 900px) {
  .choix-cartes, .album, .infos, .blog-liste { grid-template-columns: minmax(0, 1fr); }
  .album { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bandeau-cookies { left: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); width: calc(100vw - 24px); }
  .bandeau-cookies .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) { .album img { transition: none; } }

/* Home: the treatments block ends on its booking button (client SPEC 3.1 ②); the ratings carry their star. */
.soins .suite-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; }
.avis .note .etoile { margin-left: .08em; font-size: .42em; vertical-align: .9em; color: var(--ambre); }

/* Image-led pages (luxury benchmarks put 26–65 % of a page in images): a photo per chapter of the price list,
   a band and a scene on the gift card page, and one full-bleed pause on the home page. */
.rubrique-photo { margin-top: clamp(22px, 2.4vw, 34px); aspect-ratio: 4 / 5; overflow: hidden; background: var(--lin); }
.rubrique-photo.paysage { aspect-ratio: 4 / 3; }
.rubrique-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.rubrique:hover .rubrique-photo img { transform: scale(1.03); }
@media (min-width: 1181px) { .rubrique > .tete { align-self: start; position: sticky; top: 104px; } }
@media (max-width: 1180px) { .rubrique-photo, .rubrique-photo.paysage { aspect-ratio: 3 / 2; max-height: 460px; } }
.scene-carte { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--lin); }
.scene-carte .fond { width: 100%; height: 100%; object-fit: cover; }
.scene-carte .carte-argile { position: absolute; left: 7%; right: 7%; bottom: 7%; width: auto; max-width: none; box-shadow: 0 30px 60px rgba(20, 15, 12, .35); }
.respiration { position: relative; height: clamp(340px, 56vw, 820px); overflow: hidden; background: var(--teck); }
.respiration img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; will-change: transform; }

/* Page changes cross-fade where the browser supports cross-document view transitions. */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .45s; animation-timing-function: var(--ease); }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } .rubrique-photo img { transition: none; } }

/* Touch targets of at least 44 px on phones and tablets (client SPEC §4). */
@media (max-width: 900px) {
  .menu-bouton { width: 44px; height: 44px; }
  .entete .langue { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }
  .ligne-prix .lien { display: inline-flex; align-items: center; min-height: 44px; padding-block: 0; }
  footer .col { gap: 0; }
  footer .col a, footer .reseaux a, footer .bas nav a, .lien-pied, footer .offrir a { display: inline-flex; align-items: center; min-height: 44px; }
  footer .reseaux { gap: 24px; }
  footer .bas nav { gap: 4px 20px; }
}

/* Booking: three steps beside a summary card that follows the choices (treatment photo, length, price, day and
   time). The treatment is picked from photo cards and the day and time from chips; all of it works without JS. */
.resa-luxe form { gap: 38px; }
.etape { display: grid; gap: 12px; min-width: 0; margin: 0; padding: 0; border: 0; }
.etape legend { display: flex; align-items: baseline; gap: 14px; margin-bottom: 6px; padding: 0; font: 300 clamp(1.5rem, 1.25rem + 1vw, 2.15rem)/1.1 var(--f-display); }
.etape legend b { font: 500 .95rem/1 var(--f-texte); color: var(--argile); }
/* d.css styles « .etape p » for D's treatment pages: these titles outrank it. */
.etape .groupe-titre, .groupe-titre { margin-top: 8px; font: 500 .8rem/1.3 var(--f-texte); letter-spacing: .14em; text-transform: uppercase; color: var(--taupe); }
.groupe-soins { display: grid; gap: 8px; }
.choix-soins { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.choix-soin { position: relative; display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 8px 16px 8px 8px; border: 1px solid rgba(42, 33, 28, .18); background: #fff; cursor: pointer; transition: border-color .25s, background .25s, box-shadow .25s; }
.choix-soin:hover { border-color: var(--teck); }
.choix-soin input, .puce input { position: absolute; opacity: 0; pointer-events: none; }
.choix-soin img { width: 60px; height: 75px; object-fit: cover; }
.choix-soin .nom { font: 400 .95rem/1.3 var(--f-texte); }
.choix-soin .nom small { display: block; margin-top: 2px; font-size: .875rem; color: var(--taupe); }
.choix-soin .prix { font: 300 1.375rem/1 var(--f-display); white-space: nowrap; }
.choix-soin:has(input:checked) { border-color: var(--teck); background: var(--lin); box-shadow: inset 0 0 0 1px var(--teck); }
.choix-soin:has(input:focus-visible), .puce:has(input:focus-visible) { outline: 2px solid var(--teck); outline-offset: 2px; }
.puces { display: flex; flex-wrap: wrap; gap: 8px; }
.puce { position: relative; cursor: pointer; }
.puce span { display: inline-grid; place-items: center; min-width: 76px; min-height: 48px; padding: 6px 14px; border: 1px solid rgba(42, 33, 28, .2); background: #fff; font: 400 .95rem/1.2 var(--f-texte); transition: background .25s, color .25s, border-color .25s; }
.puce-jour span { min-width: 66px; min-height: 78px; gap: 3px; padding: 8px 10px; }
.puce-jour small { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--taupe); }
.puce-jour b { font: 300 1.5rem/1 var(--f-display); }
.puce:hover span { border-color: var(--teck); }
.puce:has(input:checked) span { background: var(--teck); border-color: var(--teck); color: var(--blanc); }
.puce:has(input:checked) small { color: rgba(251, 248, 243, .72); }
.puce.indispo, .puce:has(input:disabled) { cursor: not-allowed; }
.puce.indispo span, .puce:has(input:disabled) span { opacity: .3; text-decoration: line-through; }
.date-autre { display: none; max-width: 300px; }
.date-autre.visible, .etape:has(input[name=date][value=autre]:checked) .date-autre { display: grid; }
.recap-mobile { display: none; }
.resa-luxe aside { align-self: start; position: sticky; top: 104px; }
.carte-resume { display: grid; background: var(--lin); }
.resa-luxe .carte-resume .photo { aspect-ratio: 4 / 3; overflow: hidden; }
.carte-resume .photo img { width: 100%; height: 100%; object-fit: cover; transition: opacity .45s var(--ease); }
.carte-resume .photo img.change { opacity: .25; }
.carte-resume .corps { display: grid; gap: 6px; padding: 22px 24px 26px; }
.carte-resume .nom { font: 300 1.5rem/1.15 var(--f-display); }
.carte-resume .meta { color: var(--taupe); }
.carte-resume .quand { margin-top: 8px; padding-top: 12px; border-top: 1px solid rgba(42, 33, 28, .12); }
@media (max-width: 1100px) { .choix-soins { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 900px) {
  .puces-dates { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--px)); padding-inline: var(--px); }
  .puces-dates::-webkit-scrollbar { display: none; }
  .puce-autre span { white-space: nowrap; }
  .resa-luxe aside { position: static; }
  .carte-resume { display: none; }
  .recap-mobile:not(:empty) { display: block; padding: 14px 16px; background: var(--lin); font-size: .95rem; }
}
.respiration.courte { height: clamp(260px, 38vw, 560px); }
.respiration + .conteneur > .rubrique:first-of-type { border-top: 0; }

/* The client's logo (SPEC §4): stacked in the header at the top of the page, horizontal once the page scrolls,
   on phones, in the footer and on the gift card. */
.entete .marque { display: grid; place-items: center; }
.entete .marque svg { grid-area: 1 / 1; height: auto; transition: opacity .45s var(--ease), transform .6s var(--ease); }
.entete .marque .logo-ligne { width: 100%; }
.entete .marque .logo-empile { width: 118px; }
@media (min-width: 901px) {
  .page-d2 .entete:not(.defile) { height: 120px; }
  .entete:not(.defile) .marque .logo-ligne { opacity: 0; transform: translateY(8px); }
  .entete.defile .marque .logo-empile { opacity: 0; transform: translateY(-8px); }
  .page-sous main { padding-top: 120px; }
  .ouverture { padding-top: calc(120px + clamp(28px, 3.4vw, 48px)); }
}
@media (max-width: 900px) {
  .entete .marque .logo-empile, .entete .langue { display: none; }
  .entete .marque { width: clamp(132px, 100vw - 2 * var(--px) - 174px, 176px); }
}
@media (prefers-reduced-motion: reduce) { .entete .marque svg { transition: none; } }
/* Up to 1299 px the four nav items no longer fit beside the centred logo and wrapped onto two lines: the menu
   button takes over, as on phones. */
@media (min-width: 901px) and (max-width: 1299px) {
  .entete nav { display: none; }
  .entete .marque { grid-column: 2; }
  .entete .outils { grid-column: 3; }
  .menu-bouton { display: inline-grid; place-items: center; width: 44px; height: 44px; }
  .menu-plein { padding-top: 150px; }
}

/* Type and colour, after the review of 2026-11-01 (the small texts the client calls « AI filler »): capitals only
   where something is clicked (nav, buttons, links); every other small label in sentence case, untracked. Sizes run
   on a short scale (.8, .875, .95, 1.0625, 1.125, 1.25, 1.375, 1.5, 1.75 rem), light text on dark at .9 or .72. */
.surtitre, .note span, footer h2, .carte .etiquette, .avis .sceau-ligne,
.champ label, .champ .libelle, .groupe legend, .blog-liste .date, .etape .groupe-titre, .groupe-titre,
.puce-jour small { text-transform: none; letter-spacing: normal; }
.surtitre { font-size: .875rem; color: var(--taupe); }
.carte .etiquette { font-size: .8rem; }
/* The client's « ★ NOUVEAU » (SPEC 3.1 ③, 3.2 C) beside the lunch-break heading. */
.badge { display: inline-block; vertical-align: .35em; margin-left: .45em; padding: 3px 10px 2px; border: 1px solid currentColor; border-radius: 99px; font: 500 .8rem/1.3 var(--f-texte); letter-spacing: normal; text-transform: none; }
/* Two button styles: dark for the main action, outlined for the second one. */
.btn-argile { background: var(--teck); color: var(--blanc); }
.btn-argile:hover { background: var(--teck-2); color: var(--blanc); }
