/* ============================================================
   Cru « Afro » — feuille de style du site public
   Direction : la tresse. Argile en fond, cacao pour le texte, crème pour les
   pages claires, hibiscus pour l'accent, papaye dans le fil des tresses.
   Une seule famille, Anybody, tirée à ses extrêmes : ultra-large pour les
   titres (font-stretch 140 %), étroite pour les étiquettes (70 %), normale
   pour le texte. Le pétale (deux coins opposés arrondis) est la forme de la
   maison, la tresse (deux trames à 45°) remplace le filet, la perle remplace
   le point. Chaque section a son propre mécanisme. Mobile d'abord.
   Les noms de jetons (cuivre, creme, sable, nuit, encre…) sont ceux des
   autres crus pour que le tableau de bord, l'éditeur et ses palettes marchent.
   ============================================================ */

@font-face { font-family: "Anybody"; src: url("../fonts/anybody-normal.bde273952f45.woff2") format("woff2"); font-weight: 100 900; font-stretch: 50% 150%; font-style: normal; font-display: swap; }
@font-face { font-family: "Anybody"; src: url("../fonts/anybody-italic.cc8a4bc4808b.woff2") format("woff2"); font-weight: 100 900; font-stretch: 50% 150%; font-style: italic; font-display: swap; }

:root {
    --creme: #c8724f;            /* argile : fond du site */
    --sable: #f6e7d6;            /* crème : fond clair */
    --nuit: #1f110c;             /* cacao profond */
    --encre: #2a1711;            /* texte */
    --cuivre: #d63c6f;           /* hibiscus : accent */
    --cuivre-fonce: #9a2450;
    --cuivre-clair: #f6c9d8;
    --papaye: #f0a24b;           /* le fil des tresses */
    --petale: 48px;
    --blanc: #fff8f1;
    --gris: color-mix(in srgb, var(--encre), transparent 40%);
    --gris-clair: color-mix(in srgb, var(--encre), transparent 62%);
    --ligne: color-mix(in srgb, var(--encre), transparent 80%);
    --ligne-forte: color-mix(in srgb, var(--encre), transparent 55%);
    --ligne-claire: color-mix(in srgb, var(--sable), transparent 75%);
    --sans: "Anybody", "Helvetica Neue", Arial, sans-serif;
    --serif: "Anybody", "Helvetica Neue", Arial, sans-serif;
    --marge: clamp(18px, 4.5vw, 84px);
    --largeur: 1460px;
    --rayon: 0px;
    --sortie: cubic-bezier(0.16, 1, 0.3, 1);
    --entete: 74px;
    /* la tresse : deux trames à 45° qui se croisent */
    --tresse: repeating-linear-gradient(45deg, var(--nuit) 0 5px, transparent 5px 16px), repeating-linear-gradient(-45deg, var(--papaye) 0 5px, transparent 5px 16px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--serif); font-weight: 400; font-stretch: 100%; font-size: 17px; line-height: 1.55; color: var(--encre); background: var(--creme); -webkit-font-smoothing: antialiased; overflow-x: clip; }
body.menu-ouvert { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--cuivre); color: var(--sable); }
:focus-visible { outline: 2px solid var(--nuit); outline-offset: 3px; }
.evitement { position: absolute; left: -9999px; top: 8px; background: var(--nuit); color: var(--sable); padding: 8px 14px; z-index: 1000; }
.evitement:focus { left: 8px; }

/* ---------- typographie : une famille, trois largeurs ---------- */
.surtitre { font-family: var(--sans); font-stretch: 70%; font-weight: 600; font-size: 15px; letter-spacing: 0.02em; color: var(--nuit); margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.surtitre::before { content: ""; width: 10px; height: 14px; border-radius: 5px; background: linear-gradient(90deg, var(--cuivre-fonce), var(--cuivre) 45%, var(--cuivre-clair) 60%, var(--cuivre)); flex: none; }
.titre-geant, .titre-page, .titre-section, .titre-bloc { font-family: var(--sans); font-weight: 800; font-stretch: 140%; line-height: 0.92; letter-spacing: -0.02em; text-wrap: balance; }
.titre-geant { font-size: clamp(56px, 12.5vw, 200px); line-height: 0.88; font-stretch: 150%; }
.titre-page { font-size: clamp(38px, 7vw, 108px); }
.titre-section { font-size: clamp(30px, 4.6vw, 68px); }
.titre-bloc { font-size: clamp(22px, 2.6vw, 36px); line-height: 1; font-stretch: 125%; }
.titre-page em, .titre-section em, .titre-bloc em, .titre-geant em { font-style: italic; font-weight: 500; font-stretch: 100%; color: var(--nuit); }
.texte-grand { font-size: clamp(19px, 1.7vw, 24px); line-height: 1.45; font-weight: 400; }
.texte-doux { color: var(--gris); }
.petit { font-size: 13px; line-height: 1.5; }
.etroit { font-stretch: 70%; font-weight: 600; }
.prose { display: grid; gap: 16px; font-size: 17px; line-height: 1.65; max-width: 62ch; }
.prose h2 { font-family: var(--sans); font-weight: 800; font-stretch: 130%; font-size: 24px; margin-top: 18px; line-height: 1.05; }
.prose ul { list-style: disc; padding-left: 20px; }
.prose .a-completer { background: var(--cuivre-clair); padding: 0 4px; }
.lien-souligne { text-decoration: none; border-bottom: 2px solid var(--nuit); padding-bottom: 1px; transition: border-color 300ms, color 300ms; }
.lien-souligne:hover { color: var(--cuivre-fonce); border-color: var(--cuivre); }
.tabulaire { font-variant-numeric: tabular-nums; }
/* la perle : une petite bille cylindrique, à la place du point */
.perle { display: inline-block; width: 10px; height: 14px; border-radius: 5px; background: linear-gradient(90deg, var(--cuivre-fonce), var(--cuivre) 45%, var(--cuivre-clair) 60%, var(--cuivre)); vertical-align: middle; margin: 0 8px; }
.perle-nuit { background: linear-gradient(90deg, #0d0705, var(--nuit) 45%, #5a3a2b 60%, var(--nuit)); }
.perle-papaye { background: linear-gradient(90deg, #b8701f, var(--papaye) 45%, #fbd7a3 60%, var(--papaye)); }
/* la tresse : un ruban tissé, à la place du filet */
.tresse { height: 14px; background: var(--tresse); }
.etiquette { font-family: var(--sans); font-stretch: 75%; font-weight: 600; font-size: 13px; padding: 5px 12px; border: 1.5px solid var(--nuit); border-radius: 999px 0; white-space: nowrap; }
.etiquettes { display: flex; flex-wrap: wrap; gap: 6px; }

/* ---------- boutons : des feuilles ---------- */
.bouton {
    --fond: transparent; --texte: var(--nuit); --bord: var(--nuit);
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 15px 28px; border-radius: 999px 0; border: 2px solid var(--bord); background: var(--fond); color: var(--texte); text-decoration: none; cursor: pointer;
    font-family: var(--sans); font-stretch: 90%; font-weight: 700; font-size: 15px; line-height: 1; white-space: nowrap;
    transition: background 400ms, color 400ms, border-radius 600ms var(--sortie), transform 500ms var(--sortie);
}
.bouton:hover { border-radius: 0 999px; background: var(--nuit); color: var(--sable); border-color: var(--nuit); }
.bouton-plein { --fond: var(--nuit); --texte: var(--sable); --bord: var(--nuit); }
.bouton-plein:hover { background: var(--cuivre); border-color: var(--cuivre); color: var(--sable); }
.bouton-clair { --texte: var(--sable); --bord: var(--sable); }
.bouton-clair:hover { background: var(--sable); color: var(--nuit); border-color: var(--sable); }
.bouton-petit { padding: 10px 18px; font-size: 13px; }
.bouton[disabled] { opacity: 0.4; cursor: default; }

/* ---------- l'en-tête : un ruban ---------- */
.entete { position: fixed; top: 0; left: 0; right: 0; z-index: 90; height: var(--entete); display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 var(--marge); color: var(--encre); transition: background 400ms, transform 500ms var(--sortie); }
.entete.compacte { background: color-mix(in srgb, var(--creme), transparent 6%); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.entete.compacte::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 6px; background: var(--tresse); opacity: 0.8; }
.entete.cachee { transform: translateY(-100%); }
.marque { text-decoration: none; display: inline-flex; align-items: center; gap: 10px; font-family: var(--sans); font-weight: 800; font-stretch: 150%; font-size: 24px; letter-spacing: -0.01em; }
.marque-logo { height: 28px; width: auto; }
.marque-logo:not([src]), .marque-logo[src=""] { display: none; }
.navigation { display: none; gap: 26px; font-family: var(--sans); font-stretch: 85%; font-weight: 600; font-size: 15px; }
.navigation a { text-decoration: none; padding: 6px 0; position: relative; }
.navigation a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; border-radius: 3px; background: var(--nuit); transform: scaleX(0); transition: transform 500ms var(--sortie); }
.navigation a:hover::after, .navigation a[aria-current="page"]::after { transform: scaleX(1); }
.entete-actions { display: flex; align-items: center; gap: 14px; }
.entete-tel { display: none; text-decoration: none; font-stretch: 85%; font-size: 15px; font-variant-numeric: tabular-nums; }
.entete .bouton-reserver { padding: 11px 20px; font-size: 14px; }
.burger { width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; cursor: pointer; position: relative; margin-right: -10px; }
.burger span { position: absolute; width: 24px; height: 3px; border-radius: 3px; background: currentColor; transition: transform 500ms var(--sortie); }
.burger span:first-child { transform: translateY(-5px); }
.burger span:last-child { transform: translateY(5px); }
.burger[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }

/* menu plein écran : le fond cacao, les pages en ultra-large */
.menu-mobile { position: fixed; inset: 0; z-index: 80; background: var(--nuit); color: var(--sable); display: grid; grid-template-rows: 1fr auto; padding: calc(var(--entete) + 20px) var(--marge) 32px; }
.menu-mobile::before { content: ""; position: absolute; left: 0; right: 0; top: var(--entete); height: 14px; background: var(--tresse); }
.menu-mobile nav { display: grid; align-content: center; gap: 6px; }
.menu-mobile nav a { text-decoration: none; font-family: var(--sans); font-weight: 800; font-stretch: 140%; font-size: clamp(34px, 8vw, 90px); line-height: 1; display: flex; align-items: center; gap: 16px; transition: color 300ms; }
.menu-mobile nav a:hover { color: var(--papaye); }
.menu-mobile nav a small { font-stretch: 70%; font-weight: 500; font-size: 13px; color: color-mix(in srgb, var(--sable), transparent 45%); }
.menu-mobile-reserver { margin-top: 14px; color: var(--cuivre-clair); }
.menu-mobile-pied { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; font-stretch: 85%; }
.menu-mobile-pied a { text-decoration: none; }

/* ---------- messages ---------- */
.messages { position: fixed; top: calc(var(--entete) + 8px); left: 50%; transform: translateX(-50%); z-index: 95; display: grid; gap: 6px; width: min(520px, calc(100vw - 32px)); }
.message { padding: 14px 18px; font-size: 14px; background: var(--nuit); color: var(--sable); border-radius: 999px 0; text-align: center; }
.message-error { background: var(--cuivre-fonce); }

/* ---------- sections communes ---------- */
.section { padding: clamp(72px, 10vw, 150px) var(--marge); }
.section-interieur { max-width: var(--largeur); margin: 0 auto; }
.fond-nuit { background: var(--nuit); color: var(--sable); --gris: color-mix(in srgb, var(--sable), transparent 42%); --ligne: var(--ligne-claire); --ligne-forte: color-mix(in srgb, var(--sable), transparent 55%); }
.fond-nuit .surtitre, .fond-nuit .titre-section em, .fond-nuit .titre-page em { color: var(--papaye); }
.fond-sable { background: var(--sable); }
.fond-blanc { background: var(--blanc); }
[data-fond-texte="clair"] { color: var(--sable); --gris: color-mix(in srgb, var(--sable), transparent 42%); --ligne: var(--ligne-claire); }
[data-fond-texte="sombre"] { color: var(--encre); }
.entete-section { display: grid; gap: 8px; margin-bottom: clamp(32px, 5vw, 64px); }
.entete-section-ligne { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.actions-ligne { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.tete-page { padding: calc(var(--entete) + clamp(40px, 7vw, 100px)) var(--marge) clamp(36px, 5vw, 64px); }
.tete-page-interieur { max-width: var(--largeur); margin: 0 auto; display: grid; gap: 22px; }
.tete-page .texte-grand { max-width: 56ch; }
/* le pétale : deux coins opposés arrondis */
.petale { border-radius: calc(var(--petale) * 2) 0; overflow: hidden; background: var(--sable); }
.petale-inverse { border-radius: 0 calc(var(--petale) * 2); }
.petale img { width: 100%; height: 100%; object-fit: cover; }
/* la couture : un cadre cousu au fil */
.cousu { border: 2px dashed var(--nuit); border-radius: calc(var(--petale) * 0.75) 0; padding: clamp(22px, 4vw, 44px); position: relative; }
.cousu::before { content: ""; position: absolute; inset: 6px; border: 1px solid var(--ligne); border-radius: inherit; pointer-events: none; }

/* apparitions : une seule sorte, le pétale qui s'ouvre */
[data-apparition] { opacity: 0; transform: translateY(20px) scale(0.98); transition: opacity 1000ms var(--sortie), transform 1000ms var(--sortie); transition-delay: calc(var(--i, 0) * 100ms); }
[data-apparition].visible, body.mode-edition [data-apparition] { opacity: 1; transform: none; }

/* titres mot à mot */
[data-mots] .mot { display: inline-block; overflow: hidden; vertical-align: bottom; padding: 0.06em 0.04em 0.12em; margin: -0.06em -0.04em -0.12em; }
[data-mots] .mot > span { display: inline-block; transform: translateY(105%); transition: transform 1100ms var(--sortie); transition-delay: calc(var(--m) * 70ms); }
[data-mots].mots-visibles .mot > span { transform: none; }

/* ============================================================
   ACCUEIL
   ============================================================ */

/* ---------- 1. le tissage : des rubans tressés qui glissent avec la main, le nom par-dessus ---------- */
.tissage { position: relative; min-height: min(100svh, 1000px); padding: calc(var(--entete) + 20px) var(--marge) 28px; display: grid; grid-template-rows: auto 1fr auto; gap: 22px; overflow: hidden; }
.rubans { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.ruban { position: absolute; left: -10%; width: 120%; height: 18px; background: var(--tresse); opacity: 0.55; top: calc(var(--y) * 1%); transform: translateX(calc(var(--mx, 0) * var(--sens) * 40px)); transition: transform 900ms var(--sortie); }
.ruban:nth-child(2n) { height: 26px; }
.tissage > :not(.rubans) { position: relative; z-index: 1; }
.tissage-tete { background: var(--creme); padding: 4px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; font-stretch: 80%; font-weight: 600; font-size: 14px; }
.tissage-corps { display: grid; gap: 24px; align-content: center; }
.tissage-nom { text-align: left; }
.tissage-nom span { display: block; }
.tissage-photo { aspect-ratio: 3 / 4; max-height: 44vh; justify-self: center; width: min(70vw, 340px); }
.tissage-bas { display: grid; gap: 16px; padding-top: 18px; border-top: 2px solid var(--nuit); background: var(--creme); }
.tissage-bas p { font-size: 15px; }
.tissage-bas strong { font-weight: 700; }

/* ---------- 2. les durées : les coiffures les plus longues en tresses proportionnelles ---------- */
.durees { padding: clamp(72px, 10vw, 150px) var(--marge); background: var(--sable); }
.durees-interieur { max-width: var(--largeur); margin: 0 auto; display: grid; gap: 34px; }
.durees-tete { display: grid; gap: 10px; }
.durees-tete .titre-section { max-width: 18ch; }
.durees-liste { display: grid; gap: 18px; }
.duree { display: grid; gap: 8px; text-decoration: none; color: inherit; }
.duree-tete { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.duree-nom { font-weight: 800; font-stretch: 125%; font-size: clamp(20px, 2.2vw, 30px); line-height: 1; }
.duree-temps { font-stretch: 75%; font-weight: 600; font-size: 14px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.duree-barre { height: 20px; width: calc(var(--p) * 100%); background: var(--tresse); border-radius: 10px 0; transform: scaleX(0); transform-origin: left; transition: transform 1600ms var(--sortie); }
.duree.visible .duree-barre, body.mode-edition .duree-barre { transform: none; }
.duree-pied { display: flex; gap: 14px; font-size: 13px; color: var(--gris); font-stretch: 85%; }
.durees-note { font-size: 14px; color: var(--gris); max-width: 60ch; }

/* ---------- 3. le carnet : avant de venir, une liste à cocher qui se souvient de vous ---------- */
.carnet { padding: clamp(72px, 10vw, 150px) var(--marge); }
.carnet-interieur { max-width: var(--largeur); margin: 0 auto; display: grid; gap: 30px; }
.carnet-tete { display: grid; gap: 10px; }
.carnet-liste { display: grid; }
.carnet-item { display: grid; grid-template-columns: 34px 1fr; gap: 6px 16px; align-items: start; padding: 18px 0; border-top: 2px solid var(--nuit); cursor: pointer; }
.carnet-item:last-child { border-bottom: 2px solid var(--nuit); }
.carnet-item input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.carnet-perle { width: 22px; height: 30px; border-radius: 11px; margin-top: 2px; background: transparent; border: 2px solid var(--nuit); transition: background 400ms, border-color 400ms, transform 600ms var(--sortie); }
.carnet-item:has(input:checked) .carnet-perle { background: linear-gradient(90deg, var(--cuivre-fonce), var(--cuivre) 45%, var(--cuivre-clair) 60%, var(--cuivre)); border-color: transparent; transform: rotate(12deg); }
.carnet-item:has(input:focus-visible) .carnet-perle { outline: 2px solid var(--nuit); outline-offset: 3px; }
.carnet-titre { font-weight: 800; font-stretch: 125%; font-size: clamp(19px, 2vw, 26px); line-height: 1.05; transition: color 300ms; }
.carnet-item:has(input:checked) .carnet-titre { color: var(--gris); text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: var(--cuivre); }
.carnet-texte { grid-column: 2; font-size: 15px; color: var(--gris); max-width: 60ch; }
.carnet-compte { font-stretch: 80%; font-weight: 600; font-size: 15px; display: flex; align-items: center; gap: 10px; }
.carnet-compte b { font-stretch: 140%; font-size: 30px; font-weight: 800; }

/* ---------- 4. l'éventail : les coiffeuses en pétales, ouverts comme un éventail ---------- */
.eventail { padding: clamp(72px, 10vw, 150px) var(--marge); background: var(--nuit); color: var(--sable); --gris: color-mix(in srgb, var(--sable), transparent 42%); --ligne: var(--ligne-claire); }
.eventail .surtitre { color: var(--papaye); }
.eventail .titre-section em { color: var(--papaye); }
.eventail-interieur { max-width: var(--largeur); margin: 0 auto; }
.eventail-tete { display: grid; gap: 10px; margin-bottom: 40px; }
.eventail-liste { display: grid; gap: 28px; }
.pli { text-decoration: none; color: inherit; display: grid; gap: 12px; transform: rotate(calc(var(--a, 0) * 1deg)); transform-origin: 50% 110%; transition: transform 800ms var(--sortie); }
.pli:hover { transform: rotate(0deg) translateY(-8px); }
.pli figure { aspect-ratio: 3 / 4; }
.pli figure img { transition: transform 1400ms var(--sortie); }
.pli:hover figure img { transform: scale(1.04); }
.pli-nom { font-weight: 800; font-stretch: 140%; font-size: clamp(28px, 3vw, 40px); line-height: 0.95; }
.pli-titre { font-size: 14px; color: var(--gris); font-stretch: 85%; }
.pli-perles { display: flex; flex-wrap: wrap; gap: 6px; }
.pli-perles span { font-stretch: 75%; font-weight: 600; font-size: 12px; padding: 4px 10px; border-radius: 999px 0; border: 1.5px solid var(--papaye); color: var(--papaye); }
.pli-prochain { font-size: 14px; padding-top: 10px; border-top: 1px solid var(--ligne); font-stretch: 85%; }
.pli-prochain strong { font-weight: 700; color: var(--sable); }

/* ---------- 5. les places : la semaine, une perle par coiffeuse et par jour, grosse quand il reste de la place ---------- */
.places { padding: clamp(72px, 10vw, 150px) var(--marge); background: var(--sable); }
.places-interieur { max-width: var(--largeur); margin: 0 auto; display: grid; gap: 30px; }
.places-tete { display: grid; gap: 10px; }
.places-grille { display: grid; grid-template-columns: 70px repeat(7, 1fr); gap: 6px 4px; align-items: center; }
.places-grille .jour { text-align: center; font-stretch: 75%; font-weight: 600; font-size: 12px; color: var(--gris); }
.places-grille .jour.aujourd-hui { color: var(--cuivre-fonce); }
.places-grille .jour b { display: block; font-stretch: 130%; font-size: 18px; font-weight: 800; color: var(--encre); }
.places-grille .qui { font-stretch: 80%; font-weight: 700; font-size: 14px; }
.place { display: grid; place-items: center; height: 58px; text-decoration: none; }
.place i { display: block; width: calc(10px + var(--n) * 4px); height: calc(14px + var(--n) * 5px); max-width: 40px; max-height: 52px; border-radius: 999px; background: linear-gradient(90deg, var(--cuivre-fonce), var(--cuivre) 45%, var(--cuivre-clair) 60%, var(--cuivre)); transition: transform 500ms var(--sortie); }
.place.vide i { width: 8px; height: 8px; background: var(--ligne-forte); }
.place.absente i { width: 22px; height: 3px; background: var(--ligne); border-radius: 2px; }
.place:hover i { transform: scale(1.15); }
.places-legende { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13px; color: var(--gris); font-stretch: 85%; }
.places-legende span { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- 6. le fil : les mots des clientes, enfilés comme des perles ---------- */
.fil { padding: clamp(72px, 10vw, 150px) var(--marge); overflow: hidden; }
.fil-interieur { max-width: 1100px; margin: 0 auto; display: grid; gap: 26px; }
.fil-tete { display: grid; gap: 10px; }
.fil-cordon { position: relative; height: 90px; }
.fil-cordon svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.fil-cordon path { fill: none; stroke: var(--nuit); stroke-width: 2; }
.fil-perles { position: absolute; inset: 0; display: flex; justify-content: space-around; align-items: center; }
.fil-perle { width: 34px; height: 48px; border-radius: 17px; border: 0; cursor: pointer; background: linear-gradient(90deg, #0d0705, var(--nuit) 45%, #5a3a2b 60%, var(--nuit)); transition: transform 600ms var(--sortie), background 400ms; }
.fil-perle:nth-child(odd) { transform: translateY(-14px); }
.fil-perle:nth-child(even) { transform: translateY(12px); }
.fil-perle[aria-pressed="true"] { background: linear-gradient(90deg, var(--cuivre-fonce), var(--cuivre) 45%, var(--cuivre-clair) 60%, var(--cuivre)); transform: scale(1.25); }
.fil-mot { display: grid; gap: 12px; min-height: 140px; }
.fil-mot blockquote { font-weight: 500; font-stretch: 100%; font-style: italic; font-size: clamp(22px, 3vw, 40px); line-height: 1.2; max-width: 28ch; }
.fil-mot cite { font-style: normal; font-stretch: 80%; font-weight: 600; font-size: 14px; color: var(--gris); }
.fil-mots > * { display: none; }
.fil-mots > .actif { display: grid; animation: perle-arrive 600ms var(--sortie); }
@keyframes perle-arrive { from { opacity: 0; transform: translateY(8px); } }

/* ---------- 7. la maison : trois pétales et un mot ---------- */
.maison { padding: 0 var(--marge) clamp(72px, 10vw, 150px); }
.maison-interieur { max-width: var(--largeur); margin: 0 auto; display: grid; gap: 34px; }
.maison-collage { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.maison-collage figure:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.maison-collage figure { aspect-ratio: 1; }
.maison-texte { display: grid; gap: 18px; align-content: center; }
.chiffres { display: grid; gap: 14px; }
.chiffre { display: grid; gap: 2px; padding-top: 12px; border-top: 2px solid var(--nuit); }
.chiffre strong { font-weight: 800; font-stretch: 140%; font-size: clamp(34px, 4.6vw, 64px); line-height: 0.95; }
.chiffre span { font-size: 14px; color: var(--gris); font-stretch: 85%; }

/* ---------- 8. la place : la section finale, tissée ---------- */
.rendezvous { position: relative; padding: clamp(100px, 14vw, 200px) var(--marge); background: var(--nuit); color: var(--sable); text-align: center; overflow: hidden; }
.rendezvous::before, .rendezvous::after { content: ""; position: absolute; left: 0; right: 0; height: 14px; background: var(--tresse); }
.rendezvous::before { top: 0; }
.rendezvous::after { bottom: 0; }
.rendezvous-interieur { max-width: 1000px; margin: 0 auto; display: grid; justify-items: center; gap: 24px; }
.rendezvous-titre { font-weight: 800; font-stretch: 150%; font-size: clamp(40px, 9vw, 140px); line-height: 0.88; letter-spacing: -0.02em; }
.rendezvous-titre em { font-style: italic; font-weight: 500; font-stretch: 100%; color: var(--papaye); }
.rendezvous .texte-grand { max-width: 40ch; color: color-mix(in srgb, var(--sable), transparent 20%); }
.rendezvous-note { font-size: 13px; color: color-mix(in srgb, var(--sable), transparent 45%); font-stretch: 85%; }

/* ============================================================
   PAGES
   ============================================================ */

/* ---------- le lookbook : les coiffures en pétales, la tresse de durée sous chacune ---------- */
.familles { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-bottom: 30px; position: sticky; top: var(--entete); z-index: 5; padding: 12px 0; background: var(--creme); }
.familles::-webkit-scrollbar { display: none; }
.familles a { flex: none; text-decoration: none; font-stretch: 85%; font-weight: 700; font-size: 14px; padding: 10px 18px; border: 2px solid var(--nuit); border-radius: 999px 0; transition: background 300ms, color 300ms; }
.familles a:hover, .familles a.actif { background: var(--nuit); color: var(--sable); }
.famille { display: grid; gap: 22px; scroll-margin-top: calc(var(--entete) + 80px); padding-bottom: clamp(40px, 6vw, 80px); }
.famille-tete { display: grid; gap: 6px; min-width: 0; }
.famille-tete .titre-section { font-size: clamp(26px, 2.6vw, 38px); font-stretch: 115%; }
.lookbook { display: grid; gap: 18px; }
.look { display: grid; gap: 12px; text-decoration: none; color: inherit; position: relative; }
.look figure { aspect-ratio: 3 / 4; position: relative; }
.look figure img { transition: transform 1400ms var(--sortie); }
.look:hover figure img { transform: scale(1.05); }
.look-voile { position: absolute; inset: 0; display: grid; align-content: end; padding: 18px; background: linear-gradient(to top, color-mix(in srgb, var(--nuit), transparent 15%), transparent 60%); color: var(--sable); font-size: 14px; opacity: 0; transition: opacity 500ms; }
.look:hover .look-voile { opacity: 1; }
.look-tete { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.look-nom { font-weight: 800; font-stretch: 130%; font-size: clamp(20px, 2vw, 26px); line-height: 1; }
.look-prix { font-stretch: 90%; font-weight: 700; font-size: 18px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.look-prix small { font-stretch: 80%; font-weight: 500; font-size: 12px; margin-right: 3px; color: var(--gris); }
.look-duree { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; font-stretch: 80%; font-size: 13px; color: var(--gris); }
.look-duree i { display: block; height: 10px; width: calc(var(--p) * 100%); min-width: 12px; background: var(--tresse); border-radius: 5px 0; }
.look-qui { display: flex; gap: 4px; }
.look-qui img { width: 26px; height: 32px; object-fit: cover; border-radius: 13px; }
.appel { text-align: center; display: grid; justify-items: center; gap: 22px; }
.appel .titre-section { max-width: 18ch; }

/* ---------- les coiffeuses : de grands pétales, la semaine en perles ---------- */
.galerie { display: grid; gap: 40px; }
.fiche { display: grid; gap: 22px; text-decoration: none; color: inherit; }
.fiche figure { aspect-ratio: 3 / 4; }
.fiche-texte { display: grid; gap: 12px; align-content: start; }
.fiche-nom { font-weight: 800; font-stretch: 140%; font-size: clamp(34px, 5vw, 70px); line-height: 0.92; }
.fiche-nom em { font-style: italic; font-weight: 500; font-stretch: 100%; }
.fiche-titre { font-stretch: 85%; font-size: 15px; }
.fiche-bio { font-size: 16px; color: var(--gris); max-width: 52ch; }
.semaine-perles { display: flex; gap: 8px; align-items: flex-end; }
.semaine-perles span { display: grid; gap: 6px; justify-items: center; font-stretch: 75%; font-weight: 600; font-size: 11px; color: var(--gris); }
.semaine-perles i { display: block; width: 14px; height: 20px; border-radius: 7px; border: 2px solid var(--nuit); }
.semaine-perles .present i { background: linear-gradient(90deg, var(--cuivre-fonce), var(--cuivre) 45%, var(--cuivre-clair) 60%, var(--cuivre)); border-color: transparent; }
.semaine-perles .aujourd-hui { color: var(--cuivre-fonce); }
.fiche-bas { display: flex; flex-wrap: wrap; gap: 12px 26px; align-items: center; font-size: 14px; padding-top: 10px; border-top: 2px solid var(--nuit); }

/* ---------- une coiffeuse ---------- */
.coiffeuse-tete { display: grid; gap: 28px; align-items: start; }
.coiffeuse-tete figure { aspect-ratio: 3 / 4; width: min(80vw, 380px); }
.coiffeuse-infos { display: grid; gap: 18px; }
.semaine-grande { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.semaine-grande div { display: grid; gap: 6px; padding: 14px 6px; background: var(--sable); border-radius: 18px 0; text-align: center; font-stretch: 80%; font-size: 12px; min-height: 110px; align-content: start; }
.semaine-grande div.absent { background: transparent; border: 2px dashed var(--ligne); color: var(--gris-clair); }
.semaine-grande div.aujourd-hui { outline: 2px solid var(--nuit); outline-offset: -2px; }
.semaine-grande b { font-stretch: 130%; font-size: 18px; font-weight: 800; }
.semaine-grande span { font-variant-numeric: tabular-nums; line-height: 1.3; }
.semaine-grande small { color: var(--gris); }
.tarifs-coiffeuse { display: grid; gap: 30px; }
.tarifs-categorie { display: grid; align-content: start; }
.tarifs-categorie h3 { font-weight: 800; font-stretch: 130%; font-size: 26px; line-height: 1; padding-bottom: 12px; border-bottom: 2px solid var(--nuit); margin-bottom: 4px; }
.tarifs-categorie li { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--ligne); font-size: 15px; }
.tarifs-categorie li span:last-child { font-stretch: 90%; font-weight: 700; font-size: 17px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.autres-plis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 22px; }

/* ---------- le salon ---------- */
.salon-collage { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.salon-collage figure { aspect-ratio: 1; }
.salon-collage figure:nth-child(3n+1) { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.video-salon { aspect-ratio: 16 / 9; width: 100%; border-radius: calc(var(--petale) * 2) 0; overflow: hidden; }
.video-salon video, .video-salon iframe { width: 100%; height: 100%; display: block; }
.horaires { display: grid; }
.horaires li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--ligne); font-size: 15px; font-stretch: 90%; font-variant-numeric: tabular-nums; }
.horaires li.aujourd-hui { color: var(--cuivre-fonce); font-weight: 700; }
.infos { display: grid; gap: 40px; }
.infos-bloc { display: grid; gap: 14px; align-content: start; }
.infos-bloc .titre-bloc { font-size: clamp(22px, 3vw, 36px); }
.lettre { max-width: 760px; margin: 0 auto; background: var(--sable); }
.contact .formulaire-titre { font-weight: 800; font-stretch: 135%; font-size: clamp(28px, 4vw, 46px); line-height: 0.95; }
.formulaire { display: grid; gap: 18px; }
.formulaire-intro { color: var(--gris); max-width: 52ch; }
.champ, .formulaire-champ { display: grid; gap: 6px; }
.champ label, .formulaire-champ label { font-stretch: 80%; font-weight: 600; font-size: 13px; color: var(--gris); }
.champ input, .champ textarea, .champ select, .formulaire-champ input, .formulaire-champ textarea, .formulaire-champ select {
    font: inherit; font-size: 16px; color: var(--encre); background: var(--blanc); border: 2px solid var(--ligne); border-radius: 18px 0; padding: 12px 14px; width: 100%; transition: border-color 300ms;
}
.champ textarea, .formulaire-champ textarea { min-height: 120px; resize: vertical; }
.champ input:focus, .champ textarea:focus, .formulaire-champ input:focus, .formulaire-champ textarea:focus { outline: none; border-color: var(--nuit); }
.champ-case, .formulaire-case { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--gris); }
.champ-case input, .formulaire-case input { accent-color: var(--cuivre); width: 16px; height: 16px; margin-top: 3px; flex: none; }
.formulaire-erreur { font-size: 13px; color: var(--cuivre-fonce); }
.formulaire-merci { font-weight: 800; font-stretch: 130%; font-size: 24px; }
.formulaire-piege { position: absolute; left: -9999px; }
.formulaire-aide { font-size: 13px; color: var(--gris); }

/* ---------- gestion d'un rendez-vous : la fiche cousue ---------- */
.fiche-cliente { max-width: 680px; margin: 0 auto; background: var(--sable); display: grid; gap: 22px; }
.fiche-cliente + .fiche-cliente { margin-top: 16px; }
.pastille { display: inline-flex; align-items: center; gap: 8px; font-stretch: 80%; font-weight: 700; font-size: 13px; padding: 6px 14px; border: 2px solid var(--nuit); border-radius: 999px 0; justify-self: start; }
.pastille::before { content: ""; width: 8px; height: 12px; border-radius: 4px; background: var(--gris); }
.pastille-ok::before { background: #2f8f5b; }
.pastille-attente::before { background: var(--papaye); }
.pastille-non::before { background: var(--cuivre-fonce); }
.recap-date { font-weight: 800; font-stretch: 135%; font-size: clamp(28px, 4.5vw, 46px); line-height: 0.95; }
.recap-date em { font-style: italic; font-weight: 500; font-stretch: 100%; color: var(--cuivre-fonce); }
.recap-lignes { display: grid; }
.recap-lignes li { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--ligne); font-size: 15px; }
.recap-lignes li span:last-child { font-stretch: 90%; font-weight: 700; font-variant-numeric: tabular-nums; }
.recap-lignes .recap-total { border-bottom: 0; }
.recap-lignes .recap-total span:last-child { font-size: 22px; font-weight: 800; }
.choix-creneaux { display: grid; gap: 22px; }
.jour-creneaux { display: grid; gap: 10px; }
.jour-creneaux h3 { font-weight: 800; font-stretch: 125%; font-size: 18px; }
.heures { display: flex; flex-wrap: wrap; gap: 6px; }
.heure { padding: 10px 16px; border: 2px solid var(--nuit); border-radius: 999px 0; background: transparent; font-stretch: 90%; font-weight: 700; font-size: 14px; cursor: pointer; font-variant-numeric: tabular-nums; transition: background 300ms, color 300ms, border-radius 500ms var(--sortie); }
.heure:hover { border-radius: 0 999px; }
.heure.choisie { background: var(--nuit); color: var(--sable); }

/* ---------- pied de page : l'étiquette cousue ---------- */
.pied { padding: clamp(72px, 10vw, 150px) var(--marge) 32px; }
.pied-etiquette { max-width: 900px; margin: 0 auto; background: var(--sable); display: grid; gap: 20px; justify-items: center; text-align: center; }
.pied-nom { font-weight: 800; font-stretch: 150%; font-size: clamp(48px, 10vw, 130px); line-height: 0.88; letter-spacing: -0.02em; }
.pied-baseline { font-size: 18px; color: var(--gris); max-width: 40ch; font-style: italic; font-weight: 500; }
.pied-lignes { display: grid; gap: 6px; font-size: 14px; font-stretch: 90%; }
.pied-lignes a { text-decoration: none; }
.pied-horaires { display: grid; gap: 3px; font-size: 13px; font-stretch: 85%; color: var(--gris); font-variant-numeric: tabular-nums; width: 100%; max-width: 340px; margin: 4px auto 0; }
.pied-horaires li { display: flex; justify-content: space-between; gap: 12px; }
.pied-horaires li.aujourd-hui { color: var(--cuivre-fonce); font-weight: 700; }
.pied-bas { max-width: var(--largeur); margin: 36px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; font-size: 12px; font-stretch: 85%; color: var(--gris); }
.pied-bas nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; }
.pied-bas a { text-decoration: none; }
.pied-bas a:hover { color: var(--encre); }

/* ---------- réglages d'accessibilité et d'édition ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
    html { scroll-behavior: auto; }
}
body.mode-edition .pli { transform: none; }
body.mode-edition .fil-mots > * { display: grid; }

/* ============================================================
   ÉCRANS PLUS LARGES
   ============================================================ */
@media (min-width: 700px) {
    .tissage-corps { grid-template-columns: 1fr auto; align-items: center; }
    .tissage-photo { width: min(34vw, 380px); max-height: 60vh; }
    .tissage-bas { grid-template-columns: 1fr 1fr auto; align-items: center; }
    .durees-liste { gap: 22px; }
    .eventail-liste { grid-template-columns: repeat(2, 1fr); }
    .fil-mot { min-height: 160px; }
    .maison-interieur { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
    .chiffres { grid-template-columns: repeat(3, 1fr); }
    .lookbook { grid-template-columns: repeat(2, 1fr); }
    .fiche { grid-template-columns: 260px 1fr; gap: 36px; }
    .coiffeuse-tete { grid-template-columns: 380px 1fr; gap: 56px; }
    .tarifs-coiffeuse { grid-template-columns: 1fr 1fr; }
    .infos { grid-template-columns: repeat(3, 1fr); }
    .pied-lignes { grid-template-columns: repeat(2, auto); gap: 10px 32px; }
}

@media (min-width: 1000px) {
    :root { --entete: 82px; }
    .navigation { display: flex; }
    .entete-tel { display: inline; }
    .burger { display: none; }
    .menu-mobile { display: none; }
    .tissage-bas { grid-template-columns: 1fr 1fr 1fr auto; }
    .eventail-liste { grid-template-columns: repeat(4, 1fr); align-items: end; }
    .pli:nth-child(1) { --a: -6; }
    .pli:nth-child(2) { --a: -2; }
    .pli:nth-child(3) { --a: 2; }
    .pli:nth-child(4) { --a: 6; }
    .places-grille { grid-template-columns: 120px repeat(7, 1fr); gap: 8px; }
    .place { height: 72px; }
    .lookbook { grid-template-columns: repeat(4, 1fr); }
    .famille { grid-template-columns: 300px 1fr; gap: 40px; align-items: start; }
    .famille-tete { position: sticky; top: calc(var(--entete) + 80px); }
    .galerie { grid-template-columns: repeat(2, 1fr); }
    .fiche { grid-template-columns: 240px 1fr; }
    .tete-page-interieur { grid-template-columns: 1fr 1fr; align-items: end; }
    .pied-lignes { grid-template-columns: repeat(3, auto); }
}
