/* Lysor, accueil. Tokens relevés sur le site le 20/10/2026 (audit/design-tokens.md). */
/* Polices de repli aux métriques des polices du site : pas de saut de mise en page au chargement (CLS) */
@font-face { font-family: "Prata Repli"; src: local("Times New Roman"), local("Liberation Serif"), local("Georgia"); size-adjust: 118.19%; ascent-override: 84.02%; descent-override: 30.63%; line-gap-override: 0%; }
@font-face { font-family: "Source Serif Repli"; src: local("Times New Roman"), local("Liberation Serif"), local("Georgia"); size-adjust: 118.47%; ascent-override: 87.45%; descent-override: 28.28%; line-gap-override: 0%; }
@font-face { font-family: "Open Sans Repli"; src: local("Arial"), local("Liberation Sans"), local("Helvetica"); size-adjust: 105.42%; ascent-override: 101.39%; descent-override: 27.79%; line-gap-override: 0%; }
.lyh {
  --ly-text: #333333;
  --ly-text-soft: #666666;
  --ly-ink: #2b2b2b;
  --ly-accent: #b19589;
  --ly-accent-text: #7a6157;
  --ly-taupe: #9e9086;
  --ly-bronze: #8a6834;
  --ly-link: #1c6ea4;
  --ly-bg: #ffffff;
  --ly-surface: #fbf8f2;
  --ly-surface-2: linear-gradient(135deg, #fbf7ef, #efe1c4);
  --ly-line: #d0d0d1;
  --ly-line-gold: #eadcc0;
  --ly-radius: 16px;
  --ly-radius-sm: 10px;
  --ly-radius-xl: 44px;
  --ly-radius-pill: 999px;
  --ly-shadow: 0 8px 28px rgba(50, 35, 15, .08);
  --ly-shadow-card: 0 2px 18px #d0d0d1;
  --ly-font-head: Prata, "Prata Repli", Georgia, serif;
  --ly-font-serif: "Source Serif 4", "Source Serif Repli", Georgia, serif;
  --ly-font-body: "Open Sans", "Open Sans Repli", Arial, sans-serif;
  color: var(--ly-text-soft);
  font-family: var(--ly-font-body);
  font-size: 16px;
  line-height: 1.7;
  background: var(--ly-bg);
  overflow-x: clip;
}
.lyh *, .lyh *::before, .lyh *::after { box-sizing: border-box; }
.lyh [hidden] { display: none !important; }
.lyh-wrap { width: min(1140px, 100% - 32px); margin: 0 auto; }
.lyh-wrap--narrow { width: min(760px, 100% - 32px); }

/* Titres */
.lyh .lyh-h1, .lyh .lyh-h2 { font-family: var(--ly-font-head); font-weight: 400; color: var(--ly-text); letter-spacing: 0; text-transform: none; padding: 0; }
.lyh .lyh-h1 { font-size: clamp(30px, 5.2vw, 54px); line-height: 1.15; margin: 0 0 16px; max-width: 18ch; }
.lyh .lyh-h2 { font-size: clamp(26px, 3.6vw, 40px); line-height: 1.2; margin: 0 0 14px; }
.lyh-lead { font-family: var(--ly-font-serif); font-size: 18px; line-height: 1.65; color: var(--ly-text-soft); max-width: 62ch; margin: 0 0 28px; padding: 0; }
.lyh p { padding-bottom: 0; }
.lyh a { color: var(--ly-text); text-decoration: underline; text-decoration-color: var(--ly-accent); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.lyh a:hover { color: var(--ly-accent-text); }
.lyh :focus-visible { outline: 3px solid var(--ly-accent-text); outline-offset: 2px; border-radius: 4px; }

/* Sections */
.lyh-mod { padding: 56px 0; }
.lyh-nuancier { padding-top: 40px; }
.lyh-atelier { background: var(--ly-surface); border-top: 1px solid var(--ly-line-gold); border-bottom: 1px solid var(--ly-line-gold); }
.lyh-sec { padding: 48px 0; }

/* Grilles des modules */
.lyh-nuancier__grid, .lyh-atelier__grid, .lyh-poinc__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.lyh-poinc__grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
@media (max-width: 860px) {
  .lyh-nuancier__grid, .lyh-atelier__grid, .lyh-poinc__grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .lyh-mod { padding: 40px 0; }
}

.lyh-stage { margin: 0; background: var(--ly-surface); border: 1px solid var(--ly-line-gold); border-radius: var(--ly-radius-xl); padding: 18px 18px 14px; box-shadow: var(--ly-shadow); }
.lyh-atelier .lyh-stage { background: var(--ly-bg); }
.lyh-photo { position: relative; aspect-ratio: 1 / 1; border-radius: 28px; overflow: hidden; background: #efe7dc; border: 2px solid var(--ly-line); box-shadow: var(--ly-shadow-card); }
.lyh-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: opacity .25s; }
.lyh-photo.is-loading img[data-photo] { opacity: .55; }
.lyh-inset { position: absolute; right: 4%; bottom: 4%; width: 36%; aspect-ratio: 1 / 1; border-radius: 16px; overflow: hidden; border: 4px solid #fff; box-shadow: var(--ly-shadow); background: #efe7dc; }
.lyh-inset img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lyh-stage__cap { font-family: var(--ly-font-serif); font-size: 15px; line-height: 1.5; color: var(--ly-text-soft); text-align: center; padding: 8px 6px 0; min-height: 3em; }
@media (max-width: 860px) { .lyh-stage { border-radius: 28px; padding: 12px 12px 10px; } }

/* Contrôles */
.lyh-controls { display: grid; gap: 20px; margin: 0; }
.lyh-controls fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.lyh-label { display: block; font-size: 14px; font-weight: 700; color: var(--ly-text); margin: 0 0 8px; padding: 0; }
.lyh-label strong { color: var(--ly-accent-text); }
.lyh-seg, .lyh-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.lyh-seg legend, .lyh-chips legend, .lyh-swatches legend { width: 100%; float: left; }
.lyh-seg label, .lyh-chips label { position: relative; cursor: pointer; }
.lyh-seg input, .lyh-chips input, .lyh-swatches input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.lyh-seg span, .lyh-chips span {
  display: inline-block; padding: 9px 16px; border-radius: var(--ly-radius-pill); border: 1.5px solid var(--ly-accent-text);
  font-size: 14px; font-weight: 700; line-height: 1.3; color: var(--ly-text); background: var(--ly-bg); transition: background-color .15s, color .15s;
}
.lyh-seg input:checked + span, .lyh-chips input:checked + span { background: var(--ly-ink); border-color: var(--ly-ink); color: #fff; }
.lyh-seg input:focus-visible + span, .lyh-chips input:focus-visible + span, .lyh-swatches input:focus-visible + span { outline: 3px solid var(--ly-accent-text); outline-offset: 2px; }
.lyh-seg label:hover span, .lyh-chips label:hover span { border-color: var(--ly-ink); }

.lyh .lyh-range { -webkit-appearance: none; appearance: none; width: 100%; height: 32px; margin: 6px 0 0; padding: 0; border: 0; background: transparent; cursor: pointer; }
.lyh .lyh-range::-webkit-slider-runnable-track { height: 8px; border-radius: var(--ly-radius-pill); background: linear-gradient(90deg, #efe1c4, var(--ly-accent)); border: 1px solid var(--ly-accent-text); }
.lyh .lyh-range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 26px; height: 26px; margin-top: -10px; border-radius: 50%; background: var(--ly-accent-text); border: 3px solid #fff; box-shadow: 0 0 0 1.5px var(--ly-accent-text); }
.lyh .lyh-range::-moz-range-track { height: 8px; border-radius: var(--ly-radius-pill); background: linear-gradient(90deg, #efe1c4, var(--ly-accent)); border: 1px solid var(--ly-accent-text); }
.lyh .lyh-range::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--ly-accent-text); border: 3px solid #fff; box-shadow: 0 0 0 1.5px var(--ly-accent-text); }
.lyh .lyh-range:focus-visible { outline: 3px solid var(--ly-accent-text); outline-offset: 4px; }
.lyh .lyh-ticks { display: grid; grid-template-columns: repeat(6, 1fr); list-style: none !important; margin: 2px 0 0 !important; padding: 0 !important; font-size: 12px; color: var(--ly-text-soft); }
.lyh .lyh-ticks li { list-style: none !important; text-align: center; margin: 0; padding: 0 !important; }
.lyh-ticks li:first-child { text-align: left; }
.lyh-ticks li:last-child { text-align: right; }

.lyh-swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.lyh-swatches label { position: relative; cursor: pointer; }
.lyh-swatches span { display: block; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--ly-bg); box-shadow: 0 0 0 1.5px var(--ly-line); }
.lyh-swatches input:checked + span { box-shadow: 0 0 0 3px var(--ly-ink); }

.lyh-input { width: 100%; padding: 10px 12px; font: inherit; font-size: 16px; color: var(--ly-text); background: var(--ly-bg); border: 1.5px solid var(--ly-accent-text); border-radius: var(--ly-radius-sm); }
.lyh-duo { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 12px; align-items: end; }
.lyh-duo:not(:has(.lyh-duo__eq)) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.lyh-duo__eq { font-size: 20px; color: var(--ly-accent-text); padding-bottom: 10px; }
@media (max-width: 420px) { .lyh-duo:not(:has(.lyh-duo__eq)) { grid-template-columns: minmax(0, 1fr); } }

/* Boutons (pilule du site) */
.lyh-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; }
.lyh-btn { appearance: none; cursor: pointer; font-family: var(--ly-font-body); font-size: 14px; font-weight: 700; line-height: 1.3; padding: 11px 18px; border-radius: var(--ly-radius-pill); border: 1.5px solid var(--ly-ink); background: var(--ly-ink); color: #fff; }
.lyh-btn--ghost { background: var(--ly-bg); color: var(--ly-ink); }
.lyh-btn:hover { background: var(--ly-accent-text); border-color: var(--ly-accent-text); color: #fff; }
.lyh-toast { font-size: 14px; color: var(--ly-accent-text); font-weight: 700; min-height: 1.3em; }

/* Fiche barbier */
.lyh-fiche { margin-top: 28px; background: var(--ly-surface-2); border: 1px solid #dbc08d; border-radius: var(--ly-radius); box-shadow: var(--ly-shadow); padding: 24px 26px; }
.lyh .lyh-fiche__nom { font-family: var(--ly-font-head); font-weight: 400; font-size: clamp(24px, 3vw, 32px); line-height: 1.2; color: var(--ly-text); margin: 0 0 14px; padding: 0; }
.lyh-fiche__dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; margin: 0; }
.lyh-fiche__dl dt { font-size: 14px; font-weight: 700; color: var(--ly-text); }
.lyh-fiche__dl dd { margin: 2px 0 0; font-family: var(--ly-font-serif); font-size: 17px; line-height: 1.5; color: var(--ly-text); }
.lyh-note { display: block; font-size: 14px; color: var(--ly-text-soft); }
.lyh-fiche__guide, .lyh-fiche__styles { margin: 14px 0 0; font-family: var(--ly-font-serif); font-size: 16px; }
.lyh-fiche__guide:empty, .lyh-fiche__styles:empty { display: none; }
@media (max-width: 640px) { .lyh-fiche__dl { grid-template-columns: minmax(0, 1fr); } .lyh-fiche { padding: 20px 18px; } }

/* Plein écran (lisible à bout de bras) */
.lyh-fiche.is-full { position: fixed; inset: 0; z-index: 100000; margin: 0; border-radius: 0; overflow: auto; padding: 4vh 6vw 6vh; background: #fbf7ef; display: flex; flex-direction: column; }
.lyh-fiche.is-full .lyh-actions { order: -1; margin: 0 0 16px; justify-content: flex-end; }
.lyh-fiche.is-full .lyh-fiche__nom { font-size: clamp(34px, 7vw, 72px); }
.lyh-fiche.is-full .lyh-fiche__dl { grid-template-columns: minmax(0, 1fr); gap: 22px; }
.lyh-fiche.is-full dt { font-size: clamp(15px, 2.4vw, 22px); }
.lyh-fiche.is-full dd { font-size: clamp(22px, 4.2vw, 40px); }
.lyh-fiche.is-full .lyh-fiche__styles, .lyh-fiche.is-full [data-act="copier"], .lyh-fiche.is-full [data-act="partager"] { display: none; }
html.lyh-lock { overflow: hidden; }

/* Atelier : carte « mon look » */
.lyh-carte { margin-top: 28px; background: var(--ly-bg); border: 1px solid var(--ly-line); border-radius: var(--ly-radius); padding: 22px 24px; box-shadow: var(--ly-shadow-card); }
.lyh .lyh-carte__h { font-family: var(--ly-font-head); font-weight: 400; font-size: 26px; color: var(--ly-text); margin: 0 0 10px; padding: 0; }
.lyh-carte__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-family: var(--ly-font-serif); font-size: 16px; }
.lyh-carte__list li { padding: 0; }
.lyh-carte__list b { color: var(--ly-text); font-family: var(--ly-font-body); font-size: 14px; margin-right: 6px; }

/* Poinçonneur */
.lyh-chips--titres span { font-variant-numeric: tabular-nums; }
.lyh-jauge { position: relative; height: 18px; border-radius: var(--ly-radius-pill); background: var(--ly-surface); border: 1px solid var(--ly-line-gold); overflow: hidden; }
.lyh-jauge__fill { display: block; height: 100%; background: linear-gradient(90deg, #efe1c4, #dbc08d 60%, var(--ly-bronze)); transition: width .25s; }
.lyh-small { font-size: 14px; line-height: 1.5; color: var(--ly-text-soft); margin: 8px 0 0; }
.lyh-valeur { display: block; font-family: var(--ly-font-serif); font-size: 19px; color: var(--ly-text); background: var(--ly-surface); border: 1px solid var(--ly-line-gold); border-radius: var(--ly-radius-sm); padding: 14px 16px; }
.lyh-valeur strong { font-family: var(--ly-font-head); font-weight: 400; font-size: 28px; }
.lyh-poinc__side { display: grid; gap: 20px; }
.lyh-poincon { background: var(--ly-surface); border: 1px solid var(--ly-line-gold); border-radius: var(--ly-radius); padding: 18px; text-align: center; min-height: 196px; }
.lyh-poincon svg { width: 120px; height: 120px; display: block; margin: 0 auto 8px; }
.lyh-poincon p { margin: 0; }
.lyh-poinc__links ul, .lyh-porte__links { margin: 0; padding: 0 0 0 18px; font-family: var(--ly-font-serif); font-size: 16px; line-height: 1.5; }
.lyh-poinc__links li, .lyh-porte__links li { margin: 0 0 6px; padding: 0; }

/* Portes d'entrée */
.lyh-portes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 16px; }
.lyh-porte { background: var(--ly-bg); border: 2px solid var(--ly-line); border-radius: 24px; padding: 20px; display: flex; flex-direction: column; gap: 8px; padding-bottom: 20px !important; }
.lyh .lyh-porte__title { font-family: var(--ly-font-head); font-weight: 400; font-size: 21px; line-height: 1.25; color: var(--ly-text); margin: 0; padding: 0; }
.lyh-porte > p { margin: 0; font-size: 15px; line-height: 1.55; }
.lyh-porte__links { flex: 1; }
.lyh-porte__all { font-size: 14px; font-weight: 700; }

/* Cartes d'articles (reprennent les vignettes arrondies du site) */
.lyh-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 900px) { .lyh-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .lyh-cards { grid-template-columns: minmax(0, 1fr); } }
.lyh-card { margin: 0; }
.lyh .lyh-card__link { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: inherit; }
.lyh-card__media { display: block; aspect-ratio: 4 / 3; border-radius: 28px; overflow: hidden; border: 2px solid var(--ly-line); box-shadow: var(--ly-shadow-card); background: var(--ly-surface); }
.lyh-card__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.lyh-card__link:hover .lyh-card__img { transform: scale(1.03); }
.lyh-card__meta { font-size: 13px; color: var(--ly-text-soft); }
.lyh .lyh-card__title { font-family: var(--ly-font-serif); font-weight: 600; font-size: 20px; line-height: 1.3; color: var(--ly-text); margin: 0; padding: 0; }
.lyh-card__link:hover .lyh-card__title { text-decoration: underline; text-decoration-color: var(--ly-accent); text-underline-offset: 3px; }

@media (prefers-reduced-motion: reduce) { .lyh * { transition: none !important; } }
