/* Hallmark · shape: le titre en face de la fenêtre d'Alyo, puis la fenêtre reste à l'écran pendant que six chapitres défilent à côté dans l'ordre de sa barre, les outils sur mesure, la démo · genre: modern-minimal · theme: custom · redesign: full · job: sign up · idea: "On défile, et le logiciel passe sous nos yeux d'un module à l'autre : chaque phrase a son écran." · vibe: "pro, sobre, Apple, vivant, une menthe"
 * paper: oklch(97.2% 0.005 165) · accent: oklch(82% 0.17 161.3) · display: Sora · body: Hanken Grotesk · hero: le titre à gauche, à droite la fenêtre d'Alyo sur le tableau de bord, qui restera collée à l'écran · nav: pilule flottante, logo, quatre liens, une action · footer: déclaration (le slogan en grand) puis les liens · imagery: le produit construit dans son propre langage, aucune capture · signature: la fenêtre collée qui suit le chapitre lu, sa barre latérale avec elle
 * axes: light/grotesk-heavy/chromatic-green · posture: restrained · contrast: pass · fold: pass · v2.0.0 */
/* Pas de bouton Pause (décision de Sam, 26/10) : ici rien ne tourne seul, c'est le défilement qui change la vue. */
@import url("./accueil.css?v=34");

/* ---------- la visite : à gauche le titre puis les chapitres, à droite la fenêtre collée ---- */
.tour { --win: 448px; --stick: max(104px, calc(50vh - var(--win) / 2)); padding: var(--stick) 0 var(--space-2xl); }
.tour__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-2xl); }
.tour__flow { min-width: 0; }
.tour__hero { display: grid; align-content: center; gap: var(--space-lg); min-height: var(--win); }
.tour__hero h1 { font-size: clamp(2.5rem, 2.6vw + 1.25rem, 4rem); line-height: 1.02; }
.tour__hero .actions { margin-top: var(--space-sm); }

/* la fenêtre : le dessin du hero de l'accueil, posée sur le papier, collée au milieu de l'écran */
.tour__stage { min-width: 0; }
.tour__app { position: sticky; top: var(--stick); justify-items: stretch; }
.tour__app .app__window { height: var(--win); border-color: color-mix(in oklab, var(--color-ink) 8%, transparent); box-shadow: 0 1px 2px color-mix(in oklab, var(--color-ink) 5%, transparent), 0 12px 24px -8px color-mix(in oklab, var(--color-ink) 10%, transparent), 0 40px 80px -24px color-mix(in oklab, var(--color-ink) 18%, transparent); }
.tour__app .app__bars { height: 148px; }
.tour__app .app__bars i { background: color-mix(in oklab, var(--color-ink) 9%, var(--color-surface)); }
.tour__app .app__bars i:nth-child(6) { background: var(--color-accent); }
.tour__app .avis__reponse { font-size: var(--text-sm); }
/* Commandes : le ticket N° 1042 traverse les colonnes à chaque fois que la vue s'ouvre */
.tour__kanban { gap: var(--space-sm); }
.tour__kanban .kanban__cols { margin-bottom: var(--space-3xs); }
.tour__kanban .kanban__ticket b { white-space: nowrap; }
.tour__app .app__view.is-live .kanban__ticket--move { animation: avance 3.6s var(--ease-in-out) 200ms 1 both; }

/* un chapitre par module : une hauteur d'écran environ, le texte au milieu ; un trait vert s'allume sur celui qu'on lit */
.chap { position: relative; display: grid; align-content: center; justify-items: start; gap: var(--space-md); min-height: max(var(--win), 64vh); padding-left: var(--space-lg); }
.chap::after { content: ""; position: absolute; left: 0; top: 50%; width: 2px; height: 168px; margin-top: -84px; border-radius: 1px; background: var(--color-accent-text); transform: scaleY(0); transform-origin: center; transition: transform var(--dur-long) var(--ease-out); }
.chap.is-active::after { transform: none; }
.chap__head { display: flex; align-items: center; gap: var(--space-md); }
.chap__head .tile { width: 44px; height: 44px; }
.chap__head h2 { font-size: var(--text-2xl); line-height: 1.1; letter-spacing: -0.03em; }
.chap__texte { font-size: var(--text-lead); line-height: 1.4; color: var(--color-ink); max-width: 34ch; }
.chap__plus { color: var(--color-ink-2); max-width: 40ch; }
.chap .link { margin-top: var(--space-xs); }

/* la petite vue de chaque chapitre : seulement quand la fenêtre n'est pas là (téléphone) */
.vue { display: none; }

/* ---------- les outils sur mesure : le texte, et la liste de ce qu'on construit avec vous ---- */
.outils-s__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-2xl); align-items: center; }
.outils-s .head { gap: var(--space-md); }
.outils-s .head .link { justify-self: start; margin-top: var(--space-xs); }
.outils { display: grid; gap: var(--space-md); padding: var(--space-xl); border-radius: var(--radius-frame); background: var(--color-surface); box-shadow: var(--shadow-card); }
.outils__titre { font-weight: 600; color: var(--color-ink-2); font-size: var(--text-sm); }
.outils__list { list-style: none; margin: 0; padding: 0; }
.outil { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: var(--space-md); min-height: 72px; padding: var(--space-xs) 0; border-top: 1px solid var(--color-rule); }
.outil .tile { width: 40px; height: 40px; }
.outil .feed__text b { font-size: var(--text-md); }
.outil .feed__text span { white-space: normal; }
/* le dernier : une place en pointillés, avec la tuile « + » */
/* le cadre en pointillés déborde de sa marge intérieure : sa tuile « + » reste dans l'axe des autres tuiles */
.outil--vous { margin: var(--space-xs) calc(-1 * var(--space-md)) 0; padding: var(--space-sm) var(--space-md); border-top: 0; border-radius: var(--radius-card); outline: 1.5px dashed color-mix(in oklab, var(--color-ink) 22%, transparent); outline-offset: -1.5px; }
.outil__plus { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--radius-tile); background: var(--color-accent); box-shadow: inset 0 1px 0 var(--tile-highlight); }
.outil__plus svg { width: 20px; height: 20px; stroke: var(--color-accent-ink); fill: none; stroke-width: 2.2; stroke-linecap: round; }

/* entre la tablette et le petit portable, la barre latérale ne garde que ses icônes */
@media (max-width: 72rem) and (min-width: 60.01rem) {
  .tour__grid { gap: var(--space-xl); }
  .tour__app .app__window { grid-template-columns: 64px minmax(0, 1fr); }
  .tour__app .app__logo, .tour__app .app__side li span { display: none; }
  .tour__app .app__side { padding: var(--space-md) var(--space-xs); }
  .tour__app .app__side li:not(.app__logo) { justify-content: center; padding: 0; }
}
@media (max-width: 60rem) {
  .tour { padding-top: calc(var(--space-3xl) + var(--space-md)); padding-bottom: var(--section-gap-s); }
  .tour__grid, .outils-s__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .tour__stage { display: none; }
  .tour__hero { min-height: 0; }
  .chap { min-height: 0; padding: var(--space-2xl) 0 0; gap: var(--space-sm); }
  .chap::after { display: none; }
  .chap__head .tile { width: 40px; height: 40px; }
  .chap__texte { font-size: var(--text-lg); }
  .vue { display: block; margin-top: var(--space-sm); width: 100%; padding: var(--space-lg); border-radius: var(--radius-frame); background: var(--color-surface); box-shadow: var(--shadow-card); }
  .outils { padding: var(--space-lg); }
}
@media (max-width: 40rem) {
  .vue { padding: var(--space-md); }
  .outil { gap: var(--space-sm); }
}
/* les gestes des petites vues, comme dans les cartes de l'accueil (qui les attachent à .mod) */
.js .vue.is-in .kanban__ticket--move { animation: avance 3.6s var(--ease-in-out) 500ms 1 both; }
.js .vue.is-in .campagne__envoi i { transform: scaleX(1); }
.js .vue.is-in .bord__bars i { transform: scaleY(1); }
@media (prefers-reduced-motion: reduce) {
  .chap::after { transition: none; }
  .tour__app .app__view.is-live .kanban__ticket--move { animation: none; transform: translateX(calc(200% + 2 * var(--space-sm))); }
  .js .vue.is-in .kanban__ticket--move { animation: none; transform: translateX(calc(200% + 2 * var(--space-sm))); }
}
.vue .app__list .app__row:first-child { border-top: 0; }
/* les barres de la semaine comme dans la fenêtre : en gris, une seule en vert */
.vue .bord__bars i { background: color-mix(in oklab, var(--color-ink) 9%, var(--color-surface)); }
.vue .bord__bars i:nth-child(6) { background: var(--color-accent); }
