/*
 * App client « Mon projet » (CL502) : feuille de style de la maquette validée par Phil le 17/11/2026 (Fable), portée telle quelle.
 * Charte LUF : bleu nuit, rouge, trait tricolore d'un seul tenant, Manrope. Aucune ressource extérieure.
 */
@font-face { font-family: Manrope; font-weight: 400 600; font-display: swap; src: url(/mon-projet/polices/Manrope-Medium.ttf) format('truetype'); }
@font-face { font-family: Manrope; font-weight: 700; font-display: swap; src: url(/mon-projet/polices/Manrope-Bold.ttf) format('truetype'); }
@font-face { font-family: Manrope; font-weight: 800; font-display: swap; src: url(/mon-projet/polices/Manrope-ExtraBold.ttf) format('truetype'); }
:root {
  --fond: #f6f3ee; --carte: #ffffff; --creux: #efeae2; --encre: #071c2c; --texte: #33414f; --discret: #5f6b78;
  --trait: #e4ddd2; --rouge: #cf0f26; --rouge-fonce: #b00c20; --bleu: #2f6fe0; --gris: #e8e6e7;
  --vert: #17794a; --vert-doux: #e3f3ea; --ambre: #8a5a00; --ambre-doux: #fdf1d6; --rouge-doux: #fce5e8; --bleu-doux: #e6eefc;
  --nuit: #071c2c; --nuit-2: #0e2c44; --sur-nuit: #c7d3de;
  --ombre: 0 1px 2px rgba(7, 28, 44, .05), 0 8px 24px rgba(7, 28, 44, .06);
  --tri: linear-gradient(90deg, #2f6fe0 0 33.34%, #e8e6e7 33.34% 66.67%, #cf0f26 66.67%);
  --r: 20px;
}
:root[data-theme="nuit"] {
  --fond: #05121c; --carte: #0d2132; --creux: #12293c; --encre: #f4f7fa; --texte: #c9d3dd; --discret: #93a3b3;
  --trait: #1f3548; --rouge: #e02a40; --rouge-fonce: #c41f34; --bleu: #6f9df0;
  --vert: #5fd39a; --vert-doux: #0f3326; --ambre: #f2c265; --ambre-doux: #3a2c0c; --rouge-doux: #3d1219; --bleu-doux: #12294a;
  --nuit: #0a1c2b; --nuit-2: #123049;
  --ombre: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="clair"]) {
    --fond: #05121c; --carte: #0d2132; --creux: #12293c; --encre: #f4f7fa; --texte: #c9d3dd; --discret: #93a3b3;
    --trait: #1f3548; --rouge: #e02a40; --rouge-fonce: #c41f34; --bleu: #6f9df0;
    --vert: #5fd39a; --vert-doux: #0f3326; --ambre: #f2c265; --ambre-doux: #3a2c0c; --rouge-doux: #3d1219; --bleu-doux: #12294a;
    --nuit: #0a1c2b; --nuit-2: #123049;
    --ombre: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
  }
}
html { font-size: 16px; -webkit-text-size-adjust: 100%; }
html[data-texte="grand"] { font-size: 18.5px; }
html[data-texte="tresgrand"] { font-size: 21px; }
* { box-sizing: border-box; margin: 0; -webkit-tap-highlight-color: transparent; }
body { font: 500 1rem/1.5 Manrope, system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif; color: var(--texte); background: var(--creux); -webkit-font-smoothing: antialiased; text-wrap: pretty; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3 { color: var(--encre); letter-spacing: -.02em; line-height: 1.2; text-wrap: balance; }
h1 { font-size: 1.625rem; font-weight: 800; }
h2 { font-size: 1.1875rem; font-weight: 800; }
h3 { font-size: 1rem; font-weight: 700; letter-spacing: -.01em; }
b, strong { font-weight: 700; color: var(--encre); }
.l { display: block; }
:focus-visible { outline: 3px solid var(--bleu); outline-offset: 2px; border-radius: 8px; }

/* ---------- Coque ---------- */
.tel { width: min(100%, 430px); margin: 0 auto; min-height: 100vh; min-height: 100dvh; background: var(--fond); position: relative; display: flex; flex-direction: column; }
.haut { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--fond) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding: calc(env(safe-area-inset-top) + 10px) 16px 10px; display: flex; align-items: center; gap: 10px; min-height: 60px; }
.haut .lf { width: 36px; height: 36px; border-radius: 10px; flex: none; }
.haut .titre { font-weight: 800; color: var(--encre); font-size: 1.0625rem; letter-spacing: -.02em; line-height: 1.15; }
.haut .titre small { display: block; font-weight: 500; font-size: .75rem; color: var(--discret); letter-spacing: 0; }
.haut .pousse { margin-left: auto; display: flex; gap: 8px; }
.rond { width: 44px; height: 44px; border-radius: 50%; background: var(--carte); border: 1px solid var(--trait); display: grid; place-items: center; position: relative; color: var(--encre); flex: none; }
.rond svg { width: 22px; height: 22px; }
.rond .pastille { position: absolute; top: -2px; right: -2px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--rouge); color: #fff; font-size: .6875rem; font-weight: 800; display: grid; place-items: center; padding: 0 5px; border: 2px solid var(--fond); }
.rond.moi { background: var(--nuit); color: #fff; font-weight: 800; border-color: var(--nuit); }
.retour { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: var(--encre); min-height: 44px; padding-right: 10px; }
.retour svg { width: 22px; height: 22px; }
main { flex: 1; padding: 6px 16px calc(env(safe-area-inset-bottom) + 108px); display: flex; flex-direction: column; gap: 16px; animation: entre .28s ease both; }
@keyframes entre { from { opacity: 0; transform: translateY(8px); } }
.onglets { position: fixed; z-index: 30; bottom: 0; left: 50%; transform: translateX(-50%); width: min(100%, 430px); background: color-mix(in srgb, var(--carte) 94%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--trait); display: grid; grid-template-columns: repeat(4, 1fr); padding: 6px 8px calc(env(safe-area-inset-bottom) + 8px); }
.onglets button { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 7px 2px 3px; font-size: .75rem; font-weight: 700; color: var(--discret); border-radius: 12px; position: relative; }
.onglets svg { width: 25px; height: 25px; }
.onglets button.actif { color: var(--encre); }
.onglets button.actif::before { content: ""; position: absolute; top: -6px; left: 32%; right: 32%; height: 3px; border-radius: 0 0 3px 3px; background: var(--ici); }
.onglets .pt { position: absolute; top: 5px; left: calc(50% + 9px); width: 9px; height: 9px; border-radius: 50%; background: var(--rouge); border: 2px solid var(--carte); }
html.capture .haut { position: static; }
html.capture .onglets { position: static; transform: none; width: 100%; }
html.capture main { padding-bottom: 20px; animation: none; }

/* ---------- Briques ---------- */
.carte { background: var(--carte); border-radius: var(--r); padding: 18px; box-shadow: var(--ombre); display: flex; flex-direction: column; gap: 12px; }
.carte.plate { box-shadow: none; border: 1px solid var(--trait); }
.carte.serre { gap: 8px; }
.sur { font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--discret); }
.petit { font-size: .875rem; }
.mini { font-size: .8125rem; color: var(--discret); }
.discret { color: var(--discret); }
.rang { display: flex; align-items: center; gap: 12px; }
.rang > .grand { flex: 1; min-width: 0; }
.pile { display: flex; flex-direction: column; gap: 10px; }
.btn { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; min-height: 54px; padding: 13px 18px; border-radius: 16px; font-weight: 800; font-size: 1.0625rem; letter-spacing: -.01em; text-align: center; line-height: 1.2; background: var(--rouge); color: #fff; box-shadow: 0 6px 16px rgba(207, 15, 38, .25); transition: transform .12s; }
.btn:active { transform: scale(.98); }
.btn svg { width: 21px; height: 21px; flex: none; }
.btn.deux { background: var(--carte); color: var(--encre); border: 1.5px solid var(--trait); box-shadow: none; font-weight: 700; font-size: 1rem; min-height: 50px; }
.btn.nuit { background: var(--nuit); box-shadow: none; }
.btn.vert { background: var(--vert); box-shadow: none; color: #fff; }
:root[data-theme="nuit"] .btn.vert { color: #05121c; }
.btn.fin { min-height: 44px; padding: 9px 14px; font-size: .9375rem; border-radius: 12px; width: auto; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lien { font-weight: 700; color: var(--encre); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--trait); text-decoration-thickness: 2px; min-height: 44px; display: inline-flex; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 5px; font-size: .8125rem; font-weight: 800; line-height: 1; padding: 7px 11px; border-radius: 99px; background: var(--creux); color: var(--encre); white-space: nowrap; }
.badge svg { width: 14px; height: 14px; }
.badge.vous { background: var(--rouge-doux); color: var(--rouge-fonce); }
:root[data-theme="nuit"] .badge.vous { color: #ff8a98; }
.badge.ok { background: var(--vert-doux); color: var(--vert); }
.badge.nous { background: var(--bleu-doux); color: var(--bleu); }
:root:not([data-theme="nuit"]) .badge.nous { color: #1d4fae; }
.badge.attente { background: var(--ambre-doux); color: var(--ambre); }
.note { border-radius: 16px; padding: 14px 14px 14px 46px; position: relative; background: var(--bleu-doux); font-size: .9375rem; color: var(--texte); }
.note > svg { position: absolute; left: 14px; top: 14px; width: 22px; height: 22px; color: var(--bleu); }
.note.vert { background: var(--vert-doux); } .note.vert > svg { color: var(--vert); }
.note.ambre { background: var(--ambre-doux); } .note.ambre > svg { color: var(--ambre); }
.note.rouge { background: var(--rouge-doux); } .note.rouge > svg { color: var(--rouge); }
.sep { border-top: 1px solid var(--trait); }
.ic { width: 44px; height: 44px; border-radius: 14px; background: var(--creux); color: var(--encre); display: grid; place-items: center; flex: none; }
.ic svg { width: 22px; height: 22px; }
.ic.nuit { background: var(--nuit); color: #fff; }
.ic.vert { background: var(--vert-doux); color: var(--vert); }
.ic.rouge { background: var(--rouge-doux); color: var(--rouge); }
.ligne { display: flex; align-items: center; gap: 12px; padding: 12px 0; width: 100%; min-height: 60px; }
.ligne + .ligne { border-top: 1px solid var(--trait); }
.ligne .grand { flex: 1; min-width: 0; }
.ligne .nom { font-weight: 700; color: var(--encre); line-height: 1.3; }
.ligne .chev { width: 20px; height: 20px; color: var(--discret); flex: none; }
.liste { background: var(--carte); border-radius: var(--r); padding: 4px 16px; box-shadow: var(--ombre); }
.tri { height: 4px; width: 54px; border-radius: 2px; background: var(--tri); }

/* ---------- Accueil ---------- */
.bonjour h1 { font-size: 1.75rem; }
.hero { border-radius: 24px; overflow: hidden; background: var(--nuit); color: #fff; box-shadow: var(--ombre); position: relative; }
.hero .photo { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; }
.hero .voile { position: absolute; inset: 0 0 auto 0; aspect-ratio: 16 / 10; background: linear-gradient(180deg, rgba(7, 28, 44, 0) 45%, rgba(7, 28, 44, .92) 100%); }
.hero .etiq { position: absolute; top: 12px; left: 12px; background: rgba(7, 28, 44, .72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; font-size: .75rem; font-weight: 800; padding: 7px 11px; border-radius: 99px; letter-spacing: .02em; }
.hero .corps { padding: 0 18px 18px; margin-top: -34px; position: relative; display: flex; flex-direction: column; gap: 14px; }
.hero h2 { color: #fff; font-size: 1.5rem; }
.hero .tri { width: 100%; height: 4px; border-radius: 0; position: absolute; bottom: 0; left: 0; }
.segments { display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; }
.segments i { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .2); }
.segments i.f { background: #fff; }
.segments i.c { background: #fff; position: relative; overflow: hidden; }
.segments i.c::after { content: ''; position: absolute; inset: 0; background: var(--ici-nuit); width: 50%; left: 50%; }
.hero .ou { display: flex; justify-content: space-between; gap: 10px; font-size: .875rem; color: var(--sur-nuit); font-weight: 700; }
.hero .ou b { color: #fff; }
.action { border-radius: 24px; padding: 20px 18px 18px; background: var(--carte); box-shadow: var(--ombre); display: flex; flex-direction: column; gap: 12px; border: 2px solid var(--rouge); }
.action.calme { border-color: transparent; }
.action h2 { font-size: 1.375rem; }
.tuiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tuile { background: var(--carte); border-radius: var(--r); padding: 16px 14px; box-shadow: var(--ombre); display: flex; flex-direction: column; gap: 10px; min-height: 124px; align-items: flex-start; }
.tuile .nom { font-weight: 800; color: var(--encre); line-height: 1.2; letter-spacing: -.01em; }
.tuile .mini { line-height: 1.35; }
.contact .photo { width: 56px; height: 56px; border-radius: 50%; background: var(--nuit); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.25rem; flex: none; position: relative; }
.contact .photo::after { content: ''; position: absolute; right: 0; bottom: 0; width: 14px; height: 14px; border-radius: 50%; background: #2bb673; border: 3px solid var(--carte); }
.fil .pt { width: 10px; height: 10px; border-radius: 50%; background: var(--vert); margin-top: 7px; flex: none; }
.fil .rang { align-items: flex-start; }

/* ---------- Parcours ---------- */
.frise { display: flex; flex-direction: column; }
.pas { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; padding: 0 0 18px; position: relative; width: 100%; align-items: start; }
.pas::before { content: ''; position: absolute; left: 21px; top: 44px; bottom: 0; width: 2px; background: var(--trait); }
.pas:last-child { padding-bottom: 0; } .pas:last-child::before { display: none; }
.pas.fait::before { background: var(--vert); }
.pas .num { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--creux); color: var(--discret); z-index: 1; }
.pas .num svg { width: 21px; height: 21px; }
.pas.fait .num { background: var(--vert-doux); color: var(--vert); }
.pas.cours .num { background: var(--ici); color: #fff; box-shadow: 0 0 0 5px var(--bleu-doux); }
.pas .nom { font-weight: 800; color: var(--encre); letter-spacing: -.01em; padding-top: 2px; }
.pas.avenir .nom { color: var(--discret); font-weight: 700; }
.pas .chev { width: 20px; height: 20px; color: var(--discret); margin-top: 12px; }
.pas.cours .boite { background: var(--carte); border-radius: 16px; padding: 12px 14px; box-shadow: var(--ombre); margin-top: -4px; }

/* ---------- Étapes ---------- */
.tete { display: flex; flex-direction: column; gap: 10px; }
.tete .rang { flex-wrap: wrap; gap: 8px; }
.montant { font-size: 2.125rem; font-weight: 800; color: var(--encre); letter-spacing: -.03em; line-height: 1.1; }
.montant small { font-size: .875rem; font-weight: 700; color: var(--discret); letter-spacing: 0; }
.bascule { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: var(--creux); border-radius: 14px; padding: 4px; gap: 4px; }
.bascule button { min-height: 44px; border-radius: 11px; font-weight: 700; text-align: center; color: var(--discret); font-size: .9375rem; }
.bascule button.actif { background: var(--carte); color: var(--encre); box-shadow: 0 1px 3px rgba(7, 28, 44, .12); font-weight: 800; }
.champ { border: 1.5px solid var(--trait); border-radius: 14px; padding: 10px 12px 10px 14px; display: flex; align-items: center; gap: 10px; background: var(--carte); }
.champ .grand { flex: 1; min-width: 0; }
.champ .val { font-weight: 800; color: var(--encre); font-size: 1rem; word-break: break-word; }
.champ .val.manque { color: var(--rouge); font-weight: 700; font-size: .875rem; }
.coche { display: flex; gap: 12px; align-items: flex-start; padding: 13px 0; width: 100%; min-height: 56px; }
.coche + .coche { border-top: 1px solid var(--trait); }
.coche .case { width: 30px; height: 30px; border-radius: 10px; border: 2px solid #b9b1a3; flex: none; display: grid; place-items: center; color: transparent; margin-top: 1px; transition: .15s; }
:root[data-theme="nuit"] .coche .case { border-color: #47607a; }
.coche .case svg { width: 18px; height: 18px; stroke-width: 3; }
.coche.oui .case { background: var(--vert); border-color: var(--vert); color: #fff; }
.coche .nom { font-weight: 700; color: var(--encre); line-height: 1.3; }
.coche.oui .nom { color: var(--discret); }
.jauge { height: 8px; border-radius: 4px; background: var(--creux); overflow: hidden; }
.jauge i { display: block; height: 100%; border-radius: 4px; background: var(--vert); transition: width .3s; }
.date { background: var(--nuit); color: #fff; border-radius: 22px; padding: 18px; display: flex; gap: 16px; align-items: center; position: relative; overflow: hidden; }
.date .jour { background: #fff; color: var(--nuit); border-radius: 16px; width: 76px; flex: none; text-align: center; overflow: hidden; font-weight: 800; }
.date .jour em { display: block; font-style: normal; background: var(--rouge); color: #fff; font-size: .75rem; letter-spacing: .06em; padding: 4px 0; text-transform: uppercase; }
.date .jour strong { display: block; font-size: 2rem; line-height: 1.15; color: var(--nuit); font-weight: 800; }
.date .jour span { display: block; font-size: .75rem; padding-bottom: 6px; color: #4a5866; }
.date h2 { color: #fff; font-size: 1.375rem; }
.date p { color: var(--sur-nuit); font-size: .9375rem; }
.plan { border: 1px solid var(--trait); border-radius: 16px; background: #fff; padding: 8px; }
.plan svg { display: block; width: 100%; height: auto; }
details { border-top: 1px solid var(--trait); }
details:first-of-type { border-top: 0; }
summary { list-style: none; display: flex; align-items: center; gap: 10px; min-height: 56px; font-weight: 700; color: var(--encre); cursor: pointer; padding: 8px 0; line-height: 1.3; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ''; margin-left: auto; width: 10px; height: 10px; border-right: 2.5px solid var(--discret); border-bottom: 2.5px solid var(--discret); transform: rotate(45deg); flex: none; transition: .2s; margin-right: 4px; }
details[open] summary::after { transform: rotate(-135deg); }
details p { padding: 0 0 14px; font-size: .9375rem; }
.semaines { display: grid; grid-template-columns: repeat(6, 1fr); gap: 5px; }
.semaines i { height: 34px; border-radius: 9px; background: var(--creux); display: grid; place-items: center; font-style: normal; font-size: .75rem; font-weight: 800; color: var(--discret); }
.semaines i.f { background: var(--vert-doux); color: var(--vert); }
.semaines i.c { background: var(--nuit); color: #fff; }
.atelier { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; text-align: center; }
.atelier div { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: .75rem; font-weight: 700; color: var(--discret); line-height: 1.2; }
.atelier .o { width: 40px; height: 40px; border-radius: 50%; background: var(--creux); display: grid; place-items: center; }
.atelier .o svg { width: 19px; height: 19px; }
.atelier .f .o { background: var(--vert-doux); color: var(--vert); } .atelier .f { color: var(--vert); }
.atelier .c .o { background: var(--nuit); color: #fff; } .atelier .c { color: var(--encre); }

/* ---------- Vidéos ---------- */
.video { display: grid; grid-template-columns: 76px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; width: 100%; }
.video + .video { border-top: 1px solid var(--trait); }
.video .vig { width: 76px; height: 56px; border-radius: 12px; background: var(--nuit) center / cover; position: relative; display: grid; place-items: center; color: #fff; overflow: hidden; }
.video .vig svg { width: 22px; height: 22px; position: relative; }
.video .vig::before { content: ''; position: absolute; inset: 0; background: rgba(7, 28, 44, .45); }
.video.vue .vig::before { background: rgba(23, 121, 74, .78); }
.video .n { font-size: .75rem; font-weight: 800; color: var(--discret); letter-spacing: .04em; }
.lecteur { background: #000; border-radius: 22px; overflow: hidden; position: relative; aspect-ratio: 9 / 16; height: min(56vh, 520px); margin: 0 auto; }
.lecteur img { width: 100%; height: 100%; object-fit: cover;  }
.lecteur .fili { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255, 255, 255, .34); font-weight: 800; font-size: 1.125rem; letter-spacing: .08em; transform: rotate(-18deg); pointer-events: none; text-shadow: 0 1px 2px rgba(0, 0, 0, .25); }
.lecteur .jouer { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 78px; height: 78px; border-radius: 50%; background: rgba(255, 255, 255, .94); color: var(--nuit); display: grid; place-items: center; }
.lecteur .jouer svg { width: 34px; height: 34px; margin-left: 4px; }
.lecteur .barre { position: absolute; left: 14px; right: 14px; bottom: 14px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .35); }
.lecteur .barre i { display: block; width: 34%; height: 100%; background: #fff; border-radius: 3px; }

/* ---------- Feuille, toast, formulaire ---------- */
.fond { position: fixed; inset: 0; z-index: 50; background: rgba(4, 14, 22, .55); display: flex; align-items: flex-end; justify-content: center; animation: fondu .2s both; }
@keyframes fondu { from { opacity: 0; } }
.feuille { width: min(100%, 430px); max-height: 88vh; overflow: auto; background: var(--fond); border-radius: 26px 26px 0 0; padding: 10px 18px calc(env(safe-area-inset-bottom) + 22px); display: flex; flex-direction: column; gap: 14px; animation: monte .28s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes monte { from { transform: translateY(40px); opacity: 0; } }
.feuille .poignee { width: 42px; height: 5px; border-radius: 3px; background: var(--trait); align-self: center; margin-bottom: 4px; flex: none; }
.toast { position: fixed; z-index: 60; left: 50%; bottom: calc(env(safe-area-inset-bottom) + 104px); transform: translateX(-50%); background: var(--nuit); color: #fff; font-weight: 700; padding: 13px 18px; border-radius: 16px; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); display: flex; gap: 9px; align-items: center; width: max-content; max-width: min(92vw, 400px); animation: monte .25s both; border: 1px solid rgba(255, 255, 255, .12); }
.toast svg { width: 20px; height: 20px; color: #6fe0a6; flex: none; }
label.saisie { display: flex; flex-direction: column; gap: 6px; font-weight: 700; color: var(--encre); font-size: .9375rem; }
.saisie input, .saisie textarea { font: inherit; font-weight: 500; font-size: 1.0625rem; color: var(--encre); background: var(--carte); border: 1.5px solid var(--trait); border-radius: 14px; padding: 14px; min-height: 54px; width: 100%; }
.saisie textarea { min-height: 96px; resize: vertical; }
.puces { display: flex; flex-wrap: wrap; gap: 8px; }
.puce { min-height: 44px; padding: 9px 14px; border-radius: 99px; border: 1.5px solid var(--trait); background: var(--carte); font-weight: 700; color: var(--encre); font-size: .9375rem; }
.puce.actif { background: var(--nuit); border-color: var(--nuit); color: #fff; }
.photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.photos > * { aspect-ratio: 1; border-radius: 14px; background: var(--creux) center / cover; display: grid; place-items: center; color: var(--discret); border: 1.5px dashed #b9b1a3; font-size: .75rem; font-weight: 700; text-align: center; }
.photos > .p { border: 0; }
.photos svg { width: 24px; height: 24px; margin: 0 auto 4px; display: block; }
.inter { width: 54px; height: 32px; border-radius: 16px; background: #b9b1a3; position: relative; flex: none; transition: .2s; }
.inter::after { content: ''; position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%; background: #fff; transition: .2s; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); }
.inter.oui { background: var(--vert); } .inter.oui::after { left: 25px; }
:root[data-theme="nuit"] .inter:not(.oui) { background: #3a5269; }

/* ---------- Accueil de bienvenue, connexion, états ---------- */
.plein { flex: 1; display: flex; flex-direction: column; padding: calc(env(safe-area-inset-top) + 18px) 22px calc(env(safe-area-inset-bottom) + 22px); gap: 18px; background: var(--nuit); color: var(--sur-nuit); min-height: 100vh; min-height: 100dvh; animation: entre .3s both; }
html.capture .plein { min-height: 844px; }
.plein h1 { color: #fff; font-size: 1.875rem; }
.plein p { font-size: 1.0625rem; }
.plein .visuel { border-radius: 24px; overflow: hidden; position: relative; }
.plein .visuel img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.plein .bas { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
.plein .btn.deux { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .28); }
.points { display: flex; gap: 6px; justify-content: center; }
.points i { width: 8px; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .28); transition: .2s; }
.points i.a { width: 24px; background: #fff; }
.notif { background: rgba(255, 255, 255, .13); border: 1px solid rgba(255, 255, 255, .14); border-radius: 20px; padding: 12px 14px; display: flex; gap: 11px; color: #fff; backdrop-filter: blur(10px); }
.notif img { width: 40px; height: 40px; border-radius: 10px; flex: none; }
.notif .t { font-weight: 800; font-size: .9375rem; line-height: 1.25; display: flex; justify-content: space-between; gap: 8px; }
.notif .t span { font-weight: 500; font-size: .75rem; color: var(--sur-nuit); white-space: nowrap; }
.notif .x { font-size: .875rem; color: #e3eaf0; line-height: 1.35; }
.geste { display: flex; gap: 14px; align-items: center; background: rgba(255, 255, 255, .08); border-radius: 18px; padding: 14px; color: #fff; }
.geste .n { width: 34px; height: 34px; border-radius: 50%; background: #fff; color: var(--nuit); font-weight: 800; display: grid; place-items: center; flex: none; }
.geste .k { margin-left: auto; width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, .14); display: grid; place-items: center; flex: none; }
.geste .k svg { width: 22px; height: 22px; }
.geste b { color: #fff; }
.code { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.code i { height: 62px; border-radius: 14px; background: rgba(255, 255, 255, .1); border: 1.5px solid rgba(255, 255, 255, .22); display: grid; place-items: center; font-style: normal; font-size: 1.625rem; font-weight: 800; color: #fff; }
.code i.a { border-color: #fff; }
.vide { align-items: center; text-align: center; padding: 34px 22px; gap: 14px; }
.vide .gros { width: 84px; height: 84px; border-radius: 28px; background: var(--creux); display: grid; place-items: center; color: var(--encre); }
.vide .gros svg { width: 38px; height: 38px; }
.confettis { position: fixed; inset: 0; pointer-events: none; z-index: 70; overflow: hidden; }
.confettis i { position: absolute; top: -20px; width: 9px; height: 16px; border-radius: 2px; animation: tombe 2.4s linear forwards; }
@keyframes tombe { to { transform: translateY(110vh) rotate(720deg); opacity: .9; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
@media (min-width: 700px) { body { padding: 24px 0; } .tel { min-height: calc(100vh - 48px); border-radius: 36px; overflow: hidden; box-shadow: 0 30px 80px rgba(7, 28, 44, .25); } .onglets { bottom: 24px; border-radius: 0 0 36px 36px; } html.capture body { padding: 0; } html.capture .tel { border-radius: 0; box-shadow: none; } }
.chev { width: 20px; height: 20px; flex: none; color: var(--discret); }
button.carte, button.tuile { width: 100%; }
.champ .btn { flex: none; }
.duo .btn { padding-left: 8px; padding-right: 8px; font-size: .9375rem; gap: 7px; white-space: nowrap; }
summary { text-wrap: balance; }
.petit .chev, .pile .chev { color: var(--vert); margin-top: 1px; }
.pile .rang { align-items: flex-start; }
.contact .logo { width: 56px; height: 56px; border-radius: 15px; flex: none; }
.guide { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; align-items: start; }
.guide .g { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.guide .g b { font-size: .8125rem; line-height: 1.25; margin-top: 4px; }
.guide .g .mini { font-size: .75rem; line-height: 1.3; }
.guide input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.guide .vue { aspect-ratio: 1; border-radius: 14px; background: var(--creux) center / cover; border: 1.5px dashed #b9b1a3; display: grid; place-items: center; color: var(--encre); font-size: .75rem; font-weight: 800; text-align: center; cursor: pointer; position: relative; overflow: hidden; }
.guide .vue svg { width: 24px; height: 24px; margin: 0 auto 4px; display: block; }
.guide .vue.p { border: 0; }
.guide .vue .re { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(7, 28, 44, .78); color: #fff; padding: 5px 2px; display: flex; align-items: center; justify-content: center; gap: 4px; font-size: .6875rem; }
.guide .vue .re svg { width: 13px; height: 13px; margin: 0; }
.guide label.lien { min-height: 32px; position: relative; cursor: pointer; }
.cal { display: flex; flex-direction: column; gap: 8px; }
.cal .entete, .cal .sem { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.cal .entete span { text-align: center; font-size: .75rem; font-weight: 800; color: var(--discret); text-transform: uppercase; letter-spacing: .04em; }
.cal .j { background: var(--creux); border-radius: 12px; padding: 6px 4px 4px; display: flex; flex-direction: column; gap: 4px; align-items: stretch; }
.cal .j b { text-align: center; font-size: 1.0625rem; font-weight: 800; }
.cal .j button { min-height: 40px; border-radius: 9px; background: var(--carte); font-size: .6875rem; font-weight: 800; text-align: center; color: var(--encre); border: 1.5px solid transparent; }
.cal .j button.on { background: var(--nuit); color: #fff; }
:root[data-theme="nuit"] .cal .j button.on { background: var(--vert); color: #05121c; }
.guide .vue.rien { border-style: solid; border-color: var(--vert); background: var(--vert-doux); color: var(--vert); }

/* ---------- Ordinateur (à partir de 1024 px) : menu à gauche, contenu en 2 colonnes ---------- */
.ordi, .rail { display: none; }
/* Paiement d’abord : commande pas encore payée, pas de barre d’onglets sur téléphone (le contact est dans la page). */
@media (max-width: 1023px) { .onglets.verrou { display: none; } main:has(+ .onglets.verrou) { padding-bottom: 24px; } }
.col { display: contents; }
.mini-frise { display: flex; flex-direction: column; }
.mini-frise button { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: .875rem; font-weight: 700; color: var(--discret); min-height: 36px; }
.mini-frise .o { width: 26px; height: 26px; border-radius: 50%; background: var(--creux); display: grid; place-items: center; font-size: .75rem; font-weight: 800; flex: none; }
.mini-frise .o svg { width: 14px; height: 14px; stroke-width: 3; }
.mini-frise .fait { color: var(--texte); } .mini-frise .fait .o { background: var(--vert-doux); color: var(--vert); }
.mini-frise .cours { color: var(--encre); font-weight: 800; } .mini-frise .cours .o { background: var(--ici); color: #fff; }
@media (min-width: 1024px) {
  body, html.capture body { padding: 0; background: var(--fond); }
  .ordi { display: revert; } .mob, .col .contact.rappel { display: none !important; }
  div.ordi, figure.ordi { display: block; } .plans-grand.ordi { display: grid; } .carte.ordi, .marque.ordi, .pied.ordi { display: flex; }
  .tel, html.capture .tel { width: 100%; max-width: none; border-radius: 0; box-shadow: none; overflow: visible; min-height: 100vh; display: grid; grid-template-columns: 248px minmax(0, 1fr); grid-template-rows: auto 1fr; }
  .tel:has(> .plein) { display: flex; background: var(--nuit); }
  .plein, html.capture .plein { width: 100%; max-width: 480px; margin: 0 auto; min-height: 100vh; }
  .plein:has(.lecteur) { max-width: 1100px; }
  .onglets, html.capture .onglets { grid-column: 1; grid-row: 1 / span 2; position: sticky; top: 0; left: auto; bottom: auto; transform: none; width: auto; height: 100vh; align-self: start; display: flex; flex-direction: column; gap: 4px; padding: 22px 14px; border-top: 0; border-right: 1px solid var(--trait); border-radius: 0; background: var(--carte); backdrop-filter: none; }
  .onglets .marque { align-items: center; gap: 11px; padding: 0 8px 22px; }
  .onglets .marque img { width: 42px; height: 42px; border-radius: 12px; }
  .onglets .marque b { font-size: 1.0625rem; font-weight: 800; letter-spacing: -.02em; }
  .onglets > button { flex-direction: row; justify-content: flex-start; gap: 12px; padding: 12px 12px; font-size: 1rem; min-height: 50px; }
  .onglets > button.actif { background: var(--creux); }
  .onglets > button.actif::before { top: 12px; bottom: 12px; left: 0; right: auto; width: 4px; height: auto; border-radius: 0 3px 3px 0; }
  .onglets .pt { position: static; margin-left: auto; border: 0; }
  .onglets .pied { margin-top: auto; flex-direction: column; align-items: flex-start; gap: 4px; padding: 16px 8px 0; border-top: 1px solid var(--trait); font-size: .875rem; }
  .onglets .pied .btn { width: 100%; margin-top: 6px; }
  .haut, html.capture .haut { grid-column: 2; grid-row: 1; position: sticky; top: 0; padding: 16px 40px 12px; }
  .haut > * { } .haut .lf { display: none; }
  .haut .titre { font-size: 1.375rem; } .haut .titre small { font-size: .875rem; }
  main, html.capture main { grid-column: 2; grid-row: 2; display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; width: 100%; max-width: 1220px; margin: 0 auto; padding: 8px 40px 56px; }
  main:not(:has(.rail)) { grid-template-columns: minmax(0, 560px); justify-content: center; }
  .col, .rail { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
  .rail { position: sticky; top: 84px; }
  html.capture .rail { position: static; }
  .hero .photo, .hero .voile, .hero .etiq { display: none; }
  .hero .corps { margin-top: 0; padding-top: 26px; padding-bottom: 26px; }
  .hero h2 { font-size: 2rem; }
  .bonjour h1 { font-size: 2.125rem; }
  h1 { font-size: 1.875rem; }
  .action { flex-direction: column; } .action .btn, .col > .btn, .col .carte > .btn:not(.fin) { width: auto; align-self: flex-start; min-width: 280px; }
  .tuiles { grid-template-columns: repeat(4, 1fr); }
  .col > .duo { max-width: 420px; }
  .plans-grand { grid-template-columns: 1fr 1fr; gap: 14px; }
  .plans-grand figure { margin: 0; } .plans-grand figcaption { font-weight: 800; color: var(--encre); padding-bottom: 8px; }
  .guide { grid-template-columns: repeat(3, minmax(0, 180px)); gap: 16px; }
  .qrc .qr { width: 132px; height: 132px; border-radius: 12px; border: 1px solid var(--trait); flex: none; }
  .qrc .rang { gap: 20px; }
  .cal { max-width: 560px; }
  .lecteur.large { aspect-ratio: 16 / 9; height: auto; width: 100%; margin: 0; }
  .lecteur.large .legende { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 20px 16px; background: linear-gradient(180deg, transparent, rgba(7, 28, 44, .85)); color: #fff; display: flex; justify-content: space-between; align-items: end; font-size: 1.0625rem; }
  .lecteur.large .legende b { color: #fff; } .lecteur.large .fili { font-size: 1.5rem; }
  .plein .lecteur { aspect-ratio: 16 / 9; height: auto; width: 100%; max-height: 62vh; }
  .plein .lecteur img.ordi { display: block; }
  .plein:has(.lecteur) .bas { flex-direction: row; align-items: center; } .plein:has(.lecteur) .bas > .btn { flex: 1; } .plein:has(.lecteur) .bas > .duo { flex: 1; }
  .fond { align-items: center; } .feuille { border-radius: 26px; max-width: 520px; max-height: 86vh; padding-bottom: 22px; } .feuille .poignee { display: none; }
  .toast { bottom: 32px; }
  .video { grid-template-columns: 96px 1fr auto; } .video .vig { width: 96px; height: 60px; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .tel, html.capture .tel { grid-template-columns: 208px minmax(0, 1fr); }
  main, html.capture main { grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; padding: 8px 24px 48px; }
  .haut, html.capture .haut { padding-left: 24px; padding-right: 24px; }
  .tuiles { grid-template-columns: repeat(2, 1fr); }
  .onglets, html.capture .onglets { padding: 18px 10px; }
}
@media (min-width: 1024px) {
  .tel, html.capture .tel { background: linear-gradient(90deg, var(--carte) 0 248px, var(--fond) 248px); }
  .onglets, html.capture .onglets { background: transparent; }
  .onglets .pied .btn { flex-direction: row; font-size: .9375rem; color: var(--encre); padding: 9px 12px; gap: 8px; }
  .onglets .pied .btn svg { width: 19px; height: 19px; }
  .onglets .pied .lien { flex-direction: row; font-size: 1.0625rem; font-weight: 800; color: var(--encre); padding: 0; }
  .onglets .pied b { font-size: .875rem; line-height: 1.3; }
  .lecteur.large .legende { display: none; }
  .docs2 { display: grid; grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) and (max-width: 1279px) { .tel, html.capture .tel { background: linear-gradient(90deg, var(--carte) 0 208px, var(--fond) 208px); } }
@media (min-width: 1024px) {
  html .tel:has(> .plein), html.capture .tel:has(> .plein) { display: flex !important; background: var(--nuit) !important; }
  .onglets .marque .mini { white-space: nowrap; }
}
@media (min-width: 1024px) and (max-width: 1279px) { .docs2 { grid-template-columns: 1fr; } .onglets .marque { padding-left: 4px; gap: 9px; } .onglets .marque img { width: 36px; height: 36px; } }
@media (min-width: 1024px) {
  html .plein:has(.lecteur), html.capture .plein:has(.lecteur) { max-width: 1100px; }
  html .plein .lecteur { aspect-ratio: 16 / 9; height: auto; max-height: none; width: min(100%, calc(64vh * 16 / 9)); }
  .plein:has(.lecteur) h1 { font-size: 1.75rem; }
  .plein:has(.lecteur) > div:nth-of-type(3) { width: min(100%, calc(64vh * 16 / 9)); margin: 0 auto; }
  .plein:has(.lecteur) .bas { width: min(100%, calc(64vh * 16 / 9)); margin-left: auto; margin-right: auto; }
  .plein:has(.lecteur) > .rang { width: min(100%, calc(64vh * 16 / 9)); margin: 0 auto; }
}
.compare { display: grid; gap: 14px; }
.compare figure { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.compare figcaption { display: flex; flex-direction: column; gap: 3px; align-items: flex-start; }
@media (min-width: 1024px) { .feuille:has(.compare) { max-width: 860px; } .compare { grid-template-columns: 1fr 1fr; } }
.lien svg { width: 18px; height: 18px; margin-right: 6px; flex: none; }
.bandeau3d { position: relative; border-radius: 20px; overflow: hidden; height: 124px; background: var(--nuit); box-shadow: var(--ombre); flex: none; }
.bandeau3d img { width: 100%; height: 100%; object-fit: cover; object-position: center 46%; }
.bandeau3d .etiq { position: absolute; top: 10px; left: 10px; background: rgba(7, 28, 44, .72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; font-size: .75rem; font-weight: 800; padding: 6px 10px; border-radius: 99px; }
.bandeau3d button { position: absolute; right: 10px; bottom: 10px; background: rgba(255, 255, 255, .95); color: #071c2c; font-size: .8125rem; font-weight: 800; padding: 0 12px; min-height: 40px; border-radius: 99px; display: inline-flex; align-items: center; gap: 6px; box-shadow: 0 2px 8px rgba(0, 0, 0, .2); }
.bandeau3d button svg { width: 16px; height: 16px; }
@media (min-width: 1024px) { .feuille:has(> .plan) { max-width: 640px; } }
@media (min-width: 1024px) {
  .feuille { width: min(92vw, 520px); }
  .feuille:has(.compare) { width: min(92vw, 900px); max-width: none; }
  .feuille:has(> .plan) { width: min(92vw, 640px); max-width: none; }
  .col .carte > .plan { max-width: 480px; }
}

/* ---------- Vraie app : ce qui diffère de la maquette ---------- */
a { color: inherit; }
a.btn, a.lien, a.ligne, a.carte, a.tuile, a.pas, a.retour, .onglets a, .mini-frise a { text-decoration: none; }
a.lien { text-decoration: underline; }
a.carte, a.tuile { color: inherit; }
/* Onglets et frises : des liens (la maquette utilisait des boutons). */
.onglets a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 7px 2px 3px; font-size: .75rem; font-weight: 700; color: var(--discret); border-radius: 12px; position: relative; }
.onglets a.actif { color: var(--encre); }
.onglets a.actif::before { content: ""; position: absolute; top: -6px; left: 32%; right: 32%; height: 3px; border-radius: 0 0 3px 3px; background: var(--ici); }
.mini-frise a { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: .875rem; font-weight: 700; color: var(--discret); min-height: 36px; }
.haut .lf { display: block; }
.haut a.marque-lien { display: flex; align-items: center; gap: 10px; text-decoration: none; }
form.plat { display: contents; }
.hero.sans-image .corps { margin-top: 0; padding-top: 22px; }
.plan img, .planimg { display: block; width: 100%; height: auto; border-radius: 10px; background: #fff; }
.vue3d { border-radius: 16px; overflow: hidden; background: var(--creux); }
.vue3d img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.choix { display: flex; flex-direction: column; }
.choix .c { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; }
.choix .c + .c { border-top: 1px solid var(--trait); }
.choix .c > svg { width: 20px; height: 20px; color: var(--vert); flex: none; margin-top: 2px; stroke-width: 3; }
.choix .c .nom { font-weight: 700; color: var(--encre); line-height: 1.3; }
.choix h3 { padding: 14px 0 2px; }
.erreur-ligne { background: var(--rouge-doux); color: var(--rouge-fonce); border-radius: 14px; padding: 12px 14px; font-weight: 700; font-size: .9375rem; }
:root[data-theme="nuit"] .erreur-ligne { color: #ff8a98; }
.plein .saisie { color: #fff; }
.plein .erreur-ligne { background: rgba(224, 42, 64, .2); color: #ffd3d8; }
.plein a { color: #fff; }
.plein .lf { width: 40px; height: 40px; border-radius: 11px; }
.plein .milieu { margin-top: 6vh; display: flex; flex-direction: column; gap: 10px; }
.plein .ou { display: flex; align-items: center; gap: 12px; color: var(--sur-nuit); font-size: .875rem; }
.plein .ou::before, .plein .ou::after { content: ''; flex: 1; border-top: 1px solid rgba(255, 255, 255, .2); }
.feuille h2 { padding-right: 8px; }
.feuille .planimg { border: 1px solid var(--trait); padding: 6px; }
/* Tablette (700 à 1023 px) : la même app, plus large, sans faux cadre de téléphone. */
@media (min-width: 700px) and (max-width: 1023px) {
  body { padding: 0; background: var(--fond); }
  .tel { width: min(100%, 620px); min-height: 100vh; min-height: 100dvh; border-radius: 0; box-shadow: none; overflow: visible; }
  .onglets { bottom: 0; border-radius: 0; width: min(100%, 620px); }
  .feuille { width: min(100%, 620px); }
}
@media (min-width: 1024px) {
  .onglets > a { display: flex; flex-direction: row; justify-content: flex-start; align-items: center; gap: 12px; padding: 12px; font-size: 1rem; min-height: 50px; }
  .onglets > a.actif { background: var(--creux); }
  .onglets > a.actif::before { top: 12px; bottom: 12px; left: 0; right: auto; width: 4px; height: auto; border-radius: 0 3px 3px 0; }
  .onglets .pied a.lien { font-size: 1.0625rem; font-weight: 800; color: var(--encre); text-decoration: none; min-height: 0; padding: 2px 0; }
  .haut .lf, .haut a.marque-lien .lf { display: none; }
  .feuille { padding-top: 24px; }
  .rail .vue3d { border-radius: 0; }
  .col .vue3d.mob { display: none; }
}

/* ---------- Paiement d’abord (CL512) : payer, et comprendre la suite sans rien ouvrir ---------- */
.hors { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.cote { display: contents; }
main:has(> .cote) .contact { order: 1; }
#paiement { scroll-margin-top: 76px; }
@media (prefers-reduced-motion: no-preference) { html:has(#paiement) { scroll-behavior: smooth; } }
.action > .rang { justify-content: space-between; }
.ouvre { border-radius: 24px; background: linear-gradient(155deg, var(--nuit-2), var(--nuit) 62%); color: var(--sur-nuit); padding: 22px 18px 24px; position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--ombre); }
.ouvre > * { position: relative; }
.ouvre > .filigrane { position: absolute; right: -34px; top: -26px; width: 190px; height: 190px; color: #fff; opacity: .06; stroke-width: 1.4; transform: rotate(-12deg); }
.ouvre > .ic { background: rgba(255, 255, 255, .12); color: #fff; }
.ouvre h2 { color: #fff; font-size: 1.5rem; }
.ouvre ul { list-style: none; padding: 0; margin-top: 4px; display: flex; flex-direction: column; }
.ouvre li { display: grid; grid-template-columns: 22px 1fr; gap: 14px; align-items: start; padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, .13); font-size: .875rem; line-height: 1.4; }
.ouvre li:last-child { padding-bottom: 0; }
.ouvre li svg { width: 22px; height: 22px; color: #fff; margin-top: 1px; }
.ouvre li b { color: #fff; font-size: 1rem; font-weight: 800; letter-spacing: -.01em; }
.ouvre > .tri { position: absolute; left: 0; bottom: 0; width: 100%; height: 4px; border-radius: 0; }
.clos { gap: 16px; }
.clos .segments i { background: var(--creux); }
.clos .segments i.f { background: var(--vert); }
.clos .segments i.c { background: var(--ici); } .clos .segments i.c::after { display: none; }
.clos .frise { list-style: none; padding: 4px 0 0; }
.clos .pas.cours::before, .clos .seuil::before, .clos .pas.ferme::before { background: repeating-linear-gradient(180deg, var(--trait) 0 5px, transparent 5px 10px); }
.clos .pas .mini { line-height: 1.4; padding-top: 1px; }
.seuil { position: relative; padding: 0 0 18px; display: flex; }
.seuil::before { content: ''; position: absolute; left: 21px; top: 0; bottom: 0; width: 2px; }
.seuil .pilule { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; background: var(--encre); color: var(--carte); border-radius: 99px; padding: 9px 15px 9px 12px; font-size: .8125rem; font-weight: 800; line-height: 1.25; letter-spacing: -.005em; }
.seuil .pilule svg { width: 16px; height: 16px; flex: none; stroke-width: 2.4; }
.pas.ferme { align-items: start; }
.pas.ferme .num { background: var(--carte); border: 1.5px dashed var(--trait); color: var(--discret); }
.pas.ferme .sur { font-size: .6875rem; padding-top: 1px; }
.pas.ferme .nom { padding-top: 0; color: var(--texte); }
.pas .serrure { width: 30px; height: 30px; border-radius: 50%; background: var(--creux); color: var(--discret); display: grid; place-items: center; margin-top: 7px; }
.pas .serrure svg { width: 15px; height: 15px; stroke-width: 2.4; }
/* Le contenu existe, mais on ne le montre pas : deux lignes fantômes, floues, sous chaque étape fermée. */
.fantome { display: flex; gap: 6px; padding-top: 9px; filter: blur(2.5px); opacity: .9; }
.fantome i { height: 9px; border-radius: 5px; background: var(--trait); flex: 0 0 46%; }
.fantome i + i { flex-basis: 24%; }
.pas.ferme:nth-child(even) .fantome i { flex-basis: 30%; } .pas.ferme:nth-child(even) .fantome i + i { flex-basis: 42%; }
@media (min-width: 1024px) {
  main:has(> .cote), html.capture main:has(> .cote) { grid-template-columns: minmax(0, 1fr) minmax(0, 440px); max-width: 1080px; justify-content: stretch; }
  .cote { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
  .ouvre { padding: 28px 26px 30px; } .ouvre h2 { font-size: 1.75rem; }
  .ouvre ul { display: grid; grid-template-columns: 1fr 1fr; column-gap: 26px; }
  .ouvre li:last-child { padding-bottom: 12px; }
}

/* ---------- CL515 : étape 1 « Votre configuration 3D » (10 étapes) ---------- */
/* La vitrine : la vue 3D de la commande en grand, le nom, les cotes, le plan repéré. Bleu nuit, trait tricolore. */
.vitrine { border-radius: 24px; overflow: hidden; background: linear-gradient(160deg, var(--nuit-2), var(--nuit) 58%); color: var(--sur-nuit); box-shadow: var(--ombre); position: relative; display: flex; flex-direction: column; }
.vitrine .scene { position: relative; display: block; width: 100%; padding: 0; background: #dfe6ec; cursor: zoom-in; }
.vitrine .scene img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 46%; }
.vitrine .scene::after { content: ''; position: absolute; inset: auto 0 0 0; height: 34%; background: linear-gradient(180deg, rgba(7, 28, 44, 0), rgba(7, 28, 44, .55)); pointer-events: none; }
.vitrine .etiq { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 6px; background: rgba(7, 28, 44, .72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; font-size: .75rem; font-weight: 800; padding: 7px 11px 7px 9px; border-radius: 99px; letter-spacing: .02em; }
.vitrine .etiq svg { width: 15px; height: 15px; }
.vitrine .zoom { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .95); color: #071c2c; display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0, 0, 0, .2); }
.vitrine .zoom svg { width: 18px; height: 18px; }
.vitrine .corps { padding: 18px 18px 24px; display: flex; flex-direction: column; gap: 10px; }
.vitrine .sur { color: var(--sur-nuit); padding-bottom: 4px; }
.vitrine h2 { color: #fff; font-size: 1.375rem; }
.vitrine .cotes { color: #fff; font-size: 2.5rem; font-weight: 800; letter-spacing: -.035em; line-height: 1.05; font-variant-numeric: tabular-nums; white-space: nowrap; }
.vitrine .traits { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.vitrine .traits li { font-size: .8125rem; font-weight: 700; line-height: 1; color: #fff; background: rgba(255, 255, 255, .12); border-radius: 99px; padding: 8px 11px; white-space: nowrap; }
.vitrine .btn.clair { background: #fff; color: #071c2c; box-shadow: none; margin-top: 6px; }
.vitrine > .tri { position: absolute; left: 0; bottom: 0; width: 100%; height: 4px; border-radius: 0; }
.vitrine.sans-image .corps { padding-top: 22px; }
.repere h3 { font-size: 1.1875rem; font-weight: 800; letter-spacing: -.02em; }
/* Frise des étapes : la vue 3D en vignette sur la ligne de l'étape 1. */
.pas .vignette { width: 64px; height: 48px; border-radius: 12px; overflow: hidden; background: var(--creux); box-shadow: 0 0 0 1.5px var(--trait); flex: none; }
.pas .vignette img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 359px) { .vitrine .cotes { font-size: 2.125rem; } }
@media (min-width: 1024px) {
  .vitrine { flex-direction: row; align-items: stretch; }
  .vitrine .scene { flex: 0 0 56%; }
  .vitrine .scene img { height: 100%; aspect-ratio: auto; min-height: 300px; }
  .vitrine .corps { flex: 1; justify-content: center; padding: 28px 26px 32px; }
  .vitrine h2 { font-size: 1.5rem; }
  .vitrine .btn.clair { align-self: flex-start; width: auto; min-width: 0; }
}
@media (min-width: 1024px) and (max-width: 1279px) { .vitrine { flex-direction: column; } .vitrine .scene { flex: none; } .vitrine .scene img { aspect-ratio: 16 / 9; height: auto; min-height: 0; } }

/* ---------- CL516 : étape 5 « Vos plans à signer » (signature électronique simple, dans l'app) ---------- */
html.fige, html.fige body { overflow: hidden; }
.rondn { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--nuit); color: #fff; font-size: .875rem; font-weight: 800; letter-spacing: 0; margin-right: 10px; vertical-align: 2px; }
:root[data-theme="nuit"] .rondn { background: var(--creux); }
.carte > .sep { margin: 2px 0; }
/* Les plans du bureau d'étude : le vrai plan, dessiné dans la page, sur fond blanc (comme le papier, même en mode nuit). */
.plans { display: grid; gap: 22px; }
.planv { margin: 0; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.planv figcaption { display: flex; flex-direction: column; gap: 2px; }
.planv figcaption .rang { gap: 8px; }
.planv figcaption b { font-size: 1.0625rem; font-weight: 800; letter-spacing: -.01em; }
.planv .cadre { position: relative; display: block; width: 100%; padding: 0; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 0 0 1.5px var(--trait), 0 6px 18px rgba(7, 28, 44, .08); cursor: zoom-in; }
.planv .cadre:disabled { cursor: progress; }
.toile { width: 100%; aspect-ratio: 1.414; background: #fff; }
.toile canvas { display: block; width: 100%; height: 100%; }
.planv .zoom { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border-radius: 50%; background: rgba(7, 28, 44, .88); color: #fff; display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0, 0, 0, .2); }
.planv .zoom svg { width: 18px; height: 18px; }
.planv .nb { position: absolute; left: 10px; bottom: 10px; background: rgba(7, 28, 44, .82); color: #fff; font-size: .75rem; font-weight: 800; padding: 6px 10px; border-radius: 99px; }
.planv .charge { display: grid; place-items: center; align-content: center; gap: 12px; aspect-ratio: 1.414; color: #5f6b78; font-size: .875rem; font-weight: 700; }
.planv .charge i { width: 30px; height: 30px; border-radius: 50%; border: 3px solid #e4ddd2; border-top-color: #071c2c; animation: tourne .8s linear infinite; }
@keyframes tourne { to { transform: rotate(360deg); } }
.planv .cadre.repli { display: flex; align-items: center; gap: 14px; padding: 22px 18px; cursor: pointer; text-decoration: none; color: #33414f; min-height: 120px; }
.planv .cadre.repli svg { width: 34px; height: 34px; color: #071c2c; flex: none; }
.planv .cadre.repli b { color: #071c2c; } .planv .cadre.repli .mini { color: #5f6b78; }
.planv .gestes { display: flex; gap: 8px; }
.planv .gestes .btn { flex: 1; }
.planv .gestes .btn.carre { flex: none; width: 48px; padding: 0; }
.plans.deux { grid-template-columns: 1fr 1fr; gap: 12px; }
.planv.compact figcaption .rang { flex-direction: column; align-items: flex-start; gap: 6px; }
.planv.compact figcaption b { font-size: .9375rem; }
.planv.compact .cadre { border-radius: 12px; }
.planv.compact .zoom { width: 32px; height: 32px; top: 6px; right: 6px; } .planv.compact .zoom svg { width: 15px; height: 15px; }
.planv.compact .gestes .btn { padding: 9px 8px; font-size: .875rem; gap: 6px; } .planv.compact .gestes .btn:not(.carre) svg { display: none; }
.planv.compact .gestes .btn.carre { width: 44px; }
/* Pour comparer : la vue 3D et le plan repéré de la commande. */
.comparer { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.comparer button { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 3 / 2; background: var(--nuit); box-shadow: 0 0 0 1.5px var(--trait); cursor: zoom-in; }
.comparer button.clair { background: #fff; }
.comparer img { width: 100%; height: 100%; object-fit: cover; }
.comparer button.clair img { object-fit: contain; padding: 4px 4px 22px; }
.comparer span { position: absolute; left: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 5px; background: rgba(7, 28, 44, .82); color: #fff; font-size: .75rem; font-weight: 800; padding: 6px 10px 6px 8px; border-radius: 99px; }
.comparer span svg { width: 14px; height: 14px; }
h3.groupe { padding: 14px 0 2px; }
/* Signer : la case unique, puis le bouton. */
.action.signer { gap: 14px; scroll-margin-top: 76px; }
.coche.unique { background: var(--creux); border-radius: 16px; padding: 14px; align-items: center; min-height: 72px; }
.coche.unique .case { width: 34px; height: 34px; background: var(--carte); margin-top: 0; }
.coche.unique.oui { background: var(--vert-doux); }
.coche.unique.oui .case { background: var(--vert); }
.coche.unique .nom, .coche.unique.oui .nom { color: var(--encre); font-weight: 800; letter-spacing: -.01em; }
.btn[aria-disabled="true"] { background: var(--creux); color: var(--discret); box-shadow: none; }
.btn:disabled { opacity: .7; cursor: progress; }
.autre { display: flex; flex-direction: column; }
.autre .lien { min-height: 40px; }
.lien.discret { font-weight: 700; font-size: .875rem; color: var(--discret); text-align: left; line-height: 1.35; text-decoration-thickness: 1.5px; align-self: flex-start; }
button.lien { text-decoration: underline; text-underline-offset: 3px; }
button.lien:disabled { color: var(--discret); text-decoration: none; cursor: default; }
/* Le code à 6 chiffres. */
.codecarte { scroll-margin-top: 76px; gap: 14px; }
.codecarte label.saisie { font-size: .875rem; }
.code6 { position: relative; }
.code6 input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; font-size: 1.5rem; border: 0; padding: 0; z-index: 1; cursor: text; }
.code6 .cases { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.code6 .cases i { height: 64px; border-radius: 14px; background: var(--creux); border: 2px solid transparent; display: grid; place-items: center; font-style: normal; font-size: 1.75rem; font-weight: 800; color: var(--encre); font-variant-numeric: tabular-nums; transition: border-color .12s, background .12s; }
.code6 .cases i.p { background: var(--carte); border-color: var(--encre); }
.code6:focus-within .cases i.a { background: var(--carte); border-color: var(--bleu); box-shadow: 0 0 0 4px var(--bleu-doux); }
.code6:focus-within .cases i.a:empty::after { content: ''; width: 2px; height: 28px; background: var(--bleu); animation: clignote 1s steps(2, start) infinite; }
@keyframes clignote { to { visibility: hidden; } }
.code6.faux .cases i { border-color: var(--rouge); background: var(--rouge-doux); }
.temps { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.temps .l { display: inline-flex; align-items: center; gap: 6px; }
.temps svg { width: 16px; height: 16px; }
.temps b { font-variant-numeric: tabular-nums; }
.suite { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 14px; }
.suite .lien { font-size: .9375rem; }
.compte { display: flex; justify-content: space-between; gap: 10px; }
.erreur-ligne .lien { color: inherit; min-height: 36px; }
/* Signé : fort, mais sobre. */
.signe { border-radius: 24px; background: linear-gradient(155deg, var(--nuit-2), var(--nuit) 62%); color: var(--sur-nuit); padding: 26px 18px 28px; position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--ombre); scroll-margin-top: 76px; }
.signe .sceau { width: 64px; height: 64px; border-radius: 50%; background: #1f9d63; color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 8px rgba(31, 157, 99, .22); margin: 4px 0 4px 8px; }
.signe .sceau svg { width: 32px; height: 32px; stroke-width: 3; }
.signe.vient .sceau { animation: sceau .5s cubic-bezier(.2, 1.4, .4, 1) both; }
@keyframes sceau { from { transform: scale(.4); opacity: 0; } }
.signe .sur { color: var(--sur-nuit); padding-bottom: 4px; }
.signe h2 { color: #fff; font-size: 2rem; letter-spacing: -.03em; }
.signe p { font-size: 1.0625rem; color: #e3eaf0; }
.signe .mini { font-size: .8125rem; color: var(--sur-nuit); }
.signe .btn.clair { background: #fff; color: #071c2c; box-shadow: none; text-decoration: none; }
.signe .btn.clair .fin { font-size: .75rem; font-weight: 700; color: #5f6b78; letter-spacing: .04em; }
.signe > .tri { position: absolute; left: 0; bottom: 0; width: 100%; height: 4px; border-radius: 0; }
/* Nouvelle version, demande envoyée, en préparation. */
.version { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; border-radius: 18px; padding: 14px; background: var(--ambre-doux); color: var(--texte); font-size: .9375rem; border: 1.5px solid color-mix(in srgb, var(--ambre) 35%, transparent); }
.version .badge { background: var(--ambre); color: #fff; flex: none; margin-top: 1px; }
:root[data-theme="nuit"] .version .badge { color: #05121c; }
.envoyee { border: 2px solid var(--vert); }
.prep .trio { list-style: none; padding: 0; margin-top: 4px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: 100%; }
.prep .trio li { background: var(--creux); border-radius: 14px; padding: 12px 6px; font-size: .8125rem; font-weight: 800; color: var(--encre); display: flex; flex-direction: column; align-items: center; gap: 6px; line-height: 1.2; }
.prep .trio li span { width: 26px; height: 26px; border-radius: 50%; background: var(--carte); display: grid; place-items: center; font-size: .75rem; color: var(--discret); }
.prep .trio li:first-child { background: var(--bleu-doux); } .prep .trio li:first-child span { background: var(--bleu); color: #fff; }
.squelette i { display: block; height: 14px; border-radius: 7px; background: var(--creux); width: 70%; animation: pulse 1.2s ease-in-out infinite alternate; }
.squelette i:nth-child(2) { width: 90%; } .squelette i:nth-child(3) { width: 50%; } .squelette i.bloc { width: 100%; height: 180px; border-radius: 14px; }
@keyframes pulse { to { opacity: .45; } }
/* Le plan en plein écran. */
.visio { position: fixed; inset: 0; z-index: 80; background: #04101a; color: #fff; display: flex; flex-direction: column; animation: fondu .18s both; font: 500 1rem/1.4 Manrope, system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif; }
.visio .barre { display: flex; align-items: center; gap: 12px; padding: calc(env(safe-area-inset-top) + 10px) 12px 10px; }
.visio .barre .grand { flex: 1; min-width: 0; font-size: .8125rem; color: #c7d3de; }
.visio .barre b { color: #fff; font-size: 1.0625rem; font-weight: 800; letter-spacing: -.01em; }
.visio .o { width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; display: grid; place-items: center; flex: none; }
.visio .o svg { width: 22px; height: 22px; }
.visio .o:disabled { opacity: .35; }
.visio :focus-visible { outline-color: #fff; border-radius: 50%; }
.visio .zone { flex: 1; overflow: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; padding: 4px 10px 10px; display: flex; }
.visio .zone:focus-visible { outline-offset: -3px; border-radius: 0; }
.visio .pages { margin: auto; flex: none; display: flex; flex-direction: column; gap: 10px; }
.visio .toile { border-radius: 6px; overflow: hidden; }
.visio .pied { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 14px; padding: 10px 12px calc(env(safe-area-inset-bottom) + 12px); }
.visio .aide { flex-basis: 100%; text-align: center; font-size: .8125rem; color: #c7d3de; }
.visio .niveau { min-width: 64px; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }
@media (min-width: 1024px) {
  .plans:not(.deux) { gap: 28px; }
  .planv .gestes { justify-content: flex-start; } .planv .gestes .btn { flex: none; } .planv .gestes .btn:not(.carre) { min-width: 200px; }
  .planv.compact .gestes .btn:not(.carre) { min-width: 0; flex: 1; }
  .comparer { max-width: 460px; }
  .action.signer .btn, .codecarte .btn { align-self: stretch; width: 100%; min-width: 0; }
  .action.signer, .codecarte { max-width: 560px; }
  .code6 .cases { gap: 10px; } .code6 .cases i { height: 72px; }
  .signe { padding: 34px 32px 36px; display: grid; grid-template-columns: auto 1fr; column-gap: 26px; align-items: center; }
  .signe .sceau { grid-row: 1 / span 2; width: 84px; height: 84px; margin: 0 8px; } .signe .sceau svg { width: 42px; height: 42px; }
  .signe h2 { font-size: 2.5rem; }
  .signe > p, .signe > .btn { grid-column: 2; }
  .signe > .btn { justify-self: start; width: auto; min-width: 340px; }
  .visio .barre { padding: 14px 24px; } .visio .zone { padding: 4px 24px 12px; }
  .visio .pages { max-width: none; }
}

/* ---------- CL517 : « Mettez Mon projet sur votre écran d'accueil » et « Soyez prévenu à chaque étape » ---------- */
.inst { border-radius: 24px; background: linear-gradient(155deg, var(--nuit-2), var(--nuit) 62%); color: var(--sur-nuit); padding: 20px 18px 22px; position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--ombre); }
.inst .tete { display: grid; grid-template-columns: minmax(0, 1fr) 116px; gap: 6px; align-items: start; margin-bottom: -6px; }
.inst .mots { display: flex; flex-direction: column; gap: 8px; padding-bottom: 14px; }
.inst .sur { color: var(--sur-nuit); }
.inst h2 { color: #fff; font-size: 1.4375rem; text-wrap: initial; }
.inst .mots p { font-size: .9375rem; line-height: 1.45; }
.inst .ecran { width: 132px; height: auto; margin: 2px -16px 0 0; justify-self: end; align-self: end; }
.ecran .coque { fill: rgba(255, 255, 255, .07); stroke: rgba(255, 255, 255, .3); stroke-width: 1.5; }
.ecran .ilot { fill: rgba(255, 255, 255, .28); }
.ecran .app { fill: rgba(255, 255, 255, .13); }
.ecran .lueur { fill: none; stroke: #fff; stroke-width: 1.5; opacity: .9; transform-box: fill-box; transform-origin: center; animation: lueur 2.6s ease-in-out infinite; }
.ecran .pastille { fill: #cf0f26; stroke: #0b2438; stroke-width: 1.5; }
.ecran .un { fill: #fff; font-weight: 800; }
.ecran .nom { fill: #fff; font-weight: 700; }
@keyframes lueur { 50% { transform: scale(1.13); opacity: .25; } }
.inst > .btn { position: relative; }
.inst .btn.clair { background: rgba(255, 255, 255, .1); color: #fff; box-shadow: none; border: 1.5px solid rgba(255, 255, 255, .22); font-weight: 700; font-size: 1rem; min-height: 50px; }
.inst .plus { align-self: center; min-height: 44px; padding: 0 14px; font-weight: 700; font-size: .9375rem; color: var(--sur-nuit); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .28); text-decoration-thickness: 1.5px; margin-bottom: -8px; text-align: center; }
.inst .cloche { display: grid; grid-template-columns: 22px 1fr; gap: 14px; align-items: start; padding-top: 14px; margin-top: 2px; border-top: 1px solid rgba(255, 255, 255, .13); font-size: .875rem; line-height: 1.4; }
.inst .cloche svg { width: 22px; height: 22px; color: #fff; margin-top: 1px; }
.inst .cloche b { color: #fff; font-size: 1rem; font-weight: 800; letter-spacing: -.01em; }
.inst > .tri { position: absolute; left: 0; bottom: 0; width: 100%; height: 4px; background: var(--tri); }
.feuillet { background: var(--carte); color: var(--texte); border-radius: 18px; padding: 4px 14px; animation: entre .28s ease both; }
.feuille .feuillet { box-shadow: var(--ombre); animation: none; }
.gsts { list-style: none; padding: 0; display: flex; flex-direction: column; }
.gst { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 8px 12px; padding: 14px 0; align-items: start; }
.gst + .gst, .gsts .suite { border-top: 1px solid var(--trait); }
.gst .no { width: 32px; height: 32px; border-radius: 50%; background: var(--nuit); color: #fff; font-weight: 800; font-size: .9375rem; display: grid; place-items: center; }
:root[data-theme="nuit"] .gst .no { background: var(--creux); }
.gst h3 { font-size: 1.0625rem; padding-top: 4px; }
.gst .petit { margin-top: 2px; }
.gst .ill { grid-column: 1 / -1; }
.gsts .suite { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; padding: 13px 0; font-size: .875rem; align-items: start; }
.gsts .suite svg { width: 22px; height: 22px; color: var(--vert); justify-self: center; margin-top: 1px; }
.gsts .suite.autre svg { color: var(--bleu); }
.gsts .suite .l:first-child { font-weight: 700; color: var(--encre); }
.ill { display: block; width: 100%; height: auto; border-radius: 14px; background: var(--creux); font-weight: 800; }
.ill .p { fill: var(--carte); } .ill .t { stroke: var(--trait); stroke-width: 1.5; } .ill .c { fill: var(--creux); } .ill .g { fill: var(--trait); }
.ill .e { fill: var(--encre); } .ill .d { fill: var(--discret); font-weight: 700; } .ill .b { fill: #fff; } .ill .r { fill: var(--rouge); } .ill .rd { fill: var(--rouge-doux); }
.ill .rs { fill: none; stroke: var(--rouge); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ill .rs.gras { stroke-width: 2.2; }
.ill .ts { fill: none; stroke: var(--discret); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: .55; }
.ill .halo { fill: var(--rouge); opacity: .14; transform-box: fill-box; transform-origin: center; animation: halo 2.2s ease-in-out infinite; }
@keyframes halo { 50% { transform: scale(1.18); opacity: .05; } }
html.capture .ill .halo, html.capture .ecran .lueur, html.capture .feuillet { animation: none; }
.gsts.ordinateur .scan { display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 18px; align-items: center; padding: 14px 0; }
.gsts.ordinateur .scan > div, .gsts.ordinateur .gst > div { display: flex; flex-direction: column; gap: 6px; }
.gsts.ordinateur .gst { grid-template-columns: minmax(0, 1fr) 200px; gap: 18px; align-items: center; border-top: 1px solid var(--trait); }
.gsts.ordinateur .gst .ill { grid-column: auto; }
.gsts.ordinateur .gst .btn { align-self: flex-start; margin-top: 4px; }
.gsts.ordinateur h3 { padding-top: 0; }
.qr { width: 148px; height: 148px; border-radius: 14px; background: #fff; border: 1px solid var(--trait); }
.feuille .gsts.ordinateur .scan { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.feuille .gsts.ordinateur .gst { grid-template-columns: 1fr; }
.feuille .logo-app { width: 52px; height: 52px; border-radius: 14px; flex: none; }
.notifs h2, .feuille #notif-titre { font-size: 1.25rem; }
.cloche-ic { background: var(--rouge-doux); color: var(--rouge); }
.prevenu { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 9px; font-weight: 700; color: var(--encre); font-size: .9375rem; line-height: 1.3; }
.prevenu li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; }
.prevenu svg { width: 20px; height: 20px; color: var(--vert); stroke-width: 2.6; }
.notifs .prevenu { background: var(--fond); border-radius: 16px; padding: 14px; }
.mini.centre { text-align: center; }
.lien.discret.milieu { align-self: center; text-align: center; margin: -6px 0 -8px; }
.note .comment { margin: 6px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; }
.note .comment li::marker { font-weight: 800; color: var(--encre); }
@media (max-width: 359px) { .inst .tete { grid-template-columns: minmax(0, 1fr) 84px; } .inst .ecran { width: 100px; } .inst h2 { font-size: 1.25rem; } }
@media (min-width: 1024px) {
  .inst { padding: 26px 26px 26px; gap: 16px; }
  .inst.large .tete { grid-template-columns: minmax(0, 1fr) 150px; margin-bottom: -10px; }
  .inst h2 { font-size: 1.75rem; }
  .inst .ecran { width: 160px; margin-right: -6px; }
  .inst .feuillet { padding: 6px 20px; }
  .inst > .btn { width: auto; align-self: flex-start; min-width: 280px; }
  .inst .plus { align-self: flex-start; padding-left: 0; }
  .notifs .btn { align-self: stretch !important; }
}
/* Le nom de l'app, écrit comme « Pilot. » (Manrope 800, serré) ; le signe de Mon projet : la petite maison bleue, comme sur l'icône. */
.marque-mp { display: inline-flex; align-items: flex-end; font-weight: 800; letter-spacing: -.03em; line-height: 1; white-space: nowrap; color: inherit; }
.marque-mp svg { width: .34em; height: .31em; margin: 0 0 .08em .06em; fill: var(--bleu); stroke: none; flex: none; }
.haut .titre .marque-mp { font-size: 1.4375rem; }
.haut .titre:has(.marque-mp) small { margin-top: 3px; }
.plein .marque-mp { font-size: 1.375rem; }
.plein .marque-mp svg, .inst .marque-mp svg { fill: #2f6fe0; }
.onglets .marque .marque-mp { font-size: 1.25rem; }
/* Texte agrandi : la place est aux mots, le dessin du téléphone s'efface. */
html[data-texte="grand"] .inst .tete, html[data-texte="tresgrand"] .inst .tete { grid-template-columns: minmax(0, 1fr); margin-bottom: 0; }
html[data-texte="grand"] .inst .ecran, html[data-texte="tresgrand"] .inst .ecran { display: none; }
html[data-texte="grand"] .inst .mots, html[data-texte="tresgrand"] .inst .mots { padding-bottom: 4px; }

/* ---------- CL531 : la petite maison, fil conducteur (comme sur le site). Bleu = où vous en êtes ; rouge = à vous d'agir. ---------- */
:root { --ici: #2f6fe0; --ici-nuit: #5b95f5; }
.maison { display: block; flex: none; width: 22px; height: auto; aspect-ratio: 24 / 22; fill: var(--creux); stroke: none; }
.maison .plein { fill: var(--ici); }
.avance { display: flex; align-items: center; gap: 9px; }
.avance > .segments, .avance > .jauge { flex: 1; min-width: 0; }
.avance > .jauge i { background: var(--ici); }
.hero .maison { fill: rgba(255, 255, 255, .2); } .hero .maison .plein { fill: var(--ici-nuit); }
:root[data-theme="nuit"] .maison .plein { fill: var(--ici-nuit); }
.carte.chezvous > .maison { position: absolute; top: 20px; right: 20px; width: 46px; }
.carte.chezvous > .maison .plein { fill: var(--ici-nuit); }
.inst .mots .l, .pas .nom, .hero h2 .l { text-wrap: balance; }
@media (max-width: 359px) { .inst .tete { grid-template-columns: minmax(0, 1fr) 70px; } .inst .ecran { width: 88px; } .inst h2 { font-size: 1.1875rem; } .inst .mots p { font-size: .875rem; } }
