diff --git a/static/css/marketing.css b/static/css/marketing.css index f4fe078..9821cfa 100644 --- a/static/css/marketing.css +++ b/static/css/marketing.css @@ -2893,21 +2893,12 @@ font-size: var(--text-xs); line-height: var(--tw-leading, var(--text-xs--line-height)); } - .text-\[6\.5px\] { - font-size: 6.5px; - } .text-\[6px\] { font-size: 6px; } - .text-\[7\.5px\] { - font-size: 7.5px; - } .text-\[7px\] { font-size: 7px; } - .text-\[8\.5px\] { - font-size: 8.5px; - } .text-\[8px\] { font-size: 8px; } diff --git a/templates/marketing/fonctionnalites.html b/templates/marketing/fonctionnalites.html index b02ff4e..457e006 100644 --- a/templates/marketing/fonctionnalites.html +++ b/templates/marketing/fonctionnalites.html @@ -999,9 +999,9 @@ {# /dictia-phone-shell #} {# /phone wrapper (glow ring) #} - {# Feature info card sous le phone — uniform bg-white/[0.06] + accent border-left tab indicator #} + {# Feature info card sous le phone — fond bg-brand-navy SOLIDE (extension visuelle du phone, contraste WCAG AA garanti sur section claire) + accent border-left tab indicator #}
-
{# Border-left 3px accent — style tab indicator #}
- {# Feature grid 3 cols × 6 buttons #} + {# Feature grid 3 cols × 6 buttons — fond TOUJOURS dark navy (actif/inactif) pour garantir contraste WCAG AA blanc-sur-dark sur section claire #}
diff --git a/tests/test_marketing_secondary_pages.py b/tests/test_marketing_secondary_pages.py index 4c908d3..a81eafa 100644 --- a/tests/test_marketing_secondary_pages.py +++ b/tests/test_marketing_secondary_pages.py @@ -266,8 +266,9 @@ def test_fonctionnalites_how_it_works_reactor_section(): # Inner screen seam (effet "écran encastré") assert 'dictia-phone-screen-seam' in body, "Missing inner screen seam (encastré effect)" - # Uniform feature info card — bg-white/[0.06] + accent border-left - assert 'bg-white/[0.06]' in body, "Missing uniform white/0.06 bg on feature card" + # Uniform feature info card — bg-brand-navy SOLIDE (extension visuelle du phone, WCAG AA garanti sur section claire) + accent border-left + assert 'dictia-feature-card rounded-xl px-4 py-3 relative bg-brand-navy' in body, \ + "Missing solid bg-brand-navy on feature info card (must be dark, not transparent on light bg)" # Sovereignty bullets : icon dans cercle 20×20 brand-b3/[0.15] assert 'bg-brand-b3/[0.15]' in body, "Missing brand-b3 circle bg on sovereignty bullets" # Performance metrics : 3 cells with grad-text for 0ms / 24/7