/* ==========================================================================
   MANUIA · manuia.club
   Feuille de style unique. Aucun build, aucune dépendance.
   Ordre : 1 tokens · 2 base · 3 layout · 4 header/menu · 5 composants
           6 sections de page · 7 footer · 8 utilitaires
   ========================================================================== */

/* 1 · TOKENS ============================================================== */

@font-face {
  font-family: 'Archer';
  src: url('../fonts/Archer-Book-Pro.otf') format('opentype');
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Archer';
  src: url('../fonts/Archer-Bold-Pro.otf') format('opentype');
  font-weight: 600 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* couleurs */
  --espresso-deep: #241A12;
  --espresso: #33261C;
  --espresso-hover: #4A3728;
  --cream: #F1E9D8;
  --cream-hover: #FFF9EC;
  --page: #FAF6ED;
  --ocre: #C9963F;
  --ink-2: #5C4A3A;
  --ink-3: #8A7663;
  --on-dark: #CBBFA9;
  --green: #7FB069;
  --line-dark: rgba(241, 233, 216, .12);
  --line-light: rgba(51, 38, 28, .1);
  --border-card: rgba(51, 38, 28, .08);

  /* typo */
  --serif: 'Archer', 'Iowan Old Style', Georgia, serif;
  --sans: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* rythme : 20px en mobile, 120px à 1440 */
  --pad-page: clamp(20px, 8.34vw, 120px);
  --pad-header: clamp(20px, 3.9vw, 56px);
  --shell: 1440px;

  --r-card: 12px;
  --r-pill: 999px;
}

/* 2 · BASE =============================================================== */

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--page);
  color: var(--espresso);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

img, svg { max-width: 100%; }
img { display: block; }

a { color: var(--espresso); }

button { font: inherit; }

:focus-visible {
  outline: 2px solid var(--ocre);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--cream);
  color: var(--espresso-deep);
  font: 600 14px/1 var(--sans);
  padding: 14px 20px;
  border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

/* 3 · LAYOUT ============================================================= */

.wrap {
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--pad-page);
}

.wrap--header {
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--pad-header);
}

.section { padding-block: clamp(44px, 6vw, 80px); }
.section--tight { padding-block: clamp(32px, 4vw, 56px); }
.section--flush-top { padding-top: 0; }

.kicker {
  font: 500 12px/1 var(--sans);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ocre);
}

.lead { font-size: clamp(16px, 1.4vw, 18px); line-height: 1.6; color: var(--ink-2); }

.h-section { font-size: clamp(28px, 3.2vw, 44px); line-height: 1.1; color: var(--espresso); }

/* bande décorative de tressage */
.weave {
  height: clamp(56px, 4.4vw, 64px);
  background: var(--ocre);
  -webkit-mask: url('../img/pattern-mask.svg') center / clamp(200px, 16vw, 240px) auto;
  mask: url('../img/pattern-mask.svg') center / clamp(200px, 16vw, 240px) auto;
  opacity: .3;
}

/* 4 · HEADER & MENU MOBILE ============================================== */

.hdr {
  position: relative;
  z-index: 60;
  background: var(--espresso-deep);
}

.hdr__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 14px;
}

.hdr__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.hdr__brand img { width: 34px; height: 34px; }
.hdr__brand span {
  display: none;
  font: 400 20px/1 var(--serif);
  letter-spacing: .14em;
  color: var(--cream);
}

.hdr__nav { display: none; }

.hdr__right { display: flex; align-items: center; gap: 14px; }

.hdr__quick {
  font: 600 13px/1 var(--sans);
  color: var(--cream);
  text-decoration: none;
  padding: 12px 4px;
}
.hdr__quick:hover { color: var(--ocre); }

.burger {
  width: 44px;
  height: 44px;
  flex: none;
  display: grid;
  place-items: center;
  gap: 5px;
  background: none;
  border: 1px solid rgba(241, 233, 216, .3);
  border-radius: var(--r-pill);
  cursor: pointer;
}
.burger i {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--cream);
}
.burger i + i { margin-top: 5px; }
.burger:hover { border-color: var(--cream); }

/* menu plein écran */
.menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--espresso-deep);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transition: opacity .22s ease, visibility .22s;
}
.menu[data-open='true'] { visibility: visible; opacity: 1; }

.menu__mark {
  position: absolute;
  right: -140px;
  bottom: -120px;
  width: 480px;
  height: 480px;
  background: #2E2218;
  -webkit-mask: url('../img/emblem-mask.svg') 0 0 / 480px 480px no-repeat;
  mask: url('../img/emblem-mask.svg') 0 0 / 480px 480px no-repeat;
  pointer-events: none;
}

.menu__bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
}
.menu__close {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: none;
  border: 1px solid rgba(241, 233, 216, .3);
  border-radius: var(--r-pill);
  color: var(--cream);
  font: 400 20px/1 var(--sans);
  cursor: pointer;
}
.menu__close:hover { border-color: var(--cream); }

.menu__nav {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 28px 0;
  flex: 1;
}
.menu__nav a {
  font: 400 clamp(30px, 8vw, 38px)/1.35 var(--serif);
  color: var(--cream);
  text-decoration: none;
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.menu__nav a:hover { color: var(--ocre); }
.menu__nav a small { font: 400 12px/1 var(--sans); color: var(--ink-3); }
.menu__nav a .tag {
  font: 600 10px/1 var(--sans);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ocre);
}
.menu__nav a.is-soon { color: var(--ink-3); }
.menu__sep { height: 1px; background: var(--line-dark); margin: 20px 0; }
.menu__nav a.is-small { font-size: 20px; line-height: 1.7; color: var(--on-dark); }

.menu__foot { position: relative; padding: 24px 28px 32px; }
.menu__foot p {
  font: 500 12px/1.6 var(--sans);
  color: var(--ink-3);
  margin-top: 16px;
  text-align: center;
}
.menu__foot p span { color: var(--ocre); }

/* 5 · COMPOSANTS ======================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font: 600 15px/1 var(--sans);
  padding: 16px 28px;
  border: 0;
  border-radius: var(--r-pill);
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .1s ease;
}
.btn:active { transform: scale(.98); }
.btn--lg { font-size: 16px; padding: 17px 32px; }
.btn--sm { font-size: 14px; padding: 13px 26px; }
.btn--block { display: flex; width: 100%; }

.btn--cream { background: var(--cream); color: var(--espresso-deep); }
.btn--cream:hover { background: var(--cream-hover); color: var(--espresso-deep); }

.btn--espresso { background: var(--espresso); color: var(--cream); }
.btn--espresso:hover { background: var(--espresso-hover); color: var(--cream); }

.btn--ghost { color: var(--cream); border: 1px solid rgba(241, 233, 216, .35); }
.btn--ghost:hover { border-color: var(--cream); color: var(--cream); }

.btn--dashed { color: var(--espresso); border: 1.5px dashed rgba(51, 38, 28, .4); }
.btn--dashed:hover { border-color: var(--espresso); color: var(--espresso); }

.btn .dot { width: 8px; height: 8px; border-radius: var(--r-pill); background: var(--green); flex: none; }

.note {
  font: 400 11.5px/1.5 var(--sans);
  color: var(--ink-3);
}

.badge {
  display: inline-block;
  align-self: flex-start;
  font: 600 clamp(10px, 1vw, 11px)/1 var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 4px;
}
.badge--ocre { color: var(--ocre); background: rgba(201, 150, 63, .14); }
.badge--cream { color: var(--cream); background: rgba(241, 233, 216, .12); }
.badge--outline {
  color: var(--cream);
  background: rgba(241, 233, 216, .12);
  border: 1px solid rgba(241, 233, 216, .25);
  letter-spacing: .16em;
  padding: 8px 14px;
}

.chip {
  font: 500 11px/1 var(--sans);
  color: var(--ink-2);
  background: var(--cream);
  padding: 6px 11px;
  border-radius: var(--r-pill);
  white-space: nowrap;
}
.chips { display: flex; gap: 6px; flex-wrap: wrap; }

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--cream);
  border-radius: var(--r-card);
  padding: 14px 18px;
  font: 500 clamp(13px, 1.2vw, 14px)/1.4 var(--sans);
  color: var(--espresso);
}
.status .dot { width: 8px; height: 8px; border-radius: var(--r-pill); background: var(--green); flex: none; }

/* héros sombre avec photo de fond */
.hero {
  position: relative;
  isolation: isolate;
  background: var(--espresso-deep);
  color: var(--cream);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(36, 26, 18, .72), rgba(36, 26, 18, .92));
  z-index: -1;
}
.hero__mark {
  position: absolute;
  background: var(--espresso);
  pointer-events: none;
  z-index: -1;
}
.hero__inner { position: relative; padding-block: clamp(36px, 5vw, 70px); }
.hero__title { font-size: clamp(38px, 5vw, 72px); line-height: 1.03; color: var(--cream); }
.hero__lead {
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.6;
  color: var(--on-dark);
  max-width: 560px;
  margin-top: 16px;
}

/* héros « image + panneau clair » */
.cols-2 { display: grid; gap: clamp(28px, 4vw, 80px); }

.split { display: grid; }
.split__media { position: relative; aspect-ratio: 4 / 3; }
.split__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split__body {
  padding: clamp(28px, 5vw, 70px) var(--pad-page);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.split__title { font-size: clamp(38px, 4.4vw, 60px); line-height: 1.02; color: var(--espresso); }

/* carte univers (accueil) */
.universes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.u-card {
  position: relative;
  display: block;
  border-radius: var(--r-card);
  overflow: hidden;
  text-decoration: none;
  transition: transform .25s ease;
}
.u-card:hover { transform: translateY(-3px); }
.u-card img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; }
.u-card--tattoo, .u-card--coffee { grid-column: span 2; }
.u-card--tattoo img { aspect-ratio: 4 / 3; }
.u-card--coffee img { aspect-ratio: 16 / 9; }
.u-card--nail img, .u-card--barber img { aspect-ratio: 3 / 4; }
.u-card__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(36, 26, 18, 0) 40%, rgba(36, 26, 18, .85));
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding: clamp(14px, 1.7vw, 24px);
}
.u-card__veil h3 { font-size: clamp(20px, 2.2vw, 32px); color: var(--cream); }
.u-card__veil p { font-size: clamp(11.5px, 1vw, 14px); color: var(--on-dark); margin-top: 3px; }
/* `img.` est nécessaire : `.u-card img` a une spécificité supérieure. */
img.u-card__icon {
  width: clamp(40px, 3.9vw, 56px);
  height: clamp(40px, 3.9vw, 56px);
  flex: none;
  align-self: flex-end;
  aspect-ratio: 1;
  object-fit: contain;
}

.u-card--flat {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  min-height: 120px;
  padding: clamp(16px, 1.7vw, 24px);
}
.u-card--flat h3 { font-size: clamp(20px, 2vw, 28px); }
.u-card--flat p { font-size: clamp(11.5px, 1vw, 13px); margin-top: 4px; }
.u-card--light { background: var(--cream); }
.u-card--light h3 { color: var(--espresso); }
.u-card--light p { color: var(--ink-3); }
.u-card--dark { background: var(--espresso); }
.u-card--dark h3 { color: var(--cream); }
.u-card--dark p { color: var(--on-dark); }

/* carte artiste */
.artists { display: grid; gap: 18px; }
.artist {
  background: #fff;
  border: 1px solid var(--border-card);
  border-radius: var(--r-card);
  padding: 16px;
  transition: border-color .2s ease;
}
.artist:hover { border-color: rgba(51, 38, 28, .25); }
.artist__head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.artist__head img {
  width: 64px;
  height: 64px;
  border-radius: var(--r-pill);
  object-fit: cover;
  flex: none;
}
.artist__id { flex: 1; min-width: 0; }
.artist__id h3 { font-size: 22px; color: var(--espresso); }
.artist__id a {
  font: 500 12px/1 var(--sans);
  color: var(--ocre);
  text-decoration: none;
}
.artist__id a:hover { text-decoration: underline; }
/* les styles de l'artiste passent sur leur propre ligne, sauf en grand desktop
   où la carte est assez large pour les aligner à droite du nom */
.artist .chips { flex: 1 1 100%; justify-content: flex-start; margin-top: 12px; }
.artist__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: 14px; }
.artist__grid img { aspect-ratio: 1; width: 100%; object-fit: cover; border-radius: 6px; }
.artist__grid img:nth-child(4) { display: none; }
.artist .btn { margin-top: 14px; }

.artist--guest {
  background: var(--cream);
  border: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 18px;
}
.artist--guest .ph {
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: var(--r-pill);
  border: 1.5px dashed rgba(51, 38, 28, .35);
  display: grid;
  place-items: center;
  font: 400 18px/1 var(--serif);
  color: var(--ink-3);
}
.artist--guest h3 { font-size: 18px; color: var(--espresso); }
.artist--guest p { font: 400 12px/1.4 var(--sans); color: var(--ink-3); margin-top: 2px; }

/* étapes numérotées */
.steps { display: flex; flex-direction: column; }
.step {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--line-light);
}
.step:last-child { border-bottom: 1px solid var(--line-light); }
.step__n {
  font: 400 clamp(20px, 1.8vw, 24px)/1.2 var(--serif);
  color: var(--ocre);
  flex: none;
  width: clamp(32px, 3vw, 40px);
}
.step h3 { font: 600 clamp(15px, 1.2vw, 16px)/1.3 var(--sans); color: var(--espresso); }
.step p { font-size: clamp(13.5px, 1.1vw, 14px); line-height: 1.6; color: var(--ink-2); margin-top: 4px; }

.callout {
  background: var(--cream);
  border-radius: var(--r-card);
  padding: 18px;
}
.callout h3 { font: 600 clamp(14px, 1.2vw, 15px)/1.3 var(--sans); color: var(--espresso); }
.callout p { font-size: clamp(13px, 1.1vw, 13.5px); line-height: 1.55; color: var(--ink-2); margin-top: 6px; }

/* liste de tarifs */
.prices { display: flex; flex-direction: column; margin-top: 12px; }
.price {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding: clamp(14px, 1.4vw, 18px) 0;
  border-bottom: 1px solid var(--line-light);
}
.price:last-child { border-bottom: 0; }
.price p { font: 600 clamp(15px, 1.3vw, 17px)/1.3 var(--sans); color: var(--espresso); }
.price span { font: 400 clamp(17px, 1.5vw, 20px)/1 var(--serif); color: var(--espresso); white-space: nowrap; }

/* grilles d'images */
.gallery { display: grid; gap: 6px; }
.gallery img { aspect-ratio: 1; width: 100%; object-fit: cover; border-radius: 8px; }
.gallery--2 { grid-template-columns: 1fr 1fr; }
.gallery--4 { grid-template-columns: 1fr 1fr; }
.gallery--4 img:nth-child(n + 5) { display: none; }
.gallery--8 { grid-template-columns: 1fr 1fr; }
.gallery--8 img:nth-child(n + 5) { display: none; }

/* carte produit */
.products { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.product {
  background: #fff;
  border: 1px solid var(--border-card);
  border-radius: var(--r-card);
  overflow: hidden;
  transition: border-color .2s ease;
}
.product:hover { border-color: rgba(51, 38, 28, .25); }
.product img { aspect-ratio: 1; width: 100%; object-fit: cover; }
.product__body { padding: 12px 14px 14px; }
.product__brand {
  font: 500 clamp(10.5px, .9vw, 11px)/1 var(--sans);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ocre);
}
.product__name {
  font: 600 clamp(13.5px, 1.2vw, 15px)/1.35 var(--sans);
  color: var(--espresso);
  margin-top: 4px;
}
.product__price {
  font: 400 clamp(16px, 1.4vw, 18px)/1 var(--serif);
  color: var(--espresso);
  margin-top: 8px;
}

/* bandeau click & collect */
.stripe {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  background: var(--cream);
  padding: 16px var(--pad-page);
}
.stripe__icon {
  width: 36px;
  height: 36px;
  flex: none;
  border: 1.5px solid var(--espresso);
  border-radius: 8px;
  display: grid;
  place-items: center;
}
.stripe__icon i {
  display: block;
  width: 14px;
  height: 10px;
  border: 1.5px solid var(--espresso);
  border-top: 0;
}
.stripe p { font: 600 clamp(13.5px, 1.2vw, 15px)/1.4 var(--sans); color: var(--espresso); }
.stripe span {
  font: 500 clamp(11.5px, 1vw, 12px)/1.4 var(--sans);
  color: var(--ocre);
}

/* lignes de contact */
.rows { display: flex; flex-direction: column; }
.row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-light);
}
.row:last-child { border-bottom: 0; }
.row .t { font: 600 14px/1.3 var(--sans); color: var(--espresso); }
.row .d { font: 400 14px/1.5 var(--sans); color: var(--ink-2); margin-top: 3px; }
.row .d small { font-size: 11px; color: var(--ink-3); }
.row .d a { color: var(--ocre); text-decoration: none; }
.row .d a:hover { text-decoration: underline; }
.row a.action {
  font: 500 12.5px/1 var(--sans);
  color: var(--ocre);
  text-decoration: none;
  flex: none;
  padding: 12px 0 12px 12px;
}
.row a.action:hover { text-decoration: underline; }

/* carte (chargement au clic, sans cookie tiers) */
.map { border-radius: var(--r-card); overflow: hidden; }
.map__ph {
  aspect-ratio: 4 / 3;
  background: repeating-linear-gradient(45deg, #EDE4D0 0 12px, #E4D9C2 12px 24px);
  display: grid;
  place-items: center;
  position: relative;
  gap: 12px;
  padding: 20px;
  text-align: center;
}
.map__pin {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.map__pin img { width: 36px; height: 36px; }
.map__pin i { display: block; width: 2px; height: 12px; background: var(--espresso); }
.map__ph .note { max-width: 320px; }
.map iframe { display: block; width: 100%; aspect-ratio: 4 / 3; border: 0; }

/* formulaire */
.form { display: flex; flex-direction: column; gap: 12px; }
.form__row { display: grid; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span {
  font: 500 12px/1 var(--sans);
  letter-spacing: .04em;
  color: var(--ink-3);
}
.form input,
.form textarea {
  font: 400 14.5px/1.5 var(--sans);
  color: var(--espresso);
  background: #fff;
  border: 1px solid rgba(51, 38, 28, .15);
  border-radius: 10px;
  padding: 14px 16px;
  width: 100%;
  transition: border-color .18s ease;
}
.form input::placeholder,
.form textarea::placeholder { color: var(--ink-3); }
.form input:focus,
.form textarea:focus { border-color: var(--espresso); outline: none; }
.form input[aria-invalid='true'],
.form textarea[aria-invalid='true'] { border-color: #B4462F; }
.form textarea { min-height: 120px; resize: vertical; }
.form .error {
  font: 500 12px/1.4 var(--sans);
  color: #B4462F;
  min-height: 0;
}
.form__status {
  font: 500 13px/1.5 var(--sans);
  border-radius: 10px;
  padding: 12px 14px;
}
.form__status[hidden] { display: none; }
.form__status[data-state='ok'] { background: rgba(127, 176, 105, .16); color: #2F5D22; }
.form__status[data-state='ko'] { background: rgba(180, 70, 47, .12); color: #8E3320; }
.form button[disabled] { opacity: .6; cursor: progress; }

/* honeypot anti-spam */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* inscription email (boutique) */
.subscribe { display: flex; gap: 8px; flex-wrap: wrap; max-width: 480px; }
.subscribe .form__status, .subscribe .error { flex: 1 1 100%; margin-top: 4px; }
.subscribe input {
  flex: 1 1 200px;
  font: 400 15px/1 var(--sans);
  color: var(--cream);
  background: rgba(241, 233, 216, .08);
  border: 1px solid rgba(241, 233, 216, .2);
  border-radius: var(--r-pill);
  padding: 16px 22px;
}
.subscribe input::placeholder { color: var(--ink-3); }
.subscribe input:focus { border-color: var(--cream); outline: none; }

/* barre CTA collante (mobile) */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 55;
  padding: 12px 16px;
  background: rgba(36, 26, 18, .82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
}
body.has-sticky-cta { padding-bottom: 84px; }

/* 6 · SECTIONS DE PAGE ================================================== */

/* accueil : héros */
.hero-home__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 52px 0 48px;
}
.hero-home__weave {
  position: relative;
  width: 250px;
  height: 250px;
  order: 1;
  animation: weaveSettle 1.4s cubic-bezier(.22, 1, .36, 1) both;
}
.hero-home__weave i {
  position: absolute;
  top: 0;
  width: 50px;
  height: 100%;
  background: var(--cream);
  transform-origin: bottom;
  animation: weaveIn .8s cubic-bezier(.22, 1, .36, 1) both;
}
.hero-home__weave i:nth-child(1) { left: 0; -webkit-mask: url('../img/emblem-mask.svg') 0 0 / 250px 250px no-repeat; mask: url('../img/emblem-mask.svg') 0 0 / 250px 250px no-repeat; animation-delay: 0s; }
.hero-home__weave i:nth-child(2) { left: 50px; -webkit-mask: url('../img/emblem-mask.svg') -50px 0 / 250px 250px no-repeat; mask: url('../img/emblem-mask.svg') -50px 0 / 250px 250px no-repeat; animation-delay: .12s; }
.hero-home__weave i:nth-child(3) { left: 100px; -webkit-mask: url('../img/emblem-mask.svg') -100px 0 / 250px 250px no-repeat; mask: url('../img/emblem-mask.svg') -100px 0 / 250px 250px no-repeat; animation-delay: .24s; }
.hero-home__weave i:nth-child(4) { left: 150px; -webkit-mask: url('../img/emblem-mask.svg') -150px 0 / 250px 250px no-repeat; mask: url('../img/emblem-mask.svg') -150px 0 / 250px 250px no-repeat; animation-delay: .36s; }
.hero-home__weave i:nth-child(5) { left: 200px; -webkit-mask: url('../img/emblem-mask.svg') -200px 0 / 250px 250px no-repeat; mask: url('../img/emblem-mask.svg') -200px 0 / 250px 250px no-repeat; animation-delay: .48s; }

.hero-home h1 {
  order: 2;
  font-size: clamp(52px, 7.3vw, 104px);
  line-height: 1;
  letter-spacing: .14em;
  color: var(--cream);
  margin-top: 30px;
  animation: fadeUp .6s ease .9s both;
}
.hero-home__kicker { order: 3; margin-top: 14px; font-size: 12.5px; animation: fadeUp .6s ease 1.05s both; }
.hero-home__lead {
  order: 4;
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.55;
  color: var(--on-dark);
  max-width: 300px;
  margin-top: 16px;
  animation: fadeUp .6s ease 1.15s both;
}
.hero-home__cta {
  order: 5;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  margin-top: 28px;
  animation: fadeUp .6s ease 1.3s both;
}
.hero-home__note { order: 6; margin-top: 12px; animation: fadeUp .6s ease 1.4s both; }

@keyframes weaveIn { from { transform: translateY(26px) scaleY(.55); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes weaveSettle { from { transform: rotate(-5deg) scale(.97); } to { transform: none; } }
@keyframes fadeUp { from { transform: translateY(14px); opacity: 0; } to { transform: none; opacity: 1; } }

/* accueil : intro de section */
.sec-head { display: flex; flex-direction: column; gap: 12px; }
.sec-head h2 { margin-top: 10px; }
.sec-head p.desc { font-size: clamp(14px, 1.2vw, 15px); line-height: 1.6; color: var(--ink-3); max-width: 380px; }
.universes { margin-top: clamp(20px, 3vw, 36px); }

/* le lieu */
.editorial { display: grid; gap: clamp(24px, 4vw, 80px); align-items: center; }
.editorial h2 { font-size: clamp(26px, 3vw, 40px); line-height: 1.12; color: var(--espresso); }
.editorial p { font-size: clamp(15.5px, 1.4vw, 17px); line-height: 1.7; color: var(--ink-2); margin-top: 16px; }
.editorial img.emblem { width: clamp(120px, 15vw, 220px); height: auto; margin-inline: auto; }

/* mentions légales */
.legal { display: grid; gap: 28px; max-width: 1040px; }
.legal h2 { font-size: clamp(22px, 2vw, 26px); line-height: 1.2; color: var(--espresso); margin-bottom: 10px; }
.legal h2 + p { margin-bottom: 0; }
.legal p { font-size: clamp(14px, 1.2vw, 15px); line-height: 1.7; color: var(--ink-2); }
.legal p + h2 { margin-top: 28px; }
.legal a { color: var(--ocre); }
.legal .todo {
  font: 500 11px/1.4 ui-monospace, Menlo, monospace;
  color: var(--ocre);
  background: rgba(201, 150, 63, .12);
  padding: 2px 6px;
  border-radius: 4px;
}

/* 7 · FOOTER ============================================================ */

.ftr { background: var(--espresso-deep); }
.ftr__top { padding-block: clamp(28px, 4vw, 56px); }
.ftr__cols { display: grid; gap: 28px; }
.ftr__brand { display: flex; align-items: center; gap: 12px; }
.ftr__brand img { width: 36px; height: 36px; }
.ftr__brand span { font: 400 18px/1 var(--serif); letter-spacing: .14em; color: var(--cream); }
.ftr__about { font: 400 13px/1.6 var(--sans); color: var(--ink-3); margin-top: 14px; max-width: 280px; }
.ftr__col h2 {
  font: 600 11px/1 var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 12px;
}
.ftr__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ftr__col a { font: 500 13px/1.4 var(--sans); color: var(--on-dark); text-decoration: none; }
.ftr__col a:hover { color: var(--ocre); }
.ftr__col a.ig { color: var(--ocre); }
.ftr__infos { font: 500 13px/1.7 var(--sans); color: var(--on-dark); }
.ftr__sep { height: 1px; background: var(--line-dark); margin: 24px 0 20px; }
.ftr__legal {
  font: 400 clamp(10.5px, 1vw, 11px)/1.6 var(--sans);
  color: var(--ink-3);
  padding-bottom: clamp(24px, 3vw, 40px);
}
.ftr__legal a { color: var(--ink-3); }
.ftr__legal a:hover { color: var(--ocre); }

.ftr--slim .ftr__legal { padding-block: 24px; text-align: center; }

/* footer compact de l'accueil en mobile */
.ftr__mini { display: flex; flex-direction: column; gap: 6px; text-align: center; }
.ftr__mini p { font: 500 13px/1.5 var(--sans); }
.ftr__mini p:first-child { color: var(--cream); }
.ftr__mini p + p { color: var(--on-dark); }
.ftr__mini a { font: 500 13px/1.5 var(--sans); color: var(--ocre); text-decoration: none; }
.ftr__links {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.ftr__links a { font: 500 12px/1 var(--sans); color: var(--on-dark); text-decoration: none; }
.ftr__links a:hover { color: var(--ocre); }

/* boutique : teaser plein écran */
.teaser { display: flex; flex-direction: column; min-height: 78vh; }
.teaser__mark {
  position: absolute;
  left: -120px;
  top: 180px;
  width: 520px;
  height: 520px;
  background: #2E2218;
  -webkit-mask: url('../img/emblem-mask.svg') 0 0 / 520px 520px no-repeat;
  mask: url('../img/emblem-mask.svg') 0 0 / 520px 520px no-repeat;
  z-index: -1;
  pointer-events: none;
}
.teaser .wrap { display: flex; flex: 1; }
.teaser__inner { display: flex; flex-direction: column; justify-content: center; flex: 1; }
.teaser__title {
  font-size: clamp(46px, 6vw, 84px);
  line-height: 1.02;
  color: var(--cream);
}

/* supplies : filigrane emblème */
.supplies__mark {
  width: 220px;
  height: 220px;
  flex: none;
  background: var(--cream);
  opacity: .12;
  -webkit-mask: url('../img/emblem-mask.svg') 0 0 / 220px 220px no-repeat;
  mask: url('../img/emblem-mask.svg') 0 0 / 220px 220px no-repeat;
}

/* 8 · UTILITAIRES ======================================================= */

.mt-8 { margin-top: 8px; }
.mt-10 { margin-top: 10px; }
.mt-12 { margin-top: 12px; }
.mt-14 { margin-top: 14px; }
.mt-16 { margin-top: 16px; }
.mt-18 { margin-top: 18px; }
.mt-20 { margin-top: 20px; }
.mt-22 { margin-top: 22px; }
.mt-24 { margin-top: 24px; }
.mt-26 { margin-top: 26px; }
.mt-28 { margin-top: 28px; }
.mt-30 { margin-top: 30px; }
.mt-34 { margin-top: 34px; }
.mt-36 { margin-top: 36px; }

/* `revert` rend à l'élément son display natif (block pour un div, inline pour
   un span) : indispensable pour basculer des blocs et pas seulement du texte. */
.only-desktop { display: none; }
.hdr__cta { display: none; }
.ftr__cols { display: none; }
.hero-home__cta .btn--ghost { display: none; }

/* le contenu n'est masqué que si le JS a pu marquer le document */
.js .reveal { opacity: 0; transform: translateY(18px); }
.js .reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity .7s ease, transform .7s cubic-bezier(.22, 1, .36, 1);
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ======================================================================== */
/* DESKTOP ≥ 900px                                                          */
/* ======================================================================== */

@media (min-width: 900px) {

  .only-desktop { display: revert; }
  .only-mobile { display: none !important; }
  .hdr__cta { display: inline-flex; }
  .ftr__cols { display: grid; }
  .ftr__mini, .ftr__links { display: none; }
  .hero-home__cta .btn--ghost { display: inline-flex; }

  /* header fixe */
  :root { --hdr-h: 81px; }
  .hdr { position: sticky; top: 0; }
  .hdr__bar { padding-block: 20px; }
  .hdr__brand img { width: 40px; height: 40px; }
  .hdr__brand span { display: inline; }
  .hdr__nav { display: flex; gap: clamp(18px, 2.2vw, 32px); }
  .hdr__nav a {
    font: 500 14px/1 var(--sans);
    color: var(--cream);
    text-decoration: none;
  }
  .hdr__nav a:hover,
  .hdr__nav a[aria-current='page'] { color: var(--ocre); }
  .hdr__quick { display: none; }
  .burger { display: none; }
  .menu { display: none; }

  /* header transparent au-dessus du héros de l'accueil, plein dès le scroll */
  .hdr--over {
    background: transparent;
    border-bottom: 1px solid var(--line-dark);
    transition: background .25s ease;
  }
  .hdr--over.is-solid {
    background: rgba(36, 26, 18, .92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
  /* la marge négative est portée par le header lui-même : le contenu qui suit
     remonte dessous quel que soit le balisage intercalé (menu mobile). */
  .hdr--over { margin-bottom: calc(-1 * var(--hdr-h)); }

  .sticky-cta { display: none; }
  body.has-sticky-cta { padding-bottom: 0; }

  /* héros génériques */
  .hero__inner { padding-block: 70px 80px; }
  .hero__inner--wide { display: grid; grid-template-columns: 1fr auto; gap: 60px; align-items: center; }
  .hero__lead { margin-top: 20px; }

  /* accueil */
  .hero-home__inner {
    align-items: flex-start;
    text-align: left;
    /* le header transparent chevauche le héros : on rattrape sa hauteur */
    padding: calc(110px + var(--hdr-h)) 0 120px;
    max-width: 760px;
  }
  .hero-home__weave { display: none; }
  .hero-home h1 { order: 2; font-size: clamp(72px, 7.2vw, 104px); letter-spacing: .1em; margin-top: 22px; animation-delay: .15s; }
  .hero-home__kicker { order: 1; margin-top: 0; font-size: 13px; animation-delay: 0s; }
  .hero-home__lead { order: 3; max-width: 520px; margin-top: 24px; animation-delay: .3s; }
  .hero-home__cta { order: 4; flex-direction: row; align-items: center; gap: 16px; width: auto; margin-top: 36px; animation-delay: .4s; }
  .hero-home__cta .btn { width: auto; }
  .hero-home__note { order: 5; margin-top: 14px; font-size: 12px; animation-delay: .5s; }
  .hero-home .hero__mark {
    right: -160px;
    top: 60px;
    width: 760px;
    height: 760px;
    -webkit-mask: url('../img/emblem-mask.svg') 0 0 / 760px 760px no-repeat;
    mask: url('../img/emblem-mask.svg') 0 0 / 760px 760px no-repeat;
  }

  .sec-head { flex-direction: row; align-items: baseline; justify-content: space-between; gap: 40px; }

  .universes { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .u-card--flat { min-height: 0; }
  .u-card--coffee { grid-column: span 1; }
  .u-card--tattoo img { aspect-ratio: 2 / 1; }
  .u-card--coffee img,
  .u-card--nail img,
  .u-card--barber img { aspect-ratio: 1 / 1.02; }

  /* artistes 2 colonnes, carte à plat */
  .artists { grid-template-columns: 1fr 1fr; gap: 24px; }
  .artist { padding: 24px; }
  .artist__head img { width: 72px; height: 72px; }
  .artist__id h3 { font-size: 26px; }
  .artist__id a { font-size: 13px; }
  .artist__grid { grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 18px; }
  .artist__grid img:nth-child(4) { display: block; }
  .artist .btn { margin-top: 18px; width: 100%; }
  .artist--guest .ph { width: 56px; height: 56px; font-size: 22px; }
  .artist--guest h3 { font-size: 22px; }
  .artist--guest p { font-size: 13px; }

  /* deux colonnes génériques */
  .cols-2 { grid-template-columns: 1fr 1fr; gap: clamp(40px, 5.5vw, 80px); align-items: start; }
  .cols-2--center { align-items: center; }

  .step { gap: 20px; padding: 20px 0; }

  .split { grid-template-columns: 1.1fr 1fr; min-height: 520px; }
  .split__media { aspect-ratio: auto; }
  .split--reverse { grid-template-columns: 1fr 1.1fr; }
  .split--reverse .split__media { order: 2; }
  .split__body { padding-inline: clamp(48px, 5.5vw, 80px); }

  .gallery { gap: 12px; }
  .gallery--2 { grid-template-columns: 1fr 1fr; }
  .gallery--4 { grid-template-columns: repeat(2, 1fr); }
  .gallery--4 img:nth-child(n + 5) { display: block; }
  .gallery--8 { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .gallery--8 img:nth-child(n + 5) { display: block; }
  .gallery img { border-radius: 10px; }

  .products { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .product__body { padding: 16px 18px 18px; }

  .stripe { gap: 14px; padding-block: 18px; flex-wrap: nowrap; }
  .stripe__icon { width: 38px; height: 38px; }
  .stripe span { background: rgba(201, 150, 63, .14); padding: 7px 12px; border-radius: 4px; white-space: nowrap; }

  .rows--grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  .rows--grid .row { border: 0; padding: 0; display: block; }
  .rows--grid .row dd { font-size: 14.5px; line-height: 1.6; }

  .map__ph { aspect-ratio: 16 / 10; }
  .map iframe { aspect-ratio: 16 / 10; }
  .map__pin img { width: 44px; height: 44px; }
  .map__pin i { height: 14px; }

  .form-card {
    background: #fff;
    border: 1px solid var(--border-card);
    border-radius: var(--r-card);
    padding: 36px 40px;
  }
  .form-card .form input,
  .form-card .form textarea { background: var(--page); padding: 15px 18px; }
  .form__row--2 { grid-template-columns: 1fr 1fr; }
  .form textarea { min-height: 160px; }

  .editorial--media-left { grid-template-columns: auto 1fr; }
  .editorial--cols { grid-template-columns: 1fr 1fr; }

  .legal { grid-template-columns: repeat(2, 1fr); gap: 40px 80px; }

  .ftr__cols { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
  .ftr__sep { margin: 36px 0 20px; }
  .ftr--slim .ftr__legal { text-align: center; }
}

/* ======================================================================== */

/* à partir de 1200 px la carte artiste est assez large pour aligner
   le nom et les styles sur la même ligne, comme sur la maquette 1440 */
@media (min-width: 1200px) {
  .artist .chips {
    flex: 0 1 auto;
    justify-content: flex-end;
    max-width: 300px;
    margin-top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-delay: 0ms !important;
    transition-duration: .001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .hdr, .menu, .sticky-cta, .weave, .hero__bg { display: none !important; }
  body { background: #fff; }
}
