/* My 2ACI — feuille de style conforme à la charte graphique officielle 2ACI.
 * Trois couleurs, aucune autre : vert Pantone 361 C #33B04A, jaune Pantone 394 C #EDE947,
 * noir #231F20 pour les textes. Fond blanc. Aucun dégradé. Futura. Obliques à 123°.
 */
:root {
  --vert: #33B04A;            /* Pantone 361 C — titres, icônes, traits, boutons, pictogrammes */
  --jaune: #EDE947;           /* Pantone 394 C — accent unique */
  --noir: #231F20;            /* textes */
  --blanc: #FFFFFF;           /* fond principal */
  --gris-texte: rgba(35,31,32,.62);   /* noir atténué pour les textes secondaires */
  --gris-trait: rgba(35,31,32,.10);   /* noir atténué pour les filets discrets */
  --vert-voile: rgba(51,176,74,.10);  /* vert à 10 % : fonds de pastilles (même teinte) */
  --jaune-voile: rgba(237,233,71,.45);
  --ombre: 0 2px 10px rgba(35,31,32,.08);
  --police: "Futura", "Futura PT", "Futura Medium", "Futura BdCn BT", "Century Gothic", "Avenir Next", "Trebuchet MS", sans-serif;
  --barre: 64px; --sur: env(safe-area-inset-top, 0px); --sous: env(safe-area-inset-bottom, 0px);
  --oblique: 123deg;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { height: 100%; }
body { margin: 0; min-height: 100%; background: var(--blanc); color: var(--noir); font-family: var(--police); font-size: 15px; line-height: 1.45; -webkit-font-smoothing: antialiased; overscroll-behavior-y: none; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--vert); }
[hidden] { display: none !important; }
#app { min-height: 100vh; display: flex; flex-direction: column; }
svg.pic { width: 1em; height: 1em; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; display: inline-block; vertical-align: -.15em; }

/* ---------- en-tête ---------- */
.entete { position: sticky; top: 0; z-index: 20; background: var(--blanc); padding: calc(10px + var(--sur)) 16px 10px; display: flex; align-items: center; gap: 10px; border-bottom: 2px solid var(--vert); }
.entete .retour { border: 1.5px solid var(--vert); background: var(--blanc); color: var(--vert); width: 36px; height: 36px; border-radius: 10px; font-size: 20px; display: flex; align-items: center; justify-content: center; }
.entete h1 { margin: 0; font-size: 17px; font-weight: 700; flex: 1; text-align: center; color: var(--vert); letter-spacing: .2px; }
.entete .retour + h1 { margin-right: 36px; }
.entete .action { border: 0; background: none; color: var(--vert); font-weight: 700; padding: 6px; }

.ecran { flex: 1; padding: 16px 16px calc(var(--barre) + 28px + var(--sous)); animation: apparait .25s ease-out; }
@keyframes apparait { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- barre du bas ---------- */
.barre-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: var(--blanc); border-top: 2px solid var(--vert); display: flex; height: calc(var(--barre) + var(--sous)); padding-bottom: var(--sous); }
.barre-nav button { flex: 1; border: 0; background: none; color: var(--gris-texte); font-size: 11px; font-weight: 700; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; position: relative; }
.barre-nav button svg { width: 24px; height: 24px; }
.barre-nav button.actif { color: var(--vert); }
.barre-nav button.actif::after { content: ""; position: absolute; top: 0; left: 30%; right: 30%; height: 3px; background: var(--jaune); }

/* ---------- bandeaux ---------- */
.bandeau { padding: 8px 16px; font-size: 12px; font-weight: 700; text-align: center; color: var(--noir); }
.bandeau.doublure { background: var(--jaune); }
.bandeau.horsligne { background: var(--noir); color: var(--jaune); }

/* ---------- oblique de charte (123°) ---------- */
.oblique { position: relative; }
.oblique::after { content: ""; position: absolute; left: -10px; right: -10px; bottom: -6px; height: 3px; background: var(--vert); transform: rotate(-3deg); transform-origin: left; }
.filet-oblique { height: 4px; margin: 6px 0 14px; background: linear-gradient(var(--oblique), var(--vert) 0 55%, var(--jaune) 55% 100%); }

/* ---------- splash ---------- */
.splash { position: fixed; inset: 0; z-index: 100; background: var(--blanc); display: flex; flex-direction: column; align-items: center; padding-top: calc(70px + var(--sur)); text-align: center; overflow: hidden; }
.splash img { width: 150px; }
.splash .nom { color: var(--vert); font-size: 36px; font-weight: 700; margin: 18px 0 4px; }
.splash .signature { font-size: 17px; color: var(--noir); }
.splash .rond { width: 30px; height: 30px; border-radius: 50%; border: 3px solid var(--gris-trait); border-top-color: var(--vert); animation: tourne .9s linear infinite; margin-top: 34px; }
.splash .ville { position: absolute; left: 0; right: 0; bottom: 0; height: 40%; background: var(--blanc); }
.splash .ville::before { content: ""; position: absolute; inset: 0; background: linear-gradient(var(--oblique), var(--blanc) 0 48%, var(--jaune) 48% 52%, var(--vert) 52% 100%); }
.splash .ville svg { display: none; }
.splash .slogan { position: absolute; left: 0; right: 0; bottom: 22px; color: var(--blanc); font-family: "Brush Script MT", cursive; font-size: 26px; }
.slogan { text-align: center; color: var(--vert); font-family: "Brush Script MT", cursive; font-size: 22px; margin: 26px 0 0; }
@keyframes tourne { to { transform: rotate(360deg); } }

/* ---------- connexion ---------- */
.connexion { text-align: center; padding-top: 22px; }
.connexion img { width: 120px; }
.connexion .nom { color: var(--vert); font-size: 30px; font-weight: 700; margin: 10px 0 2px; }
.connexion .sous-titre { font-size: 17px; margin-bottom: 24px; color: var(--noir); }
.champ-icone { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--vert); border-radius: 12px; padding: 0 14px; background: var(--blanc); margin-bottom: 12px; height: 52px; }
.champ-icone .pre { font-size: 15px; color: var(--noir); white-space: nowrap; font-weight: 600; }
.champ-icone input { flex: 1; border: 0; outline: none; background: none; font-size: 16px; min-width: 0; }
.ligne-options { display: flex; justify-content: space-between; align-items: center; font-size: 13px; margin: 4px 0 18px; }
.ligne-options label { display: flex; align-items: center; gap: 6px; }
.ligne-options input { accent-color: var(--vert); width: 16px; height: 16px; }
.otp-cases { display: flex; gap: 8px; justify-content: center; margin: 22px 0 18px; }
.otp-cases input { width: 46px; height: 54px; border: 1.5px solid var(--vert); border-radius: 10px; text-align: center; font-size: 22px; font-weight: 700; background: var(--blanc); outline: none; }
.otp-cases input:focus { border-width: 2.5px; background: var(--vert-voile); }

/* ---------- accueil ---------- */
.hero { position: relative; overflow: hidden; border-radius: 16px; padding: 18px 18px 16px; color: var(--blanc); background: var(--vert); margin-bottom: 16px; }
.hero::before { content: ""; position: absolute; top: -30px; bottom: -30px; right: -60px; width: 46%; background: var(--jaune); transform: skewX(-33deg); opacity: .95; }
.hero > * { position: relative; z-index: 1; }
.hero .haut { display: flex; align-items: center; gap: 12px; }
.hero .bonjour { font-size: 13px; }
.hero .nom { font-size: 20px; font-weight: 700; }
.hero .cloche { margin-left: auto; border: 1.5px solid var(--blanc); background: var(--blanc); color: var(--vert); width: 40px; height: 40px; border-radius: 12px; font-size: 20px; position: relative; display: flex; align-items: center; justify-content: center; }
.hero .cloche .pastille { position: absolute; top: 6px; right: 7px; width: 9px; height: 9px; border-radius: 50%; background: var(--jaune); border: 2px solid var(--vert); }
.hero .accroche { margin: 16px 0 14px; font-size: 20px; font-weight: 700; line-height: 1.2; max-width: 70%; }
.hero .accroche small { display: block; font-size: 12.5px; font-weight: 400; margin-top: 4px; }
.hero .stats { display: flex; gap: 8px; }
.hero .stat { flex: 1; min-width: 0; display: flex; flex-direction: column; background: var(--blanc); color: var(--noir); border-radius: 12px; padding: 9px 10px; }
.hero .stat .v { font-size: 16px; font-weight: 700; color: var(--vert); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero .stat .v small { font-size: 10px; font-weight: 600; }
.hero .stat .l { font-size: 10px; text-transform: uppercase; letter-spacing: .3px; color: var(--gris-texte); line-height: 1.2; }
.hero .stat.alerte { background: var(--jaune); }
.hero .stat.alerte .v { color: var(--noir); }
.hero .cloche .compteur { position: absolute; top: -7px; right: -7px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--jaune); color: var(--noir); font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; border: 2px solid var(--vert); animation: pulse 1.6s ease-in-out 3; }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.25); } }

/* ---------- alertes : cartes jaunes, compte à rebours, appel à l'action ---------- */
.alerte { display: flex; align-items: center; gap: 12px; background: var(--jaune); color: var(--noir); border-radius: 14px; padding: 12px 14px; margin-bottom: 10px; cursor: pointer; border-left: 6px solid var(--vert); position: relative; overflow: hidden; }
.alerte.important { background: var(--jaune-voile); }
.alerte.info { background: var(--vert-voile); border-left-color: var(--vert); }
.alerte .corps { flex: 1; min-width: 0; }
.alerte .t { font-weight: 700; font-size: 14.5px; display: flex; align-items: center; gap: 6px; }
.alerte .s { font-size: 12.5px; margin-top: 2px; }
.alerte .cta { flex-shrink: 0; background: var(--vert); color: var(--blanc); font-weight: 700; font-size: 12px; padding: 8px 10px; border-radius: 999px; white-space: nowrap; }
.compte-rebours { flex-shrink: 0; width: 54px; height: 54px; border-radius: 12px; background: var(--blanc); border: 2px solid var(--vert); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.compte-rebours b { font-size: 20px; color: var(--vert); }
.compte-rebours span { font-size: 9.5px; text-transform: uppercase; letter-spacing: .3px; color: var(--gris-texte); }
.lien-tout { display: block; text-align: right; font-size: 13px; font-weight: 700; text-decoration: none; margin: -2px 0 12px; }
.jours { font-size: 11px; font-weight: 700; color: var(--noir); background: var(--jaune); padding: 3px 8px; border-radius: 999px; }
.jours.echu { background: var(--noir); color: var(--jaune); }
.rangee.a-traiter { border-color: var(--jaune); border-width: 2px; }

.avatar { width: 44px; height: 44px; border-radius: 12px; background: var(--blanc); color: var(--vert); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; flex-shrink: 0; border: 1.5px solid var(--vert); }
.avatar.grand { width: 88px; height: 88px; border-radius: 24px; font-size: 30px; margin: 6px auto 12px; background: var(--vert); color: var(--blanc); }

.tuiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.tuile-acc { border: 1.5px solid var(--gris-trait); background: var(--blanc); border-radius: 14px; padding: 13px 6px 11px; box-shadow: var(--ombre); display: flex; flex-direction: column; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 700; color: var(--noir); line-height: 1.15; text-align: center; transition: transform .15s ease; }
.tuile-acc:active { transform: scale(.96); border-color: var(--vert); }
.ico { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; background: var(--vert); color: var(--blanc); }
.ico.jaune { background: var(--jaune); color: var(--noir); }
.ico.creux { background: var(--vert-voile); color: var(--vert); }
.section { display: flex; justify-content: space-between; align-items: baseline; margin: 6px 0 10px; }
.section h2 { font-size: 17px; margin: 0; font-weight: 700; color: var(--vert); }
.section a { font-size: 13px; text-decoration: none; font-weight: 700; }
.offres-defile { display: flex; gap: 12px; overflow-x: auto; padding: 4px 16px 12px; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -16px; }
.offres-defile::-webkit-scrollbar { display: none; }
.offre { flex: 0 0 78%; scroll-snap-align: start; position: relative; overflow: hidden; border-radius: 16px; padding: 16px; min-height: 118px; border: 1.5px solid var(--vert); background: var(--blanc); display: flex; flex-direction: column; justify-content: flex-end; cursor: pointer; }
.offre::before { content: ""; position: absolute; top: 0; bottom: 0; right: -40px; width: 38%; background: var(--vert-voile); transform: skewX(-33deg); }
.offre .ic { position: absolute; right: 16px; top: 14px; font-size: 40px; color: var(--vert); }
.offre .t { font-weight: 700; font-size: 16px; color: var(--vert); }
.offre .s { font-size: 12px; color: var(--gris-texte); }

/* ---------- listes ---------- */
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 12px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { border: 1.5px solid var(--vert); background: var(--blanc); border-radius: 999px; padding: 6px 13px; font-size: 12.5px; font-weight: 700; white-space: nowrap; color: var(--vert); }
.chip.actif { background: var(--vert); color: var(--blanc); }
.rangee { display: flex; align-items: center; gap: 12px; background: var(--blanc); border: 1.5px solid var(--gris-trait); border-radius: 14px; padding: 12px; box-shadow: var(--ombre); margin-bottom: 10px; cursor: pointer; }
.rangee:active { border-color: var(--vert); }
.rangee .corps { flex: 1; min-width: 0; }
.rangee .t { font-weight: 700; font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rangee .s { font-size: 12px; color: var(--gris-texte); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rangee .s2 { font-size: 11.5px; color: var(--gris-texte); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rangee .fin { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex-shrink: 0; max-width: 40%; }
.rangee .fin .badge { white-space: nowrap; }
.rangee .chevron { color: var(--vert); font-size: 20px; }
.badge { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; background: var(--vert); color: var(--blanc); }
.badge.jaune, .badge.rouge, .badge.orange { background: var(--jaune); color: var(--noir); }
.badge.gris { background: var(--blanc); color: var(--noir); border: 1px solid var(--gris-trait); }
.menu { background: var(--blanc); border: 1.5px solid var(--gris-trait); border-radius: 14px; box-shadow: var(--ombre); overflow: hidden; margin-bottom: 14px; }
.menu .item { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-bottom: 1px solid var(--gris-trait); cursor: pointer; text-decoration: none; color: inherit; }
.menu .item:last-child { border-bottom: 0; }
.menu .item .ico { width: 38px; height: 38px; border-radius: 10px; font-size: 18px; }
.menu .item .t { flex: 1; font-weight: 700; font-size: 14px; }
.menu .item .chevron { color: var(--vert); font-size: 20px; }

/* ---------- composants ---------- */
.carte { background: var(--blanc); border: 1.5px solid var(--gris-trait); border-radius: 14px; padding: 16px; box-shadow: var(--ombre); margin-bottom: 12px; position: relative; overflow: hidden; }
.carte h3 { margin: 0 0 4px; font-size: 15px; font-weight: 700; color: var(--vert); }
.carte .sous { color: var(--gris-texte); font-size: 13px; }
.carte .grand { font-size: 28px; font-weight: 700; margin: 6px 0; color: var(--vert); }
.ligne { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--gris-trait); }
.ligne:last-child { border-bottom: 0; }
.ligne .cle { color: var(--gris-texte); font-size: 13.5px; } .ligne .val { font-weight: 700; text-align: right; }
.ligne.cliquable { cursor: pointer; }
.bouton { display: block; width: 100%; border: 1.5px solid var(--vert); border-radius: 12px; padding: 14px 18px; background: var(--vert); color: var(--blanc); font-weight: 700; font-size: 15px; cursor: pointer; margin-top: 10px; text-align: center; text-decoration: none; transition: transform .12s ease; }
.bouton:active { transform: scale(.98); }
.bouton:disabled { opacity: .45; }
.bouton.secondaire { background: var(--blanc); color: var(--vert); }
.bouton.discret { background: transparent; color: var(--gris-texte); border-color: transparent; }
.bouton.danger { background: var(--blanc); color: var(--noir); border-color: var(--noir); }
.bouton.petit { width: auto; display: inline-block; padding: 9px 14px; font-size: 13px; margin: 0; }
.champ { margin-bottom: 13px; }
.champ label { display: block; font-size: 12.5px; font-weight: 700; color: var(--noir); margin-bottom: 6px; }
.champ input, .champ select, .champ textarea { width: 100%; border: 1.5px solid var(--gris-trait); border-radius: 12px; padding: 13px 14px; background: var(--blanc); font-size: 15px; outline: none; }
.champ input:focus, .champ select:focus, .champ textarea:focus { border-color: var(--vert); }
.champ .aide { font-size: 12px; color: var(--gris-texte); margin-top: 4px; }
.grille-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.radios .rangee { padding: 10px 12px; }
.radio { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--gris-trait); flex-shrink: 0; }
.rangee.choisie { border: 1.5px solid var(--vert); background: var(--vert-voile); }
.rangee.choisie .radio { border: 7px solid var(--vert); }
/* Logos officiels des opérateurs de mobile money : marques tierces, rendues telles quelles
   (leurs couleurs leur appartiennent ; elles ne relèvent pas de la charte 2ACI). */
.logo-op { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--gris-trait); background: var(--blanc); flex-shrink: 0; overflow: hidden; }
.logo-op img { width: 36px; height: 36px; object-fit: contain; display: block; }
.coche { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--gris-trait); }
.coche input { width: 22px; height: 22px; accent-color: var(--vert); } .coche .lib { flex: 1; font-weight: 600; } .coche .prix { font-weight: 700; }
.coche.figee { opacity: .7; }
.tuile { border: 1.5px solid var(--gris-trait); border-radius: 14px; padding: 14px 8px; background: var(--blanc); text-align: center; font-weight: 700; cursor: pointer; font-size: 13px; color: var(--noir); }
.tuile.choisie { border-color: var(--vert); background: var(--vert-voile); } .tuile .ic { font-size: 26px; display: block; margin-bottom: 4px; color: var(--vert); }
.stepper { display: flex; align-items: flex-start; margin: 4px 0 18px; }
.stepper .et { flex: 1; text-align: center; font-size: 10.5px; color: var(--gris-texte); position: relative; }
.stepper .et .n { width: 28px; height: 28px; border-radius: 50%; background: var(--blanc); border: 1.5px solid var(--gris-trait); display: flex; align-items: center; justify-content: center; margin: 0 auto 4px; font-weight: 700; font-size: 12px; }
.stepper .et.fait .n, .stepper .et.cour .n { background: var(--vert); border-color: var(--vert); color: var(--blanc); }
.stepper .et.cour .n { box-shadow: 0 0 0 3px var(--jaune); }
.stepper .et.cour { color: var(--vert); font-weight: 700; }
.stepper .et::before { content: ""; position: absolute; top: 14px; left: -50%; right: 50%; height: 2px; background: var(--gris-trait); z-index: -1; }
.stepper .et:first-child::before { display: none; }
.stepper .et.fait::before, .stepper .et.cour::before { background: var(--vert); }
.message { border-radius: 12px; padding: 12px 14px; font-size: 13.5px; margin: 10px 0; color: var(--noir); }
.message.erreur { background: var(--jaune); font-weight: 700; border-left: 4px solid var(--noir); }
.message.info { background: var(--vert-voile); border-left: 4px solid var(--vert); }
.message.attention { background: var(--jaune-voile); border-left: 4px solid var(--jaune); font-weight: 600; }
.vide { text-align: center; color: var(--gris-texte); padding: 40px 20px; } .vide .ic { font-size: 54px; margin-bottom: 8px; color: var(--vert); }
.photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 8px 0; }
.photos .p { aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--gris-trait); position: relative; border: 1.5px solid var(--gris-trait); }
.photos .p img { width: 100%; height: 100%; object-fit: cover; }
.photos .p .x { position: absolute; top: 4px; right: 4px; background: var(--noir); color: var(--blanc); border: 0; border-radius: 50%; width: 24px; height: 24px; }
.photos .ajout { aspect-ratio: 1; border: 2px dashed var(--vert); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 30px; color: var(--vert); background: var(--blanc); }
.frise { position: relative; padding-left: 22px; }
.frise::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--gris-trait); }
.frise .jalon { position: relative; padding: 6px 0 14px; }
.frise .jalon::before { content: ""; position: absolute; left: -20px; top: 10px; width: 12px; height: 12px; border-radius: 50%; background: var(--gris-trait); border: 2px solid var(--blanc); }
.frise .jalon.fait::before { background: var(--vert); } .frise .jalon .t { font-weight: 700; } .frise .jalon .d { font-size: 12px; color: var(--gris-texte); }
.chargement { display: flex; justify-content: center; padding: 30px; }
.chargement::after { content: ""; width: 32px; height: 32px; border-radius: 50%; border: 4px solid var(--gris-trait); border-top-color: var(--vert); animation: tourne .8s linear infinite; }
.squelette { display: flex; flex-direction: column; gap: 12px; }
.squelette .os { height: 84px; border-radius: 14px; background: linear-gradient(90deg, rgba(35,31,32,.05) 25%, rgba(35,31,32,.09) 37%, rgba(35,31,32,.05) 63%); background-size: 400% 100%; animation: miroite 1.3s ease infinite; }
.squelette .os.haut { height: 150px; }
@keyframes miroite { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }
.pdf-cadre { width: 100%; height: 66vh; border: 1.5px solid var(--gris-trait); border-radius: 12px; background: var(--blanc); }
.total { display: flex; justify-content: space-between; font-size: 17px; font-weight: 700; padding: 12px 0; border-top: 2px solid var(--vert); margin-top: 8px; color: var(--vert); }
h2.titre { font-size: 20px; margin: 4px 0 12px; font-weight: 700; color: var(--vert); }
.legal { font-size: 12px; color: var(--gris-texte); text-align: center; margin-top: 18px; }
.toast { position: fixed; left: 16px; right: 16px; bottom: calc(var(--barre) + 16px + var(--sous)); z-index: 40; background: var(--noir); color: var(--blanc); padding: 12px 16px; border-radius: 12px; font-size: 13.5px; font-weight: 600; }
.attest { position: relative; background: var(--blanc); border: 1.5px solid var(--vert); border-radius: 16px; padding: 22px 16px 18px; text-align: center; margin-bottom: 14px; overflow: hidden; }
.attest::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: linear-gradient(90deg, var(--vert) 0 70%, var(--jaune) 70% 100%); }
.attest img.logo { width: 90px; }
.attest .titre-a { font-weight: 700; font-size: 13px; letter-spacing: 1px; margin: 10px 0 12px; color: var(--vert); }
.attest .qr { width: 156px; height: 156px; margin: 0 auto 12px; padding: 8px; background: var(--blanc); border: 1.5px solid var(--gris-trait); border-radius: 12px; }
.attest .qr svg, .attest .qr img { width: 100%; height: 100%; }
.attest .l { font-size: 13px; color: var(--noir); } .attest .l b { font-weight: 700; }
.doc-tabs { display: flex; gap: 8px; margin-bottom: 12px; }
.profil-tete { text-align: center; margin-bottom: 14px; }
.profil-tete .n { font-weight: 700; font-size: 18px; color: var(--vert); }
.profil-tete .s { font-size: 13px; color: var(--gris-texte); }
.centre { text-align: center; }
.version { text-align: center; color: var(--gris-texte); font-size: 12px; margin-top: 14px; }
.coordonnees { display: flex; justify-content: center; gap: 22px; margin-top: 18px; }
.coordonnees a { color: var(--vert); font-size: 22px; text-decoration: none; }
@media (min-width: 700px) {
  #app { max-width: 480px; margin: 0 auto; box-shadow: 0 0 40px rgba(35,31,32,.08); min-height: 100vh; }
  .barre-nav, .toast { max-width: 480px; left: 50%; transform: translateX(-50%); right: auto; width: 100%; }
  .splash { max-width: 480px; left: 50%; transform: translateX(-50%); right: auto; width: 100%; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
