Fichiers
jobrunner-html/assets/css/legal.css
T
Claude f949be54dc feat: espace légal (legal.html) et retrait des allégations trompeuses
- legal.html : mentions légales, CGU, CGV Pass et Boosts, politique de
  confidentialité et politique cookies, en onglets avec sommaire et export PDF
  (structure inspirée de l'espace légal de gastinel.me). Les informations non
  encore connues (éditeur, hébergeur, prestataire de paiement, médiateur) sont
  marquées « à compléter ».
- index.html : les liens légaux ouvrent legal.html ; suppression des contenus
  fictifs (société, RCS, adresse, directeur de publication inventés) et des
  allégations non fondées (agrément ACPR, séquestre bancaire certifié,
  assurance litige, « Top 1 garanti », badges « certifiés »).
- Inscription : case d'acceptation des CGU obligatoire et âge minimum 18 ans.

Claude-Session: https://claude.ai/code/session_01J2SY2d6QEBNLiUG77tZiiw
2026-10-12 20:57:03 +00:00

116 lignes
5.6 KiB
CSS

/* Espace légal Jobrunner — feuille autonome (aucune dépendance Tailwind). */
:root {
--bg: #F4F2EC;
--surface: #FFFFFF;
--text: #1F221E;
--text-2: #3D423B;
--muted: #6B7068;
--accent: #7A8E76;
--accent-dark: #586B54;
--accent-light: #E7ECE5;
--border: #E5E4DC;
--warn-bg: #FBF4E4;
--warn-border: #EADBB4;
--warn-text: #7A5A12;
--radius: 14px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
background: var(--bg);
color: var(--text);
line-height: 1.75;
-webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: 'Outfit', 'Plus Jakarta Sans', system-ui, sans-serif; color: var(--text); }
a { color: var(--accent-dark); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Barre supérieure */
.legal-topbar {
position: sticky; top: 0; z-index: 20;
display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
padding: 12px 24px; background: rgba(255, 255, 255, .96);
border-bottom: 1px solid var(--border); backdrop-filter: blur(8px);
}
.legal-back { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .9rem; color: var(--text); text-decoration: none; }
.legal-back img { width: 28px; height: 28px; }
.legal-tabs { display: flex; gap: 4px; flex: 1; overflow-x: auto; scrollbar-width: none; }
.legal-tabs::-webkit-scrollbar { display: none; }
.legal-tab {
white-space: nowrap; padding: 8px 14px; border-radius: 999px;
font-size: .85rem; font-weight: 600; color: var(--muted); text-decoration: none;
}
.legal-tab:hover { background: var(--accent-light); color: var(--text); }
.legal-tab[aria-current="page"] { background: var(--accent); color: #fff; }
.legal-print {
border: 1px solid var(--border); background: var(--surface); color: var(--accent-dark);
font: inherit; font-size: .82rem; font-weight: 600; padding: 8px 14px; border-radius: 999px; cursor: pointer;
}
.legal-print:hover { border-color: var(--accent); background: var(--accent-light); }
/* Mise en page document */
.legal-panel { display: none; }
.legal-panel.active { display: block; }
.layout { display: flex; gap: 48px; max-width: 1200px; margin: 0 auto; padding: 40px 24px 80px; }
.sidebar { width: 260px; flex-shrink: 0; position: sticky; top: 84px; align-self: flex-start; max-height: calc(100vh - 110px); overflow-y: auto; }
.sidebar-title { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px 14px; }
.sidebar ul { list-style: none; }
.sidebar a {
display: block; padding: 7px 14px; border-radius: 0 999px 999px 0;
font-size: .86rem; color: var(--muted); text-decoration: none; line-height: 1.4;
}
.sidebar a:hover { background: var(--accent-light); color: var(--text); }
.sidebar a.active { background: var(--accent-light); color: var(--accent-dark); font-weight: 700; }
.doc { flex: 1; min-width: 0; max-width: 820px; }
.doc-header { padding-bottom: 20px; margin-bottom: 28px; border-bottom: 1px solid var(--border); }
.doc-header h1 { font-size: clamp(1.7rem, 4vw, 2.3rem); font-weight: 700; line-height: 1.2; margin-bottom: 10px; }
.doc-meta { font-size: .85rem; color: var(--muted); }
.intro { font-size: 1.02rem; color: var(--text-2); margin-bottom: 24px; }
.warning {
background: var(--warn-bg); border: 1px solid var(--warn-border); color: var(--warn-text);
border-radius: var(--radius); padding: 16px 18px; font-size: .9rem; line-height: 1.6; margin-bottom: 32px;
}
.warning strong { color: var(--warn-text); }
.todo { background: #FFF3C4; color: #6B4E00; padding: 0 4px; border-radius: 4px; font-weight: 700; overflow-wrap: anywhere; }
section.part { margin-bottom: 44px; }
section.part > h2 {
font-size: 1.25rem; font-weight: 700; padding-bottom: 10px; margin-bottom: 18px;
border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 10px;
}
section.part > h2 i { color: var(--accent); font-size: 1.3rem; }
.article { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 14px; }
.article h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.article p, .article li { color: var(--text-2); font-size: .93rem; }
.article p + p { margin-top: 10px; }
.article ul, .article ol { padding-left: 20px; margin-top: 8px; }
.article li + li { margin-top: 4px; }
table.data { width: 100%; border-collapse: collapse; font-size: .86rem; margin-top: 10px; }
table.data th, table.data td { text-align: left; vertical-align: top; padding: 9px 10px; border-bottom: 1px solid var(--border); }
table.data th { font-size: .74rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.table-wrap { overflow-x: auto; }
.legal-footer { text-align: center; font-size: .8rem; color: var(--muted); padding: 0 24px 40px; }
@media (max-width: 860px) {
.layout { flex-direction: column; gap: 20px; padding-top: 24px; }
.sidebar { position: static; width: 100%; max-height: none; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 0; }
.legal-topbar { padding: 10px 16px; gap: 10px; }
.legal-tabs { order: 3; flex-basis: 100%; }
}
@media print {
.legal-topbar, .sidebar, .legal-print { display: none !important; }
body { background: #fff; }
.layout { display: block; padding: 0; }
.article { border: none; padding: 0; margin-bottom: 12px; break-inside: avoid; }
.legal-panel { display: none !important; }
.legal-panel.active { display: block !important; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }