/* Les Ateliers de Véronique
   Brief BRIEF-ATELIERS.md : univers « Établi », palette « Nuit et blush ».
   Une couleur, un rôle. Le rose appelle. La teinte d'une page ne sert qu'à désigner cette page. */

/* ── 1. Typographie : cinq familles hébergées sur le site ── */
@font-face { font-family: "Alfa Slab One"; src: url("../fonts/alfa-slab-one-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-300-700.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Karla"; src: url("../fonts/karla-200-800.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dm-sans-400-700.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Kalam"; src: url("../fonts/kalam-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Kalam"; src: url("../fonts/kalam-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

@view-transition { navigation: auto; }

:root {
  color-scheme: dark;

  /* ── 7. Palette « Nuit et blush » ── */
  --vf-nuit:         #0B1B2B;  /* fond général */
  --vf-violet-deep:  #071520;  /* panneaux, fond des blocs */
  --vf-lin:          #D6D2C6;  /* texte */
  --vf-vert:         #27372C;
  --vf-vert-clair:   #8E9287;
  --vf-brique-clair: #B2968F;
  --vf-canard-clair: #9AA9A4;
  --vf-sable:        #C3B88A;
  --vf-rose-clair:   #D5C1BD;
  --vf-rose:         #D05B88;  /* couleur d'appel, seule de sa famille */

  /* Dérivés neutres du lin */
  --vf-rule:   color-mix(in srgb, var(--vf-lin) 22%, transparent);
  --vf-hair:   color-mix(in srgb, var(--vf-lin) 12%, transparent);
  --vf-soft:   color-mix(in srgb, var(--vf-lin) 76%, transparent);  /* texte secondaire, 6:1 et plus */

  --font-display: "Alfa Slab One", Georgia, serif;
  --font-title:   "Fraunces", Georgia, serif;
  --font-text:    "Karla", system-ui, sans-serif;
  --font-ui:      "DM Sans", system-ui, sans-serif;
  --font-hand:    "Kalam", cursive;

  --step-0: clamp(1.125rem, 1.07rem + .25vw, 1.25rem); /* 18 px minimum */
  --step-1: clamp(1.375rem, 1.2rem + .6vw, 1.75rem);
  --step-2: clamp(2rem, 1.5rem + 1.8vw, 3rem);
  --step-3: clamp(3.25rem, 2rem + 6vw, 7rem);

  --radius-panel: 14px;
  --radius-block: 8px;
  --gap: 16px;
  --rail: clamp(150px, 21vw, 260px);

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.34, 1.4, .64, 1);

  --page: var(--vf-lin);
}

/* La teinte de la page, reprise du sommaire (4.2) */
body[data-page="qui-suis-je"]  { --page: var(--vf-canard-clair); }
body[data-page="ateliers"]     { --page: var(--vf-vert-clair); }
body[data-page="bilan"]        { --page: var(--vf-sable); }
body[data-page="articles"]     { --page: var(--vf-brique-clair); }
body[data-page="inspirations"] { --page: var(--vf-rose-clair); }
body[data-page="me-contacter"] { --page: var(--vf-rose); }
body[data-page="tarification"] { --page: color-mix(in srgb, var(--vf-rose) 42%, var(--vf-rose-clair)); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-color: var(--vf-rule) var(--vf-nuit); }
body {
  margin: 0; background: var(--vf-nuit); color: var(--vf-lin);
  font: 400 var(--step-0)/1.5 var(--font-text); font-style: normal;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: .22em; }
p { margin: 0 0 1em; max-width: 68ch; text-wrap: pretty; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; text-wrap: balance; }
/* L'axe fantaisie de Fraunces distingue cet univers */
h1, h2, h3, .title, .row b, .h2, .h3, .lead, .hero__manifest, .service-line, .tabs__tab, .wordmark__big, .foot__motto, .cal__month, .book__card strong { font-variation-settings: "WONK" 1, "SOFT" 60; }
ul, ol { margin: 0; padding: 0; }
em, i, cite { font-style: normal; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: var(--vf-lin); color: var(--vf-nuit); }
:focus-visible { outline: 3px solid var(--vf-lin); outline-offset: 3px; border-radius: 4px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: -80px; z-index: 100; background: var(--vf-lin); color: var(--vf-nuit); padding: 12px 18px; border-radius: var(--radius-block); font: 700 1.125rem/1 var(--font-ui); transition: top .3s var(--ease-out); }
.skip:focus { top: 16px; }
/* 6. Le numéro ne se coupe jamais et ses chiffres ne bougent pas */
.tel { white-space: nowrap; font-variant-numeric: tabular-nums; font-family: var(--font-ui); }
.icon { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--page); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* ───────────── Coquille ───────────── */
.shell { display: grid; grid-template-columns: var(--rail) minmax(0, 1fr); min-height: 100vh; }
.main { padding: var(--gap); display: flex; flex-direction: column; gap: var(--gap); min-width: 0; }
.rail { position: sticky; top: 0; height: 100vh; height: 100dvh; padding: var(--gap) 0 var(--gap) var(--gap); display: flex; flex-direction: column; gap: 10px; overflow-y: auto; scrollbar-width: none; border-right: 1px solid var(--vf-hair); }
.rail::-webkit-scrollbar { display: none; }

.wordmark { display: block; flex: none; text-decoration: none; padding: 8px 6px 14px 0; view-transition-name: wordmark; }
.wordmark__small { display: block; font: 700 1rem/1 var(--font-hand); color: var(--vf-soft); margin-bottom: 4px; }
.wordmark__big { display: flex; align-items: baseline; font: 700 1.9rem/.9 var(--font-title); letter-spacing: .01em; color: var(--vf-lin); }
.wordmark__big .brain { flex: none; width: .74em; height: .66em; margin: 0 .02em; transform: translateY(.04em); transition: transform .6s var(--ease-spring); }
.wordmark:hover .brain { transform: translateY(.04em) rotate(-14deg) scale(1.15); }

.rail nav { flex: 1; min-height: 0; }

/* ── 4. Le sommaire. Numéro et descriptif neutres, le titre porte l'encre de sa page.
   Écarts au brief, pour tenir le plancher de 5:1 (7.3) : numéro 48 % -> 66 %, descriptif 56 % -> 70 %,
   titre 1.14rem -> 1.17rem (18,7 px gras, gros caractère) pour que le rose de Me contacter passe. ── */
.som { list-style: none; }
.som a  { display: block; position: relative; padding: 14px 4px 14px 0; text-decoration: none;
          transition: padding-left .45s cubic-bezier(.16,1,.3,1); }
.som .n { font: 700 .64rem/1 var(--font-ui); letter-spacing: .16em; font-variant-numeric: tabular-nums;
          color: color-mix(in srgb, var(--vf-lin) 66%, transparent); }
.som .t { display: block; margin-top: 6px; font: 700 1.17rem/1.15 var(--font-title);
          font-variation-settings: "WONK" 1, "SOFT" 60; color: var(--c); transition: color .3s; }
.som .d { display: block; margin-top: 3px; font: 400 .79rem/1.4 var(--font-ui);
          color: color-mix(in srgb, var(--vf-lin) 70%, transparent); }
.som .rule { display: block; height: 1.5px; margin-top: 14px;
             background: color-mix(in srgb, var(--vf-lin) 16%, transparent); transition: background-color .35s; }
.som a:hover { padding-left: 14px; }
.som a:hover .rule { background: color-mix(in srgb, var(--c) 60%, transparent); }
.som a[aria-current="page"] { padding-left: 14px; }
.som a[aria-current="page"] .rule { background: var(--c); }
.som a:focus-visible { outline-offset: 2px; }
.rail .som { padding-right: 14px; }

@media (max-width: 1023px) { .rail { padding-left: 12px; gap: 6px; } .wordmark__big { font-size: clamp(1.1rem, 3.2vw, 1.5rem); } .main { padding: 10px; gap: 10px; } }

/* Barre mobile */
.topbar { display: none; }
@media (max-width: 479px) {
  .shell { display: block; }
  .rail { display: none; }
  .topbar { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 8px; padding: 10px var(--gap); background: var(--vf-nuit); border-bottom: 1px solid var(--vf-rule); }
  .topbar .wordmark { padding: 4px 0; margin-right: auto; }
  .topbar .wordmark__big { font-size: 1.5rem; }
}
.pill-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px; border-radius: 999px; border: 2px solid transparent; cursor: pointer; text-decoration: none; font: 700 1.1875rem/1 var(--font-ui); }
.pill-btn .icon { width: 20px; height: 20px; }
.pill-btn--call { background: var(--vf-rose); border-color: var(--vf-rose); color: var(--vf-violet-deep); }
@media (max-width: 420px) { .pill-btn--call span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .pill-btn--call { padding: 0 14px; } }
.pill-btn--ink { background: transparent; border-color: var(--vf-rule); color: var(--vf-lin); }
.topbar .pill-btn--ink { font-size: 1.0625rem; padding: 0 14px; }
@media (max-width: 360px) { .topbar { gap: 6px; padding-inline: 10px; } .topbar .wordmark__big { font-size: 1.3rem; } }

.menu { position: fixed; inset: 0; z-index: 70; background: var(--vf-nuit); padding: 14px var(--gap) 24px; display: flex; flex-direction: column; gap: 12px; overflow-y: auto; visibility: hidden; opacity: 0; transition: opacity .35s, visibility 0s .35s; }
.menu.is-open { visibility: visible; opacity: 1; transition: opacity .35s; }
.menu__head { display: flex; align-items: center; justify-content: space-between; }
.menu .som a { padding-block: 12px; }
.menu .som .t { font-size: 1.375rem; }
.menu .som .d { font-size: .9375rem; }

/* ───────────── Grille et panneaux ───────────── */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.s-3 { grid-column: span 3; } .s-4 { grid-column: span 4; } .s-5 { grid-column: span 5; }
.s-6 { grid-column: span 6; } .s-7 { grid-column: span 7; } .s-8 { grid-column: span 8; } .s-12 { grid-column: 1 / -1; }
@media (max-width: 1180px) { .s-3, .s-4, .s-5, .s-7, .s-8 { grid-column: span 6; } }
@media (max-width: 900px) { .bento > * { grid-column: 1 / -1; } }

/* 7. Un seul fond de panneau. Pas d'ombre : un filet. */
.panel { position: relative; background: var(--vf-violet-deep); color: var(--vf-lin); border: 1px solid var(--vf-hair); border-radius: var(--radius-panel); padding: clamp(24px, 3.2vw, 44px); min-width: 0; }
.panel--line { background: transparent; border-color: var(--vf-rule); }
.panel.short { padding: clamp(20px, 2.4vw, 32px); }
.panel.short .h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.panel.short .h3 { font-size: 1.125rem; margin: 10px 0 14px; }

/* ───────────── Typographie ───────────── */
/* ── 2. Réserve d'accent. La capitale accentuée sort de la boîte :
   on la fait grandir vers le haut par padding-top, jamais par line-height. ── */
.event-word {
  display: block; font-family: var(--font-display); font-weight: 400; font-size: var(--step-3);
  line-height: 1.02; padding-top: .18em; /* Alfa Slab One */
  text-transform: uppercase; letter-spacing: .02em; color: var(--vf-lin); margin-left: -.03em;
  hyphens: manual; overflow-wrap: normal;
}
.fit { container-type: inline-size; }
/* jamais sous 40 px ; les mots longs portent une césure conditionnelle (&shy;) */
.fit .event-word { font-size: clamp(40px, calc(100cqi / (var(--chars, 8) * .8)), 8.5rem); }
/* ── 3. Cerveau à la place du O. Métriques mesurées sur le fichier servi : O 0,792 em de chasse,
   capitale 0,778 em, débord du O 0,014 em. L'encre du symbole couvre 84,8 % de la hauteur
   de sa boîte (y 6,5 à 91,3 sur 100) : .917em x .848 = .778em. Bas de l'encre à -.014em. ── */
.event-word .brain {
  display: inline-block; width: 1.1em; height: .917em; vertical-align: -.094em; margin: 0 -.03em;
  transform-origin: 50% 91%; --brain: var(--vf-rose); --fold: var(--vf-nuit);
}
@keyframes hop {
  0%   { transform: translateY(0)    scale(1, 1) }
  16%  { transform: translateY(-13%) scale(.975, 1.05) }
  34%  { transform: translateY(-16%) scale(1, 1) }
  52%  { transform: translateY(0)    scale(1.07, .9) }
  66%  { transform: translateY(0)    scale(.985, 1.025) }
  80%  { transform: translateY(0)    scale(1.005, .995) }
  100% { transform: translateY(0)    scale(1, 1) }
}
.motion .brain.hop { animation: hop 1.05s cubic-bezier(.2,.9,.25,1) both; }

.service-line { display: block; font: 600 1.25rem/1.3 var(--font-title); color: var(--page); }
.h2 { font: 650 var(--step-2)/1.08 var(--font-title); letter-spacing: -.01em; }
.h3 { font: 450 var(--step-1)/1.2 var(--font-title); }
.h4 { font: 700 1.125rem/1.3 var(--font-text); }
.lead { font: 400 var(--step-1)/1.3 var(--font-title); max-width: 34ch; }
.played { font-family: var(--font-hand); font-weight: 700; letter-spacing: 0; }
.hand { font-family: var(--font-hand); font-weight: 700; }
.hand--big { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.4rem); line-height: 1.15; }
.t-page { color: var(--page); }
.muted { color: var(--vf-soft); }
.stack > * + * { margin-top: 1rem; }
.prose { max-width: 70ch; }
.prose p { margin: 0 0 1em; }
.prose h3 { margin: 0 0 .6em; }

/* Cerclage net, à l'encre de la page */
.circled { position: relative; display: inline-block; white-space: nowrap; padding: 0 .32em; margin: 0 -.1em 0 .14em; }
.circled > span { position: relative; z-index: 1; }
.circled > svg { position: absolute; left: 0; top: -18%; width: 100%; height: 136%; max-width: none; fill: none; stroke: var(--page); stroke-width: 2.5; stroke-linecap: round; overflow: visible; pointer-events: none; }
.circled > svg path { vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; }
.motion .circled > svg path { stroke-dashoffset: 1; transition: stroke-dashoffset 1.1s var(--ease-out) .5s; }
.motion .is-in .circled > svg path, .motion .circled.is-in > svg path { stroke-dashoffset: 0; }
.has-circle { line-height: 1.5 !important; }

/* Cerveau glyphe : le rose que le brief lui donne (3.2), partout où il paraît */
.brain { --brain: var(--vf-rose); --fold: var(--vf-nuit); color: var(--brain); }

/* Étoile dix branches (Articles) : la teinte de la page, sans contour */
.star { position: relative; display: grid; place-items: center; width: var(--size, 132px); aspect-ratio: 1; color: var(--vf-nuit); text-decoration: none; transform: rotate(var(--rot, -10deg)); transition: transform .8s var(--ease-spring); }
.star svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.star polygon { fill: var(--page); }
.star span { position: relative; font: 700 calc(var(--size, 132px) * .15)/1 var(--font-hand); text-align: center; }
.star:hover { transform: rotate(calc(var(--rot, -10deg) + 40deg)) scale(1.06); }

/* ───────────── Boutons & liens ───────────── */
.link-arrow { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 1.125rem/1.2 var(--font-ui); color: inherit; padding: 10px 0; }
.link-arrow .icon { width: 22px; height: 22px; transition: transform .5s var(--ease-spring); }
.link-arrow span { text-decoration: underline 1.5px var(--vf-rule); text-underline-offset: .28em; transition: text-decoration-color .4s, text-underline-offset .5s var(--ease-out); }
.link-arrow:hover span, .link-arrow:focus-visible span { text-decoration-color: currentColor; text-underline-offset: .18em; }
.link-arrow:hover .icon, .link-arrow:focus-visible .icon { transform: translateX(6px); }
/* Bouton neutre : filet de lin. 19 px gras : gros caractère. */
.btn { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 24px; border-radius: 999px; text-decoration: none; overflow: hidden; isolation: isolate; cursor: pointer; font: 700 1.1875rem/1 var(--font-ui); border: 2px solid var(--vf-lin); color: var(--vf-lin); background: transparent; transition: color .45s var(--ease-out); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--vf-lin); border-radius: inherit; transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s var(--ease-out); }
.btn .icon { width: 20px; height: 20px; }
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); }
.btn:hover, .btn:focus-visible { color: var(--vf-nuit); }
/* Bouton d'appel : le seul usage du rose plein. Texte nuit profonde sur rose, 4,9:1, en gros caractère (7.4). */
.btn--call { background: var(--vf-rose); border-color: var(--vf-rose); color: var(--vf-violet-deep); }
.btn--call::before { background: var(--vf-violet-deep); }
.btn--call:hover, .btn--call:focus-visible { color: var(--vf-rose); }
.chip { display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 999px; font: 600 1.125rem/1.1 var(--font-ui); border: 1px solid var(--vf-rule); color: var(--vf-lin); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.placeholder { display: inline-block; white-space: nowrap; padding: 2px 10px; border: 1.5px dashed var(--vf-soft); border-radius: 6px; color: var(--vf-soft); font: 700 1em/1.3 var(--font-ui); letter-spacing: .02em; max-width: 100%; }
.placeholder:where(:not(.row .placeholder)) { white-space: normal; }

/* Emplacement photo : cadre vide, en attente d'une image (9.4) */
.slot { position: relative; display: grid; place-items: center; min-height: 260px; border-radius: var(--radius-panel); background: var(--vf-violet-deep); border: 1px solid var(--vf-hair); color: var(--vf-lin); overflow: hidden; }
.slot .placeholder { position: absolute; left: 18px; bottom: 18px; font-size: .875rem; }
.slot--band { min-height: clamp(140px, 18vw, 260px); }
.slot--portrait { aspect-ratio: 4 / 5; min-height: 0; width: min(100%, 420px); justify-self: center; }

/* ───────────── Révélations ───────────── */
.motion [data-reveal] { transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-out), clip-path 1.2s var(--ease-out); transition-delay: var(--d, 0ms); }
.motion [data-reveal="rise"] { opacity: 0; transform: translateY(40px); }
.motion [data-reveal="panel"] { clip-path: inset(18% 4% 18% 4% round 60px); opacity: 0; transform: scale(.96); }
.motion [data-reveal="pop"] { opacity: 0; transform: scale(.4) rotate(-40deg); transition-timing-function: var(--ease-out), var(--ease-spring), linear; }
.motion [data-reveal].is-in { opacity: 1; transform: none; }
.motion [data-reveal="panel"].is-in { clip-path: inset(0 0 0 0 round var(--radius-panel)); }
.motion [data-reveal="pop"].is-in { transform: rotate(var(--rot, 0deg)); }
.motion .split .char { display: inline-block; transform: translateY(105%) rotate(8deg); opacity: 0; transition: transform 1s var(--ease-out), opacity .6s; transition-delay: calc(var(--i) * 55ms + 120ms); }
.split { overflow: clip; overflow-clip-margin: .12em; padding-bottom: .04em; }
.motion .split.is-in .char { transform: none; opacity: 1; }
.split .char { white-space: pre; }
.split .char.is-cut::after { content: "-"; }
[data-lines] .line { display: block; }
.motion .lines .line { overflow: clip; overflow-clip-margin: .28em; }
.motion .lines .line > span { display: inline-block; transform: translateY(110%); transition: transform 1s var(--ease-out); transition-delay: calc(var(--i, 0) * 110ms); }
.motion .lines.is-in .line > span { transform: none; }

/* ───────────── Accueil ───────────── */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 9fr); gap: var(--gap); align-items: center; min-height: calc(100vh - 2 * var(--gap)); }
.hero__text { position: relative; display: flex; flex-direction: column; gap: clamp(18px, 2.2vw, 30px); padding: clamp(24px, 3vw, 40px) clamp(8px, 2vw, 32px); }
.hero__text > * { position: relative; z-index: 1; }
.hero__kicker { display: block; font: 700 clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem)/1.1 var(--font-hand); color: var(--vf-lin); margin: 0 0 4px .04em; transform: rotate(-2deg); transform-origin: 0 100%; }
.hero__sub { font: 500 var(--step-1)/1.3 var(--font-text); max-width: 30ch; margin: 0; }
.hero__manifest { font: 600 clamp(1.5rem, 1.1rem + 1.4vw, 2.3rem)/1.5 var(--font-title); max-width: 26ch; }
@media (max-width: 1100px) { .hero { grid-template-columns: 1fr; min-height: 0; } }

/* Composition réglée : une colonne large, une colonne de deux blocs. Pas de cartes. */
.compo { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 64px); padding: clamp(28px, 4vw, 56px) clamp(8px, 2vw, 32px); border-top: 2px solid var(--vf-lin); }
.compo .h2 { margin-bottom: 12px; }
.compo .h3 { margin: 0 0 16px; }
.compo__main .h2 { font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.75rem); max-width: 14ch; }
.compo__side { display: flex; flex-direction: column; gap: clamp(28px, 3vw, 44px); }
.compo__side > article + article { padding-top: clamp(28px, 3vw, 44px); border-top: 1px solid var(--vf-rule); }
.compo__side .h2 { font-size: clamp(1.625rem, 1.3rem + 1vw, 2.125rem); }
@media (max-width: 900px) { .compo { grid-template-columns: minmax(0, 1fr); } }
.presentation { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--gap); }
@media (max-width: 900px) { .presentation { grid-template-columns: minmax(0, 1fr); } }
.creds { list-style: none; margin: 0 0 22px; }
.creds li { font: 500 var(--step-1)/1.25 var(--font-title); padding: 10px 0; border-bottom: 1px solid var(--vf-rule); }
.fonctions { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 3vw, 48px); align-items: start; }
.fonctions p { margin: 0; }
@media (max-width: 1100px) { .fonctions { grid-template-columns: minmax(0, 1fr); } }

/* Situations à cocher (Ateliers) : une liste réglée, la teinte de la page marque ce qui est coché */
.stickers { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 0 clamp(20px, 3vw, 40px); list-style: none; }
.stickers > li { border-top: 1px solid var(--vf-rule); }
.sticker { position: relative; display: flex; align-items: flex-start; gap: 14px; padding: 14px 2px 16px; font: 700 1.25rem/1.3 var(--font-hand); color: var(--vf-lin); cursor: pointer; transition: color .3s; }
.sticker input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sticker:hover .sticker__check { border-color: var(--page); }
.sticker:has(input:checked) { color: var(--page); }
.sticker:has(input:focus-visible) { outline: 3px solid var(--vf-lin); outline-offset: 2px; border-radius: 4px; }
.sticker__check { flex: none; width: 28px; height: 28px; margin-top: 1px; border-radius: 6px; border: 2px solid var(--vf-soft); display: grid; place-items: center; color: var(--vf-nuit); transition: background-color .25s, border-color .25s; }
.sticker__check .icon { width: 18px; height: 18px; stroke-width: 3; opacity: 0; transition: opacity .25s; }
.sticker:has(input:checked) .sticker__check { background: var(--page); border-color: var(--page); }
.sticker:has(input:checked) .sticker__check .icon { opacity: 1; }
.tally { display: flex; align-items: baseline; gap: 14px; }
.tally__count { font: 700 clamp(3.5rem, 2.5rem + 4vw, 6rem)/.8 var(--font-ui); font-variant-numeric: tabular-nums; color: var(--page); }

/* Listes à filets */
.rows { list-style: none; border-top: 1px solid var(--vf-rule); }
.rows li { padding: 12px 2px; border-bottom: 1px solid var(--vf-rule); font-weight: 500; }
.rows--tight li { padding: 9px 2px; }

/* Savez-vous que : des lignes, pas des boîtes */
.cards { display: grid; gap: 0; list-style: none; border-top: 1px solid var(--vf-rule); }
.card { padding: 16px 2px; border-bottom: 1px solid var(--vf-rule); }
.card p { margin: 0; max-width: 62ch; }

/* ───────────── En-tête de page et sous-onglets ───────────── */
.page-top { position: relative; display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: var(--gap); align-items: stretch; }
@media (max-width: 1100px) { .page-top { grid-template-columns: 1fr; } }
.page-hero { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 16px; padding: clamp(32px, 5vw, 80px) clamp(8px, 2vw, 32px) clamp(16px, 2vw, 28px); }
.page-hero > * { position: relative; z-index: 1; }
.page-hero .lead { max-width: 36ch; }

/* Onglets : une ligne de titres soulignés. L'onglet ouvert prend l'encre de la page. */
.tabs { position: relative; display: flex; flex-direction: column; gap: var(--gap); min-width: 0; }
.tabs__list { display: flex; flex-wrap: wrap; gap: 0 28px; border-bottom: 1px solid var(--vf-rule); justify-self: stretch; min-width: 0; max-width: 100%; }
.tabs__tab {
  position: relative; display: inline-flex; align-items: center; min-height: 56px; padding: 12px 0 14px;
  border: 0; background: transparent; cursor: pointer; text-align: left;
  color: var(--vf-soft); font: 600 1.1875rem/1.2 var(--font-title); transition: color .3s;
}
.tabs__tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: transparent; transition: background-color .3s; }
.tabs__tab:hover { color: var(--vf-lin); }
.tabs__tab:hover::after { background: var(--vf-rule); }
.tabs__tab[aria-selected="true"] { color: var(--page); }
.tabs__tab[aria-selected="true"]::after { background: var(--page); }
.tabs__panel { animation: tab-in .6s var(--ease-out); }
.tabs__panel[hidden] { display: none; }
@keyframes tab-in { from { opacity: 0; transform: translateY(14px); } }
.no-js .tabs__list { display: none; }
@media (max-width: 760px) { .tabs__list { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 0 22px; } .tabs__list::-webkit-scrollbar { display: none; } .tabs__tab { flex: none; max-width: 78vw; } }
.split-2 { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: clamp(20px, 3vw, 44px); align-items: start; }
@media (max-width: 1100px) { .split-2 { grid-template-columns: 1fr; } }

/* ───────────── Étagère ───────────── */
/* Les dos ne portent pas de couleur : trois nuits, des hauteurs et des largeurs. La teinte de la page marque le livre ouvert. */
.shelf.panel { overflow: visible; }
.shelf__books { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 6px; list-style: none; padding: 170px 6px 0; }
.shelf__plank { height: 3px; border-radius: 2px; background: var(--vf-rule); margin-top: 0; }
.book { position: relative; flex: none; }
.book__spine { display: flex; align-items: center; justify-content: center; width: var(--w, 54px); height: calc(var(--h, 260px) * 1.22); border: 1px solid var(--vf-rule); padding: 14px 0; cursor: pointer; border-radius: 5px 5px 2px 2px; background: var(--vf-violet-deep); color: var(--vf-lin); writing-mode: vertical-rl; transform: rotate(180deg); font: 700 1rem/1 var(--font-ui); letter-spacing: .01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: translate .5s var(--ease-spring), rotate .5s var(--ease-spring), border-color .3s, color .3s; }
.book:nth-child(3n+2) .book__spine { background: var(--vf-vert); }
.book:nth-child(3n) .book__spine { background: color-mix(in srgb, var(--vf-lin) 12%, var(--vf-nuit)); }
.book__spine small { font: 600 .875rem/1 var(--font-ui); color: var(--vf-soft); margin-top: 10px; }
.book__spine:hover, .book__spine:focus-visible, .book.is-open .book__spine { translate: 0 -34px; rotate: -3deg; border-color: var(--page); color: var(--page); }
.book__card { position: absolute; left: 50%; bottom: calc(100% + 44px); width: 260px; z-index: 5; padding: 16px 18px; border-radius: var(--radius-block); background: var(--vf-violet-deep); border: 1px solid var(--page); color: var(--vf-lin); opacity: 0; visibility: hidden; transform: translate(-50%, 12px) scale(.9); transition: opacity .3s, transform .45s var(--ease-spring), visibility 0s .3s; pointer-events: none; font-size: 1.125rem; }
.book__card strong { display: block; font: 650 1.1875rem/1.15 var(--font-title); color: var(--page); margin-bottom: 6px; }
.book:hover .book__card, .book.is-open .book__card, .book__spine:focus-visible + .book__card { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); transition: opacity .3s, transform .45s var(--ease-spring); }
@media (max-width: 760px) {
  .shelf__books { flex-direction: column; align-items: stretch; padding-top: 0; gap: 8px; }
  .shelf__plank { display: none; }
  .book__spine { writing-mode: horizontal-tb; transform: none; width: 100%; height: auto; justify-content: flex-start; padding: 14px 16px; border-radius: 8px; white-space: normal; text-align: left; flex-direction: column; align-items: flex-start; line-height: 1.3; }
  .book__spine small { margin: 6px 0 0; }
  .book__spine:hover, .book__spine:focus-visible, .book.is-open .book__spine { translate: 8px 0; rotate: 0deg; }
  .book__card { display: none; }
}

/* ───────────── Tarification ───────────── */
/* 5. Lignes de prestation : titre, tarif à droite, descriptif sur sa propre ligne.
   Sélecteurs d'enfant direct : le tarif peut contenir un repère [à préciser] ou un numéro. */
.lines { list-style: none; border-top: 1px solid var(--vf-rule); }
.row      { display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px 14px;
            padding: 13px 0; border-bottom: 1px solid var(--vf-rule); }
.row > b    { font: 600 var(--step-1)/1.2 var(--font-title); flex: 0 1 auto; min-width: 0; }
.row > span { font-family: var(--font-ui); font-variant-numeric: tabular-nums;
              flex: none; margin-left: auto; white-space: nowrap; }
.row > em   { font-family: var(--font-ui); font-style: normal; flex: 1 1 auto; min-width: 0; }
@media (max-width: 600px) {
  .row > em   { flex: 1 1 100%; order: 3 }
  .row > span { order: 2 }
}
.row .placeholder { font-size: .9375rem; padding: 4px 10px; }
.prestations { display: flex; flex-direction: column; }
.prestations__h { margin: clamp(36px, 5vw, 64px) 0 14px; }
.prestations__cta { align-self: flex-start; margin-top: 32px; }

/* ───────────── Me contacter ───────────── */
/* Coordonnées : les lignes de la section 5. Le numéro est l'appel : rose, en gros caractère. */
.row > .row__wrap { white-space: normal; overflow-wrap: anywhere; min-width: 0; flex: 0 1 auto; font-size: 1.125rem; }
.booking { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); }
@media (max-width: 1100px) { .booking { grid-template-columns: 1fr; } }
.cal__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.cal__month { font: 650 1.375rem/1 var(--font-title); text-transform: capitalize; }
.cal__nav { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--vf-rule); background: transparent; color: var(--vf-lin); cursor: pointer; transition: border-color .3s; }
.cal__nav .icon { width: 20px; height: 20px; }
.cal__nav:hover { border-color: var(--vf-lin); }
.cal__nav:disabled { opacity: .3; pointer-events: none; }
.cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal__wd { text-align: center; font: 700 .875rem/1 var(--font-ui); letter-spacing: .1em; text-transform: uppercase; padding: 6px 0 8px; color: var(--vf-soft); }
.cal__day { aspect-ratio: 1; display: grid; place-items: center; border: 1px solid var(--vf-rule); border-radius: var(--radius-block); background: transparent; color: var(--vf-lin); font: 600 1.125rem/1 var(--font-ui); font-variant-numeric: tabular-nums; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s; }
.cal__day:hover { border-color: var(--vf-lin); }
.cal__day[disabled] { border-color: transparent; color: color-mix(in srgb, var(--vf-lin) 34%, transparent); cursor: default; }
.cal__day.is-today { border: 2px solid var(--vf-soft); }
.cal__day[aria-pressed="true"] { background: var(--vf-lin); border-color: var(--vf-lin); color: var(--vf-nuit); }
.slots__list { display: flex; flex-wrap: wrap; gap: 10px; }
.slot-btn { min-height: 50px; padding: 0 20px; border-radius: 999px; border: 2px solid var(--vf-rule); background: transparent; color: var(--vf-lin); font: 700 1.125rem/1 var(--font-ui); font-variant-numeric: tabular-nums; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s; }
.slot-btn:hover { border-color: var(--vf-lin); }
.slot-btn[aria-checked="true"] { background: var(--vf-lin); border-color: var(--vf-lin); color: var(--vf-nuit); }
.booking__pick { padding: 14px 18px; border-radius: var(--radius-block); border: 1px solid var(--vf-rule); color: var(--vf-lin); font: 600 1.125rem/1.35 var(--font-ui); margin: 0 0 20px; }
.booking__pick.is-set { border: 2px solid var(--vf-lin); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
@media (max-width: 600px) { .fields { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; font: 600 1.125rem/1.2 var(--font-ui); }
.field--wide { grid-column: 1 / -1; }
.field input, .field textarea { width: 100%; min-height: 52px; padding: 12px 16px; border-radius: var(--radius-block); border: 2px solid var(--vf-rule); background: var(--vf-nuit); color: var(--vf-lin); font: 400 1.125rem/1.3 var(--font-text); transition: border-color .25s; }
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--vf-lin); }
.field input:user-invalid { border-color: var(--vf-rose-clair); }
.booking__error { margin: 12px 0 0; padding: 10px 14px; border-radius: var(--radius-block); border: 2px solid var(--vf-rose-clair); color: var(--vf-rose-clair); font-weight: 700; }
.booking .btn { margin-top: 18px; }

/* ───────────── Pied de page (accueil) ───────────── */
.foot { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; padding: clamp(20px, 5vw, 64px); }
@media (max-width: 1100px) { .foot { grid-template-columns: minmax(0, 1fr); } }
.foot .link-arrow { max-width: 100%; }
.foot .link-arrow span { overflow-wrap: anywhere; }
.foot__motto { font: 650 clamp(2.2rem, 1.2rem + 3.6vw, 4.6rem)/1.05 var(--font-title); color: var(--vf-lin); }
.foot__motto .brain { display: inline-block; width: .74em; height: .66em; vertical-align: -.02em; --fold: var(--vf-violet-deep); }
.foot__col { display: flex; flex-direction: column; gap: 18px; justify-content: space-between; }
.foot__big { display: inline-flex; align-items: center; gap: 12px; font: 700 clamp(1.5rem, 1.1rem + 2vw, 2.6rem)/1 var(--font-ui); color: var(--vf-rose); text-decoration: none; }
.foot__big .icon { width: .8em; height: .8em; transition: transform .6s var(--ease-spring); }
.foot__big:hover .icon { transform: rotate(-18deg) scale(1.2); }
.foot__links { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; font: 600 1.125rem/1.4 var(--font-ui); }
.foot__links a { text-decoration: none; }
.foot__links a:hover { text-decoration: underline; }
.foot__legal { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 22px 0 0; border-top: 1px solid var(--vf-rule); font: 400 1.125rem/1.4 var(--font-ui); color: var(--vf-soft); }

.cards { display:grid; gap:14px; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); margin:var(--gap) 0; }
.card { display:block; border-radius:var(--radius-panel); padding:22px 22px 26px;
        background:var(--c); color:var(--vf-nuit); text-decoration:none;
        transition:transform .45s var(--ease-spring), box-shadow .4s;
        box-shadow:0 12px 30px -18px #000; }
.card:hover { transform:translateY(-5px); box-shadow:0 24px 40px -20px #000; }
.card--tel  { --c: var(--vf-rose); }
.card--mail { --c: var(--vf-brique-clair); }
.card--ou   { --c: var(--vf-canard-clair); }
.card b { display:flex; align-items:center; gap:9px;
          font:700 .75rem/1 var(--font-ui); letter-spacing:.16em; text-transform:uppercase; opacity:.82; }
.card b svg { width:18px; height:18px; }
.card__v { display:block; margin-top:26px;
           font:700 clamp(1.375rem,1rem+1.2vw,1.875rem)/1.2 var(--font-ui);
           font-variant-numeric:tabular-nums; white-space:nowrap; }
.card__v--sm { font-size:1.0625rem; line-height:1.35; white-space:normal; word-break:break-word; }
.card__li { margin:14px 0 0; padding:0; list-style:none;
            display:flex; flex-wrap:wrap; gap:6px 14px; font:600 .9375rem/1 var(--font-ui); }
.card__li li::before { content:""; display:inline-block; width:7px; height:7px;
            border-radius:50%; background:var(--vf-nuit); opacity:.5; margin-right:7px; }

/* ───────────── Mouvement réduit ───────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  @view-transition { navigation: none; }
  /* la fiche du livre reste masquée par visibility, jamais par une opacité nulle */
  .book__card { opacity: 1; transform: translate(-50%, 0); }
}

/* ─── Cibles tactiles du pied de page ─────────────────────────────────
   Les huit liens du pied faisaient 26 px de haut, « Mentions légales »
   25, l'adresse de courriel 32, et les liens soulignés tombaient à 34 au
   téléphone. Le plancher confortable pour un doigt est 44 px — c'est la
   première chose qui manque à quelqu'un dont la main tremble.
   Le texte ne grandit pas : c'est la zone qui répond au doigt qui
   grandit. Mesuré : l'accueil passe de 17 liens sous 44 px à 7, et le
   pied n'en a plus aucun. Le pied gagne environ 90 px au téléphone. */
.foot__links a,
.foot__legal a,
.courriel { display: inline-flex; align-items: center; min-height: 44px; }

.foot__links a,
.foot__legal a { padding-inline: 2px; }

/* Les liens soulignés à la main portent leur trait dans un SVG posé sous
   le texte : les passer en inline-flex sortirait le trait de sa place.
   On les grandit par le remplissage, sans toucher à leur affichage. */
a.souligne { padding-block: 10px; }

/* L'adresse de courriel du pied débordait sa colonne de 40 px à 390 et de
   70 px à 360 : la fin était coupée, et personne ne pouvait la lire pour
   vous écrire. Elle était figée à 1,25 rem par un style en ligne, retiré
   de src/build.py ; elle se met maintenant à la largeur disponible. */
.courriel .courriel__adr { font-size: clamp(0.875rem, 3.9vw, 1.25rem); }

/* Sous 340 px — les plus vieux téléphones — l'adresse passe sous
   l'enveloppe plutôt que d'être coupée. */
@media (max-width: 340px) { .courriel { flex-wrap: wrap; } }

/* Les numéros et adresses écrits au fil d'une phrase : on ne touche pas à
   la ligne, on épaissit seulement la zone qui répond au doigt. Le
   remplissage vertical d'un élément en ligne n'écarte pas les lignes. */
a[href^="tel:"]:not(.pill-btn):not(.appel):not(.btn),
a[href^="mailto:"]:not(.courriel):not(.btn) { padding-block: 11px; }

/* ═══ LA PASSERELLE : le mot souligné à la main + la flèche en pastille (Qui suis-je, Articles, Bilan) ═══ */
.passerelle { margin: 1.4em 0 0; }
.lien { display: inline-flex; align-items: center; gap: .55em; text-decoration: none; color: inherit; }
.lien .souligne { padding-bottom: .38em; }
.pastille { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; background: var(--page, var(--vf-sable)); }
.pastille svg { width: 22px; height: 22px; fill: none; stroke: var(--vf-nuit); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) and (pointer: fine) { .pastille svg { transition: transform .25s cubic-bezier(.2,.9,.3,1.2); } .lien:hover .pastille svg { transform: translateX(3px); } }
.lien:focus-visible { outline: 2px solid var(--page, var(--vf-sable)); outline-offset: 6px; border-radius: 4px; }
