/* Hair Home Concept — compatibilité WordPress / Elementor
   © 2026 Damien Bordier · Katimini — tous droits réservés. */
.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.screen-reader-text:focus{clip:auto;width:auto;height:auto;margin:0;z-index:100000;background:#fff;color:#000;padding:12px 16px;left:8px;top:8px}
/* Sur le site, les enveloppes Elementor s'effacent : chaque section redevient fille de <main>, comme dans la maquette. */
body:not(.elementor-editor-active) [data-elementor-type="wp-page"],
body:not(.elementor-editor-active) .e-con.hhc-sec,
body:not(.elementor-editor-active) .e-con.hhc-sec > .e-con-inner,
body:not(.elementor-editor-active) .hhc-sec .elementor-widget-html,
body:not(.elementor-editor-active) .hhc-sec .elementor-widget-html > .elementor-widget-container{display:contents}
/* Dans l'éditeur : aucune marge ajoutée, et les animations d'apparition restent visibles. */
.e-con.hhc-sec{--padding-top:0px;--padding-right:0px;--padding-bottom:0px;--padding-left:0px;--gap:0px;--row-gap:0px;--column-gap:0px;padding:0;gap:0}
.elementor-editor-active .r-up,.elementor-editor-active .r-mask,.elementor-editor-active .r-scale{opacity:1!important;transform:none!important;clip-path:none!important}
/* Équivalent de « .hero--sub + .sec--photo » une fois les sections dans Elementor. */
html .hhc-after-herosub .sec--photo{margin-top:clamp(24px,3vw,44px)}

/* Pages légales (mentions légales, confidentialité) */
html .legal__in{max-width:780px}
html .legal .dsp{font-size:clamp(34px,5vw,60px);margin:18px 0 12px}
html .legal__maj{margin:0 0 clamp(28px,4vw,52px);font-size:14px;color:var(--ink-3)}
html .legal h2{margin:clamp(30px,4vw,46px) 0 12px;font-family:var(--ff-d);font-weight:500;font-size:clamp(18px,1.7vw,22px);line-height:1.2;letter-spacing:.02em;text-transform:uppercase;color:var(--ink)}
html .legal p,html .legal li{margin:0 0 12px;font-size:17px;line-height:1.65;color:var(--ink-2)}
html .legal ul{margin:0 0 12px;padding-left:1.2em}
html .legal strong{color:var(--ink);font-weight:600}
html .legal a{color:var(--ink);text-decoration:underline;text-underline-offset:3px}
html .legal__fiche{display:grid;grid-template-columns:minmax(140px,220px) 1fr;gap:10px 24px;margin:0 0 8px;padding:22px 24px;background:var(--photo-2);border-radius:var(--r-card)}
html .legal__fiche dt{font:600 11px/1.9 var(--ff-t);letter-spacing:.12em;text-transform:uppercase;color:var(--ink-3)}
html .legal__fiche dd{margin:0;font-size:16px;line-height:1.6;color:var(--ink)}
@media (max-width:640px){html .legal__fiche{grid-template-columns:1fr;gap:2px}html .legal__fiche dd{margin-bottom:10px}}

/* Onglet « Prendre rendez-vous » (ordinateur) : au survol il avance légèrement au lieu de se rétracter. */
@media (min-width:1081px) and (hover:hover){
  html .rdv-tab:hover,html .rdv-tab:focus-visible{padding-left:calc(var(--tab-in) + 10px)}
}

/* Menu mobile : le panneau est ivoire, les liens doivent être foncés (ils étaient clairs, donc invisibles, dès la maquette). */
@media (max-width:1080px){
  html .nav__links a{display:block;padding:6px 0;font-size:13px;color:var(--ink)}
  html .nav__links a:hover,html .nav__links a[aria-current="page"]{color:var(--gold-text)}
}

/* Lisibilité : texte courant en Myriad Pro Regular (400) au lieu de Light (300), jugé trop fin. */
html body{font-weight:400}

/* Barre mobile « Appeler / Les tarifs » : posée sur le bas de l'écran, sans vide où le contenu passerait dessous. */
@media (max-width:720px){
  html .mbar{left:0;right:0;bottom:0;padding:10px 12px calc(10px + env(safe-area-inset-bottom,0px));border-radius:22px 22px 0 0;box-shadow:0 -14px 34px -18px rgba(0,0,0,.55)}
  html body{padding-bottom:calc(68px + env(safe-area-inset-bottom,0px))}
  html .foot{padding-bottom:clamp(26px,3vw,40px)}
}

/* Cartes dépliables (remises, formules) : un « + » indique qu'on peut ouvrir, il devient « × » une fois ouvert. */
html .row__hd{position:relative;padding-right:calc(clamp(18px,2.6vw,34px) + 40px)}
html .row__hd::after{content:"";position:absolute;right:clamp(14px,2.2vw,28px);top:50%;width:28px;height:28px;margin-top:-14px;border-radius:50%;
  background:
    linear-gradient(currentColor,currentColor) center/12px 1.6px no-repeat,
    linear-gradient(currentColor,currentColor) center/1.6px 12px no-repeat;
  box-shadow:inset 0 0 0 1px color-mix(in srgb,currentColor 35%,transparent);
  color:var(--ink);transition:transform var(--d-ui,.24s) var(--ease-out,ease)}
html .row--gold .row__hd::after{color:var(--on-gold)}
html .row__hd[aria-expanded="true"]::after,html .row.is-open .row__hd::after{transform:rotate(45deg)}
@media (hover:hover){html .row__hd:hover::after{box-shadow:inset 0 0 0 1px currentColor}}
@media (prefers-reduced-motion:reduce){html .row__hd::after{transition:none}}

/* Menu mobile ouvert : libellés légèrement décalés à droite, et l'onglet « Prendre rendez-vous » s'efface pour ne pas les couvrir. */
@media (max-width:1080px){
  html .nav__links a{padding-left:14px}
  html body:has(.nav__burger[aria-expanded="true"]) .rdv-tab{opacity:0;pointer-events:none;transition:opacity .2s}
}

/* Slogan sous le logo du pied de page (repris des cartes d'Angèle). */
html .foot__slogan{margin:10px 0 0;font:500 11px/1.4 var(--ff-t);letter-spacing:.32em;text-transform:none;color:var(--gold)}


/* Galerie « Mes dernières coiffures » (accueil) — Damien Bordier · Katimini */
html .hhc-gal{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(12px,1.6vw,24px);max-width:1280px}
html .hhc-gal figure{margin:0}
html .hhc-gal img{display:block;width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;border-radius:var(--r-photo);background:var(--photo-2)}
html .hhc-gal figcaption{margin-top:var(--s-3);font-size:14px;line-height:1.4;color:var(--ink-2)}
@media (hover:hover){html .hhc-gal img{transition:transform var(--d-ui) var(--ease-out)}html .hhc-gal__i:hover img{transform:scale(1.02)}}
@media (prefers-reduced-motion:reduce){html .hhc-gal img{transition:none}}
@media (max-width:820px){html .hhc-gal{grid-template-columns:repeat(2,minmax(0,1fr))}html .hhc-gal img{border-radius:var(--r-card)}}

/* Portrait d'Angèle (accueil) : cadrage remonté pour garder le haut de la tête dans le format paysage. */
html .angele__pic img[src*="hhc-angele-portrait-blanc"]{object-position:50% 15%}
html .hero img[src*="hhc-angele-portrait-a"]{object-position:50% 30%}
html .pub__pic img[src*="hhc-angele-en-action-fenetre"]{object-position:50% 35%}

/* Grilles tarifaires dépliables (Femme, Homme) — Damien Bordier · Katimini */
html .tg{display:grid;gap:10px;margin-top:clamp(24px,2.8vw,38px)}
html .tg__i{background:var(--sheet);border-radius:var(--r-card);overflow:hidden}
html .tg__hd{list-style:none;cursor:pointer;display:flex;align-items:center;gap:var(--s-4);padding:18px 20px;min-height:56px}
html .tg__hd::-webkit-details-marker{display:none}
html .tg__t{flex:1 1 auto;font-family:var(--ff-d);font-weight:600;font-size:clamp(18px,1.6vw,21px);line-height:1.25;letter-spacing:-.01em;color:var(--ink)}
html .tg__v{font-size:14px;color:var(--gold-text);white-space:nowrap}
html .tg__hd::after{content:"+";flex:none;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--photo-2);color:var(--ink);font-size:18px;line-height:1;transition:transform var(--d-ui,.28s) var(--ease-out,ease)}
html .tg__i[open] > .tg__hd::after{transform:rotate(45deg)}
html .tg__hd:focus-visible{outline:2px solid var(--gold-dark);outline-offset:-2px;border-radius:var(--r-card)}
@media (hover:hover){html .tg__hd:hover::after{box-shadow:inset 0 0 0 1px currentColor}}
html .tg__bd{padding:0 20px 14px}
html .tg__bd .prices{margin-top:0}
html .tg__bd .pr + .pr{border-top:1px solid rgba(28,27,24,.06)}
html .tg__in{margin:0 0 6px;font-size:14px;line-height:1.5;color:var(--ink-2)}
html .tg__note{margin-top:var(--s-5);display:grid;gap:8px}
html .tg__note p{margin:0;font-size:14px;line-height:1.55;color:var(--ink-2)}
html .tg__note .tg__plus{color:var(--ink)}
@media (max-width:560px){html .tg{margin-inline:-14px}html .tg__hd{padding:15px 14px}html .tg__bd{padding:0 14px 10px}html .tg__v{font-size:12.5px}html .tg__bd .pr__n{font-size:15.5px}html .tg__bd .pr__v{font-size:18px}}
@media (prefers-reduced-motion:reduce){html .tg__hd::after{transition:none}}
/* Supplément cheveux longs : pastille dorée à côté du prix — Damien Bordier · Katimini */
html .pr__lg{flex:none;align-self:center;font-size:12px;font-weight:600;line-height:1;padding:5px 8px;border-radius:999px;background:var(--gold-lite);color:var(--on-gold);white-space:nowrap;font-variant-numeric:lining-nums tabular-nums}
html .tg__lg{display:flex;align-items:center;gap:10px;margin:0 0 4px;font-size:14px;line-height:1.4;color:var(--ink-2)}
html .tg__sub{margin:14px 0 2px;font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--gold-text)}
html .tg__sub:first-child{margin-top:4px}
@media (max-width:560px){html .pr__lg{font-size:11px;padding:4px 6px}html .tg__lg{font-size:13px}}
html .zone__pic{overflow:hidden}
html .zone__pic img{display:block;width:100%;height:100%;object-fit:cover;object-position:60% 40%}
html .disc i svg{display:block;width:1em;height:1em}
/* Bandeau « Formée auprès de » : titre plus visible */
html .marks__lbl{font-size:14px;letter-spacing:.22em;margin-bottom:var(--s-6)}
@media (max-width:560px){html .marks__lbl{font-size:12.5px;letter-spacing:.18em}}
/* Trio mobile : titre au-dessus du texte (la règle de la maquette était écrasée par l'ordre des styles) */
@media (max-width:900px){
  html .trio{gap:0}
  html .trio article{grid-template-columns:1fr;gap:8px;padding:22px 0;border-top:1px solid rgba(28,27,24,.08)}
  html .trio article:first-child{border-top:0;padding-top:0}
  html .trio article h3{font-size:24px}
}

/* Bandeau cookies — Damien Bordier · Katimini */
html .ck{position:fixed;left:16px;bottom:var(--ck-b,16px);z-index:99990;width:min(420px,calc(100vw - 32px));box-sizing:border-box;
  background:var(--sheet);color:var(--ink);border-radius:var(--r-card);padding:20px 20px 16px;
  box-shadow:0 18px 50px rgba(28,27,24,.22),0 0 0 1px rgba(28,27,24,.06);
  opacity:0;transform:translateY(14px);transition:opacity .26s var(--ease-out,ease),transform .26s var(--ease-out,ease)}
html .ck.is-in{opacity:1;transform:none}
html .ck__t{margin:0 0 6px;font-family:var(--ff-d);font-weight:600;font-size:19px;line-height:1.2;letter-spacing:-.01em}
html .ck__d{margin:0 0 14px;font-size:14px;line-height:1.55;color:var(--ink-2)}
html .ck__d a{color:var(--ink);text-decoration:underline;text-underline-offset:2px}
html .ck__btns{display:grid;grid-template-columns:1fr 1fr;gap:8px}
html .ck__b{appearance:none;border:0;cursor:pointer;min-height:44px;padding:10px 12px;border-radius:999px;
  background:var(--stage);color:var(--on-stage);font:600 13px/1.1 var(--ff-t);letter-spacing:.06em;text-transform:uppercase}
html .ck__b:hover{background:var(--stage-2)}
html .ck__b:focus-visible,html .ck__l:focus-visible{outline:2px solid var(--gold-dark);outline-offset:2px}
html .ck__b--save{width:100%;margin-top:8px;background:var(--gold);color:var(--on-gold)}
html .ck__b--save:hover{background:var(--gold-dark);color:#fff}
html .ck__l{display:block;margin:10px auto 0;background:none;border:0;padding:4px 6px;cursor:pointer;font:500 13px/1.2 var(--ff-t);color:var(--ink-2);text-decoration:underline;text-underline-offset:2px}
html .ck__opts{display:grid;gap:8px;margin:0 0 14px}
html .ck__opts[hidden],html .ck [hidden]{display:none}
html .ck__o{display:flex;gap:10px;align-items:flex-start;padding:10px 12px;border-radius:var(--r-in);background:var(--photo-2);cursor:pointer}
html .ck__o input{margin:3px 0 0;accent-color:var(--stage);width:18px;height:18px;flex:none}
html .ck__o b{display:block;font-size:14px}
html .ck__o small{display:block;font-size:12.5px;line-height:1.4;color:var(--ink-2);margin-top:2px}
html .foot__ck{background:none;border:0;padding:0;font:inherit;color:inherit;text-decoration:underline;text-underline-offset:2px;cursor:pointer}
@media (max-width:560px){html .ck{left:10px;right:10px;width:auto;padding:16px 16px 12px}html .ck__t{font-size:17px}html .ck__d{font-size:13.5px}}
@media (prefers-reduced-motion:reduce){html .ck{transition:none}}

/* Dépliant des communes + voile du bandeau cookies — Damien Bordier · Katimini */
html .map__dd{margin-top:18px}
html .map__dd>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 18px;border-radius:999px;background:var(--photo-2);font:600 12.5px/1.2 var(--ff-t);letter-spacing:.06em;text-transform:uppercase;color:var(--ink)}
html .map__dd>summary::-webkit-details-marker{display:none}
html .map__dd>summary:focus-visible{outline:2px solid var(--gold-dark);outline-offset:2px}
html .map__dd>summary i{font-style:normal;font-size:20px;line-height:1;transition:transform .25s var(--ease-out,ease)}
html .map__dd[open]>summary i{transform:rotate(45deg)}
html .map__dd .map__list{display:block;columns:2;column-gap:20px;list-style:none;margin:16px 4px 0;padding:0;font-size:14px;line-height:1.45;color:var(--ink-2)}
html .map__dd .map__list li{position:relative;padding-left:13px;margin-bottom:7px;break-inside:avoid}
html .map__dd .map__list li::before{content:"";position:absolute;left:0;top:.52em;width:5px;height:5px;border-radius:50%;background:var(--gold-dark)}
@media (min-width:721px){html .map__dd .map__list{columns:4}}
html.has-ck::after{content:"";position:fixed;inset:0;z-index:99980;pointer-events:none;background:rgba(28,27,24,.12);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);animation:ckVeil .45s var(--ease-out,ease) both}
@keyframes ckVeil{from{opacity:0}to{opacity:1}}
@media (prefers-reduced-motion:reduce){html.has-ck::after{animation:none}}

/* Page 404 — Damien Bordier · Katimini */
html .hhc-404{max-width:720px;margin:0 auto;padding:clamp(56px,10vw,120px) clamp(20px,5vw,48px);text-align:center}
html .hhc-404__k{margin:0 0 10px;font:600 12px/1.2 var(--ff-t);letter-spacing:.14em;text-transform:uppercase;color:var(--gold-dark)}
html .hhc-404__t{margin:0 0 14px;font-family:var(--ff-d);font-weight:700;font-size:clamp(30px,5vw,52px);line-height:1.05;text-transform:uppercase;letter-spacing:-.01em;color:var(--ink)}
html .hhc-404__d{margin:0 0 28px;font-size:16px;line-height:1.55;color:var(--ink-2)}
html .hhc-404__a{display:flex;flex-wrap:wrap;gap:10px 18px;justify-content:center;align-items:center;margin:0}
html .hhc-404__l{color:var(--ink);text-decoration:underline;text-underline-offset:3px;font-size:15px}
