/* ── Grapper, 2027 : encre profonde, verre, une matière liquide violette ── */
:root {
  --fond: #07060d; --fond-2: #0e0b1a;
  --texte: #f4f1ff; --texte-2: #a9a1c7; --texte-3: #6f6790;
  --violet: #7c4dff; --violet-2: #b18cff; --lime: #d6ff3d;
  --verre: rgba(255,255,255,.04); --bord: rgba(255,255,255,.09);
  --marge: clamp(20px, 6vw, 96px);
  --sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --vitesse: 1; --gris: 0;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* Le curseur est un VRAI curseur système, dessiné par Chrome (une image), plus
   un élément déplacé par script : il ne peut ni traîner, ni disparaître, ni
   passer sous quoi que ce soit. Un point lime cerclé de sombre ; sur ce qui se
   clique, le même point dans un anneau. */
body { margin: 0; background: var(--fond); color: var(--texte); font-family: var(--sans); font-size: 17px; line-height: 1.55; cursor: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ccircle%20cx%3D%2216.0%22%20cy%3D%2216.0%22%20r%3D%226.5%22%20fill%3D%22rgba%287%2C6%2C13%2C0.9%29%22%2F%3E%3Ccircle%20cx%3D%2216.0%22%20cy%3D%2216.0%22%20r%3D%224.5%22%20fill%3D%22%23d6ff3d%22%2F%3E%3C%2Fsvg%3E") 16 16, auto; -webkit-font-smoothing: antialiased; }
a, button, input, label, .carte, .creatrice, .manege-scene, .polaroid { cursor: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2248%22%20height%3D%2248%22%20viewBox%3D%220%200%2048%2048%22%3E%3Ccircle%20cx%3D%2224.0%22%20cy%3D%2224.0%22%20r%3D%2219%22%20fill%3D%22rgba%28214%2C255%2C61%2C0.14%29%22%20stroke%3D%22%23d6ff3d%22%20stroke-width%3D%221.5%22%2F%3E%3Ccircle%20cx%3D%2224.0%22%20cy%3D%2224.0%22%20r%3D%2220.5%22%20fill%3D%22none%22%20stroke%3D%22rgba%287%2C6%2C13%2C0.6%29%22%20stroke-width%3D%221%22%2F%3E%3Ccircle%20cx%3D%2224.0%22%20cy%3D%2224.0%22%20r%3D%226.5%22%20fill%3D%22rgba%287%2C6%2C13%2C0.9%29%22%2F%3E%3Ccircle%20cx%3D%2224.0%22%20cy%3D%2224.0%22%20r%3D%224.5%22%20fill%3D%22%23d6ff3d%22%2F%3E%3C%2Fsvg%3E") 24 24, pointer; }
.cohesion input, .cohesion input::-webkit-slider-runnable-track, .cohesion input::-webkit-slider-thumb { cursor: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2248%22%20height%3D%2248%22%20viewBox%3D%220%200%2048%2048%22%3E%3Ccircle%20cx%3D%2224.0%22%20cy%3D%2224.0%22%20r%3D%2219%22%20fill%3D%22rgba%28214%2C255%2C61%2C0.14%29%22%20stroke%3D%22%23d6ff3d%22%20stroke-width%3D%221.5%22%2F%3E%3Ccircle%20cx%3D%2224.0%22%20cy%3D%2224.0%22%20r%3D%2220.5%22%20fill%3D%22none%22%20stroke%3D%22rgba%287%2C6%2C13%2C0.6%29%22%20stroke-width%3D%221%22%2F%3E%3Ccircle%20cx%3D%2224.0%22%20cy%3D%2224.0%22%20r%3D%226.5%22%20fill%3D%22rgba%287%2C6%2C13%2C0.9%29%22%2F%3E%3Ccircle%20cx%3D%2224.0%22%20cy%3D%2224.0%22%20r%3D%224.5%22%20fill%3D%22%23d6ff3d%22%2F%3E%3C%2Fsvg%3E") 24 24, pointer !important; }
.curseur { display: none !important; }
/* Le noir et blanc du mode « énergie 0 » se pose sur le contenu, JAMAIS sur
   body : un filtre sur body fait de lui le repère des éléments fixés, et le
   curseur comme l'en-tête partaient avec le défilement. */
main, footer { filter: grayscale(var(--gris)); transition: filter .6s; }
@media (hover: none) { body, a, button, input, label, .carte, .creatrice, .manege-scene { cursor: auto; } }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; }
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.035em; line-height: 1; }
h2 { font-size: clamp(36px, 5.2vw, 72px); }
h3 { font-size: 22px; letter-spacing: -.02em; line-height: 1.15; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
/* Le dégradé est peint dans la boîte du mot ; avec line-height 1, cette boîte
   s'arrête au-dessus des jambages, d'où un « g » tronqué. On agrandit la
   boîte vers le bas et la gauche, puis on reprend la place en marge. */
h1 em, h2 em { display: inline-block; padding: .05em .06em .22em .08em; margin: -.05em -.06em -.22em -.08em; background: linear-gradient(90deg, var(--violet-2), var(--lime)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sur-titre { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--texte-2); margin: 0 0 22px; }

/* le grain de l'écran, à peine */
/* (le grain d'écran est parti : un calque fixe en mode de fusion forçait le
   navigateur à repeindre toute la page à chaque défilement, d'où un décalage
   entre la molette et la page sur les machines modestes.) */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* le curseur : un point lime qui ne se perd pas, et un anneau qui le suit
   avec un temps de retard. Sur ce qui se clique, l'anneau s'ouvre. */
.curseur { position: fixed; z-index: 100; left: 0; top: 0; pointer-events: none; will-change: transform; transition: opacity .2s; }
/* un liseré sombre autour du point et de l'anneau : sinon, sur un bouton lime
   ou la poignée du curseur, la souris se fondait dans la même couleur */
.curseur-point { position: absolute; left: 0; top: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--lime); transform: translate(-50%, -50%); box-shadow: 0 0 0 2px rgba(7,6,13,.9), 0 0 12px rgba(214,255,61,.8); }
.curseur-anneau { position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid rgba(214,255,61,.75); box-shadow: 0 0 0 1px rgba(7,6,13,.7), inset 0 0 0 1px rgba(7,6,13,.7); transform: translate(-50%, -50%) scale(var(--c, 1)); transition: transform .25s cubic-bezier(.2,.8,.2,1), background .25s, border-color .25s; }
body.sur-lien .curseur-anneau { --c: 1.7; background: rgba(214,255,61,.14); border-color: var(--lime); }

/* l'en-tête, en verre */
.tete { position: fixed; z-index: 40; inset: 0 0 auto 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px var(--marge); background: linear-gradient(rgba(7,6,13,.92), rgba(7,6,13,.6) 70%, rgba(7,6,13,0)); }
.marque { display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -.02em; font-size: 18px; }
.marque img { width: 30px; border-radius: 50%; }
.marque-lettres { width: auto !important; height: 22px; border-radius: 0 !important; }
.pied-marque .marque-lettres { height: 20px; }
.tete-liens { display: flex; gap: 26px; font-size: 14px; color: var(--texte-2); }
.tete-liens a { transition: color .2s; } .tete-liens a:hover { color: var(--texte); }
.tete-droite { display: flex; align-items: center; gap: 12px; }
.energie { display: flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .1em; padding: 8px 12px; border-radius: 999px; background: var(--verre); border: 1px solid var(--bord); }
.energie input { width: 90px; accent-color: var(--lime); }
.energie output { min-width: 2em; text-align: right; color: var(--lime); font-variant-numeric: tabular-nums; }
/* réunir la grappe : le geste du site */
.reunir { margin-top: 40px; max-width: 460px; }
.reunir-mot { margin: 0 0 12px; color: var(--texte-2); font-size: 15px; transition: color .4s; }
.reunir-mot b { color: var(--texte); font-weight: 600; }
.reunir.uni .reunir-mot, .reunir.uni .reunir-mot b { color: var(--lime); }
.cohesion { display: flex; align-items: center; gap: 14px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--texte-3); }
.cohesion input { flex: 1; min-width: 200px; height: 28px; -webkit-appearance: none; appearance: none; background: none; }
.cohesion input::-webkit-slider-runnable-track { height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--lime) var(--p, 0%), rgba(255,255,255,.14) var(--p, 0%)); }
.cohesion input::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -9.5px; border-radius: 50%; background: var(--lime); border: 4px solid var(--fond); box-shadow: 0 0 0 1.5px var(--lime), 0 0 18px rgba(214,255,61,.6); transition: transform .2s; }
/* Chrome dessine la piste et la poignée d'un curseur de réglage avec ses
   propres pièces : elles ignoraient le `cursor: none` de la page, et la flèche
   du système réapparaissait sur le trait (vu dans l'enregistrement du 25). */
.cohesion input:focus { outline: none; }
.cohesion input:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px var(--fond), 0 0 0 5px var(--lime); }
.cohesion input::-moz-range-track { height: 3px; border-radius: 3px; background: rgba(255,255,255,.14); }
.cohesion input::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--lime); border: 0; }
.reunir.attente input::-webkit-slider-thumb { animation: invite 1.6s ease-in-out infinite; }
@keyframes invite { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(10px); } }
@media (prefers-reduced-motion: reduce) { .reunir.attente input::-webkit-slider-thumb { animation: none; } }

.bouton { display: inline-flex; align-items: center; justify-content: center; padding: 12px 20px; border-radius: 999px; font-size: 14px; font-weight: 600; letter-spacing: -.01em; transition: transform .25s cubic-bezier(.2,.8,.2,1), background .2s, color .2s; will-change: transform; }
.bouton span { display: inline-block; transition: transform .25s cubic-bezier(.2,.8,.2,1); }
.bouton-plein { background: var(--texte); color: var(--fond); }
.bouton-plein:hover { background: var(--lime); }
.bouton-ligne { border: 1px solid var(--bord); background: var(--verre); }
.bouton-ligne:hover { border-color: rgba(255,255,255,.3); }
.bouton-clair { border: 1px solid var(--bord); background: var(--verre); padding: 10px 16px; }
.bouton-menu { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--bord); background: var(--verre); display: grid; place-items: center; gap: 5px; }
.bouton-menu span { display: block; width: 16px; height: 1.5px; background: var(--texte); transition: transform .3s; }
.bouton-menu[aria-expanded="true"] span:first-child { transform: translateY(3.2px) rotate(45deg); }
.bouton-menu[aria-expanded="true"] span:last-child { transform: translateY(-3.2px) rotate(-45deg); }
@media (min-width: 901px) { .bouton-menu { display: none; } }
@media (max-width: 900px) { .tete-liens, .bouton-clair { display: none; } }

.menu { position: fixed; inset: 0; z-index: 30; background: rgba(7,6,13,.97); display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 0 var(--marge); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.menu.ouvert { opacity: 1; visibility: visible; }
.menu a { font-size: clamp(34px, 8vw, 56px); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; color: var(--texte-2); transition: color .2s, transform .3s; transform: translateY(12px); }
.menu.ouvert a { transform: none; }
.menu a:hover { color: var(--texte); }

/* ── Le hero et la matière ─────────────────────────────────────────────── */
.hero { position: relative; min-height: 100vh; display: grid; align-items: center; padding: 140px var(--marge) 100px; overflow: hidden; isolation: isolate; }
/* La matière : les gouttes sont dessinées en blanc, floutées puis contrastées
   (bords nets, fusion liquide), et servent de masque à un dégradé qui bouge.
   Le contraste ne déforme donc jamais les couleurs : elles viennent du CSS. */
.matiere { position: absolute; inset: -80px; z-index: -1; background: linear-gradient(120deg, #4b1fd6, #8b5cff 35%, #d6ff3d 70%, #ff5cc8 100%); background-size: 260% 260%; animation: nappe calc(18s / var(--vitesse)) ease-in-out infinite alternate; }
@keyframes nappe { from { background-position: 0% 0%; } to { background-position: 100% 100%; } }
.goo { position: absolute; inset: 0; filter: blur(34px) contrast(22); background: #000; mix-blend-mode: multiply; }
/* Avec WebGL, le canvas dessine lui-même la matière : pas de flou, pas de masque. */
.hero.webgl .matiere { background: none; animation: none; }
.hero.webgl .goo { filter: none; background: none; mix-blend-mode: normal; }
#grappe { width: 100%; height: 100%; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 50% at 70% 50%, transparent 40%, var(--fond) 100%); pointer-events: none; }
.hero-int { max-width: 720px; }
.hero h1 { font-size: clamp(44px, 6vw, 88px); }
/* le masque de l'apparition coupait les jambages du « g » et des « p » de
   l'italique : on lui laisse de la marge en bas et à gauche, reprise ensuite */
.lignes .ligne { display: block; overflow: hidden; padding: 0 0 .18em .06em; margin: 0 0 -.18em -.06em; }
.lignes .ligne > span { display: block; transform: translateY(110%); transition: transform 1s cubic-bezier(.2,.8,.2,1); }
.lignes.vu .ligne > span { transform: none; }
.lignes.vu .ligne:nth-child(2) > span { transition-delay: .08s } .lignes.vu .ligne:nth-child(3) > span { transition-delay: .16s } .lignes.vu .ligne:nth-child(4) > span { transition-delay: .24s }
.hero-texte { max-width: 520px; color: var(--texte-2); font-size: 19px; margin: 28px 0 0; }
.etincelle { display: inline-block; margin-right: 4px; animation: scintille calc(2.4s / var(--vitesse)) ease-in-out infinite; }
@keyframes scintille { 50% { transform: scale(1.25) rotate(12deg); filter: brightness(1.4); } }
.hero-actions { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.hero-bas { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 0; border-top: 1px solid var(--bord); overflow: hidden; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--texte-3); white-space: nowrap; }
.defile { display: inline-block; animation: file calc(40s / var(--vitesse)) linear infinite; }
@keyframes file { to { transform: translateX(-50%); } }

/* ── Les sections ──────────────────────────────────────────────────────── */
.section { padding: 140px var(--marge); }
.section-tete { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 44px; flex-wrap: wrap; }
.section-tete p { margin: 0; color: var(--texte-2); max-width: 380px; }

.texture-etiquette { position: fixed; left: 50%; bottom: 28px; z-index: 50; transform: translate(-50%, 10px); padding: 8px 14px; border-radius: 999px; background: var(--verre); border: 1px solid var(--bord); backdrop-filter: blur(10px); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; opacity: 0; transition: opacity .25s, transform .25s; pointer-events: none; }
.texture-etiquette.visible { opacity: 1; transform: translate(-50%, 0); }

/* la grappe : l'histoire */
.grappe { padding: 140px var(--marge); border-top: 1px solid var(--bord); display: grid; grid-template-columns: 1fr 1.25fr; gap: 60px 90px; align-items: center; }
.tableau { margin: 0; justify-self: center; width: min(100%, 460px); transform: rotate(-2deg); }
.tableau-cadre { position: relative; padding: 18px; background: #f4f1ff; border: 7px solid #1a1626; border-radius: 2px; box-shadow: 0 40px 90px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.14), inset 0 0 0 1px rgba(0,0,0,.08); }
.tableau-cadre::before { content: ""; position: absolute; inset: 18px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.14), inset 0 3px 10px rgba(0,0,0,.28); pointer-events: none; }
.tableau-cadre.vide::before { display: none; }
.tableau-cadre img { width: 100%; aspect-ratio: 1100/933; object-fit: cover; display: block; background: #f4f1ff; }
.tableau-vide { display: none; }
.tableau-cadre.vide { background: var(--verre); border: 1px dashed rgba(255,255,255,.2); box-shadow: none; }
.tableau-cadre.vide .tableau-vide { display: grid; place-items: center; aspect-ratio: 1; font-family: var(--serif); font-style: italic; color: var(--texte-3); font-size: 18px; }
.tableau figcaption { margin-top: 14px; font-family: var(--serif); font-style: italic; color: var(--texte-2); text-align: center; font-size: 17px; }
.parole { display: grid; gap: 10px; max-width: 620px; }
.parole-tete { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.parole-tete img { width: 36px; border-radius: 50%; }
.parole-tete .marque-lettres { height: 18px; margin-right: 6px; }
.parole-tete b { font-weight: 600; } .parole-tete span { color: var(--texte-3); font-size: 13px; }
.bulle { background: var(--verre); border: 1px solid var(--bord); border-radius: 22px; border-top-left-radius: 6px; padding: 18px 22px; }
.bulle p { margin: 0; color: var(--texte); font-size: 17px; line-height: 1.55; }
.bulle:nth-child(3) { transition-delay: .12s; } .bulle:nth-child(4) { transition-delay: .24s; }
.hero-origine { display: block; margin-top: 34px; max-width: 520px; font-size: 14px; color: var(--texte-3); line-height: 1.5; }
.hero-origine em { color: var(--texte-2); }
.hero-origine span { color: var(--lime); margin-left: 6px; white-space: nowrap; }
.hero-origine span::after { content: " →"; }
.hero-origine:hover span { text-decoration: underline; }
@media (max-width: 900px) { .grappe { grid-template-columns: 1fr; padding: 90px var(--marge); } .tableau { transform: none; } }

/* à propos */
.apropos { padding: 160px var(--marge) 120px; border-top: 1px solid var(--bord); display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px 80px; }
.apropos-tete { position: sticky; top: 120px; align-self: start; }
.apropos-grand { font-size: clamp(24px, 2.6vw, 36px); font-weight: 600; letter-spacing: -.025em; line-height: 1.2; margin: 0 0 26px; }
.apropos-texte p:not(.apropos-grand) { margin: 0 0 18px; color: var(--texte-2); font-size: 17px; max-width: 620px; }
.chiffres { grid-column: 1 / -1; list-style: none; margin: 60px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.chiffres li { padding: 26px; border-radius: 22px; background: var(--verre); border: 1px solid var(--bord); }
.chiffres b { display: block; font-size: clamp(34px, 3.4vw, 48px); font-weight: 600; letter-spacing: -.04em; line-height: 1; background: linear-gradient(90deg, var(--violet-2), var(--lime)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.chiffre-titre { display: block; margin-top: 6px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--texte-2); }
.chiffres p { margin: 14px 0 0; color: var(--texte-2); font-size: 14px; }
@media (max-width: 900px) { .apropos { grid-template-columns: 1fr; padding: 100px var(--marge) 80px; } .apropos-tete { position: static; } .chiffres { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .chiffres { grid-template-columns: 1fr; } }

/* le bento */
.bento { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.carte { position: relative; grid-column: span 1; padding: 34px; border-radius: 22px; background: var(--verre); border: 1px solid var(--bord); overflow: hidden; display: flex; flex-direction: column; gap: 12px; min-height: 300px; }
.carte.large { grid-column: span 2; }
.carte.pleine { grid-column: 1 / -1; min-height: 0; }
.carte::before { content: ""; position: absolute; inset: 0; background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(124,77,255,.28), transparent 60%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.carte:hover::before { opacity: 1; }
.carte.sombre { background: linear-gradient(135deg, rgba(124,77,255,.25), rgba(214,255,61,.06)); }
.carte-etiquette { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--lime); margin: 0; }
.carte p { margin: 0; color: var(--texte-2); font-size: 15px; }
.carte-visu { margin-top: auto; }
.chiffre span { font-size: 64px; font-weight: 600; letter-spacing: -.05em; line-height: 1; display: block; font-variant-numeric: tabular-nums; }
.chiffre small { color: var(--texte-3); font-size: 13px; }
.etapes-liste { list-style: none; margin: auto 0 0; padding: 0; display: flex; gap: 6px; flex-wrap: wrap; }
.etapes-liste li { font-size: 12px; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--bord); color: var(--texte-2); }
.etapes-liste li:nth-child(1) { background: var(--violet); border-color: var(--violet); color: #fff; }

/* les piliers : une liste éditoriale, pas des cartes */
.piliers { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--bord); }
.pilier { display: grid; grid-template-columns: 90px 1fr; gap: 24px; padding: 40px 0; border-bottom: 1px solid var(--bord); align-items: start; transition: padding-left .35s cubic-bezier(.2,.8,.2,1); }
.pilier:hover { padding-left: 14px; }
.pilier:hover .pilier-num { color: var(--lime); }
.pilier-num { font-family: var(--serif); font-style: italic; font-size: 30px; color: var(--texte-3); line-height: 1; padding-top: 4px; transition: color .25s; }
.pilier-corps h3 { font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -.03em; margin-bottom: 12px; }
.pilier-corps p { margin: 0; color: var(--texte-2); max-width: 640px; font-size: 17px; }
.pilier.espace { grid-template-columns: 90px 1fr minmax(260px, 380px); }
.apercu { border-radius: 16px; background: var(--fond-2); border: 1px solid var(--bord); padding: 12px; font-size: 13px; box-shadow: 0 30px 60px rgba(124,77,255,.12); transform: rotate(1.5deg); transition: transform .4s; }
.pilier.espace:hover .apercu { transform: rotate(0); }
.apercu-barre { display: flex; align-items: center; gap: 6px; padding: 2px 4px 10px; border-bottom: 1px solid var(--bord); }
.apercu-barre span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.12); }
.apercu-barre b { margin-left: 8px; font-weight: 600; font-size: 12px; color: var(--texte-2); }
.apercu-ligne { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 10px 4px; border-bottom: 1px solid var(--bord); }
.apercu-ligne span { font-weight: 600; }
.apercu-ligne i { font-style: normal; font-size: 11px; padding: 3px 8px; border-radius: 999px; border: 1px solid var(--bord); color: var(--texte-2); }
.apercu-ligne i.ok { color: var(--lime); border-color: rgba(214,255,61,.4); }
.apercu-ligne i.cours { color: var(--violet-2); border-color: rgba(177,140,255,.4); }
.apercu-ligne em { font-style: normal; font-variant-numeric: tabular-nums; color: var(--texte); }
.apercu-vues { position: relative; min-height: 190px; }
.apercu-vue { position: absolute; inset: 0; opacity: 0; transform: translateX(18px); transition: opacity .5s, transform .5s cubic-bezier(.2,.8,.2,1); pointer-events: none; }
.apercu-vue.actif { opacity: 1; transform: none; }
.apercu-vue.sort { opacity: 0; transform: translateX(-18px); }
.apercu-points { display: flex; gap: 6px; justify-content: center; padding: 12px 0 2px; }
.apercu-points i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.15); transition: background .3s, width .3s; }
.apercu-points i.actif { background: var(--lime); width: 18px; border-radius: 3px; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; padding: 10px 2px 4px; text-align: center; font-size: 11px; }
.cal b { color: var(--texte-3); font-weight: 500; font-size: 10px; }
.cal span { padding: 5px 0; border-radius: 6px; color: var(--texte-2); }
.cal span.j { color: var(--texte); font-weight: 600; position: relative; }
.cal span.j::after { content: ""; position: absolute; left: 50%; bottom: 1px; width: 4px; height: 4px; border-radius: 50%; transform: translateX(-50%); }
.cal .script::after, .cal-legende .script { background: var(--violet-2); } .cal .preview::after, .cal-legende .preview { background: var(--lime); }
.cal .post::after, .cal-legende .post { background: #ff5cc8; } .cal .event::after, .cal-legende .event { background: #3ac6ff; }
.cal span.j { background: rgba(255,255,255,.05); }
.cal-legende { display: flex; gap: 6px; align-items: center; justify-content: center; font-size: 10px; color: var(--texte-3); padding-top: 6px; }
.cal-legende i { width: 6px; height: 6px; border-radius: 50%; display: inline-block; margin-left: 6px; }
.doc { padding: 10px 6px; border-bottom: 1px solid var(--bord); display: grid; gap: 6px; }
.doc b { font-size: 12px; font-weight: 600; margin-bottom: 2px; }
.doc span { height: 6px; border-radius: 3px; background: rgba(255,255,255,.08); display: block; }
.doc i { justify-self: start; font-style: normal; font-size: 11px; padding: 3px 8px; border-radius: 999px; border: 1px solid rgba(214,255,61,.4); color: var(--lime); margin-top: 4px; }
@media (max-width: 900px) { .pilier, .pilier.espace { grid-template-columns: 56px 1fr; } .apercu { grid-column: 2; transform: none; } .pilier-num { font-size: 24px; } }

/* le ruban */
.ruban-section { height: 320vh; position: relative; }
.ruban-colle { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.ruban-tete { padding: 0 var(--marge); margin-bottom: 36px; }
.ruban { display: flex; gap: 14px; padding: 0 var(--marge); will-change: transform; }
.jour { flex: 0 0 clamp(240px, 24vw, 340px); aspect-ratio: 3/4; border-radius: 22px; padding: 26px; background: var(--verre); border: 1px solid var(--bord); display: flex; flex-direction: column; transform: skewX(var(--skew, 0deg)); transition: transform .25s; position: relative; }
.jour::before { content: ""; position: absolute; top: 24px; right: 24px; width: 10px; height: 10px; border-radius: 50%; background: var(--violet); }
.jour.ok::before { background: var(--lime); box-shadow: 0 0 0 6px rgba(214,255,61,.15); }
.jour.marque::before { background: #ff5c8a; } .jour.contrat::before { background: var(--texte-2); }
.jour.fin { background: linear-gradient(160deg, rgba(124,77,255,.35), rgba(124,77,255,.05)); }
.jour-heure { font-size: clamp(40px, 4.4vw, 64px); font-weight: 600; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.jour-quoi { margin-top: auto; font-weight: 600; font-size: 18px; letter-spacing: -.01em; }
.jour figcaption { color: var(--texte-2); font-size: 14px; font-family: var(--serif); font-style: italic; font-size: 17px; }

/* nos créatrices */
.creatrices { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.creatrice { display: flex; flex-direction: column; gap: 14px; padding: 12px 12px 16px; border-radius: 20px; background: var(--verre); border: 1px solid var(--bord); transition: transform .4s cubic-bezier(.2,.8,.2,1), border-color .3s, background .3s; transition-delay: calc(var(--i) * 40ms); }
.creatrice.vu { transition-delay: calc(var(--i) * 60ms); }
.creatrice:hover { transform: translateY(-6px); border-color: rgba(214,255,61,.5); background: rgba(255,255,255,.06); transition-delay: 0s; }
.creatrice-visu { aspect-ratio: 4/5; border-radius: 14px; overflow: hidden; background: linear-gradient(160deg, rgba(124,77,255,.7), rgba(124,77,255,.08)); display: grid; place-items: center; }
/* Les photos viennent de dix univers et de dix téléphones : un même traitement
   pour toutes. Au repos, une bichromie violet / encre (la photo passe en
   luminosité sur un fond violet) ; au survol, la couleur revient. */
.creatrice-visu { background: linear-gradient(160deg, #6828f8, #1a0a4a); }
.creatrice-visu img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08) brightness(.95); mix-blend-mode: luminosity; opacity: .92; transition: transform .8s cubic-bezier(.2,.8,.2,1), filter .5s, opacity .5s; }
.creatrice:hover .creatrice-visu img { transform: scale(1.05); filter: none; mix-blend-mode: normal; opacity: 1; }
.creatrice-visu span { font-family: var(--serif); font-style: italic; font-size: 64px; color: rgba(255,255,255,.85); }
.creatrice-texte { display: grid; gap: 2px; padding: 0 4px; }
.creatrice-texte b { font-weight: 600; letter-spacing: -.01em; }
.creatrice-texte span { color: var(--texte-2); font-size: 14px; }
.creatrice-texte small { color: var(--texte-3); font-size: 12px; margin-top: 4px; }
@media (max-width: 1100px) { .creatrices { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .creatrices { grid-template-columns: repeat(2, 1fr); gap: 10px; } .creatrice-visu span { font-size: 44px; } }

/* le manège des marques : deux anneaux de tuiles en 3D, qui tournent en
   sens inverse ; on les attrape à la souris ou au doigt */
.manege { position: relative; user-select: none; touch-action: pan-y; }
.manege-scene { position: relative; height: 380px; perspective: 1100px; perspective-origin: 50% 50%; }
.manege-anneau { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; }
#anneau-haut { margin-top: -78px; } #anneau-bas { margin-top: 78px; }
.tuile { position: absolute; left: -52px; top: -52px; width: 104px; height: 104px; border-radius: 22px; background: rgba(255,255,255,.06); border: 1px solid var(--bord); display: grid; place-items: center; backface-visibility: hidden; -webkit-backface-visibility: hidden; box-shadow: 0 20px 40px rgba(0,0,0,.35); }
.tuile img { width: 58px; height: 58px; border-radius: 14px; object-fit: cover; }
.tuile span { font-size: 13px; font-weight: 600; letter-spacing: -.01em; line-height: 1.15; text-align: center; padding: 0 8px; color: var(--texte); overflow-wrap: anywhere; }
.tuile[data-nom^="SKIN"] span, .tuile[data-nom="CyberGhost"] span, .tuile[data-nom="Monopoly Go"] span, .tuile[data-nom="Aroma-Zone"] span, .tuile[data-nom="Prime Video"] span, .tuile[data-nom="Burger King"] span, .tuile[data-nom="McDonald's"] span, .tuile[data-nom="Soundcore"] span, .tuile[data-nom="Haus Labs"] span { font-size: 12px; }
.manege-nom { margin: 8px 0 0; text-align: center; font-weight: 600; font-size: 18px; letter-spacing: -.01em; min-height: 1.4em; }
.manege-aide { margin: 4px 0 0; text-align: center; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--texte-3); }

/* les marques */
.marques { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.anneau { position: relative; width: min(100%, 440px); aspect-ratio: 1; margin: 0 auto; }
.anneau svg { width: 100%; height: 100%; animation: tourne calc(30s / var(--vitesse)) linear infinite; }
@keyframes tourne { to { transform: rotate(360deg); } }
.anneau-texte { font-size: 18px; letter-spacing: .16em; text-transform: uppercase; fill: var(--texte-2); font-weight: 500; }
.anneau-logo { position: absolute; left: 50%; top: 50%; width: 30%; transform: translate(-50%, -50%); border-radius: 50%; box-shadow: 0 0 80px rgba(124,77,255,.5); }
.marques-texte p { color: var(--texte-2); max-width: 460px; }
.marques-liste { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.marques-liste li { font-size: 13px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--bord); color: var(--texte-2); transition: all .2s; }
.marques-liste li:hover { border-color: var(--lime); color: var(--lime); }

/* écrire */
.contact { text-align: center; padding: 180px var(--marge); border-top: 1px solid var(--bord); }
.mail { display: inline-block; font-size: clamp(22px, 4.8vw, 72px); font-weight: 600; letter-spacing: -.04em; }
.mail .lettre { display: inline-block; transition: transform .3s cubic-bezier(.2,.8,.2,1), color .3s; }
.mail:hover .lettre { color: var(--lime); }
.contact-actions { margin-top: 26px; }
.copier.fait { border-color: var(--lime); color: var(--lime); }
.contact-note { color: var(--texte-2); margin-top: 18px; }

/* le pied */
.pied { padding: 40px var(--marge); border-top: 1px solid var(--bord); display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; font-size: 14px; color: var(--texte-2); }
.pied-marque { display: flex; align-items: center; gap: 10px; color: var(--texte); font-weight: 600; }
.pied-marque img { width: 28px; border-radius: 50%; }
.pied-phrase { margin: 0; font-family: var(--serif); font-style: italic; font-size: 18px; }
.pied-liens { display: flex; gap: 18px; } .pied-liens a:hover { color: var(--lime); }
.pied-petit { grid-column: 1 / -1; margin: 0; font-size: 12px; color: var(--texte-3); }

/* apparitions */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1); }
.reveal.vu { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) { :root { --vitesse: .001; } .reveal, .lignes .ligne > span { opacity: 1; transform: none; transition: none; } }
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr 1fr; }
.carte.pleine { grid-column: 1 / -1; min-height: 0; }
  .marques { grid-template-columns: 1fr; padding: 90px var(--marge); }
  .ruban-section { height: 280vh; } .jour { flex-basis: 70vw; }
  .pied { grid-template-columns: 1fr; }
  .goo { filter: blur(26px) contrast(18); }
}
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } .carte, .carte.large { grid-column: span 1; min-height: 0; } .energie { display: none; } }

/* les pages légales */
.legal { max-width: 760px; padding: 160px var(--marge) 100px; margin: 0 auto; }
.legal h1 { font-size: clamp(30px, 4vw, 48px); margin-bottom: 18px; }
.legal h2 { font-size: 18px; margin: 42px 0 10px; letter-spacing: -.01em; }
.legal p { color: var(--texte-2); margin: 0 0 12px; }
.legal p b { color: var(--texte); font-weight: 600; }
.legal a { color: var(--lime); }
.legal-note { font-size: 14px; color: var(--texte-3) !important; }
.pied-petit a { color: var(--texte-3); } .pied-petit a:hover { color: var(--lime); }


/* ══════════════════════════════════════════════════════════════════════════
   TABLETTE (701 à 1100 px) : deux colonnes serrées, la matière à droite,
   les talents sur trois colonnes, l'anneau plus petit.
   ══════════════════════════════════════════════════════════════════════════ */
@media (min-width: 701px) and (max-width: 1100px) {
  :root { --marge: 40px; }
  .tete-liens { display: none; } .bouton-menu { display: grid; }
  .hero { padding-top: 120px; }
  .hero-int { max-width: 56%; }
  .hero h1 { font-size: clamp(40px, 6.4vw, 64px); }
  .grappe { grid-template-columns: 1fr 1.4fr; gap: 30px 40px; }
  .tableau { width: min(100%, 340px); }
  .apropos { grid-template-columns: 1fr; gap: 24px; }
  .apropos-tete { position: static; }
  .chiffres { grid-template-columns: repeat(3, 1fr); }
  .pilier { grid-template-columns: 60px 1fr; }
  .pilier.espace { grid-template-columns: 60px 1fr; }
  .pilier.espace .apercu { grid-column: 2; transform: none; max-width: 420px; }
  .creatrices { grid-template-columns: repeat(3, 1fr); }
  .marques { grid-template-columns: 1fr 1.2fr; gap: 30px; }
  .manege-scene { height: 320px; } .tuile { width: 84px; height: 84px; left: -42px; top: -42px; } .tuile img { width: 46px; height: 46px; }
}

/* ══════════════════════════════════════════════════════════════════════════
   TÉLÉPHONE (jusqu'à 700 px) : une autre page, pas la même en plus étroit.
   La matière est un bandeau en haut, le texte dessous, le curseur pleine
   largeur sous le pouce ; les talents et les chiffres se font glisser ; les
   marques défilent au lieu de tourner.
   ══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 700px) {
  :root { --marge: 20px; }
  body { font-size: 16px; }
  h2 { font-size: 34px; }
  .tete { padding: 12px var(--marge); }
  .tete-liens, .bouton-clair { display: none; } .bouton-menu { display: grid; }
  .menu { padding-top: 90px; justify-content: flex-start; gap: 6px; }
  .menu a { font-size: 34px; }

  /* le hero : la matière d'abord, en bandeau, puis les mots */
  .hero { min-height: 0; padding: 0 var(--marge) 56px; display: block; }
  .hero .matiere { position: relative; inset: auto; height: 46vh; min-height: 300px; margin: 0 calc(-1 * var(--marge)); z-index: 0; }
  .hero::after { display: none; }
  /* sur téléphone, le curseur passe en premier, juste sous la matière : on
     voit ce qu'on fait pendant qu'on le fait */
  .hero-int { max-width: none; position: relative; z-index: 1; margin-top: -30px; display: flex; flex-direction: column; }
  .hero-int .reunir { order: -1; margin: 0 0 30px; }
  .hero-int .sur-titre { margin-top: 0; }
  .hero h1 { font-size: clamp(38px, 11vw, 52px); }
  .hero-texte { font-size: 17px; margin-top: 16px; }
  .hero-actions { margin-top: 22px; }
  .hero-actions .bouton { flex: 1; justify-content: center; }
  .reunir { margin-top: 30px; max-width: none; }
  .cohesion { gap: 10px; }
  .cohesion input { min-width: 0; height: 40px; }
  .cohesion input::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; }
  .cohesion input::-webkit-slider-thumb { width: 34px; height: 34px; margin-top: -14px; }

  /* la grappe : les bulles d'abord, la peinture plus petite ensuite */
  .grappe { grid-template-columns: 1fr; gap: 28px; padding: 70px var(--marge); }
  .parole { order: 1; }
  .tableau { order: 2; width: min(100%, 300px); transform: rotate(-2deg); }
  .bulle { padding: 14px 16px; } .bulle p { font-size: 16px; }

  /* à propos : les chiffres se font glisser */
  .apropos { grid-template-columns: 1fr; gap: 20px; padding: 70px var(--marge) 60px; }
  .apropos-tete { position: static; }
  .apropos-grand { font-size: 22px; }
  .chiffres { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 30px calc(-1 * var(--marge)) 0; padding: 0 var(--marge) 8px; scrollbar-width: none; }
  .chiffres::-webkit-scrollbar { display: none; }
  .chiffres li { flex: 0 0 78%; scroll-snap-align: start; }

  /* ce qu'on fait : la liste, plus serrée, et l'aperçu pleine largeur */
  .section { padding: 70px var(--marge); }
  .section-tete { flex-direction: column; align-items: start; gap: 8px; margin-bottom: 20px; }
  .pilier, .pilier.espace { grid-template-columns: 44px 1fr; gap: 12px; padding: 26px 0; }
  .pilier:hover { padding-left: 0; }
  .pilier-num { font-size: 22px; }
  .pilier-corps h3 { font-size: 24px; }
  .pilier-corps p { font-size: 15.5px; }
  .pilier.espace .apercu { grid-column: 1 / -1; transform: none; margin-top: 14px; }

  /* les talents : un carrousel, un doigt suffit */
  .creatrices { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 calc(-1 * var(--marge)); padding: 0 var(--marge) 10px; scrollbar-width: none; }
  .creatrices::-webkit-scrollbar { display: none; }
  .creatrice { flex: 0 0 68%; scroll-snap-align: start; transition-delay: 0s !important; }
  .creatrice .creatrice-visu img { filter: none; mix-blend-mode: normal; opacity: 1; } /* pas de survol au doigt : la couleur directement */

  /* les marques : pas d'anneau, un défilé */
  .marques { display: block; padding: 70px 0; }
  .manege { display: none; }
  .marques-texte { padding: 0 var(--marge); }
  .marques-defile { display: flex; gap: 28px; overflow: hidden; margin: 22px 0 6px; font-weight: 600; font-size: 22px; letter-spacing: -.02em; color: var(--texte-2); white-space: nowrap; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
  .defile-logo { display: inline-flex; align-items: center; gap: 8px; } .defile-logo img { width: 26px; height: 26px; border-radius: 7px; }
  .marques-defile > div { display: flex; gap: 28px; animation: file-marques 40s linear infinite; }
  @keyframes file-marques { to { transform: translateX(-50%); } }
  .marques-liste { padding: 0 var(--marge); }

  /* écrire, pied */
  .contact { padding: 90px var(--marge); }
  .mail { font-size: clamp(16px, 5.6vw, 28px); letter-spacing: -.02em; white-space: nowrap; }
  .pied { grid-template-columns: 1fr; gap: 14px; padding: 36px var(--marge); }
  .pied-liens { gap: 16px; }
}
@media (min-width: 701px) { .marques-defile { display: none; } }

/* très étroit (moins de 380 px) : l'aperçu et l'adresse se serrent sans se chevaucher */
@media (max-width: 380px) {
  .apercu { padding: 10px; font-size: 12px; }
  .apercu-ligne { grid-template-columns: 1fr auto; gap: 6px 8px; }
  .apercu-ligne em { grid-column: 2; font-size: 11px; }
  .apercu-ligne i { font-size: 10px; padding: 2px 6px; }
  .mail { font-size: clamp(14px, 5.4vw, 28px); letter-spacing: -.01em; white-space: nowrap; }
  .hero h1 { font-size: clamp(32px, 12vw, 52px); }
  .pilier, .pilier.espace { grid-template-columns: 34px 1fr; }
  .hero-actions { flex-direction: column; } .hero-actions .bouton { width: 100%; }
}
