/* GUADO — la rubrique « Collaborer » : Partenaires, Affiliation, Presse et médias (Landry, 25 nov. 2026 ; refaite le même
   jour avec les pièces des sources, à sa demande). Base Aube (fond qui dérive, titres mot à mot, apparition floutée).
   Pièces : héros à gauche et maquette vitrée (ClickUp S01, FX-10) ; bandeaux défilants (ClickUp FX-09, Framer FX-05) ;
   panneau collé synchronisé (Framer S04, FX-07) ; bannière de nuit à grain (ClickUp S05, FX-06) ; carte d'appel dégradée,
   tournée, à grain (ClickUp S10, FX-08) ; pilule à ombre décalée, rangées teintées, titre géant en dégradé de texte
   (Fragment v2) ; texte qui s'écrit seul (Framer FX-10) ; du désordre à la clarté (Aube data-goodbad) ; rail tracé au
   défilement (Aube). Valeurs : uniquement les jetons de tokens.css. */

.page-collab {
  /* le grain (ClickUp FX-06) : un bruit fractal en SVG, sans couleur, posé en incrustation */
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23g)'/></svg>");
}
.sr-seul { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Pilule à ombre décalée (Fragment v2) ---------- */
.pilule {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin: 0;
  padding: 0 16px;
  border: 1px solid var(--ink);
  border-radius: var(--radius-pill);
  background: var(--surface);
  box-shadow: 4px 4px 0 var(--accent);
  font-size: var(--fs-ui);
  font-weight: 600;
  color: var(--ink);
}

/* ---------- Héros : le texte à gauche, la maquette vitrée à droite (ClickUp S01, FX-10) ---------- */
.collab-heros {
  display: grid;
  gap: clamp(48px, 7vw, 72px);
  align-items: center;
  padding-top: clamp(32px, 5vw, 72px);
  padding-bottom: clamp(56px, 8vw, 112px);
}
@media (min-width: 1000px) { .collab-heros { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); } }
.collab-heros__titre { margin-top: var(--space-6); font-size: clamp(40px, 5.6vw, 76px); }
.collab-heros__lead { max-width: 560px; margin: var(--space-5) 0 0; font-size: var(--fs-lead); line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.collab-heros__titre + .collab-heros__lead { margin-top: var(--space-6); }
.collab-heros__actions { margin-top: var(--space-8); }
.collab-heros__visuel { position: relative; max-width: 540px; width: 100%; justify-self: center; }
.collab-vitre .ecran { box-shadow: none; }
.collab-heros__mascotte {
  position: absolute;
  z-index: 2;
  right: -12px;
  top: clamp(-86px, -7vw, -60px);
  width: clamp(88px, 11vw, 150px);
  height: auto;
}
.collab-heros--centre { grid-template-columns: 1fr; text-align: center; padding-bottom: clamp(32px, 5vw, 56px); }
.collab-heros--centre .collab-heros__texte { max-width: 980px; margin: 0 auto; }
.collab-heros--centre .collab-heros__lead { margin-inline: auto; max-width: 640px; }
.collab-suggestion .e-meta { color: var(--accent-hover); font-weight: 600; }

/* ---------- Bandeaux défilants, fondus aux bords (ClickUp FX-09, Framer FX-05) ---------- */
.defile {
  display: flex;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, var(--ink) 12%, var(--ink) 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, var(--ink) 12%, var(--ink) 88%, transparent);
}
.defile__piste {
  display: flex;
  flex: none;
  gap: var(--space-3);
  margin: 0;
  padding: 0 var(--space-3) 0 0;
  list-style: none;
  animation: defile 38s linear infinite;
}
.defile--inverse .defile__piste { animation-direction: reverse; animation-duration: 44s; }
.defile:hover .defile__piste { animation-play-state: paused; }
@keyframes defile { to { transform: translateX(-100%); } }
.defile__mot {
  flex: none;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--surface);
  font-family: var(--font-display);
  font-size: clamp(17px, 1.8vw, 21px);
  white-space: nowrap;
}
.defile__mot:nth-child(3n + 2) { background: var(--accent-soft); border-color: transparent; color: var(--accent-hover); }
.defile__mot:nth-child(3n) { background: var(--peche); border-color: transparent; color: var(--or-encre); }

/* ---------- Le panneau blanc ---------- */
.collab-corps__titre { max-width: 800px; margin: 0 auto; text-align: center; }
.collab-bloc { margin-top: clamp(72px, 10vw, 128px); }
.collab-corps { margin-top: clamp(40px, 6vw, 72px); }
/* landing-app.css coupe le panneau en overflow: hidden, ce qui empêche le panneau collé de tenir : clip découpe sans casser */
.app .collab-corps > .section__interieur { overflow: clip; }

/* ---------- Partenaires : le panneau collé synchronisé (Framer S04, FX-07) ---------- */
.synchro { margin-top: clamp(40px, 6vw, 72px); }
.synchro__item { padding: clamp(32px, 5vw, 56px) 0; border-top: 1px solid var(--line); }
.synchro__item:first-child { border-top: 0; padding-top: 0; }
.synchro__numero { margin: 0; font-family: var(--font-display); font-size: clamp(40px, 5vw, 64px); line-height: 1; letter-spacing: -0.04em; color: var(--accent); transition: color 0.4s var(--ease-sortie); }
.synchro__titre { margin: var(--space-4) 0 0; font-family: var(--font-display); font-weight: 500; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.15; letter-spacing: -0.02em; }
.synchro__texte { max-width: 520px; margin: var(--space-4) 0 0; color: var(--ink-2); line-height: 1.65; }
.synchro__item .bouton { margin-top: var(--space-6); }
.rangee__points { display: grid; gap: var(--space-2); margin: var(--space-5) 0 0; padding: 0; list-style: none; }
.rangee__points li { position: relative; padding-left: 24px; line-height: 1.5; }
.rangee__points li::before { content: ""; position: absolute; left: 0; top: 0.68em; width: 14px; height: 2px; border-radius: var(--radius-pill); background: var(--accent); }
.synchro__ecran-mobile { margin-top: var(--space-6); }
.synchro__panneau { display: none; }
@media (min-width: 1000px) {
  .synchro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-16); }
  .synchro__item { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; }
  .synchro__item:first-child { padding-top: clamp(32px, 5vw, 56px); }
  .synchro__ecran-mobile { display: none; }
  .synchro__panneau { display: block; }
  .synchro__cadre { position: sticky; top: calc(50vh - 220px); display: grid; }
  .synchro__ecran { grid-area: 1 / 1; align-self: center; opacity: 0; transform: translateY(16px) scale(0.98); transition: opacity 0.5s var(--ease-sortie), transform 0.6s var(--ease-sortie); }
  .synchro__ecran.is-actif { opacity: 1; transform: none; }
  .synchro__ecran .ecran { box-shadow: none; }
  /* sans le script, le premier écran reste visible */
  html:not(.aube-js) .synchro__ecran[data-synchro-ecran="0"] { opacity: 1; transform: none; }
  .synchro__item:not(.is-actif) .synchro__numero { color: var(--line-strong); }
}

/* Les écrans propres à la rubrique (dans la grammaire de ecrans.css) */
.e-objectif { display: grid; gap: 8px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); }
.e-objectif__nom { font-weight: 600; font-size: 14px; }
.e-partage {
  justify-self: start;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--on-accent);
  font-size: 12.5px;
  font-weight: 600;
}

/* ---------- Bannière de nuit à grain (ClickUp S05, FX-06) ---------- */
.banniere-zone { margin-top: clamp(24px, 4vw, 48px); padding-bottom: clamp(40px, 6vw, 72px); }
.banniere {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: var(--space-8);
  align-items: end;
  overflow: hidden;
  padding: clamp(36px, 6vw, 80px);
  border-radius: var(--radius-panneau);
  background: radial-gradient(ellipse 60% 55% at 0% 105%, var(--lueur-or), transparent 70%), var(--nuit);
  color: var(--ink-inverse);
}
.banniere::before {
  content: "";
  position: absolute;
  inset: -30% -10% auto auto;
  z-index: -1;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--lueur-accent), transparent);
  filter: blur(40px);
  opacity: 0.8;
}
.banniere::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--grain); opacity: 0.16; mix-blend-mode: overlay; }
.banniere__titre { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(34px, 5vw, 64px); line-height: 1.04; letter-spacing: -0.025em; text-wrap: balance; }
.banniere__titre .mot-signature { color: var(--lilas); }
.banniere__texte > p { max-width: 560px; margin: var(--space-5) 0 0; color: var(--ink-inverse); line-height: 1.6; }
.banniere__texte .bouton { margin-top: var(--space-8); }
.banniere__mascotte { width: clamp(120px, 16vw, 210px); height: auto; justify-self: end; }
@media (min-width: 900px) { .banniere { grid-template-columns: minmax(0, 1fr) auto; } }
.banniere :focus-visible, .carte-appel :focus-visible { outline-color: var(--ink-inverse); }

/* Le bouton clair, sur la nuit et sur la carte dégradée */
.bouton--clair { background: var(--surface); color: var(--ink); }
.bouton--clair:hover { background: var(--ground); }

/* ---------- Affiliation : la publication qui s'écrit seule (Framer FX-10) ---------- */
.composeur { gap: 14px; background: var(--surface); }
.composeur__tete { display: flex; align-items: center; gap: 10px; }
.composeur__avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--barre-trajectoire); }
.composeur__texte { margin: 0; min-height: 2.6em; font-family: var(--font-display); font-size: clamp(20px, 2.2vw, 26px); line-height: 1.25; letter-spacing: -0.015em; }
.composeur__cible { color: var(--accent-hover); }
.composeur__curseur { display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -0.12em; background: var(--accent); animation: curseur 1s steps(1) infinite; }
@keyframes curseur { 50% { opacity: 0; } }
.composeur__lien { display: grid; gap: 2px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--ground); }
.composeur__lien-titre { font-weight: 600; font-size: 13.5px; }
.composeur__actions { display: flex; justify-content: flex-end; }
.composeur__actions .e-bouton { flex: none; padding-inline: 18px; }

/* ---------- Affiliation : les rangées teintées (Fragment v2) ---------- */
.teintes { display: grid; gap: var(--space-3); margin-top: clamp(40px, 6vw, 72px); }
.teinte {
  display: grid;
  gap: var(--space-3) var(--space-8);
  align-items: center;
  padding: clamp(24px, 4vw, 44px) clamp(24px, 4vw, 56px);
  border-radius: var(--radius-xl);
  transition: transform 0.45s var(--ease-sortie);
}
@media (min-width: 760px) { .teinte { grid-template-columns: 160px minmax(0, 1fr); } }
.teinte--lilas { background: var(--lilas); }
.teinte--peche { background: var(--peche); }
.teinte--lavande { background: var(--accent-soft); }
.teinte__numero { margin: 0; font-family: var(--font-display); font-size: clamp(56px, 8vw, 112px); line-height: 0.9; letter-spacing: -0.05em; color: var(--accent-hover); }
.teinte--peche .teinte__numero { color: var(--or-encre); }
.teinte__titre { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.2; letter-spacing: -0.02em; }
.teinte p:not(.teinte__numero) { margin: var(--space-2) 0 0; color: var(--ink); line-height: 1.6; }
@media (hover: hover) { .teinte:hover { transform: translateX(8px); } }

/* ---------- Affiliation : les deux bandeaux du public ---------- */
.collab-publics { display: grid; gap: var(--space-3); padding: clamp(72px, 10vw, 128px) 0; }
.collab-publics .titre-section { margin-bottom: var(--space-8); }

/* ---------- Affiliation : le rail tracé au défilement (Aube data-progress-rail) ---------- */
.trace { position: relative; display: grid; gap: var(--space-8); max-width: 1040px; margin: clamp(40px, 6vw, 72px) auto 0; padding: 0 0 0 64px; list-style: none; }
.trace::before, .trace::after { content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 2px; border-radius: var(--radius-pill); }
.trace::before { background: var(--line); }
.trace::after { background: linear-gradient(180deg, var(--lilas), var(--accent) 50%, var(--or-rose) 78%, var(--or)); transform-origin: top; transform: scaleY(var(--p, 1)); }
.trace__etape { position: relative; }
.trace__numero {
  position: absolute;
  left: -64px;
  top: 0;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-hover);
  font-weight: 600;
  box-shadow: var(--shadow-card);
}
.trace__titre { margin: 8px 0 0; font-family: var(--font-display); font-weight: 500; font-size: clamp(21px, 2.2vw, 26px); line-height: 1.2; letter-spacing: -0.02em; }
.trace__etape p { margin: var(--space-2) 0 0; color: var(--ink-2); line-height: 1.6; }
@media (min-width: 900px) {
  .trace { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-12); padding: 72px 0 0; }
  .trace::before, .trace::after { left: 22px; right: 22px; top: 21px; bottom: auto; width: auto; height: 2px; }
  .trace::after { background: var(--barre-trajectoire); transform-origin: left; transform: scaleX(var(--p, 1)); }
  .trace__numero { left: 0; top: -72px; }
}

/* ---------- Presse : du désordre à la clarté (Aube data-goodbad), lié au défilement ---------- */
.clarte { --p: 1; display: grid; gap: var(--space-6); max-width: 1000px; padding-bottom: clamp(56px, 8vw, 96px); }
.aube-js .clarte { --p: 0; }
@media (min-width: 760px) { .clarte { grid-template-columns: 1fr 1fr; align-items: start; gap: var(--space-8); } }
.clarte__chaos {
  opacity: calc(1 - var(--p) * 0.6);
  filter: blur(calc(var(--p) * 2.5px));
  transform: scale(calc(1 - var(--p) * 0.04));
}
.clarte__clair { opacity: calc(0.25 + var(--p) * 0.75); transform: translateY(calc((1 - var(--p)) * 60px)); }
.clarte__etiquette { margin: 0 0 var(--space-3); font-size: var(--fs-ui); font-weight: 600; color: var(--ink-2); }
.clarte__etiquette--clair { color: var(--accent-hover); }
.clarte__liste { gap: 6px; padding: 16px; }
.clarte__liste .e-tache { padding-block: 6px; }
.clarte__clair .ecran { box-shadow: var(--shadow-glass-on); }

/* ---------- Presse : la prose, la signature en titre géant (Fragment v2, CTA-1) ---------- */
.collab-prose { max-width: 720px; margin: 0 auto; }
.collab-prose .titre-section { text-align: center; margin-bottom: var(--space-8); }
.collab-prose > p { margin: var(--space-5) 0 0; font-size: 1.08rem; line-height: 1.75; color: var(--ink-2); }
.signature-geante {
  max-width: 1000px;
  margin: clamp(56px, 8vw, 104px) auto 0;
  font-family: var(--font-display);
  font-size: clamp(34px, 6.4vw, 92px); /* la signature du pied, plus longue (QS24) */
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-align: center;
  text-wrap: balance;
  background: linear-gradient(100deg, var(--ink) 25%, var(--accent) 65%, var(--or-encre));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Presse : les sujets en rangées teintées (Fragment v2) ---------- */
.sujets-teintes { display: grid; gap: var(--space-2); max-width: 900px; margin: clamp(32px, 5vw, 56px) auto 0; padding: 0; list-style: none; }
.sujet-teinte {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: var(--space-4);
  align-items: baseline;
  padding: var(--space-5) var(--space-6);
  border-radius: var(--radius-lg);
  background: var(--ground);
  transition: transform 0.4s var(--ease-sortie), background-color 0.4s var(--ease-sortie);
}
.sujet-teinte:nth-child(2n) { background: var(--accent-soft); }
.sujet-teinte__numero { font-family: var(--font-display); font-size: 22px; color: var(--accent-hover); }
.sujet-teinte__texte { font-family: var(--font-display); font-size: clamp(19px, 2.2vw, 26px); line-height: 1.3; letter-spacing: -0.015em; }
@media (hover: hover) { .sujet-teinte:hover { transform: translateX(8px); } }

/* ---------- Carte d'appel finale : dégradé tourné et grain (ClickUp S10, FX-08, FX-06) ---------- */
.carte-appel-zone { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(40px, 6vw, 72px); }
.carte-appel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(40px, 7vw, 96px) clamp(28px, 6vw, 88px);
  border-radius: var(--radius-panneau);
  color: var(--ink-inverse);
  text-align: center;
}
.carte-appel::before {
  content: "";
  position: absolute;
  inset: -25%;
  z-index: -2;
  background: linear-gradient(125deg, var(--accent-hover) 12%, var(--accent) 58%, var(--or-encre) 108%);
  transform: rotate(-4deg);
}
.carte-appel::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--grain); opacity: 0.22; mix-blend-mode: overlay; }
.carte-appel__contenu { max-width: 760px; margin: 0 auto; }
.carte-appel__titre { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(38px, 6.4vw, 88px); line-height: 1; letter-spacing: -0.03em; text-wrap: balance; }
.carte-appel__texte { max-width: 600px; margin: var(--space-5) auto 0; color: var(--ink-inverse); line-height: 1.6; }
.carte-appel .bouton { margin-top: var(--space-8); }

@media (max-width: 559.98px) {
  .collab-heros .bouton, .banniere .bouton, .carte-appel .bouton { white-space: normal; text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  .defile { flex-wrap: wrap; -webkit-mask-image: none; mask-image: none; }
  .defile__piste { animation: none; flex-wrap: wrap; justify-content: center; }
  .defile__piste[aria-hidden="true"] { display: none; }
  .composeur__curseur { animation: none; }
  .teinte, .sujet-teinte { transition: none; }
  .teinte:hover, .sujet-teinte:hover { transform: none; }
  .synchro__ecran { transition: none; }
}
