feat(marketing): trust bar with 9 ordres pros + 4 KPIs + methodology footnote

- Section AFTER hero, white bg with brand-border y-borders
- 9 monogram placeholders (gradient circles with initials, NOT official
  logos to avoid licensing issues + false-endorsement exposure)
  hover from opacity-50 to opacity-100 for subtle interaction
- Eyebrow phrasing 'MAPPÉ AUX 9 ORDRES PROFESSIONNELS' (factual scope,
  not 'CERTIFIÉ PAR' which would be a false-endorsement claim under
  LPC art. 219 / Competition Act s. 52)
- 4 KPIs with grad-text numbers: ~5 min/heure, 95%+ FR-CA, 0$ par user,
  100% local — each with a 1-line context line and a small subtext
- Methodology footnote: 'Précision mesurée sur 50 heures d'audio
  interne, détails sur demande' — defensible disclosure for the 95%
  claim (LPC art. 219 hygiene)
- 4 new tests verify ordres list, factual phrasing, KPIs, footnote
This commit is contained in:
Allison
2026-04-27 17:27:03 -04:00
parent b24a0f064d
commit 2a7e142b03
3 changed files with 93 additions and 1 deletions

View File

@@ -141,3 +141,43 @@ def test_hero_eyebrow_has_brand_messaging():
assert 'TRANSCRIPTION IA' in body
assert 'CONFORME LOI 25' in body
assert 'QU' in body # Either QUÉBEC or QUÉBEC
def test_trust_bar_has_9_ordres_pros():
"""Trust bar lists all 9 ordres professionnels by name."""
client = app.test_client()
body = client.get('/').data.decode('utf-8')
for ordre in ['Barreau', 'Notaires', 'CPA Québec', 'ChAD', 'OACIQ', 'CMQ', 'OIIQ', 'OPPQ', 'OPQ']:
assert ordre in body, f"Missing ordre pro: {ordre}"
def test_trust_bar_has_eyebrow_factual_phrasing():
"""Trust bar eyebrow uses 'MAPPÉ AUX' (factual scope) not 'CERTIFIÉ PAR' (false endorsement)."""
client = app.test_client()
body = client.get('/').data.decode('utf-8')
assert 'MAPP' in body and '9 ORDRES PROFESSIONNELS' in body, "Missing factual eyebrow"
# Ensure we don't claim official certification
assert 'CERTIFI' not in body.replace('CERTIFIE PAR', '').replace('CERTIFIÉ PAR', ''), \
"Avoid claiming certification — we map to ordres, we don't claim endorsement"
def test_trust_bar_has_4_kpis_with_grad_text():
"""Trust bar has 4 KPI metrics rendered with grad-text."""
client = app.test_client()
body = client.get('/').data.decode('utf-8')
assert '~5 min' in body
assert '95 %+' in body or '95%+' in body
assert '0 $' in body
assert '100 %' in body or '100%' in body
# Verify grad-text on KPI numbers
assert 'grad-text mb-2' in body, "Missing grad-text on KPI numbers"
def test_trust_bar_has_methodology_footnote():
"""95%+ claim has a defensible methodology footnote (LPC art. 219 hygiene)."""
client = app.test_client()
body = client.get('/').data.decode('utf-8')
# Look for the methodology disclosure
assert 'test interne' in body, "Missing 'test interne' attribution on 95% claim"
assert 'détails disponibles sur demande' in body or 'détails disponibles sur demande' in body, \
"Missing methodology disclosure footnote"