Files
dictia-public/templates/billing/success.html
Allison 48ff4e70e6 refactor(ui): modernize button + input border radii (rounded-lg/md/xl, sharper SaaS aesthetic)
Aligns DictIA marketing/auth/legal/billing templates with modern SaaS visual
conventions (Linear, Vercel, Stripe Dashboard, Notion). Old radii (12-18px)
felt dated; new system uses 6-12px for tighter, more contemporary corners.

Border radius system:
- Buttons (CTA, submit, secondary): rounded-[0.75rem] (12px) -> rounded-lg (8px)
- Form inputs (text/email/password/select/textarea/checkbox): rounded-[0.5rem] -> rounded-md (6px)
- Cards (pricing, bento, modals, content panels): rounded-[18px]/[14px]/[12px] -> rounded-xl (12px)
- Pricing card outer gradient frame: rounded-[20px] -> rounded-xl (matches inner)
- Pills / badges / status chips: KEEP rounded-full
- Avatars / circular icon containers: KEEP rounded-full
- Code blocks: KEEP rounded (4px)

Decision tree applied for ambiguous cases:
- Button-like clickable CTA -> rounded-lg
- Form input -> rounded-md
- Card / panel / modal -> rounded-xl
- Badge / pill / chip / avatar -> rounded-full (preserved)

In-scope templates modified (23):
- macros/button.html (central macro, cascades to all callers)
- macros/pricing_card.html, macros/bento.html
- marketing/landing.html, tarifs.html, fonctionnalites.html, conformite.html, contact.html
- auth/check_email.html, forgot_password.html, magic_link_request.html, oauth_finish_signup.html,
  passkey_setup.html, reset_password.html, totp_setup.html, totp_verify.html, verify_success.html
- billing/cancel.html, billing/success.html
- legal/_layout.html, legal/index.html
- register.html, login.html

Out of scope (untouched): index.html, account.html, admin.html, share.html, inquire.html,
group-admin.html, components/**, includes/**, modals/** (all legacy Speakr Vue surfaces).

Tests: test_marketing_landing_template.py — 2 assertions updated to match new bento icon
(rounded-md) and pricing card frame (rounded-xl). All 18 legal tests + 58 marketing landing
tests + 9 signup_loi25 tests still pass. Decorative rounded-full preserved on hero cosmic
orbs and ordres-pros avatar circles.

Diff: 94 insertions / 94 deletions (1:1 mechanical replacement, no class drift).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-28 09:55:13 -04:00

88 lines
4.4 KiB
HTML

{% extends 'marketing/base.html' %}
{% block title %}{{ title or 'Paiement confirmé — DictIA' }}{% endblock %}
{% block description %}Paiement confirmé. Votre abonnement DictIA sera activé sous quelques minutes. Vous recevrez un courriel de confirmation.{% endblock %}
{% block content %}
{# ===== HERO ===== #}
<section class="bg-brand-navy text-white py-20" aria-labelledby="page-title">
<div class="max-w-[820px] mx-auto px-6 text-center">
<div class="w-20 h-20 grad-bg rounded-full mx-auto mb-6 flex items-center justify-center text-4xl shadow-cta" aria-hidden="true"></div>
<p class="eyebrow grad-text mb-4">PAIEMENT CONFIRMÉ</p>
<h1 id="page-title" class="text-[clamp(2.25rem,4vw,3.5rem)] font-black mb-4">
Merci&nbsp;! Votre <span class="grad-text">paiement est confirmé</span>.
</h1>
<p class="text-lg text-white/80">
Votre abonnement sera activé sous quelques minutes. Vous recevrez un courriel de confirmation à l'adresse associée à votre compte.
</p>
</div>
</section>
{# ===== NEXT STEPS ===== #}
<section class="bg-brand-bg py-20" aria-labelledby="next-steps-title">
<div class="max-w-[820px] mx-auto px-6">
<h2 id="next-steps-title" class="text-[clamp(1.75rem,2.5vw,2.25rem)] font-black mb-8 text-brand-navy text-center">
Prochaines étapes.
</h2>
<ol class="space-y-6">
<li class="bg-white p-6 rounded-xl border border-brand-border flex gap-4">
<span class="grad-bg text-white font-black w-10 h-10 rounded-full flex items-center justify-center flex-shrink-0 shadow-cta" aria-hidden="true">1</span>
<div>
<h3 class="font-bold text-brand-navy mb-1">Confirmation par courriel</h3>
<p class="text-sm text-brand-navy/80 leading-relaxed">
Vous recevrez un reçu détaillé (avec TPS et TVQ ventilées) dans les prochaines minutes. Vérifiez vos pourriels si rien n'arrive après 10&nbsp;minutes.
</p>
</div>
</li>
<li class="bg-white p-6 rounded-xl border border-brand-border flex gap-4">
<span class="grad-bg text-white font-black w-10 h-10 rounded-full flex items-center justify-center flex-shrink-0 shadow-cta" aria-hidden="true">2</span>
<div>
<h3 class="font-bold text-brand-navy mb-1">Activation de votre abonnement</h3>
<p class="text-sm text-brand-navy/80 leading-relaxed">
Votre statut d'abonnement sera mis à jour automatiquement dès que Stripe confirme la transaction (généralement sous 2&nbsp;minutes). Aucune action requise de votre part.
</p>
</div>
</li>
<li class="bg-white p-6 rounded-xl border border-brand-border flex gap-4">
<span class="grad-bg text-white font-black w-10 h-10 rounded-full flex items-center justify-center flex-shrink-0 shadow-cta" aria-hidden="true">3</span>
<div>
<h3 class="font-bold text-brand-navy mb-1">Mise en service</h3>
<p class="text-sm text-brand-navy/80 leading-relaxed">
Pour les forfaits <strong>DictIA&nbsp;Cloud</strong>&nbsp;: accès immédiat depuis votre tableau de bord.<br>
Pour les forfaits <strong>DictIA&nbsp;8</strong> et <strong>DictIA&nbsp;16</strong> (on-premise)&nbsp;: notre équipe vous contactera sous 1&nbsp;jour ouvrable pour planifier l'installation (~2&nbsp;semaines).
</p>
</div>
</li>
</ol>
{% if session_id %}
<p class="text-xs text-brand-navy/60 mt-8 text-center font-mono break-all">
Référence&nbsp;: {{ session_id }}
</p>
{% endif %}
</div>
</section>
{# ===== CTA ===== #}
<section class="bg-white py-16" aria-labelledby="cta-title">
<div class="max-w-[820px] mx-auto px-6 text-center">
<h2 id="cta-title" class="text-[clamp(1.5rem,2vw,2rem)] font-black mb-4 text-brand-navy">
Une question&nbsp;?
</h2>
<p class="text-base text-brand-navy/80 mb-6">
Notre équipe est joignable à <a href="mailto:info@dictia.ca" class="grad-text font-semibold hover:underline">info@dictia.ca</a> ou au <a href="tel:+15819968471" class="grad-text font-semibold hover:underline">(581)&nbsp;996-8471</a>.
</p>
<div class="flex flex-col sm:flex-row gap-4 justify-center">
{% from 'macros/button.html' import button %}
{{ button('Retour à l\'accueil', href='/', variant='ghost', size='lg') }}
{{ button('Voir les tarifs', href='/tarifs', variant='secondary', size='lg') }}
</div>
</div>
</section>
{% endblock %}