/* Les visuels de process des services, dans la fenêtre de détails (Theo, 25/09 : « par service, on voit le process ; pour design, la création de wireframe,
   l'exploration de DA, la création du style guide »). Script dans /services-process.js.
   Style d'interface « Doux » retenu le 09/09 pour tout visuel d'interface (angles 8 à 12 px, surfaces blanches, ombres douces, pilules), comme les visuels du process :
   une fenêtre de 720 × 450 posée sur un fond en mosaïque de la palette (Fonds.dessiner), réduite à la taille du cadre. Les curseurs nommés, la sélection et la bulle
   viennent de /visuels-etapes.css (.v-curseur, .v-sel, .v-pop). Trois étapes par service, en boucle ; l'onglet de l'étape se remplit pendant qu'elle se joue. */

.sp-scene { position: absolute; inset: 0; overflow: hidden; }
.sp-scene canvas.sp-fond { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.sp-echelle { position: absolute; left: 50%; top: 50%; width: 720px; height: 450px; transform: translate(-50%, -50%) scale(0.6); }

.sp { position: relative; width: 720px; height: 450px; background: #fff; border-radius: 12px; box-shadow: 0 1px 2px rgba(20,19,14,0.12), 0 20px 50px rgba(20,19,14,0.28); font-size: 13px; line-height: 1.3; text-align: left; }
.sp-barre { position: relative; display: flex; align-items: center; gap: 16px; height: 48px; padding: 0 14px; border-bottom: 1px solid var(--trait); }
.sp-pts { display: flex; gap: 6px; }
.sp-pts i { width: 10px; height: 10px; border-radius: 50%; background: rgba(22,21,16,0.1); }
.sp-etapes { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.sp-etapes li { position: relative; display: flex; align-items: center; gap: 7px; padding: 8px 13px 9px; border-radius: 999px; font-size: 12.5px; color: var(--muted); white-space: nowrap; transition: background 0.3s, color 0.3s; }
.sp-etapes li b { font: 500 10px/1 ui-monospace, Menlo, monospace; color: rgba(22,21,16,0.38); }
.sp-etapes li.fait { color: var(--on); }
.sp-etapes li.on { background: var(--surface-2); color: var(--on); }
.sp-etapes li > i { position: absolute; left: 13px; right: 13px; bottom: 3px; height: 1.5px; border-radius: 1px; background: var(--on); transform: scaleX(0); transform-origin: left; }
.sp-etapes li.on > i { animation: sp-progres var(--sp-duree, 5s) linear both; }
@keyframes sp-progres { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Les étapes glissent l'une après l'autre dans le corps de la fenêtre */
.sp-corps { position: absolute; left: 0; right: 0; top: 49px; bottom: 0; overflow: hidden; border-radius: 0 0 12px 12px; }
.sp-ph { position: absolute; inset: 0; background: #f5f4ef; transform: translateX(100%); transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.sp-ph.blanc { background: #fff; }
.sp-ph.on { transform: none; }
.sp-ph.sort { transform: translateX(-100%); }
.sp-ph.v-sans, .sp.v-sans .sp-ph { transition: none !important; }
.sp-r { opacity: 0; transform: translateY(6px); transition: opacity 0.35s ease-out, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.sp-r.vu { opacity: 1; transform: none; }
.sp .v-curseur { transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s; }
.sp .v-curseur.cache { opacity: 0; }
.sp .v-curseur[data-c="c"] { --cc: #0D99FF; }
.sp-chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px 7px 8px; border-radius: 999px; background: #fff; box-shadow: var(--ombre); font-size: 12px; white-space: nowrap; }
.sp-chip img { width: 16px; height: 16px; display: block; }
.sp-final { position: absolute; right: 18px; bottom: 16px; }

/* ================= DESIGN ================= */
/* 01 · Wireframes (Theo, 25/09 : « plusieurs pages de wireframes rangées dans Figma petit à petit, et des commentaires clients ») : un fichier Figma,
   cinq pages qui arrivent une à une dans leur emplacement (sélection bleue le temps de la pose), le compte de pages qui monte ; puis les commentaires de Camille,
   Maxime répond sur l'Accueil, les logos remontent sous le titre, le commentaire est résolu. */
.fg-tete { position: absolute; left: 32px; right: 32px; top: 14px; display: flex; align-items: center; gap: 8px; font-size: 11.5px; }
.fg-tete img { width: 12px; height: 12px; display: block; }
.fg-tete b { font-weight: 450; }
.fg-tete span { color: var(--muted); }
.fg-compte { margin-left: auto; font: 500 10.5px/1 ui-monospace, Menlo, monospace; font-style: normal; color: var(--muted); }
.fg-frames { position: absolute; left: 32px; right: 32px; top: 46px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; align-items: start; }
.fg-frame { position: relative; opacity: 0; transform: translateY(-14px) scale(0.96); transition: opacity 0.35s ease-out, transform 0.55s cubic-bezier(0.16, 1, 0.3, 1); }
.fg-frame.vu { opacity: 1; transform: none; }
.fg-nom { display: block; margin-bottom: 5px; font-size: 9.5px; color: var(--muted); white-space: nowrap; }
.fg-page { height: 262px; padding: 8px; display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; gap: 6px; overflow: hidden; background: #fff; border-radius: 3px; box-shadow: 0 0 0 1px rgba(22,21,16,0.07), 0 1px 3px rgba(20,19,14,0.06); transition: box-shadow 0.25s; }
.fg-frame.pose .fg-page { box-shadow: 0 0 0 1.5px #0D99FF; }
.fg-page i { display: block; height: 4px; border-radius: 2px; background: rgba(22,21,16,0.1); transition: background 0.4s; }
.fg-page i.t { height: 7px; background: rgba(22,21,16,0.18); }
.fg-page i.fg-bt { width: 42%; height: 10px; border-radius: 999px; background: rgba(22,21,16,0.22); } /* pas « .b » : c'est la classe des boutons du site (/boutons.css) */
.fg-page i.img { height: var(--h, 40px); border-radius: 3px; background: rgba(22,21,16,0.06); }
.fg-page i.rond { width: 100%; aspect-ratio: 1; height: auto; border-radius: 50%; background: rgba(22,21,16,0.08); }
.fg-page i.champ { height: var(--h, 12px); border-radius: 3px; background: transparent; box-shadow: inset 0 0 0 1px rgba(22,21,16,0.14); }
.fg-l { display: grid; grid-template-columns: minmax(0, 1fr); gap: 5px; align-content: start; } /* une piste à la largeur de la colonne : sinon les barres en % la font grandir */
.fg-l.fg-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; } /* pas « .nav » : c'est la classe de la barre du site */
.fg-l.fg-nav .fg-l { display: flex; gap: 4px; }
.fg-l.fg-nav i { height: 3px; }
.fg-r { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 4px; }
.fg-r > * { min-width: 0; }
.fg-l.prix { padding: 5px; border-radius: 3px; box-shadow: inset 0 0 0 1px rgba(22,21,16,0.08); }
.fg-l.prix.fort { background: rgba(22,21,16,0.04); }
.fg-l.champs { gap: 5px; margin-top: 4px; }
.fg-r.logos i { height: 5px; }
.fg-r.equipe { margin-top: 4px; }
/* La réponse de Maxime : les logos remontent sous le titre, teintés un instant du bleu de la sélection */
.fg-page > .fg-nav { order: -3; }
.fg-frame.logos-haut .fg-page > i.t { order: -2; }
.fg-frame.logos-haut .fg-page > .logos { order: -1; }
.fg-frame.logos-haut .fg-page > .logos i { background: rgba(13,153,255,0.35); }
.fg-frame.logos-haut:has(.fg-com.ok) .fg-page > .logos i { background: rgba(22,21,16,0.1); } /* le commentaire résolu, la teinte s'en va */
/* Les commentaires : l'épingle de Figma (une goutte à l'initiale de Camille) et sa bulle, qui déborde sur la page voisine */
.fg-com { position: absolute; z-index: 2; display: flex; align-items: flex-start; gap: 6px; opacity: 0; transform: scale(0.6); transform-origin: 0 100%; transition: opacity 0.25s ease-out, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1); }
.fg-com.vu { opacity: 1; transform: none; }
.fg-pin { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50% 50% 50% 0; background: #0D99FF; color: #fff; font: 600 10px/1 'Inter', system-ui, sans-serif; box-shadow: 0 1px 3px rgba(20,19,14,0.25); transition: background 0.3s; }
.fg-com.ok .fg-pin { background: #8c9270; font-size: 0; }
.fg-com.ok .fg-pin::after { content: "✓"; font-size: 11px; }
.fg-bulle { display: grid; gap: 2px; width: 150px; padding: 8px 10px; background: #fff; border-radius: 10px; box-shadow: 0 1px 2px rgba(20,19,14,0.1), 0 8px 22px rgba(20,19,14,0.16); font-size: 10.5px; line-height: 1.35; transition: opacity 0.3s, transform 0.3s; transform-origin: 0 0; }
.fg-bulle b { font-weight: 500; }
.fg-rep { display: none; margin-top: 5px; padding-top: 5px; border-top: 1px solid var(--trait); }
.fg-rep b { display: block; }
.fg-com.repondu .fg-rep { display: block; }
.fg-com.ok .fg-bulle { opacity: 0; transform: scale(0.9); }

/* 02 · Direction artistique : trois pistes côte à côte, Luana retient la deuxième */
.sp-pistes { position: absolute; left: 30px; right: 30px; top: 20px; bottom: 26px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sp-piste { margin: 0; display: grid; grid-template-rows: 26px 1fr; gap: 6px; min-width: 0; }
.sp-pistes.choisi .sp-piste:not([data-piste="b"]) { opacity: 0.4; }
.sp-piste figcaption { display: flex; align-items: center; justify-content: space-between; font-size: 11.5px; color: var(--muted); }
.p-hero { border-radius: 10px; background: var(--bg); color: var(--fg); padding: 20px 18px; display: flex; flex-direction: column; gap: 9px; box-shadow: 0 0 0 1px rgba(22,21,16,0.06); }
.p-hero b { font-size: var(--ts, 24px); font-weight: var(--tw, 400); line-height: 1.08; letter-spacing: var(--tl, -0.01em); margin-bottom: 6px; }
.p-hero > i { display: block; height: 6px; border-radius: 3px; background: currentColor; opacity: 0.28; }
.p-hero > i:nth-of-type(2) { width: 70%; }
.p-bt { margin-top: 8px; width: 84px; height: 24px; border-radius: var(--br, 999px); background: var(--ac); }
.p-pal { margin-top: auto; display: flex; gap: 6px; }
.p-pal i { width: 16px; height: 16px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 1px rgba(22,21,16,0.12); }

/* 03 · Style guide : la planche se compose, la couleur retenue est nommée, le guide est publié */
.sp-guide { position: absolute; left: 32px; right: 32px; top: 22px; bottom: 50px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.g-col { display: grid; align-content: start; gap: 20px; min-width: 0; }
.sp-guide .et { margin-bottom: 10px; }
.g-nuancier { display: flex; gap: 6px; }
.g-nuancier i { flex: 1; min-width: 0; display: grid; gap: 4px; font-style: normal; }
.g-nuancier i::before { content: ""; height: 44px; border-radius: 8px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(22,21,16,0.08); }
.g-nuancier b { font-size: 10.5px; font-weight: 450; white-space: nowrap; }
.g-nuancier small { font: 9px/1 ui-monospace, Menlo, monospace; color: var(--muted); }
.g-typo { display: grid; gap: 8px; }
.g-typo > div { display: flex; align-items: baseline; gap: 12px; }
.g-typo b { min-width: 52px; font-weight: 400; line-height: 1; letter-spacing: -0.02em; }
.g-typo span { font-size: 11px; color: var(--muted); }
.g-comp { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.sp .g-comp .bt { padding: 9px 14px; font-size: 12.5px; }
.g-champ { display: flex; align-items: center; width: 100%; height: 34px; padding: 0 12px; border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(22,21,16,0.14); font-size: 12px; color: var(--muted); }
.g-esp { display: flex; align-items: flex-end; gap: 7px; }
.g-esp i { display: block; height: 12px; border-radius: 2px; background: #8c9270; }

/* 04 · Création graphique (Theo, 25/09 : « la création d'assets, mockup produit, interface, images, illustrations, après le style guide ») : les assets arrivent un à un,
   tous dans la charte de la piste B retenue (crème, encre, kaki) ; Luana passe l'image au traitement de la charte (duotone kaki), puis les assets sont exportés.
   Chaque asset porte son nom dans une petite étiquette, en bas à gauche. */
.as-lib { position: absolute; left: 8px; bottom: 8px; z-index: 3; padding: 3px 7px; border-radius: 999px; background: rgba(255,255,255,0.92); box-shadow: 0 0 0 1px rgba(22,21,16,0.08); font-size: 9.5px; color: var(--on); white-space: nowrap; }
/* le mockup produit : un portable, la page d'accueil de la piste B à l'écran */
.as-portable { position: absolute; left: 30px; top: 28px; width: 350px; }
.as-ecran { position: relative; height: 208px; padding: 7px; border-radius: 12px 12px 4px 4px; background: #1e1e1e; box-shadow: 0 10px 24px rgba(20,19,14,0.18); }
.as-site { height: 100%; padding: 12px 14px; border-radius: 5px; background: #F6F4EC; display: grid; align-content: start; gap: 7px; overflow: hidden; }
.as-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.as-nav b { font-size: 10px; font-weight: 500; letter-spacing: -0.03em; }
.as-nav span { display: flex; gap: 6px; }
.as-nav i { width: 16px; height: 3px; border-radius: 2px; background: rgba(22,21,16,0.2); }
.as-h { max-width: 62%; font-size: 21px; font-weight: 500; line-height: 1.05; letter-spacing: -0.03em; }
.as-l { display: block; width: 58%; height: 4px; border-radius: 2px; background: rgba(22,21,16,0.14); }
.as-l.court { width: 42%; }
.as-bt { width: 64px; height: 16px; margin-top: 2px; border-radius: 8px; background: #8A8770; }
.as-vignettes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 6px; }
.as-vignettes i { height: 38px; border-radius: 6px; background: #fff; box-shadow: 0 0 0 1px rgba(22,21,16,0.06); }
.as-socle { height: 10px; margin: 0 -14px; border-radius: 0 0 10px 10px; background: linear-gradient(#d6d4cc, #bdbab0); box-shadow: 0 6px 12px rgba(20,19,14,0.14); }
/* l'interface : un téléphone posé devant le portable, l'app du produit à l'écran */
.as-mobile { position: absolute; left: 322px; top: 94px; z-index: 2; width: 104px; height: 212px; padding: 6px; border-radius: 18px; background: #1e1e1e; box-shadow: 0 12px 26px rgba(20,19,14,0.28); }
.as-app { height: 100%; padding: 12px 8px 8px; border-radius: 13px; background: #fff; display: grid; align-content: start; gap: 6px; overflow: hidden; }
.as-app-tete { display: flex; align-items: center; gap: 5px; margin-bottom: 2px; }
.as-app-tete i { width: 12px; height: 12px; border-radius: 50%; background: #14130E; }
.as-app-tete b { font-size: 9px; font-weight: 500; letter-spacing: -0.03em; }
.as-kpi { display: grid; gap: 3px; padding: 7px; border-radius: 8px; background: #F6F4EC; }
.as-kpi small { font-size: 7.5px; color: var(--muted); }
.as-kpi b { font-size: 17px; font-weight: 450; line-height: 1; letter-spacing: -0.02em; }
.as-barres { display: flex; align-items: flex-end; gap: 3px; height: 28px; margin-top: 3px; }
.as-barres i { flex: 1; height: var(--h); border-radius: 2px; background: #8A8770; }
.as-barres i:last-child { background: #14130E; }
.as-ligne { display: flex; align-items: center; gap: 5px; padding: 5px; border-radius: 6px; box-shadow: 0 0 0 1px rgba(22,21,16,0.07); }
.as-ligne i { width: 14px; height: 14px; border-radius: 4px; background: rgba(138,135,112,0.3); }
.as-ligne span { flex: 1; height: 4px; border-radius: 2px; background: rgba(22,21,16,0.14); }
/* l'illustration : des pièces de la palette composées */
.as-illu { position: absolute; left: 450px; top: 28px; width: 240px; height: 130px; overflow: hidden; border-radius: 10px; background: #F6F4EC; box-shadow: 0 0 0 1px rgba(22,21,16,0.06); }
.as-illu i { position: absolute; display: block; }
.as-illu .f1 { left: 26px; top: 26px; width: 64px; height: 64px; border-radius: 50%; background: #14130E; }
.as-illu .f2 { left: 58px; top: 58px; width: 64px; height: 64px; border-radius: 0 64px 0 0; background: #772406; }
.as-illu .f3 { left: 134px; top: 22px; width: 44px; height: 44px; border-radius: 6px; background: #8A8770; }
.as-illu .f4 { left: 150px; top: 76px; width: 70px; height: 35px; border-radius: 35px 35px 0 0; background: #b4b89a; }
.as-illu .f5 { left: 190px; top: 30px; width: 16px; height: 16px; border-radius: 3px; background: #772406; }
/* l'image : une photo brute, puis passée au traitement de la charte (duotone kaki) */
.as-image { position: absolute; left: 450px; top: 170px; width: 240px; height: 116px; overflow: hidden; border-radius: 10px; box-shadow: 0 0 0 1px rgba(22,21,16,0.06); }
.as-image i { position: absolute; inset: 0; display: block; transition: opacity 0.6s ease; }
.as-image .brute { background: radial-gradient(circle at 72% 34%, #f7d9a0 0 12%, transparent 13%), radial-gradient(ellipse at 30% 115%, #4f7a55 0 42%, transparent 43%), radial-gradient(ellipse at 85% 120%, #3f6647 0 40%, transparent 41%), linear-gradient(180deg, #7fa7cf, #e7c6a0); }
.as-image .duo { opacity: 0; background: radial-gradient(circle at 72% 34%, #F6F4EC 0 12%, transparent 13%), radial-gradient(ellipse at 30% 115%, #14130E 0 42%, transparent 43%), radial-gradient(ellipse at 85% 120%, #2a2921 0 40%, transparent 41%), linear-gradient(180deg, #8A8770, #cfccb9); }
.as-image.traitee .duo { opacity: 1; }
/* le composant : une carte d'interface isolée pour les pages et les publications */
.as-composant { position: absolute; left: 60px; top: 262px; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 12px; background: #fff; box-shadow: 0 1px 2px rgba(20,19,14,0.1), 0 10px 24px rgba(20,19,14,0.18); }
.as-composant > i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #8A8770; color: #fff; font-style: normal; font-size: 12px; }
.as-composant > span { display: grid; gap: 1px; }
.as-composant b { font-size: 12px; font-weight: 450; }
.as-composant small { font-size: 10px; color: var(--muted); }
.as-composant .as-lib { left: auto; right: -8px; bottom: auto; top: -10px; }

/* ================= BRAND ================= */
/* 01 · Recherche : le moodboard, trois mots, Luana épingle une piste */
.sp-mood { position: absolute; left: 30px; right: 30px; top: 20px; bottom: 74px; display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: 1fr 1fr; gap: 10px; }
.sp-mood .m { position: relative; display: grid; place-items: center; border-radius: 8px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(22,21,16,0.06); font-style: normal; }
.sp-mood .m b { font-size: 40px; font-weight: 400; letter-spacing: -0.02em; line-height: 1; }
.sp-mood .m .mot { font-size: 22px; }
.sp-mood .m .q { width: 56px; height: 56px; background: #772406; border-radius: 0 56px 0 0; }
.sp-mots { position: absolute; left: 30px; bottom: 26px; display: flex; gap: 8px; }

/* 02 · Logo : la marque se construit sur sa grille, le mot-symbole s'écrit, Luana change la couleur du point */
.sp-const { position: absolute; left: 100px; top: 64px; width: 220px; height: 220px; }
.sp-const .g-grille { position: absolute; inset: 0; border-radius: 8px; background-image: radial-gradient(rgba(22,21,16,0.2) 1px, transparent 1.3px); background-size: 22px 22px; background-position: 0 0; transition: opacity 0.5s; }
.sp-const .g-cercle { position: absolute; left: 20px; top: 20px; width: 180px; height: 180px; border: 1px dashed rgba(119,36,6,0.7); border-radius: 50%; }
.sp-const .g-cercle.sp-r { transform: scale(0.85); }
.sp-const .g-cercle.sp-r.vu { transform: none; }
.sp-const .g-axe { position: absolute; background: rgba(119,36,6,0.45); }
.sp-const .g-axe.h { left: -16px; right: -16px; top: 110px; height: 1px; }
.sp-const .g-axe.v { top: -16px; bottom: -16px; left: 110px; width: 1px; }
.sp-const.net .g-grille, .sp-const.net .g-cercle.vu, .sp-const.net .g-axe.vu { opacity: 0; }
.pc { position: absolute; opacity: 0; transform: translate(var(--x), var(--y)) rotate(var(--rot, 0deg)); transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s, background 0.45s; }
.pc.vu { opacity: 1; transform: none; }
.pc.rond { left: 55px; top: 55px; width: 110px; height: 110px; border-radius: 50%; background: #14130E; }
.pc.demi { left: 55px; top: 110px; width: 110px; height: 55px; border-radius: 0 0 55px 55px; background: #8A8770; }
.pc.point { left: 170px; top: 34px; width: 22px; height: 22px; border-radius: 4px; background: #8A8770; }
.pc.point.bordeaux { background: #772406; }
.sp-mot { position: absolute; left: 400px; top: 132px; font-size: 76px; font-weight: 450; letter-spacing: -0.04em; line-height: 1; }
.sp-mot span { display: inline-block; }

/* 03 · Charte graphique : la marque déclinée, icône, carte, publication, palette, typographie */
.sp-kit { position: absolute; left: 28px; right: 28px; top: 20px; bottom: 64px; display: grid; grid-template-columns: 150px 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; }
.sp-kit > div { position: relative; border-radius: 10px; overflow: hidden; box-shadow: 0 0 0 1px rgba(22,21,16,0.06); }
.k-marque { position: relative; display: block; width: var(--t, 56px); height: var(--t, 56px); flex: none; }
.k-marque i { position: absolute; display: block; }
.k-marque i:nth-child(1) { inset: 0; border-radius: 50%; background: var(--m1, #14130E); }
.k-marque i:nth-child(2) { left: 0; right: 0; bottom: 0; height: 50%; border-radius: 0 0 999px 999px; background: var(--m2, #8A8770); }
.k-marque i:nth-child(3) { left: 105%; top: -12%; width: 20%; height: 20%; border-radius: 12%; background: var(--m3, #772406); }
.k-app { background: #14130E; display: grid; place-items: center; --m1: #F6F4EC; }
.k-carte { grid-column: 2 / 4; background: #fff; display: flex; align-items: center; gap: 22px; padding: 0 26px; --t: 44px; }
.k-carte b { font-size: 34px; font-weight: 450; letter-spacing: -0.04em; line-height: 1; margin-left: 8px; }
.k-carte .k-lignes { margin-left: auto; display: grid; gap: 6px; justify-items: end; }
.k-carte .k-lignes i { display: block; width: 110px; height: 6px; border-radius: 3px; background: rgba(22,21,16,0.12); }
.k-carte .k-lignes i:nth-child(2) { width: 80px; }
.k-post { background: #772406; color: #F6F4EC; display: flex; flex-direction: column; justify-content: space-between; padding: 14px 16px; --t: 30px; --m1: #F6F4EC; --m3: #14130E; }
.k-post b { font-size: 20px; font-weight: 400; line-height: 1.1; letter-spacing: -0.01em; }
.k-palette { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; }
.k-palette i { display: flex; align-items: flex-end; padding: 8px; background: var(--c); font-style: normal; }
.k-palette small { font: 9px/1 ui-monospace, Menlo, monospace; color: var(--t-c, rgba(245,244,238,0.85)); }
.k-typo { background: #fff; display: flex; align-items: center; gap: 14px; padding: 0 20px; }
.k-typo b { font-size: 54px; font-weight: 400; letter-spacing: -0.03em; line-height: 1; }
.k-typo span { font-size: 11.5px; line-height: 1.4; color: var(--muted); }

/* 04 · Réseaux sociaux (Theo, 25/09 : « les social media assets avec une vue reproduite de LinkedIn, signature mail, etc., que ça ait l'air concret ») :
   à gauche le fil LinkedIn (sa barre, son fond, sa carte de post, ses réactions et ses actions), un post de la marque ; à droite un e-mail en cours, la signature
   et son bandeau. Luana passe le visuel du post du gabarit « Lancement » au gabarit « Recrutement ». */
.li-fenetre { position: absolute; left: 26px; top: 16px; bottom: 16px; width: 372px; overflow: hidden; border-radius: 10px; background: #f4f2ee; box-shadow: 0 0 0 1px rgba(22,21,16,0.08); font-family: 'Inter', system-ui, sans-serif; }
.li-barre { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 10px; background: #fff; border-bottom: 1px solid #e0dfdc; }
.li-logo { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 3px; background: #0A66C2; color: #fff; font: 700 11px/1 'Inter', system-ui, sans-serif; letter-spacing: -0.02em; }
.li-cherche { width: 120px; padding: 4px 8px; border-radius: 4px; background: #edf3f8; color: rgba(0,0,0,0.5); font-size: 9px; }
.li-icones { display: flex; gap: 10px; margin-left: auto; }
.li-icones i { width: 12px; height: 12px; border-radius: 3px; background: rgba(0,0,0,0.25); }
.li-post { margin: 10px 12px; padding: 10px 0 0; border-radius: 8px; background: #fff; box-shadow: 0 0 0 1px #e0dfdc; }
.li-tete { display: flex; align-items: flex-start; gap: 8px; padding: 0 12px; }
.li-avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 4px; background: #772406; }
.li-avatar .k-marque { margin-right: 4px; }
.li-tete > span:nth-child(2) { display: grid; gap: 1px; line-height: 1.2; }
.li-tete b { font-size: 11.5px; font-weight: 600; color: rgba(0,0,0,0.9); }
.li-tete small { font-size: 9px; color: rgba(0,0,0,0.6); }
.li-suivre { margin-left: auto; color: #0A66C2; font-size: 10.5px; font-weight: 600; }
.li-texte { margin: 8px 12px; font-size: 10.5px; line-height: 1.4; color: rgba(0,0,0,0.9); }
.li-visuel { position: relative; height: 148px; overflow: hidden; }
.li-g { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 16px 18px; transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.li-g b { font-size: 26px; font-weight: 400; line-height: 1.02; letter-spacing: -0.02em; }
.li-g small { font-size: 9.5px; opacity: 0.8; }
.li-g.lancement { background: #772406; color: #F6F4EC; }
.li-g.recrute { background: #8A8770; color: #14130E; transform: translateX(100%); }
.li-visuel.suivant .lancement { transform: translateX(-100%); }
.li-visuel.suivant .recrute { transform: none; }
.li-reactions { display: flex; align-items: center; gap: 6px; padding: 7px 12px; border-bottom: 1px solid #ebe9e6; font-size: 9.5px; color: rgba(0,0,0,0.6); }
.li-emo { display: flex; }
.li-emo i { width: 13px; height: 13px; margin-right: -3px; border-radius: 50%; border: 1.5px solid #fff; }
.li-emo .jaime { background: #378fe9; } .li-emo .coeur { background: #df704d; } .li-emo .bravo { background: #6dae4f; }
.li-nb { margin-left: 3px; font-weight: 400; font-variant-numeric: tabular-nums; }
.li-reactions small { margin-left: auto; font-size: 9px; }
.li-actions { display: grid; grid-template-columns: repeat(4, 1fr); padding: 4px 6px; }
.li-actions span { display: flex; align-items: center; justify-content: center; gap: 5px; padding: 6px 0; font-size: 9.5px; font-weight: 600; color: rgba(0,0,0,0.6); }
.li-actions i { width: 11px; height: 11px; border-radius: 2px; background: rgba(0,0,0,0.45); }
/* l'e-mail : une fenêtre de rédaction, la signature de la marque et son bandeau */
.sig-fenetre { position: absolute; left: 414px; right: 26px; top: 40px; overflow: hidden; border-radius: 10px; background: #fff; box-shadow: 0 1px 2px rgba(20,19,14,0.1), 0 12px 30px rgba(20,19,14,0.16); font-family: 'Inter', system-ui, sans-serif; }
.sig-barre { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; background: #2a2921; color: #f5f4ee; font-size: 10.5px; }
.sig-barre b { font-weight: 500; }
.sig-champ { display: flex; gap: 8px; padding: 7px 12px; border-bottom: 1px solid #ebe9e6; font-size: 10px; }
.sig-champ small { color: rgba(0,0,0,0.5); font-size: 10px; }
.sig-corps { display: grid; gap: 6px; padding: 12px 12px 14px; }
.sig-corps > i { display: block; height: 5px; border-radius: 3px; background: rgba(22,21,16,0.12); }
.sig-corps > i.court { width: 60%; }
.sig-signature { display: flex; align-items: center; gap: 12px; margin-top: 10px; padding-top: 12px; border-top: 1px solid #ebe9e6; }
.sig-signature .k-marque { margin-right: 6px; }
.sig-signature > span { display: grid; gap: 1px; line-height: 1.25; }
.sig-signature b { font-size: 11.5px; font-weight: 600; color: #14130E; }
.sig-signature small { font-size: 9.5px; color: rgba(0,0,0,0.6); }
.sig-signature em { font-style: normal; font-size: 9.5px; color: #6f6d5f; text-decoration: underline; text-underline-offset: 2px; }
.sig-bandeau { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; padding: 8px 10px; border-radius: 6px; background: #772406; color: #F6F4EC; font-size: 10px; }
.sig-bandeau b { font-weight: 500; }

/* ================= DÉVELOPPEMENT ================= */
/* 01 · Intégration : le code s'écrit ligne par ligne, la page se construit en face, au pixel près de la maquette */
.sp-code { position: absolute; left: 0; top: 0; bottom: 0; width: 300px; padding: 14px 0; background: #1e1e1e; color: #d4d4d4; font: 11px/1.95 ui-monospace, Menlo, monospace; }
.c-tete { display: flex; gap: 8px; padding: 0 16px 10px; margin-bottom: 8px; border-bottom: 1px solid #2c2c2c; color: #8a8a8a; font-size: 10.5px; }
.c-l { display: block; padding: 0 16px; white-space: pre; clip-path: inset(0 100% 0 0); transition: clip-path 0.34s steps(14, end); }
.c-l.in { padding-left: 32px; }
.c-l.vu { clip-path: inset(0 0 0 0); }
.c-l em { font-style: normal; }
.c-l .k { color: #7fb4ca; } .c-l .a { color: #d7ba7d; } .c-l .v { color: #ce9178; }
.sp-apercu { position: absolute; left: 300px; right: 0; top: 0; bottom: 0; padding: 22px 26px; }
.a-page { height: 100%; padding: 16px 20px; background: #fff; border-radius: 8px; box-shadow: 0 0 0 1px rgba(22,21,16,0.06); display: grid; align-content: start; gap: 10px; }
.a-nav { display: flex; align-items: center; justify-content: space-between; }
.a-nav b { font-size: 13px; font-weight: 500; letter-spacing: -0.03em; }
.a-nav span { display: flex; gap: 10px; }
.a-nav span i { display: block; width: 22px; height: 5px; border-radius: 3px; background: rgba(22,21,16,0.15); }
.a-titre { margin-top: 12px; font-size: 26px; font-weight: 400; line-height: 1.08; letter-spacing: -0.02em; }
.a-texte { display: grid; gap: 5px; }
.a-texte i { display: block; width: 86%; height: 6px; border-radius: 3px; background: rgba(22,21,16,0.12); }
.a-texte i + i { width: 62%; }
.sp .a-page .bt { justify-self: start; margin-top: 6px; padding: 8px 13px; font-size: 11.5px; }
.a-cartes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.a-cartes i { display: block; height: 64px; border-radius: 8px; background: #f5f4ef; }
.sp[data-sp="dev"] [data-p="0"] .sp-chip { right: 40px; bottom: 36px; }

/* 02 · Éditeur : Camille passe la page en anglais, en allemand, puis publie */
.e-barre { display: flex; align-items: center; justify-content: space-between; height: 50px; padding: 0 16px; border-bottom: 1px solid var(--trait); }
.e-page { font-size: 12.5px; font-weight: 450; }
.e-langues { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--surface-2); }
.e-langues i { padding: 5px 10px; border-radius: 999px; font-style: normal; font-size: 11px; color: var(--muted); transition: background 0.25s, color 0.25s, box-shadow 0.25s; }
.e-langues i.on { background: #fff; color: var(--on); box-shadow: 0 1px 2px rgba(20,19,14,0.14); }
.sp .e-publier { padding: 8px 14px; font-size: 12px; transition: background 0.3s; }
.sp .e-publier.ok { background: #8c9270; }
.e-corps { position: absolute; top: 51px; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 160px 1fr; }
.e-sections { display: grid; align-content: start; gap: 3px; padding: 16px 12px; border-right: 1px solid var(--trait); }
.e-sections .et { margin: 0 0 6px 10px; }
.e-sections i { padding: 7px 10px; border-radius: 8px; font-style: normal; font-size: 12px; }
.e-sections i.on { background: var(--surface-2); }
.e-sections i.plus { color: var(--muted); }
.e-apercu { padding: 18px 22px; background: #f5f4ef; }
.e-apercu .a-page { height: 100%; }
.a-titre.change, .sp .bt.change { animation: sp-change 0.45s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes sp-change { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* 03 · Tracking (25/09, Theo : « le tracking après avoir dev, avec la mise en place de tracking d'événement et de conversion sur des CTA et des formulaires ») :
   les événements se posent sur le bouton et le formulaire (contour pointillé, étiquette du nom d'événement), la liste se remplit à droite, puis un clic de test
   et un envoi de formulaire arrivent dans l'aperçu en direct. */
.tk-apercu { position: absolute; left: 0; top: 0; bottom: 0; width: 420px; padding: 20px 24px; background: #f5f4ef; }
.tk-apercu .a-page { gap: 12px; }
.tk-cible { position: relative; justify-self: start; display: inline-flex; padding: 4px; margin: -4px; border-radius: 10px; outline: 1.5px dashed transparent; outline-offset: 0; transition: outline-color 0.3s; }
.tk-cible.on { outline-color: #0D99FF; }
.tk-form { display: grid; gap: 6px; width: 200px; margin-top: 2px; }
.tk-champ { display: flex; align-items: center; height: 26px; padding: 0 9px; border-radius: 6px; box-shadow: inset 0 0 0 1px rgba(22,21,16,0.16); font-size: 11px; }
.tk-champ i { font-style: normal; white-space: nowrap; clip-path: inset(0 100% 0 0); transition: clip-path 0.6s steps(18, end); }
.tk-champ.rempli i { clip-path: inset(0 0 0 0); }
.sp .tk-cible .bt { margin-top: 0; }
.sp .tk-form .bt { justify-self: start; padding: 6px 12px; font-size: 11px; }
.tk-tag { position: absolute; left: calc(100% + 8px); top: 6px; padding: 3px 8px; border-radius: 999px; background: #0D99FF; color: #fff; font: 500 10px/1.2 ui-monospace, Menlo, monospace; white-space: nowrap; }
.tk-panneau { position: absolute; left: 420px; right: 0; top: 0; bottom: 0; display: grid; align-content: start; gap: 8px; padding: 16px; border-left: 1px solid var(--trait); }
.tk-tete { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.tk-tete .et { margin: 0; }
.tk-direct { display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; color: #4f5438; }
.tk-direct::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #8c9270; }
.tk-ev { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 8px; padding: 10px 12px; border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px rgba(22,21,16,0.08); }
.tk-ev b { font: 500 11px/1.3 ui-monospace, Menlo, monospace; }
.tk-ev span { grid-column: 1; font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tk-ev em { grid-column: 2; grid-row: 1; justify-self: end; padding: 2px 7px; border-radius: 999px; background: rgba(13,153,255,0.12); color: #0a6fb8; font-style: normal; font-size: 10px; }
.tk-ev em.neutre { background: var(--surface-2); color: var(--muted); }
.tk-recu { grid-column: 2; grid-row: 2; justify-self: end; font: 500 10px/1.3 ui-monospace, Menlo, monospace; color: #4f5438; }
.tk-ev:not(.ok) .tk-recu { visibility: hidden; }
.tk-ev.flash { animation: tk-flash 0.7s ease-out; }
@keyframes tk-flash { from { background: rgba(140,146,112,0.3); } to { background: #fff; } }
.sp-pulse { position: absolute; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; border: 2px solid #0D99FF; pointer-events: none; animation: sp-pulse 0.6s ease-out forwards; }
@keyframes sp-pulse { from { transform: scale(0.3); opacity: 0.9; } to { transform: scale(1.6); opacity: 0; } }

/* 04 · Mise en ligne : les scores se remplissent, le déploiement passe ses étapes, le site est en ligne */
.sp-scores { position: absolute; left: 30px; right: 30px; top: 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.s-jauge { position: relative; display: grid; justify-items: center; gap: 8px; padding: 16px 12px 14px; background: #fff; border-radius: 12px; box-shadow: 0 0 0 1px rgba(22,21,16,0.06); }
.s-jauge svg { width: 72px; height: 72px; transform: rotate(-90deg); }
.s-jauge circle { fill: none; stroke-width: 5; }
.s-jauge circle.f { stroke: rgba(22,21,16,0.08); }
.s-jauge circle.v { stroke: #8c9270; stroke-linecap: round; stroke-dasharray: 169.65; stroke-dashoffset: 169.65; transition: stroke-dashoffset 1.1s cubic-bezier(0.16, 1, 0.3, 1); }
.s-jauge b { position: absolute; left: 0; right: 0; top: 16px; height: 72px; display: grid; place-items: center; font-size: 20px; font-weight: 450; }
.s-jauge span { font-size: 11.5px; color: var(--muted); }
.g-tete { display: flex; align-items: center; justify-content: space-between; }
.g-tete .et { margin: 0; }
.sp-enligne::before { content: ""; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: #4f5438; }
.ml-deploi { position: absolute; left: 30px; right: 30px; top: 190px; display: grid; gap: 16px; padding: 16px 18px 18px; background: #fff; border-radius: 12px; box-shadow: 0 0 0 1px rgba(22,21,16,0.06); }
.ml-barre { height: 6px; border-radius: 3px; background: rgba(22,21,16,0.08); overflow: hidden; }
.ml-barre i { display: block; height: 100%; background: #8c9270; transform: scaleX(0); transform-origin: left; transition: transform 1.6s cubic-bezier(0.45, 0, 0.2, 1); }
.ml-deploi.plein .ml-barre i { transform: none; }
.ml-etapes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.ml-etapes span { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--muted); transition: color 0.3s; }
.ml-etapes span::before { content: "✓"; display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(22,21,16,0.2); color: transparent; font-size: 9px; transition: background 0.3s, color 0.3s, box-shadow 0.3s; }
.ml-etapes span.ok { color: var(--on); }
.ml-etapes span.ok::before { background: #8c9270; box-shadow: none; color: #fff; }

/* 05 · Analytics (25/09, Theo : « avec un dashboard ensuite analytics ») : les chiffres clés montent, les conversions de la semaine s'empilent, le tableau de bord est partagé */
.an-kpis { position: absolute; left: 30px; right: 30px; top: 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.an-kpi { display: grid; gap: 6px; padding: 14px 16px; background: #fff; border-radius: 12px; box-shadow: 0 0 0 1px rgba(22,21,16,0.06); }
.an-kpi span { font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.an-kpi b { font-size: 24px; font-weight: 450; line-height: 1.1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.an-kpi em { font-style: normal; font-size: 11px; color: #4f5438; }
.an-graph { position: absolute; left: 30px; right: 30px; top: 138px; bottom: 24px; display: grid; grid-template-rows: auto 1fr; gap: 14px; padding: 14px 16px 16px; background: #fff; border-radius: 12px; box-shadow: 0 0 0 1px rgba(22,21,16,0.06); }
.an-barres { display: flex; align-items: flex-end; gap: 10px; min-height: 0; }
.an-barres i { flex: 1; height: var(--h); border-radius: 4px 4px 2px 2px; background: #8c9270; transform: scaleY(0); transform-origin: bottom; transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); transition-delay: calc(var(--i) * 60ms); }
.an-barres i:last-child { background: #161510; }
.an-graph.plein .an-barres i { transform: none; }
