diff --git a/.gitignore b/.gitignore index e7ad981..0192aed 100644 --- a/.gitignore +++ b/.gitignore @@ -34,3 +34,5 @@ WhatsApp Video*.mp4 # Bêta testeurs : base locale, captures, codes émis (jamais dans git) beta/data/ beta/pdf/*.ttf +__pycache__/ +*.pyc diff --git a/beta/db.py b/beta/db.py index 8026520..172a7d7 100644 --- a/beta/db.py +++ b/beta/db.py @@ -14,9 +14,40 @@ import time from pathlib import Path ICI = Path(__file__).resolve().parent -DATA = Path(os.environ.get("BETA_DATA", ICI / "data")) ALPHABET = "ABCDEFGHJKMNPQRSTUVWXYZ23456789" # sans I, L, O, 0, 1 + +def dossier_data(): + return Path(os.environ.get("BETA_DATA", ICI / "data")) + + +def dossier_prive(): + """Dossier de données en 0700 (sous Windows, chmod est sans effet : voir README).""" + d = dossier_data() + d.mkdir(mode=0o700, parents=True, exist_ok=True) + try: + os.chmod(d, 0o700) + except OSError: + pass + return d + + +class _DataProxy: + def __truediv__(self, other): + return dossier_data() / other + + def __getattr__(self, name): + return getattr(dossier_data(), name) + + def __fspath__(self): + return str(dossier_data()) + + def __str__(self): + return str(dossier_data()) + + +DATA = _DataProxy() + SCHEMA = """ CREATE TABLE IF NOT EXISTS codes( id INTEGER PRIMARY KEY, label TEXT NOT NULL, code_hash TEXT NOT NULL, @@ -52,15 +83,6 @@ CREATE TABLE IF NOT EXISTS demo_activity( """ -def dossier_prive(): - """Dossier de données en 0700 (sous Windows, chmod est sans effet : voir README).""" - DATA.mkdir(mode=0o700, parents=True, exist_ok=True) - try: - os.chmod(DATA, 0o700) - except OSError: - pass - - def connect(path=None, check_same_thread=True): dossier_prive() ancien = os.umask(0o077) # base, -wal et -shm créés en 0600 @@ -72,7 +94,7 @@ def connect(path=None, check_same_thread=True): def _ouvrir(path, check_same_thread): - c = sqlite3.connect(str(path or DATA / "beta.sqlite"), timeout=10, check_same_thread=check_same_thread) + c = sqlite3.connect(str(path or dossier_prive() / "beta.sqlite"), timeout=10, check_same_thread=check_same_thread) c.row_factory = sqlite3.Row c.execute("PRAGMA journal_mode=WAL") c.executescript(SCHEMA) @@ -81,8 +103,7 @@ def _ouvrir(path, check_same_thread): def sel(): """Sel local (créé au premier usage, hors git, jamais affiché).""" - f = DATA / "sel.bin" - dossier_prive() + f = dossier_prive() / "sel.bin" try: fd = os.open(f, os.O_WRONLY | os.O_CREAT | os.O_EXCL, 0o600) with os.fdopen(fd, "wb") as fh: diff --git a/beta/deploiement/dns-jobrunner-beta.py b/beta/deploiement/dns-jobrunner-beta.py new file mode 100644 index 0000000..4a9a413 --- /dev/null +++ b/beta/deploiement/dns-jobrunner-beta.py @@ -0,0 +1,81 @@ +#!/usr/bin/env python3 +"""Ajoute l'enregistrement A beta.jobrunner.fr via l'API Infomaniak (à lancer sur cornafsuisse). + +Le jeton est lu dans ~/.config/infomaniak/api_token, jamais affiché ni écrit ailleurs. +Mode par défaut : lecture seule + sauvegarde de la zone. --ajouter pour créer la ligne. +""" +import json +import os +import sys +import time +import urllib.error +import urllib.request + +DOMAINE = "jobrunner.fr" +SOURCE = "beta" +CIBLE = "179.237.102.233" +TTL = 300 +BASE = "https://api.infomaniak.com/2" + + +def appel(methode, chemin, jeton, corps=None): + donnees = json.dumps(corps).encode() if corps is not None else None + req = urllib.request.Request(BASE + chemin, data=donnees, method=methode) + req.add_header("Authorization", "Bearer " + jeton) + req.add_header("Accept", "application/json") + if donnees is not None: + req.add_header("Content-Type", "application/json") + try: + with urllib.request.urlopen(req, timeout=20) as r: + return json.loads(r.read().decode()) + except urllib.error.HTTPError as e: + try: + return json.loads(e.read().decode()) + except Exception: + return {"result": "error", "error": {"code": "http_%d" % e.code}} + + +def main(): + ajouter = "--ajouter" in sys.argv + chemin_jeton = os.path.expanduser("~/.config/infomaniak/api_token") + with open(chemin_jeton, encoding="utf-8") as f: + jeton = f.read().strip() + + zone = appel("GET", "/zones/%s/records" % DOMAINE, jeton) + if zone.get("result") != "success": + print("Erreur API (lecture) :", (zone.get("error") or {}).get("description") or (zone.get("error") or {}).get("code")) + return 1 + + dossier = os.path.expanduser("~/sauvegardes/dns") + os.makedirs(dossier, exist_ok=True) + nom = os.path.join(dossier, "zone-avant-jobrunner-beta-%s.json" % time.strftime("%Y%m%d-%H%M%S")) + with open(nom, "w", encoding="utf-8") as f: + json.dump(zone, f, ensure_ascii=False, indent=1) + os.chmod(nom, 0o600) + print("Sauvegarde de la zone :", nom, "(%d enregistrements)" % len(zone["data"])) + + existants = [r for r in zone["data"] if r.get("source") == SOURCE] + print("Lignes A de la zone :") + for r in zone["data"]: + if r.get("type") == "A": + src = "@" if r.get("source") in ("", ".") else r.get("source") + print(" A %-12s -> %s (ttl %s)" % (src, r.get("target"), r.get("ttl"))) + if existants: + print("Une ligne '%s' existe déjà :" % SOURCE, [(r["type"], r["target"]) for r in existants]) + return 0 + + if not ajouter: + print("Simulation : '%s' absent. Relance avec --ajouter pour créer A %s -> %s." % (SOURCE, SOURCE, CIBLE)) + return 0 + + rep = appel("POST", "/zones/%s/records" % DOMAINE, jeton, + {"type": "A", "source": SOURCE, "target": CIBLE, "ttl": TTL}) + if rep.get("result") == "success": + print("OK : A %s.%s -> %s créé." % (SOURCE, DOMAINE, CIBLE)) + return 0 + print("Erreur API (création) :", (rep.get("error") or {}).get("description") or (rep.get("error") or {}).get("code")) + return 1 + + +if __name__ == "__main__": + sys.exit(main()) diff --git a/beta/static/formulaire.html b/beta/static/formulaire.html index 34bf5a6..99204cf 100644 --- a/beta/static/formulaire.html +++ b/beta/static/formulaire.html @@ -2,59 +2,998 @@ - - -Formulaire testeur · JobRunner bêta - - - + + +Rejoindre la Bêta · JobRunner + + +
- -

Devenir testeur de la bêta

-

Vous testez une version d'essai de JobRunner : tout y est fictif et aucun paiement n'est réel. Vous nous dites ce qu'il faut garder ou changer.

-

Contrepartie envisagée : suivre JobRunner sur les réseaux sociaux et, sous réserve de confirmation, 1 an de Pass premium. Ce n'est pas encore une promesse ferme.

-

Version PDF à remplir : formulaire-testeur-jobrunner.pdf

-
-

Vos coordonnées

- - - - - -

Participation à partir de 15 ans. Entre 15 et 17 ans : accord d'un responsable légal obligatoire.

-
- - - + +
+
+ Logo JobRunner
-

Engagements

- - - - - - - - + Programme Bêta Testeurs +

Rejoignez l'aventure JobRunner

+

Participez à la création de la première plateforme de services avec paiement bloqué et sécurisé. Testez l'interface, donnez-nous votre avis et façonnez le produit final.

+
+ + +
+
+
🎁
+
+ 1 an de Pass Premium + Offert sur votre compte dès le lancement officiel en remerciement de votre aide. +
+
+
+
⚡
+
+ Accès exclusif + Explorez l'application en avant-première avec des profils et interactions simulés. +
+
+
+
💬
+
+ Voix directe + Un bouton dédié sur chaque écran pour nous dire ce qu'il faut garder ou améliorer. +
+
+
+ + +
+
+ +
+
+ 1 Vos coordonnées +
+ +
+
+ + +
+
+ + +
+
+ +
+
+ + +
+
+ + +
+
+ +
+ + +
+

+ Participation ouverte à partir de 15 ans. Entre 15 et 17 ans, l'accord d'un responsable légal est requis. +

+ + + +
+ + +
+
+ 2 Engagements de participation +
+ +
+ + + + + + + +
+
+ + + + + + + + + +
+ + + +
+ + +
+ diff --git a/beta/static/gate.html b/beta/static/gate.html index 907b14b..cda29b1 100644 --- a/beta/static/gate.html +++ b/beta/static/gate.html @@ -5,13 +5,657 @@ JobRunner bêta · accès testeurs - - - + + +
- + Bêta · version de test

Accès testeurs

Entrez le code que JobRunner vous a communiqué. Tout ce que vous verrez ici est fictif : profils, annonces et paiements sont simulés.

@@ -24,17 +668,37 @@

Pas encore de code ? Remplissez le formulaire testeur ou téléchargez le formulaire PDF.

diff --git a/beta/static/pages.css b/beta/static/pages.css index 47e629a..7e37e31 100644 --- a/beta/static/pages.css +++ b/beta/static/pages.css @@ -1,28 +1,625 @@ /* Pages de la bêta hors application (porte d'entrée, formulaire) : charte JobRunner */ -:root{--fond:#F2F0E6;--sauge:#8B9E90;--texte:#2D2D2D;--chair:#E8D5C4;--filet:#E0DDD5;--carte:#F8F7F1;--doux:#6B6B6B;--rayon:22px} -*{box-sizing:border-box} -html,body{margin:0;background:var(--fond);color:var(--texte);font-family:Chillax,Outfit,system-ui,sans-serif;line-height:1.55} -main{max-width:640px;margin:0 auto;padding:32px 16px 64px} -main.centre{text-align:center;min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px} -h1{font-size:clamp(28px,6vw,40px);font-weight:800;line-height:1.15;margin:4px 0} -h2{font-size:18px;margin:26px 0 8px} -.chapo{color:var(--doux);max-width:460px;margin:0 0 8px} -.logo{border-radius:20px} -.badge{display:inline-flex;font-size:13px;font-weight:600;padding:6px 14px;border-radius:999px;background:var(--sauge);color:var(--fond)} -.carte{background:var(--carte);border:1px solid var(--filet);border-radius:var(--rayon);padding:20px;width:100%;max-width:460px;text-align:left} -label{display:block;font-weight:600;font-size:14px;margin:12px 0 6px} -input[type=text],input[type=email],input[type=tel],input[type=date]{width:100%;font:inherit;font-size:16px;padding:12px 14px;border:1.5px solid var(--filet);border-radius:14px;background:#fff;color:var(--texte)} -input:focus,textarea:focus,button:focus-visible,a:focus-visible{outline:3px solid var(--sauge);outline-offset:2px} -#code{text-align:center;letter-spacing:.08em;text-transform:uppercase} -.btn{font:inherit;font-weight:600;font-size:15px;border:0;border-radius:999px;padding:13px 26px;cursor:pointer;margin-top:16px;width:100%} -.btn-primaire{background:var(--sauge);color:var(--fond)} -.btn:disabled{opacity:.6;cursor:wait} -.erreur{color:#A0554B;font-weight:600;min-height:1.4em;margin:10px 0 0} -.ok{color:#4F7A55;font-weight:700} -.petit{font-size:13px;color:var(--doux);max-width:460px} -a{color:var(--texte)} -.case{display:flex;gap:10px;align-items:flex-start;font-weight:400;font-size:14px;margin:10px 0} -.case input{margin-top:3px;width:20px;height:20px;accent-color:var(--sauge);flex:none} -.piege{position:absolute;left:-9999px;height:0;overflow:hidden} -.cache{display:none} -.note{background:var(--chair);border-radius:14px;padding:12px 14px;font-size:14px} +:root { + --fond: #F2F0E6; + --sauge: #8B9E90; + --sauge-sombre: #6E8173; + --sauge-clair: #D8E0DA; + --sauge-fond: #EBF0EC; + --texte: #2D2D2D; + --texte-doux: #5A5A5A; + --texte-muet: #7A7A7A; + --chair: #E8D5C4; + --chair-clair: #F6EDE5; + --filet: #E0DDD5; + --filet-fort: #CEC9BD; + --carte: #FFFFFF; + --carte-teintee: #F8F7F1; + --ombre: 0 10px 30px -10px rgba(45, 45, 45, 0.08), 0 2px 6px -1px rgba(45, 45, 45, 0.04); + --ombre-carte: 0 16px 40px -12px rgba(45, 45, 45, 0.12); + --rayon-xl: 28px; + --rayon-lg: 20px; + --rayon-md: 14px; + --rayon-sm: 10px; +} + +* { + box-sizing: border-box; +} + +html, body { + margin: 0; + padding: 0; + background-color: var(--fond); + color: var(--texte); + font-family: 'Chillax', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif; + line-height: 1.55; + -webkit-font-smoothing: antialiased; + color-scheme: light; +} + +a { + color: var(--sauge-sombre); + text-decoration: none; + font-weight: 600; + transition: color 0.2s ease; +} + +a:hover { + color: var(--texte); + text-decoration: underline; +} + +/* Conteneurs */ +main { + max-width: 760px; + margin: 0 auto; + padding: 40px 20px 80px; +} + +main.centre { + max-width: 480px; + min-height: 100vh; + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + gap: 16px; + padding: 32px 20px; + margin: 0 auto; + text-align: center; +} + +/* Rétro-compatibilité pour gate.html */ +.chapo { + color: var(--texte-doux); + max-width: 460px; + margin: 0 0 10px; +} +.logo { + border-radius: 20px; + box-shadow: 0 8px 20px -6px rgba(45, 45, 45, 0.15); +} +.badge { + display: inline-flex; + font-size: 13px; + font-weight: 700; + letter-spacing: 0.06em; + text-transform: uppercase; + padding: 6px 14px; + border-radius: 999px; + background: var(--sauge); + color: #FFFFFF; +} +.carte { + background: var(--carte); + border: 1.5px solid var(--filet); + border-radius: var(--rayon-lg); + padding: 24px; + width: 100%; + max-width: 460px; + text-align: left; + box-shadow: var(--ombre); +} +#code { + text-align: center; + letter-spacing: 0.1em; + font-weight: 700; + font-size: 18px; + text-transform: uppercase; +} +.btn { + font: inherit; + font-weight: 700; + font-size: 15px; + border: 0; + border-radius: 999px; + padding: 13px 26px; + cursor: pointer; + margin-top: 16px; + width: 100%; + transition: all 0.2s ease; +} +.btn-primaire { + background: var(--sauge); + color: #FFFFFF; +} +.btn-primaire:hover { + background: var(--sauge-sombre); + transform: translateY(-1px); +} +.btn:disabled { + opacity: 0.6; + cursor: wait; +} +.erreur { + color: #A0554B; + font-weight: 600; + min-height: 1.4em; + margin: 10px 0 0; +} +.petit { + font-size: 13px; + color: var(--texte-doux); + max-width: 460px; +} + +/* En-tête de marque */ +.entete-marque { + display: flex; + flex-direction: column; + align-items: center; + text-align: center; + margin-bottom: 32px; +} + +.logo-wrap { + position: relative; + margin-bottom: 14px; +} + +.logo-wrap img { + border-radius: 22px; + box-shadow: 0 8px 20px -6px rgba(45, 45, 45, 0.15); + display: block; +} + +.badge-beta { + display: inline-flex; + align-items: center; + gap: 6px; + font-size: 12px; + font-weight: 700; + letter-spacing: 0.08em; + text-transform: uppercase; + padding: 5px 14px; + border-radius: 999px; + background-color: var(--sauge); + color: #FFFFFF; + margin-bottom: 12px; +} + +.badge-beta i { + width: 6px; + height: 6px; + border-radius: 50%; + background-color: #FFFFFF; + display: inline-block; +} + +h1 { + font-size: clamp(28px, 5vw, 38px); + font-weight: 800; + line-height: 1.15; + margin: 6px 0 10px; + letter-spacing: -0.02em; +} + +.sous-titre { + color: var(--texte-doux); + font-size: clamp(15px, 2.5vw, 17px); + max-width: 580px; + margin: 0 auto; + line-height: 1.5; +} + +/* Bannière d'avantages testeurs */ +.avantages-grille { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); + gap: 14px; + margin: 28px 0 32px; +} + +.avantage-carte { + background: var(--carte); + border: 1px solid var(--filet); + border-radius: var(--rayon-md); + padding: 16px 18px; + display: flex; + align-items: flex-start; + gap: 12px; + box-shadow: var(--ombre); +} + +.avantage-ico { + font-size: 22px; + line-height: 1; + background: var(--sauge-fond); + padding: 8px; + border-radius: 12px; + flex-shrink: 0; +} + +.avantage-texte strong { + display: block; + font-size: 14px; + font-weight: 700; + color: var(--texte); + margin-bottom: 2px; +} + +.avantage-texte span { + font-size: 13px; + color: var(--texte-doux); + line-height: 1.35; + display: block; +} + +/* Carte Formulaire */ +.carte-form { + background: var(--carte); + border: 1.5px solid var(--filet); + border-radius: var(--rayon-xl); + padding: 36px 32px; + box-shadow: var(--ombre-carte); + position: relative; +} + +@media (max-width: 600px) { + .carte-form { + padding: 24px 18px; + border-radius: var(--rayon-lg); + } +} + +.form-section { + margin-bottom: 28px; +} + +.form-section-titre { + font-size: 15px; + font-weight: 700; + text-transform: uppercase; + letter-spacing: 0.06em; + color: var(--sauge-sombre); + margin: 0 0 16px 0; + display: flex; + align-items: center; + gap: 8px; +} + +.form-section-titre span.numero { + width: 24px; + height: 24px; + border-radius: 50%; + background: var(--sauge); + color: #fff; + font-size: 12px; + display: inline-grid; + place-items: center; + font-weight: 800; +} + +.champs-grille { + display: grid; + grid-template-columns: 1fr 1fr; + gap: 16px; +} + +@media (max-width: 580px) { + .champs-grille { + grid-template-columns: 1fr; + gap: 12px; + } +} + +.champ { + display: flex; + flex-direction: column; + margin-bottom: 14px; +} + +.champ label { + font-size: 13.5px; + font-weight: 700; + margin-bottom: 6px; + color: var(--texte); + display: flex; + justify-content: space-between; + align-items: center; +} + +.champ label .aide { + font-size: 12px; + font-weight: 400; + color: var(--texte-muet); +} + +input[type="text"], +input[type="email"], +input[type="tel"], +input[type="date"] { + width: 100%; + font-family: inherit; + font-size: 15px; + padding: 13px 16px; + border: 1.5px solid var(--filet); + border-radius: var(--rayon-md); + background-color: #FAFAFA; + color: var(--texte); + outline: none; + transition: all 0.2s ease; +} + +input:hover { + border-color: var(--filet-fort); +} + +input:focus { + background-color: #FFFFFF; + border-color: var(--sauge); + box-shadow: 0 0 0 3px rgba(139, 158, 144, 0.25); +} + +/* Bloc parent pour mineurs */ +.bloc-parent { + background: var(--chair-clair); + border: 1.5px solid var(--chair); + border-radius: var(--rayon-md); + padding: 20px; + margin: 16px 0; + transition: all 0.3s ease; +} + +.bloc-parent.cache { + display: none; +} + +.bloc-parent-titre { + font-size: 14px; + font-weight: 700; + margin: 0 0 6px 0; + color: #7D5D44; +} + +.bloc-parent-desc { + font-size: 13px; + color: #7D5D44; + margin: 0 0 14px 0; +} + +/* Cartes de consentement tactiles */ +.options-liste { + display: flex; + flex-direction: column; + gap: 10px; +} + +.option-carte { + display: flex; + align-items: flex-start; + gap: 14px; + background: var(--carte-teintee); + border: 1.5px solid var(--filet); + border-radius: var(--rayon-md); + padding: 14px 16px; + cursor: pointer; + transition: all 0.2s ease; + user-select: none; +} + +.option-carte:hover { + border-color: var(--sauge); + background: #FFFFFF; +} + +.option-carte:has(input:checked) { + border-color: var(--sauge); + background: var(--sauge-fond); +} + +.option-carte input[type="checkbox"] { + appearance: none; + -webkit-appearance: none; + width: 22px; + height: 22px; + border: 2px solid var(--filet-fort); + border-radius: 7px; + background: #FFFFFF; + margin: 2px 0 0 0; + flex-shrink: 0; + cursor: pointer; + display: grid; + place-content: center; + transition: all 0.2s ease; +} + +.option-carte input[type="checkbox"]:checked { + background: var(--sauge); + border-color: var(--sauge); +} + +.option-carte input[type="checkbox"]:checked::before { + content: ""; + width: 10px; + height: 6px; + border-left: 2px solid #FFFFFF; + border-bottom: 2px solid #FFFFFF; + transform: rotate(-45deg) translate(1px, -1px); +} + +.option-texte { + font-size: 13.5px; + line-height: 1.45; + color: var(--texte); +} + +.option-texte strong { + display: block; + font-weight: 700; + margin-bottom: 2px; +} + +.option-texte span { + color: var(--texte-doux); + font-size: 12.5px; +} + +/* Réseaux sociaux */ +.reseaux-suivi { + display: flex; + align-items: center; + gap: 10px; + flex-wrap: wrap; + margin-top: 10px; +} + +.reseau-chip { + display: inline-flex; + align-items: center; + gap: 6px; + background: #FFFFFF; + border: 1.5px solid var(--filet); + border-radius: 999px; + padding: 6px 14px; + font-size: 13px; + font-weight: 600; + color: var(--texte); + text-decoration: none; + transition: all 0.2s ease; +} + +.reseau-chip:hover { + border-color: var(--sauge); + color: var(--sauge-sombre); + transform: translateY(-1px); + text-decoration: none; +} + +/* Boutons */ +.btn-soumettre { + font-family: inherit; + font-size: 16px; + font-weight: 700; + background-color: var(--sauge); + color: #FFFFFF; + border: none; + border-radius: 999px; + padding: 16px 32px; + width: 100%; + cursor: pointer; + margin-top: 24px; + box-shadow: 0 8px 20px -4px rgba(139, 158, 144, 0.4); + transition: all 0.2s ease; + display: flex; + align-items: center; + justify-content: center; + gap: 10px; +} + +.btn-soumettre:hover { + background-color: var(--sauge-sombre); + transform: translateY(-2px); + box-shadow: 0 12px 24px -6px rgba(139, 158, 144, 0.5); +} + +.btn-soumettre:active { + transform: translateY(0); +} + +.btn-soumettre:disabled { + opacity: 0.6; + cursor: not-allowed; + transform: none; +} + +/* Écran de succès */ +.succes-carte { + text-align: center; + padding: 40px 20px; +} + +.succes-icone { + width: 72px; + height: 72px; + border-radius: 50%; + background: var(--sauge-fond); + color: var(--sauge); + display: inline-grid; + place-items: center; + font-size: 36px; + margin-bottom: 20px; +} + +.succes-carte h2 { + font-size: 26px; + font-weight: 800; + margin: 0 0 10px 0; +} + +.succes-carte p { + color: var(--texte-doux); + font-size: 15px; + max-width: 480px; + margin: 0 auto 28px; + line-height: 1.5; +} + +.succes-actions { + display: flex; + flex-direction: column; + gap: 12px; + max-width: 380px; + margin: 0 auto; +} + +.btn-secondaire { + font-family: inherit; + font-size: 15px; + font-weight: 700; + background: #FFFFFF; + color: var(--texte); + border: 1.5px solid var(--filet); + border-radius: 999px; + padding: 13px 24px; + display: inline-flex; + align-items: center; + justify-content: center; + gap: 8px; + text-decoration: none; + transition: all 0.2s ease; +} + +.btn-secondaire:hover { + border-color: var(--texte); + text-decoration: none; +} + +/* Pied de page */ +.pied-form { + text-align: center; + margin-top: 32px; + color: var(--texte-muet); + font-size: 13.5px; +} + +.pied-form a { + color: var(--texte-doux); +} + +.pied-form a:hover { + color: var(--texte); +} + +.message-alerte { + padding: 12px 16px; + border-radius: var(--rayon-md); + font-size: 14px; + font-weight: 600; + margin-top: 14px; + display: none; +} + +.message-alerte.erreur { + background: #FDF2F0; + color: #A0554B; + border: 1px solid #F5D6D1; + display: block; +} + +.piege-robot { + position: absolute; + left: -9999px; + height: 0; + overflow: hidden; +}