/* Hair by Moumounette — maquette (2026-12-05).
   Couleurs reprises du logo : rose pailleté, magenta, violet de la robe, corail des boucles d'oreilles. */

:root {
  --blush: #fff4f1;
  --petal: #fbe0e6;
  --pink: #e0558f;
  --magenta: #b3165f;
  --magenta-deep: #8f0f4b;
  --violet: #6f2771;
  --coral: #f2896b;
  --plum: #2c1024;
  --ink: #2b1424;
  --muted: #6d4a5c;
  --line: rgba(43, 20, 36, .14);
  --radius: 22px;
  --display: "Gloock", Georgia, serif;
  --body: "Figtree", system-ui, sans-serif;
  --wrap: min(1180px, 100% - 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--blush);
  color: var(--ink);
  font: 400 17px/1.55 var(--body);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.02; margin: 0; letter-spacing: -.01em; }
h2 { font-size: clamp(2.3rem, 6vw, 4.2rem); }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: 12px; top: -60px; background: var(--plum); color: #fff; padding: 10px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { top: 12px; }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font: 600 16px/1 var(--body); text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: background-color .2s, color .2s, border-color .2s;
}
.btn--solid { background: var(--magenta); color: #fff; }
.btn--solid:hover { background: var(--magenta-deep); }
.btn--line { border-color: var(--magenta); color: var(--magenta); background: transparent; }
.btn--line:hover { background: var(--magenta); color: #fff; }
.btn--ghost { color: var(--ink); background: rgba(255, 255, 255, .7); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--small { min-height: 40px; padding: 0 16px; font-size: 15px; }

/* En-tête */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: 10px max(20px, (100% - 1180px) / 2);
  background: rgba(255, 244, 241, .86);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.top.is-scrolled { border-bottom-color: var(--line); }
.top__brand img { height: 46px; width: auto; }
.top__nav { display: flex; gap: 26px; margin-left: auto; }
.top__nav a { text-decoration: none; font-weight: 500; position: relative; padding: 6px 0; }
.top__nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--magenta);
  transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.top__nav a:hover::after { transform: scaleX(1); }
@media (max-width: 760px) {
  .top__nav { display: none; }
  .top__call { margin-left: auto; }
  .top__brand img { height: 38px; }
}
@media (max-width: 380px) { .top__call span { display: none; } .top__call { width: 44px; padding: 0; } }

/* Accueil */
.hero {
  width: var(--wrap); margin: 0 auto;
  min-height: min(100svh, 900px);
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 40px;
  padding: 110px 0 30px;
}
.hero__title { font-size: clamp(3.1rem, 8.4vw, 7rem); color: var(--plum); }
.hero__title span { display: block; color: var(--magenta); }
.hero__lead { margin-top: 26px; max-width: 34em; font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__pay { margin-top: 18px; font-size: 15px; color: var(--muted); }

.hero__visual { position: relative; align-self: end; max-width: 520px; width: 100%; justify-self: center; }
.hero__arch {
  position: absolute; left: 6%; right: 6%; bottom: 0; top: 14%;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, .28) 0 2px, transparent 3px) 0 0 / 34px 34px,
    linear-gradient(170deg, var(--pink), var(--magenta) 70%);
  border-radius: 999px 999px 28px 28px;
}
.hero__portrait { position: relative; width: 100%; height: auto; }
.sparkles { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; overflow: visible; }
.sparkle { fill: #fff; }
.sparkle:nth-child(2n) { fill: var(--coral); }
.sticker {
  position: absolute; z-index: 3; right: -6%; top: 30%;
  background: #fff; color: var(--magenta);
  font: 600 15px/1 var(--body); padding: 12px 16px; border-radius: 14px;
  box-shadow: 0 10px 30px rgba(143, 15, 75, .18); transform: rotate(-6deg);
}
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 96px; gap: 10px; min-height: 0; }
  .hero__visual { max-width: 360px; order: -1; }
  .sticker { right: -2%; top: 34%; font-size: 13px; }
}

/* Ligne de coupe */
.cut { width: 100%; margin: 10px 0 0; }
.cut__svg { width: 100%; height: auto; display: block; overflow: visible; }
.cut__dots { fill: none; stroke: var(--magenta); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: .1 11; opacity: .55; }
.cut__done { fill: none; stroke: var(--magenta); stroke-width: 2; visibility: hidden; }
.scissors path { fill: #cfd2d6; stroke: var(--plum); stroke-width: 1.6; stroke-linejoin: round; }
.scissors circle { fill: none; stroke: var(--plum); stroke-width: 5; }
.scissors .scissors__pin { fill: var(--plum); stroke: none; }
.scissors { visibility: hidden; }

/* Tresse décorative (dessinée en JS) */
.braid { display: block; width: var(--wrap); height: 46px; margin: 0 auto; overflow: visible; }
.braid path { fill: none; stroke-width: 7; stroke-linecap: round; }

/* La carte */
.menu { width: var(--wrap); margin: 0 auto; padding: 70px 0 40px; }
.menu__head { display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 18px 40px; margin-bottom: 26px; }
.menu__head p { color: var(--muted); max-width: 30em; }
.lengths { border: 0; padding: 0; margin: 0; display: flex; gap: 4px; background: #fff; border-radius: 999px; padding: 4px; box-shadow: inset 0 0 0 1px var(--line); }
.lengths legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.lengths label, .chips label { position: relative; cursor: pointer; }
.lengths input, .chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.lengths span { display: block; padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: 15px; white-space: nowrap; transition: background-color .2s, color .2s; }
.lengths input:checked + span { background: var(--plum); color: #fff; }
.lengths input:focus-visible + span, .chips input:focus-visible + span { outline: 3px solid var(--violet); outline-offset: 2px; }
@media (max-width: 900px) {
  .menu__head { grid-template-columns: 1fr; }
  .lengths { justify-self: start; }
}

.menu__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 26px; }
.family { background: #fff; border-radius: var(--radius); padding: 26px 24px 18px; box-shadow: 0 1px 0 var(--line); }
.family h3 { font-size: 1.75rem; color: var(--magenta); margin-bottom: 14px; min-height: 2.1em; }
.family[data-family="tresses"] h3 { color: var(--violet); }
.family[data-family="locks"] h3 { color: var(--plum); }
.family ul { list-style: none; margin: 0; padding: 0; }
.item {
  display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "name dots price" "pick pick pick";
  align-items: baseline; column-gap: 8px; padding: 13px 0; border-top: 1px solid var(--line);
}
.item:first-child { border-top: 0; }
.item__name { grid-area: name; font-weight: 600; max-width: 15em; }
.item__name small { display: block; font-weight: 400; font-size: 14px; color: var(--muted); }
.item__dots { grid-area: dots; align-self: end; margin-bottom: 7px; border-bottom: 2px dotted rgba(43, 20, 36, .3); transform-origin: left; }
.item__price { grid-area: price; font-weight: 500; white-space: nowrap; }
.item__price b { font-family: var(--display); font-weight: 400; font-size: 1.55rem; color: var(--ink); display: inline-block; min-width: 1.6em; text-align: right; }
.item__pick {
  grid-area: pick; justify-self: start; margin-top: 6px;
  font: 600 14px/1 var(--body); color: var(--magenta); background: none; border: 0; padding: 6px 0; cursor: pointer;
}
.item__pick::after { content: " →"; }
.item__pick:hover { color: var(--magenta-deep); text-decoration: underline; }
.item.is-picked { background: linear-gradient(90deg, var(--petal), transparent 80%); margin: 0 -12px; padding-left: 12px; padding-right: 12px; border-radius: 12px; }
.item.is-picked .item__pick::after { content: " ✓ choisie"; }
.menu__note { margin-top: 22px; font-size: 15px; color: var(--muted); max-width: 52em; }
@media (max-width: 1000px) { .menu__grid { grid-template-columns: 1fr 1fr; } .family[data-family="locks"] { grid-column: 1 / -1; } }
@media (max-width: 640px) {
  .menu__grid { grid-template-columns: 1fr; }
  .family { padding: 22px 18px 12px; }
  .family h3 { min-height: 0; }
}

/* Demande de rendez-vous */
.rdv {
  width: var(--wrap); margin: 50px auto 0; padding: 60px clamp(20px, 5vw, 64px);
  background: var(--plum); color: #fff; border-radius: 34px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 30px 60px;
}
.rdv__intro { grid-column: 1 / -1; max-width: 46em; }
.rdv__intro h2 { color: #fff; }
.rdv__intro p { margin-top: 14px; color: rgba(255, 255, 255, .78); }
.rdv__form { display: grid; gap: 18px; align-content: start; }
.field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > span, .field legend { font-weight: 600; font-size: 15px; padding: 0; }
.field em { font-style: normal; font-weight: 400; color: rgba(255, 255, 255, .6); }
.field input, .field select, .field textarea {
  width: 100%; font: 500 16px/1.4 var(--body); color: var(--ink);
  background: #fff; border: 2px solid transparent; border-radius: 14px; padding: 12px 14px; min-height: 50px;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--coral); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { display: block; padding: 11px 16px; border-radius: 999px; border: 2px solid rgba(255, 255, 255, .35); font-weight: 600; font-size: 15px; transition: background-color .2s, border-color .2s; }
.chips input:checked + span { background: var(--coral); border-color: var(--coral); color: var(--plum); }

.phone { background: var(--blush); color: var(--ink); border-radius: 26px; padding: 18px 18px 20px; align-self: start; }
.phone__to { display: flex; align-items: center; gap: 10px; font-weight: 700; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.phone__to small { font-weight: 500; color: var(--muted); margin-left: auto; }
.phone__avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--petal) url("../img/moumounette-illustration.webp") 50% 8% / 160% auto no-repeat; flex: none; }
.bubble {
  position: relative; margin: 18px 0 18px auto; max-width: 92%; min-height: 76px;
  background: var(--magenta); color: #fff; border-radius: 20px 20px 6px 20px; padding: 14px 16px;
  white-space: pre-line;
}
.bubble__typing { position: absolute; left: 16px; bottom: 14px; display: flex; gap: 5px; opacity: 0; }
.bubble__typing i { width: 7px; height: 7px; border-radius: 50%; background: #fff; }
.bubble.is-typing p { opacity: 0; }
.phone__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.phone__actions .btn:first-child { grid-column: 1 / -1; }
.phone__note { margin-top: 14px; font-size: 14px; color: var(--muted); }
@media (max-width: 900px) { .rdv { grid-template-columns: 1fr; border-radius: 26px; } }
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; } .phone__actions { grid-template-columns: 1fr; } }

/* Photos */
.photos { padding: 90px 0 70px; }
.photos__head { width: var(--wrap); margin: 0 auto 26px; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 40px; }
.photos__head p { color: var(--muted); max-width: 26em; }
.photos__strip {
  list-style: none; margin: 0; display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 10px max(20px, (100% - 1180px) / 2) 24px; scrollbar-width: thin;
}
.tile {
  flex: 0 0 clamp(220px, 26vw, 300px); aspect-ratio: 4 / 5; scroll-snap-align: start;
  border-radius: var(--radius); position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 18px; color: #fff;
  background: var(--magenta);
}
.tile[data-hue="b"] { background: var(--violet); }
.tile[data-hue="c"] { background: var(--coral); color: var(--plum); }
.tile svg { position: absolute; inset: -10% -30%; width: 160%; height: 120%; opacity: .32; }
.tile strong { position: relative; font: 400 1.7rem/1.05 var(--display); }
.tile__tag { position: relative; align-self: flex-start; margin-bottom: auto; font-size: 13px; font-weight: 600; background: rgba(255, 255, 255, .9); color: var(--plum); padding: 6px 10px; border-radius: 999px; }

/* Pied de page */
.foot { background: var(--plum); color: #fff; padding: 40px 0 34px; margin-top: 30px; }
.foot__inner { width: var(--wrap); margin: 20px auto 0; display: grid; grid-template-columns: 1.2fr 1fr; gap: 26px 50px; align-items: center; }
.foot__brand { width: min(420px, 100%); height: auto; }
.foot__call { font-size: 1.1rem; color: rgba(255, 255, 255, .8); }
.foot__call a { font: 400 clamp(2.2rem, 5vw, 3.4rem)/1.1 var(--display); color: #fff; text-decoration: none; }
.foot__call a:hover { color: var(--petal); }
.foot__kiss { font-weight: 600; color: var(--pink); }
.foot__facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: rgba(255, 255, 255, .8); }
.foot__legal { grid-column: 1 / -1; font-size: 14px; color: rgba(255, 255, 255, .6); border-top: 1px solid rgba(255, 255, 255, .15); padding-top: 18px; }
@media (max-width: 760px) { .foot__inner { grid-template-columns: 1fr; } }

/* Sans JavaScript ou animations réduites : tout est visible tout de suite. */
