/* DA « papier » : à rebours des codes de l'IA générique (pas de dégradé, pas de lueur, pas de verre flou, pas d'orbe).
   Papier chaud, encre noire, un seul vermillon, angles nets, filets fins, typographie éditoriale.
   Serif : Instrument Serif · texte : Instrument Sans · données : JetBrains Mono. */
html.edito {
  --bg: #F1EEE6; --bg2: #E9E5DA;
  --verre: #FBFAF6; --verre2: #E6E1D5; --trait: rgba(17,17,17,.14);
  --texte: #111111; --doux: #6E6A60; --pale: #A8A397;
  --acc: #FF4A1C; --acc2: #0F7B4F; --alerte: #B4570A;
  --encre: #111111; --vermillon: #FF4A1C;
}
html.edito body { font-family: "Instrument Sans", system-ui, sans-serif; background: #E4DFD3; }
@media (min-width: 640px) { html.edito body { background: #D9D3C5; } html.edito #cadre { box-shadow: 0 0 0 10px #111, 0 30px 80px rgba(0,0,0,.25); } }
html.edito #cadre { background: var(--bg); }
/* grain de papier, très léger */
html.edito #cadre::before { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
html.edito .aurore { display: none; }
html.edito .mono { font-family: "JetBrains Mono", monospace; color: var(--doux); letter-spacing: .04em; }
html.edito .num { font-variant-numeric: tabular-nums lining-nums; }

/* Titres éditoriaux */
html.edito .titre, html.edito .question, html.edito .salut h1 { font-family: "Instrument Serif", serif; font-weight: 400; letter-spacing: -.02em; line-height: .98; }
html.edito .titre { font-size: 46px; }
html.edito .question { font-size: 38px; }
html.edito .salut h1 { font-size: 38px !important; }
html.edito .titre em, html.edito .salut h1 em { font-style: italic; background: none; -webkit-background-clip: initial; background-clip: initial; color: var(--vermillon); animation: none; }
html.edito .gros { font-family: "Instrument Serif", serif; font-weight: 400; letter-spacing: -.02em; font-size: 46px; }
html.edito .logo { font-family: "Instrument Serif", serif; font-weight: 400; font-size: 30px; letter-spacing: -.02em; }
html.edito .logo b { color: var(--vermillon); }

/* Surfaces : papier blanc, filet fin, angles nets */
html.edito .verre { background: var(--verre); border: 1px solid var(--trait); border-radius: 6px; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: 0 1px 0 rgba(17,17,17,.04); }
html.edito .rond { background: transparent; border: 1px solid var(--encre); border-radius: 6px; }
html.edito .btn { background: var(--encre); color: var(--bg); border-radius: 6px; height: 58px; font-weight: 600; letter-spacing: -.005em; }
html.edito .btn::after { display: none; }
html.edito .btn:active { transform: translateY(1px); }
html.edito .btn.fantome { background: transparent; color: var(--encre); border: 1px solid var(--encre); }
html.edito .garantie { color: var(--encre); background: transparent; border: 1px solid var(--encre); border-radius: 4px; font-family: "JetBrains Mono", monospace; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; }
html.edito .ok { color: var(--acc2); }
html.edito .flotte-carte.a { transform: translateX(-50%) rotate(-2deg); animation: none; }
html.edito .flotte-carte.b { transform: translateX(-50%) rotate(1.5deg); animation: none; background: var(--vermillon); border-color: var(--vermillon); color: #fff; }
html.edito .flotte-carte.b .pastille { color: #fff !important; }
html.edito .flotte-carte.b div div { color: #fff !important; }

/* Accueil */
html.edito .orbe-zone { height: 230px; }
html.edito .salut { margin-top: 0; text-align: left; }
html.edito .salut p { color: var(--doux); }
html.edito .puce { background: transparent; border: 1px solid var(--encre); border-radius: 4px; font-size: 13px; }
html.edito .section-t { border-bottom: 1px solid var(--encre); padding-bottom: 8px; margin-left: 0; margin-right: 0; }
html.edito .section-t b { font-family: "Instrument Serif", serif; font-weight: 400; font-size: 24px; }
html.edito .h-item { border-radius: 0; background: transparent; border: 0; border-bottom: 1px dashed var(--trait); padding: 14px 2px; box-shadow: none; }
html.edito .h-item .mt { font-family: "JetBrains Mono", monospace; font-size: 14px; }
html.edito .h-item .mt small { color: var(--acc2); }
html.edito .vide { border: 1px dashed var(--pale); border-radius: 4px; }
html.edito .pastille { border-radius: 4px !important; }
html.edito .pastille::before { opacity: .1; }
html.edito .saisie-bas { background: linear-gradient(to top, var(--bg) 70%, rgba(241,238,230,0)); }
html.edito .champ { background: #FBFAF6; border: 1px solid var(--encre); border-radius: 6px; backdrop-filter: none; box-shadow: 4px 4px 0 var(--encre); }
html.edito .champ:focus-within { border-color: var(--encre); box-shadow: 4px 4px 0 var(--vermillon); }
html.edito .champ textarea, html.edito .saisie textarea { font-family: "Instrument Sans", sans-serif; color: var(--encre); }
html.edito .envoyer { background: var(--vermillon); color: #fff; border-radius: 4px; }

/* Chat */
html.edito .chat-tete { background: linear-gradient(to bottom, var(--bg) 75%, rgba(241,238,230,0)); }
html.edito .chat-tete .qui b { font-family: "Instrument Serif", serif; font-weight: 400; font-size: 24px; }
html.edito .chat-tete .qui b i { color: var(--vermillon); }
html.edito .chat-tete .qui span { font-family: "JetBrains Mono", monospace; font-size: 10.5px; text-transform: uppercase; letter-spacing: .05em; }
html.edito .chat-tete .qui span::before { background: var(--acc2); box-shadow: none; border-radius: 0; }
html.edito .mini-orbe { background: var(--encre); border-radius: 4px; animation: none; filter: none; display: grid; place-items: center; }
html.edito .mini-orbe::after { inset: auto; width: 10px; height: 10px; border-radius: 0; background: var(--vermillon); }
html.edito .mini-orbe.pense::after { animation: clignote .5s steps(2) infinite; }
@keyframes clignote { 50% { opacity: 0; } }
html.edito .mini-orbe.pense { box-shadow: none; }
html.edito .bulle { border-radius: 6px; font-size: 15.5px; }
html.edito .bulle.moi { background: var(--encre); color: var(--bg); border-bottom-right-radius: 0; }
html.edito .bulle.ia { background: #FBFAF6; border: 1px solid var(--trait); border-bottom-left-radius: 0; color: var(--encre); }
html.edito .ecrit i { background: var(--encre) !important; border-radius: 0; width: 6px; height: 6px; }
html.edito .rapides button { border: 1px solid var(--encre); color: var(--encre); background: transparent; border-radius: 4px; }
html.edito .carte-rech { font-family: "JetBrains Mono", monospace; }
html.edito .carte-rech .lr { font-size: 12px; border-bottom: 1px dotted var(--pale); }
html.edito .barre-prog { border-radius: 0; height: 4px; background: var(--verre2); }
html.edito .barre-prog i { background: var(--encre); border-radius: 0; }
html.edito .offre { border: 1px solid var(--encre) !important; border-radius: 6px !important; box-shadow: 6px 6px 0 var(--encre); }
html.edito .offre .t b { font-family: "Instrument Serif", serif; font-weight: 400; font-size: 24px; }
html.edito .offre .t .gros { font-size: 34px; }
html.edito .offre .ol { border-top: 1px dotted var(--pale); font-size: 13.5px; }
html.edito .offre .ol b { font-family: "JetBrains Mono", monospace; font-weight: 500; font-size: 13px; }

/* Ajuster */
html.edito .item { border-radius: 6px; }
html.edito .item .prix { font-family: "JetBrains Mono", monospace; font-weight: 500; font-size: 15px; }
html.edito .tag { font-family: "JetBrains Mono", monospace; border-radius: 2px; background: transparent; border: 1px solid currentColor; color: var(--doux); }
html.edito .tag.Obligatoire, html.edito .tag.Formalité { color: var(--vermillon); background: transparent; }
html.edito .tag.Oubli { color: #2B3BFF; background: transparent; }
html.edito .why svg { color: var(--vermillon); }
html.edito .seg { background: transparent; border: 1px solid var(--encre); border-radius: 4px; padding: 2px; }
html.edito .seg .curseur { background: var(--encre); border-radius: 2px; }
html.edito .seg button.on { color: var(--bg); }
html.edito .inter { border-radius: 3px; background: var(--verre2); }
html.edito .inter::after { border-radius: 2px; background: #fff; box-shadow: 0 0 0 1px var(--trait); }
html.edito .inter.on { background: var(--encre); }
html.edito .inter.on::after { background: var(--vermillon); box-shadow: none; }
html.edito .eco { color: var(--acc2); background: transparent; border: 1px solid currentColor; border-radius: 2px; font-family: "JetBrains Mono", monospace; font-size: 10.5px; }
html.edito .eco.trop { color: var(--vermillon); }
html.edito .barre-payer { background: linear-gradient(to top, var(--bg) 72%, rgba(241,238,230,0)); }

/* Achat : carte plate, couleur pleine */
html.edito .carte { background: var(--vermillon); box-shadow: 8px 8px 0 var(--encre); border-radius: 8px; color: #111; }
html.edito .carte::after { display: none; }
html.edito .carte .puce { background: #111; border-radius: 3px; }
html.edito .carte .type.mono, html.edito .carte .marchand { color: rgba(17,17,17,.75); }
html.edito .carte .numero { font-family: "JetBrains Mono", monospace; }
html.edito .carte .montant { font-family: "Instrument Serif", serif; font-weight: 400; font-size: 34px; }
html.edito .achat { border-radius: 4px; }
html.edito .etat { border-radius: 2px; font-family: "JetBrains Mono", monospace; font-weight: 500; font-size: 10.5px; text-transform: uppercase; background: transparent; border: 1px solid currentColor; }
html.edito .etat.cours { color: var(--vermillon); background: transparent; }
html.edito .etat.cours::before { background: var(--vermillon); border-radius: 0; }
html.edito .etat.paye { color: var(--acc2); background: transparent; }
html.edito .secu svg { color: var(--acc2); }

/* Facture : bords perforés et tampon */
html.edito .facture { border-radius: 2px; box-shadow: 0 18px 40px -20px rgba(17,17,17,.35); position: relative; font-family: "Instrument Sans", sans-serif;
  -webkit-mask: radial-gradient(circle 6px at 50% 0, transparent 98%, #000) 0 0/16px 51% repeat-x, radial-gradient(circle 6px at 50% 100%, transparent 98%, #000) 0 100%/16px 51% repeat-x;
          mask: radial-gradient(circle 6px at 50% 0, transparent 98%, #000) 0 0/16px 51% repeat-x, radial-gradient(circle 6px at 50% 100%, transparent 98%, #000) 0 100%/16px 51% repeat-x; padding-top: 28px; padding-bottom: 28px; }
html.edito .facture .ft .lg { font-family: "Instrument Serif", serif; font-weight: 400; font-size: 34px; letter-spacing: -.02em; }
html.edito .facture .ft .lg i { color: var(--vermillon); }
html.edito .facture td.m, html.edito .facture .totaux div { font-family: "JetBrains Mono", monospace; font-size: 12px; }
html.edito .facture .totaux .grand { font-family: "Instrument Serif", serif; font-size: 26px; font-weight: 400; }
html.edito .facture .tampon { background: transparent; border: 2px solid var(--acc2); border-radius: 3px; transform: rotate(-4deg); text-transform: uppercase; font-family: "JetBrains Mono", monospace; letter-spacing: .04em; animation: tampon .5s cubic-bezier(.34,1.6,.5,1) .6s both; }
@keyframes tampon { from { transform: rotate(-4deg) scale(2.2); opacity: 0; } }
html.edito .coche-anim circle, html.edito .coche-anim path { stroke: var(--acc2); }
html.edito .toast { background: var(--encre); color: var(--bg); border-radius: 4px; }
html.edito .ecran.entre { animation-name: entre-papier; }
@keyframes entre-papier { from { opacity: 0; transform: translateY(14px); } }
html.edito .defile { font-family: "Instrument Serif", serif; font-style: italic; color: var(--vermillon); display: inline-block; }

html.edito .avatar { background: var(--encre); color: var(--bg); border-radius: 4px; font-family: "Instrument Serif", serif; font-weight: 400; font-size: 20px; }
