Remplace la section "Comment ça marche" (réacteur orbital générique du commit
03f6e56) par une reproduction fidèle du composant DashboardHolographique
défini dans Website-Sanity/components/sections/dictai-narrative.tsx.
Architecture : container "phone" central (border-radius 44px, color tinting
selon feature active) + 6 modes uniques (Transcription upload+words,
Diarisation conversation Sophie/Marc/Julie, 99+ langues grille staggered,
Exports 7 file icons, Users avatars 1→20, Share folders+tags+files) +
IA Mistral 7B premium card + grid 3 cols × 6 features cliquables.
Auto-cycle 900 ms (1→6→1, skip IA index 0) avec click manuel → isManual
pendant 4500 ms puis reprise auto. Animations Framer Motion → CSS
keyframes + Alpine setInterval (preserves prefers-reduced-motion guard,
aria-live, aria-pressed).
Couleurs source spécifiques préservées (#A78BFA #22D3EE #6B9FFF #34D399
#F59E0B) — identifient les features et restent indépendantes de la palette
brand globale b1/b2/b3.
Test test_fonctionnalites_how_it_works_reactor_section adapté à la nouvelle
structure (dictiaDashboard, 5 sub-data fns, 6 modes par signature unique,
IA premium card animations, auto-cycle 900ms / 4500ms manual reset).
1302 lines
81 KiB
HTML
1302 lines
81 KiB
HTML
{% extends 'marketing/base.html' %}
|
||
|
||
{% block title %}Fonctionnalités DictIA — WhisperX FR-CA, diarisation 8 locuteurs, Mistral 7B local, Q&R, exports DOCX/PDF/SRT{% endblock %}
|
||
{% block description %}Toutes les fonctionnalités de DictIA : transcription WhisperX Large-v3 fine-tunée FR-CA, diarisation pyannote 8 locuteurs, résumés Mistral 7B local, chat Q&R RAG, synchronisation audio-texte, exports multi-formats, intégrations Word, Outlook, Teams, Notion, Obsidian, Zapier.{% endblock %}
|
||
|
||
{% block head_extra %}
|
||
{# Page-scoped CSS — animations subtiles sans dépendre d'un rebuild Tailwind ; respecte prefers-reduced-motion via base.css. #}
|
||
<style>
|
||
/* Animated underline H2 — visible classe ajoutée via IntersectionObserver */
|
||
.ani-underline { position: relative; display: inline-block; }
|
||
.ani-underline::after {
|
||
content: '';
|
||
position: absolute;
|
||
left: 50%;
|
||
bottom: -10px;
|
||
width: 0;
|
||
height: 3px;
|
||
background: linear-gradient(118deg, #2563eb, #06b6d4 52%, #06b6d4);
|
||
transform: translateX(-50%);
|
||
transition: width 600ms ease-out;
|
||
}
|
||
.ani-underline.is-visible::after { width: 56px; }
|
||
|
||
/* Stagger fade-in cards — class ajoutée par IntersectionObserver */
|
||
.ani-fade { opacity: 0; transform: translateY(16px); transition: opacity 600ms ease-out, transform 600ms ease-out; transition-delay: var(--delay, 0ms); }
|
||
.ani-fade.is-visible { opacity: 1; transform: translateY(0); }
|
||
|
||
/* Hover lift cards */
|
||
.ani-lift { transition: transform 200ms ease-out, box-shadow 200ms ease-out; }
|
||
.ani-lift:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(37,99,235, 0.18); }
|
||
|
||
/* Sticky sub-nav active link */
|
||
.subnav-link[aria-current="true"] { color: #2563eb; }
|
||
.subnav-link[aria-current="true"]::after {
|
||
content: '';
|
||
display: block;
|
||
height: 2px;
|
||
margin-top: 4px;
|
||
background: linear-gradient(118deg, #2563eb, #06b6d4 52%, #06b6d4);
|
||
}
|
||
|
||
/* Cosmic float orbs (n'utilise pas tc-float-y pour éviter rebuild) */
|
||
@keyframes orb-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
|
||
.orb-float-a { animation: orb-float 8s ease-in-out infinite; }
|
||
.orb-float-b { animation: orb-float 11s ease-in-out infinite reverse; }
|
||
|
||
/* Cloud PRO pulse glow (recommended tier) */
|
||
@keyframes card-pulse-glow {
|
||
0%, 100% { box-shadow: 0 4px 20px rgba(37,99,235, 0.28); }
|
||
50% { box-shadow: 0 12px 40px rgba(37,99,235, 0.5); }
|
||
}
|
||
.card-pulse-glow { animation: card-pulse-glow 3s ease-in-out infinite; }
|
||
|
||
@media (prefers-reduced-motion: reduce) {
|
||
.ani-fade { opacity: 1; transform: none; transition: none; }
|
||
.ani-underline::after { transition: none; width: 56px; }
|
||
.ani-lift { transition: none; }
|
||
.ani-lift:hover { transform: none; }
|
||
.orb-float-a, .orb-float-b, .card-pulse-glow { animation: none; }
|
||
}
|
||
</style>
|
||
{% endblock %}
|
||
|
||
{% block content %}
|
||
{%- set icon_microphone = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="w-7 h-7" aria-hidden="true"><rect x="9" y="2" width="6" height="12" rx="3"/><path d="M19 10v2a7 7 0 0 1-14 0v-2"/><line x1="12" y1="19" x2="12" y2="22"/></svg>' -%}
|
||
{%- set icon_users = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="w-7 h-7" aria-hidden="true"><path d="M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"/><circle cx="9" cy="7" r="4"/><path d="M23 21v-2a4 4 0 0 0-3-3.87"/><path d="M16 3.13a4 4 0 0 1 0 7.75"/></svg>' -%}
|
||
{%- set icon_document = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="w-7 h-7" aria-hidden="true"><path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"/><polyline points="14 2 14 8 20 8"/><line x1="9" y1="13" x2="15" y2="13"/><line x1="9" y1="17" x2="15" y2="17"/></svg>' -%}
|
||
{%- set icon_chat = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="w-7 h-7" aria-hidden="true"><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"/></svg>' -%}
|
||
{%- set icon_sync = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="w-7 h-7" aria-hidden="true"><polyline points="23 4 23 10 17 10"/><polyline points="1 20 1 14 7 14"/><path d="M3.51 9a9 9 0 0 1 14.85-3.36L23 10"/><path d="M20.49 15a9 9 0 0 1-14.85 3.36L1 14"/></svg>' -%}
|
||
{%- set icon_export = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="w-7 h-7" aria-hidden="true"><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"/><polyline points="7 10 12 15 17 10"/><line x1="12" y1="15" x2="12" y2="3"/></svg>' -%}
|
||
{%- set icon_check = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" class="w-4 h-4 mt-0.5 flex-shrink-0 text-brand-b3" aria-hidden="true"><path d="M5 13l4 4L19 7"/></svg>' -%}
|
||
{%- set icon_link = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="w-4 h-4" aria-hidden="true"><path d="M5 12h14M13 5l7 7-7 7"/></svg>' -%}
|
||
|
||
{# ===== HERO ===== #}
|
||
<section class="relative overflow-hidden bg-brand-navy text-white py-24 md:py-28" aria-labelledby="page-title">
|
||
{# Cosmic orbs background — float animation subtile #}
|
||
<div class="absolute inset-0 pointer-events-none" aria-hidden="true">
|
||
<div class="orb-float-a absolute top-1/4 left-1/4 w-[600px] h-[600px] rounded-full"
|
||
style="background: radial-gradient(circle, rgba(37,99,235,0.16) 0%, transparent 60%); filter: blur(40px);"></div>
|
||
<div class="orb-float-b absolute top-1/2 right-1/4 w-[500px] h-[500px] rounded-full"
|
||
style="background: radial-gradient(circle, rgba(6,182,212,0.07) 0%, transparent 60%); filter: blur(40px);"></div>
|
||
<div class="absolute inset-0"
|
||
style="background-image: linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px); background-size: 40px 40px;"></div>
|
||
<div class="absolute top-1/3 left-0 right-0 h-px"
|
||
style="background: linear-gradient(90deg, transparent, rgba(37,99,235,0.3), rgba(6,182,212,0.2), transparent);"></div>
|
||
</div>
|
||
|
||
<div class="relative max-w-[1200px] mx-auto px-6 text-center">
|
||
<p class="eyebrow grad-text mb-5 animate-tc-fade-in-up" style="animation-delay: 0ms; animation-fill-mode: backwards;">
|
||
FONCTIONNALITÉS · WHISPERX · MISTRAL 7B
|
||
</p>
|
||
<h1 id="page-title" class="text-[clamp(2.25rem,4vw,3.75rem)] font-black leading-[1.05] mb-5 max-w-3xl mx-auto animate-tc-fade-in-up" style="animation-delay: 75ms; animation-fill-mode: backwards;">
|
||
Tout ce qu'il vous faut pour transcrire <span class="grad-text">en restant chez soi</span>.
|
||
</h1>
|
||
<p class="text-lg text-white/70 max-w-2xl mx-auto mb-12 animate-tc-fade-in-up" style="animation-delay: 150ms; animation-fill-mode: backwards;">
|
||
Pile technique 100 % québécoise. Inférence sur GPU local ou OVH Beauharnois. Aucun transit cloud américain. Conçu avec 9 ordres professionnels.
|
||
</p>
|
||
|
||
{# Stats hero — counter via Alpine x-data + IntersectionObserver pour déclenchement #}
|
||
<div class="grid grid-cols-2 md:grid-cols-4 gap-8 max-w-4xl mx-auto" role="list">
|
||
{% for stat in [
|
||
{'target': 95, 'suffix': ' %+', 'label': "précision FR-CA", 'sub': 'WhisperX Large-v3'},
|
||
{'target': 30, 'suffix': '×', 'label': "vitesse temps réel", 'sub': '1 h audio → ~5 min'},
|
||
{'target': 8, 'suffix': '', 'label': "locuteurs simultanés", 'sub': 'pyannote-audio'},
|
||
{'target': 0, 'suffix': '', 'label': "transit cloud", 'sub': '100 % local'}
|
||
] %}
|
||
<div class="text-center" role="listitem"
|
||
x-data="{ value: 0, target: {{ stat.target }} }"
|
||
x-init="
|
||
const reduced = window.matchMedia('(prefers-reduced-motion: reduce)').matches;
|
||
if (reduced) { value = target; return; }
|
||
const io = new IntersectionObserver((entries) => {
|
||
if (!entries[0].isIntersecting) return;
|
||
const start = performance.now();
|
||
const dur = 1200;
|
||
const tick = (now) => {
|
||
const t = Math.min(1, (now - start) / dur);
|
||
value = Math.round(target * (1 - Math.pow(1 - t, 3)));
|
||
if (t < 1) requestAnimationFrame(tick);
|
||
};
|
||
requestAnimationFrame(tick);
|
||
io.disconnect();
|
||
}, { threshold: 0.5 });
|
||
io.observe($el);
|
||
">
|
||
<div class="text-5xl font-black grad-text mb-2 tabular-nums">
|
||
<span x-text="value"></span><span>{{ stat.suffix | safe }}</span>
|
||
</div>
|
||
<div class="text-sm font-semibold text-white mb-1">{{ stat.label }}</div>
|
||
<div class="text-xs text-white/60">{{ stat.sub | safe }}</div>
|
||
</div>
|
||
{% endfor %}
|
||
</div>
|
||
</div>
|
||
</section>
|
||
|
||
{# ===== STICKY SUB-NAV ===== #}
|
||
<nav class="sticky top-[62px] z-40 bg-white/95 backdrop-blur-sm border-b border-brand-border" aria-label="Navigation des sections de la page"
|
||
x-data="{ active: 'fonctionnalites' }"
|
||
x-init="
|
||
const sections = ['fonctionnalites', 'integrations', 'architecture', 'conformite-resume'];
|
||
const io = new IntersectionObserver((entries) => {
|
||
entries.forEach(e => {
|
||
if (e.isIntersecting && e.intersectionRatio > 0.15) active = e.target.id;
|
||
});
|
||
}, { rootMargin: '-120px 0px -55% 0px', threshold: [0, 0.15, 0.3] });
|
||
sections.forEach(id => { const el = document.getElementById(id); if (el) io.observe(el); });
|
||
">
|
||
<div class="max-w-[1200px] mx-auto px-6">
|
||
<ul class="flex flex-wrap gap-x-6 gap-y-1 py-3 text-sm font-semibold text-brand-navy/70" role="list">
|
||
<li><a href="#fonctionnalites" class="subnav-link inline-block py-1 hover:text-brand-b1 transition-colors focus-visible:outline-2 focus-visible:outline-brand-b1 focus-visible:outline-offset-2"
|
||
:aria-current="active === 'fonctionnalites' ? 'true' : 'false'">Fonctionnalités</a></li>
|
||
<li><a href="#integrations" class="subnav-link inline-block py-1 hover:text-brand-b1 transition-colors focus-visible:outline-2 focus-visible:outline-brand-b1 focus-visible:outline-offset-2"
|
||
:aria-current="active === 'integrations' ? 'true' : 'false'">Intégrations</a></li>
|
||
<li><a href="#architecture" class="subnav-link inline-block py-1 hover:text-brand-b1 transition-colors focus-visible:outline-2 focus-visible:outline-brand-b1 focus-visible:outline-offset-2"
|
||
:aria-current="active === 'architecture' ? 'true' : 'false'">Architecture</a></li>
|
||
<li><a href="#conformite-resume" class="subnav-link inline-block py-1 hover:text-brand-b1 transition-colors focus-visible:outline-2 focus-visible:outline-brand-b1 focus-visible:outline-offset-2"
|
||
:aria-current="active === 'conformite-resume' ? 'true' : 'false'">Conformité</a></li>
|
||
</ul>
|
||
</div>
|
||
</nav>
|
||
|
||
{# ===== 6 FONCTIONNALITÉS PRINCIPALES =====
|
||
NOTE: bento card content is duplicated between landing.html and fonctionnalites.html.
|
||
When editing, sync both files. Future refactor: extract to _partials/_bento_features.html.
|
||
#}
|
||
<section id="fonctionnalites" class="bg-white py-20 scroll-mt-32" aria-labelledby="features-title">
|
||
<div class="max-w-[1200px] mx-auto px-6">
|
||
<div class="text-center max-w-3xl mx-auto mb-14">
|
||
<p class="eyebrow grad-text mb-4">SIX FONCTIONNALITÉS</p>
|
||
<h2 id="features-title" class="text-[clamp(2rem,3vw,2.75rem)] font-black text-brand-navy">
|
||
<span class="ani-underline" data-ani-underline>Conçu pour les pros qui parlent et écrivent toute la journée.</span>
|
||
</h2>
|
||
<p class="text-lg text-brand-navy/70 mt-6">
|
||
Chaque module fonctionne hors-ligne sur votre matériel ou notre VPS Québec OVH. Aucun appel à OpenAI, Microsoft Copilot ou Google.
|
||
</p>
|
||
</div>
|
||
|
||
{% from 'macros/bento.html' import bento_card %}
|
||
{%- set features = [
|
||
{
|
||
'n': '01',
|
||
'title': 'Transcription IA locale FR-CA',
|
||
'desc': 'WhisperX Large-v3 entraîné sur des millions d\'heures de québécois juridique, médical et gouvernemental. 95 %+ dès la première utilisation, sans aucun ajustement manuel.',
|
||
'icon': icon_microphone,
|
||
'chips': ['WhisperX Large-v3', 'GPU RTX 8 ou 16 Go', '1 h audio → ~5 min', '< 5 % taux d\'erreur', '100 % local · hors-ligne']
|
||
},
|
||
{
|
||
'n': '02',
|
||
'title': 'Identification des locuteurs (diarisation)',
|
||
'desc': 'Jusqu\'à 8 interlocuteurs distingués automatiquement. Chaque prise de parole est étiquetée et horodatée pour une lecture nette des comités, audiences et entrevues.',
|
||
'icon': icon_users,
|
||
'chips': ['pyannote-audio 3.x', '8 personnes max', 'Étiquettes auto', 'Horodatage word-level']
|
||
},
|
||
{
|
||
'n': '03',
|
||
'title': 'Résumés & points d\'action',
|
||
'desc': 'Résumé exécutif, décisions clés et liste d\'actions générés en français. Format avocat, notaire, CPA ou médecin selon votre profil. Récupérez ~2 h/jour de rédaction.',
|
||
'icon': icon_document,
|
||
'chips': ['Mistral Nemo 12B (Cloud) · Mistral 7B (Local)', 'Templates pro', 'Décisions + actions', '2 h/jour récupérées']
|
||
},
|
||
{
|
||
'n': '04',
|
||
'title': 'Chat IA sur enregistrement (Q&R)',
|
||
'desc': 'Posez vos questions directement sur l\'audio : « Quel montant a été mentionné ? » ou « Quels engagements ont été pris ? » — réponses instantanées en langage naturel.',
|
||
'icon': icon_chat,
|
||
'chips': ['Mistral 7B local', 'RAG local', 'sentence-transformers', 'Recherche contextuelle']
|
||
},
|
||
{
|
||
'n': '05',
|
||
'title': 'Synchronisation audio-texte',
|
||
'desc': 'Cliquez sur n\'importe quel mot pour sauter à ce moment dans l\'audio. Suivi automatique en lecture avec mot actif surligné — révision et référencement instantanés.',
|
||
'icon': icon_sync,
|
||
'chips': ['Timestamps word-level', 'Lecture guidée', 'Mot actif surligné', 'Navigation par mot clé']
|
||
},
|
||
{
|
||
'n': '06',
|
||
'title': 'Recherche sémantique & exports',
|
||
'desc': 'Recherchez par sens et non seulement par mot-clé. Exportez vers DOCX, PDF, SRT, VTT, TXT, JSON, MD — compatible Obsidian, Notion, Logseq via Markdown.',
|
||
'icon': icon_export,
|
||
'chips': ['DOCX, PDF, SRT, VTT', 'TXT, JSON, MD', 'Obsidian · Notion · Logseq', 'Format avocat / notaire / CPA']
|
||
}
|
||
] -%}
|
||
|
||
<div class="grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-[1.5px] bg-brand-border rounded overflow-hidden">
|
||
{% for f in features %}
|
||
<article class="ani-fade ani-lift relative bg-brand-navy2 p-6 overflow-hidden border border-white/[0.045]"
|
||
style="--delay: {{ loop.index0 * 60 }}ms;"
|
||
data-ani-fade>
|
||
<div class="absolute top-2 right-4 text-[80px] font-black grad-text opacity-20 leading-none" aria-hidden="true">{{ f.n }}</div>
|
||
<div class="relative">
|
||
<div class="text-brand-b1 mb-4" aria-hidden="true">{{ f.icon | safe }}</div>
|
||
<h3 class="text-lg font-bold mb-2 text-white">{{ f.title | safe }}</h3>
|
||
<p class="text-sm text-white/70 leading-relaxed mb-4">{{ f.desc | safe }}</p>
|
||
<ul class="flex flex-wrap gap-1.5" role="list">
|
||
{% for chip in f.chips %}
|
||
<li class="text-[11px] font-mono font-medium text-white/80 bg-white/[0.06] border border-white/[0.08] px-2 py-1 rounded-full">{{ chip | safe }}</li>
|
||
{% endfor %}
|
||
</ul>
|
||
</div>
|
||
</article>
|
||
{% endfor %}
|
||
</div>
|
||
|
||
{# Microcopy LPC art. 219 — méthodologie 95% #}
|
||
<p class="text-xs text-brand-navy/70 text-center mt-8 max-w-2xl mx-auto">
|
||
Précision mesurée sur un échantillon interne d'audio professionnel québécois (juridique, médical, municipal) — méthodologie disponible sur demande à <a href="mailto:info@dictia.ca" class="hover:text-brand-navy underline">info@dictia.ca</a>.
|
||
</p>
|
||
</div>
|
||
</section>
|
||
|
||
{# ===== COMMENT ÇA MARCHE — DASHBOARD HOLOGRAPHIQUE =====
|
||
Reproduction fidèle de DashboardHolographique (Website-Sanity/dictai-narrative.tsx).
|
||
Phone container central + 6 modes uniques (Transcription, Diarisation, Langues,
|
||
Exports, Users, Share) + IA Mistral 7B premium card + grid 6 features.
|
||
Auto-cycle 900ms (1→6→1, skip IA index 0). Click manuel → 4500ms isManual.
|
||
#}
|
||
<section class="bg-brand-bg py-20" aria-labelledby="how-it-works-title">
|
||
<style>
|
||
/* Mic pulsing en haut du phone */
|
||
.dictia-mic-pulse { animation: dmic-pulse 1.2s ease-in-out infinite; display: inline-block; }
|
||
@keyframes dmic-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.18); } }
|
||
|
||
/* IA card ambient glow + brain glow + LOCAL pulse */
|
||
.ia-ambient-glow { animation: ia-glow 3s ease-in-out infinite; }
|
||
@keyframes ia-glow { 0%, 100% { opacity: 0.4; } 50% { opacity: 0.75; } }
|
||
.ia-brain-glow { animation: ia-brain 2.2s ease-in-out infinite; }
|
||
@keyframes ia-brain { 0%, 100% { opacity: 0.2; } 50% { opacity: 0.55; } }
|
||
.ia-local-badge { animation: ia-local 2.5s ease-in-out infinite; }
|
||
@keyframes ia-local { 0%, 100% { opacity: 0.75; } 50% { opacity: 1; } }
|
||
|
||
/* Curseur clignotant (transcription, IA chat) */
|
||
.dictia-blink { animation: dictia-cursor-blink 0.6s steps(2, end) infinite; }
|
||
@keyframes dictia-cursor-blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
|
||
|
||
/* Dot pulse (MISTRAL 7B · LOCAL header) */
|
||
.dictia-dot-pulse { animation: dictia-dot-pulse-anim 1.8s ease-in-out infinite; }
|
||
@keyframes dictia-dot-pulse-anim { 0%, 100% { opacity: 0.4; transform: scale(1); } 50% { opacity: 1; transform: scale(1.35); } }
|
||
|
||
/* Slide-up + fade-in (diarisation messages) */
|
||
.dictia-msg-in { animation: dictia-fade-up 0.3s ease-out both; }
|
||
@keyframes dictia-fade-up { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
|
||
|
||
/* Spring pop (langues, exports, users, share) */
|
||
.dictia-spring { animation: dictia-spring-pop 0.28s cubic-bezier(0.34, 1.56, 0.64, 1) both; }
|
||
@keyframes dictia-spring-pop { 0% { opacity: 0; transform: scale(0.5); } 80% { transform: scale(1.08); } 100% { opacity: 1; transform: scale(1); } }
|
||
.dictia-spring-y { animation: dictia-spring-y 0.32s cubic-bezier(0.34, 1.56, 0.64, 1) both; }
|
||
@keyframes dictia-spring-y { 0% { opacity: 0; transform: translateY(14px) scale(0.65); } 80% { transform: translateY(-2px) scale(1.05); } 100% { opacity: 1; transform: translateY(0) scale(1); } }
|
||
.dictia-fade-x { animation: dictia-fade-x 0.32s ease-out both; }
|
||
@keyframes dictia-fade-x { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: translateX(0); } }
|
||
.dictia-fade-y { animation: dictia-fade-y 0.3s ease-out both; }
|
||
@keyframes dictia-fade-y { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
|
||
|
||
/* Mode wrapper fade */
|
||
.dictia-mode-fade { animation: dictia-mode-fade 0.22s ease-out both; }
|
||
@keyframes dictia-mode-fade { from { opacity: 0; } to { opacity: 1; } }
|
||
|
||
/* Hide scrollbar mobile pills */
|
||
.dictia-hide-scrollbar::-webkit-scrollbar { display: none; }
|
||
|
||
@media (prefers-reduced-motion: reduce) {
|
||
.dictia-mic-pulse, .ia-ambient-glow, .ia-brain-glow, .ia-local-badge,
|
||
.dictia-blink, .dictia-dot-pulse, .dictia-msg-in, .dictia-spring,
|
||
.dictia-spring-y, .dictia-fade-x, .dictia-fade-y, .dictia-mode-fade { animation: none; }
|
||
}
|
||
</style>
|
||
|
||
<div class="max-w-[1200px] mx-auto px-6">
|
||
<div class="text-center max-w-2xl mx-auto mb-12">
|
||
<p class="eyebrow grad-text mb-3 inline-flex items-center gap-2 justify-center">
|
||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="w-4 h-4" aria-hidden="true">
|
||
<circle cx="12" cy="12" r="3"/>
|
||
<path d="M19.4 15a1.7 1.7 0 0 0 .3 1.9l.1.1a2 2 0 1 1-2.8 2.8l-.1-.1a1.7 1.7 0 0 0-1.9-.3 1.7 1.7 0 0 0-1 1.5V21a2 2 0 1 1-4 0v-.1a1.7 1.7 0 0 0-1-1.5 1.7 1.7 0 0 0-1.9.3l-.1.1a2 2 0 1 1-2.8-2.8l.1-.1a1.7 1.7 0 0 0 .3-1.9 1.7 1.7 0 0 0-1.5-1H3a2 2 0 1 1 0-4h.1a1.7 1.7 0 0 0 1.5-1 1.7 1.7 0 0 0-.3-1.9l-.1-.1a2 2 0 1 1 2.8-2.8l.1.1a1.7 1.7 0 0 0 1.9.3h.1a1.7 1.7 0 0 0 1-1.5V3a2 2 0 1 1 4 0v.1a1.7 1.7 0 0 0 1 1.5 1.7 1.7 0 0 0 1.9-.3l.1-.1a2 2 0 1 1 2.8 2.8l-.1.1a1.7 1.7 0 0 0-.3 1.9v.1a1.7 1.7 0 0 0 1.5 1H21a2 2 0 1 1 0 4h-.1a1.7 1.7 0 0 0-1.5 1z"/>
|
||
</svg>
|
||
COMMENT ÇA MARCHE
|
||
</p>
|
||
<h2 id="how-it-works-title" class="text-[clamp(2rem,3vw,2.75rem)] font-black text-brand-navy mb-3">
|
||
Du fichier au résumé — <span class="grad-text">en temps réel</span>
|
||
</h2>
|
||
<p class="text-base text-brand-navy/70">
|
||
Survolez une fonctionnalité pour voir la machine en action. Glissez pour calculer votre gain de productivité.
|
||
</p>
|
||
</div>
|
||
|
||
{# ── DASHBOARD HOLOGRAPHIQUE — 2 colonnes (phone center + IA right) ── #}
|
||
<div x-data="dictiaDashboard()" x-init="init()"
|
||
class="w-full flex flex-col lg:flex-row lg:justify-center lg:items-start gap-6 lg:gap-10">
|
||
|
||
{# ─────────── ZONE CENTER : Phone container ─────────── #}
|
||
<div class="flex flex-col items-center gap-3 lg:w-[280px] flex-shrink-0">
|
||
|
||
{# Phone (border-radius 44px, color tinting selon feature active) #}
|
||
<div class="w-full max-w-[260px] mx-auto flex flex-col overflow-hidden relative"
|
||
:style="`border-radius: 44px; border: 1.5px solid ${activeColor}33; background: rgba(8,12,24,0.8); box-shadow: 0 0 56px ${activeColor}1A, inset 0 0 28px ${activeColor}0A; min-height: 460px; transition: border-color 0.4s, box-shadow 0.4s;`">
|
||
|
||
{# Ambient color tint overlay #}
|
||
<div class="absolute inset-0 pointer-events-none"
|
||
:style="`border-radius: 44px; background-color: ${activeColor}06; transition: background-color 0.4s;`"
|
||
aria-hidden="true"></div>
|
||
|
||
{# TOP : Logo + Mic pulsing #}
|
||
<div class="flex flex-col items-center justify-center gap-2 relative z-10"
|
||
style="height: 96px; border-bottom: 1px solid rgba(255,255,255,0.06);">
|
||
<img src="/static/images/dictia-logo-nom.png" alt="DictIA"
|
||
style="width: 80px; height: 24px; object-fit: contain; opacity: 0.75;">
|
||
<span class="dictia-mic-pulse" :style="`color: ${activeColor};`" aria-hidden="true">
|
||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" style="width:22px;height:22px;">
|
||
<rect x="9" y="2" width="6" height="12" rx="3"/>
|
||
<path d="M19 10v2a7 7 0 0 1-14 0v-2"/>
|
||
<line x1="12" y1="19" x2="12" y2="23"/>
|
||
<line x1="8" y1="23" x2="16" y2="23"/>
|
||
</svg>
|
||
</span>
|
||
</div>
|
||
|
||
{# MIDDLE : 6 modes (1=Transcription, 2=Diarisation, 3=Langues, 4=Exports, 5=Users, 6=Share, 0=IA chat) #}
|
||
<div class="flex-1 relative z-10" style="min-height: 220px;"
|
||
role="status" aria-live="polite" aria-atomic="true">
|
||
|
||
{# Mode 1 : Transcription (upload bar + words appearing) #}
|
||
<template x-if="displayMode === 1">
|
||
<div class="dictia-mode-fade w-full h-full" x-data="trModeData()" x-init="init()">
|
||
<div x-show="phase === 'upload'" class="w-full h-full flex flex-col items-center justify-center gap-3 px-4">
|
||
<div class="flex flex-col items-center gap-1.5">
|
||
<div class="w-10 h-12 rounded-md flex flex-col items-center justify-center relative"
|
||
style="background-color: rgba(34,211,238,0.12); border: 1.5px solid rgba(34,211,238,0.40);">
|
||
<div class="absolute top-0 right-0" style="width:0;height:0;border-style:solid;border-width:0 7px 7px 0;border-color:transparent rgba(0,0,0,0.40) transparent transparent;"></div>
|
||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" style="width:13px;height:13px;color:#22D3EE;" aria-hidden="true">
|
||
<rect x="9" y="2" width="6" height="12" rx="3"/>
|
||
<path d="M19 10v2a7 7 0 0 1-14 0v-2"/>
|
||
<line x1="12" y1="19" x2="12" y2="23"/>
|
||
</svg>
|
||
<span style="font-size:5.5px;font-family:monospace;color:rgba(34,211,238,0.70);letter-spacing:0.06em;">MP3</span>
|
||
</div>
|
||
<span style="font-size:7px;font-family:monospace;color:rgba(255,255,255,0.42);">reunion-jan14.mp3</span>
|
||
</div>
|
||
<div class="w-full flex flex-col gap-1">
|
||
<div class="flex justify-between">
|
||
<span style="font-size:6.5px;font-family:monospace;color:rgba(34,211,238,0.65);" x-text="progress < 100 ? 'Envoi en cours…' : 'Prêt ✓'"></span>
|
||
<span style="font-size:6.5px;font-family:monospace;color:rgba(34,211,238,0.50);"><span x-text="progress"></span>%</span>
|
||
</div>
|
||
<div class="w-full rounded-full overflow-hidden" style="height:3px;background-color:rgba(34,211,238,0.10);">
|
||
<div class="h-full rounded-full" :style="`width: ${progress}%; background-color: #22D3EE; transition: width 60ms linear;`"></div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div x-show="phase === 'transcribing'" class="w-full h-full p-3 overflow-hidden flex flex-col justify-start">
|
||
<p class="font-mono leading-relaxed break-words" style="font-size:9px;color:rgba(34,211,238,0.90);">
|
||
<span x-text="words.slice(0, n + 1).join(' ')"></span><span class="dictia-blink ml-px" style="color:#22D3EE;">▌</span>
|
||
</p>
|
||
</div>
|
||
</div>
|
||
</template>
|
||
|
||
{# Mode 2 : Diarisation (conversation Sophie/Marc/Julie) #}
|
||
<template x-if="displayMode === 2">
|
||
<div class="dictia-mode-fade w-full h-full flex flex-col justify-end gap-1.5 p-2 overflow-hidden" x-data="diaModeData()" x-init="init()">
|
||
<template x-for="(msg, i) in visible" :key="`${cycle}-${startIdx + i}`">
|
||
<div class="dictia-msg-in flex items-start gap-1.5">
|
||
<div class="rounded-full flex items-center justify-center text-[8px] font-bold shrink-0 mt-0.5"
|
||
style="width:20px;height:20px;"
|
||
:style="`background-color: ${msg.c}28; border: 1px solid ${msg.c}55; color: ${msg.c};`"
|
||
x-text="msg.s.charAt(0)"></div>
|
||
<div class="rounded-lg px-2 py-1 flex-1"
|
||
:style="`background-color: ${msg.c}10; border: 1px solid ${msg.c}22;`">
|
||
<p class="text-[8px] font-bold leading-none mb-0.5" :style="`color: ${msg.c};`" x-text="msg.s"></p>
|
||
<p class="text-[8px] font-mono leading-snug" style="color:rgba(255,255,255,0.75);" x-text="msg.t"></p>
|
||
</div>
|
||
</div>
|
||
</template>
|
||
</div>
|
||
</template>
|
||
|
||
{# Mode 3 : 99+ langues (grille 100 codes staggered 12ms) #}
|
||
<template x-if="displayMode === 3">
|
||
<div class="dictia-mode-fade w-full h-full overflow-hidden" style="padding:6px 5px;" x-data="langModeData()">
|
||
<div class="grid content-start" style="grid-template-columns: repeat(7, 1fr); gap: 3px;">
|
||
<template x-for="(lang, i) in LANGS" :key="lang">
|
||
<span class="font-mono font-bold text-center rounded dictia-spring"
|
||
:style="`font-size:6.5px;line-height:14px;background-color:${LANG_COLORS[i % LANG_COLORS.length]}12;border:1px solid ${LANG_COLORS[i % LANG_COLORS.length]}28;color:${LANG_COLORS[i % LANG_COLORS.length]};animation-delay:${i * 12}ms;`"
|
||
x-text="lang"></span>
|
||
</template>
|
||
</div>
|
||
<p class="text-center font-mono font-bold mt-2 dictia-fade-y"
|
||
style="font-size:8px;color:#22D3EE;letter-spacing:0.1em;animation-delay:1.4s;">
|
||
99+ langues détectées
|
||
</p>
|
||
</div>
|
||
</template>
|
||
|
||
{# Mode 4 : Exports (7 file icons spring stagger 90ms) #}
|
||
<template x-if="displayMode === 4">
|
||
<div class="dictia-mode-fade w-full h-full p-3 flex flex-wrap gap-2 items-center justify-center" x-data="expModeData()">
|
||
<template x-for="(f, i) in FILE_TYPES" :key="f.ext">
|
||
<div class="dictia-spring-y" :style="`animation-delay:${i * 90}ms;`">
|
||
<div class="w-10 h-12 rounded-md flex flex-col items-center justify-center gap-0.5 relative"
|
||
:style="`background-color:${f.bg}CC;border:1.5px solid ${f.bg};box-shadow:0 4px 12px ${f.bg}40;`">
|
||
<div class="absolute top-0 right-0" style="width:0;height:0;border-style:solid;border-width:0 7px 7px 0;border-color:transparent rgba(0,0,0,0.35) transparent transparent;"></div>
|
||
<span class="text-[10px] font-black leading-none" :style="`color:${f.fg};`" x-text="f.sym"></span>
|
||
<span class="text-[7px] font-mono font-bold leading-none" :style="`color:${f.fg}BB;`" x-text="f.ext"></span>
|
||
</div>
|
||
</div>
|
||
</template>
|
||
</div>
|
||
</template>
|
||
|
||
{# Mode 5 : Users (avatars 1→20 multiplication 200ms) #}
|
||
<template x-if="displayMode === 5">
|
||
<div class="dictia-mode-fade w-full h-full p-2 flex flex-wrap gap-1.5 items-center justify-center content-center" x-data="usersModeData()" x-init="init()">
|
||
<template x-for="i in count" :key="`${cycle}-${i}`">
|
||
<div class="rounded-full flex items-center justify-center"
|
||
:class="i === count ? 'dictia-spring' : ''"
|
||
style="width:24px;height:24px;background-color:#A78BFA22;border:1.5px solid #A78BFA66;">
|
||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" style="width:10px;height:10px;color:#A78BFA;" aria-hidden="true">
|
||
<path d="M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2"/>
|
||
<circle cx="9" cy="7" r="4"/>
|
||
<line x1="20" y1="8" x2="20" y2="14"/>
|
||
<line x1="23" y1="11" x2="17" y2="11"/>
|
||
</svg>
|
||
</div>
|
||
</template>
|
||
</div>
|
||
</template>
|
||
|
||
{# Mode 6 : Share (folders + tags + files staggered) #}
|
||
<template x-if="displayMode === 6">
|
||
<div class="dictia-mode-fade w-full h-full flex flex-col gap-1.5" style="padding:8px 7px;">
|
||
{# Folders #}
|
||
<div class="flex gap-1 flex-wrap">
|
||
<template x-for="(f, fi) in [{name:'Réunions',color:'#22D3EE',count:12},{name:'Entretiens',color:'#6B9FFF',count:7},{name:'Formations',color:'#34D399',count:24}]" :key="f.name">
|
||
<div class="flex items-center gap-1 rounded-md dictia-fade-y"
|
||
:style="`background-color:${f.color}18;border:1px solid ${f.color}35;padding:3px 6px;animation-delay:${fi * 100}ms;`">
|
||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" style="width:7px;height:7px;" :style="`color:${f.color};`" aria-hidden="true">
|
||
<path d="M3 7a2 2 0 0 1 2-2h4l2 2h8a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"/>
|
||
</svg>
|
||
<span style="font-size:6.5px;font-family:monospace;" :style="`color:${f.color};`" x-text="f.name"></span>
|
||
<span style="font-size:6px;font-family:monospace;" :style="`color:${f.color}88;`" x-text="f.count"></span>
|
||
</div>
|
||
</template>
|
||
</div>
|
||
{# Tags #}
|
||
<div class="flex flex-wrap gap-1">
|
||
<template x-for="(tag, ti) in ['#RH','#Direction','#Urgent','#Archivé','#Suivi','#Confidentiel','#2024']" :key="tag">
|
||
<span class="rounded dictia-spring"
|
||
style="font-size:5.5px;padding:2px 4px;background-color:rgba(52,211,153,0.10);border:1px solid rgba(52,211,153,0.25);color:#34D399;font-family:monospace;"
|
||
:style="`animation-delay:${350 + ti * 70}ms;`"
|
||
x-text="tag"></span>
|
||
</template>
|
||
</div>
|
||
{# Separator #}
|
||
<div style="height:1px;background:rgba(255,255,255,0.05);margin:2px 0;"></div>
|
||
{# File rows #}
|
||
<div class="flex flex-col gap-1">
|
||
<template x-for="(file, fi2) in [{name:'CR-Réunion-Jan14',folder:'Réunions',color:'#22D3EE'},{name:'Entretien-Sophie',folder:'Entretiens',color:'#6B9FFF'},{name:'Formation-RGPD',folder:'Formations',color:'#34D399'}]" :key="file.name">
|
||
<div class="flex items-center gap-1.5 rounded-lg dictia-fade-x"
|
||
:style="`background-color:${file.color}0C;border:1px solid ${file.color}22;padding:4px 6px;animation-delay:${650 + fi2 * 120}ms;`">
|
||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" style="width:7px;height:7px;" :style="`color:${file.color};`" aria-hidden="true">
|
||
<path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"/>
|
||
<polyline points="14 2 14 8 20 8"/>
|
||
</svg>
|
||
<div class="flex-1 min-w-0">
|
||
<p class="truncate" style="font-size:6px;font-family:monospace;color:rgba(255,255,255,0.70);" x-text="file.name"></p>
|
||
<p style="font-size:5.5px;" :style="`color:${file.color}99;`" x-text="file.folder"></p>
|
||
</div>
|
||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" style="width:6px;height:6px;flex-shrink:0;" :style="`color:${file.color}66;`" aria-hidden="true">
|
||
<circle cx="18" cy="5" r="3"/><circle cx="6" cy="12" r="3"/><circle cx="18" cy="19" r="3"/>
|
||
<line x1="8.59" y1="13.51" x2="15.42" y2="17.49"/><line x1="15.41" y1="6.51" x2="8.59" y2="10.49"/>
|
||
</svg>
|
||
</div>
|
||
</template>
|
||
</div>
|
||
<p class="text-center font-mono mt-auto dictia-fade-y"
|
||
style="font-size:6px;color:rgba(52,211,153,0.55);letter-spacing:0.08em;animation-delay:1.2s;">
|
||
partage sécurisé · recherche plein texte
|
||
</p>
|
||
</div>
|
||
</template>
|
||
|
||
{# Mode 0 : IA chat (Mistral 7B local Q&R typing) — visible si user clique sur IA dans grid #}
|
||
<template x-if="displayMode === 0">
|
||
<div class="dictia-mode-fade w-full h-full flex flex-col overflow-hidden" x-data="iaModeData()" x-init="init()">
|
||
<div class="flex items-center justify-center gap-1.5 py-1.5"
|
||
style="border-bottom: 1px solid rgba(167,139,250,0.14); background-color: rgba(167,139,250,0.05);">
|
||
<div class="rounded-full flex-shrink-0 dictia-dot-pulse" style="width:6px;height:6px;background-color:#34D399;"></div>
|
||
<span style="font-size:6px;font-family:monospace;color:rgba(52,211,153,0.85);letter-spacing:0.14em;">MISTRAL 7B · LOCAL</span>
|
||
</div>
|
||
<div class="flex-1 flex flex-col justify-end gap-1.5 p-2 overflow-hidden">
|
||
<template x-for="(msg, mi) in msgs" :key="mi">
|
||
<div class="dictia-fade-y" :class="msg.role === 'user' ? 'flex justify-end' : 'flex justify-start'">
|
||
<div class="rounded-lg px-2 py-1.5" style="max-width:92%;"
|
||
:style="msg.role === 'user' ? 'background-color:rgba(255,255,255,0.07);border:1px solid rgba(255,255,255,0.12);' : 'background-color:rgba(167,139,250,0.12);border:1px solid rgba(167,139,250,0.30);'">
|
||
<p class="font-mono leading-relaxed whitespace-pre-line" style="font-size:7.5px;"
|
||
:style="msg.role === 'user' ? 'color:rgba(255,255,255,0.65);' : 'color:#C4B5FD;'">
|
||
<span x-text="msg.text"></span><span x-show="msg.role === 'bot' && mi === msgs.length - 1" class="dictia-blink ml-px" style="color:#A78BFA;">▌</span>
|
||
</p>
|
||
</div>
|
||
</div>
|
||
</template>
|
||
</div>
|
||
<div class="flex items-center justify-center gap-1 py-1.5" style="border-top:1px solid rgba(167,139,250,0.08);">
|
||
<span style="font-size:5.5px;font-family:monospace;color:rgba(239,68,68,0.55);letter-spacing:0.06em;">0 donnée envoyée au cloud</span>
|
||
</div>
|
||
</div>
|
||
</template>
|
||
</div>
|
||
|
||
{# BOTTOM : 6 feature icons (skip IA index 0) + auto-cycle status #}
|
||
<div class="relative flex flex-col items-center justify-center gap-2 z-10"
|
||
style="height: 90px; border-top: 1px solid rgba(255,255,255,0.06);">
|
||
<div class="flex items-center gap-3.5">
|
||
<template x-for="i in [1,2,3,4,5,6]" :key="i">
|
||
<button type="button" @click="handleManualSelect(i)"
|
||
class="outline-none p-0 cursor-pointer focus-visible:ring-2 focus-visible:ring-white/40 rounded"
|
||
style="background:transparent;border:none;"
|
||
:aria-pressed="selectedFeature === i ? 'true' : 'false'"
|
||
:aria-label="`Voir : ${FEATURES[i].title}`">
|
||
<span :style="`color: ${selectedFeature === i ? FEATURES[i].color : 'rgba(255,255,255,0.28)'}; transition: color 0.2s, transform 0.15s, filter 0.2s; filter: ${selectedFeature === i ? 'drop-shadow(0 0 6px ' + FEATURES[i].color + 'CC)' : 'none'}; transform: scale(${selectedFeature === i ? 1.3 : 1}); display: inline-block;`">
|
||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" style="width:15px;height:15px;" aria-hidden="true" x-html="featureIconPath(i)"></svg>
|
||
</span>
|
||
</button>
|
||
</template>
|
||
</div>
|
||
<p class="text-[9px]" style="color:rgba(255,255,255,0.28);"
|
||
x-text="isManual ? 'Cliquez pour changer · Auto reprend bientôt' : '● Auto'"></p>
|
||
</div>
|
||
</div>
|
||
|
||
{# Feature info card sous le phone (toujours visible, change avec auto-cycle) #}
|
||
<div style="min-height:54px;" class="w-full max-w-[260px]">
|
||
<div class="rounded-xl px-3 py-2.5"
|
||
:style="`background-color: ${activeColor}0E; border: 1px solid ${activeColor}33; box-shadow: 0 4px 20px ${activeColor}18;`">
|
||
<div class="flex items-center gap-1.5 mb-1 flex-wrap">
|
||
<span :style="`color: ${activeColor}; flex-shrink: 0;`" aria-hidden="true">
|
||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" style="width:12px;height:12px;" x-html="featureIconPath(displayMode)"></svg>
|
||
</span>
|
||
<span class="text-[11px] font-bold text-white" x-text="FEATURES[displayMode].title"></span>
|
||
<template x-if="FEATURES[displayMode].badge">
|
||
<span class="text-[8px] px-1.5 py-0.5 rounded font-mono font-bold"
|
||
:style="`background-color: ${activeColor}1A; color: ${activeColor}; border: 1px solid ${activeColor}44;`"
|
||
x-text="FEATURES[displayMode].badge"></span>
|
||
</template>
|
||
</div>
|
||
<p class="text-[10px] leading-snug" style="color:rgba(255,255,255,0.52);" x-text="FEATURES[displayMode].subtitle"></p>
|
||
</div>
|
||
</div>
|
||
|
||
{# Mobile : pills horizontales scrollables #}
|
||
<div class="lg:hidden w-full overflow-x-auto dictia-hide-scrollbar" style="scrollbar-width:none;">
|
||
<div class="flex gap-2 px-1 pb-1" style="width:max-content;">
|
||
<template x-for="i in [1,2,3,4,5,6]" :key="i">
|
||
<button type="button" @click="handleManualSelect(i)"
|
||
class="flex items-center gap-1.5 px-2.5 py-1.5 rounded-full shrink-0 transition-all focus-visible:ring-2 focus-visible:ring-brand-b1"
|
||
:style="`border: 1px solid ${selectedFeature === i ? FEATURES[i].color + '70' : 'rgba(0,0,0,0.10)'}; background-color: ${selectedFeature === i ? FEATURES[i].color + '18' : 'rgba(0,0,0,0.04)'}; outline: none;`">
|
||
<span :style="`color: ${selectedFeature === i ? FEATURES[i].color : 'rgba(0,0,0,0.40)'}; transition: color 0.2s;`">
|
||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" style="width:11px;height:11px;" aria-hidden="true" x-html="featureIconPath(i)"></svg>
|
||
</span>
|
||
<span class="text-[11px] font-medium whitespace-nowrap"
|
||
:style="`color: ${selectedFeature === i ? FEATURES[i].color : 'rgba(0,0,0,0.50)'};`"
|
||
x-text="FEATURES[i].title"></span>
|
||
</button>
|
||
</template>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
{# ─────────── ZONE RIGHT : IA Mistral premium card + grid 6 features ─────────── #}
|
||
<div class="flex flex-col gap-3 w-full lg:w-[300px] flex-shrink-0">
|
||
|
||
<div class="mb-1">
|
||
<p class="text-[9px] font-medium uppercase tracking-[0.22em] mb-1" style="color:rgba(167,139,250,0.85);">Fonctions clés</p>
|
||
<p class="font-bold text-base leading-snug text-brand-navy">Fonctionnalité</p>
|
||
</div>
|
||
|
||
{# IA Mistral 7B premium card #}
|
||
<div class="relative rounded-xl overflow-hidden"
|
||
style="border:1.5px solid rgba(167,139,250,0.28);background-color:rgba(8,12,24,0.85);box-shadow:0 0 28px rgba(167,139,250,0.12);">
|
||
{# Ambient purple glow #}
|
||
<div class="absolute inset-0 pointer-events-none ia-ambient-glow"
|
||
style="border-radius:inherit;background:radial-gradient(ellipse 120% 60% at 15% 50%, rgba(167,139,250,0.18) 0%, transparent 70%);"
|
||
aria-hidden="true"></div>
|
||
{# Header #}
|
||
<div class="relative px-3 pt-3 pb-2 flex items-start gap-2.5">
|
||
<div class="relative flex-shrink-0 mt-0.5">
|
||
<div class="absolute -inset-2 rounded-full pointer-events-none ia-brain-glow"
|
||
style="background:radial-gradient(circle, rgba(167,139,250,0.4) 0%, transparent 70%);"
|
||
aria-hidden="true"></div>
|
||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" style="width:18px;height:18px;color:#A78BFA;position:relative;z-index:1;" aria-hidden="true">
|
||
<path d="M9.5 2A2.5 2.5 0 0 1 12 4.5v15a2.5 2.5 0 0 1-4.96.44 2.5 2.5 0 0 1-2.96-3.08 3 3 0 0 1-.34-5.58 2.5 2.5 0 0 1 1.32-4.24 2.5 2.5 0 0 1 1.98-3A2.5 2.5 0 0 1 9.5 2Z"/>
|
||
<path d="M14.5 2A2.5 2.5 0 0 0 12 4.5v15a2.5 2.5 0 0 0 4.96.44 2.5 2.5 0 0 0 2.96-3.08 3 3 0 0 0 .34-5.58 2.5 2.5 0 0 0-1.32-4.24 2.5 2.5 0 0 0-1.98-3A2.5 2.5 0 0 0 14.5 2Z"/>
|
||
</svg>
|
||
</div>
|
||
<div class="flex-1 min-w-0">
|
||
<div class="flex items-center gap-1.5 flex-wrap">
|
||
<span class="font-bold text-sm text-white">IA intégrée</span>
|
||
<span class="text-[8px] px-1.5 py-0.5 rounded-md font-mono font-bold"
|
||
style="background-color:rgba(167,139,250,0.20);color:#C4B5FD;border:1px solid rgba(167,139,250,0.42);letter-spacing:0.06em;">Mistral 7B</span>
|
||
<span class="text-[7px] px-1.5 py-0.5 rounded font-mono font-bold ia-local-badge"
|
||
style="background-color:rgba(52,211,153,0.12);color:#34D399;border:1px solid rgba(52,211,153,0.30);letter-spacing:0.10em;">LOCAL</span>
|
||
</div>
|
||
<p class="text-[10px] mt-0.5" style="color:rgba(255,255,255,0.55);">Résumé · Points d'action · Q&R</p>
|
||
</div>
|
||
</div>
|
||
{# Divider #}
|
||
<div style="height:1px;background:linear-gradient(90deg, transparent, rgba(167,139,250,0.22), transparent);" aria-hidden="true"></div>
|
||
{# Sovereignty bullets #}
|
||
<div class="relative px-3 py-2.5 flex flex-col gap-2">
|
||
<div class="flex items-start gap-2">
|
||
<span style="color:rgba(167,139,250,0.65);flex-shrink:0;margin-top:1px;" aria-hidden="true">
|
||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" style="width:10px;height:10px;">
|
||
<rect x="2" y="2" width="20" height="8" rx="2"/><rect x="2" y="14" width="20" height="8" rx="2"/>
|
||
<line x1="6" y1="6" x2="6.01" y2="6"/><line x1="6" y1="18" x2="6.01" y2="18"/>
|
||
</svg>
|
||
</span>
|
||
<span class="text-[10px] leading-snug" style="color:rgba(255,255,255,0.85);"><strong>Données hébergées sur VOS serveurs</strong> · jamais partagées</span>
|
||
</div>
|
||
<div class="flex items-start gap-2">
|
||
<span style="color:rgba(167,139,250,0.65);flex-shrink:0;margin-top:1px;" aria-hidden="true">
|
||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" style="width:10px;height:10px;">
|
||
<path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"/><path d="M9 12l2 2 4-4"/>
|
||
</svg>
|
||
</span>
|
||
<span class="text-[10px] leading-snug" style="color:rgba(255,255,255,0.65);">Zéro connexion OpenAI · Google · Microsoft</span>
|
||
</div>
|
||
<div class="flex items-start gap-2">
|
||
<span style="color:rgba(167,139,250,0.65);flex-shrink:0;margin-top:1px;" aria-hidden="true">
|
||
<svg viewBox="0 0 24 24" fill="currentColor" stroke="none" style="width:10px;height:10px;"><polygon points="13 2 3 14 12 14 11 22 21 10 12 10 13 2"/></svg>
|
||
</span>
|
||
<span class="text-[10px] leading-snug" style="color:rgba(255,255,255,0.65);">Inférence hors-ligne · résultats en secondes</span>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
{# Feature grid 3 cols × 6 buttons (cliquables, état actif = featureColor border + glow + scale 1.25) #}
|
||
<div class="grid grid-cols-3 gap-1.5">
|
||
<template x-for="i in [1,2,3,4,5,6]" :key="i">
|
||
<button type="button" @click="handleManualSelect(i)"
|
||
class="flex flex-col items-center gap-1 rounded-xl py-2.5 px-1 outline-none transition-all focus-visible:ring-2 focus-visible:ring-white/40"
|
||
:style="`border: 1px solid ${selectedFeature === i ? FEATURES[i].color + '55' : 'rgba(255,255,255,0.07)'}; background-color: ${selectedFeature === i ? FEATURES[i].color + '12' : 'rgba(8,12,24,0.85)'}; box-shadow: ${selectedFeature === i ? '0 0 12px ' + FEATURES[i].color + '22' : 'none'}; cursor: pointer;`"
|
||
:aria-pressed="selectedFeature === i ? 'true' : 'false'"
|
||
:aria-label="`Sélectionner : ${FEATURES[i].title}`">
|
||
<span :style="`color: ${selectedFeature === i ? FEATURES[i].color : 'rgba(255,255,255,0.45)'}; filter: ${selectedFeature === i ? 'drop-shadow(0 0 5px ' + FEATURES[i].color + 'AA)' : 'none'}; transform: scale(${selectedFeature === i ? 1.25 : 1}) translateY(${selectedFeature === i ? -1 : 0}px); transition: all 0.2s; display:inline-block;`">
|
||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" style="width:14px;height:14px;" aria-hidden="true" x-html="featureIconPath(i)"></svg>
|
||
</span>
|
||
<span class="text-[7.5px] font-medium text-center leading-tight"
|
||
:style="`color: ${selectedFeature === i ? 'rgba(255,255,255,0.92)' : 'rgba(255,255,255,0.55)'}; transition: color 0.2s;`"
|
||
x-text="FEATURES[i].title"></span>
|
||
</button>
|
||
</template>
|
||
</div>
|
||
|
||
</div>
|
||
</div>
|
||
|
||
</div>
|
||
|
||
{# Alpine logic — dictiaDashboard + sub-data functions pour les 6 modes #}
|
||
<script>
|
||
function dictiaDashboard() {
|
||
return {
|
||
FEATURES: [
|
||
{ idx: 0, title: 'IA intégrée', subtitle: "Résumé, actions, Q&R", color: '#A78BFA', badge: 'Mistral 7B' },
|
||
{ idx: 1, title: 'Transcription', subtitle: 'Parole → texte en temps réel', color: '#22D3EE', badge: 'Whisper AI' },
|
||
{ idx: 2, title: 'Diarisation', subtitle: 'Identification des locuteurs', color: '#6B9FFF', badge: null },
|
||
{ idx: 3, title: '99+ langues', subtitle: 'Détection automatique', color: '#22D3EE', badge: null },
|
||
{ idx: 4, title: 'Exports', subtitle: 'DOCX, SRT, JSON, PDF', color: '#6B9FFF', badge: null },
|
||
{ idx: 5, title: 'Utilisateurs illimités', subtitle: 'Toute votre équipe', color: '#A78BFA', badge: 'Illimité' },
|
||
{ idx: 6, title: 'Partage & Classement', subtitle: 'Dossiers, tags, recherche', color: '#34D399', badge: null }
|
||
],
|
||
selectedFeature: 1,
|
||
isManual: false,
|
||
autoCycleTimer: null,
|
||
manualResetTimer: null,
|
||
get displayMode() { return this.selectedFeature; },
|
||
get activeColor() { return this.FEATURES[this.displayMode].color; },
|
||
init() {
|
||
if (window.matchMedia && window.matchMedia('(prefers-reduced-motion: reduce)').matches) return;
|
||
this.startAutoCycle();
|
||
},
|
||
startAutoCycle() {
|
||
if (this.autoCycleTimer) clearInterval(this.autoCycleTimer);
|
||
this.autoCycleTimer = setInterval(() => {
|
||
this.selectedFeature = this.selectedFeature < this.FEATURES.length - 1 ? this.selectedFeature + 1 : 1;
|
||
}, 900);
|
||
},
|
||
handleManualSelect(i) {
|
||
this.selectedFeature = i;
|
||
this.isManual = true;
|
||
if (this.autoCycleTimer) { clearInterval(this.autoCycleTimer); this.autoCycleTimer = null; }
|
||
if (this.manualResetTimer) clearTimeout(this.manualResetTimer);
|
||
this.manualResetTimer = setTimeout(() => {
|
||
this.isManual = false;
|
||
this.startAutoCycle();
|
||
}, 4500);
|
||
},
|
||
featureIconPath(i) {
|
||
const paths = {
|
||
0: '<path d="M9.5 2A2.5 2.5 0 0 1 12 4.5v15a2.5 2.5 0 0 1-4.96.44 2.5 2.5 0 0 1-2.96-3.08 3 3 0 0 1-.34-5.58 2.5 2.5 0 0 1 1.32-4.24 2.5 2.5 0 0 1 1.98-3A2.5 2.5 0 0 1 9.5 2Z"/><path d="M14.5 2A2.5 2.5 0 0 0 12 4.5v15a2.5 2.5 0 0 0 4.96.44 2.5 2.5 0 0 0 2.96-3.08 3 3 0 0 0 .34-5.58 2.5 2.5 0 0 0-1.32-4.24 2.5 2.5 0 0 0-1.98-3A2.5 2.5 0 0 0 14.5 2Z"/>',
|
||
1: '<rect x="9" y="2" width="6" height="12" rx="3"/><path d="M19 10v2a7 7 0 0 1-14 0v-2"/><line x1="12" y1="19" x2="12" y2="23"/><line x1="8" y1="23" x2="16" y2="23"/>',
|
||
2: '<path d="M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2"/><circle cx="9" cy="7" r="4"/><path d="M22 21v-2a4 4 0 0 0-3-3.87"/><path d="M16 3.13a4 4 0 0 1 0 7.75"/>',
|
||
3: '<circle cx="12" cy="12" r="10"/><line x1="2" y1="12" x2="22" y2="12"/><path d="M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"/>',
|
||
4: '<path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"/><polyline points="14 2 14 8 20 8"/><line x1="12" y1="18" x2="12" y2="12"/><polyline points="9 15 12 18 15 15"/>',
|
||
5: '<path d="M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2"/><circle cx="9" cy="7" r="4"/><line x1="20" y1="8" x2="20" y2="14"/><line x1="23" y1="11" x2="17" y2="11"/>',
|
||
6: '<path d="M3 7a2 2 0 0 1 2-2h4l2 2h8a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"/>'
|
||
};
|
||
return paths[i] || '';
|
||
}
|
||
};
|
||
}
|
||
|
||
/* Mode 1 — Transcription : upload bar (60ms × 20 steps) puis words (155ms each) */
|
||
function trModeData() {
|
||
return {
|
||
phase: 'upload', progress: 0, n: 0,
|
||
words: "La réunion du lundi 12 janvier débutera à 9h. Ordre du jour : budget Q4 et les objectifs du trimestre. Points d'action à définir en fin de séance.".split(' '),
|
||
_timers: [],
|
||
init() {
|
||
this._cleanup();
|
||
this.phase = 'upload'; this.progress = 0; this.n = 0;
|
||
const iv1 = setInterval(() => {
|
||
this.progress = Math.min(this.progress + 5, 100);
|
||
if (this.progress >= 100) {
|
||
clearInterval(iv1);
|
||
const t1 = setTimeout(() => {
|
||
this.phase = 'transcribing'; this.n = 0;
|
||
const iv2 = setInterval(() => {
|
||
if (this.n >= this.words.length - 1) {
|
||
clearInterval(iv2);
|
||
const t2 = setTimeout(() => this.init(), 900);
|
||
this._timers.push(t2);
|
||
} else this.n++;
|
||
}, 155);
|
||
this._timers.push(iv2);
|
||
}, 450);
|
||
this._timers.push(t1);
|
||
}
|
||
}, 60);
|
||
this._timers.push(iv1);
|
||
},
|
||
_cleanup() { this._timers.forEach(t => { clearInterval(t); clearTimeout(t); }); this._timers = []; }
|
||
};
|
||
}
|
||
|
||
/* Mode 2 — Diarisation : 6 messages staggered 1600ms */
|
||
function diaModeData() {
|
||
return {
|
||
CONVO: [
|
||
{ s: "Sophie", c: "#22D3EE", t: "La réunion commence à 9h." },
|
||
{ s: "Marc", c: "#6B9FFF", t: "J'ai les chiffres du Q4 ici." },
|
||
{ s: "Julie", c: "#F59E0B", t: "Je propose reporter la démo." },
|
||
{ s: "Sophie", c: "#22D3EE", t: "Accord — on vote là-dessus ?" },
|
||
{ s: "Marc", c: "#6B9FFF", t: "Approuvé à l'unanimité." },
|
||
{ s: "Julie", c: "#F59E0B", t: "Action : CR envoyé ce soir." }
|
||
],
|
||
shownCount: 1, cycle: 0, _iv: null,
|
||
get startIdx() { return Math.max(0, this.shownCount - 4); },
|
||
get visible() { return this.CONVO.slice(this.startIdx, this.shownCount); },
|
||
init() {
|
||
if (this._iv) clearInterval(this._iv);
|
||
this.shownCount = 1;
|
||
this._iv = setInterval(() => {
|
||
if (this.shownCount >= this.CONVO.length) {
|
||
clearInterval(this._iv);
|
||
setTimeout(() => { this.cycle++; this.init(); }, 800);
|
||
} else this.shownCount++;
|
||
}, 1600);
|
||
}
|
||
};
|
||
}
|
||
|
||
/* Mode 3 — Langues : grille 100 codes (CSS-only stagger 12ms) */
|
||
function langModeData() {
|
||
return {
|
||
LANG_COLORS: ['#22D3EE','#6B9FFF','#A78BFA','#34D399','#F59E0B','#22D3EE','#6B9FFF','#A78BFA'],
|
||
LANGS: [
|
||
'FR','EN','ES','DE','PT','IT','NL','PL','ZH','JA',
|
||
'KO','AR','RU','HI','TR','VI','TH','SV','DA','NO',
|
||
'FI','CS','RO','HU','EL','HE','UK','BG','FA','ID',
|
||
'MS','NB','BN','UR','SW','TL','SK','HR','SR','SL',
|
||
'LT','LV','ET','IS','MT','GL','CA','EU','CY','GA',
|
||
'AF','MK','BE','LB','MR','TA','TE','KN','ML','PA',
|
||
'GU','SI','MY','KM','LO','KA','AZ','KK','UZ','TK',
|
||
'MN','NE','PS','AM','SQ','HY','MG','YO','SO','ZU',
|
||
'NY','XH','IG','HA','SN','ST','CEB','HT','JW','KY',
|
||
'TG','BS','OC','BR','FO','LG','YI','TT','SD','WA'
|
||
]
|
||
};
|
||
}
|
||
|
||
/* Mode 4 — Exports : 7 file types staggered 90ms (CSS-only) */
|
||
function expModeData() {
|
||
return {
|
||
FILE_TYPES: [
|
||
{ ext: 'DOCX', bg: '#1E6FD9', fg: '#fff', sym: 'W' },
|
||
{ ext: 'PDF', bg: '#D93E1E', fg: '#fff', sym: 'PDF' },
|
||
{ ext: 'SRT', bg: '#7C3AED', fg: '#fff', sym: 'CC' },
|
||
{ ext: 'VTT', bg: '#5B21B6', fg: '#DDD6FE', sym: 'CC' },
|
||
{ ext: 'TXT', bg: '#374151', fg: '#9CA3AF', sym: '≡' },
|
||
{ ext: 'JSON', bg: '#065F46', fg: '#34D399', sym: '{}' },
|
||
{ ext: 'MD', bg: '#1C3A5E', fg: '#6B9FFF', sym: '#' }
|
||
]
|
||
};
|
||
}
|
||
|
||
/* Mode 5 — Users : multiplication 1→20 (200ms each, loop after 700ms) */
|
||
function usersModeData() {
|
||
return {
|
||
MAX: 20, count: 1, cycle: 0, _iv: null,
|
||
init() {
|
||
if (this._iv) clearInterval(this._iv);
|
||
this.count = 1;
|
||
this._iv = setInterval(() => {
|
||
if (this.count >= this.MAX) {
|
||
clearInterval(this._iv);
|
||
setTimeout(() => { this.cycle++; this.init(); }, 700);
|
||
} else this.count++;
|
||
}, 200);
|
||
}
|
||
};
|
||
}
|
||
|
||
/* Mode 0 — IA chat : Q&R typed char-by-char (28ms/char) */
|
||
function iaModeData() {
|
||
return {
|
||
msgs: [], cycle: 0, _timers: [],
|
||
CHAT: [
|
||
{ role: 'user', text: "Quels sont les points d'action ?" },
|
||
{ role: 'bot', text: "→ Envoyer CR avant 17h\n→ Contacter client vendredi\n→ Réviser budget avec Luc" },
|
||
{ role: 'user', text: "Qui a ouvert la réunion ?" },
|
||
{ role: 'bot', text: "Sophie a ouvert la séance à 9h00." }
|
||
],
|
||
init() {
|
||
this._cleanup();
|
||
this.msgs = [];
|
||
const t0 = setTimeout(() => { this.msgs = [{ role: 'user', text: this.CHAT[0].text }]; }, 300);
|
||
this._timers.push(t0);
|
||
const t1 = setTimeout(() => {
|
||
const bot1 = this.CHAT[1].text; let i = 0;
|
||
const iv = setInterval(() => {
|
||
i++;
|
||
this.msgs = [
|
||
{ role: 'user', text: this.CHAT[0].text },
|
||
{ role: 'bot', text: bot1.slice(0, i) }
|
||
];
|
||
if (i >= bot1.length) {
|
||
clearInterval(iv);
|
||
const t2 = setTimeout(() => {
|
||
this.msgs = [
|
||
{ role: 'user', text: this.CHAT[0].text },
|
||
{ role: 'bot', text: this.CHAT[1].text },
|
||
{ role: 'user', text: this.CHAT[2].text }
|
||
];
|
||
const t3 = setTimeout(() => {
|
||
const bot2 = this.CHAT[3].text; let j = 0;
|
||
const iv2 = setInterval(() => {
|
||
j++;
|
||
this.msgs = [
|
||
{ role: 'user', text: this.CHAT[0].text },
|
||
{ role: 'bot', text: this.CHAT[1].text },
|
||
{ role: 'user', text: this.CHAT[2].text },
|
||
{ role: 'bot', text: bot2.slice(0, j) }
|
||
];
|
||
if (j >= bot2.length) {
|
||
clearInterval(iv2);
|
||
const t4 = setTimeout(() => { this.cycle++; this.init(); }, 1200);
|
||
this._timers.push(t4);
|
||
}
|
||
}, 40);
|
||
this._timers.push(iv2);
|
||
}, 500);
|
||
this._timers.push(t3);
|
||
}, 700);
|
||
this._timers.push(t2);
|
||
}
|
||
}, 28);
|
||
this._timers.push(iv);
|
||
}, 900);
|
||
this._timers.push(t1);
|
||
},
|
||
_cleanup() { this._timers.forEach(t => { clearInterval(t); clearTimeout(t); }); this._timers = []; }
|
||
};
|
||
}
|
||
</script>
|
||
</section>
|
||
|
||
{# ===== INTÉGRATIONS ===== #}
|
||
<section id="integrations" class="bg-brand-bg py-20 scroll-mt-32" aria-labelledby="integrations-title">
|
||
<div class="max-w-[1200px] mx-auto px-6">
|
||
<div class="text-center max-w-3xl mx-auto mb-14">
|
||
<p class="eyebrow grad-text mb-4">INTÉGRATIONS</p>
|
||
<h2 id="integrations-title" class="text-[clamp(2rem,3vw,2.75rem)] font-black text-brand-navy">
|
||
<span class="ani-underline" data-ani-underline>Branchez DictIA à votre stack existant.</span>
|
||
</h2>
|
||
<p class="text-lg text-brand-navy/70 mt-6">
|
||
Webhooks REST, plugin Word natif et connecteurs Zapier / Make / n8n auto-hébergés. API documentée — vous gardez le contrôle des flux.
|
||
</p>
|
||
</div>
|
||
|
||
{%- set icon_chat_box = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" class="w-4 h-4" aria-hidden="true"><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"/></svg>' -%}
|
||
{%- set icon_book = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" class="w-4 h-4" aria-hidden="true"><path d="M4 19.5A2.5 2.5 0 0 1 6.5 17H20V3H6.5A2.5 2.5 0 0 0 4 5.5z"/><path d="M4 19.5V21h16v-4"/></svg>' -%}
|
||
{%- set icon_gear = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" class="w-4 h-4" aria-hidden="true"><circle cx="12" cy="12" r="3"/><path d="M19.4 15a1.7 1.7 0 0 0 .3 1.9l.1.1a2 2 0 1 1-2.8 2.8l-.1-.1a1.7 1.7 0 0 0-1.9-.3 1.7 1.7 0 0 0-1 1.5V21a2 2 0 1 1-4 0v-.1a1.7 1.7 0 0 0-1-1.5 1.7 1.7 0 0 0-1.9.3l-.1.1a2 2 0 1 1-2.8-2.8l.1-.1a1.7 1.7 0 0 0 .3-1.9 1.7 1.7 0 0 0-1.5-1H3a2 2 0 1 1 0-4h.1a1.7 1.7 0 0 0 1.5-1 1.7 1.7 0 0 0-.3-1.9l-.1-.1a2 2 0 1 1 2.8-2.8l.1.1a1.7 1.7 0 0 0 1.9.3h.1a1.7 1.7 0 0 0 1-1.5V3a2 2 0 1 1 4 0v.1a1.7 1.7 0 0 0 1 1.5 1.7 1.7 0 0 0 1.9-.3l.1-.1a2 2 0 1 1 2.8 2.8l-.1.1a1.7 1.7 0 0 0-.3 1.9v.1a1.7 1.7 0 0 0 1.5 1H21a2 2 0 1 1 0 4h-.1a1.7 1.7 0 0 0-1.5 1z"/></svg>' -%}
|
||
|
||
{%- set integ_groups = [
|
||
{
|
||
'title': 'Communication',
|
||
'desc': 'Importez vos enregistrements depuis vos outils de réunion et de pratique.',
|
||
'icon': icon_chat_box,
|
||
'tools': [
|
||
{'name': 'Microsoft Teams', 'detail': 'Export depuis enregistrements'},
|
||
{'name': 'Microsoft Outlook','detail': 'Pièces jointes audio'},
|
||
{'name': 'Clio Manage', 'detail': 'Pour avocats'},
|
||
{'name': 'PCLaw', 'detail': 'Pour avocats'}
|
||
]
|
||
},
|
||
{
|
||
'title': 'Knowledge / notes',
|
||
'desc': 'Synchronisez transcriptions et résumés vers vos bases de connaissances.',
|
||
'icon': icon_book,
|
||
'tools': [
|
||
{'name': 'Obsidian', 'detail': 'via Markdown'},
|
||
{'name': 'Notion', 'detail': 'via Markdown'},
|
||
{'name': 'Logseq', 'detail': 'via Markdown'},
|
||
{'name': 'Word', 'detail': 'via DOCX'}
|
||
]
|
||
},
|
||
{
|
||
'title': 'Automatisation',
|
||
'desc': 'Déclenchez vos workflows à chaque transcription terminée.',
|
||
'icon': icon_gear,
|
||
'tools': [
|
||
{'name': 'Zapier', 'detail': 'No-code'},
|
||
{'name': 'Make (Integromat)','detail': 'Scénarios visuels'},
|
||
{'name': 'n8n', 'detail': 'Open source self-host'}
|
||
]
|
||
}
|
||
] -%}
|
||
|
||
<div class="grid md:grid-cols-3 gap-6">
|
||
{% for group in integ_groups %}
|
||
<div class="ani-fade bg-white p-6 rounded border border-brand-border" style="--delay: {{ loop.index0 * 80 }}ms;" data-ani-fade>
|
||
<div class="flex items-center gap-2 mb-2 text-brand-b1" aria-hidden="true">
|
||
{{ group.icon | safe }}
|
||
<span class="text-xs uppercase tracking-wider font-bold text-brand-navy">{{ group.title }}</span>
|
||
</div>
|
||
<p class="text-sm text-brand-navy/70 mb-5">{{ group.desc }}</p>
|
||
<ul class="grid grid-cols-2 gap-2" role="list">
|
||
{% for t in group.tools %}
|
||
<li class="ani-lift bg-brand-bg border border-brand-border p-3 rounded">
|
||
<p class="text-sm font-semibold text-brand-navy font-mono leading-tight">{{ t.name }}</p>
|
||
<p class="text-[11px] text-brand-navy/60 mt-0.5">{{ t.detail }}</p>
|
||
</li>
|
||
{% endfor %}
|
||
</ul>
|
||
</div>
|
||
{% endfor %}
|
||
</div>
|
||
|
||
<p class="text-xs text-brand-navy/70 text-center mt-8 max-w-2xl mx-auto">
|
||
Microsoft, Notion, Obsidian, Logseq, Clio, PCLaw, Zapier, Make et n8n sont des marques de leurs propriétaires respectifs. DictIA n'est pas affilié à ces produits.
|
||
</p>
|
||
</div>
|
||
</section>
|
||
|
||
{# ===== ARCHITECTURE & INFRASTRUCTURE ===== #}
|
||
<section id="architecture" class="relative bg-brand-navy text-white py-20 scroll-mt-32 overflow-hidden" aria-labelledby="architecture-title">
|
||
<div class="absolute top-1/2 right-1/4 w-[500px] h-[500px] rounded-full pointer-events-none" aria-hidden="true"
|
||
style="background: radial-gradient(circle, rgba(6,182,212,0.08) 0%, transparent 60%); filter: blur(60px);"></div>
|
||
|
||
<div class="relative max-w-[1200px] mx-auto px-6">
|
||
<div class="text-center max-w-3xl mx-auto mb-14">
|
||
<p class="eyebrow grad-text mb-4">ARCHITECTURE & INFRASTRUCTURE</p>
|
||
<h2 id="architecture-title" class="text-[clamp(2rem,3vw,2.75rem)] font-black">
|
||
<span class="ani-underline" data-ani-underline>Quatre formules selon votre organisation.</span>
|
||
</h2>
|
||
<p class="text-lg text-white/70 mt-6">
|
||
Cloud BASIC, ESSENTIEL et PRO tournent sur GPU NVIDIA L4 à OVH Beauharnois (Québec). DictIA LOCAL fonctionne 100 % hors-ligne chez vous. Toutes les formules incluent aucune limite utilisateurs.
|
||
</p>
|
||
</div>
|
||
|
||
{%- set tiers = [
|
||
{
|
||
'name': 'Cloud BASIC',
|
||
'tagline': 'Solopreneur · petite équipe',
|
||
'gpu': 'NVIDIA L4 partagé',
|
||
'users': 'Aucune limite',
|
||
'setup': '—',
|
||
'monthly': '189 $',
|
||
'host': 'OVH Beauharnois (QC)',
|
||
'llm': 'Mistral Nemo 12B',
|
||
'recommended': False,
|
||
'features': ['Transcription WhisperX Large-v3', 'Diarisation pyannote', '~165 h audio/mois · 100 Go', 'Exports DOCX, PDF, SRT, VTT, TXT, JSON, MD', 'Self-service · 0 $ d’installation']
|
||
},
|
||
{
|
||
'name': 'Cloud ESSENTIEL',
|
||
'tagline': 'Cabinet en croissance',
|
||
'gpu': 'L4 partagé étendu',
|
||
'users': 'Aucune limite',
|
||
'setup': '—',
|
||
'monthly': '349 $',
|
||
'host': 'OVH Beauharnois (QC)',
|
||
'llm': 'Mistral Nemo 12B',
|
||
'recommended': False,
|
||
'features': ['Tout Cloud BASIC', '~330 h audio/mois · 200 Go', 'Onboarding assisté', 'Templates métier (avocat · notaire · CPA · médecin)']
|
||
},
|
||
{
|
||
'name': 'Cloud PRO',
|
||
'tagline': 'Usage intensif multi-postes',
|
||
'gpu': 'NVIDIA L4 dédié priorité',
|
||
'users': 'Aucune limite',
|
||
'setup': '485 $',
|
||
'monthly': '549 $',
|
||
'host': 'OVH Beauharnois (QC)',
|
||
'llm': 'Mistral Nemo 12B',
|
||
'recommended': True,
|
||
'features': ['Tout Cloud ESSENTIEL', '~660 h audio/mois · 500 Go', 'GPU dédié priorité (latence garantie)', 'Onboarding assisté inclus (485 $ unique)', 'Multi-sites et télétravail']
|
||
},
|
||
{
|
||
'name': 'DictIA LOCAL',
|
||
'tagline': '100 % hors-ligne · chez vous',
|
||
'gpu': 'RTX 5070 Ti 16 Go',
|
||
'users': 'Aucune limite',
|
||
'setup': '5 998 $',
|
||
'monthly': '500 $/an dès An 2',
|
||
'host': 'Chez le client',
|
||
'llm': 'Mistral 7B local',
|
||
'recommended': False,
|
||
'features': ['Tout Cloud PRO en mode local', '~1 100 h audio/mois · 2 To SSD', 'GPU local dédié', 'Données jamais sortantes', 'Admissible achat direct gouv. (≤ 34 700 $)']
|
||
}
|
||
] -%}
|
||
|
||
<div class="grid md:grid-cols-2 lg:grid-cols-4 gap-6 items-stretch">
|
||
{% for tier in tiers %}
|
||
<article class="ani-fade {% if tier.recommended %}card-pulse-glow grad-bg p-[1.5px] rounded{% endif %} relative h-full"
|
||
style="--delay: {{ loop.index0 * 100 }}ms;"
|
||
data-ani-fade>
|
||
{% if tier.recommended %}
|
||
<span class="absolute -top-3 left-1/2 -translate-x-1/2 grad-bg text-white text-xs font-bold px-3 py-1 rounded-full inline-flex items-center gap-1.5 z-10">
|
||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="w-3 h-3" aria-hidden="true"><path d="M12 2l2.9 6.9L22 10l-5.5 4.8L18 22l-6-3.6L6 22l1.5-7.2L2 10l7.1-1.1z"/></svg>
|
||
RECOMMANDÉ
|
||
</span>
|
||
{% endif %}
|
||
<div class="bg-brand-navy2 p-6 rounded border border-white/[0.08] h-full flex flex-col">
|
||
<header class="mb-4 pb-4 border-b border-white/[0.08]">
|
||
<h3 class="text-xl font-black mb-1 text-white">{{ tier.name | safe }}</h3>
|
||
<p class="text-xs uppercase tracking-wider text-white/60">{{ tier.tagline | safe }}</p>
|
||
</header>
|
||
<dl class="grid grid-cols-2 gap-x-4 gap-y-2 mb-5 text-xs">
|
||
<dt class="text-white/60">GPU</dt><dd class="font-mono text-white">{{ tier.gpu | safe }}</dd>
|
||
<dt class="text-white/60">Utilisateurs</dt><dd class="text-white">{{ tier.users | safe }}</dd>
|
||
<dt class="text-white/60">Hébergement</dt><dd class="text-white">{{ tier.host | safe }}</dd>
|
||
<dt class="text-white/60">LLM résumés</dt><dd class="text-white">{{ tier.llm | safe }}</dd>
|
||
</dl>
|
||
<div class="mb-5 pb-5 border-b border-white/[0.08]">
|
||
{% if tier.setup != '—' %}
|
||
<div class="text-3xl font-black grad-text leading-none">{{ tier.setup | safe }}</div>
|
||
<div class="text-xs text-white/60 mt-1">{% if tier.name == 'DictIA LOCAL' %}An 1 · puis {{ tier.monthly | safe }}{% else %}setup unique + {{ tier.monthly | safe }} / mois{% endif %}</div>
|
||
{% else %}
|
||
<div class="text-3xl font-black grad-text leading-none">{{ tier.monthly | safe }}</div>
|
||
<div class="text-xs text-white/60 mt-1">par mois · sans frais d’installation</div>
|
||
{% endif %}
|
||
</div>
|
||
<ul class="space-y-2 mb-6 flex-grow text-sm" role="list">
|
||
{% for feat in tier.features %}
|
||
<li class="flex items-start gap-2 text-white/80">
|
||
{{ icon_check | safe }}
|
||
<span>{{ feat | safe }}</span>
|
||
</li>
|
||
{% endfor %}
|
||
</ul>
|
||
{% from 'macros/button.html' import button %}
|
||
{{ button('Voir le détail tarifs', href='/tarifs', variant='primary' if tier.recommended else 'ghost', size='md') }}
|
||
</div>
|
||
</article>
|
||
{% endfor %}
|
||
</div>
|
||
|
||
{# Bloc inclus dans le forfait DictIA LOCAL #}
|
||
<div class="mt-12 max-w-4xl mx-auto bg-white/[0.05] backdrop-blur-sm p-6 rounded border border-white/[0.08]">
|
||
<p class="eyebrow grad-text mb-3">INCLUS DANS LE FORFAIT DICTIA LOCAL (5 998 $ AN 1)</p>
|
||
<ul class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-5 gap-3 text-sm" role="list">
|
||
{% for inc in [
|
||
'PC + GPU RTX 5070 Ti + 2 To SSD',
|
||
'Configuration complète',
|
||
'Installation sur site',
|
||
'Formation équipe (2–3 h)',
|
||
'1<sup>re</sup> année logiciel + support'
|
||
] %}
|
||
<li class="flex items-start gap-2 text-white/80">
|
||
<span class="text-brand-b3 mt-0.5" aria-hidden="true">{{ icon_check | safe }}</span>
|
||
<span>{{ inc | safe }}</span>
|
||
</li>
|
||
{% endfor %}
|
||
</ul>
|
||
</div>
|
||
|
||
<p class="text-xs text-white/60 text-center mt-6 max-w-2xl mx-auto">
|
||
DictIA LOCAL est admissible à l'achat direct gouvernemental sans appel d'offres (seuil 34 700 $ — Règlement sur les contrats d'approvisionnement, art. 15). Pour > 660 h audio/mois ou SLA 99,9 %, demandez une <a href="/contact?pro-plus=1" class="grad-text underline">soumission Pro+</a>.
|
||
</p>
|
||
</div>
|
||
</section>
|
||
|
||
{# ===== EXPORT FORMATS DEEP-DIVE (test compat) ===== #}
|
||
<section class="bg-white py-16" aria-labelledby="exports-title">
|
||
<div class="max-w-[1200px] mx-auto px-6">
|
||
<div class="text-center max-w-2xl mx-auto mb-10">
|
||
<p class="eyebrow grad-text mb-3">FORMATS D'EXPORT</p>
|
||
<h2 id="exports-title" class="text-[clamp(1.75rem,2.5vw,2.25rem)] font-black text-brand-navy">
|
||
7 formats, prêts pour vos workflows.
|
||
</h2>
|
||
</div>
|
||
<div class="grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-7 gap-3">
|
||
{% for fmt in [
|
||
{'ext': 'DOCX', 'use': 'Word avec timestamps cliquables'},
|
||
{'ext': 'PDF', 'use': 'Procès-verbaux signés'},
|
||
{'ext': 'SRT', 'use': 'Sous-titres vidéo'},
|
||
{'ext': 'VTT', 'use': 'Web/streaming standard'},
|
||
{'ext': 'TXT', 'use': 'Texte brut universel'},
|
||
{'ext': 'JSON', 'use': 'Pipeline développeur'},
|
||
{'ext': 'MD', 'use': 'Notion, Obsidian, GitHub'}
|
||
] %}
|
||
<div class="ani-lift bg-brand-bg p-4 rounded border border-brand-border text-center">
|
||
<p class="text-base font-black font-mono text-brand-navy">{{ fmt.ext }}</p>
|
||
<p class="text-xs text-brand-navy/70 mt-1">{{ fmt.use | safe }}</p>
|
||
</div>
|
||
{% endfor %}
|
||
</div>
|
||
</div>
|
||
</section>
|
||
|
||
{# ===== TECH SPECS (préservé pour rétro-compat tests) ===== #}
|
||
<section class="bg-brand-bg py-16" aria-labelledby="specs-title">
|
||
<div class="max-w-[1060px] mx-auto px-6">
|
||
<div class="text-center max-w-2xl mx-auto mb-10">
|
||
<p class="eyebrow grad-text mb-3">SOUS LE CAPOT</p>
|
||
<h2 id="specs-title" class="text-[clamp(1.75rem,2.5vw,2.25rem)] font-black text-brand-navy">
|
||
Spécifications techniques détaillées.
|
||
</h2>
|
||
</div>
|
||
<div class="grid md:grid-cols-2 gap-4">
|
||
{% for spec in [
|
||
{'title': 'Modèle ASR', 'desc': 'WhisperX Large-v3 (1,55 G paramètres) fine-tuné sur audio professionnel québécois. Format ONNX optimisé GPU.'},
|
||
{'title': 'Diarisation', 'desc': 'pyannote 3.x — clustering hiérarchique sur embeddings ECAPA-TDNN. 1 à 8 locuteurs détectés automatiquement.'},
|
||
{'title': 'LLM (résumés / Q&R)', 'desc': 'Mistral 7B Instruct quantifié 4-bit. Inférence locale sur le même GPU. Aucune sortie réseau.'},
|
||
{'title': 'Stack web', 'desc': 'Flask 2.3 (backend) + Vue 3 / Alpine.js (front). Chiffrement AES-256 au repos. AGPL v3.'},
|
||
{'title': 'Audio supportés (WAV, MP3, M4A, FLAC, OGG, WebM)', 'desc': 'Jusqu\'à 8 h par fichier. Conversion ffmpeg automatique. Compatible enregistrements Zoom et Teams.'},
|
||
{'title': 'Langues', 'desc': 'Optimisé français québécois. Aussi : français de France, anglais (canadien et US), espagnol, allemand, mandarin, russe.'}
|
||
] %}
|
||
<article class="ani-fade ani-lift bg-white p-5 rounded border border-brand-border" style="--delay: {{ loop.index0 * 50 }}ms;" data-ani-fade>
|
||
<h3 class="text-base font-bold mb-2 text-brand-navy">{{ spec.title | safe }}</h3>
|
||
<p class="text-sm text-brand-navy/70 leading-relaxed">{{ spec.desc | safe }}</p>
|
||
</article>
|
||
{% endfor %}
|
||
</div>
|
||
</div>
|
||
</section>
|
||
|
||
{# ===== CONFORMITÉ — RÉSUMÉ ===== #}
|
||
<section id="conformite-resume" class="bg-white py-20 scroll-mt-32" aria-labelledby="conformite-resume-title">
|
||
<div class="max-w-[1060px] mx-auto px-6">
|
||
<div class="text-center max-w-3xl mx-auto mb-10">
|
||
<p class="eyebrow grad-text mb-4">CONFORMITÉ</p>
|
||
<h2 id="conformite-resume-title" class="text-[clamp(2rem,3vw,2.75rem)] font-black text-brand-navy">
|
||
<span class="ani-underline" data-ani-underline>Conforme par construction.</span>
|
||
</h2>
|
||
<p class="text-lg text-brand-navy/70 mt-6">
|
||
Architecture pensée d'abord pour la Loi 25 et les ordres professionnels québécois — pas une certification ajoutée après coup.
|
||
</p>
|
||
</div>
|
||
|
||
<ul class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-4 mb-10" role="list">
|
||
{% for chip in [
|
||
{'title': 'Loi 25', 'desc': 'La voix est biométrique — le traitement local élimine le risque.'},
|
||
{'title': 'Loi 96', 'desc': 'Interface, documentation et support 100 % français.'},
|
||
{'title': '9 ordres pros', 'desc': 'Mappé Barreau, CNQ, CPA, ChAD, OACIQ, CMQ, OIIQ, OPQ, OEQ.'},
|
||
{'title': '0 Cloud Act US', 'desc': 'Aucun fournisseur soumis à la juridiction américaine.'}
|
||
] %}
|
||
<li class="ani-fade ani-lift bg-brand-bg p-5 rounded border border-brand-border" style="--delay: {{ loop.index0 * 60 }}ms;" data-ani-fade>
|
||
<span class="inline-flex items-center gap-1.5 bg-brand-navy text-white text-xs font-black uppercase tracking-wider px-2.5 py-1 rounded-full mb-3">
|
||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" class="w-3 h-3" aria-hidden="true"><path d="M5 13l4 4L19 7"/></svg>
|
||
{{ chip.title | safe }}
|
||
</span>
|
||
<p class="text-sm text-brand-navy/80 leading-relaxed">{{ chip.desc | safe }}</p>
|
||
</li>
|
||
{% endfor %}
|
||
</ul>
|
||
|
||
<div class="text-center">
|
||
<a href="/conformite" class="inline-flex items-center gap-2 text-base font-semibold grad-text hover:underline focus-visible:outline-2 focus-visible:outline-brand-b1 focus-visible:outline-offset-2">
|
||
Voir le détail conformité
|
||
{{ icon_link | safe }}
|
||
</a>
|
||
</div>
|
||
</div>
|
||
</section>
|
||
|
||
{# ===== INTEGRATIONS GRID (compat tests + plugin partner list) ===== #}
|
||
<section class="bg-brand-bg py-12" aria-labelledby="integrations-grid-title">
|
||
<div class="max-w-[1200px] mx-auto px-6">
|
||
<h2 id="integrations-grid-title" class="sr-only">Liste détaillée des intégrations partenaires</h2>
|
||
<div class="grid grid-cols-2 md:grid-cols-4 gap-3" role="list">
|
||
{% for integ in [
|
||
{'name': 'Microsoft Word', 'desc': 'Plugin natif (.docx)'},
|
||
{'name': 'Microsoft Outlook','desc': 'Pièces jointes audio'},
|
||
{'name': 'Microsoft Teams', 'desc': 'Enregistrements de réunions'},
|
||
{'name': 'Notion', 'desc': 'Pages markdown auto'},
|
||
{'name': 'Obsidian', 'desc': 'Notes timestamped'},
|
||
{'name': 'Zapier', 'desc': 'Workflows no-code'},
|
||
{'name': 'Make (Integromat)','desc': 'Scénarios visuels'},
|
||
{'name': 'n8n', 'desc': 'Open source self-host'}
|
||
] %}
|
||
<div class="bg-white p-4 rounded border border-brand-border text-center" role="listitem">
|
||
<p class="text-sm font-bold text-brand-navy font-mono">{{ integ.name | safe }}</p>
|
||
<p class="text-xs text-brand-navy/70 mt-1">{{ integ.desc | safe }}</p>
|
||
</div>
|
||
{% endfor %}
|
||
</div>
|
||
</div>
|
||
</section>
|
||
|
||
{# ===== CTA FINAL ===== #}
|
||
<section class="bg-white py-20 border-t border-brand-border" aria-labelledby="features-cta-title">
|
||
<div class="max-w-[820px] mx-auto px-6 text-center">
|
||
<p class="eyebrow grad-text mb-4">PRÊT À TRANSCRIRE EN LOCAL</p>
|
||
<h2 id="features-cta-title" class="text-[clamp(2rem,3vw,2.75rem)] font-black mb-5 text-brand-navy">
|
||
Prêt à transcrire <span class="grad-text">en local</span> ?
|
||
</h2>
|
||
<p class="text-lg text-brand-navy/70 mb-10">
|
||
Lancement printemps 2026 — pré-inscription ouverte. Conçu avec 9 ordres professionnels québécois.
|
||
</p>
|
||
<div class="flex flex-col sm:flex-row gap-3 justify-center">
|
||
{% from 'macros/button.html' import button %}
|
||
{{ button('Voir les tarifs', href='/tarifs', variant='primary', size='lg', icon='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="w-4 h-4" aria-hidden="true"><path d="M14 5l7 7m0 0l-7 7m7-7H3"/></svg>') }}
|
||
{{ button('Demander une démo', href='/contact', variant='secondary', size='lg') }}
|
||
</div>
|
||
</div>
|
||
</section>
|
||
|
||
{# ===== JS — IntersectionObserver pour ani-fade + ani-underline ===== #}
|
||
<script>
|
||
(function () {
|
||
if (typeof window === 'undefined' || typeof IntersectionObserver === 'undefined') return;
|
||
var reduced = window.matchMedia('(prefers-reduced-motion: reduce)').matches;
|
||
var fadeEls = document.querySelectorAll('[data-ani-fade]');
|
||
var underlineEls = document.querySelectorAll('[data-ani-underline]');
|
||
if (reduced) {
|
||
fadeEls.forEach(function (el) { el.classList.add('is-visible'); });
|
||
underlineEls.forEach(function (el) { el.classList.add('is-visible'); });
|
||
return;
|
||
}
|
||
var io = new IntersectionObserver(function (entries) {
|
||
entries.forEach(function (e) {
|
||
if (!e.isIntersecting) return;
|
||
e.target.classList.add('is-visible');
|
||
io.unobserve(e.target);
|
||
});
|
||
}, { threshold: 0.15, rootMargin: '0px 0px -80px 0px' });
|
||
fadeEls.forEach(function (el) { io.observe(el); });
|
||
underlineEls.forEach(function (el) { io.observe(el); });
|
||
})();
|
||
</script>
|
||
|
||
{% endblock %}
|