/* GUADO — la landing App rhabillée (base Aube, pièces ClickUp ; maquette maquettes/landing-aube/, choix de Landry du 25 nov. 2026).
   Posée par-dessus landing-app.css ; limitée à la page App (body.aube) : la rubrique Conseil ne la charge pas. Valeurs : uniquement les jetons de tokens.css.
   Les masques (mask-image) n'utilisent que l'opacité : l'encre y sert de plein, jamais de couleur visible. */

/* ---------- Fond : la nappe fixe qui dérive (Aube .ambient), lilas et pêche ---------- */
.aube { background: var(--ground-soft); }
.ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background: linear-gradient(180deg, var(--ground) 0%, var(--fond-lilas) 45%, var(--fond-peche) 100%);
}
.ambient__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.75;
  animation: derive 22s var(--ease-trace) infinite alternate;
}
.ambient__blob--1 { width: 70vw; height: 60vw; left: -10vw; top: -25vw; background: var(--lilas); }
.ambient__blob--2 { width: 55vw; height: 50vw; right: -15vw; top: 10vw; background: var(--peche); animation-delay: -7s; }
.ambient__blob--3 { width: 50vw; height: 45vw; left: 20vw; bottom: -30vw; background: var(--accent-soft); animation-delay: -14s; }
@keyframes derive {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(4vw, 3vw, 0) scale(1.08); }
}


/* ---------- Apparition floutée et cascade (Aube data-reveal, data-stagger) ---------- */
.aube-js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(6px);
  transition: opacity 0.9s var(--ease-sortie), transform 0.9s var(--ease-sortie), filter 0.9s var(--ease-sortie);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.aube-js [data-reveal="scale"] { transform: translateY(40px) scale(0.96); }
.aube-js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }

/* ---------- Titres mot à mot (Aube data-split) : le mot en couleur garde sa couleur ---------- */
.aube-js [data-split] .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding: 0.1em 0 0.12em;
  margin: -0.1em 0 -0.12em;
}
.aube-js [data-split] .w > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 0.9s var(--ease-sortie);
  transition-delay: calc(var(--wi) * 45ms);
}
.aube-js [data-split].is-in .w > span { transform: none; }

/* ---------- Grands titres (échelle ClickUp), lisibles sur téléphone ---------- */
.aube .titre-scene {
  font-size: clamp(36px, 6vw, 80px);
  line-height: 1.04;
  letter-spacing: -0.025em;
}
.aube .titre-geant {
  font-size: clamp(42px, 8vw, 112px);
  line-height: 1;
  letter-spacing: -0.03em;
}
.aube .section__texte--centre { max-width: 980px; }
.aube .section__texte--centre .section__corps { max-width: 620px; }

/* ---------- Hero : la maquette vitrée qui respire (ClickUp FX-10, Aube breathe) ---------- */
.aube .vitre {
  padding: 10px;
  border: 1px solid var(--line-glass);
  border-radius: calc(var(--radius-lg) + 10px);
  background: var(--glass);
  box-shadow: var(--shadow-glass-on);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  animation: respire 7s ease-in-out infinite;
}
@keyframes respire { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

/* La démo de 10 s : une phrase saisie devient une tâche, puis une tâche essentielle se coche */
.e-saisie {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}
.e-saisie__plus { position: relative; flex: none; width: 14px; height: 14px; }
.e-saisie__plus::before,
.e-saisie__plus::after { content: ""; position: absolute; left: 6px; top: 0; width: 2px; height: 14px; border-radius: 1px; background: var(--accent); }
.e-saisie__plus::after { transform: rotate(90deg); }
/* la largeur du texte (--largeur) est mesurée par aube.js : le curseur suit la frappe */
.demo-frappe { display: inline-block; overflow: hidden; white-space: nowrap; width: 0; animation: frappe 10s steps(24, end) infinite; }
.demo-curseur { flex: none; width: 1.5px; height: 15px; margin-left: -9px; background: var(--accent); animation: curseur 1s step-end infinite; }
.demo-nouvelle { transform-origin: 50% 0; animation: apparition-tache 10s var(--ease-sortie) infinite; }
.demo-coche .e-case { animation: case-cochee 10s ease infinite; }
.demo-coche .e-tache__nom {
  background: linear-gradient(currentColor, currentColor) 0 55% / 0 1.2px no-repeat;
  animation: barre 10s var(--ease-sortie) infinite;
}
.demo-compte { display: inline-grid; }
.demo-compte > span { grid-area: 1 / 1; }
.demo-avant { animation: compte-avant 10s step-end infinite; }
.demo-apres { opacity: 0; animation: compte-apres 10s step-end infinite; }
@keyframes frappe { 0%, 4% { width: 0; } 24%, 30% { width: var(--largeur, auto); } 31%, 100% { width: 0; } }
@keyframes curseur { 50% { opacity: 0; } }
.demo-nouvelle { overflow: hidden; }
@keyframes apparition-tache {
  0%, 30% { opacity: 0; transform: translateY(-8px) scale(0.96); max-height: 0; margin-top: -16px; padding-top: 0; padding-bottom: 0; border-width: 0; }
  36%, 92% { opacity: 1; transform: none; max-height: 80px; margin-top: 0; padding-top: 10px; padding-bottom: 10px; border-width: 1px; }
  98%, 100% { opacity: 0; transform: translateY(-4px); max-height: 0; margin-top: -16px; padding-top: 0; padding-bottom: 0; border-width: 0; }
}
@keyframes case-cochee { 0%, 46% { background-color: transparent; } 50%, 94% { background-color: var(--accent); } 100% { background-color: transparent; } }
@keyframes barre { 0%, 48% { background-size: 0 1.2px; } 56%, 94% { background-size: 100% 1.2px; } 100% { background-size: 0 1.2px; } }
@keyframes compte-avant { 0% { opacity: 1; } 50% { opacity: 0; } 97% { opacity: 1; } }
@keyframes compte-apres { 0% { opacity: 0; } 50% { opacity: 1; } 97% { opacity: 0; } }

/* ---------- Constat : le fil emmêlé se démêle en trajectoire (ClickUp S03, Aube chaos → clarté) ---------- */

/* ---------- 02 — Travaillez mieux. Pas plus. (Landry, 26 nov., maquette travaillez-mieux) ----------
   Quatre étapes : sur ordinateur, des rangées à la Morgen (texte à gauche, écran à droite) ; sur téléphone et tablette,
   le fil de la trajectoire à la Sunsama les relie, l'icône de chaque étape posée sur le fil. */
.aube #methode > .section__interieur { text-align: center; }
/* le point reste collé au mot en couleur (le titre est découpé mot à mot) */
.sans-coupure { white-space: nowrap; }
.aube #methode .section__numero,
.etape__nom { color: var(--accent-hover); }
.etape__titre {
  margin: var(--space-3) 0 0;
  font-family: var(--font-display);
  font-variation-settings: "opsz" 96;
  font-weight: 400;
  font-size: clamp(28px, 3.3vw, 46px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}
.etape__corps { max-width: 600px; margin: var(--space-4) auto 0; }
.etape .puces { justify-content: center; }
.etape__texte .section__icone { margin-bottom: var(--space-4); }
.etape__visuel .scene { margin-left: auto; margin-right: auto; }
.etape__visuel .illustration { margin-top: 0; }

/* téléphone et tablette : le fil conducteur */
@media (max-width: 959.98px) {
  .methode { position: relative; padding-bottom: 72px; }
  .etape { position: relative; padding-top: clamp(64px, 12vw, 104px); }
  .etape::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    width: 2px;
    height: calc(clamp(64px, 12vw, 104px) + 4px);
    border-radius: 1px;
    background: linear-gradient(180deg, var(--lilas), var(--accent));
    transform: translateX(-50%);
  }
  .etape:nth-child(2)::before { background: var(--accent); }
  .etape:nth-child(3)::before { background: linear-gradient(180deg, var(--accent), var(--or-rose), var(--or)); }
  .etape:nth-child(4)::before { background: var(--or); }
  /* le nœud : l'icône cerclée, posée sur le fil */
  .etape .section__icone { position: relative; box-shadow: 0 0 0 6px var(--surface), 0 0 0 7px color-mix(in srgb, var(--accent) 35%, transparent); }
  .etape__visuel .scene { margin-top: clamp(32px, 6vw, 48px); }
  /* le fil finit sur le point mandarine de la trajectoire */
  .methode::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 2px;
    height: 56px;
    background: linear-gradient(180deg, var(--or), var(--or));
    transform: translateX(-50%);
  }
  .methode::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -7px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--or);
    transform: translateX(-50%);
  }
}

/* ordinateur : les rangées */
@media (min-width: 960px) {
  .methode { margin-top: clamp(24px, 4vw, 56px); }
  .etape {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: clamp(40px, 5vw, 80px);
    padding: clamp(48px, 5vw, 80px) 0;
    border-top: 1px solid var(--line);
    text-align: left;
  }
  .etape:first-child { border-top: 0; }
  .etape .etape__corps { margin-left: 0; }
  .etape .puces { justify-content: flex-start; }
  .etape .section__icone { margin-left: 0 !important; }
  .etape__visuel .scene { margin-top: 0; }
  .etape__visuel .scene__mascotte { display: none; }
  .etape .scene--photo { grid-template-columns: 1fr; }
  .etape .scene--photo .ecran { margin: -56px 0 0 24px; }
}

/* ---------- 01 — Ce qui freine vos ambitions (Landry, 26 nov.) ----------
   Fragment v2 en cartes de verre : derrière, la lumière diffuse de la planche et le fil de la trajectoire, noué sous chaque
   carte, que le verre floute (sans verre sur du blanc : la lumière est là pour que le verre se voie). */
/* sur téléphone et tablette, l'écran du hero chevauche le haut du panneau */
@media (max-width: 1023.98px) {
  .aube #freins > .section__interieur { padding-top: calc(var(--chevauchement) + clamp(40px, 6vw, 72px)); }
}
.aube #freins > .section__interieur {
  isolation: isolate;
  overflow: hidden;
  padding-bottom: clamp(44px, 6vh, 80px);
}
/* sur ordinateur, le panneau tient dans la fenêtre, sous la barre */
@media (min-width: 1024px) {
  .aube #freins > .section__interieur { padding-top: clamp(40px, 7vh, 88px); }
}
/* la lumière diffuse : le lilas à gauche, la pêche à droite */
.aube #freins > .section__interieur::before,
.aube #freins > .section__interieur::after { content: ""; position: absolute; z-index: -1; pointer-events: none; }
.aube #freins > .section__interieur::before { left: -12%; top: 18%; width: 68%; height: 90%; background: var(--halo-lilas); }
.aube #freins > .section__interieur::after { right: -14%; top: 26%; width: 64%; height: 84%; background: var(--halo-peche); }
.aube #freins .section__numero { color: var(--accent-hover); }
.aube #freins .titre-section { font-size: clamp(34px, min(5vw, 8vh), 72px); }

.freins { position: relative; margin: clamp(24px, 4vh, 48px) auto 0; }
.freins__fil { position: absolute; left: -4%; top: 0; width: 108%; height: 100%; overflow: visible; pointer-events: none; }
.freins__fil path { stroke: url(#degrade-fil); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; opacity: 0.9; }
.freins__fil--portrait { display: none; }
.freins__fil--portrait path { stroke: url(#degrade-fil-tel); }

.freins__cartes {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 900px) { .freins__cartes { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-5); } }

/* la carte de verre (matière de la vitre du hero) */
.frein {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(22px, 3.4vh, 36px) clamp(16px, 1.8vw, 26px) clamp(24px, 3.6vh, 38px);
  border: 1px solid var(--line-glass);
  border-radius: var(--radius-lg);
  background: var(--glass);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  backdrop-filter: blur(16px) saturate(1.15);
  box-shadow: var(--shadow-glass-on);
  text-align: center;
}
.frein__icone {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--accent);
}
.frein__icone svg { width: 26px; height: 26px; }
.frein__titre {
  margin: var(--space-4) 0 0;
  font-family: var(--font-display);
  font-variation-settings: "opsz" 48;
  font-weight: 500;
  font-size: clamp(19px, 1.7vw, 24px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: balance;
}
.frein__texte { margin: var(--space-2) 0 0; font-size: 15px; line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.frein:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
/* « freins » dans le titre : la mandarine de la trajectoire, en encre lisible (le violet reste aux actions) */
.mot-frein { color: var(--or-encre); }

/* Sur ordinateur (avec souris), les titres d'abord : la description se déplie au survol ou au clavier, en fondu.
   Sur écran tactile, pas de survol : elle reste visible. */
@media (hover: hover) and (min-width: 900px) {
  .frein { justify-content: center; min-height: clamp(250px, 34vh, 300px); }
  .frein__detail {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    transform: translateY(6px);
    transition: grid-template-rows 0.45s var(--ease-sortie), opacity 0.35s ease, transform 0.45s var(--ease-sortie);
  }
  .frein__detail > .frein__texte { overflow: hidden; min-height: 0; margin: 0; padding-top: var(--space-2); }
  .frein:hover .frein__detail,
  .frein:focus-within .frein__detail,
  .frein:focus-visible .frein__detail { grid-template-rows: 1fr; opacity: 1; transform: none; }
  .frein { transition: box-shadow 0.3s ease, border-color 0.3s ease; }
  .frein:hover { border-color: color-mix(in srgb, var(--accent) 30%, transparent); }
}

/* la chute : la phrase qui arrête */
.freins__chute {
  max-width: 820px;
  margin: clamp(24px, 4.5vh, 56px) auto 0;
  font-family: var(--font-display);
  font-variation-settings: "opsz" 48;
  font-size: clamp(22px, min(2.6vw, 4.2vh), 36px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-align: center;
  text-wrap: balance;
}
.freins__chute strong { font-weight: 600; }

@media (max-width: 899.98px) {
  .freins__fil--paysage { display: none; }
  .freins__fil--portrait { display: block; left: -6%; width: 112%; }
}
/* téléphone : des cartes serrées, pour que les quatre tiennent sous le titre */
@media (max-width: 639.98px) {
  .aube #freins > .section__interieur { padding-left: 14px; padding-right: 14px; }
  .freins__cartes { gap: 10px; }
  .frein { padding: 14px 10px 16px; border-radius: 20px; }
  .frein__icone { width: 38px; height: 38px; }
  .frein__icone svg { width: 20px; height: 20px; }
  .frein__titre { margin-top: 10px; font-size: 16.5px; }
  .frein__texte { margin-top: 6px; font-size: 13px; line-height: 1.4; }
  .freins__chute { margin-top: 24px; }
}

.demele { --p: 1; display: block; width: 100%; max-width: 1100px; height: auto; margin: clamp(24px, 4vw, 48px) auto 0; overflow: visible; }
.aube-js .demele { --p: 0; }
/* pas de vector-effect ici : il ferait lire les tirets en pixels et non en longueur du tracé (pathLength) */
.demele path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.demele__noeud {
  stroke: var(--line-strong);
  stroke-width: 3.5;
  stroke-dasharray: 1 1;
  stroke-dashoffset: calc(var(--p) * -1);
  opacity: calc(1 - var(--p) * 0.6);
}
.demele__fil { stroke: url(#degrade-demele); stroke-width: 4; stroke-dasharray: 1 1; stroke-dashoffset: calc(1 - var(--p)); }
.demele__point { fill: var(--or); opacity: calc((var(--p) - 0.9) * 10); }
@media (max-width: 759.98px) {
  .demele__noeud { stroke-width: 8; }
  .demele__fil { stroke-width: 10; }
  .demele__point { r: 16; }
}

/* ---------- 01, 02, 04 : grand titre, puis grand écran ---------- */
.aube .scene { position: relative; max-width: 880px; margin: clamp(40px, 6vw, 72px) auto 0; }
.aube .scene::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -18% -14%;
  background: var(--halo-lilas);
  pointer-events: none;
}
.aube .scene--peche::before { background: var(--halo-peche); }
.aube .scene > * { position: relative; z-index: 1; }
.aube .ecran--scene { font-size: 14px; }
@media (min-width: 760px) {
  .aube .ecran--deux { grid-template-columns: 1.3fr 1fr; align-items: start; gap: 20px 28px; padding: 28px; }
  .aube #concentration .e-focus { grid-column: 2; grid-row: 1; }
  .aube #concentration .e-groupe--reste { grid-column: 1; }
}

/* Écrans fondus (ClickUp FX-04, choix de Landry) : l'écran se dissout dans le bloc par le bas */
.aube .ecran--scene {
  padding-bottom: 88px;
  box-shadow: none;
  -webkit-mask-image: linear-gradient(var(--ink) 72%, transparent 100%);
  mask-image: linear-gradient(var(--ink) 72%, transparent 100%);
}

/* la mascotte se penche sur l'écran de 01 */
.aube .scene__mascotte {
  position: absolute;
  z-index: 2;
  left: clamp(-120px, -8vw, -40px);
  bottom: -24px;
  width: clamp(120px, 13vw, 180px);
  height: auto;
}
@media (max-width: 759.98px) {
  .aube .scene__mascotte { left: auto; right: -8px; top: -70px; bottom: auto; width: 86px; }
}

/* 04 : la photo dans sa carte vitrée (goût Morgen), l'écran de la note qui la chevauche */
.aube .scene--photo { display: grid; max-width: 980px; }
.carte-vitree {
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line-glass);
  border-radius: calc(var(--radius-xl) + 12px);
  background: var(--glass);
  box-shadow: var(--shadow-glass-on);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transform: rotate(-2deg);
}
.carte-vitree img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-xl); }
.aube .scene--photo .ecran { margin: -48px 16px 0; }
@media (min-width: 760px) {
  .aube .scene--photo { grid-template-columns: 1.05fr 1fr; align-items: center; }
  .aube .scene--photo .ecran { margin: 48px 0 0 -72px; }
}

/* 03 : l'illustration se dissout en halo (ClickUp FX-07) */
.aube .illustration--fondue {
  -webkit-mask-image: radial-gradient(closest-side, var(--ink) 60%, transparent 100%);
  mask-image: radial-gradient(closest-side, var(--ink) 60%, transparent 100%);
}

/* ---------- Le mur des fonctionnalités (ClickUp home FX-07) ----------
   « Lavis et écrans » (Landry, 26 nov.) : les grandes tuiles au lavis de leur famille, avec un mini-écran fondu vers le
   bas ; les petites, l'icône de leur fonction dans la tuile de sa famille. Familles et couleurs : les piliers de la page
   Fonctionnalités (S059) ; une lumière passe de tuile en tuile ; le point mandarine au croisement des quatre grandes.
   Actualisé au fil 60 : chaque grande tuile porte son bénéfice en une phrase sous son nom. */
.aube #fonctions .titre-section { margin: 0 auto; }
.mur { margin-top: clamp(28px, 4vw, 48px); overflow: hidden; }
.tuile--executer { --tuile: var(--accent); --trace: var(--on-accent); --bord: var(--accent); --lavis: color-mix(in srgb, var(--accent) 20%, var(--surface)); }
.tuile--planifier { --tuile: var(--or); --trace: var(--ink); --bord: var(--or-encre); --lavis: color-mix(in srgb, var(--or) 26%, var(--surface)); }
.tuile--structurer { --tuile: var(--lilas); --trace: var(--accent-hover); --bord: var(--accent-hover); --lavis: color-mix(in srgb, var(--lilas) 85%, var(--surface)); }
.tuile--progresser { --tuile: var(--peche); --trace: var(--or-encre); --bord: var(--or-encre); --lavis: color-mix(in srgb, var(--peche) 80%, var(--surface)); }
.tuile--piloter { --tuile: var(--logo-bleu); --trace: var(--on-accent); --bord: var(--logo-bleu); --lavis: color-mix(in srgb, var(--logo-bleu) 14%, var(--surface)); }
.mur__grille {
  --cols: 8;
  --rows: 6;
  --tw: 150px;
  --th: 128px;
  --centre-c: 5;
  --centre-r: 4;
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--cols), var(--tw));
  grid-template-rows: repeat(var(--rows), var(--th));
  width: calc(var(--cols) * var(--tw));
  margin-left: 50%;
  transform: translateX(-50%);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent 1%, var(--ink) 14%, var(--ink) 86%, transparent 99%), linear-gradient(transparent 2%, var(--ink) 18%, var(--ink) 82%, transparent 98%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 1%, var(--ink) 14%, var(--ink) 86%, transparent 99%), linear-gradient(transparent 2%, var(--ink) 18%, var(--ink) 82%, transparent 98%);
  mask-composite: intersect;
}
.tuile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  font-size: 13.5px;
  line-height: 1.3;
  color: var(--ink);
  text-align: center;
  transition: background-color 1.2s var(--ease-sortie), box-shadow 0.35s var(--ease-sortie), transform 0.35s var(--ease-sortie);
}
/* la petite tuile : l'icône de la fonction, dans la tuile de sa famille (comme la page Fonctionnalités) */
.tuile__icone {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: var(--tuile);
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--surface) 45%, transparent), 0 5px 12px -7px color-mix(in srgb, var(--tuile) 90%, transparent);
  color: var(--trace);
  transition: transform 0.6s var(--ease-sortie);
}
.tuile__icone svg { width: 19px; height: 19px; }
.tuile--venir { color: var(--ink-2); }
.tuile--venir .tuile__icone { background: transparent; box-shadow: none; border: 1.5px dashed var(--bord); color: var(--bord); }
/* la lumière qui passe : la tuile prend le lavis de sa famille, son icône se soulève */
.tuile--lueur { background-color: var(--lavis); }
.tuile--lueur .tuile__icone { transform: translateY(-3px); }
@media (hover: hover) {
  .tuile--petite:not(:empty):hover { z-index: 2; background: var(--surface); box-shadow: 0 0 0 1px var(--ink), 0 18px 40px -20px color-mix(in srgb, var(--ink) 45%, transparent); }
  .tuile--petite:not(:empty):hover .tuile__icone { transform: translateY(-3px) rotate(-4deg); }
}

/* la grande tuile : le lavis de sa famille, le mini-écran en haut, son nom en bas */
.tuile--grande {
  grid-column: var(--c) / span 2;
  grid-row: var(--r) / span 2;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 0 18px 22px;
  overflow: hidden;
  background:
    radial-gradient(120% 85% at 30% 12%, var(--lavis) 0%, color-mix(in srgb, var(--lavis) 45%, var(--surface)) 55%, var(--surface) 100%);
  color: var(--ink);
  text-decoration: none;
}
.tuile--grande:hover { z-index: 1; transform: translateY(-4px); box-shadow: var(--shadow-glass-on); }
.tuile--grande:nth-child(1) { --c: 3; --r: 2; }
.tuile--grande:nth-child(2) { --c: 5; --r: 2; }
.tuile--grande:nth-child(3) { --c: 3; --r: 4; }
.tuile--grande:nth-child(4) { --c: 5; --r: 4; }
.tuile__marque { position: relative; display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 21px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.15; text-align: left; }
.tuile__phrase { position: relative; margin-top: 6px; font-size: 13.5px; line-height: 1.35; color: var(--ink-2); text-align: left; text-wrap: pretty; }
.tuile__pastille {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--tuile);
  color: var(--trace);
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--surface) 45%, transparent);
}
.tuile__pastille svg { width: 20px; height: 20px; }
.tuile__pastille .point { fill: currentColor; }

/* le mini-écran : quelques éléments vrais de l'app, le reste en traits, fondu vers le bas (ClickUp FX-04, Framer FX-08) */
.mini {
  position: absolute;
  inset: 18px 18px auto 18px;
  height: 58%;
  display: flex;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 11px;
  line-height: 1.25;
  text-align: left;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(var(--ink) 50%, transparent 98%);
  mask-image: linear-gradient(var(--ink) 50%, transparent 98%);
}
.mini__fenetre {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  gap: 7px;
  width: 72%;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  box-shadow: 0 10px 24px -18px color-mix(in srgb, var(--ink) 60%, transparent);
  transition: transform 0.6s var(--ease-sortie);
}
.mini__fenetre--cote { width: 46%; align-items: center; }
.mini__tete { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.mini__etiquette { padding: 2px 7px; border-radius: var(--radius-pill); background: var(--accent-soft); color: var(--accent-hover); font-weight: 600; }
.mini__titre { font-weight: 600; color: var(--ink); }
.mini__compte { color: var(--ink-2); font-variant-numeric: tabular-nums; }
.mini__tache { display: flex; align-items: center; gap: 6px; color: var(--ink); white-space: nowrap; }
.mini__case { flex: none; width: 11px; height: 11px; border: 1.4px solid var(--line-strong); border-radius: 50%; }
.mini__case--essentiel { border-color: var(--accent); }
.mini__case--faite { border-color: var(--accent); background: var(--accent); box-shadow: inset 0 0 0 2px var(--surface); }
.mini__trait { display: block; flex: 1; height: 6px; min-width: 40px; border-radius: var(--radius-pill); background: color-mix(in srgb, var(--ink) 9%, var(--surface)); }
.mini__trait--court { flex: none; width: 55%; }
.mini__fenetre > .mini__trait { flex: none; width: 100%; }
.mini__fenetre > .mini__trait--court { width: 60%; }
.mini__heure { flex: none; width: 24px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.mini__jauge { display: block; height: 6px; border-radius: var(--radius-pill); background: color-mix(in srgb, var(--or) 22%, var(--surface)); }
.mini__jauge i { display: block; width: 76%; height: 100%; border-radius: inherit; background: var(--or); }
.mini__minuteur { display: grid; justify-items: center; gap: 4px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink); }
.mini__minuteur svg { width: 40px; height: 40px; transform: rotate(-90deg); }
.mini__minuteur circle { fill: none; stroke-width: 3; }
.mini__anneau-fond { stroke: var(--accent-soft); }
.mini__anneau { stroke: var(--accent); stroke-linecap: round; stroke-dasharray: 94.25; stroke-dashoffset: 30; }
.mini__fenetre--dessous { position: absolute; inset: 10px 0 auto 22%; width: auto; height: 80%; transform: rotate(4deg); opacity: 0.7; }
.mini__fenetre--note { position: relative; width: 82%; }
.mini__etat { align-self: flex-start; padding: 2px 7px; border-radius: var(--radius-pill); background: var(--success-soft); color: var(--success); font-weight: 600; }
.mini__puces { display: flex; flex-wrap: wrap; gap: 4px; }
.mini__puce { align-self: flex-start; padding: 2px 7px; border-radius: var(--radius-pill); background: var(--accent-soft); color: var(--accent-hover); font-weight: 600; }
.mini--illustration { justify-content: center; }
.mini--illustration svg { width: 92%; height: 100%; }
.mini__sol { stroke: color-mix(in srgb, var(--ink) 18%, transparent); stroke-width: 1.5; }
.mini__barre { stroke: color-mix(in srgb, var(--or) 55%, var(--surface)); stroke-width: 14; stroke-linecap: butt; }
.mini__courbe { stroke: var(--or-encre); stroke-width: 2.5; }
.mini__point { fill: var(--or); stroke: var(--surface); stroke-width: 2; }
.tuile--grande:hover .mini__fenetre { transform: translateY(-3px); }

/* le point mandarine, où les quatre grandes tuiles se touchent (la fin du fil de la section 02) */
.mur__point {
  grid-column: var(--centre-c);
  grid-row: var(--centre-r);
  align-self: start;
  justify-self: start;
  z-index: 3;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: var(--or);
  box-shadow: 0 0 0 4px var(--surface), 0 0 22px 4px color-mix(in srgb, var(--or) 55%, transparent);
  pointer-events: none;
}

@media (min-width: 760px) and (max-width: 1279.98px) {
  /* tablette et petit ordinateur : des tuiles plus étroites, pour garder les colonnes de côté en vue */
  .mur__grille { --tw: 118px; --th: 120px; }
  .tuile__marque { font-size: 18px; }
  .tuile__phrase { font-size: 12.5px; }
  .mini { inset: 14px 14px auto 14px; height: 50%; font-size: 10px; }
}
@media (max-width: 759.98px) {
  /* sur téléphone : quatre colonnes sur toute la largeur, les grandes tuiles côte à côte ; le fondu en haut et en bas */
  .mur__grille {
    --cols: 4; --rows: 8; --th: 104px;
    --centre-c: 3; --centre-r: 5;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    margin-left: 0;
    transform: none;
    -webkit-mask-image: linear-gradient(transparent 1%, var(--ink) 16%, var(--ink) 84%, transparent 99%);
    mask-image: linear-gradient(transparent 1%, var(--ink) 16%, var(--ink) 84%, transparent 99%);
  }
  .tuile { gap: 8px; padding: 6px 4px; font-size: 12px; }
  .tuile__icone { width: 32px; height: 32px; border-radius: 10px; }
  .tuile__icone svg { width: 17px; height: 17px; }
  .tuile--grande { padding: 0 10px 12px; }
  .tuile__marque { gap: 7px; font-size: 15px; }
  .tuile__phrase { margin-top: 4px; font-size: 11.5px; line-height: 1.3; }
  /* le nom et sa phrase prennent la place : la couleur du lavis dit déjà la famille */
  .tuile--grande .tuile__pastille { display: none; }
  .tuile__pastille { width: 26px; height: 26px; border-radius: 8px; }
  .tuile__pastille svg { width: 16px; height: 16px; }
  .mini { inset: 12px 10px auto 10px; height: 44%; gap: 6px; font-size: 8.5px; }
  .mini__fenetre { gap: 5px; padding: 6px 7px; border-radius: 8px; }
  .mini__case { width: 9px; height: 9px; }
  .mini__trait { height: 5px; min-width: 24px; }
  .mini__heure { width: 18px; }
  .mini__minuteur svg { width: 30px; height: 30px; }
  .tuile--grande:nth-child(1) { --c: 1; --r: 3; }
  .tuile--grande:nth-child(2) { --c: 3; --r: 3; }
  .tuile--grande:nth-child(3) { --c: 1; --r: 5; }
  .tuile--grande:nth-child(4) { --c: 3; --r: 5; }
}
@media (max-width: 399.98px) {
  /* petit téléphone : la pastille au-dessus du nom, pour que « Planification » tienne dans la tuile */
  .tuile__marque { flex-direction: column; align-items: flex-start; gap: 6px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .tuile, .tuile__icone, .mini__fenetre { transition: none; }
}

/* ---------- Survols (Aube) : la carte monte, ombre teintée ---------- */
.aube .offre__carte { transition: transform 0.45s var(--ease-sortie), box-shadow 0.45s var(--ease-sortie); }
.aube .offre__carte:hover { transform: translateY(-4px); }
.aube .faq__item { transition: border-color 0.2s, box-shadow 0.45s var(--ease-sortie); }
.aube .faq__item:hover { border-color: var(--line-strong); box-shadow: var(--shadow-card); }



/* ---------- Mouvement réduit : tout est là, rien ne bouge ---------- */
@media (prefers-reduced-motion: reduce) {
  .ambient__blob, .aube .vitre { animation: none; }
  .demo * { animation: none !important; }
  .frein__detail { transition: none !important; }
  .demo-frappe { width: auto; }
  .demo-curseur, .demo-avant { display: none; }
  .demo-apres { opacity: 1; }
  .demo-coche .e-case { background-color: var(--accent); }
  .demo-coche .e-tache__nom { background-size: 100% 1.2px; }
  .aube-js [data-reveal], .aube-js [data-split] .w > span { opacity: 1; transform: none; filter: none; transition: none; }
  .aube-js .demele { --p: 1; }
}

/* ---------- 04 — Fondements : l'éditeur de GUADO, de nuit (Landry, 26 nov. 2026, fil 60 ; maquette fondements-editeur) ----------
   La bande d'onglets, la colonne, la feuille et ses îlots, le panneau « Format · Dans cette note · Commentaires » ;
   la note porte les Fondements. Couleurs : les jetons --editeur-* de tokens.css. Sur téléphone, la feuille seule. */
.app #fondements > .editeur-nuit {
  display: grid;
  padding: 0;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  height: clamp(640px, 92vh, 900px);
  overflow: hidden;
  background: var(--editeur-fenetre);
  color: var(--editeur-texte);
  font-family: var(--font-sans);
  box-shadow: var(--editeur-ombre);
}
/* téléphone et tablette : la hauteur de la note, sans vide sous les dépliants */
@media (max-width: 899.98px) { .app #fondements > .editeur-nuit { height: auto; } }
@media (min-width: 900px) { .app #fondements > .editeur-nuit { grid-template-columns: 236px minmax(0, 1fr); } }
@media (min-width: 1240px) { .app #fondements > .editeur-nuit { grid-template-columns: 236px minmax(0, 1fr) 312px; } }
.editeur-nuit svg { flex: none; }
.ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* --- la bande du haut : la marque, puis les onglets --- */
.en-haut { grid-column: 1 / -1; display: flex; align-items: center; height: 52px; padding: 0 14px; gap: 6px; }
.en-marque { display: none; align-items: center; gap: 10px; width: 222px; font-weight: 700; font-size: 15px; }
@media (min-width: 900px) { .en-marque { display: flex; } }
.en-marque img { width: 108px; height: auto; } /* le logo en nom, lettres blanches sur la nuit de l'éditeur (27 nov. 2026) */
.en-marque .ic { margin-left: auto; margin-right: 14px; color: var(--editeur-texte-2); }
.en-onglets { display: flex; align-items: center; gap: 4px; min-width: 0; flex: 1; overflow: hidden; }
.en-onglet { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border-radius: 10px; font-size: 14px; color: var(--editeur-texte-2); white-space: nowrap; }
.en-onglet .ic { width: 16px; height: 16px; }
.en-onglet--actif { background: var(--editeur-ilot); color: var(--editeur-texte); }
.en-onglet--actif .fermer { margin-left: 6px; color: var(--editeur-texte-2); }
.en-cache-petit { display: none; }
@media (min-width: 1100px) { .en-cache-petit { display: flex; } }
.en-outils { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.en-bouton-carre { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--editeur-ilot); color: var(--editeur-texte); }

/* --- la colonne --- */
.en-colonne { display: none; flex-direction: column; padding: 6px 12px 14px; }
@media (min-width: 900px) { .en-colonne { display: flex; } }
.en-champ { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 12px; border-radius: 11px; background: var(--editeur-ilot); color: var(--editeur-texte-2); font-size: 14.5px; }
.en-champ kbd { margin-left: auto; padding: 2px 6px; border-radius: 6px; background: var(--editeur-tuile); font: 500 11px var(--font-sans); color: var(--editeur-texte-2); }
.en-ajouter { display: flex; align-items: center; gap: 10px; height: 42px; margin-top: 8px; padding: 0 0 0 10px; border-radius: 11px; background: var(--editeur-ilot); font-size: 15px; font-weight: 500; }
.en-ajouter .plus { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--editeur-violet); color: var(--editeur-fenetre); font-size: 17px; }
.en-ajouter .ic { margin-left: auto; width: 42px; height: 42px; padding: 12px; border-left: 1px solid var(--editeur-bord); color: var(--editeur-texte-2); }
.en-nav { display: grid; gap: 2px; margin: 18px 0 0; padding: 0; list-style: none; }
.en-nav li { display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 12px; border-radius: 10px; font-size: 15px; }
.en-nav .ic { color: var(--editeur-texte-2); }
.en-nav .sous { padding-left: 42px; }
.en-nav .actif { background: var(--editeur-violet-pale); color: var(--editeur-violet); font-weight: 600; }
.en-nav .sous:not(.actif) { color: var(--editeur-texte); }
.en-reglages { display: flex; align-items: center; gap: 10px; margin-top: auto; padding: 12px 12px 0; border-top: 1px solid var(--editeur-bord); font-size: 15px; }
.en-reglages .ic { color: var(--editeur-texte-2); }

/* --- la feuille --- */
.en-feuille { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 0; margin: 0 0 0 0; border: 1px solid var(--editeur-bord); border-bottom: 0; border-radius: 22px 22px 0 0; background: var(--editeur-feuille); overflow: hidden; }
@media (max-width: 899.98px) { .en-feuille { margin: 0 10px; } }
.en-ilots { display: flex; justify-content: space-between; gap: 10px; padding: 12px 12px 0; }
.en-ilot { display: flex; align-items: center; gap: 12px; height: 46px; padding: 0 16px; border-radius: 14px; background: var(--editeur-ilot); font-size: 14.5px; white-space: nowrap; }
.en-ilot .ic { width: 17px; height: 17px; }
.en-ilot .chevron { color: var(--editeur-texte-2); }
.en-ilot b { font-weight: 600; }
.en-ilot .gris { color: var(--editeur-texte-2); }
@media (max-width: 699.98px) {
  .en-long { display: none; }
  .en-ilot:first-child { min-width: 0; flex: 1 1 auto; overflow: hidden; }
  .en-ilot:first-child b { overflow: hidden; text-overflow: ellipsis; }
  .en-ilot:last-child { flex: none; padding: 0 14px; }
}
.en-note { width: min(100%, 760px); margin: 0 auto; padding: clamp(22px, 4vh, 40px) clamp(20px, 4vw, 44px) 40px; overflow: hidden; }
.en-titre { margin: 0; font-weight: 700; font-size: clamp(28px, 3vw, 40px); line-height: 1.12; letter-spacing: -0.025em; }
.en-curseur { display: inline-block; width: 2px; height: 0.9em; margin-left: 3px; vertical-align: -0.08em; background: var(--editeur-violet); animation: clignote 1.1s steps(1) infinite; }
@keyframes clignote { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .en-curseur { animation: none; } }
.en-meta { margin: 8px 0 0; font-size: 15px; color: var(--editeur-texte-2); }

/* l'encadré au surligné vert (D272), les quatre principes en grand, le verbe en gras comme les notes de Landry */
.en-encadre { margin: clamp(22px, 3.5vh, 36px) 0 0; padding: clamp(18px, 2.4vw, 28px) clamp(18px, 2.6vw, 30px); border-radius: 14px; background: var(--editeur-surligne-vert); }
.en-encadre__titre { margin: 0 0 12px; font-size: clamp(17px, 1.5vw, 20px); font-weight: 700; color: var(--editeur-vert); }
.en-principes { display: grid; gap: clamp(4px, 0.8vh, 10px); margin: 0; padding: 0 0 0 1.1em; }
.en-principes li { padding-left: 0.2em; font-size: clamp(22px, 2.6vw, 36px); line-height: 1.2; letter-spacing: -0.02em; color: var(--editeur-texte); }
.en-principes li::marker { color: var(--editeur-vert); }
.en-principes b { font-weight: 700; }
.en-suite { font-weight: 400; color: color-mix(in srgb, var(--editeur-texte) 82%, transparent); }
.en-filet { height: 1px; margin: clamp(22px, 3.5vh, 34px) 0 clamp(14px, 2vh, 20px); border: 0; background: var(--editeur-bord); }
.en-depliants { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.en-depliants li { display: flex; align-items: center; gap: 14px; min-height: 36px; font-size: 17px; }
.en-depliants li::before { content: "▶"; font-size: 11px; color: var(--editeur-texte); }
.en-depliants li b { font-weight: 700; }

/* --- le panneau : Format · Dans cette note · Commentaires --- */
.en-panneau { display: none; padding: 0 14px 18px 20px; overflow: hidden; }
@media (min-width: 1240px) { .en-panneau { display: block; } }
.en-panneau__onglets { display: flex; gap: 14px; padding: 14px 0 0; border-bottom: 1px solid var(--editeur-bord); font-size: 14px; color: var(--editeur-texte-2); white-space: nowrap; }
.en-panneau__onglets span { padding-bottom: 12px; }
.en-panneau__onglets .actif { color: var(--editeur-violet); box-shadow: inset 0 -2px 0 var(--editeur-violet); }
.en-sec { margin: 22px 0 10px; font-size: 14.5px; font-weight: 600; color: var(--editeur-texte-2); }
.en-pilules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.en-pilule { display: grid; place-items: center; height: 44px; border-radius: 999px; background: var(--editeur-tuile); font-size: 14px; font-weight: 600; white-space: nowrap; }
.en-pilule--active { background: var(--editeur-violet-pale); color: var(--editeur-violet); font-weight: 500; }
.en-barre { display: flex; justify-content: space-around; align-items: center; height: 46px; border-radius: 14px; background: var(--editeur-tuile); font-size: 16px; }
.en-barre .ic { width: 20px; height: 20px; }
.en-barre .actif { display: grid; place-items: center; width: 52px; height: 38px; border-radius: 10px; background: var(--editeur-violet-pale); color: var(--editeur-violet); }
.en-pale { color: var(--editeur-texte-2); }
.en-ronds { display: flex; align-items: center; gap: 12px; }
.en-ronds i { width: 34px; height: 34px; border-radius: 50%; }
.en-ronds span { font-size: 14.5px; color: var(--editeur-texte-2); }
.en-lettres { display: flex; gap: 10px; margin-top: 12px; }
.en-lettres b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--editeur-tuile); font-size: 15px; }
.en-polices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.en-polices span { display: grid; place-items: center; height: 64px; border-radius: 18px; background: var(--editeur-tuile); font-size: 20px; line-height: 1.1; }
.en-polices small { font-size: 11.5px; color: var(--editeur-texte-2); }
.en-polices .actif { background: var(--editeur-violet-pale); color: var(--editeur-violet); }
.en-polices .actif small { color: var(--editeur-violet); }
.en-ronds .s-jaune { background: var(--editeur-surligne-jaune); }
.en-ronds .s-vert { background: var(--editeur-surligne-vert); box-shadow: 0 0 0 2px var(--editeur-vert); }
.en-ronds .s-bleu { background: var(--editeur-surligne-bleu); }
.en-ronds .s-rose { background: var(--editeur-surligne-rose); }
.en-lettres .e-brun { color: var(--editeur-encre-brun); }
.en-lettres .e-orange { color: var(--editeur-encre-orange); }
.en-lettres .e-vert { color: var(--editeur-vert); }
.en-lettres .e-bleu { color: var(--editeur-encre-bleu); }
.en-lettres .e-violet { color: var(--editeur-encre-violet); }
.en-lettres .e-rouge { color: var(--editeur-encre-rouge); }
.en-polices .p-serif { font-family: ui-serif, Georgia, serif; }
.en-polices .p-mono { font-family: ui-monospace, Menlo, monospace; }
.en-polices small { font-family: var(--font-sans); }
.editeur-nuit :focus-visible { outline-color: var(--editeur-violet); }

/* ---------- 06 — L'appel final (Landry, 26 nov. ; intention : ClickUp) ----------
   Un grand panneau au dégradé de la planche, tourné (ClickUp FX-08) et grainé (FX-06) ; le violet au centre, sous le
   titre blanc, la mandarine dans le coin haut, le lilas en bas ; l'icône sur sa tuile blanche, le bouton blanc ;
   l'écran Ma journée et le téléphone dépassent du bas du panneau (FX-10). Sur téléphone : le téléphone seul. */
.app #final > .section__interieur {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  padding: clamp(48px, 7vw, 96px) clamp(20px, 5vw, 72px) 0;
  background: var(--accent-hover);
  color: var(--on-accent);
  text-align: center;
}
/* le dégradé tourné, plus grand que le panneau */
.app #final > .section__interieur::before {
  content: "";
  position: absolute;
  inset: -20%;
  z-index: -2;
  background:
    radial-gradient(36% 22% at 50% 41%, color-mix(in srgb, var(--accent-hover) 60%, transparent) 0%, color-mix(in srgb, var(--accent-hover) 0%, transparent) 100%),
    radial-gradient(45% 40% at 12% 88%, color-mix(in srgb, var(--lilas) 70%, transparent) 0%, color-mix(in srgb, var(--lilas) 0%, transparent) 100%),
    linear-gradient(205deg, var(--or) 14%, var(--or-rose) 34%, var(--accent) 58%, var(--accent-hover) 85%);
  transform: rotate(-4deg);
  pointer-events: none;
}
/* le grain */
.app #final > .section__interieur::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.5' numOctaves='5' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  opacity: 0.4;
  pointer-events: none;
}
@media (max-width: 767.98px) { .app #final > .section__interieur::after { display: none; } }

.final__icone {
  display: grid;
  place-items: center;
  width: clamp(84px, 9vw, 120px);
  height: clamp(84px, 9vw, 120px);
  /* le logo O de l'identité visuelle finale, sans tuile (Landry, 27 nov. 2026) ; l'ombre suit son contour rond */
  background: url("../img/logo/guado-o.webp") center / contain no-repeat;
  filter: drop-shadow(0 20px 26px color-mix(in srgb, var(--ink) 40%, transparent));
}
.final__titre {
  max-width: 900px;
  margin: clamp(28px, 4vw, 44px) 0 0;
  font-family: var(--font-display);
  font-variation-settings: "opsz" 72;
  font-weight: 600;
  font-size: clamp(38px, 6.2vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--on-accent);
  text-wrap: balance;
}
.final__phrase {
  max-width: 620px;
  margin: clamp(14px, 2vw, 22px) 0 0;
  font-size: clamp(19px, 1.7vw, 22px);
  font-weight: 600; /* 19 px en demi-gras : du grand texte (seuil 3:1), pour laisser la mandarine monter */
  line-height: 1.45;
  color: var(--on-accent);
}
.final__bouton {
  margin-top: clamp(24px, 3vw, 34px);
  min-height: 52px;
  padding: 0 26px;
  background: var(--logo-bleu); /* le bleu du logo, avec son check (Landry, 26 nov. 2026) */
  color: var(--on-accent);
  font-size: 16px;
  box-shadow: 0 14px 34px -14px color-mix(in srgb, var(--logo-nuit) 70%, transparent);
  transition: transform 0.35s var(--ease-sortie), box-shadow 0.35s var(--ease-sortie);
}
.final__bouton:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -16px color-mix(in srgb, var(--ink) 65%, transparent); }

/* l'écran et le téléphone, coupés par le bas du panneau */
.final__scene {
  position: relative;
  width: min(100%, 1000px);
  height: clamp(220px, 26vw, 330px);
  margin-top: clamp(40px, 5vw, 64px);
}
.final__ecran {
  position: absolute;
  left: -4%;
  right: 14%;
  top: 0;
  padding: 8px;
  border: 1px solid color-mix(in srgb, var(--surface) 45%, transparent);
  border-radius: 20px 20px 0 0;
  border-bottom: 0;
  background: color-mix(in srgb, var(--surface) 22%, transparent);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  text-align: left;
  color: var(--ink);
}
.final__ecran img { display: block; width: 100%; height: auto; border-radius: 13px 13px 0 0; }
/* le téléphone : une coque d'encre, la capture de l'iPhone dedans, l'îlot en haut */
.final__telephone {
  position: absolute;
  right: -8%; /* à côté du panneau « Ton point du jour » de l'écran, pas dessus */
  top: 16%;
  width: clamp(180px, 21vw, 240px);
  padding: 8px 8px 0;
  border-radius: 36px 36px 0 0;
  background: var(--surface-inverse);
  box-shadow: 0 30px 60px -24px color-mix(in srgb, var(--ink) 70%, transparent);
}
.final__telephone::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 50%;
  width: 30%;
  height: 16px;
  border-radius: var(--radius-pill);
  background: var(--surface-inverse);
  transform: translateX(-50%);
  z-index: 1;
}
.final__telephone img { display: block; width: 100%; height: auto; padding-top: 34px; border-radius: 28px 28px 0 0; background: var(--surface); }

@media (max-width: 767.98px) {
  /* téléphone : le téléphone seul, centré, qui dépasse du bas */
  .final__scene { height: 230px; display: flex; justify-content: center; }
  .final__ecran { display: none; }
  .final__telephone { position: relative; top: 0; right: auto; width: 230px; }
}
@media (prefers-reduced-motion: reduce) { .final__bouton { transition: none; } }
/* le bouton ne dépasse jamais du panneau : sur petit téléphone, il passe sur deux lignes */
.final__bouton { max-width: 100%; white-space: normal; line-height: 1.25; padding-block: 12px; text-align: center; }
@media (max-width: 419.98px) { .final__bouton { padding-inline: 18px; gap: 8px; font-size: 15px; } }

/* ==========================================================================================================
   Les quatre pièces de « app-waouh » (Landry, 27 nov. 2026, S064, maquette maquettes/app-waouh/) : l'écran collé de la 02
   (Framer FX-07), les panneaux qui reculent sous le suivant (Studio M-STACK), le hero en plans (Fragment v3), le « 4 »
   géant et les cartes inclinées de la 01 (Fragment v1, ClickUp FX-03, Studio M-TILT-IN). Mouvement : accueil-effets.js ;
   sans lui, ou en mouvement réduit, la page reste à sa place finale.
   ========================================================================================================== */

/* ---------- 4. Section 01 : le « 4 » géant en dégradé (Fragment v1 : le chiffre comme élément graphique ;
   ClickUp FX-03 : le titre en dégradé ; dégradé violet → mandarine de la planche) ---------- */
.chiffre-geant {
  display: inline-block;
  font-size: 2.7em;
  font-weight: 600;
  line-height: 0.74;
  letter-spacing: -0.06em;
  vertical-align: -0.08em;
  margin-right: 0.04em;
}
.chiffre-geant,
.aube-js .chiffre-geant .w > span {
  background: linear-gradient(150deg, var(--accent) 18%, var(--or-rose) 55%, var(--or) 88%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* le masque du mot à mot ne doit pas couper le chiffre */
.aube-js .chiffre-geant .w { padding: 0.06em 0.04em 0.02em; margin: -0.06em -0.04em -0.02em; }

/* les cartes des freins s'inclinent en entrant (Studio M-TILT-IN) */
.aube-js.effets-js .frein[data-reveal] {
  transform: perspective(900px) rotateX(18deg) translateY(36px);
  transform-origin: 50% 100%;
  transition: opacity 0.9s var(--ease-sortie), transform 1.1s var(--ease-sortie), filter 0.9s var(--ease-sortie), box-shadow 0.3s ease, border-color 0.3s ease;
  transition-delay: calc(var(--i, 0) * 110ms);
}
.aube-js.effets-js .frein[data-reveal].is-in { transform: none; }

/* ---------- 3. Le hero en deux plans qui suivent la souris (Fragment v3, tilt multi-couches) ----------
   --mx, --my de -1 à 1, posés par accueil-effets.js ; la vitre garde sa respiration (propriété translate, à part). */
@media (hover: hover) and (pointer: fine) and (min-width: 1024px) {
  .effets-js .hero-app__ecran {
    transform: perspective(1600px) rotateX(calc(var(--my, 0) * -4deg)) rotateY(calc(var(--mx, 0) * 5deg));
    transform-origin: 40% 50%;
  }
  .effets-js .hero-app__ecran .e-capacite {
    translate: calc(var(--mx, 0) * 12px) calc(var(--my, 0) * 9px);
    box-shadow: 0 calc(18px + var(--my, 0) * 6px) 40px -18px color-mix(in srgb, var(--ink) 38%, transparent);
  }
  .effets-js .hero-app .trajectoire { translate: calc(var(--mx, 0) * -16px) calc(var(--my, 0) * -10px); }
}

/* ---------- 1. Section 02 : un seul écran collé, qui change avec l'étape lue (Framer FX-07) ----------
   accueil-effets.js pose .methode--synchro sur ordinateur et clone les quatre scènes dans le panneau ; sur téléphone et
   tablette, et sans script, les rangées de l'accueil en ligne. */
.methode__panneau { display: none; }
/* le panneau de 02 coupait ce qui dépasse en « hidden », qui empêche l'écran de se coller : « clip » coupe pareil sans l'empêcher */
.app .section--methode > .section__interieur { overflow: clip; }
@media (min-width: 960px) {
  .methode--synchro {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    column-gap: clamp(40px, 5vw, 80px);
  }
  .methode--synchro .etape {
    grid-column: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 58vh;
    padding: clamp(40px, 5vh, 64px) 0;
  }
  .methode--synchro .etape__visuel { display: none; }
  .methode--synchro .etape__texte { transition: opacity 0.5s var(--ease-sortie), transform 0.9s var(--ease-sortie), filter 0.9s var(--ease-sortie); }
  .methode--synchro .etape:not(.is-actif) .etape__texte.is-in { opacity: 0.32; }
  .methode--synchro .methode__panneau { display: block; grid-column: 2; grid-row: 1 / span 4; }
  .methode__cadre {
    position: sticky;
    top: calc(50vh - 230px);
    display: grid;
    min-height: 460px;
    align-items: center;
  }
  .methode__ecran {
    grid-area: 1 / 1;
    opacity: 0;
    transform: translateY(22px) scale(0.97);
    filter: blur(6px);
    transition: opacity 0.55s var(--ease-sortie), transform 0.7s var(--ease-sortie), filter 0.55s var(--ease-sortie);
    pointer-events: none;
  }
  .methode__ecran.is-actif { opacity: 1; transform: none; filter: none; }
  .methode__ecran .scene { margin: 0 auto; }
  /* les pastilles d'étape, en bas du cadre : où l'on en est */
  .methode__points { display: flex; gap: 8px; justify-content: center; margin-top: 28px; grid-area: 2 / 1; }
  .methode__points span { width: 8px; height: 8px; border-radius: 99px; background: var(--line-strong); transition: width 0.4s var(--ease-sortie), background-color 0.4s ease; }
  .methode__points span.is-actif { width: 28px; background: var(--accent); }
}

/* ---------- 2. Les panneaux qui reculent sous le suivant (Studio M-STACK) ----------
   Le panneau se colle quand son bas touche le bas de l'écran ; le suivant le recouvre en défilant. --pile de 0 à 1. */
/* le hero reste au-dessus du premier panneau (son écran le chevauche sur téléphone) */
.effets-js .hero-app { position: relative; z-index: 2; }
.effets-js .section--pile {
  position: sticky;
  top: min(0px, calc(100svh - var(--h, 100svh)));
}
.effets-js .section--pile > .section__interieur {
  transform: scale(calc(1 - var(--pile, 0) * 0.06));
  transform-origin: 50% 100%;
}
.voile-pile {
  position: absolute;
  inset: 0;
  z-index: 5;
  border-radius: inherit;
  background: var(--ink);
  opacity: calc(var(--pile, 0) * 0.42);
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .aube-js.effets-js .frein[data-reveal] { transform: none; transition: none; }
  .methode__ecran { transition: none; filter: none; transform: none; }
}
