/* Compta Commerçant : écran clair, vert « caisse », orange pour l'alerte de stock et les crédits.
   Polices du téléphone (aucun téléchargement) pour marcher sans internet dès la première ouverture. */
:root{
  color-scheme: light;
  --fond:#F3F7F5; --surface:#FFFFFF; --encre:#15302A; --doux:#5B716A; --ligne:#DCE6E1;
  --vert:#0B8A57; --vert-clair:#E3F4EC; --vert-fonce:#076B43;
  --orange:#D9700A; --orange-clair:#FFF1E0; --orange-fonce:#8A4705; --orange-bord:#F3C894;
  --rouge:#C23B2A; --rouge-clair:#FDECE9;
  --bleu:#1F6FB8; --bleu-clair:#E6F0FA;
  --cadre:#E7EEEA;
  --police:system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", Arial, sans-serif;
  --r:16px;
}
*{box-sizing:border-box}
html,body{height:100%;margin:0}
body{background:var(--cadre);color:var(--encre);font-family:var(--police);font-size:16px;-webkit-tap-highlight-color:transparent;overscroll-behavior:none}
[hidden]{display:none!important}
button{font-family:inherit}

.app{position:relative;height:100%;max-width:520px;margin:0 auto;background:var(--fond);display:flex;flex-direction:column;overflow:hidden}
@media (min-width:560px){ .app{box-shadow:0 0 0 1px #CFDAD4, 0 20px 50px rgba(21,48,42,.12)} }

/* En-tête */
.entete{background:var(--surface);padding:calc(12px + env(safe-area-inset-top,0px)) max(16px, env(safe-area-inset-right,0px)) 12px max(16px, env(safe-area-inset-left,0px));display:flex;align-items:center;gap:10px;border-bottom:1px solid var(--ligne)}
.entete .nom{flex:1;min-width:0}
.entete h1{font-size:19px;margin:0;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.entete .date{font-size:13px;color:var(--doux);margin-top:2px}
.entete .date::first-letter{text-transform:uppercase}
.rond{position:relative;width:46px;height:46px;border-radius:50%;border:1px solid var(--ligne);background:var(--fond);display:grid;place-items:center;cursor:pointer;color:var(--encre);flex:none}
.rond svg{width:24px;height:24px}
.point{position:absolute;top:2px;right:2px;width:12px;height:12px;border-radius:50%;background:var(--orange);border:2px solid #fff}

.ecran{flex:1;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:16px max(16px, env(safe-area-inset-right,0px)) 28px max(16px, env(safe-area-inset-left,0px));display:flex;flex-direction:column;gap:14px}
h2{font-size:22px;margin:0;font-weight:800;text-wrap:balance}
h3{font-size:16px;margin:4px 0 0;font-weight:700;color:var(--doux)}
.note{font-size:14px;color:var(--doux);margin:0;line-height:1.45}
.num{font-variant-numeric:tabular-nums}

/* Barre du bas */
.onglets{display:grid;grid-template-columns:repeat(5,1fr);background:var(--surface);border-top:1px solid var(--ligne);padding:6px max(4px, env(safe-area-inset-right,0px)) calc(8px + env(safe-area-inset-bottom,0px)) max(4px, env(safe-area-inset-left,0px))}
.onglets button{border:0;background:none;display:flex;flex-direction:column;align-items:center;gap:3px;padding:6px 0;min-height:60px;
  font-weight:600;font-size:12px;color:var(--doux);cursor:pointer;border-radius:12px}
.onglets svg{width:26px;height:26px}
.onglets .ic{position:relative;display:block;height:26px}
.onglets .ic .point{top:-3px;right:-6px;width:11px;height:11px}
.onglets button[aria-current="page"]{color:var(--vert-fonce);background:var(--vert-clair)}

/* Boutons */
.btn{display:flex;align-items:center;justify-content:center;gap:8px;min-height:56px;padding:0 18px;border-radius:14px;border:0;
  font-weight:700;font-size:17px;cursor:pointer;width:100%;text-align:center}
.btn.vert{background:var(--vert);color:#fff}
.btn.vert:active{background:var(--vert-fonce)}
.btn.clair{background:var(--surface);color:var(--encre);border:1.5px solid var(--ligne)}
.btn.clair:active{background:var(--fond)}
.btn.rouge{background:var(--rouge-clair);color:var(--rouge)}
.btn.rouge.sur{background:var(--rouge);color:#fff}
.btn.petit{min-height:46px;font-size:15px}
.btn:disabled{opacity:.55}
.modif{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:0 14px;border-radius:12px;border:1.5px solid var(--bleu);
  background:var(--bleu-clair);color:var(--bleu);font-weight:700;font-size:15px;cursor:pointer;flex:none}
.modif svg{width:16px;height:16px}
button:focus-visible, input:focus-visible{outline:3px solid #7FB8EE;outline-offset:2px}

/* Cartes et listes */
.carte{background:var(--surface);border:1px solid var(--ligne);border-radius:var(--r);padding:14px}
.liste{display:flex;flex-direction:column;gap:10px}
.ligne{background:var(--surface);border:1px solid var(--ligne);border-radius:var(--r);padding:12px 12px 12px 14px;display:flex;align-items:center;gap:10px}
.ligne .corps{flex:1;min-width:0}
.ligne .t{font-weight:700;font-size:16px;overflow-wrap:anywhere}
.ligne .s{font-size:14px;color:var(--doux);margin-top:3px}
.ligne .m{font-weight:800;font-size:17px;white-space:nowrap}
.vide{text-align:center;color:var(--doux);font-size:15px;padding:18px;border:1.5px dashed var(--ligne);border-radius:var(--r);line-height:1.45}
.jourTitre{font-weight:700;font-size:14px;color:var(--doux);margin-top:6px}
.jourTitre::first-letter{text-transform:uppercase}

/* Vendre */
.recherche{display:flex;align-items:center;gap:8px;background:var(--surface);border:1.5px solid var(--ligne);border-radius:14px;padding:0 14px;min-height:52px}
.recherche input{border:0;outline:0;flex:1;font-weight:500;font-size:17px;font-family:inherit;background:none;color:var(--encre);min-width:0}
.tuiles{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.tuile{background:var(--surface);border:1.5px solid var(--ligne);border-radius:var(--r);padding:12px;text-align:left;cursor:pointer;min-height:104px;
  display:flex;flex-direction:column;gap:6px;color:var(--encre)}
.tuile:active{border-color:var(--vert);background:var(--vert-clair)}
.tuile .t{font-weight:700;font-size:15px;line-height:1.25;overflow-wrap:anywhere}
.tuile .p{font-weight:800;font-size:18px;color:var(--vert-fonce);margin-top:auto}
.pastille{display:inline-flex;align-items:center;gap:4px;font-size:12.5px;font-weight:700;border-radius:999px;padding:3px 9px;align-self:flex-start;white-space:nowrap}
.pastille.ok{background:var(--fond);color:var(--doux)}
.pastille.bas{background:var(--orange-clair);color:var(--orange)}
.pastille.fini{background:var(--rouge-clair);color:var(--rouge)}
.pastille.credit{background:var(--orange-clair);color:var(--orange);white-space:normal}
.pastille.paye{background:var(--vert-clair);color:var(--vert-fonce)}
.resume-jour{display:flex;justify-content:space-between;align-items:center;background:var(--vert);color:#fff;border-radius:var(--r);padding:14px 16px;gap:10px}
.resume-jour .g{font-size:24px;font-weight:800}
.resume-jour .l{font-size:13px;opacity:.92}

/* Formulaires */
label.champ{display:flex;flex-direction:column;gap:6px;font-weight:600;font-size:15px}
.champ input{min-height:54px;border:1.5px solid var(--ligne);border-radius:14px;padding:0 14px;font-weight:600;font-size:18px;font-family:inherit;color:var(--encre);background:var(--surface);width:100%}
.champ input.gros{font-size:28px;font-weight:800;min-height:68px}
.deux{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.deux > *{min-width:0}
.puces{display:flex;flex-wrap:wrap;gap:8px}
.puce{min-height:48px;padding:0 16px;border-radius:999px;border:1.5px solid var(--ligne);background:var(--surface);font-weight:600;font-size:15px;color:var(--encre);cursor:pointer}
.puce[aria-pressed="true"]{background:var(--vert);border-color:var(--vert);color:#fff}
.choix{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.choix button{min-height:58px;border-radius:14px;border:2px solid var(--ligne);background:var(--surface);font-weight:700;font-size:16px;cursor:pointer;color:var(--encre)}
.choix button[aria-pressed="true"].p{border-color:var(--vert);background:var(--vert-clair);color:var(--vert-fonce)}
.choix button[aria-pressed="true"].c{border-color:var(--orange);background:var(--orange-clair);color:var(--orange)}
.compteur{display:flex;align-items:center;justify-content:space-between;background:var(--fond);border-radius:16px;padding:8px}
.compteur button{width:64px;height:64px;border-radius:14px;border:0;background:var(--surface);font-weight:800;font-size:30px;color:var(--encre);cursor:pointer;box-shadow:0 1px 0 var(--ligne)}
.compteur button:active{background:var(--vert-clair)}
.compteur .v{font-size:34px;font-weight:800;text-align:center;width:110px;border:0;background:none;color:var(--encre);font-family:inherit}
.total{display:flex;justify-content:space-between;align-items:baseline;padding:4px 2px}
.total .g{font-size:30px;font-weight:800;color:var(--vert-fonce)}
.avert{background:var(--orange-clair);color:var(--orange-fonce);border-radius:12px;padding:10px 12px;font-size:14px;font-weight:600;line-height:1.4}

/* Stock */
.alerte{display:flex;gap:10px;align-items:center;background:var(--orange-clair);border:1.5px solid var(--orange-bord);border-radius:var(--r);padding:12px 14px;color:var(--orange-fonce);font-weight:600;font-size:15px;line-height:1.4}
.alerte svg{flex:none;width:26px;height:26px;color:var(--orange)}
.produit{background:var(--surface);border:1px solid var(--ligne);border-radius:var(--r);padding:12px 14px;display:flex;flex-direction:column;gap:10px}
.produit.bas{border-color:var(--orange-bord);box-shadow:inset 4px 0 0 var(--orange)}
.produit.fini{border-color:#EDB5AC;box-shadow:inset 4px 0 0 var(--rouge)}
.produit .haut{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}
.produit .reste{text-align:right;flex:none}
.produit .reste .q{font-size:26px;font-weight:800;line-height:1}
.produit .reste .u{font-size:12px;color:var(--doux)}
.produit .actions{display:grid;grid-template-columns:1fr auto;gap:8px}

/* Crédits */
.du{background:var(--orange-clair);border:1.5px solid var(--orange-bord);border-radius:var(--r);padding:16px}
.du .l{color:var(--orange-fonce);font-weight:600;font-size:14px}
.du .g{font-size:30px;font-weight:800;color:var(--orange-fonce)}
.client{cursor:pointer;text-align:left;color:var(--encre);width:100%}
.avatar{width:44px;height:44px;border-radius:50%;background:var(--bleu-clair);color:var(--bleu);display:grid;place-items:center;font-weight:800;font-size:17px;flex:none}
.m.dette{color:var(--orange)}
.m.ajour{color:var(--vert-fonce);font-size:14px}

/* Bilan */
.seg{display:grid;grid-template-columns:1fr 1fr;background:var(--surface);border:1px solid var(--ligne);border-radius:14px;padding:4px;gap:4px}
.seg button{min-height:48px;border-radius:11px;border:0;background:none;font-weight:700;font-size:16px;color:var(--doux);cursor:pointer}
.seg button[aria-pressed="true"]{background:var(--vert);color:#fff}
.benef{background:var(--vert);color:#fff;border-radius:20px;padding:18px}
.benef .l{font-size:15px;opacity:.92;font-weight:600}
.benef .g{font-size:38px;font-weight:800;margin-top:4px;line-height:1.05}
.benef.perte{background:var(--rouge)}
.calc{display:flex;flex-direction:column}
.calc .r{display:flex;justify-content:space-between;align-items:baseline;padding:11px 0;border-bottom:1px solid var(--ligne);font-size:15px;gap:10px}
.calc .r:last-child{border-bottom:0}
.calc .r b{font-size:18px;white-space:nowrap}
.calc .moins b{color:var(--rouge)}

/* Fiche qui monte du bas */
.voile{position:absolute;inset:0;background:rgba(21,48,42,.38);display:flex;align-items:flex-end;z-index:20}
.fiche{background:var(--surface);width:100%;max-height:94%;border-radius:24px 24px 0 0;display:flex;flex-direction:column;animation:monte .22s ease-out}
@keyframes monte{from{transform:translateY(40px);opacity:.4}to{transform:none;opacity:1}}
@media (prefers-reduced-motion:reduce){.fiche{animation:none}}
.fiche .tete{display:flex;align-items:center;gap:10px;padding:16px 16px 10px;border-bottom:1px solid var(--ligne)}
.fiche .tete h2{flex:1;font-size:20px;min-width:0;overflow-wrap:anywhere}
.fiche .contenu{overflow-y:auto;padding:16px 16px calc(20px + env(safe-area-inset-bottom,0px));display:flex;flex-direction:column;gap:14px}

.toast{position:absolute;left:16px;right:16px;bottom:calc(92px + env(safe-area-inset-bottom,0px));background:var(--encre);color:#fff;border-radius:14px;padding:14px 16px;font-weight:600;font-size:15px;z-index:30;display:flex;gap:10px;align-items:center;line-height:1.35}
.toast svg{width:22px;height:22px;color:#6EE3AE;flex:none}
.toast.erreur svg{color:#FFB4A8}

/* Écran d'entrée */
.entree{position:absolute;inset:0;background:var(--surface);z-index:40;display:flex;flex-direction:column;padding:calc(28px + env(safe-area-inset-top,0px)) 20px calc(28px + env(safe-area-inset-bottom,0px));gap:16px;overflow-y:auto}
.logo{width:72px;height:72px;border-radius:20px;background:var(--vert);display:grid;place-items:center;color:#fff;flex:none}
.logo svg{width:40px;height:40px}
.entree h2{font-size:28px}
.etapes{display:flex;gap:6px}
.etapes span{height:6px;flex:1;border-radius:3px;background:var(--ligne)}
.etapes span.on{background:var(--vert)}
.aide{font-size:14px;color:var(--doux);background:var(--fond);border-radius:12px;padding:12px;line-height:1.45}
.aide b{color:var(--encre);user-select:all}
/* Vidéo explicative */
.video-porte{gap:12px;padding-top:calc(18px + env(safe-area-inset-top,0px));padding-bottom:calc(18px + env(safe-area-inset-bottom,0px));align-items:stretch}
.cadre-video{position:relative;flex:1;min-height:0;display:flex;justify-content:center;align-items:center}
.cadre-video video{height:100%;max-width:100%;aspect-ratio:9/16;object-fit:contain;border-radius:18px;background:var(--fond);box-shadow:0 12px 30px rgba(21,48,42,.16)}
.lecture{position:absolute;left:50%;top:50%;width:88px;height:88px;margin:-44px 0 0 -44px;border-radius:50%;border:0;background:var(--vert);color:#fff;display:grid;place-items:center;cursor:pointer;box-shadow:0 10px 30px rgba(11,138,87,.45)}
.lecture svg{width:42px;height:42px;margin-left:5px}
.barre-video{height:6px;border-radius:3px;background:var(--ligne);overflow:hidden}
.barre-video span{display:block;height:100%;width:0;background:var(--vert);border-radius:3px}
.guide{margin:0;padding:0;list-style:none;counter-reset:g;display:flex;flex-direction:column;gap:12px}
.guide li{counter-increment:g;display:grid;grid-template-columns:40px 1fr;gap:2px 12px;align-items:start;background:var(--fond);border-radius:14px;padding:12px}
.guide li::before{content:counter(g);grid-row:span 2;width:40px;height:40px;border-radius:50%;background:var(--vert);color:#fff;display:grid;place-items:center;font-weight:800;font-size:18px}
.guide li b{font-size:16px}
.guide li span{font-size:14.5px;color:var(--doux);line-height:1.4}
.premiers{display:flex;flex-direction:column;gap:8px;border-color:#B9E2CC;background:linear-gradient(180deg,#F4FBF7,#FFFFFF)}
.pas{display:flex;align-items:center;gap:12px;min-height:50px;border:1.5px solid var(--ligne);border-radius:12px;background:var(--surface);padding:0 12px;font-weight:600;font-size:15px;color:var(--encre);cursor:pointer;text-align:left}
.pas.fait{color:var(--doux);text-decoration:line-through;background:var(--fond);cursor:default}
.rond-pas{width:26px;height:26px;border-radius:50%;border:2px solid var(--vert);display:grid;place-items:center;flex:none;color:#fff}
.pas.fait .rond-pas{background:var(--vert)}
.rond-pas svg{width:16px;height:16px}
.reglage{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--ligne)}
.reglage:last-child{border-bottom:0}
.reglage .corps{flex:1;min-width:0}
.rappel{display:flex;gap:10px;align-items:center;background:var(--bleu-clair);border:1.5px solid #B9D4EE;border-radius:var(--r);padding:12px 14px;color:#174E82;font-weight:600;font-size:15px;line-height:1.4}
.rappel .btn{width:auto;min-height:44px;font-size:15px;flex:none;padding:0 14px}

/* Accès : bandeau sous l'en-tête (fin proche en bleu clair, accès fini en orange clair) et offres */
.bandeau-acces{display:flex;gap:10px;align-items:center;background:var(--bleu-clair);border-bottom:1.5px solid #B9D4EE;padding:10px max(16px, env(safe-area-inset-right,0px)) 10px max(16px, env(safe-area-inset-left,0px));color:#174E82;font-weight:600;font-size:14.5px;line-height:1.4}
.bandeau-acces.fini{background:var(--orange-clair);border-bottom-color:var(--orange-bord);color:var(--orange-fonce)}
.bandeau-acces .btn{width:auto;min-height:44px;font-size:15px;flex:none;padding:0 14px}
.offres{display:flex;flex-direction:column;gap:10px}
.offre{display:grid;grid-template-columns:1fr auto;align-items:center;gap:2px 12px;text-align:left;border:2px solid var(--ligne);border-radius:var(--r);background:var(--surface);padding:14px 16px;cursor:pointer;color:var(--encre);font-family:inherit}
.offre .d{font-weight:800;font-size:18px}
.offre .p{font-weight:800;font-size:18px;color:var(--vert-fonce);grid-row:span 2;align-self:center}
.offre .s{font-size:13.5px;color:var(--doux)}
.offre[aria-pressed="true"]{border-color:var(--vert);background:var(--vert-clair);box-shadow:0 0 0 1px var(--vert) inset}

/* Boutique partagée : bandeau des demandes et alertes (vert clair), code secret, interrupteur, attente */
.bandeau-acces.partage{background:var(--vert-clair);border-bottom-color:#B9E2CC;color:var(--vert-fonce)}
.code-pin{font-size:28px;letter-spacing:12px;text-align:center;font-weight:800}
.ligne.tel{align-items:flex-start}
.ligne.tel .t{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.interrupteur{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;margin-top:10px;padding:10px 12px;border:1.5px solid var(--ligne);border-radius:12px;background:var(--surface);font:inherit;font-size:14.5px;font-weight:600;color:var(--encre);cursor:pointer;text-align:left}
.bascule{position:relative;flex:none;width:46px;height:28px;border-radius:14px;background:#CBD6D1;transition:background .2s}
.bascule::after{content:"";position:absolute;top:3px;left:3px;width:22px;height:22px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.2);transition:transform .2s}
.interrupteur[aria-pressed="true"] .bascule{background:var(--vert)}
.interrupteur[aria-pressed="true"] .bascule::after{transform:translateX(18px)}
.attente-anim{display:flex;align-items:center;gap:10px;justify-content:center;color:var(--doux);font-weight:600;font-size:15px}
.attente-anim span{width:18px;height:18px;border-radius:50%;border:3px solid var(--vert-clair);border-top-color:var(--vert);animation:tourne 1s linear infinite}
@keyframes tourne{to{transform:rotate(360deg)}}

/* Cassé ou abîmé */
.choix button.k{grid-column:1/-1;min-height:50px;font-size:15px}
.choix button[aria-pressed="true"].k{border-color:var(--orange);background:var(--orange-clair);color:var(--orange-fonce)}
.btn.orange{background:var(--orange);color:#fff}
.btn.orange:active{background:var(--orange-fonce)}
.ligne.compte{cursor:text}
.ligne.compte input{width:92px;flex:none;min-height:50px;border:1.5px solid var(--ligne);border-radius:12px;font:inherit;font-size:20px;font-weight:800;text-align:center;color:var(--encre);background:var(--fond)}
.ligne.compte input:focus{outline:none;border-color:var(--vert);background:var(--surface)}

/* Photo du cahier et vocal (IA) */
.boutons-ia{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.boutons-ia .btn,.btn.avec-ico{font-size:15px;min-height:52px;gap:8px;padding:0 10px;line-height:1.2}
.boutons-ia .btn:only-child{grid-column:1/-1}
.boutons-ia svg,.btn.avec-ico svg{width:22px;height:22px;flex:none;color:var(--vert)}
.micro{display:grid;place-items:center;width:120px;height:120px;margin:10px auto 0;border-radius:50%;border:0;background:var(--vert);color:#fff;cursor:pointer;box-shadow:0 8px 24px rgba(11,138,87,.3)}
.micro svg{width:52px;height:52px}
.micro.en-cours{background:var(--rouge);box-shadow:0 0 0 0 rgba(194,59,42,.5);animation:ecoute 1.3s ease-out infinite}
@keyframes ecoute{0%{box-shadow:0 0 0 0 rgba(194,59,42,.45)}100%{box-shadow:0 0 0 26px rgba(194,59,42,0)}}
.micro-etat{text-align:center;font-weight:700;font-size:16px;color:var(--encre)}
.ia-attente{display:flex;flex-direction:column;align-items:center;gap:10px;padding:26px 0;text-align:center}
.ia-attente .attente-anim span{width:34px;height:34px;border-width:4px}
.ligne.ia{align-items:flex-start}
.ligne.ia.a-voir{border-color:var(--orange-bord);box-shadow:inset 4px 0 0 var(--orange)}
.s.manque{color:var(--orange-fonce);font-weight:700}
.choix-pays{width:100%;min-height:52px;border:1.5px solid var(--ligne);border-radius:12px;padding:0 12px;font:inherit;font-size:16px;background:var(--surface);color:var(--encre)}

/* Écran « Prolonger mon accès » : prix de lancement, offre recommandée */
.promo{position:relative;overflow:hidden;border-radius:18px;padding:16px 16px 14px;background:linear-gradient(135deg,#FFF6E9 0%,#FFEFD9 55%,#E8F7EF 100%);border:1.5px solid #F6D5A8;color:var(--encre)}
.promo::after{content:"";position:absolute;right:-30px;top:-30px;width:110px;height:110px;border-radius:50%;background:radial-gradient(circle,rgba(217,112,10,.16),rgba(217,112,10,0) 70%)}
.promo-haut{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.promo-haut b{font-size:19px;font-weight:800;letter-spacing:-.2px}
.promo-pastille{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:999px;background:var(--orange);color:#fff;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.4px}
.promo-pastille::before{content:"";width:7px;height:7px;border-radius:50%;background:#fff;animation:clignote 1.6s ease-in-out infinite}
@keyframes clignote{50%{opacity:.25}}
.promo p{margin:8px 0 0;font-size:14.5px;line-height:1.45;color:#5A3A12;position:relative;z-index:1}
.promo-fin{margin-top:12px;font-size:12.5px;font-weight:700;color:var(--orange-fonce);text-transform:uppercase;letter-spacing:.4px}
.promo-compte{display:flex;gap:8px;margin-top:6px}
.promo-compte span{display:flex;align-items:baseline;gap:2px;min-width:62px;justify-content:center;padding:8px 10px;border-radius:12px;background:#fff;border:1px solid #F3C894;font-size:13px;font-weight:700;color:var(--orange-fonce)}
.promo-compte b{font-size:22px;font-weight:800;color:var(--encre)}
.offres{gap:12px}
.offre{position:relative;transition:border-color .15s,background .15s,transform .15s}
.offre:active{transform:scale(.99)}
.offre.recommandee{border-color:#9ED9BB;padding-top:22px;box-shadow:0 6px 18px rgba(11,138,87,.12)}
.offre .etiquette{position:absolute;top:-11px;left:14px;padding:3px 10px;border-radius:999px;background:var(--vert);color:#fff;font-size:12px;font-weight:800;letter-spacing:.2px;box-shadow:0 2px 6px rgba(11,138,87,.3)}
.paiement-sur{text-align:center;font-weight:600}
.promo,.offres,.offre,.paiement-sur{flex-shrink:0}
.offre .p{display:flex;flex-direction:column;align-items:flex-end;line-height:1.15}
.offre .p s{font-size:13px;font-weight:600;color:#9AA8A2;text-decoration-thickness:1.5px}
.offre .eco{color:var(--orange-fonce);font-weight:800}
.jauge{margin-top:12px;position:relative;z-index:1}
.jauge-texte{display:flex;justify-content:space-between;align-items:baseline;font-size:13.5px;font-weight:600;color:#5A3A12}
.jauge-texte b{font-size:17px;color:var(--encre)}
.jauge-texte .reste{color:var(--orange-fonce);font-weight:800}
.jauge-barre{margin-top:6px;height:10px;border-radius:999px;background:#fff;border:1px solid #F3C894;overflow:hidden}
.jauge-barre span{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#F2A54A,var(--orange));transition:width .6s ease}

/* Bannière du prix de lancement (en haut de l'appli) */
.bandeau-promo{display:flex;align-items:stretch;gap:0;background:linear-gradient(100deg,#FFF3E2 0%,#FFE9CF 60%,#E6F6EE 100%);border-bottom:1.5px solid #F3C894}
.promo-lien{flex:1;min-width:0;display:flex;align-items:center;gap:12px;border:0;background:none;padding:10px 6px 10px max(16px, env(safe-area-inset-left,0px));cursor:pointer;text-align:left;font:inherit;color:var(--encre)}
.promo-icone{flex:none;width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:#fff;font-size:21px;box-shadow:0 2px 8px rgba(217,112,10,.18)}
.promo-textes{display:flex;flex-direction:column;gap:2px;min-width:0}
.promo-textes b{font-size:15px;font-weight:800;color:var(--orange-fonce)}
.promo-textes span{font-size:13px;color:#5A3A12;line-height:1.35}
.promo-fleche{flex:none;margin-left:auto;padding:8px 14px;border-radius:999px;background:var(--vert);color:#fff;font-weight:800;font-size:14px;box-shadow:0 3px 10px rgba(11,138,87,.25)}
.promo-croix{flex:none;width:44px;border:0;background:none;color:#8A6A44;cursor:pointer;display:grid;place-items:center;padding-right:max(6px, env(safe-area-inset-right,0px))}
.promo-croix svg{width:18px;height:18px}

/* Version 2 (maquette validée par Aimé le 15/11/2026) : bannière orange et écran « Prolonger mon accès » */
.bandeau-promo{background:#FFF1E0;border-bottom:1.5px solid #F3C894;align-items:center}
.promo2-lien{flex:1;min-width:0;display:flex;align-items:center;gap:12px;border:0;background:none;padding:10px 4px 10px max(16px, env(safe-area-inset-left,0px));cursor:pointer;text-align:left;font:inherit;color:var(--encre)}
.promo2-icone{flex:none;width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:#fff;color:var(--orange);border:1px solid #F3C894}
.promo2-textes{display:flex;flex-direction:column;gap:2px;min-width:0}
.promo2-textes>b{font-size:15.5px;font-weight:800;color:var(--orange-fonce);line-height:1.25}
.promo2-textes>span{font-size:14px;color:#5A3A12;line-height:1.3}
.promo2-textes>span b{color:var(--encre);font-weight:800}
.promo2-textes s{color:#8E7A64}
.promo2-bouton{flex:none;margin-left:auto;padding:10px 14px;border-radius:999px;background:var(--orange);color:#fff;font-weight:800;font-size:14px;white-space:nowrap}
.bandeau-promo .promo-croix{width:38px;min-height:44px}

.boutique2{flex-shrink:0;background:var(--vert-clair);border-radius:18px;padding:16px;display:flex;flex-direction:column;gap:10px}
.boutique2-titre{font-size:13px;font-weight:800;color:var(--vert-fonce);text-transform:uppercase;letter-spacing:.4px}
.boutique2-chiffres{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.boutique2-chiffres div{background:#fff;border-radius:12px;padding:10px 6px;text-align:center;display:flex;flex-direction:column;gap:2px}
.boutique2-chiffres b{font-size:22px;font-weight:800}
.boutique2-chiffres span{font-size:12.5px;color:#3F5A52}
.boutique2 p{margin:0;font-size:15px;line-height:1.45}

.promo2{flex-shrink:0;border:1.5px solid #F3C894;background:#FFF6EA;border-radius:18px;padding:14px 16px;display:flex;flex-direction:column;gap:10px}
.promo2-haut{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.promo2-fin{font-size:14px;font-weight:800;color:var(--orange-fonce)}
.promo2 .jauge-barre{margin-top:0}
.promo2 p{margin:0;font-size:14px;color:#5A3A12}

.offres2{flex-shrink:0;display:flex;flex-direction:column;gap:14px;padding-top:4px}
.offre2{position:relative;flex-shrink:0;text-align:left;border:2px solid var(--ligne);background:var(--surface);border-radius:18px;padding:16px;display:flex;flex-direction:column;gap:8px;font:inherit;color:var(--encre);cursor:pointer;transition:border-color .15s,background .15s,box-shadow .15s}
.offre2.phare{padding-top:22px}
.offre2[aria-pressed="true"]{border-color:var(--vert);background:#F2FAF6;box-shadow:0 8px 22px rgba(11,138,87,.14)}
.offre2 .etiquette{position:absolute;top:-12px;left:16px;padding:4px 12px;border-radius:999px;background:var(--vert);color:#fff;font-size:12.5px;font-weight:800}
.offre2-ligne{display:flex;justify-content:space-between;align-items:baseline;gap:10px;width:100%}
.offre2-duree{font-size:19px;font-weight:800}
.offre2.phare .offre2-duree{font-size:20px}
.offre2-prix{font-size:21px;font-weight:800;color:var(--vert-fonce)}
.offre2.phare .offre2-prix{font-size:22px}
.offre2 s{font-size:14px;color:#8A9C95}
.offre2-ligne.petite{font-size:14.5px;color:#3F5A52}
.offre2-ligne.petite b{color:var(--encre)}
.offre2 .eco{color:var(--orange-fonce);font-weight:800;white-space:nowrap}
.payer2{flex-shrink:0;min-height:58px;font-size:17px;box-shadow:0 8px 20px rgba(11,138,87,.28)}
.paiement-sur2{flex-shrink:0;margin:0;display:flex;align-items:center;justify-content:center;gap:8px;font-size:14px;font-weight:600;color:#3F5A52}
