/* souvren — site vitrine.
   Le nombre d'or organise la page : l'écran d'accueil est coupé à 61,8 / 38,2 en largeur, puis la colonne large à
   61,8 / 38,2 en hauteur ; plus bas, la coupe s'inverse à chaque bloc, comme la spirale qui tourne. */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { --marge: clamp(20px, 4vw, 68px); margin: 0; background: var(--fond); color: var(--texte); font: 400 var(--t-texte)/1.55 var(--police); overflow-x: clip; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
h1, h2, h3, h4 { font-weight: 600; line-height: 1.04; letter-spacing: -0.025em; }
h1 { font-size: clamp(2.6rem, 7.2vw, var(--t-h1)); }
h2 { font-size: clamp(2rem, 4.6vw, var(--t-h2)); }
h3 { font-size: var(--t-h3); letter-spacing: -0.015em; }
h4 { font-size: var(--t-h4); letter-spacing: -0.01em; }
a { color: inherit; text-underline-offset: 0.18em; }
:focus-visible { outline: 3px solid var(--vente); outline-offset: 3px; }
.muted { color: var(--texte-2); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 9; background: var(--surface); padding: var(--e3) var(--e4); border-radius: var(--rayon); }
.skip:focus { left: 8px; }

/* ---- Boutons : arrondis ; le bouton de vente garde le coin coupé du signe, en haut à droite. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 var(--e5);
  font: 600 1rem/1 var(--police); text-decoration: none; color: var(--sur-action); background: var(--action);
  border: 0; border-radius: var(--rayon); cursor: pointer; transition: translate 0.15s ease;
}
.btn:hover { translate: 0 -2px; }
.btn.sell { color: var(--sur-vente); border-radius: var(--rayon) 0 var(--rayon) var(--rayon); background: linear-gradient(225deg, transparent calc(var(--coupe) * 0.707), var(--vente) 0); }
.btn.sell:hover { translate: 2px -2px; }
.btn.ghost { color: var(--texte); background: none; box-shadow: inset 0 0 0 1.5px var(--texte); }
.btn.small { min-height: 40px; padding: 0 var(--e4); font-size: 0.94rem; }

/* ---- En-tête */
.top { display: flex; align-items: center; justify-content: space-between; gap: var(--e4); min-height: 72px; padding: var(--e3) var(--marge); }
.mark { display: inline-flex; align-items: center; gap: var(--e3); font-size: 1.72rem; font-weight: 600; letter-spacing: -0.03em; text-decoration: none; line-height: 1; }
.mark-sign { width: 42px; height: auto; fill: currentColor; stroke: var(--fond); stroke-width: 14; stroke-linejoin: round; }
.brand { font-size: 1.72rem; font-weight: 600; letter-spacing: -0.03em; text-decoration: none; }
.top nav { display: flex; gap: var(--e4) var(--e5); align-items: center; font-weight: 500; font-size: 0.97rem; }
.top nav a:not(.btn) { text-decoration: none; border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
.theme-toggle { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; color: var(--texte); background: none; border: 1.5px solid var(--trait); border-radius: 50%; cursor: pointer; }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle:hover { border-color: var(--texte); }

/* ---- Premier écran
   Colonne large (61,8 %) : ce qu'on fait pour vous, puis la preuve (Chronygie).
   Colonne étroite (38,2 %) : les cinq pièces du signe, le coin où l'on répond à vos hésitations. */
.hero {
  display: grid; grid-template-columns: minmax(0, 1.618fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1.618fr) minmax(0, 1fr);
  grid-template-areas: 'pitch soucis' 'chrono soucis'; gap: var(--e5) var(--e6); padding: var(--e3) var(--marge) var(--e5);
}
.pitch { grid-area: pitch; align-self: center; }
.pitch h1 { font-size: clamp(2rem, min(3.9vw, 6.2vh), 3.54rem); /* jusqu'à 56,6 px : le pas √φ entre 44,5 et 72 */ font-weight: 500; letter-spacing: -0.022em; line-height: 1.1; max-width: 21ch; text-wrap: balance; }
.what { margin-top: min(var(--e5), 3.2vh); font-size: clamp(var(--t-texte), 1.6vw, var(--t-h4)); line-height: 1.42; max-width: 42ch; color: var(--texte-2); }
.pitch-actions { margin-top: min(var(--e6), 4.6vh); display: flex; flex-wrap: wrap; align-items: center; gap: var(--e4) var(--e5); }
.pitch-actions .btn { min-height: 56px; padding: 0 var(--e6); font-size: 1.08rem; }
.reassure { font-size: 0.94rem; line-height: 1.4; color: var(--texte-2); }

/* La preuve : une badgeuse posée sur la feuille de la journée. Objets illustratifs, pas une capture.
   Scène et légende sont dans le rapport φ² : 1 (2,618 : 1), la tablette prend 38,2 % de la scène. */
.chrono { grid-area: chrono; display: grid; grid-template-columns: minmax(0, 2.618fr) minmax(0, 1fr); gap: var(--e4) var(--e5); align-items: center; min-height: 0; }
.chrono-scene { display: flex; align-items: center; min-width: 0; font-size: var(--t-petit); line-height: 1.3; }
.tablette { position: relative; z-index: 1; flex: 0 0 38.2%; margin-right: -6%; padding: 7px; background: #252b37; border-radius: 20px; box-shadow: 0 0 0 var(--joint) var(--fond); }
.ecran { display: flex; flex-direction: column; gap: 3px; min-height: 150px; padding: var(--e3) var(--e3) var(--e3) 12px; background: #fcfaf6; color: #252b37; border-radius: 14px; }
.t-heure { font-size: var(--t-h3); font-weight: 600; letter-spacing: -0.02em; line-height: 1; }
.t-bonjour { font-size: 0.94rem; font-weight: 500; }
.t-ok { display: flex; align-items: center; gap: 4px; font-weight: 600; color: #2f6b4a; }
.t-ok svg { width: 15px; height: 15px; flex: none; }
.t-reseau { margin-top: auto; padding-top: var(--e2); color: #565d6b; }
.feuille { flex: 1; min-width: 0; padding: var(--e4) var(--e4) var(--e3) calc(6% + var(--e4)); background: var(--surface); border-radius: var(--rayon-grand); }
.f-titre { font-weight: 600; font-size: 0.94rem; }
.f-grille { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 7px var(--e3); align-items: center; margin-top: var(--e3); }
.f-nom { font-weight: 500; }
.f-piste { position: relative; height: 18px; }
.f-piste i { position: absolute; left: calc(var(--de) / 12 * 100%); width: calc((var(--a) - var(--de)) / 12 * 100%); }
.f-piste .prevu { inset-block: 0; border: 1.5px dashed var(--texte-2); border-radius: 6px; }
.f-piste .fait { top: 5px; height: 8px; background: var(--texte); border-radius: 4px; }
.conge { position: absolute; inset: 0; display: flex; align-items: center; padding-left: var(--e3); font-weight: 500; background: var(--chaud); border-radius: 6px; }
.f-ecart { font-weight: 600; white-space: nowrap; text-align: right; }
.f-heures { display: flex; justify-content: space-between; color: var(--texte-2); font-size: 0.75rem; }
.f-heures span { width: 0; display: flex; justify-content: center; white-space: nowrap; }
.f-heures span:first-child { justify-content: flex-start; }
.f-heures span:last-child { justify-content: flex-end; }
.f-pied { margin-top: var(--e3); padding-top: var(--e3); border-top: 1px solid var(--trait); color: var(--texte-2); }
/* Avant / après : la même journée, d'abord sur papier, puis rangée. Le papier est posé par-dessus la scène rangée
   (qui garde sa place : aucun décalage) ; chaque morceau rejoint sa place rangée, voir site.js. */
.chrono-scene { position: relative; }
.desordre { display: none; position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.js .desordre { display: block; }
.desordre > * { position: absolute; margin: 0; transform: rotate(var(--r)); transform-origin: center; opacity: 0; }
.chrono[data-state='avant'] .desordre > * { opacity: 1; }
.chrono[data-state='avant'] .tablette, .chrono[data-state='avant'] .feuille { opacity: 0; }
.m-feuille {
  left: 21%; top: 2%; width: 58%; height: 94%; padding: var(--e3) var(--e4) var(--e3) var(--e5);
  color: var(--texte); background: var(--surface) repeating-linear-gradient(transparent 0 21px, var(--trait) 21px 22px) 0 34px / 100% calc(100% - 40px) no-repeat;
  border-radius: 3px; box-shadow: 0 0 0 1px var(--trait);
}
.m-feuille p { position: relative; line-height: 22px; white-space: nowrap; }
.m-feuille s { color: var(--texte-2); text-decoration-thickness: 1.5px; }
.m-titre { font-weight: 600; font-size: 0.94rem; rotate: 1.5deg; margin-bottom: 1px; }
.m-l1 { left: 2%; rotate: -1deg; }
.m-l1 span, .m-l2 span { margin-left: 0.6em; }
.m-l2 { left: 6%; rotate: 1.2deg; }
.m-l3 { left: 1%; }
.m-total { left: 14%; margin-top: 2px; color: var(--texte-2); rotate: -2.5deg; }
.m-trombone { position: absolute; left: 10px; top: -9px; width: 10px; height: 28px; border: 2px solid var(--texte-2); border-radius: 6px; rotate: -10deg; }
.m-trombone::after { content: ''; position: absolute; left: 1px; top: 5px; width: 4px; height: 15px; border: 2px solid var(--texte-2); border-bottom: 0; border-radius: 4px 4px 0 0; }
.m-mot { left: 0; top: 56%; width: 25%; padding: var(--e2) var(--e3); font-weight: 500; line-height: 1.3; background: var(--fond); border-radius: 2px; box-shadow: 0 0 0 1px var(--trait); }
.m-postit { right: 0; top: 40%; width: 25%; padding: var(--e3); font-weight: 600; line-height: 1.25; color: #252b37; background: #eedcc8; border-radius: 2px 2px 10px 2px; }
:root[data-theme='night'] .m-postit { background: #d9c2a9; }
html:not(.js) .ranger { display: none; }
.chrono .ranger { margin-top: var(--e3); min-height: 34px; font-size: 0.9rem; }

.chrono figcaption { font-size: 0.94rem; line-height: 1.42; }
.chrono figcaption > .muted { display: block; margin-top: var(--e1); font-size: var(--t-petit); line-height: 1.35; }
.chrono-liens { display: grid; gap: var(--e1); margin-top: var(--e3); font-weight: 500; }
.chrono-liens .muted { font-weight: 400; }
.chrono-liens a { text-decoration-color: var(--accent); text-decoration-thickness: 2px; }

/* Les cinq pièces : chacune répond à une hésitation et reprend sa place. Les positions de départ suivent l'angle d'or
   (137,5° d'une pièce à la suivante, distance proportionnelle à la racine du rang), comme les graines d'un tournesol :
   la pièce centrale bouge le moins, les autres s'écartent chacune vers l'extérieur. */
.soucis { grid-area: soucis; display: flex; flex-direction: column; min-height: 0; padding: var(--e5); background: var(--chaud); border-radius: var(--rayon-grand); }
.sign { display: block; flex: 1 1 auto; min-height: 110px; width: 100%; overflow: visible; }
.facet { fill: var(--texte); stroke: var(--chaud); stroke-width: 5; stroke-linejoin: round; transform-box: fill-box; transform-origin: center; cursor: pointer; transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), fill 0.3s ease, fill-opacity 0.3s ease; }
.f1 { --dx: 0px; --dy: -37px; --rot: -6deg; }
.f2 { --dx: 46px; --dy: -35px; --rot: -10deg; }
.f3 { --dx: -60px; --dy: -5px; --rot: 4deg; }
.f4 { --dx: -14px; --dy: 22px; --rot: -8deg; }
.f5 { --dx: 30px; --dy: 33px; --rot: 3deg; }
.js .facet:not(.placed) { transform: translate(var(--dx), var(--dy)) rotate(var(--rot)); fill: var(--surface); stroke: var(--texte-2); stroke-width: 2.5; }
.js .facet:not(.placed):hover { fill: var(--fond); stroke: var(--texte); }
.facet.on, .js .facet.on { fill: var(--accent); }
.sign.whole { animation: ensemble 0.9s 0.55s cubic-bezier(0.3, 0.7, 0.3, 1) both; transform-origin: 50% 60%; }
@keyframes ensemble { 40% { transform: scale(1.045); } to { transform: none; } }
.soucis h2 { margin-top: var(--e3); font-size: var(--t-h4); letter-spacing: -0.01em; }
.worries { list-style: none; padding: 0; margin-top: var(--e3); display: grid; gap: var(--e2); }
.worries button { display: flex; justify-content: space-between; align-items: baseline; gap: var(--e3); width: 100%; padding: 7px var(--e3) 7px 12px; font: 500 0.97rem/1.3 var(--police); text-align: left; color: var(--texte); background: var(--surface); border: 0; border-radius: var(--rayon); cursor: pointer; transition: background 0.2s ease, color 0.2s ease; }
.worries button:hover { background: var(--fond); }
.worries button.done::after { content: 'réglé'; flex: none; font-size: var(--t-petit); font-weight: 400; color: var(--texte-2); }
.worries button[aria-pressed='true'] { background: var(--texte); color: var(--fond); }
.worries button[aria-pressed='true']::after { color: inherit; opacity: 0.75; }
.reponses { margin-top: var(--e4); min-height: 4.4em; font-size: 0.97rem; line-height: 1.45; }
.reponses strong { font-weight: 600; }
.js .reponses > p { display: none; }
.js .reponses > p.on { display: block; }
html:not(.js) .reponses .hint, html:not(.js) .tout { display: none; }
html:not(.js) .reponses > p + p { margin-top: var(--e2); }
.hint { color: var(--texte-2); }
.slogan span { display: block; margin-top: var(--e1); font-size: var(--t-h4); font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; }
.tout { align-self: flex-start; margin-top: var(--e3); padding: var(--e2) 0; font: 500 0.94rem var(--police); color: var(--texte); background: none; border: 0; cursor: pointer; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 0.2em; }

/* ---- Sous le premier écran : la coupe s'inverse (38,2 / 61,8), puis revient (61,8 / 38,2). */
.ensemble { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.618fr); gap: var(--e6) var(--e7); align-items: start; padding: var(--e8) var(--marge) var(--e7); }
.ensemble h2, .questions h2 { font-size: clamp(1.72rem, 3vw, var(--t-h3)); font-weight: 600; max-width: 18ch; }
.etapes { list-style: none; padding: 0; margin-top: var(--e5); display: grid; gap: var(--e4); }
.etapes li { position: relative; padding-left: var(--e5); color: var(--texte-2); line-height: 1.45; }
.etapes li::before { content: ''; position: absolute; left: 0; top: 0.42em; width: 11px; height: 11px; background: var(--accent); clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.etapes li:not(:last-child)::after { content: ''; position: absolute; left: 5px; top: 1.45em; bottom: calc(-1 * var(--e4) + 2px); width: 1.5px; background: var(--trait); }
.etapes strong { display: block; color: var(--texte); font-weight: 600; }
.offres { display: grid; grid-template-columns: repeat(13, minmax(0, 1fr)); padding-top: var(--e6); }
.offre { padding: var(--e6) var(--e6) var(--e6); border-radius: var(--rayon-grand); }
.offre h3 { font-size: clamp(1.35rem, 2.2vw, var(--t-h3)); }
.offre p { margin-top: var(--e3); max-width: 40ch; }
.offre-mesure { grid-column: 1 / span 8; grid-row: 1; background: var(--texte); color: var(--fond); padding-bottom: var(--e7); }
.offre-mesure p { color: inherit; opacity: 0.86; }
.offre-abo { grid-column: 6 / span 8; grid-row: 2; margin-top: calc(-1 * var(--e6)); background: var(--chaud); box-shadow: 0 0 0 var(--joint) var(--fond); }
.offre-abo p { color: var(--texte-2); }

.questions { display: grid; grid-template-columns: minmax(0, 1.618fr) minmax(0, 1fr); gap: var(--e6) var(--e7); align-items: start; padding: var(--e7) var(--marge) var(--e8); }
.questions h2 { margin-bottom: var(--e5); }
.questions details { border-top: 1.5px solid var(--trait); }
.questions details:last-of-type { border-bottom: 1.5px solid var(--trait); }
.questions summary { display: flex; justify-content: space-between; align-items: baseline; gap: var(--e4); padding: var(--e4) 0; font-size: clamp(var(--t-texte), 1.6vw, var(--t-h4)); font-weight: 500; cursor: pointer; list-style: none; }
.questions summary::-webkit-details-marker { display: none; }
.questions summary::after { content: '+'; flex: none; width: 1em; text-align: center; font-weight: 400; color: var(--accent); font-size: 1.3em; line-height: 1; }
.questions details[open] summary::after { content: '−'; }
.questions details p { padding-bottom: var(--e5); max-width: 58ch; color: var(--texte-2); }
.fin { padding: var(--e6) var(--e5) var(--e5); background: var(--chaud); border-radius: var(--rayon-grand); }
.fin > * + * { margin-top: var(--e4); }
.fin-titre { font-size: var(--t-h3); font-weight: 600; letter-spacing: -0.015em; line-height: 1.12; }
.fin p:not(.fin-titre) { color: var(--texte-2); }
.fin .btn { margin-top: var(--e2); }
.fin-mail { font-size: 0.94rem; }
.fin-mail a { color: var(--texte); font-weight: 500; text-decoration-color: var(--accent); }

footer { display: flex; flex-wrap: wrap; gap: var(--e2) var(--e6); justify-content: space-between; padding: var(--e4) var(--marge) var(--e5); font-size: var(--t-petit); color: var(--texte-2); }
footer a { margin-left: var(--e4); }
.mark-small { font-weight: 600; color: var(--texte); margin-right: var(--e2); font-size: 1rem; letter-spacing: -0.02em; }

/* Grand écran : le premier écran tient exactement dans la fenêtre. */
@media (min-width: 981px) and (min-height: 620px) {
  .hero { height: calc(100svh - 72px); }
}
@media (min-width: 981px) and (max-height: 760px) {
  .ecran { min-height: 128px; }
  .worries button { padding-block: 5px; }
  .soucis { padding: var(--e4) var(--e5); }
}

/* Tablette et téléphone : une colonne, dans l'ordre de lecture (ce qu'on fait, la preuve, les pièces). */
@media (max-width: 980px) {
  .hero { display: flex; flex-direction: column; gap: var(--e6); padding-top: var(--e2); }
  .chrono { grid-template-columns: minmax(0, 1fr); gap: var(--e4); }
  .sign { flex: none; height: auto; max-height: 300px; }
  .ensemble, .questions { grid-template-columns: minmax(0, 1fr); padding-top: var(--e7); }
  .questions { padding-top: 0; }
  .offres { grid-template-columns: minmax(0, 1fr); padding-top: 0; }
  .offre-mesure, .offre-abo { grid-column: 1; }
  .offre-abo { margin: calc(-1 * var(--e5)) 0 0 var(--e5); }
}
@media (max-width: 640px) {
  .top { min-height: 60px; }
  .top nav .client { display: none; }
  .mark { font-size: 1.45rem; }
  .mark-sign { width: 34px; }
  .hero { gap: var(--e5); }
  .pitch h1 { font-size: var(--t-h3); line-height: 1.12; }
  .what { margin-top: var(--e4); font-size: var(--t-texte); line-height: 1.45; }
  .pitch-actions { margin-top: var(--e4); gap: var(--e3) var(--e4); }
  .pitch-actions .btn { min-height: 52px; padding: 0 var(--e5); }
  .reassure { font-size: var(--t-petit); }
  .tablette { flex-basis: 41%; padding: 5px; border-radius: 16px; }
  .ecran { min-height: 132px; padding: var(--e2) var(--e2) var(--e2) var(--e3); border-radius: 11px; }
  .t-heure { font-size: var(--t-h4); }
  .t-bonjour { font-size: var(--t-petit); }
  .t-reseau { font-size: 0.72rem; }
  .feuille { padding: var(--e3) var(--e3) var(--e3) calc(6% + var(--e3)); border-radius: 18px; }
  .f-grille { grid-template-columns: auto minmax(0, 1fr); row-gap: 2px; }
  .f-piste { grid-row: span 2; }
  .f-ecart { grid-column: 1; text-align: left; font-size: 0.72rem; color: var(--texte-2); margin-bottom: 4px; }
  .f-grille > span:empty { display: none; }
  .f-heures { grid-column: 2; margin-top: 2px; }
  .chrono figcaption { font-size: 0.94rem; }
  .chrono-liens { margin-top: var(--e3); }
  .desordre { font-size: 0.72rem; }
  .m-feuille { padding: var(--e2) var(--e3) var(--e2) var(--e4); background-size: 100% calc(100% - 34px); background-position: 0 30px; }
  .m-feuille p { line-height: 19px; }
  .m-titre { font-size: 0.8rem; }
    .m-postit, .m-mot { padding: var(--e2); }
  .m-mot { width: 32%; top: 62%; }
  .m-postit { width: 30%; top: auto; bottom: 6%; }
  .soucis { padding: var(--e4); }
  .offre { padding: var(--e5); }
  .offre-mesure { padding-bottom: var(--e6); }
  .fin { padding: var(--e5) var(--e4); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---- Pages de texte */
.prose { max-width: 46rem; padding: var(--e7) clamp(20px, 5vw, 68px) var(--e8); }
.prose h1 { font-size: var(--t-h2); margin-bottom: var(--e6); }
.prose h2 { font-size: var(--t-h4); margin: var(--e6) 0 var(--e3); letter-spacing: -0.01em; }
.prose p { color: var(--texte-2); }
.todo { background: var(--fond-2); padding: 1px 6px; border-radius: 4px; color: var(--texte); border-bottom: 2px solid var(--vente); }

/* ---- Charte graphique */
.charte { padding: var(--e7) clamp(20px, 5vw, 68px) var(--e8); max-width: 78rem; }
.charte > h1 { max-width: 14ch; }
.charte > p { margin-top: var(--e5); max-width: 60ch; color: var(--texte-2); }
.charte section { margin-top: var(--e8); }
.charte h2 { font-size: var(--t-h3); margin-bottom: var(--e5); }
.charte h3 { font-size: var(--t-h4); margin: var(--e6) 0 var(--e4); }
.charte table { border-collapse: collapse; width: 100%; font-size: 0.97rem; }
.charte th, .charte td { text-align: left; padding: var(--e3) var(--e4) var(--e3) 0; border-bottom: 1px solid var(--trait); vertical-align: middle; }
.charte th { font-weight: 600; }
.charte code { font: 500 0.92em var(--police); background: var(--fond-2); padding: 1px 6px; border-radius: 4px; }
.sw { display: inline-block; width: 68px; height: 42px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--trait); vertical-align: middle; }
.scroll { overflow-x: auto; }
.spec > * + * { margin-top: var(--e4); }
.spec .t-h1 { font-size: clamp(2.6rem, 7.2vw, var(--t-h1)); font-weight: 600; letter-spacing: -0.025em; line-height: 1.04; }
.spec .t-h2 { font-size: var(--t-h2); font-weight: 600; letter-spacing: -0.025em; line-height: 1.04; }
.spec .t-h3 { font-size: var(--t-h3); font-weight: 600; letter-spacing: -0.015em; }
.spec .t-h4 { font-size: var(--t-h4); font-weight: 600; letter-spacing: -0.01em; }
.spec .t-petit { font-size: var(--t-petit); color: var(--texte-2); }
.bars { display: flex; align-items: flex-end; gap: var(--e4); flex-wrap: wrap; }
.bars div { background: var(--texte); height: 26px; }
.bars { padding-bottom: 28px; }
.bars span { display: block; position: relative; top: 32px; font-size: var(--t-petit); color: var(--texte-2); }
.demo { display: flex; flex-wrap: wrap; gap: var(--e4); align-items: center; }
.encadre { background: var(--surface); border-left: var(--joint) solid var(--accent); border-radius: 0 var(--rayon) var(--rayon) 0; padding: var(--e4) var(--e5); max-width: 38rem; }
.encadre.alerte { border-left-color: var(--alerte); }
.encadre.alerte strong { color: var(--alerte); }
.carte { background: var(--surface); border-radius: var(--rayon-grand); padding: var(--e5) var(--e6); max-width: 24rem; }
.carte p { color: var(--texte-2); margin-top: var(--e3); }
.champ { display: grid; gap: var(--e2); max-width: 22rem; font-weight: 500; font-size: 0.94rem; }
.champ input { font: 400 1rem var(--police); color: var(--texte); background: var(--surface); border: 1.5px solid var(--trait); border-radius: var(--rayon); min-height: 48px; padding: 0 var(--e4); }
.champ input:focus-visible { outline: 3px solid var(--vente); outline-offset: 0; border-color: var(--texte); }
.champ.err input { border-color: var(--alerte); }
.champ.err span { color: var(--alerte); font-weight: 400; }
.regles { padding-left: 1.1em; display: grid; gap: var(--e3); max-width: 62ch; }
.regles li::marker { color: var(--accent); }
.theme-switch { margin-top: var(--e5); display: flex; gap: var(--e3); }
