/* Thème « julie » : transposition de la maquette V2 (divers/julie-coiffure/site/maquette/assets/site.css).
   Couleurs et polices : theme.json (variables --wp--preset--*), reprises ici sous les noms de la maquette.
   Nickainley (script) seulement pour les grands titres (32 px et plus), jamais pour la navigation, les boutons ni les prix. */
:root {
  --encre: var(--wp--preset--color--encre, #23263a);
  --encre-2: var(--wp--preset--color--encre-2, #3a3e57);
  --sable: var(--wp--preset--color--sable, #f1e6ea);
  --sable-50: var(--wp--preset--color--sable-50, #faf5f6);
  --creme: var(--wp--preset--color--creme, #fffcfd);
  --terre: var(--wp--preset--color--terre, #a8506b);      /* accent : 5,2:1 sur blanc */
  --terre-2: var(--wp--preset--color--terre-2, #8a3f57);
  --rose: var(--wp--preset--color--rose, #f6e3e9);
  --rose-clair: var(--wp--preset--color--rose-clair, #f3b9ca);                                    /* accent sur fond encre */
  --sauge: var(--wp--preset--color--sauge, #5f7560);
  --sauge-50: var(--wp--preset--color--sauge-50, #e7ede5);
  --texte: var(--wp--preset--color--texte, #2b2c33);
  --texte-2: var(--wp--preset--color--texte-2, #5e606b);
  --trait: color-mix(in srgb, var(--sable) 60%, #d6d1d4);
  --ok: #2f6b45;
  --script: var(--wp--preset--font-family--script, Nickainley, cursive);
  --display: var(--wp--preset--font-family--serif, Fraunces, Georgia, serif);
  --corps: var(--wp--preset--font-family--corps, Manrope, system-ui, sans-serif);
  --r: 18px;
  --ombre: 0 18px 40px -24px rgba(35, 38, 58, .45);
  /* Jetons d'usage (redéfinis par dark.css pour le mode sombre) */
  --surface: #fff;                 /* cartes, panneaux, champs */
  --plein: #23263a;                /* fonds pleins foncés : pied, bandeau, barre de choix */
  --btn: var(--wp--preset--color--bouton, #a8506b);                  /* fond des boutons principaux (texte blanc 5,2:1) */
  --btn-hover: var(--wp--preset--color--bouton-2, #8a3f57);
  --encre-fixe: #23263a;           /* texte des boutons blancs */
  --chip-on: #23263a;
  --chip-on-txt: #fff;
  --opt-on: color-mix(in srgb, var(--rose) 40%, #fff);
  --top-bg: rgba(255, 252, 253, .94);
  --champ: color-mix(in srgb, var(--sable) 40%, #bdb7bb); /* bordure des champs */
  --top: 72px;
  --admin: var(--wp-admin--admin-bar--height, 0px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--top) + var(--admin) + 12px); }
body { margin: 0; font-family: var(--corps); font-size: 16px; line-height: 1.6; color: var(--texte); background: var(--creme); overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; line-height: 1.08; margin: 0; color: var(--encre); letter-spacing: -.01em; }
h1 em, h2 em { font-style: italic; color: var(--terre); }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--terre); outline-offset: 2px; border-radius: 6px; }
.ic { width: 20px; height: 20px; flex: none; }
.muted { color: var(--texte-2); font-size: 14px; }

/* Grands titres manuscrits (Nickainley) : chasse étroite et hampes hautes → plus grand, interligne ample.
   L'italique n'existe pas pour un script : l'accent passe par la couleur. */
.is-style-hero h1, .ph-head h1, .sec-h h2, .tcat > h2, .is-style-band h2, .wp-block-heading.is-style-script {
  font-family: var(--script); font-weight: 400; letter-spacing: 0; line-height: 1.12;
}
.is-style-hero h1 em, .ph-head h1 em, .sec-h h2 em, .tcat > h2 em, .is-style-band h2 em, .is-style-script em { font-style: normal; color: var(--terre); }
.is-style-band h2 em { color: var(--rose-clair); }
.wp-block-heading.is-style-script { font-size: clamp(38px, 4.6vw, 56px); }

/* Structure du site (WordPress) : pas d'écart entre en-tête, contenu et pied */
.wp-site-blocks > * { margin-block: 0; }
.wp-site-blocks { padding: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--plein); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

/* Logo : PNG blanc utilisé comme masque, teinté par currentColor */
.logo { display: block; width: 64px; aspect-ratio: 712 / 624; background: currentColor; -webkit-mask: var(--jc-logo) center / contain no-repeat; mask: var(--jc-logo) center / contain no-repeat; }

/* En-tête (la partie « header » colle en haut) */
header.site-top { position: sticky; top: var(--admin); z-index: 40; }
.top { background: var(--top-bg); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--trait); }
.top .wrap { display: flex; align-items: center; gap: 20px; min-height: var(--top); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--encre); padding: 4px 0; }
.brand .logo { width: 58px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; font-size: 15px; padding: 10px 12px; border-radius: 999px; color: var(--encre-2); white-space: nowrap; }
.nav a:hover { background: var(--sable); }
.nav a[aria-current="page"] { color: var(--terre-2); background: var(--rose); }
.tel { text-decoration: none; font-weight: 700; font-size: 15px; color: var(--encre); white-space: nowrap; padding: 12px 0; }
.burger { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--trait); background: var(--surface); color: var(--encre); align-items: center; justify-content: center; cursor: pointer; }
.burger .ic { width: 22px; height: 22px; }
.drawer { display: none; }
/* Bouton « Mode sombre » : lune en clair, soleil en sombre (voir dark.css) ; visible seulement avec JavaScript */
.mode { display: none; align-items: center; justify-content: center; gap: 10px; min-width: 44px; min-height: 44px; border-radius: 999px; border: 1px solid var(--trait); background: transparent; color: var(--encre-2); cursor: pointer; font: 700 15px var(--corps); padding: 0; }
.js .mode { display: inline-flex; }
.mode:hover { background: var(--sable); color: var(--encre); }
.mode .sun { display: none; }
.mode--text { padding: 0 16px; margin-top: 12px; align-self: flex-start; }
.social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.social a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; min-height: 44px; border-radius: 999px; text-decoration: none; }

/* Boutons (maquette .btn, et boutons Gutenberg) */
.btn, .wp-block-button__link, .wp-element-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0; font: 700 16px/1.15 var(--corps); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .15s, transform .15s; }
.btn:active, .wp-block-button__link:active { transform: scale(.98); }
.btn.p, .wp-block-button__link, .wp-element-button { background: var(--btn); color: #fff; }
.btn.p:hover, .wp-block-button__link:hover { background: var(--btn-hover); color: #fff; }
.btn.s, .wp-block-button.is-style-outline > .wp-block-button__link { background: transparent; color: var(--encre); box-shadow: inset 0 0 0 1.5px var(--encre); border: 0; padding: 0 22px; }
.btn.s:hover, .wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--sable); color: var(--encre); }
.btn.w, .wp-block-button.is-style-white > .wp-block-button__link { background: #fff; color: var(--encre-fixe); }
.btn.w:hover, .wp-block-button.is-style-white > .wp-block-button__link:hover { background: var(--sable); color: var(--encre-fixe); }
.btn.sm { min-height: 44px; padding: 0 16px; font-size: 15px; }
.btn .ic, .wp-block-button__link .ic { width: 18px; height: 18px; }
.wp-block-buttons { gap: 10px; }
.wp-block-buttons > .wp-block-button { margin: 0; }
.jc-book-button { margin: 0; }

/* Barre basse mobile */
.dock { display: none; }

/* Styles de texte */
.is-style-kick { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--sauge); }
.is-style-lead { font-size: clamp(17px, 1.8vw, 19px); color: var(--texte-2); max-width: 44ch; }
.is-style-fine { font-size: 13px; color: var(--texte-2); }
.wp-block-post-content > p, .wp-block-post-content .wp-block-group > p:not([class*="is-style"]), .wp-block-column > p:not([class*="is-style"]) { max-width: 68ch; }
.wp-block-post-content a:not(.btn):not(.wp-block-button__link):not(.u):not(.opt):not(.book) { color: var(--terre-2); }

/* Contenu des pages : sections pleine largeur collées les unes aux autres */
.wp-block-post-content > .alignfull { margin-block: 0; }
.wp-block-post-content > :first-child { margin-block-start: 0; }

/* Héros (colonnes, style « Héros ») */
.wp-block-columns.is-style-hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding-top: 56px; padding-bottom: 56px; margin: 0 auto; }
.wp-block-columns.is-style-hero > .wp-block-column { min-width: 0; }
.wp-block-columns.is-style-hero h1 { font-size: clamp(50px, 6.4vw, 84px); margin: 14px 0 18px; }
.wp-block-columns.is-style-hero .wp-block-buttons { margin-top: 26px; }
.open { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 26px; font-size: 15px; color: var(--texte-2); }
.open b { color: var(--encre); }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--ok); margin-right: 6px; box-shadow: 0 0 0 4px rgba(47, 107, 69, .15); }
.dot.off { background: #8a8b96; box-shadow: none; }
.hero-ph { position: relative; aspect-ratio: 4 / 4.4; }
.hero-ph img { position: absolute; object-fit: cover; border-radius: 28px; box-shadow: var(--ombre); }
.hero-ph .a { inset: 0 18% 14% 0; width: 82%; height: 86%; }
.hero-ph .b { right: 0; bottom: 0; width: 46%; height: 46%; border: 6px solid var(--creme); }
.badge { position: absolute; left: -14px; bottom: 26px; background: var(--surface); border-radius: 16px; padding: 12px 16px; box-shadow: var(--ombre); font-size: 14px; line-height: 1.35; }
.badge b { display: block; font-family: var(--display); font-size: 22px; color: var(--encre); font-weight: 500; }

/* Sections (groupes pleine largeur) */
.wp-block-group.is-style-section, .wp-block-group.is-style-section-alt { padding-top: 72px; padding-bottom: 72px; }
.wp-block-group.is-style-section-alt { background: var(--sable-50); border-top: 1px solid var(--trait); border-bottom: 1px solid var(--trait); }
.wp-block-group.is-style-section + .wp-block-group.is-style-section { padding-top: 0; }
.sec-h { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 24px; margin-bottom: 30px; }
.sec-h > * { margin: 0 !important; }
.sec-h h2 { font-size: clamp(40px, 4.6vw, 58px); }
.sec-h p { color: var(--texte-2); max-width: 50ch; }
.is-layout-constrained > .sec-h + * { margin-top: 0; }

/* Univers */
.univ { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.u { position: relative; display: flex; flex-direction: column; border-radius: var(--r); overflow: hidden; background: var(--surface); border: 1px solid var(--trait); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.u:hover { transform: translateY(-3px); box-shadow: var(--ombre); }
.u img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; height: auto; }
.u .bd { padding: 16px 18px 18px; display: grid; gap: 4px; flex: 1; align-content: start; }
.u h3 { font-size: 24px; }
.u p { color: var(--texte-2); font-size: 15px; }
.u .from { margin-top: auto; padding-top: 10px; font-weight: 800; color: var(--terre-2); font-size: 15px; }

/* Prestations phares */
.stars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.star { display: flex; flex-direction: column; gap: 6px; background: var(--surface); border: 1px solid var(--trait); border-radius: var(--r); padding: 20px; }
.star .cat { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--sauge); }
.star h3 { font-size: 24px; }
.star p { color: var(--texte-2); font-size: 15px; }
.star .row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; }
.price { font-family: var(--display); font-size: 26px; color: var(--encre); white-space: nowrap; }
.price small { font-family: var(--corps); font-size: 13px; color: var(--texte-2); font-weight: 600; }

/* Bandeau foncé (carte cadeau) */
.wp-block-group.is-style-band { background: var(--plein); color: #e6e6ef; border-radius: 28px; padding: 44px; overflow: hidden; }
.is-style-band .wp-block-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin: 0; }
.is-style-band .wp-block-column { min-width: 0; }
.is-style-band h2 { color: #fff; font-size: clamp(40px, 4.2vw, 54px); margin: 10px 0 0; }
.is-style-band p { margin-top: 12px; color: #c9cad8; max-width: 44ch; }
.is-style-band .is-style-kick { color: var(--rose-clair); }
.is-style-band .wp-block-buttons { margin-top: 26px; }

/* Visuel carte cadeau */
.gcard { position: relative; aspect-ratio: 1.586; border-radius: 22px; padding: 24px 26px; color: #fff; background: radial-gradient(120% 140% at 100% 0%, color-mix(in srgb, var(--btn) 72%, #fff) 0%, var(--btn) 38%, color-mix(in srgb, var(--btn) 62%, #000) 100%); box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .6); display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; max-width: 440px; width: 100%; margin: 0 auto; }
.gcard::after { content: ""; position: absolute; right: -40px; bottom: -60px; width: 240px; aspect-ratio: 712 / 624; background: rgba(255, 255, 255, .1); -webkit-mask: var(--jc-logo) center / contain no-repeat; mask: var(--jc-logo) center / contain no-repeat; }
.gcard .logo { width: 72px; color: #fff; }
.gcard .amt { font-family: var(--display); font-size: clamp(34px, 5vw, 46px); line-height: 1; }
.gcard .lbl { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; opacity: .85; }
.gcard .for { font-size: 15px; opacity: .95; position: relative; z-index: 1; }

/* Galerie « Mosaïque » (bloc Galerie) */
.wp-block-gallery.is-style-mosaic { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 220px; gap: 12px !important; }
.wp-block-gallery.is-style-mosaic > .wp-block-image { width: auto !important; margin: 0 !important; height: 100%; }
.wp-block-gallery.is-style-mosaic > .wp-block-image img { width: 100% !important; height: 100% !important; object-fit: cover; border-radius: 14px; }
/* Grande + haute (comme la maquette) seulement à partir de 6 photos, sinon la grille aurait des trous */
.wp-block-gallery.is-style-mosaic:has(> .wp-block-image:nth-child(6)) > .wp-block-image:nth-child(6n + 1) { grid-column: span 2; }
.wp-block-gallery.is-style-mosaic:has(> .wp-block-image:nth-child(6)) > .wp-block-image:nth-child(6n + 2) { grid-row: span 2; }
.wp-block-gallery figcaption { border-radius: 0 0 14px 14px; }
.wp-block-image.is-style-rounded img { border-radius: var(--r); }
.wp-lightbox-overlay .lightbox-image-container img { border-radius: 0; }

/* Infos pratiques */
.infos { display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: 16px; }
.box, .wp-block-group.is-style-box { background: var(--surface); border: 1px solid var(--trait); border-radius: var(--r); padding: 22px; }
.box h3 { font-size: 22px; margin-bottom: 12px; }
.hours { width: 100%; border-collapse: collapse; font-size: 15px; }
.hours th, .hours td { padding: 7px 0; border-bottom: 1px solid var(--trait); font-weight: 500; text-align: left; }
.hours td { text-align: right; color: var(--texte-2); white-space: nowrap; }
.hours tr.today th, .hours tr.today td { font-weight: 800; color: var(--encre); }
.hours tr.today th::after { content: " · aujourd’hui"; font-weight: 600; color: var(--terre-2); font-size: 13px; }
.hours-note { display: flex; gap: 8px; margin-top: 12px; font-size: 14px; color: var(--terre-2); font-weight: 600; }
.map { position: relative; border-radius: var(--r); overflow: hidden; min-height: 260px; background: var(--sauge-50); border: 1px solid var(--trait); }
.map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map .pin { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -100%); background: var(--btn); color: #fff; font-weight: 800; font-size: 14px; padding: 8px 12px; border-radius: 12px; white-space: nowrap; }
.map .pin::after { content: ""; position: absolute; left: 50%; bottom: -7px; transform: translateX(-50%); border: 7px solid transparent; border-bottom: 0; border-top-color: var(--terre); }
.map a.btn { position: absolute; left: 14px; bottom: 14px; }
.lst { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.lst li { display: flex; gap: 12px; align-items: flex-start; }
.lst .ic { width: 20px; height: 20px; flex: none; color: var(--terre); margin-top: 3px; }
.lst a { font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.wp-block-list.is-style-check { list-style: none; padding: 0; display: grid; gap: 12px; }
.wp-block-list.is-style-check li { position: relative; padding-left: 32px; }
.wp-block-list.is-style-check li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; background: var(--terre); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; }

/* Cartes (soins, colonnes style « Cartes ») */
.wp-block-columns.is-style-cards { gap: 14px; }
.wp-block-group.is-style-card { background: var(--surface); border: 1px solid var(--trait); border-radius: var(--r); padding: 20px; height: 100%; }
.wp-block-group.is-style-card h3 { font-size: 24px; margin-bottom: 8px; }
.wp-block-group.is-style-card p { color: var(--texte-2); font-size: 15px; }
.wp-block-group.is-style-card p + p { margin-top: 8px; }
.wp-block-group.is-style-card .price { display: block; margin-top: 10px; font-size: 22px; }

/* Pied de page */
.foot { background: var(--plein); color: #c9cad8; padding: 44px 0 36px; font-size: 14px; }
.foot .wrap { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 24px; }
.foot .logo { width: 96px; color: #fff; margin-bottom: 12px; }
.foot-h { margin: 0 0 8px; color: #fff; font: 700 15px/1.3 var(--corps); letter-spacing: 0; }
.foot a { color: #fff; text-decoration: none; display: flex; align-items: center; min-height: 44px; width: fit-content; max-width: 100%; overflow-wrap: anywhere; }
.foot a:hover { text-decoration: underline; }
.foot .social { margin-top: 6px; }
.foot .social a { padding: 0 14px 0 10px; border: 1px solid rgba(255, 255, 255, .25); }
.foot .social a:hover { text-decoration: none; background: rgba(255, 255, 255, .08); }
.foot .legal { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 16px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.foot .legal a { display: inline; min-height: 0; padding: 0; text-decoration: underline; text-underline-offset: 2px; }

/* En-tête de page intérieure */
.ph-head { padding: 46px 0 24px; }
.ph-head > * + * { margin-top: 0; }
.ph-head h1 { font-size: clamp(46px, 5.6vw, 70px); margin-top: 10px; }
.ph-head p:not(.is-style-kick) { margin-top: 12px; color: var(--texte-2); max-width: 60ch; font-size: 17px; }
.ph-head .wp-block-post-excerpt__excerpt { margin: 12px 0 0; color: var(--texte-2); font-size: 17px; max-width: 60ch; }

/* Tarifs */
.jc-tarifs { position: relative; }
.tbar { position: sticky; top: calc(var(--top) + var(--admin)); z-index: 20; background: var(--top-bg); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-top: 1px solid var(--trait); border-bottom: 1px solid var(--trait); }
.tbar .wrap { display: flex; gap: 12px; align-items: center; padding-top: 10px; padding-bottom: 10px; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; flex: 1; padding: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; border: 1px solid var(--trait); background: var(--surface); border-radius: 999px; min-height: 44px; padding: 8px 16px; font: 700 14px/1.2 var(--corps); color: var(--encre-2); cursor: pointer; text-decoration: none; white-space: nowrap; }
.chip:hover { border-color: var(--encre-2); }
.chip[aria-pressed="true"] { background: var(--chip-on); color: var(--chip-on-txt); border-color: var(--chip-on); }
.search { position: relative; width: 260px; flex: none; }
.search input { width: 100%; height: 44px; border-radius: 999px; border: 1px solid var(--champ); background: var(--surface); padding: 0 14px 0 40px; font: 500 16px var(--corps); color: var(--texte); }
.search .ic { position: absolute; left: 13px; top: 12px; width: 20px; height: 20px; color: var(--texte-2); }
.tarifs { padding-bottom: 80px; }
.tcat { padding: 34px 0 6px; }
.tcat > h2 { font-size: clamp(40px, 4.2vw, 50px); display: flex; align-items: baseline; gap: 6px 14px; flex-wrap: wrap; }
.tcat > h2 small { font-family: var(--corps); font-size: 14px; font-weight: 700; color: var(--sauge); letter-spacing: .02em; }
.tcat .note { color: var(--texte-2); margin-top: 6px; font-size: 15px; }
.tgrp { margin-top: 18px; }
.tgrp h3 { font-family: var(--corps); font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--texte-2); margin: 0 0 6px; }
.tlist { list-style: none; margin: 0; padding: 0; background: var(--surface); border: 1px solid var(--trait); border-radius: var(--r); }
.tl { display: grid; grid-template-columns: 1fr auto auto; gap: 6px 16px; align-items: center; padding: 12px 12px 12px 18px; border-bottom: 1px solid var(--trait); }
.tl:last-child { border-bottom: 0; }
.tl .n { font-weight: 700; color: var(--encre); }
.tl .d { display: block; font-weight: 500; font-size: 14px; color: var(--texte-2); }
.tl .pr { font-family: var(--display); font-size: 21px; color: var(--encre); white-space: nowrap; text-align: right; }
.tl .pr small { font-family: var(--corps); font-size: 12px; font-weight: 700; color: var(--texte-2); display: block; line-height: 1.2; }
.book { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; min-width: 44px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--terre); background: var(--surface); color: var(--terre-2); font: 700 14px/1 var(--corps); text-decoration: none; white-space: nowrap; }
.book:hover { background: var(--btn); border-color: var(--btn); color: #fff; }
.book .ic { width: 18px; height: 18px; }
.book.is-phone { border-color: var(--sauge); color: var(--sauge); }
.book.is-phone:hover { background: var(--sauge); color: #fff; }
.opt .s em { font-style: normal; font-weight: 700; color: var(--sauge); }
.empty { padding: 40px 0; color: var(--texte-2); text-align: center; }

/* Barre de choix (rendez-vous, mobile) */
.jc-cart { position: fixed; left: 50%; bottom: 16px; transform: translate(-50%, 160%); z-index: 50; width: min(640px, calc(100% - 24px)); background: var(--plein); color: #fff; border-radius: 20px; padding: 12px 12px 12px 20px; display: flex; align-items: center; gap: 14px; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .55); transition: transform .3s; visibility: hidden; }
.jc-cart.on { transform: translate(-50%, 0); visibility: visible; }
.jc-cart .sum { flex: 1; min-width: 0; font-size: 14px; color: #c9cad8; line-height: 1.35; }
.jc-cart .sum b { display: block; color: #fff; font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Prendre rendez-vous */
.jc-booking { padding-bottom: 60px; }
.rdv { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.rdv > * { min-width: 0; }
.steps { display: flex; gap: 6px; list-style: none; margin: 0 0 18px; padding: 0; counter-reset: s; }
.steps li { flex: 1; counter-increment: s; font-size: 13px; font-weight: 700; color: var(--texte-2); padding-top: 10px; border-top: 4px solid var(--trait); }
.steps li::before { content: counter(s) ". "; }
.steps li.on { color: var(--encre); border-color: var(--terre); }
.panel { background: var(--surface); border: 1px solid var(--trait); border-radius: var(--r); padding: 22px; }
.panel h2 { font-size: 28px; margin-bottom: 4px; }
.panel .sub { color: var(--texte-2); font-size: 15px; margin-bottom: 18px; }
.panel .chips { margin-bottom: 12px; flex-wrap: wrap; overflow: visible; }
.pick { display: grid; gap: 8px; }
.opt { display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 12px 16px; border: 1.5px solid var(--trait); border-radius: 14px; cursor: pointer; background: var(--surface); text-align: left; font: inherit; color: inherit; width: 100%; text-decoration: none; }
.opt:hover { border-color: var(--encre-2); }
.opt[aria-pressed="true"] { border-color: var(--terre); background: var(--opt-on); box-shadow: inset 0 0 0 1px var(--terre); }
.opt .t { flex: 1; min-width: 0; }
.opt b { display: block; color: var(--encre); }
.opt .s { display: block; font-size: 14px; color: var(--texte-2); }
.opt .price { font-size: 20px; }
.recap { position: sticky; top: calc(var(--top) + var(--admin) + 24px); display: grid; gap: 14px; }
.recap h3 { font-size: 22px; }
.recap .sub { margin: 0; }
.recap .choice b { display: block; font-size: 18px; color: var(--encre); }
.recap .choice .s { display: block; color: var(--texte-2); font-size: 14px; }
.recap .choice .price { display: block; margin-top: 6px; }
.recap .btn { width: 100%; white-space: normal; text-align: center; padding: 10px 18px; }
.recap .meta { list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px solid var(--trait); display: grid; gap: 10px; font-size: 14px; color: var(--texte-2); }
.recap .meta li { display: flex; gap: 10px; }
.recap .meta .ic { width: 18px; height: 18px; margin-top: 2px; color: var(--sauge); }
.recap .meta a { color: var(--encre); font-weight: 700; }

/* Divers éditeur / blocs vides */
.jc-empty { padding: 16px; border: 1px dashed var(--trait); border-radius: 12px; color: var(--texte-2); }

/* Responsive */
@media (max-width: 1080px) {
  .nav, .top .tel, .top .cta { display: none; }
  .burger { display: inline-flex; }
  .top .mode { margin-left: auto; }
  .top .mode + .cta + .burger, .top .mode ~ .burger { margin-left: 0; }
  .drawer { position: fixed; inset: 0; z-index: 60; background: rgba(35, 38, 58, .4); }
  .drawer[data-open="true"] { display: block; }
  .drawer .in { position: absolute; right: 0; top: 0; bottom: 0; width: min(340px, 86%); background: var(--creme); padding: 20px; display: flex; flex-direction: column; gap: 4px; overflow-y: auto; }
  .drawer nav { display: flex; flex-direction: column; }
  .drawer nav a { text-decoration: none; font-family: var(--display); font-size: 26px; color: var(--encre); padding: 10px 0; border-bottom: 1px solid var(--trait); }
  .drawer nav a[aria-current="page"] { color: var(--terre-2); }
  .drawer .in .btn { margin-top: 12px; }
  .drawer .social { margin-top: 12px; }
  .drawer .social a { border: 1px solid var(--trait); background: var(--surface); color: var(--encre); }
  .drawer .x { align-self: flex-end; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--trait); background: var(--surface); cursor: pointer; color: var(--encre); display: grid; place-items: center; }
  .univ { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .infos { grid-template-columns: 1fr 1fr; }
  .infos .map { grid-column: 1 / -1; }
  .rdv { grid-template-columns: minmax(0, 1fr); }
  .recap { position: static; }
}
@media (max-width: 820px) {
  .wp-block-columns.is-style-hero { grid-template-columns: 1fr; gap: 28px; padding-top: 28px; padding-bottom: 36px; }
  .wp-block-columns.is-style-hero > .wp-block-column:last-child { order: -1; }
  .wp-block-columns.is-style-hero h1 { margin: 10px 0 12px; }
  .hero-ph { aspect-ratio: 16 / 10; }
  .hero-ph .a { inset: 0; width: 100%; height: 100%; }
  .hero-ph .b { display: none; }
  .badge { left: 12px; bottom: 12px; }
  .stars { grid-template-columns: 1fr; }
  .wp-block-group.is-style-band { padding: 28px 22px; }
  .is-style-band .wp-block-columns { grid-template-columns: 1fr; gap: 26px; }
  .wp-block-gallery.is-style-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 160px; }
  .wp-block-gallery.is-style-mosaic:has(> .wp-block-image:nth-child(6)) > .wp-block-image:nth-child(6n + 2) { grid-row: span 1; }
  .wp-block-group.is-style-section, .wp-block-group.is-style-section-alt { padding-top: 52px; padding-bottom: 52px; }
  .foot .wrap { grid-template-columns: 1fr 1fr; }
  .foot .wrap > div:first-child { grid-column: 1 / -1; }
  .tbar .wrap { flex-wrap: wrap; gap: 8px; padding-top: 8px; padding-bottom: 8px; }
  .chips { flex-basis: 100%; }
  .search { width: 100%; }
  .foot { padding-bottom: 110px; }
  .dock { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: var(--top-bg); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid var(--trait); padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); }
  .dock a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 52px; border-radius: 14px; text-decoration: none; font-size: 12px; font-weight: 700; color: var(--encre); }
  .dock a .ic { width: 22px; height: 22px; }
  .dock a.p { background: var(--btn); color: #fff; flex-direction: row; gap: 8px; font-size: 15px; }
  body.has-cart .dock { display: none; }
  .jc-cart { bottom: calc(10px + env(safe-area-inset-bottom)); }
}
@media (max-width: 560px) {
  .univ { grid-template-columns: 1fr 1fr; gap: 10px; }
  .u .bd { padding: 12px; }
  .u h3 { font-size: 19px; }
  .u p { display: none; }
  .infos { grid-template-columns: 1fr; }
  .wp-block-columns.is-style-hero .wp-block-button { flex: 1; }
  .wp-block-columns.is-style-hero .wp-block-button__link { width: 100%; }
  .tl { grid-template-columns: 1fr auto; padding: 12px 12px 12px 14px; }
  .tl .book { grid-row: span 2; grid-column: 2; }
  .tl .pr { grid-column: 1; text-align: left; font-size: 19px; }
  .tl .pr small { display: inline; }
  .tl .pr .from { margin-right: 4px; }
  .tl .pr .du { margin-left: 8px; }
  .book span { display: none; }
  .book { width: 44px; padding: 0; }
  .panel { padding: 18px 16px; }
  .steps li { font-size: 0; }
  .steps li::before { font-size: 13px; }
  .steps li.on { font-size: 13px; flex: 3; }
  .star .row { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
