/* ===========================================================
   RUTH — Coiffure de luxe · light / épuré
   Fond écru/blanc, texte noir · Fraunces (serif) + Figtree (sans)
   =========================================================== */

:root {
  --paper: #f6f4ef;
  --paper-2: #efece5;
  --ink: #14130f;
  --ink-soft: #4a4842;
  --ink-faint: #8d8a82;
  --line: rgba(20,19,15,0.14);
  --line-soft: rgba(20,19,15,0.08);
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Figtree', system-ui, sans-serif;
  --ease: cubic-bezier(.16,1,.3,1);
  --maxw: 1280px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; touch-action: pan-y; overscroll-behavior-x: none; }
body { background: var(--paper); color: var(--ink); font-family: var(--sans); font-weight: 300; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; max-width: 100vw; touch-action: pan-y; overscroll-behavior-x: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, li { list-style: none; }
button, input, select { font-family: inherit; }
button { border: none; background: none; cursor: pointer; color: inherit; }
em { font-style: italic; }
::selection { background: var(--ink); color: var(--paper); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; padding: 15px 30px; transition: all .3s var(--ease); font-weight: 400; border-radius: 100px; }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark:hover { opacity: 0.85; }
.btn--line { border: 1px solid var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--paper); }

.sec-head { max-width: var(--maxw); margin: 0 auto 40px; padding: 0 6vw; }
.sec-title { font-family: var(--serif); font-size: clamp(32px, 4.6vw, 60px); font-weight: 300; letter-spacing: -0.01em; line-height: 1.04; }
.sec-sub { color: var(--ink-soft); font-size: 15px; margin-top: 12px; max-width: 540px; }

.rv { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* ===================== NAV ===================== */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 500; display: flex; align-items: center; justify-content: space-between; padding: 22px 6vw; transition: padding .3s, background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.is-scrolled { padding: 14px 6vw; background: rgba(246,244,239,0.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-color: var(--line-soft); }
.nav__logo { font-family: var(--serif); font-size: clamp(16px, 4.4vw, 22px); letter-spacing: 0.16em; font-weight: 400; padding-left: 0.16em; white-space: nowrap; }
.nav__links { display: flex; gap: 32px; }
.nav__links a { font-size: 14px; color: var(--ink-soft); transition: color .2s; }
.nav__links a:hover { color: var(--ink); }
.nav__cta { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; border: 1px solid var(--ink); padding: 10px 18px; transition: all .3s; }
.nav__cta:hover { background: var(--ink); color: var(--paper); }
.nav__burger { display: none; flex-direction: column; gap: 5px; width: 24px; z-index: 600; }
.nav__burger span { height: 1.4px; background: var(--ink); transition: .3s; }

/* ===================== HERO (video clair) ===================== */
.hero { position: relative; min-height: 96vh; display: flex; align-items: center; overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: 0; background: #f6f4ef; overflow: hidden; }
.hero__vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(1.04); opacity: 0; transition: opacity 1.4s ease; will-change: opacity, transform; }
.hero__vid.is-active { opacity: 1; animation: heroKen 11s ease-out forwards; }
@keyframes heroKen { from { transform: scale(1.01); } to { transform: scale(1.09); } }
@media (prefers-reduced-motion: reduce) { .hero__vid { transition: opacity .4s ease; } .hero__vid.is-active { animation: none; } }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(1.04); opacity: 0; animation: heroFade 1.8s var(--ease) .15s forwards; }
@keyframes heroFade { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .hero__img { animation-duration: .5s; } }
.hero__veil { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(246,244,239,0.94) 0%, rgba(246,244,239,0.82) 42%, rgba(246,244,239,0.42) 72%, rgba(246,244,239,0.14) 100%); }
.hero__inner { position: relative; z-index: 2; max-width: var(--maxw); width: 100%; margin: 0 auto; padding: 120px 6vw 60px; }
.hero__tag { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 15px; color: var(--ink-soft); margin-bottom: 6px; }
.hero__eyebrow { font-size: 12px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 22px; }
.hero__title { font-family: var(--serif); font-size: clamp(46px, 7vw, 104px); font-weight: 300; line-height: 1.0; letter-spacing: -0.02em; max-width: 12ch; }
.hero__title em { font-style: italic; font-weight: 300; }
.hero__lead { font-size: 17px; color: var(--ink-soft); max-width: 440px; margin: 26px 0 34px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.hero__live { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; letter-spacing: 0.02em; color: var(--ink-soft); padding: 4px 0; }
.hero__live-dot { width: 8px; height: 8px; border-radius: 50%; background: #2ecc71; box-shadow: 0 0 0 0 rgba(46,204,113,.5); animation: lpulse 2s infinite; }
@keyframes lpulse { 0%{box-shadow:0 0 0 0 rgba(46,204,113,.5);} 70%{box-shadow:0 0 0 8px rgba(46,204,113,0);} 100%{box-shadow:0 0 0 0 rgba(46,204,113,0);} }

/* ===================== AUTOMATISATIONS ===================== */
.autos { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: #fff; }
.autos__row { max-width: var(--maxw); margin: 0 auto; padding: 30px 6vw; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.auto { display: flex; gap: 14px; align-items: flex-start; }
.auto svg { width: 26px; height: 26px; flex-shrink: 0; color: var(--ink); }
.auto__t { display: block; font-size: 14px; font-weight: 500; margin-bottom: 3px; }
.auto__d { display: block; font-size: 13px; color: var(--ink-soft); }
@media (max-width: 820px) { .autos__row { grid-template-columns: 1fr; gap: 18px; } }

/* ===================== PORTFOLIO ===================== */
.portfolio { padding: 80px 0 90px; }
.pf-filters { max-width: var(--maxw); margin: 0 auto 26px; padding: 0 6vw; display: flex; flex-wrap: wrap; gap: 8px; }
.pf-grid { max-width: var(--maxw); margin: 0 auto; padding: 0 6vw; display: flex; flex-wrap: wrap; gap: 12px; }
.pf { position: relative; overflow: hidden; cursor: pointer; height: 280px; flex: 1 1 240px; min-width: 190px; }
.pf--wide { flex: 2 1 460px; }
.pf img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .7s var(--ease); }
.pf:hover img { transform: scale(1.05); }
.pf__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 16px; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,0.62)); opacity: 0; transition: opacity .3s; }
.pf:hover .pf__cap { opacity: 1; }
.pf__cap b { display: block; font-weight: 500; font-size: 14px; }
.pf__cap span { font-size: 11px; letter-spacing: 0.04em; opacity: 0.85; }
.pf__zoom { position: absolute; top: 12px; right: 12px; width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,0.92); display: flex; align-items: center; justify-content: center; font-size: 15px; color: var(--ink); opacity: 0; transition: opacity .3s; }
.pf:hover .pf__zoom { opacity: 1; }
@media (max-width: 900px) { .pf { height: 230px; flex-basis: 180px; min-width: 150px; } .pf--wide { flex-basis: 320px; } }
@media (max-width: 560px) { .pf { height: 200px; flex-basis: 140px; min-width: 130px; } .pf--wide { flex-basis: 240px; } }

/* filter chips (shared style) */
.fchip { font-size: 12px; letter-spacing: 0.03em; padding: 8px 15px; border: 1px solid var(--line); color: var(--ink-soft); transition: all .2s; border-radius: 100px; }
.fchip:hover { border-color: var(--ink); color: var(--ink); }
.fchip.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ===================== LIGHTBOX ===================== */
.lightbox { position: fixed; inset: 0; z-index: 900; background: rgba(20,19,15,0.92); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .3s var(--ease); }
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox__fig { max-width: 80vw; max-height: 84vh; text-align: center; }
.lightbox__fig img { max-width: 80vw; max-height: 76vh; object-fit: contain; }
.lightbox__fig figcaption { color: var(--paper); font-size: 13px; letter-spacing: 0.04em; margin-top: 14px; }
.lightbox__close { position: absolute; top: 22px; right: 26px; font-size: 22px; color: var(--paper); }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); font-size: 40px; color: var(--paper); width: 56px; height: 56px; opacity: 0.7; transition: opacity .2s; }
.lightbox__nav:hover { opacity: 1; }
.lightbox__nav--prev { left: 12px; } .lightbox__nav--next { right: 12px; }

/* ===================== PRESTATIONS / SEARCH ===================== */
.presta { max-width: var(--maxw); margin: 0 auto; padding: 30px 6vw 90px; }
.search { max-width: 640px; display: flex; align-items: center; gap: 12px; border: 1px solid var(--ink); padding: 14px 18px; background: #fff; }
.search__icon { width: 20px; height: 20px; color: var(--ink-soft); flex-shrink: 0; }
.search input { flex: 1; border: none; outline: none; background: transparent; font-size: 16px; color: var(--ink); }
.search input::placeholder { color: var(--ink-faint); }
.search__clear { font-size: 14px; color: var(--ink-faint); opacity: 0; transition: opacity .2s; }
.search__clear.show { opacity: 1; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 30px; }

.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: #fff; border: 1px solid var(--line-soft); display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(20,19,15,0.10); }
.card__img { aspect-ratio: 4/3; overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; }
.card__img--zoom { cursor: zoom-in; position: relative; }
.card__img--zoom::after { content: "⤢"; position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; background: rgba(20,19,15,0.55); color: var(--paper); font-size: 15px; border-radius: 50%; opacity: 0; transition: opacity .25s var(--ease); pointer-events: none; }
.card__img--zoom:hover::after { opacity: 1; }
.card__img--zoom:hover img { transform: scale(1.04); }
.card__body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.card__cat { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 8px; }
.card__name { font-family: var(--serif); font-size: 21px; font-weight: 400; margin-bottom: 6px; }
.card__desc { font-size: 13px; color: var(--ink-soft); margin-bottom: 16px; flex: 1; }
.card__foot { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line-soft); padding-top: 14px; }
.card__price { font-family: var(--serif); font-size: 20px; font-weight: 400; }
.card__price small { font-size: 11px; color: var(--ink-faint); letter-spacing: 0.04em; font-family: var(--sans); }
.card__dur { font-size: 12px; color: var(--ink-faint); }
.card__book { margin-top: 14px; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; border: 1px solid var(--ink); padding: 11px; text-align: center; transition: all .25s; }
.card__book:hover { background: var(--ink); color: var(--paper); }
.cat-empty { text-align: center; color: var(--ink-soft); padding: 40px 0; }
.cat-empty a { text-decoration: underline; }
@media (max-width: 900px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cat-grid { grid-template-columns: 1fr; } }

/* ===================== RÉSERVER ===================== */
.reserver { background: var(--paper-2); padding: 90px 0; }
.booking { max-width: 880px; margin: 0 auto; padding: 0 6vw; display: flex; flex-direction: column; gap: 34px; }
.booking__step { display: flex; flex-direction: column; gap: 14px; }
.booking__label { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint); }
#bkService { border: 1px solid var(--ink); background: #fff; padding: 14px 16px; font-size: 16px; color: var(--ink); outline: none; max-width: 420px; }
.booking__meta { font-size: 13px; color: var(--ink-soft); }
.quote-check { display: flex; align-items: flex-start; gap: 10px; max-width: 460px; padding: 14px 16px; background: var(--paper-2); border: 1px solid var(--line); cursor: pointer; }
.quote-check[hidden] { display: none; }
.quote-check input { margin-top: 2px; flex-shrink: 0; width: 16px; height: 16px; accent-color: var(--ink); cursor: pointer; }
.quote-check span { font-size: 13px; color: var(--ink-soft); line-height: 1.5; }
.quote-check a { text-decoration: underline; color: var(--ink); }
.booking__fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 640px; }
.booking__fields input { border: 1px solid var(--ink); background: #fff; padding: 14px 16px; font-size: 16px; color: var(--ink); outline: none; width: 100%; }
.booking__fields input:focus { border-color: var(--ink); box-shadow: inset 0 -2px 0 var(--ink); }
@media (max-width: 640px) { .booking__fields { grid-template-columns: 1fr; } }
/* ---- Calendrier de réservation ---- */
.cal { max-width: 420px; border: 1px solid var(--line); background: #fff; padding: 18px 18px 14px; }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.cal__title { font-family: var(--serif); font-size: 19px; font-weight: 400; text-transform: capitalize; letter-spacing: 0.01em; }
.cal__nav { width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); transition: all .2s; }
.cal__nav svg { width: 16px; height: 16px; }
.cal__nav:hover:not(:disabled) { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.cal__nav:disabled { opacity: 0.28; cursor: not-allowed; }
.cal__weekdays { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-bottom: 6px; }
.cal__weekdays span { text-align: center; font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-faint); padding: 4px 0; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal__cell { aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; font-size: 14px; border-radius: 8px; position: relative; }
.cal__cell--empty { visibility: hidden; }
.cal__cell.is-past { color: var(--ink-faint); opacity: 0.4; }
.cal__cell.is-full { color: var(--ink-faint); text-decoration: line-through; text-decoration-color: var(--line); opacity: 0.55; }
.cal__cell.is-free { cursor: pointer; color: var(--ink); border: 1px solid var(--line); transition: all .18s var(--ease); }
.cal__cell.is-free::after { content: ""; position: absolute; bottom: 6px; left: 50%; transform: translateX(-50%); width: 4px; height: 4px; border-radius: 50%; background: var(--ink); opacity: 0.5; }
.cal__cell.is-free:hover { border-color: var(--ink); transform: translateY(-1px); }
.cal__cell.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.cal__cell.is-active::after { background: var(--paper); opacity: 1; }
.cal__legend { display: flex; gap: 18px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-soft); }
.cal__lg { font-size: 11px; color: var(--ink-soft); display: inline-flex; align-items: center; gap: 7px; }
.cal__lg::before { content: ""; width: 9px; height: 9px; border-radius: 50%; }
.cal__lg--free::before { background: var(--ink); opacity: 0.5; }
.cal__lg--full::before { background: transparent; border: 1px solid var(--line); }
.booking__hint { font-size: 13px; color: var(--ink-faint); }
.booking__label em { font-style: italic; color: var(--ink-faint); text-transform: none; letter-spacing: normal; }
.booking__slots { display: flex; flex-wrap: wrap; gap: 9px; min-height: 44px; }

/* ---- Upload photo de référence (réservation) ---- */
.photo-upload { max-width: 320px; }
.photo-upload__prompt { display: flex; align-items: center; gap: 12px; border: 1px dashed var(--line); padding: 18px 20px; cursor: pointer; transition: all .2s; color: var(--ink-soft); }
.photo-upload__prompt:hover { border-color: var(--ink); color: var(--ink); }
.photo-upload__prompt svg { width: 20px; height: 20px; flex-shrink: 0; }
.photo-upload__prompt span { font-size: 14px; }
.photo-upload__preview { position: relative; border: 1px solid var(--ink); background: #fff; padding: 8px; display: inline-flex; }
.photo-upload__preview img { display: block; max-width: 100%; max-height: 180px; }
.photo-upload__remove { position: absolute; top: -10px; right: -10px; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--paper); font-size: 12px; display: flex; align-items: center; justify-content: center; transition: transform .2s; }
.photo-upload__remove:hover { transform: scale(1.1); }
#photoStatus { font-size: 12.5px; color: var(--ink-faint); margin-top: 4px; min-height: 14px; }
.slot { border: 1px solid var(--line); background: #fff; padding: 11px 16px; font-size: 14px; cursor: pointer; transition: all .2s; }
.slot:hover { border-color: var(--ink); }
.slot.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.slot:disabled { opacity: 0.35; cursor: not-allowed; }
.booking__summary { border-top: 1px solid var(--line); padding-top: 26px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.booking__summary p { font-size: 15px; }
.booking__status { font-size: 13px; color: var(--ink-soft); min-height: 16px; }

/* ---- Bascule vers Cal.com (quand js/cal-config.js est configuré) ---- */
.cal-handoff { border-top: 1px solid var(--line); padding-top: 26px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; max-width: 480px; }
.cal-handoff__recap { font-size: 15px; }
.cal-handoff__hint { font-size: 13px; color: var(--ink-faint); }

/* ---- CTA compact vers la page Réservation (accueil) ---- */
.reserver-cta { background: var(--paper-2); padding: 90px 6vw; text-align: center; }
.reserver-cta__inner { max-width: 620px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.reserver-cta .sec-sub { max-width: 480px; }

/* ---- Aperçu de la prestation sélectionnée (page Réservation) ---- */
.rs-preview { display: flex; align-items: center; gap: 16px; max-width: 420px; background: #fff; border: 1px solid var(--line); padding: 12px; }
.rs-preview img { width: 64px; height: 64px; object-fit: cover; flex-shrink: 0; }
.rs-preview__body { display: flex; flex-direction: column; gap: 3px; }
.rs-preview__cat { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); }
.rs-preview__body h3 { font-family: var(--serif); font-size: 18px; font-weight: 400; }
.rs-preview__dur { font-size: 12px; color: var(--ink-soft); }
#bkExtras .card__tiers, #bkExtras .card__opts { max-width: 460px; }

/* ---- Récapitulatif de confirmation (page Réservation) ---- */
.rs-confirm-wrap { max-width: 880px; margin: 0 auto; padding: 0 6vw; }
.rs-confirm { max-width: 520px; margin: 0 auto; background: #fff; border: 1px solid var(--line); padding: 46px 40px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.rs-confirm__check { width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: var(--paper); display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 10px; }
.rs-confirm h3 { font-family: var(--serif); font-size: 26px; font-weight: 400; }
.rs-confirm__lead { font-size: 14px; color: var(--ink-soft); max-width: 380px; margin-top: 6px; }
.rs-confirm__recap { width: 100%; margin-top: 24px; border-top: 1px solid var(--line-soft); padding-top: 20px; display: flex; flex-direction: column; gap: 12px; text-align: left; }
.rs-confirm__recap > div { display: flex; justify-content: space-between; gap: 16px; font-size: 13.5px; }
.rs-confirm__recap span { color: var(--ink-faint); flex-shrink: 0; }
.rs-confirm__recap strong { font-weight: 400; text-align: right; }
.rs-confirm__note { font-size: 12.5px; color: var(--ink-soft); background: var(--paper-2); padding: 12px 14px; margin-top: 20px; text-align: left; }
.rs-confirm__note a { text-decoration: underline; color: var(--ink); }
.rs-confirm__actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 26px; }

/* ===================== CONTACT ===================== */
.contact { border-top: 1px solid var(--line); padding: 70px 6vw 30px; }
.contact__grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.contact__brand, .contact__col { min-width: 0; }
.contact__pro { font-size: 12px; color: var(--ink-faint); margin-top: 2px; overflow-wrap: anywhere; }
.contact__logo { font-family: var(--serif); font-size: clamp(20px, 4.6vw, 28px); letter-spacing: 0.1em; display: block; margin-bottom: 10px; overflow-wrap: anywhere; }
.contact__brand p { color: var(--ink-soft); font-size: 14px; }
.contact__tag { font-family: var(--serif); font-style: italic; font-size: 14px; color: var(--ink-soft); margin-top: -2px; }
.contact__col { display: flex; flex-direction: column; gap: 8px; }
.contact__h { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 6px; }
.contact__col a { overflow-wrap: anywhere; }
.contact__col a:hover { text-decoration: underline; }
.contact__col p { font-size: 14px; color: var(--ink-soft); overflow-wrap: anywhere; }
.contact__base { max-width: var(--maxw); margin: 50px auto 0; padding-top: 22px; border-top: 1px solid var(--line-soft); display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 11px; letter-spacing: 0.08em; color: var(--ink-faint); }
.contact__legal { color: var(--ink-faint); transition: color .2s; }
.contact__legal:hover { color: var(--ink); text-decoration: underline; }
@media (max-width: 720px) { .contact__grid { grid-template-columns: 1fr; gap: 24px; } .contact__base { flex-direction: column; gap: 6px; text-align: center; } }

/* ===================== MOBILE NAV ===================== */
@media (max-width: 860px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .nav.is-scrolled { background: var(--paper); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav.menu-open .nav__links { display: flex; flex-direction: column; position: fixed; inset: 0; background: var(--paper); align-items: center; justify-content: center; gap: 30px; z-index: 550; }
  .nav.menu-open .nav__links a { font-family: var(--serif); font-size: 26px; color: var(--ink); }
  .nav.menu-open .nav__burger span:nth-child(1) { transform: translateY(6.4px) rotate(45deg); }
  .nav.menu-open .nav__burger span:nth-child(2) { opacity: 0; }
  .nav.menu-open .nav__burger span:nth-child(3) { transform: translateY(-6.4px) rotate(-45deg); }
  .hero__title { font-size: clamp(44px, 11vw, 80px); }
  .booking__days { grid-template-columns: repeat(4, 1fr); }
}

/* ===================== CHATBOT (light) ===================== */
.chat-fab { position: fixed; right: 22px; bottom: 22px; z-index: 700; width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: var(--paper); display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(20,19,15,0.28); transition: transform .3s var(--ease); }
.chat-fab:hover { transform: scale(1.06); }
.chat-fab svg { width: 23px; height: 23px; }
.chat-panel { position: fixed; right: 22px; bottom: 90px; z-index: 700; width: 360px; max-width: calc(100vw - 44px); height: 520px; max-height: calc(100vh - 130px); background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; opacity: 0; transform: translateY(16px) scale(.98); pointer-events: none; transition: opacity .3s var(--ease), transform .3s var(--ease); box-shadow: 0 20px 60px rgba(20,19,15,0.18); }
.chat-panel.is-open { opacity: 1; transform: none; pointer-events: auto; }
.chat-panel__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--line-soft); }
.chat-panel__title { font-size: 13px; letter-spacing: 0.04em; display: flex; align-items: center; gap: 9px; }
.chat-panel__title .dot { width: 8px; height: 8px; border-radius: 50%; background: #2ecc71; }
.chat-panel__close { font-size: 15px; color: var(--ink-faint); }
.chat-panel__body { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 11px; }
.cmsg { max-width: 84%; padding: 11px 14px; font-size: 14px; line-height: 1.5; border-radius: 2px; }
.cmsg--bot { align-self: flex-start; background: var(--paper-2); }
.cmsg--user { align-self: flex-end; background: var(--ink); color: var(--paper); }
.cmsg a { text-decoration: underline; }
.chat-typing { align-self: flex-start; display: flex; gap: 4px; padding: 12px 14px; background: var(--paper-2); }
.chat-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-faint); animation: ctyp 1.2s infinite; }
.chat-typing span:nth-child(2){ animation-delay:.2s; } .chat-typing span:nth-child(3){ animation-delay:.4s; }
@keyframes ctyp { 0%,60%,100%{ opacity:.3; transform: translateY(0);} 30%{ opacity:1; transform: translateY(-3px);} }
.chat-panel__quick { display: flex; flex-wrap: wrap; gap: 7px; padding: 0 18px 12px; }
.chat-chip { font-size: 12px; border: 1px solid var(--line); padding: 7px 11px; transition: all .2s; border-radius: 100px; }
.chat-chip:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chat-panel__input { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--line-soft); }
.chat-panel__input input { flex: 1; border: none; outline: none; background: transparent; font-size: 14px; color: var(--ink); }
.chat-panel__input button { font-size: 17px; width: 34px; height: 34px; border: 1px solid var(--ink); flex-shrink: 0; transition: all .2s; }
.chat-panel__input button:hover { background: var(--ink); color: var(--paper); }
@media (max-width: 540px) { .chat-panel { height: 70vh; } }

/* ===================== SIGNATURE / À PROPOS ===================== */
.signature { border-bottom: 1px solid var(--line-soft); }
.signature__inner { max-width: var(--maxw); margin: 0 auto; padding: 80px 6vw; }
.signature__kicker { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 18px; }
.signature__title { font-family: var(--serif); font-size: clamp(30px, 4.4vw, 56px); font-weight: 300; line-height: 1.08; letter-spacing: -0.01em; }
.signature__lead { font-size: 18px; color: var(--ink-soft); max-width: 620px; margin: 22px 0 16px; }
.signature__tags { font-size: 13px; letter-spacing: 0.04em; color: var(--ink-faint); text-transform: uppercase; }

/* ===================== POLITIQUE ===================== */
.policy { max-width: var(--maxw); margin: 0 auto; padding: 80px 6vw 30px; }
.policy__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.policy__item { border-top: 1px solid var(--ink); padding-top: 16px; }
.policy__n { font-family: var(--serif); font-size: 20px; color: var(--ink-faint); }
.policy__item h3 { font-family: var(--serif); font-size: 18px; font-weight: 400; margin: 8px 0; }
.policy__item p { font-size: 13px; color: var(--ink-soft); }
@media (max-width: 900px) { .policy__grid { grid-template-columns: repeat(2, 1fr); } .contact__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .policy__grid { grid-template-columns: 1fr; } }

/* ===================== PHOTOS EN COULEUR (la vidéo hero reste traitée) ===================== */
.pf img, .card__img img { filter: none; transition: transform .7s var(--ease); }
.pf__zoom { cursor: pointer; }

/* ===================== PALIERS + EXTRAS + TOTAL (page Coupes) ===================== */
.card__lbl { display: block; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); margin: 4px 0 8px; }
.card__tiers, .card__opts { margin: 0 0 14px; display: flex; flex-direction: column; gap: 2px; }
.card__tier, .card__opt { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-soft); padding: 5px 0; cursor: pointer; }
.card__tier input, .card__opt input { accent-color: var(--ink); width: 15px; height: 15px; flex-shrink: 0; }
.card__tier span:nth-of-type(1), .card__opt span:nth-of-type(1) { flex: 1; }
.card__tier-p { color: var(--ink); font-family: var(--serif); }
.card__opt-p { color: var(--ink-faint); font-family: var(--serif); }
.card__total { display: flex; align-items: baseline; justify-content: space-between; border-top: 1px solid var(--ink); padding-top: 10px; margin-bottom: 14px; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); }
.card__total strong { font-family: var(--serif); font-size: 22px; font-weight: 400; color: var(--ink); letter-spacing: 0; text-transform: none; }

/* ===================== GALERIE (vignettes par prestation) ===================== */
.card__thumbs { display: flex; gap: 6px; padding: 8px 8px 0; }
.card__thumb { width: 46px; height: 46px; padding: 0; border: 1px solid var(--line); overflow: hidden; opacity: 0.6; transition: opacity .2s, border-color .2s; cursor: pointer; }
.card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.card__thumb:hover { opacity: 1; }
.card__thumb.is-active { opacity: 1; border-color: var(--ink); }
.card__book { display: block; }

/* ===================== PAGE COUPES — en-tête ===================== */
.coupes-head { max-width: var(--maxw); margin: 0 auto; padding: 130px 6vw 40px; }
.coupes-head__kicker { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 16px; }
.coupes-head__title { font-family: var(--serif); font-size: clamp(40px, 6vw, 84px); font-weight: 300; line-height: 1.02; letter-spacing: -0.02em; }
.coupes-head__lead { font-size: 16px; color: var(--ink-soft); max-width: 560px; margin-top: 18px; }

/* ===================== PORTFOLIO — vidéos + déroulé ===================== */
.pf video { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s var(--ease); }
.pf:hover video { transform: scale(1.05); }
.pf--video .pf__play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 56px; height: 56px; border-radius: 50%; background: rgba(20,19,15,0.55); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 16px; padding-left: 3px; transition: background .25s, transform .25s var(--ease); pointer-events: none; }
.pf--video:hover .pf__play { background: rgba(20,19,15,0.78); transform: translate(-50%, -50%) scale(1.08); }
.pf--video .pf__tag { position: absolute; top: 12px; left: 12px; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; background: rgba(20,19,15,0.55); padding: 4px 9px; border-radius: 100px; }

/* vidéo en lightbox */
.lightbox__fig video { max-width: 88vw; max-height: 82vh; background: #000; display: block; }

/* page Portfolio — en-tête (réutilise le style Coupes) */
.pf-head { max-width: var(--maxw); margin: 0 auto; padding: 130px 6vw 30px; }

/* ===================== MENTIONS LÉGALES ===================== */
.legal { max-width: 820px; margin: 0 auto; padding: 10px 6vw 90px; }
.legal__block { padding: 26px 0; border-top: 1px solid var(--line-soft); }
.legal__block:first-of-type { border-top: none; }
.legal__block h2 { font-family: var(--serif); font-size: clamp(20px, 3vw, 28px); font-weight: 400; margin-bottom: 14px; }
.legal__block p { font-size: 15px; color: var(--ink-soft); margin-bottom: 12px; }
.legal__list { display: flex; flex-direction: column; gap: 8px; margin: 4px 0 4px; }
.legal__list li { font-size: 15px; color: var(--ink-soft); padding-left: 16px; position: relative; }
.legal__list li::before { content: "—"; position: absolute; left: 0; color: var(--ink-faint); }
.legal a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.legal__todo { background: #fbe9c8; color: #7a5a14; padding: 1px 7px; border-radius: 4px; font-style: italic; font-size: 13px; }
.legal__update { margin-top: 24px; font-size: 13px; color: var(--ink-faint); }

/* ===================== PORTFOLIO — CARROUSEL DÉFILANT ===================== */
/* Colonne portrait : chaque média remplit le cadre (object-fit: cover),
   donc plus aucune bordure noire, quelle que soit l'orientation. */
.pf-carousel { position: relative; max-width: 500px; margin: 6px auto 0; padding: 0; }
.pf-viewport { overflow: hidden; background: var(--paper-2); border-radius: 6px; touch-action: pan-y; user-select: none; }
.pf-track { display: flex; transition: transform .55s var(--ease); will-change: transform; }
.pf-slide { flex: 0 0 100%; aspect-ratio: 2 / 3; position: relative; background: var(--paper-2); overflow: hidden; }
.pf-slide img, .pf-slide video { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.pf-slide video { pointer-events: none; }
/* effet d'apparition : fondu + léger zoom arrière une fois le média chargé */
.pf-slide img, .pf-slide video { opacity: 0; transform: scale(1.06); transition: opacity 1.4s var(--ease), transform 1.8s var(--ease); }
.pf-slide img.is-loaded, .pf-slide video.is-loaded { opacity: 1; transform: scale(1); }
@media (prefers-reduced-motion: reduce) { .pf-slide img, .pf-slide video { transition: opacity .3s ease; transform: none; } }
.pf-slide .pf__tag { position: absolute; top: 14px; left: 14px; z-index: 2; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; background: rgba(20,19,15,0.6); padding: 5px 11px; border-radius: 100px; }
.pf-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 4; width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,0.92); color: var(--ink); display: flex; align-items: center; justify-content: center; font-size: 25px; line-height: 1; padding-bottom: 3px; box-shadow: 0 8px 24px rgba(20,19,15,0.28); transition: background .2s, color .2s, transform .2s var(--ease); }
.pf-arrow:hover { background: var(--ink); color: var(--paper); transform: translateY(-50%) scale(1.07); }
.pf-arrow--prev { left: 10px; }
.pf-arrow--next { right: 10px; }
.pf-meta { max-width: 500px; margin: 16px auto 0; padding: 0 4px; display: flex; align-items: baseline; justify-content: space-between; gap: 18px; }
.pf-caption { font-size: 14px; color: var(--ink-soft); min-height: 1.4em; }
.pf-counter { font-family: var(--serif); font-size: 15px; letter-spacing: 0.06em; color: var(--ink-faint); white-space: nowrap; }
.pf-dots { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 16px; }
.pf-dots[hidden] { display: none; }
.pf-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line); padding: 0; transition: background .2s, transform .2s var(--ease); }
.pf-dot:hover { background: var(--ink-faint); }
.pf-dot.is-active { background: var(--ink); transform: scale(1.3); }
@media (max-width: 560px) {
  .pf-arrow { width: 42px; height: 42px; font-size: 22px; }
  .pf-meta { flex-direction: column; gap: 4px; }
}

/* ===================== ZOOM PHOTO AU TAP (lightbox carrousel) ===================== */
.pf-slide img { cursor: zoom-in; }
.pf-lightbox { position: fixed; inset: 0; z-index: 900; background: rgba(20,19,15,0.93); display: none; align-items: center; justify-content: center; padding: 18px; -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.pf-lightbox.is-open { display: flex; }
.pf-lightbox__img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; cursor: zoom-out; }
.pf-lightbox__close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.92); color: var(--ink); font-size: 18px; display: flex; align-items: center; justify-content: center; line-height: 1; }

/* ===================== FOOTER — 1 colonne sur téléphone (override final) ===================== */
@media (max-width: 700px) {
  .contact__grid { grid-template-columns: 1fr; gap: 22px; }
  .contact__base { flex-direction: column; gap: 6px; text-align: center; }
}

/* ===================== SECTIONS PAR GROUPE DE COIFFURE ===================== */
#catGrid { display: block; }
.coupe-group { margin-bottom: 3rem; }
.coupe-group:last-child { margin-bottom: 0; }
.coupe-group__title { font-family: var(--serif); font-weight: 300; font-size: clamp(22px, 3vw, 34px); letter-spacing: -0.01em; margin: 0 0 20px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.coupe-group .cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .coupe-group .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .coupe-group .cat-grid { grid-template-columns: 1fr; } }
