- Integration de la police Chillax (woff2 locaux) et configuration CSS/Tailwind - Ajout de l'ecran de chargement video au lancement (splash screen avec loading.mp4) - Mise a jour des logos officiels (logo.png, logo-official.jpg, logo-square.png, logo-transparent.png) - Harmonisation typographique sur l'ensemble des pages
401 lignes
43 KiB
HTML
401 lignes
43 KiB
HTML
<!doctype html>
|
|
<html lang="fr">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
|
<title>Charte graphique jobrunner</title>
|
|
<meta name="robots" content="noindex">
|
|
<link rel="icon" type="image/png" href="assets/img/logo.png">
|
|
<link rel="preload" href="assets/fonts/chillax-latin-400-normal.woff2" as="font" type="font/woff2" crossorigin>
|
|
<link rel="preload" href="assets/fonts/chillax-latin-600-normal.woff2" as="font" type="font/woff2" crossorigin>
|
|
<link rel="stylesheet" href="assets/css/fonts.css">
|
|
<style>
|
|
:root{
|
|
--fond:#F2F0E6; --sauge:#8B9E90; --texte:#2D2D2D;
|
|
--chair:#E8D5C4; --filet:#E0DDD5; --carte:#F8F7F1; --doux:#6B6B6B;
|
|
--rayon:22px;
|
|
}
|
|
*{box-sizing:border-box}
|
|
html,body{margin:0;background:var(--fond);color:var(--texte);font-family:Chillax,Outfit,system-ui,sans-serif;line-height:1.55}
|
|
main{max-width:1040px;margin:0 auto;padding:0 16px 80px}
|
|
a{color:inherit}
|
|
h1,h2,h3{font-weight:800;line-height:1.15;margin:0}
|
|
h2{font-size:clamp(24px,4vw,32px);margin-bottom:8px}
|
|
h3{font-size:17px;font-weight:600;margin-bottom:6px}
|
|
p{margin:0 0 10px}
|
|
.chapo{color:var(--doux);max-width:640px;margin-bottom:24px}
|
|
section{padding:56px 0 8px;border-top:1px solid var(--filet)}
|
|
.num{display:inline-block;font-size:13px;font-weight:600;color:var(--sauge);letter-spacing:.08em;text-transform:uppercase;margin-bottom:6px}
|
|
.carte{background:var(--carte);border:1px solid var(--filet);border-radius:var(--rayon);padding:20px}
|
|
.grille{display:grid;gap:16px}
|
|
.g2{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}
|
|
.g3{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}
|
|
.grille>*{min-width:0}
|
|
|
|
/* En-tête */
|
|
header{max-width:1040px;margin:0 auto;padding:48px 16px 40px;display:flex;gap:28px;align-items:center;flex-wrap:wrap}
|
|
header .marque{display:flex;align-items:center;gap:14px}
|
|
header .marque svg{width:72px;height:auto}
|
|
header .marque span{font-family:Chillax,Outfit,sans-serif;font-weight:700;font-size:42px;color:var(--sauge);-webkit-text-stroke:1px var(--texte);letter-spacing:-.01em}
|
|
header .titre{flex:1;min-width:240px}
|
|
header .titre h1{font-size:clamp(28px,5vw,44px)}
|
|
header .titre p{color:var(--doux);margin:6px 0 0}
|
|
nav.sommaire{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 8px}
|
|
nav.sommaire a{text-decoration:none;font-size:14px;font-weight:600;padding:8px 16px;border-radius:999px;border:1.5px solid var(--texte)}
|
|
nav.sommaire a:hover{background:var(--sauge);border-color:var(--sauge);color:var(--fond)}
|
|
|
|
/* Principes */
|
|
.principe b{display:block;font-size:18px;font-weight:800;margin-bottom:4px}
|
|
|
|
/* Couleurs */
|
|
.nuance{border-radius:var(--rayon);overflow:hidden;border:1px solid var(--filet);background:var(--carte)}
|
|
.nuance .pastille{height:120px}
|
|
.nuance .info{padding:14px 16px}
|
|
.nuance code{font-size:13px;background:none;cursor:pointer;border-bottom:1px dashed var(--doux)}
|
|
.nuance small{display:block;color:var(--doux);font-size:13px;margin-top:4px}
|
|
.etiquette{display:inline-block;font-size:11px;font-weight:600;padding:2px 8px;border-radius:999px;background:var(--chair);margin-left:6px;vertical-align:middle}
|
|
.regles li{margin-bottom:6px}
|
|
|
|
/* Typographie */
|
|
.specimen{font-size:clamp(40px,8vw,80px);font-weight:800;line-height:1;margin:6px 0 14px}
|
|
.echelle div{display:flex;align-items:baseline;gap:16px;padding:10px 0;border-bottom:1px solid var(--filet);flex-wrap:wrap}
|
|
.echelle div:last-child{border-bottom:0}
|
|
.echelle small{width:min(150px,100%);color:var(--doux);font-size:12px;flex-shrink:0}
|
|
|
|
/* Logo */
|
|
.logo-zone{display:grid;place-items:center;min-height:200px;border-radius:var(--rayon)}
|
|
.logo-zone svg{width:120px;height:auto}
|
|
.zone-sauge{background:var(--sauge)}
|
|
.ok,.ko{font-weight:800}
|
|
.ok{color:#4F7A55} .ko{color:#A0554B}
|
|
|
|
/* Composants */
|
|
.btn{font:inherit;font-weight:600;font-size:15px;border:0;border-radius:999px;padding:13px 26px;cursor:pointer;position:relative;overflow:hidden;isolation:isolate}
|
|
.btn-primaire{background:var(--sauge);color:var(--fond)}
|
|
.btn-secondaire{background:transparent;color:var(--texte);box-shadow:inset 0 0 0 2px var(--texte)}
|
|
.badge{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:600;padding:6px 14px;border-radius:999px;background:var(--sauge);color:var(--fond)}
|
|
.etoiles{display:inline-flex;gap:3px;vertical-align:middle}
|
|
.etoiles svg{width:20px;height:20px}
|
|
.composants{display:flex;gap:14px;flex-wrap:wrap;align-items:center}
|
|
|
|
/* Icônes (cadre en CSS) */
|
|
.ico{--t:72px;display:inline-grid;place-items:center;width:var(--t);height:var(--t);border:calc(var(--t)*.054) solid currentColor;border-radius:26%;color:var(--texte)}
|
|
.ico svg{width:86%;height:86%}
|
|
.ico.actif{color:var(--sauge)}
|
|
.ico.plein{background:var(--sauge)} .ico.plein svg path{fill:var(--fond)}
|
|
.icones{display:grid;grid-template-columns:repeat(auto-fill,minmax(104px,1fr));gap:18px 12px}
|
|
.icones figure{margin:0;text-align:center}
|
|
.icones figcaption{font-size:12px;margin-top:6px}
|
|
.icones a{font-size:11px;color:var(--doux)}
|
|
.nus{display:flex;gap:18px;flex-wrap:wrap;color:var(--texte)} .nus svg{width:28px;height:28px}
|
|
|
|
/* Animations */
|
|
.demo{display:flex;flex-direction:column;gap:14px}
|
|
.scene{background:var(--fond);border:1px solid var(--filet);border-radius:var(--rayon);min-height:190px;display:grid;place-items:center;padding:16px;overflow:hidden}
|
|
.lancer{align-self:flex-start;font:inherit;font-size:14px;font-weight:600;padding:9px 18px;border-radius:999px;border:1.5px solid var(--texte);background:transparent;cursor:pointer}
|
|
.lancer:hover{background:var(--texte);color:var(--fond)}
|
|
#a-logo{width:100%;max-width:640px;height:auto}
|
|
|
|
/* CTA glissant */
|
|
.btn-glisse{background:var(--sauge);color:var(--fond)}
|
|
.btn-glisse::before{content:"";position:absolute;inset:0;background:var(--texte);transform:translateX(-101%);transition:transform .45s cubic-bezier(.65,0,.35,1);z-index:-1;border-radius:inherit}
|
|
.btn-glisse .fl{display:inline-block;width:0;opacity:0;overflow:hidden;transition:width .35s,opacity .35s,transform .35s;transform:translateX(-6px);vertical-align:middle}
|
|
.btn-glisse:hover::before,.btn-glisse.joue::before{transform:none}
|
|
.btn-glisse:hover .fl,.btn-glisse.joue .fl{width:22px;opacity:1;transform:none}
|
|
|
|
/* Barre de navigation */
|
|
.barre{position:relative;display:flex;gap:6px;background:var(--carte);border:1px solid var(--filet);padding:8px;border-radius:28px}
|
|
.barre button{position:relative;z-index:1;background:none;border:0;padding:8px 10px;width:64px;cursor:pointer;color:var(--texte);display:grid;place-items:center;gap:2px;font:inherit;font-size:10px;font-weight:600;transition:color .3s}
|
|
.barre button svg{width:26px;height:26px}
|
|
.barre button.on{color:var(--fond)}
|
|
.barre .pilule{position:absolute;top:8px;bottom:8px;left:8px;width:64px;border-radius:20px;background:var(--sauge);transition:transform .45s cubic-bezier(.65,0,.35,1)}
|
|
|
|
/* Glisser pour valider */
|
|
.glisseur{position:relative;width:min(100%,340px);height:64px;border-radius:999px;background:var(--carte);box-shadow:inset 0 0 0 2px var(--sauge);overflow:hidden;user-select:none;touch-action:none}
|
|
.glisseur .remplissage{position:absolute;inset:0;width:64px;background:var(--sauge);border-radius:999px}
|
|
.glisseur .texte{position:absolute;inset:0;display:grid;place-items:center;font-weight:600;font-size:15px;color:var(--doux);padding-left:40px}
|
|
.glisseur .poignee{position:absolute;top:6px;left:6px;width:52px;height:52px;border-radius:50%;background:var(--fond);display:grid;place-items:center;cursor:grab;box-shadow:0 1px 0 var(--filet)}
|
|
.glisseur .poignee svg{width:30px;height:30px;color:var(--texte)}
|
|
.glisseur.fait .texte{color:var(--fond)}
|
|
|
|
.ouvert{background:var(--carte);border:1.5px dashed var(--sauge);border-radius:var(--rayon);padding:18px 20px}
|
|
.ouvert li{margin-bottom:6px}
|
|
footer{max-width:1040px;margin:0 auto;padding:24px 16px 40px;color:var(--doux);font-size:13px}
|
|
@media (max-width:520px){.barre{gap:2px;padding:6px}.barre button{width:50px;padding:6px 2px;font-size:9px}.barre button svg{width:22px;height:22px}.barre .pilule{top:6px;bottom:6px;left:6px}.scene{padding:10px}}
|
|
@media (prefers-reduced-motion:reduce){*{transition:none!important}}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
|
|
<header>
|
|
<div class="marque">
|
|
<img src="assets/img/logo.png" alt="Logo Jobrunner" width="34" height="34" style="object-fit:contain;">
|
|
<span>jobrunner</span>
|
|
</div>
|
|
<div class="titre">
|
|
<h1>Charte graphique</h1>
|
|
<p>Version 1.1 · octobre 2026 · Théo & Nils</p>
|
|
</div>
|
|
</header>
|
|
|
|
<main>
|
|
<p style="margin:0 0 14px"><a href="index.html" style="font-weight:600">← Espace projet</a></p>
|
|
<nav class="sommaire" aria-label="Sommaire">
|
|
<a href="#essentiel">L'essentiel</a><a href="#couleurs">Couleurs</a><a href="#typo">Typographie</a>
|
|
<a href="#logo">Logo</a><a href="#composants">Composants</a><a href="#icones">Icônes</a><a href="#animations">Animations</a>
|
|
</nav>
|
|
|
|
<!-- 1 -->
|
|
<section id="essentiel">
|
|
<span class="num">01</span>
|
|
<h2>L'essentiel</h2>
|
|
<p class="chapo">jobrunner est une place de marché de services entre particuliers et micro-entrepreneurs, en local. On n'y vend pas des objets, mais des compétences. L'identité doit inspirer trois choses : la <b>confiance</b>, la <b>proximité</b> et le <b>sérieux</b>.</p>
|
|
<div class="grille g3">
|
|
<div class="carte principe"><b>Minimaliste</b>Peu d'éléments par écran, une seule action principale visible à la fois.</div>
|
|
<div class="carte principe"><b>Aéré</b>Beaucoup d'espace vide. Marges généreuses, jamais de blocs serrés.</div>
|
|
<div class="carte principe"><b>Totalement arrondi</b>Aucun angle vif : cartes, boutons, icônes et lettres ont des contours doux.</div>
|
|
</div>
|
|
<div class="carte" style="margin-top:16px">
|
|
<h3>Le cycle, en trois mots</h3>
|
|
<p style="font-size:clamp(22px,3.6vw,30px);font-weight:800;margin:0">Trouvez. Réservez. Fait.</p>
|
|
<p style="color:var(--doux);margin:6px 0 0">C'est la signature de la marque, et l'ordre du parcours dans l'application : chercher un Runner, réserver et payer (l'argent est bloqué), puis valider « Fait. » pour le libérer.</p>
|
|
</div>
|
|
</section>
|
|
|
|
<!-- 2 -->
|
|
<section id="couleurs">
|
|
<span class="num">02</span>
|
|
<h2>Couleurs</h2>
|
|
<p class="chapo">Une palette courte, douce et organique. Le blanc pur est remplacé partout par le beige. Cliquez sur un code pour le copier.</p>
|
|
<div class="grille g3">
|
|
<div class="nuance"><div class="pastille" style="background:#F2F0E6;border-bottom:1px solid var(--filet)"></div><div class="info"><h3>Beige</h3><code>#F2F0E6</code><small>RVB 242, 240, 230 · fond de tous les écrans</small></div></div>
|
|
<div class="nuance"><div class="pastille" style="background:#8B9E90"></div><div class="info"><h3>Vert sauge grisé</h3><code>#8B9E90</code><small>RVB 139, 158, 144 · logo, boutons d'action, état actif</small></div></div>
|
|
<div class="nuance"><div class="pastille" style="background:#2D2D2D"></div><div class="info"><h3>Noir profond</h3><code>#2D2D2D</code><small>RVB 45, 45, 45 · titres, texte, traits des icônes</small></div></div>
|
|
</div>
|
|
<h3 style="margin-top:28px">Couleurs complémentaires (discrètes)</h3>
|
|
<div class="grille g3">
|
|
<div class="nuance"><div class="pastille" style="background:#E8D5C4;height:70px"></div><div class="info"><h3>Chair pâle <span class="etiquette">à valider</span></h3><code>#E8D5C4</code><small>étoiles vides des avis, petits badges</small></div></div>
|
|
<div class="nuance"><div class="pastille" style="background:#E0DDD5;height:70px"></div><div class="info"><h3>Gris pâle <span class="etiquette">à valider</span></h3><code>#E0DDD5</code><small>filets et bordures de séparation</small></div></div>
|
|
<div class="nuance"><div class="pastille" style="background:#F8F7F1;height:70px;border-bottom:1px solid var(--filet)"></div><div class="info"><h3>Carte <span class="etiquette">à valider</span></h3><code>#F8F7F1</code><small>cartes et panneaux posés sur le fond</small></div></div>
|
|
</div>
|
|
<div class="carte regles" style="margin-top:16px">
|
|
<h3>Règles</h3>
|
|
<ul style="margin:0;padding-left:20px">
|
|
<li>Le vert sauge sert à <b>une seule chose par écran</b> : l'action principale ou l'élément actif.</li>
|
|
<li>Texte en <code>#2D2D2D</code> sur le beige, jamais de noir pur ni de gris trop clair (lisibilité).</li>
|
|
<li>Pas de thème sombre, pas de fond noir.</li>
|
|
<li>Pas d'autres couleurs d'accent (rose, bleu, violet…). Les statuts passent par le vert et les icônes.</li>
|
|
</ul>
|
|
</div>
|
|
</section>
|
|
|
|
<!-- 3 -->
|
|
<section id="typo">
|
|
<span class="num">03</span>
|
|
<h2>Typographie</h2>
|
|
<p class="chapo">Une seule famille, sans empattement, géométrique et arrondie : <b>Chillax</b> (Fontshare, gratuite). La hiérarchie se fait par la graisse et la taille, pas par d'autres polices.</p>
|
|
<div class="carte">
|
|
<div class="specimen">Aa Bb 123</div>
|
|
<div class="echelle">
|
|
<div><small>Titre · Bold 700</small><span style="font-weight:700;font-size:32px">Trouvez un Runner</span></div>
|
|
<div><small>Sous-titre · Semibold 600</small><span style="font-weight:600;font-size:20px">Plomberie près de Lans</span></div>
|
|
<div><small>Texte · Regular 400</small><span style="font-size:16px">Intervention rapide, devis gratuit dans le chat.</span></div>
|
|
<div><small>Légende · Regular 400</small><span style="font-size:13px;color:var(--doux)">4,8 · 23 avis · à 3 km</span></div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<!-- 4 -->
|
|
<section id="logo">
|
|
<span class="num">04</span>
|
|
<h2>Logo</h2>
|
|
<p class="chapo">Un « J » épais et fluide qui remonte et se termine en flèche vers la droite (on avance), avec deux traits de vitesse à l'arrière (la rapidité du service). Vert sauge, contour noir fin.</p>
|
|
<div class="carte"><div class="logo-zone"><img src="assets/img/logo.png" alt="Logo jobrunner" style="width:130px;height:130px;object-fit:contain;"></div><p style="text-align:center;margin:10px 0 0">Sur le fond beige : <b>version principale</b></p></div>
|
|
<div class="carte"><div class="logo-zone zone-sauge"><img src="assets/img/logo.png" alt="Logo jobrunner" style="width:130px;height:130px;object-fit:contain;filter:drop-shadow(0 2px 8px rgba(0,0,0,0.1));"></div><p style="text-align:center;margin:10px 0 0">Sur le vert : à éviter, sauf grand aplat</p></div>
|
|
</div>
|
|
<div class="grille g2" style="margin-top:16px">
|
|
<div class="carte"><h3><span class="ok">✓</span> À faire</h3><ul style="margin:0;padding-left:20px"><li>Laisser autour du logo un espace vide d'au moins la largeur du trait du J.</li><li>Taille minimale : 24 px de haut pour l'icône seule.</li><li>Utiliser le fichier vectoriel (SVG), jamais une capture.</li></ul></div>
|
|
<div class="carte"><h3><span class="ko">✕</span> À ne pas faire</h3><ul style="margin:0;padding-left:20px"><li>Déformer, pivoter ou ajouter une ombre.</li><li>Changer les couleurs ou retirer le contour.</li><li>Poser le logo sur une photo chargée.</li></ul></div>
|
|
</div>
|
|
</section>
|
|
|
|
<!-- 5 -->
|
|
<section id="composants">
|
|
<span class="num">05</span>
|
|
<h2>Formes et composants</h2>
|
|
<p class="chapo">Tout est arrondi : cartes à 22 px, icônes en « squircle » (rayon de 26 %), boutons en pilule complète.</p>
|
|
<div class="carte">
|
|
<div class="composants">
|
|
<button class="btn btn-primaire">Réserver ce service</button>
|
|
<button class="btn btn-secondaire">Contacter</button>
|
|
<span class="badge">Certifié <svg viewBox="0 0 24 24" width="14" height="14"><path d="M12 2.8l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 16.8l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z" fill="currentColor" stroke="currentColor" stroke-width="1.5" stroke-linejoin="round"/></svg></span>
|
|
<span class="etoiles" aria-label="4 étoiles sur 5"><svg viewBox="0 0 24 24"><path d="M12 2.8l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 16.8l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z" fill="#8B9E90" stroke="#2D2D2D" stroke-width="1.5" stroke-linejoin="round"/></svg><svg viewBox="0 0 24 24"><path d="M12 2.8l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 16.8l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z" fill="#8B9E90" stroke="#2D2D2D" stroke-width="1.5" stroke-linejoin="round"/></svg><svg viewBox="0 0 24 24"><path d="M12 2.8l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 16.8l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z" fill="#8B9E90" stroke="#2D2D2D" stroke-width="1.5" stroke-linejoin="round"/></svg><svg viewBox="0 0 24 24"><path d="M12 2.8l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 16.8l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z" fill="#8B9E90" stroke="#2D2D2D" stroke-width="1.5" stroke-linejoin="round"/></svg><svg viewBox="0 0 24 24"><path d="M12 2.8l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 16.8l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z" fill="#E8D5C4" stroke="#C9B6A5" stroke-width="1.5" stroke-linejoin="round"/></svg></span>
|
|
<span style="font-weight:600">4,8</span>
|
|
</div>
|
|
<p style="color:var(--doux);margin:14px 0 0;font-size:14px">Bouton principal en sauge (une action par écran), bouton secondaire en contour. Étoiles pleines en sauge, vides en chair pâle.</p>
|
|
</div>
|
|
</section>
|
|
|
|
<!-- 6 -->
|
|
<section id="icones">
|
|
<span class="num">06</span>
|
|
<h2>Icônes</h2>
|
|
<p class="chapo">Contour seul, trait de 4 à 4,5 pour le dessin principal et 3 à 3,5 pour les détails, bouts arrondis. Le cadre squircle est fait en CSS : le même picto sert avec ou sans cadre. Les fichiers SVG sont dans le dossier <code>assets/icones-jobrunner/</code>.</p>
|
|
<h3>Barre de navigation</h3>
|
|
<div class="icones"><figure><span class="ico"><svg aria-hidden="true" viewBox="14 14 72 72" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"><path d="M 24 49 L 50 24 L 76 49 V 74 H 61 V 61 C 61 55 57 51 50 51 C 43 51 39 55 39 61 V 74 H 24 Z" stroke-width="4.5"/></svg></span><figcaption>Accueil</figcaption><a href="assets/icones-jobrunner/accueil.svg" download>accueil.svg</a></figure><figure><span class="ico actif"><svg aria-hidden="true" viewBox="14 14 72 72" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"><circle cx="45" cy="43" r="14.5" stroke-width="4.5"/><line x1="56" y1="53.5" x2="69" y2="66.5" stroke-width="4.5"/></svg></span><figcaption>Recherche</figcaption><a href="assets/icones-jobrunner/recherche.svg" download>recherche.svg</a></figure><figure><span class="ico plein"><svg aria-hidden="true" viewBox="14 14 72 72" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"><path d="M 44.5 28 C 44.5 25 45 24 48 24 H 52 C 55 24 55.5 25 55.5 28 V 44.5 H 72 C 75 44.5 76 45 76 48 V 52 C 76 55 75 55.5 72 55.5 H 55.5 V 72 C 55.5 75 55 76 52 76 H 48 C 45 76 44.5 75 44.5 72 V 55.5 H 28 C 25 55.5 24 55 24 52 V 48 C 24 45 25 44.5 28 44.5 H 44.5 Z" stroke-width="4.5"/></svg></span><figcaption>Ajouter</figcaption><a href="assets/icones-jobrunner/ajouter.svg" download>ajouter.svg</a></figure><figure><span class="ico"><svg aria-hidden="true" viewBox="14 14 72 72" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"><path d="M 34.5 61 C 33.5 63 31 66 28.5 68 C 32.5 67 35.5 65.5 36.5 63 C 41 64.5 46 65 51 65 C 64.5 65 74 56.5 74 46 C 74 35.5 64.5 27 51 27 C 37.5 27 28 35.5 28 46 C 28 52 30.5 57.5 34.5 61 Z" stroke-width="4.5"/></svg></span><figcaption>Messages</figcaption><a href="assets/icones-jobrunner/messages.svg" download>messages.svg</a></figure><figure><span class="ico"><svg aria-hidden="true" viewBox="14 14 72 72" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"><circle cx="50" cy="36" r="9.5" stroke-width="4.5"/><path d="M 31.5 71.5 C 31.5 62 38 57 50 57 C 62 57 68.5 62 68.5 71.5 C 68.5 74 65.5 74 50 74 C 34.5 74 31.5 74 31.5 71.5 Z" stroke-width="4.5"/></svg></span><figcaption>Profil</figcaption><a href="assets/icones-jobrunner/profil.svg" download>profil.svg</a></figure></div>
|
|
<h3 style="margin-top:28px">Catégories de métiers</h3>
|
|
<div class="icones"><figure><span class="ico"><svg aria-hidden="true" viewBox="14 14 72 72" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"><path d="M 24 38 C 24 35 26.5 33 29.5 33 H 37 L 41 26 H 59 L 63 33 H 70.5 C 73.5 33 76 35 76 38 V 68 C 76 71 73.5 73 70.5 73 H 29.5 C 26.5 73 24 71 24 68 Z" stroke-width="4"/><circle cx="50" cy="53" r="13" stroke-width="4"/><circle cx="50" cy="53" r="6" stroke-width="3"/><circle cx="69" cy="41" r="1.6" fill="currentColor" stroke="none"/></svg></span><figcaption>Photo / Vidéo</figcaption><a href="assets/icones-jobrunner/photo-video.svg" download>photo-video.svg</a></figure><figure><span class="ico"><svg aria-hidden="true" viewBox="14 14 72 72" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"><path d="M 55 22 L 35 50 H 51 L 45 78 L 65 44 H 49 Z" stroke-width="4.5"/></svg></span><figcaption>Électricité</figcaption><a href="assets/icones-jobrunner/electricite.svg" download>electricite.svg</a></figure><figure><span class="ico"><svg aria-hidden="true" viewBox="14 14 72 72" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"><path d="M 50 24 C 50 24 32 46 32 59 C 32 69 40 77 50 77 C 60 77 68 69 68 59 C 68 46 50 24 50 24 Z" stroke-width="4.5"/><path d="M 40 59 C 40 66 44.5 70 50.5 70" stroke-width="3.5"/></svg></span><figcaption>Plomberie</figcaption><a href="assets/icones-jobrunner/plomberie.svg" download>plomberie.svg</a></figure><figure><span class="ico"><svg aria-hidden="true" viewBox="14 14 72 72" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"><circle cx="50" cy="50" r="26" stroke-width="4.5"/><polygon points="50,40 59.5,47 56,58 44,58 40.5,47" stroke-width="3.5"/><path d="M 50 40 V 24 M 59.5 47 L 74.5 42 M 56 58 L 65.5 70.5 M 44 58 L 34.5 70.5 M 40.5 47 L 25.5 42" stroke-width="3.5"/></svg></span><figcaption>Sport</figcaption><a href="assets/icones-jobrunner/sport.svg" download>sport.svg</a></figure><figure><span class="ico"><svg aria-hidden="true" viewBox="14 14 72 72" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"><g transform="rotate(45 50 50)"><rect x="45.5" y="41" width="9" height="38" rx="4.5" stroke-width="4"/><path d="M 31 27 C 31 24.5 33 23 35.5 23 H 66 C 68.5 23 70 24.5 70 27 V 37 C 70 39.5 68.5 41 66 41 H 38 C 34 41 31 38 31 34 Z" stroke-width="4"/></g></svg></span><figcaption>Bricolage</figcaption><a href="assets/icones-jobrunner/bricolage.svg" download>bricolage.svg</a></figure><figure><span class="ico"><svg aria-hidden="true" viewBox="14 14 72 72" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"><rect x="25" y="28" width="50" height="34" rx="4" stroke-width="4"/><path d="M 19 62 H 81 L 79.5 67.5 C 79 69.5 77.5 71 75.5 71 H 24.5 C 22.5 71 21 69.5 20.5 67.5 Z" stroke-width="4"/><line x1="45" y1="66.5" x2="55" y2="66.5" stroke-width="3"/></svg></span><figcaption>Informatique</figcaption><a href="assets/icones-jobrunner/informatique.svg" download>informatique.svg</a></figure><figure><span class="ico"><svg aria-hidden="true" viewBox="14 14 72 72" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"><path d="M 38 28 L 44 34 L 50 26 L 56 34 L 62 28 V 41 C 62 48 57 52 50 52 C 43 52 38 48 38 41 Z" stroke-width="4"/><path d="M 50 52 V 77" stroke-width="4"/><path d="M 50 71 C 41 71 35 65 34 57 C 43 57 49 62 50 71 Z" stroke-width="3.5"/><path d="M 50 65 C 59 65 64 60 65 52 C 57 52 51 56 50 65 Z" stroke-width="3.5"/></svg></span><figcaption>Jardinage</figcaption><a href="assets/icones-jobrunner/jardinage.svg" download>jardinage.svg</a></figure><figure><span class="ico"><svg aria-hidden="true" viewBox="14 14 72 72" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"><line x1="72" y1="23" x2="51" y2="48" stroke-width="4.5"/><line x1="47" y1="46" x2="55" y2="53" stroke-width="5"/><path d="M 49 50 C 44 57 36 67 33 71 C 38 75 42 72 46 75 C 50 78 54 74 58 75 C 61 72 58 64 53 53 Z" stroke-width="4"/><path d="M 46 56 C 44 63 41 69 41 72 M 49 57 C 49 64 49 69 50 74" stroke-width="3"/><path d="M 35 22 V 32 M 30 27 H 40 M 26 39 V 47 M 22 43 H 30 M 68 62 V 69 M 64.5 65.5 H 71.5" stroke-width="3"/></svg></span><figcaption>Ménage</figcaption><a href="assets/icones-jobrunner/menage.svg" download>menage.svg</a></figure><figure><span class="ico"><svg aria-hidden="true" viewBox="14 14 72 72" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"><path d="M 46 38 C 40 35 32 35 24 37 V 69 C 32 67 40 67 46 70 Z M 46 38 C 52 35 60 35 68 37 V 69 C 60 67 52 67 46 70" stroke-width="4"/><path d="M 28 45 L 41 44 M 28 52 L 41 51 M 28 59 L 41 58 M 51 44 L 57 45 M 51 51 L 57 52 M 51 58 L 57 59" stroke-width="3"/><path d="M 61 36 H 67 V 65 L 64 73 L 61 65 Z M 61 41 H 67 M 61 65 H 67" stroke-width="3"/></svg></span><figcaption>Cours</figcaption><a href="assets/icones-jobrunner/cours.svg" download>cours.svg</a></figure><figure><span class="ico"><svg aria-hidden="true" viewBox="14 14 72 72" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"><path d="M 22 41 H 28 M 19 48 H 27 M 22 55 H 28" stroke-width="4"/><path d="M 33 63 V 37 H 64 V 44 H 70 L 76 52 H 81 V 63 H 76 C 76 60 73.5 58 70 58 C 66.5 58 64 60 64 63 H 51 C 51 60 48.5 58 45 58 C 41.5 58 39 60 39 63 Z" stroke-width="4"/><path d="M 65 47 H 70 L 74 53 H 65 Z" stroke-width="3"/><circle cx="45" cy="63" r="5" stroke-width="4"/><circle cx="70" cy="63" r="5" stroke-width="4"/></svg></span><figcaption>Transport</figcaption><a href="assets/icones-jobrunner/transport.svg" download>transport.svg</a></figure></div>
|
|
<h3 style="margin-top:28px">Sans cadre (dans un texte, un bouton, une fiche)</h3>
|
|
<div class="nus"><svg aria-hidden="true" viewBox="14 14 72 72" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"><path d="M 24 49 L 50 24 L 76 49 V 74 H 61 V 61 C 61 55 57 51 50 51 C 43 51 39 55 39 61 V 74 H 24 Z" stroke-width="4.5"/></svg><svg aria-hidden="true" viewBox="14 14 72 72" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"><circle cx="45" cy="43" r="14.5" stroke-width="4.5"/><line x1="56" y1="53.5" x2="69" y2="66.5" stroke-width="4.5"/></svg><svg aria-hidden="true" viewBox="14 14 72 72" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"><path d="M 44.5 28 C 44.5 25 45 24 48 24 H 52 C 55 24 55.5 25 55.5 28 V 44.5 H 72 C 75 44.5 76 45 76 48 V 52 C 76 55 75 55.5 72 55.5 H 55.5 V 72 C 55.5 75 55 76 52 76 H 48 C 45 76 44.5 75 44.5 72 V 55.5 H 28 C 25 55.5 24 55 24 52 V 48 C 24 45 25 44.5 28 44.5 H 44.5 Z" stroke-width="4.5"/></svg><svg aria-hidden="true" viewBox="14 14 72 72" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"><path d="M 34.5 61 C 33.5 63 31 66 28.5 68 C 32.5 67 35.5 65.5 36.5 63 C 41 64.5 46 65 51 65 C 64.5 65 74 56.5 74 46 C 74 35.5 64.5 27 51 27 C 37.5 27 28 35.5 28 46 C 28 52 30.5 57.5 34.5 61 Z" stroke-width="4.5"/></svg><svg aria-hidden="true" viewBox="14 14 72 72" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"><circle cx="50" cy="36" r="9.5" stroke-width="4.5"/><path d="M 31.5 71.5 C 31.5 62 38 57 50 57 C 62 57 68.5 62 68.5 71.5 C 68.5 74 65.5 74 50 74 C 34.5 74 31.5 74 31.5 71.5 Z" stroke-width="4.5"/></svg><svg aria-hidden="true" viewBox="14 14 72 72" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"><path d="M 24 38 C 24 35 26.5 33 29.5 33 H 37 L 41 26 H 59 L 63 33 H 70.5 C 73.5 33 76 35 76 38 V 68 C 76 71 73.5 73 70.5 73 H 29.5 C 26.5 73 24 71 24 68 Z" stroke-width="4"/><circle cx="50" cy="53" r="13" stroke-width="4"/><circle cx="50" cy="53" r="6" stroke-width="3"/><circle cx="69" cy="41" r="1.6" fill="currentColor" stroke="none"/></svg><svg aria-hidden="true" viewBox="14 14 72 72" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"><path d="M 55 22 L 35 50 H 51 L 45 78 L 65 44 H 49 Z" stroke-width="4.5"/></svg><svg aria-hidden="true" viewBox="14 14 72 72" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"><path d="M 50 24 C 50 24 32 46 32 59 C 32 69 40 77 50 77 C 60 77 68 69 68 59 C 68 46 50 24 50 24 Z" stroke-width="4.5"/><path d="M 40 59 C 40 66 44.5 70 50.5 70" stroke-width="3.5"/></svg><svg aria-hidden="true" viewBox="14 14 72 72" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"><circle cx="50" cy="50" r="26" stroke-width="4.5"/><polygon points="50,40 59.5,47 56,58 44,58 40.5,47" stroke-width="3.5"/><path d="M 50 40 V 24 M 59.5 47 L 74.5 42 M 56 58 L 65.5 70.5 M 44 58 L 34.5 70.5 M 40.5 47 L 25.5 42" stroke-width="3.5"/></svg><svg aria-hidden="true" viewBox="14 14 72 72" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"><g transform="rotate(45 50 50)"><rect x="45.5" y="41" width="9" height="38" rx="4.5" stroke-width="4"/><path d="M 31 27 C 31 24.5 33 23 35.5 23 H 66 C 68.5 23 70 24.5 70 27 V 37 C 70 39.5 68.5 41 66 41 H 38 C 34 41 31 38 31 34 Z" stroke-width="4"/></g></svg><svg aria-hidden="true" viewBox="14 14 72 72" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"><rect x="25" y="28" width="50" height="34" rx="4" stroke-width="4"/><path d="M 19 62 H 81 L 79.5 67.5 C 79 69.5 77.5 71 75.5 71 H 24.5 C 22.5 71 21 69.5 20.5 67.5 Z" stroke-width="4"/><line x1="45" y1="66.5" x2="55" y2="66.5" stroke-width="3"/></svg><svg aria-hidden="true" viewBox="14 14 72 72" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"><path d="M 38 28 L 44 34 L 50 26 L 56 34 L 62 28 V 41 C 62 48 57 52 50 52 C 43 52 38 48 38 41 Z" stroke-width="4"/><path d="M 50 52 V 77" stroke-width="4"/><path d="M 50 71 C 41 71 35 65 34 57 C 43 57 49 62 50 71 Z" stroke-width="3.5"/><path d="M 50 65 C 59 65 64 60 65 52 C 57 52 51 56 50 65 Z" stroke-width="3.5"/></svg><svg aria-hidden="true" viewBox="14 14 72 72" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"><line x1="72" y1="23" x2="51" y2="48" stroke-width="4.5"/><line x1="47" y1="46" x2="55" y2="53" stroke-width="5"/><path d="M 49 50 C 44 57 36 67 33 71 C 38 75 42 72 46 75 C 50 78 54 74 58 75 C 61 72 58 64 53 53 Z" stroke-width="4"/><path d="M 46 56 C 44 63 41 69 41 72 M 49 57 C 49 64 49 69 50 74" stroke-width="3"/><path d="M 35 22 V 32 M 30 27 H 40 M 26 39 V 47 M 22 43 H 30 M 68 62 V 69 M 64.5 65.5 H 71.5" stroke-width="3"/></svg><svg aria-hidden="true" viewBox="14 14 72 72" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"><path d="M 46 38 C 40 35 32 35 24 37 V 69 C 32 67 40 67 46 70 Z M 46 38 C 52 35 60 35 68 37 V 69 C 60 67 52 67 46 70" stroke-width="4"/><path d="M 28 45 L 41 44 M 28 52 L 41 51 M 28 59 L 41 58 M 51 44 L 57 45 M 51 51 L 57 52 M 51 58 L 57 59" stroke-width="3"/><path d="M 61 36 H 67 V 65 L 64 73 L 61 65 Z M 61 41 H 67 M 61 65 H 67" stroke-width="3"/></svg><svg aria-hidden="true" viewBox="14 14 72 72" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"><path d="M 22 41 H 28 M 19 48 H 27 M 22 55 H 28" stroke-width="4"/><path d="M 33 63 V 37 H 64 V 44 H 70 L 76 52 H 81 V 63 H 76 C 76 60 73.5 58 70 58 C 66.5 58 64 60 64 63 H 51 C 51 60 48.5 58 45 58 C 41.5 58 39 60 39 63 Z" stroke-width="4"/><path d="M 65 47 H 70 L 74 53 H 65 Z" stroke-width="3"/><circle cx="45" cy="63" r="5" stroke-width="4"/><circle cx="70" cy="63" r="5" stroke-width="4"/></svg></div>
|
|
<div class="carte" style="margin-top:20px">
|
|
<h3>États</h3>
|
|
<div class="composants">
|
|
<figure style="margin:0;text-align:center"><span class="ico"><svg aria-hidden="true" viewBox="14 14 72 72" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"><circle cx="45" cy="43" r="14.5" stroke-width="4.5"/><line x1="56" y1="53.5" x2="69" y2="66.5" stroke-width="4.5"/></svg></span><figcaption style="font-size:12px">Normal · #2D2D2D</figcaption></figure>
|
|
<figure style="margin:0;text-align:center"><span class="ico actif"><svg aria-hidden="true" viewBox="14 14 72 72" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"><circle cx="45" cy="43" r="14.5" stroke-width="4.5"/><line x1="56" y1="53.5" x2="69" y2="66.5" stroke-width="4.5"/></svg></span><figcaption style="font-size:12px">Actif · #8B9E90</figcaption></figure>
|
|
<figure style="margin:0;text-align:center"><span class="ico plein"><svg aria-hidden="true" viewBox="14 14 72 72" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"><path d="M 44.5 28 C 44.5 25 45 24 48 24 H 52 C 55 24 55.5 25 55.5 28 V 44.5 H 72 C 75 44.5 76 45 76 48 V 52 C 76 55 75 55.5 72 55.5 H 55.5 V 72 C 55.5 75 55 76 52 76 H 48 C 45 76 44.5 75 44.5 72 V 55.5 H 28 C 25 55.5 24 55 24 52 V 48 C 24 45 25 44.5 28 44.5 H 44.5 Z" stroke-width="4.5"/></svg></span><figcaption style="font-size:12px">Action centrale · rempli</figcaption></figure>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<!-- 7 -->
|
|
<section id="animations">
|
|
<span class="num">07</span>
|
|
<h2>Animations</h2>
|
|
<p class="chapo">Des mouvements courts et fluides qui accompagnent une action, jamais décoratifs. Si l'appareil demande moins d'animations, tout s'affiche directement à l'état final.</p>
|
|
<div class="grille g2">
|
|
<div class="carte demo" style="grid-column:1/-1">
|
|
<h3>Écran de chargement officiel : animation vidéo</h3>
|
|
<p style="color:var(--doux);margin:0">Animation vidéo officielle de démarrage de Jobrunner (5s). Le tracé du J forme la flèche dynamique puis révèle le logo complet.</p>
|
|
<div class="scene" style="background:#F2F0E6;padding:16px;border-radius:18px;display:flex;justify-content:center;">
|
|
<video id="charte-splash-video" src="assets/video/loading.mp4" controls autoplay muted playsinline style="max-width:100%;max-height:380px;border-radius:14px;display:block;"></video>
|
|
</div>
|
|
<button class="lancer" id="lancer-logo" onclick="document.getElementById('charte-splash-video').currentTime=0;document.getElementById('charte-splash-video').play();">▶ Rejouer la vidéo</button>
|
|
</div>
|
|
<div class="carte demo">
|
|
<h3>Bouton d'action glissant</h3>
|
|
<p style="color:var(--doux);margin:0">Au survol (ou au toucher), le fond noir glisse de gauche à droite et une flèche apparaît.</p>
|
|
<div class="scene"><button class="btn btn-glisse" id="cta">Réserver ce service <span class="fl">→</span></button></div>
|
|
<button class="lancer" id="lancer-cta">▶ Lancer</button>
|
|
</div>
|
|
<div class="carte demo" style="grid-column:1/-1">
|
|
<h3>Barre de navigation</h3>
|
|
<p style="color:var(--doux);margin:0">La pastille sauge glisse vers l'onglet touché. Touchez un onglet, ou lancez la démo.</p>
|
|
<div class="scene"><div class="barre" id="barre"><span class="pilule"></span><button type="button"><svg aria-hidden="true" viewBox="14 14 72 72" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"><path d="M 24 49 L 50 24 L 76 49 V 74 H 61 V 61 C 61 55 57 51 50 51 C 43 51 39 55 39 61 V 74 H 24 Z" stroke-width="4.5"/></svg>Accueil</button><button type="button"><svg aria-hidden="true" viewBox="14 14 72 72" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"><circle cx="45" cy="43" r="14.5" stroke-width="4.5"/><line x1="56" y1="53.5" x2="69" y2="66.5" stroke-width="4.5"/></svg>Recherche</button><button type="button"><svg aria-hidden="true" viewBox="14 14 72 72" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"><path d="M 44.5 28 C 44.5 25 45 24 48 24 H 52 C 55 24 55.5 25 55.5 28 V 44.5 H 72 C 75 44.5 76 45 76 48 V 52 C 76 55 75 55.5 72 55.5 H 55.5 V 72 C 55.5 75 55 76 52 76 H 48 C 45 76 44.5 75 44.5 72 V 55.5 H 28 C 25 55.5 24 55 24 52 V 48 C 24 45 25 44.5 28 44.5 H 44.5 Z" stroke-width="4.5"/></svg>Ajouter</button><button type="button"><svg aria-hidden="true" viewBox="14 14 72 72" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"><path d="M 34.5 61 C 33.5 63 31 66 28.5 68 C 32.5 67 35.5 65.5 36.5 63 C 41 64.5 46 65 51 65 C 64.5 65 74 56.5 74 46 C 74 35.5 64.5 27 51 27 C 37.5 27 28 35.5 28 46 C 28 52 30.5 57.5 34.5 61 Z" stroke-width="4.5"/></svg>Messages</button><button type="button"><svg aria-hidden="true" viewBox="14 14 72 72" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"><circle cx="50" cy="36" r="9.5" stroke-width="4.5"/><path d="M 31.5 71.5 C 31.5 62 38 57 50 57 C 62 57 68.5 62 68.5 71.5 C 68.5 74 65.5 74 50 74 C 34.5 74 31.5 74 31.5 71.5 Z" stroke-width="4.5"/></svg>Profil</button></div></div>
|
|
<button class="lancer" id="lancer-barre">▶ Lancer</button>
|
|
</div>
|
|
<div class="carte demo" style="grid-column:1/-1">
|
|
<h3>Glisser pour valider « Fait. »</h3>
|
|
<p style="color:var(--doux);margin:0">Pour libérer le paiement, le client fait glisser le vélo jusqu'au bout : un geste volontaire, impossible à faire par erreur. Le vert remplit la piste.</p>
|
|
<div class="scene"><div class="glisseur" id="glisseur"><div class="remplissage"></div><div class="texte">Glissez pour valider</div><div class="poignee"><svg viewBox="14 14 72 72" fill="none" stroke="currentColor" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="30" cy="60" r="11"/><circle cx="70" cy="60" r="11"/><path d="M30 60 L44 40 H62 L70 60 M44 40 L52 60 L62 40 M39 34 H48 M62 40 L60 32 H67"/></svg></div></div></div>
|
|
<button class="lancer" id="lancer-glisseur">▶ Lancer</button>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<section>
|
|
<span class="num">À trancher</span>
|
|
<h2>Points ouverts</h2>
|
|
<div class="ouvert">
|
|
<ul style="margin:0;padding-left:20px">
|
|
<li><b>Le nom dans le logo</b> : la bible du projet écrit « Jobrunner » avec une majuscule et en noir ; la vidéo de Nils l'écrit « jobrunner » en minuscules et en vert sauge (version utilisée ici).</li>
|
|
<li><b>Les couleurs complémentaires</b> (chair pâle, gris pâle, carte) viennent du site actuel et ne font pas partie de la palette confirmée par Nils (vert, noir, beige).</li>
|
|
<li><b>Le site</b> utilise encore l'ancienne palette (<code>#F5F1EA</code>, <code>#8FA68E</code>, <code>#2B2B2B</code>) et la police Outfit : à passer en <code>#F2F0E6</code> / <code>#8B9E90</code> / <code>#2D2D2D</code> et Chillax.</li>
|
|
<li><b>Le nombre de traits de vitesse</b> : la bible dit trois, tous les visuels en montrent deux.</li>
|
|
</ul>
|
|
</div>
|
|
</section>
|
|
</main>
|
|
<footer>Charte graphique jobrunner · document de travail</footer>
|
|
|
|
<script>
|
|
(function(){
|
|
// Copier un code couleur au clic
|
|
document.querySelectorAll(".nuance code").forEach(function(c){
|
|
c.title="Copier";
|
|
c.addEventListener("click",function(){
|
|
var v=c.textContent; if(navigator.clipboard)navigator.clipboard.writeText(v).catch(function(){});
|
|
c.textContent="copié !"; setTimeout(function(){c.textContent=v},900);
|
|
});
|
|
});
|
|
var reduit=window.matchMedia&&matchMedia("(prefers-reduced-motion: reduce)").matches;
|
|
|
|
// ---------- Logo animé ----------
|
|
var NS="http://www.w3.org/2000/svg", MOT="jobrunner", $=function(i){return document.getElementById(i)};
|
|
var icone=$("a-icone"), fut=$("a-fut"), contour=$("a-contour"), pointe=$("a-pointe"), traits=$("a-traits"), texte=$("a-texte");
|
|
var L=fut.getTotalLength(), CHEV=6, UT=L-CHEV, lettres=[];
|
|
var T={tr0:0.25,tr1:2.45,tv0:2.45,tv1:3.0,dep0:3.05,dep1:3.8,tx0:4.1,pas:0.10,fondu:0.18};
|
|
var FIN_X=-190.5, FIN_Y=96.9, FIN_S=0.735;
|
|
var ease=function(t){return t<0?0:t>1?1:t<.5?4*t*t*t:1-Math.pow(-2*t+2,3)/2};
|
|
var sortie=function(t){t=Math.min(1,Math.max(0,t));return 1-Math.pow(1-t,3)};
|
|
function dash(el,vis){el.style.strokeDasharray=L+" "+(L+10);el.style.strokeDashoffset=String(L-vis)}
|
|
function etat(t){
|
|
var p=ease((t-T.tr0)/(T.tr1-T.tr0)), s=p*UT, vis=Math.min(L,s+CHEV);
|
|
if(t<T.tr0){dash(fut,0.001);dash(contour,0.001)}else{dash(fut,vis);dash(contour,vis)}
|
|
var a=Math.min(1,Math.max(0,(t-T.tr0+0.2)/0.2));
|
|
var P=fut.getPointAtLength(s),P2=fut.getPointAtLength(Math.min(L,s+1)),P1=fut.getPointAtLength(Math.max(0,s-1));
|
|
var ang=Math.atan2(P2.y-P1.y,P2.x-P1.x)*180/Math.PI;
|
|
pointe.setAttribute("transform","translate("+P.x+" "+P.y+") rotate("+ang+") scale("+(0.6+0.4*a)+")");
|
|
pointe.setAttribute("opacity",String(a));
|
|
var v=sortie((t-T.tv0)/(T.tv1-T.tv0));
|
|
traits.setAttribute("opacity",String(v)); traits.setAttribute("transform","translate("+(60*(1-v))+" 0)");
|
|
var d=ease((t-T.dep0)/(T.dep1-T.dep0)), sc=1+(FIN_S-1)*d;
|
|
icone.setAttribute("transform","translate("+(FIN_X*d)+" "+(FIN_Y*d)+") scale("+sc+")");
|
|
lettres.forEach(function(l,i){var o=Math.min(1,Math.max(0,(t-(T.tx0+i*T.pas))/T.fondu));l.style.opacity=String(o);l.setAttribute("transform","translate(0 "+(18*(1-sortie(o)))+")")});
|
|
}
|
|
var DUREE=T.tx0+MOT.length*T.pas+T.fondu+0.1, raf=0, t0=0;
|
|
function cadre(now){if(!t0)t0=now;var t=(now-t0)/1000;etat(t);if(t<DUREE)raf=requestAnimationFrame(cadre);else etat(DUREE)}
|
|
function jouerLogo(){cancelAnimationFrame(raf);t0=0;if(reduit){etat(DUREE);return}etat(0);raf=requestAnimationFrame(cadre)}
|
|
function preparerTexte(){
|
|
texte.textContent=MOT; texte.setAttribute("font-size","150");
|
|
var w=texte.getComputedTextLength(); if(w>0)texte.setAttribute("font-size",String(150*708/w));
|
|
MOT.split("").forEach(function(c,i){var x=texte.getStartPositionOfChar(i).x,l=texte.cloneNode(false);l.removeAttribute("id");l.setAttribute("x",String(x));l.textContent=c;l.style.opacity="0";texte.parentNode.appendChild(l);lettres.push(l)});
|
|
texte.setAttribute("visibility","hidden");
|
|
}
|
|
var pret=(document.fonts&&document.fonts.load)?Promise.all([document.fonts.load("700 150px Chillax"),document.fonts.load("700 150px Outfit")]).catch(function(){}):Promise.resolve();
|
|
pret.then(function(){preparerTexte();etat(DUREE)}); // état final affiché tant qu'on ne lance pas
|
|
$("lancer-logo").addEventListener("click",jouerLogo);
|
|
|
|
// ---------- Bouton glissant ----------
|
|
$("lancer-cta").addEventListener("click",function(){
|
|
var b=$("cta"); b.classList.add("joue"); setTimeout(function(){b.classList.remove("joue")},1400);
|
|
});
|
|
|
|
// ---------- Barre de navigation ----------
|
|
var barre=$("barre"), boutons=[].slice.call(barre.querySelectorAll("button")), pilule=barre.querySelector(".pilule");
|
|
function activer(i){boutons.forEach(function(b,j){b.classList.toggle("on",j===i)});var b=boutons[i];pilule.style.width=b.offsetWidth+"px";pilule.style.transform="translateX("+(b.offsetLeft-8)+"px)"}
|
|
boutons.forEach(function(b,i){b.addEventListener("click",function(){activer(i)})});
|
|
activer(0);
|
|
var courant=0; boutons.forEach(function(b,i){b.addEventListener("click",function(){courant=i})});
|
|
window.addEventListener("resize",function(){activer(courant)});
|
|
$("lancer-barre").addEventListener("click",function(){
|
|
[1,2,3,4,0].forEach(function(i,k){setTimeout(function(){activer(i)},k*550)});
|
|
});
|
|
|
|
// ---------- Glisser pour valider ----------
|
|
var g=$("glisseur"), poignee=g.querySelector(".poignee"), rempl=g.querySelector(".remplissage"), txt=g.querySelector(".texte");
|
|
var max=function(){return g.clientWidth-64}, x=0, tire=false, dx0=0;
|
|
function placer(v,anim){
|
|
x=Math.max(0,Math.min(max(),v));
|
|
var tr=anim?"transform .35s ease, width .35s ease":"none";
|
|
poignee.style.transition=tr; rempl.style.transition=anim?"width .35s ease":"none";
|
|
poignee.style.transform="translateX("+x+"px)"; rempl.style.width=(x+64)+"px";
|
|
}
|
|
function finir(){
|
|
if(x>=max()-4){g.classList.add("fait");txt.textContent="Service FAIT. ✓";
|
|
setTimeout(function(){g.classList.remove("fait");txt.textContent="Glissez pour valider";placer(0,true)},1800)}
|
|
else placer(0,true);
|
|
}
|
|
poignee.addEventListener("pointerdown",function(e){tire=true;dx0=e.clientX-x;poignee.setPointerCapture(e.pointerId)});
|
|
poignee.addEventListener("pointermove",function(e){if(tire)placer(e.clientX-dx0,false)});
|
|
poignee.addEventListener("pointerup",function(){tire=false;if(x>=max()-24)placer(max(),true);finir()});
|
|
$("lancer-glisseur").addEventListener("click",function(){
|
|
if(reduit){placer(max(),false);finir();return}
|
|
var debut=null;
|
|
function pas(now){if(!debut)debut=now;var p=Math.min(1,(now-debut)/1100);placer(max()*ease(p),false);if(p<1)requestAnimationFrame(pas);else finir()}
|
|
requestAnimationFrame(pas);
|
|
});
|
|
})();
|
|
</script>
|
|
</body>
|
|
</html>
|