:root {
  --bx: #17463F; --bx2: #1F5B52; --bx3: #153F39; --fond: #FAF8F4; --surface: #ECE7DE; --carte: #FFFFFF;
  --or: #A3CDB9; --or2: #CFE5DA; --or-texte: #1F5B52;
  --encre2: #5E6C67; --ligne: rgba(27,33,31,.10); --doux: rgba(31,91,82,.07); --ok: #1F5B52; --ok-fond: #E8F2EC;
  --radius: 20px;
  --tight: 'Inter Tight', 'Helvetica Neue', Arial, sans-serif;
  --large: 'Archivo', 'Inter Tight', 'Helvetica Neue', Arial, sans-serif; /* les gros titres et le nom, en version large : font-stretch 125 % posé sur body */
  --serif: 'Instrument Serif', Georgia, serif;
  --ombre: 0 2px 6px rgba(27,33,31,.05), 0 12px 28px -14px rgba(27,33,31,.16);
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { background: var(--fond); color: var(--bx); font-family: Inter, 'Helvetica Neue', Arial, sans-serif; font-stretch: 125%; font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; }
h1, h2, h3 { font-family: var(--tight); font-weight: 600; letter-spacing: 0; line-height: 1.1; margin: 0; }
h1 { font-family: var(--large); font-weight: 500; font-size: 30px; line-height: 1.12; text-transform: uppercase; letter-spacing: .02em; } h2 { font-size: 24px; } h3 { font-size: 18px; }
h1 .serif { text-transform: none; letter-spacing: 0; font-size: 1.18em; }
p { margin: 0; }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; color: var(--bx); }

.app { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }

/* Barre des espaces */
.rail { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 24px 16px; border-right: 1px solid var(--ligne); background: var(--fond); }
.logo { font-family: var(--large); font-weight: 500; font-size: 17px; text-transform: uppercase; letter-spacing: .08em; padding: 6px 12px 22px; }
.logo .serif { font-size: 23px; text-transform: none; letter-spacing: 0; }
.espaces { display: flex; flex-direction: column; gap: 4px; }
.espace { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 14px; border: 0; background: transparent; color: var(--bx); text-align: left; font-weight: 500; font-size: 15.5px; width: 100%; }
.espace:hover { background: var(--doux); }
.espace.actif { background: var(--bx2); color: #fff; }
.espace .ico { width: 22px; display: inline-flex; align-items: center; justify-content: center; }
.espace .ico svg { width: 20px; height: 20px; }
.espace .bientot { margin-left: auto; font-size: 11px; font-weight: 500; color: var(--encre2); background: var(--surface); padding: 2px 8px; border-radius: 999px; }
.espace.actif .bientot { background: rgba(255,255,255,.18); color: #fff; }
.rail-pied { margin-top: auto; padding: 12px; font-size: 14px; color: var(--encre2); }
.moteur { display: flex; align-items: center; gap: 8px; }
.pastille { width: 9px; height: 9px; border-radius: 50%; background: var(--surface); }
.moteur.on .pastille { background: var(--or); }
.moteur.demo .pastille { background: #A3CDB9; }

/* Scène */
.scene { padding: 40px 48px 80px; max-width: 1280px; }
.entete { margin-bottom: 28px; }
.entete .sur { color: var(--or-texte); font-family: var(--large); font-size: 14px; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px; }
.entete p { color: var(--encre2); margin-top: 8px; max-width: 620px; }

.grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.carte { background: var(--carte); border-radius: var(--radius); padding: 22px; box-shadow: var(--ombre); border: 1px solid transparent; text-align: left; color: var(--bx); display: flex; flex-direction: column; gap: 10px; min-height: 200px; position: relative; }
button.carte:hover { border-color: rgba(27,33,31,.18); transform: translateY(-1px); }
.carte.off { opacity: .55; cursor: default; }
.carte .visuel { height: 108px; border-radius: 14px; background: var(--surface); display: flex; align-items: center; justify-content: center; color: var(--bx); }
.carte .visuel svg { width: 36px; height: 36px; stroke-width: 1.4; }
.carte h3 { font-size: 18px; }
.carte p { color: var(--encre2); font-size: 14px; }
.carte .meta { margin-top: auto; font-size: 13px; color: var(--encre2); }
.carte .tag { position: absolute; top: 14px; right: 14px; font-size: 11px; font-weight: 500; background: var(--surface); color: var(--encre2); padding: 3px 9px; border-radius: 999px; }

.brouillon { margin-top: 30px; display: flex; align-items: center; gap: 16px; background: var(--carte); border: 1px solid var(--ligne); border-radius: 16px; padding: 14px 18px; }
.brouillon .txt { flex: 1; font-size: 15.5px; }
.brouillon .txt b { font-weight: 600; }

/* Boutons */
.btn { display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 999px; padding: 12px 22px; font-weight: 600; font-size: 15.5px; background: var(--bx2); color: #fff; }
.btn:hover { background: var(--bx3); }
.btn.second { background: var(--carte); color: var(--bx); border: 1px solid rgba(27,33,31,.18); }
.btn.second:hover { background: var(--doux); }
.btn.lien { background: transparent; color: var(--bx2); padding: 12px 8px; }
.btn:disabled { opacity: .5; cursor: wait; }
.btn.petit { padding: 8px 14px; font-size: 14px; }

/* Parcours */
.parcours { display: grid; grid-template-columns: 250px 1fr; gap: 40px; align-items: start; }
.etapes { position: sticky; top: 40px; display: flex; flex-direction: column; gap: 4px; }
.etapes .titre-p { font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--encre2); padding: 0 12px 10px; }
.etape { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 14px; border: 0; background: transparent; text-align: left; color: var(--bx); width: 100%; }
.etape:disabled { cursor: default; }
.etape.actif { background: var(--doux); }
.etape .num { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid rgba(27,33,31,.25); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; flex-shrink: 0; margin-top: 1px; }
.etape.fait .num { background: var(--or); border-color: var(--or); color: var(--bx); }
.etape.actif .num { background: var(--bx2); border-color: var(--bx2); color: #fff; }
.etape .nom { font-weight: 500; font-size: 15.5px; }
.etape .sous { font-size: 13px; color: var(--encre2); }

.panneau { background: var(--carte); border-radius: var(--radius); padding: 32px; box-shadow: var(--ombre); }
.panneau .num-etape { font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--or-texte); margin-bottom: 6px; }
.panneau h2 { margin-bottom: 6px; }
.panneau .aide { color: var(--encre2); margin-bottom: 26px; max-width: 640px; }

.champ { margin-bottom: 22px; }
.champ label { display: block; font-weight: 500; margin-bottom: 8px; font-size: 15.5px; }
.champ .indice { font-weight: 400; color: var(--encre2); font-size: 14px; }
.champ input[type=text], .champ textarea, .champ select { width: 100%; border: 1px solid rgba(27,33,31,.18); border-radius: 14px; padding: 12px 14px; background: #fff; }
.champ textarea { min-height: 96px; resize: vertical; }
.champ input:focus, .champ textarea:focus { outline: 2px solid var(--bx2); outline-offset: 1px; border-color: transparent; }
.choix { display: flex; flex-wrap: wrap; gap: 8px; }
.choix button { border: 1px solid rgba(27,33,31,.18); background: #fff; color: var(--bx); border-radius: 999px; padding: 9px 16px; font-weight: 500; font-size: 14.5px; }
.choix button.on { background: var(--bx2); color: #fff; border-color: var(--bx2); }
.palettes { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.palette { border: 1.5px solid rgba(27,33,31,.14); border-radius: 16px; padding: 12px; background: #fff; text-align: left; }
.palette.on { border-color: var(--bx2); box-shadow: 0 0 0 2px rgba(31,91,82,.22); }
.palette .swatch { display: flex; gap: 6px; margin-bottom: 8px; }
.palette .swatch i { width: 26px; height: 26px; border-radius: 8px; border: 1px solid rgba(0,0,0,.06); }
.palette b { font-weight: 500; font-size: 14px; }
.palette small { color: var(--encre2); font-size: 12.5px; display: block; }

.photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.photo-slot { aspect-ratio: 4/5; border: 2px dashed rgba(27,33,31,.25); border-radius: 16px; background: var(--fond); display: flex; align-items: center; justify-content: center; color: var(--encre2); font-size: 13.5px; text-align: center; padding: 10px; cursor: pointer; position: relative; overflow: hidden; }
.photo-slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-slot input { display: none; }
.photo-slot .x { position: absolute; top: 6px; right: 6px; background: #fff; border: 0; border-radius: 50%; width: 26px; height: 26px; font-size: 14px; }

.actions { display: flex; gap: 12px; align-items: center; margin-top: 28px; flex-wrap: wrap; }
.actions .droite { margin-left: auto; }
.erreur { background: #F5E9DD; border-radius: 12px; padding: 12px 14px; color: var(--bx); font-size: 14.5px; margin-bottom: 16px; }
.attente { display: flex; align-items: center; gap: 12px; color: var(--encre2); padding: 26px 0; }
.attente .rond { width: 18px; height: 18px; border: 2px solid var(--surface); border-top-color: var(--bx); border-radius: 50%; animation: tourne .9s linear infinite; flex: none; }
.att-bloc { flex: 1; min-width: 0; }
.att-texte { font-size: 15.5px; }
.att-barre { height: 5px; border-radius: 999px; background: var(--surface); overflow: hidden; margin: 8px 0 5px; max-width: 420px; }
.att-barre i { display: block; height: 100%; width: 2%; border-radius: 999px; background: var(--bx2); transition: width .5s linear; }
@keyframes tourne { to { transform: rotate(360deg); } }

/* Plan */
.plan-hook { background: var(--bx2); color: #fff; border-radius: 16px; padding: 18px 22px; margin-bottom: 18px; }
.plan-hook .lbl { font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; opacity: .7; margin-bottom: 4px; }
.plan-hook .h { font-family: var(--tight); font-weight: 600; font-size: 22px; line-height: 1.2; }
.plan-angle { color: var(--encre2); margin-bottom: 18px; }
.plan-liste { display: flex; flex-direction: column; gap: 8px; }
.plan-item { display: grid; grid-template-columns: 34px 120px 1fr; gap: 12px; align-items: center; background: var(--fond); border-radius: 12px; padding: 10px 12px; }
.plan-item .n { font-family: var(--tight); font-weight: 600; color: var(--bx2); }
.plan-item .lay { font-size: 12.5px; font-weight: 500; color: var(--encre2); background: var(--surface); padding: 3px 9px; border-radius: 999px; text-align: center; }
.plan-item input { border: 0; background: transparent; width: 100%; padding: 4px 0; }
.plan-item input:focus { outline: 0; border-bottom: 1px solid var(--bx2); }

/* Slides */
.pret { background: var(--ok-fond); border: 1px solid rgba(163, 205, 185,.55); border-radius: 16px; padding: 18px 22px; margin-bottom: 22px; }
.pret h3 { color: var(--ok); margin-bottom: 4px; }
.pret p { font-size: 14.5px; color: var(--bx); }
.pret .actions { margin-top: 14px; }
.slides { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.vignette { position: relative; aspect-ratio: 4/5; border-radius: 12px; overflow: hidden; background: var(--surface); cursor: pointer; box-shadow: var(--ombre); border: 2px solid transparent; }
.vignette.on { border-color: var(--bx2); }
.vignette .num { position: absolute; left: 8px; top: 8px; background: rgba(255,255,255,.92); color: var(--bx); font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 999px; z-index: 2; }
.vignette .cadre { position: absolute; left: 0; top: 0; width: 1080px; height: 1350px; transform-origin: 0 0; pointer-events: none; }
.legende { margin-top: 26px; }
.legende textarea { width: 100%; min-height: 150px; border: 1px solid rgba(27,33,31,.18); border-radius: 14px; padding: 12px 14px; }

/* Éditeur d'une slide */
.editeur { position: fixed; right: 0; top: 0; height: 100vh; height: 100dvh; overscroll-behavior: contain; width: 380px; background: var(--carte); box-shadow: -10px 0 40px rgba(27,33,31,.12); padding: 24px; overflow: auto; z-index: 20; display: none; }
.editeur.ouvert { display: block; }
.editeur .tete { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.editeur .fermer { border: 0; background: var(--doux); width: 34px; height: 34px; border-radius: 50%; }
.editeur .champ label { font-size: 14px; }
.editeur .champ input[type=text], .editeur .champ textarea { padding: 9px 12px; font-size: 14.5px; }
.editeur .ligne { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.editeur .section { font-size: 12.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--or-texte); margin: 22px 0 10px; }
.editeur .apercu { border-radius: 12px; overflow: hidden; aspect-ratio: 4/5; position: relative; margin-bottom: 18px; box-shadow: var(--ombre); background: var(--surface); }
.editeur .apercu .cadre { position: absolute; left: 0; top: 0; width: 1080px; height: 1350px; transform-origin: 0 0; }
.editeur input[type=range] { width: 100%; }

@media (max-width: 900px) {
  .app { grid-template-columns: 68px 1fr; }
  .rail { padding: 16px 10px; }
  .logo { font-size: 0; padding: 4px 0 18px; text-align: center; }
  .logo::before { content: 'A'; font-size: 17px; font-weight: 500; }
  .logo .serif { display: none; }
  .espace { justify-content: center; padding: 11px 0; }
  .espace > span:not(.ico), .espace .bientot { display: none; }
  .espace .ico svg { width: 22px; height: 22px; }
  .rail-pied { padding: 8px 0; }
  .profil-lien { justify-content: center; padding: 6px 0; }
  .profil-lien > span:not(.avatar-vide) { display: none; }
  .moteur span:last-child { display: none; }
  .moteur { justify-content: center; }
  .scene { padding: 24px 16px 60px; }
  .parcours { grid-template-columns: 1fr; gap: 20px; }
  .etapes { position: static; flex-direction: row; overflow-x: auto; }
  .etape { white-space: nowrap; }
  .etape .sous { display: none; }
  .panneau { padding: 22px 18px; }
  .photos { grid-template-columns: repeat(2, 1fr); }
  .editeur { width: 100%; }
}

/* Zone d'export hors écran (taille réelle, jamais visible) */
#export-zone { position: fixed; left: -3000px; top: 0; width: 1080px; height: 1350px; overflow: hidden; }

/* Ma marque */
.onglets { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 22px; }
.onglet { border: 1px solid rgba(27,33,31,.16); background: #fff; color: var(--bx); border-radius: 999px; padding: 9px 16px; font-weight: 500; font-size: 14.5px; }
.onglet.on { background: var(--bx2); color: #fff; border-color: var(--bx2); }
.marque-grille { display: grid; grid-template-columns: 1fr 300px; gap: 28px; align-items: start; }
.ligne2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.apercu-marque { position: sticky; top: 40px; }
.apercu-titre { font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--encre2); margin-bottom: 10px; }
/* Ma marque : deux encadrés à l'arrivée (créer un projet, mes projets), puis les onglets */
.mp-cartes { display: grid; grid-template-columns: minmax(220px, 1fr) 2fr; gap: 14px; margin-bottom: 22px; }
.mp-carte { background: var(--carte); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--ombre); }
.mp-nouveau { border: 1.5px dashed rgba(27,33,31,.28); background: var(--fond); color: var(--bx); text-align: left; cursor: pointer; display: flex; flex-direction: row; gap: 14px; align-items: center; box-shadow: none; }
.mp-nouveau-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.mp-nouveau:hover { background: #fff; border-color: var(--bx2); }
.mp-nouveau b { font-weight: 600; font-size: 16px; } .mp-nouveau small { color: var(--encre2); font-size: 13.5px; }
.mp-plus-ico { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--bx2); color: #fff; font-size: 22px; line-height: 1; display: inline-flex; align-items: center; justify-content: center; }
.mp-tete { display: flex; align-items: baseline; gap: 10px; margin-bottom: 12px; } .mp-tete b { font-weight: 600; font-size: 16px; }
.mp-actuel-carte { display: flex; align-items: center; gap: 12px; background: var(--fond); border-radius: 14px; padding: 12px 14px; }
.mp-actuel-carte .swatch i { width: 16px; height: 16px; border-radius: 5px; }
.mp-actuel-txt { flex: 1; min-width: 0; } .mp-actuel-txt small { display: block; font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--encre2); } .mp-actuel-txt b { font-weight: 600; font-size: 16px; }
.mp-galerie { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.mp-tuile { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(27,33,31,.16); background: #fff; color: var(--bx); border-radius: 12px; padding: 8px 12px; font-size: 14px; font-weight: 500; cursor: pointer; }
.mp-tuile:hover { border-color: var(--bx2); } .mp-tuile .swatch i { width: 11px; height: 11px; border-radius: 3px; }
@media (max-width: 720px) { .mp-cartes { grid-template-columns: 1fr; } }
/* Les récaps une fois validé */
.recap { display: flex; flex-direction: column; gap: 12px; }
.recap-ligne small { display: block; font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--encre2); margin-bottom: 2px; }
.recap-ligne div { font-size: 16px; line-height: 1.5; }
.recap-couleurs { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.recap-c i { display: block; height: 64px; border-radius: 12px; border: 1px solid rgba(0,0,0,.06); margin-bottom: 8px; }
.recap-c b { font-weight: 500; font-size: 14px; display: block; } .recap-c code { font-size: 12px; color: var(--encre2); }
.recap-polices { background: var(--fond); border-radius: 16px; padding: 22px 24px; }
.recap-logo { background: var(--fond); border-radius: 16px; padding: 22px; display: flex; align-items: center; justify-content: center; min-height: 120px; }
.recap-logo img { max-height: 120px; max-width: 260px; object-fit: contain; }
.couleurs { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.couleur { display: flex; align-items: center; gap: 12px; background: var(--fond); border-radius: 14px; padding: 10px 12px; }
.couleur input[type=color] { width: 44px; height: 44px; border: 0; border-radius: 12px; background: none; padding: 0; cursor: pointer; }
.couleur input[type=color]::-webkit-color-swatch-wrapper { padding: 0; }
.couleur input[type=color]::-webkit-color-swatch { border: 1px solid rgba(0,0,0,.08); border-radius: 12px; }
.couleur b { font-weight: 500; font-size: 14px; display: block; }
.couleur small { color: var(--encre2); font-size: 12px; }
.couleur code { margin-left: auto; font-size: 12px; color: var(--encre2); }
.depot { display: flex; align-items: center; justify-content: center; min-height: 90px; border: 2px dashed rgba(27,33,31,.25); border-radius: 16px; background: var(--fond); color: var(--encre2); font-size: 14px; cursor: pointer; padding: 14px; text-align: center; }
.depot input { display: none; }
.logo-depot { min-height: 140px; }
.logo-depot img { max-height: 110px; max-width: 100%; object-fit: contain; }
.props { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.prop { display: inline-flex; align-items: center; gap: 10px; border: 1px solid rgba(27,33,31,.16); background: #fff; color: var(--bx); border-radius: 999px; padding: 7px 14px 7px 8px; font-size: 14px; font-weight: 500; }
.swatch { display: inline-flex; gap: 3px; }
.swatch i { width: 18px; height: 18px; border-radius: 6px; border: 1px solid rgba(0,0,0,.06); display: block; }
.paires { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.paire { border: 1.5px solid rgba(27,33,31,.14); border-radius: 16px; padding: 16px; background: #fff; text-align: left; color: var(--bx); }
.paire.on { border-color: var(--bx2); box-shadow: 0 0 0 2px rgba(31,91,82,.22); }
.paire .p-titre { font-size: 22px; font-weight: 600; line-height: 1.1; margin-bottom: 6px; }
.paire .p-texte { font-size: 14px; color: var(--encre2); line-height: 1.4; }
.paire small { display: block; margin-top: 8px; font-size: 12.5px; color: var(--encre2); }
.paires.compact .paire { padding: 12px 14px; }
.paires.compact .p-titre { font-size: 18px; }
.connexion { background: var(--fond); border-radius: 16px; padding: 16px 18px; margin-bottom: 12px; }
.connexion .c-tete { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.connexion p { font-size: 14.5px; color: var(--encre2); margin-bottom: 10px; }
.connexion .c-ligne { display: flex; gap: 8px; }
.connexion input { flex: 1; border: 1px solid rgba(27,33,31,.18); border-radius: 12px; padding: 9px 12px; background: #fff; }
.connexion small { display: block; margin-top: 8px; font-size: 12.5px; color: var(--encre2); }
.etat { font-size: 12px; font-weight: 500; color: var(--encre2); background: var(--surface); padding: 3px 9px; border-radius: 999px; }
.etat.ok { background: var(--ok-fond); color: var(--ok); }
.da-choix { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.da-carte { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; border: 1.5px solid rgba(27,33,31,.14); border-radius: 16px; padding: 16px; background: #fff; color: var(--bx); text-align: left; text-decoration: none; }
.da-carte.on { border-color: var(--bx2); box-shadow: 0 0 0 2px rgba(31,91,82,.22); }
.da-carte b { font-weight: 600; font-size: 15.5px; }
.da-carte small { color: var(--encre2); font-size: 13px; }
.da-carte .swatch i { width: 24px; height: 24px; border-radius: 8px; }
@media (max-width: 900px) { .marque-grille, .ligne2, .da-choix { grid-template-columns: 1fr; } .apercu-marque { position: static; } }

/* Profil, idées, stories */
a.espace, a.carte, a.btn, a.da-carte { text-decoration: none; }
a.carte:hover { border-color: rgba(27,33,31,.18); transform: translateY(-1px); }
.profil-lien { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 14px; color: var(--bx); text-decoration: none; font-weight: 500; font-size: 15px; margin-bottom: 8px; }
.profil-lien:hover { background: var(--doux); }
.profil-lien.actif { background: var(--bx2); color: #fff; }
.profil-lien img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.avatar-vide { width: 72px; height: 72px; border-radius: 50%; background: var(--surface); color: var(--bx2); display: flex; align-items: center; justify-content: center; font-family: var(--tight); font-weight: 600; font-size: 28px; }
.avatar-vide.petit { width: 30px; height: 30px; font-size: 14px; }
.avatar-vide.petit svg { width: 18px; height: 18px; }
.avatar-depot { min-height: 160px; }
.avatar-depot img { width: 130px; height: 130px; border-radius: 50%; object-fit: cover; }
.abo { display: flex; align-items: center; justify-content: space-between; background: var(--fond); border-radius: 16px; padding: 16px 18px; }
.abo b { font-weight: 600; display: block; } .abo small { color: var(--encre2); font-size: 14px; } /* 09/11/2026 : jamais sous 14 px */
.carte-profil { background: var(--carte); border-radius: var(--radius); padding: 24px; box-shadow: var(--ombre); display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.carte-profil img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; }
.carte-profil b { font-weight: 600; font-size: 17px; } .carte-profil small { color: var(--encre2); }
.ligne3 { display: grid; grid-template-columns: 1fr 2fr; gap: 18px; }
.idees { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.idee { background: var(--carte); border-radius: var(--radius); padding: 20px; box-shadow: var(--ombre); display: flex; flex-direction: column; gap: 8px; }
.idee.fait { opacity: .55; }
.idee .i-tete { display: flex; align-items: center; justify-content: space-between; }
.idee h3 { font-size: 17px; }
.idee .i-hook { font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--bx2); line-height: 1.25; }
.idee p { font-size: 14.5px; color: var(--bx); }
.idee .i-meca { font-size: 13.5px; color: var(--encre2); }
.idee .i-cta { font-size: 13px; font-weight: 500; color: var(--bx2); }
.tag-format { font-size: 11.5px; font-weight: 500; padding: 3px 9px; border-radius: 999px; background: var(--surface); color: var(--bx); }
.tag-format.carrousel { background: var(--bx2); color: #fff; } .tag-format.stories { background: var(--ok-fond); color: var(--ok); }
.coche { font-size: 13px; color: var(--encre2); display: flex; align-items: center; gap: 6px; }
.slides.stories { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.vignette.story, .apercu.story { aspect-ratio: 9/16; }
.photo-slot.haute { aspect-ratio: 9/16; }
.photos:has(.haute) { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 900px) { .ligne3 { grid-template-columns: 1fr; } .photos:has(.haute) { grid-template-columns: repeat(3, 1fr); } }

/* Mur et drop */
.mur { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.real { background: var(--carte); border-radius: var(--radius); overflow: hidden; box-shadow: var(--ombre); display: flex; flex-direction: column; }
.real > img { width: 100%; aspect-ratio: 4/5; object-fit: cover; background: var(--surface); }
.r-corps { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; }
.r-tete { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13.5px; }
.r-tete b { font-weight: 600; }
.r-avatar { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.r-quand { margin-left: auto; color: var(--encre2); font-size: 12.5px; }
.r-corps p { font-size: 14px; color: var(--bx); }
.verrou .v-tete { display: flex; gap: 16px; align-items: center; margin-bottom: 18px; }
.cadenas { font-size: 34px; }
.v-liste { display: flex; flex-direction: column; gap: 8px; }
.v-item { display: flex; align-items: center; gap: 10px; background: var(--fond); border-radius: 12px; padding: 10px 14px; color: var(--encre2); font-size: 15px; }
.etoiles { display: flex; gap: 4px; }
.etoiles button { border: 0; background: none; font-size: 34px; color: var(--surface); padding: 0 2px; line-height: 1; }
.etoiles button.on { color: #A3CDB9; }
.tag-format.idee { background: #F5E9DD; color: var(--bx2); } .tag-format.photo { background: var(--surface); }

/* Studio photo, drop de prompts, références */
.refs { display: flex; flex-wrap: wrap; gap: 10px; }
.ref { position: relative; width: 110px; border-radius: 14px; overflow: hidden; background: var(--surface); }
.ref img { width: 110px; height: 138px; object-fit: cover; display: block; }
.ref .x { position: absolute; top: 6px; right: 6px; background: #fff; border: 0; border-radius: 50%; width: 24px; height: 24px; font-size: 12px; cursor: pointer; }
.ref.ajout { height: 138px; border: 2px dashed rgba(27,33,31,.25); background: var(--fond); display: flex; align-items: center; justify-content: center; font-size: 30px; color: var(--encre2); cursor: pointer; }
.ref.ajout input { display: none; }
.ref-nom { width: 100%; border: 0; border-top: 1px solid var(--ligne); padding: 6px 8px; font-size: 12.5px; background: #fff; }
.studio-grille { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; }
.prompt-drop { background: var(--fond); border-radius: 16px; padding: 16px 18px; margin-bottom: 22px; }
.prompt-drop .lbl { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--bx2); font-weight: 500; margin-bottom: 4px; }
.resultat { border-radius: 16px; overflow: hidden; background: var(--surface); aspect-ratio: 4/5; display: flex; align-items: center; justify-content: center; box-shadow: var(--ombre); }
.resultat.\31 -1 { aspect-ratio: 1; } .resultat.\39 -16 { aspect-ratio: 9/16; } .resultat.\31 6-9 { aspect-ratio: 16/9; }
.resultat img { width: 100%; height: 100%; object-fit: cover; }
.resultat .vide { color: var(--encre2); font-size: 14px; }
.galerie { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.g-item { border-radius: 14px; overflow: hidden; background: var(--carte); box-shadow: var(--ombre); }
.g-item img { width: 100%; aspect-ratio: 4/5; object-fit: cover; display: block; }
.g-bas { display: flex; align-items: center; gap: 8px; padding: 8px 10px; font-size: 12.5px; }
.g-bas span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.g-bas a, .g-bas button { border: 0; background: var(--doux); color: var(--bx); border-radius: 8px; width: 26px; height: 26px; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; cursor: pointer; font-size: 12px; }
.prompts { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.prompt-carte { background: var(--carte); border-radius: var(--radius); overflow: hidden; box-shadow: var(--ombre); display: flex; flex-direction: column; }
.p-visuel { height: 120px; position: relative; background: linear-gradient(135deg, var(--bx), var(--bx2)); }
.p-visuel.portrait { background: linear-gradient(135deg, #17463F, #C97A63); }
.p-visuel.produit, .p-visuel.packshot { background: linear-gradient(135deg, #E9E8E2, #C9B8AC); }
.p-visuel.lifestyle { background: linear-gradient(135deg, #6F7672, #E9E8E2); }
.p-visuel.ambiance { background: linear-gradient(135deg, #1F5B52, #6F7672); }
.p-visuel.video { background: linear-gradient(135deg, #1E1B1A, #17463F); }
.p-visuel .tag-format { position: absolute; left: 12px; top: 12px; background: rgba(255,255,255,.92); color: var(--bx); }
.p-corps { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; }
.p-corps h3 { font-size: 16.5px; } .p-corps p { font-size: 14px; color: var(--encre2); } .p-corps small { font-size: 12.5px; color: var(--encre2); }
.tag-format.video { background: var(--bx); color: #fff; }
@media (max-width: 900px) { .studio-grille { grid-template-columns: 1fr; } }

.drop-liste { display: flex; flex-direction: column; gap: 8px; }
.drop-item { display: flex; align-items: center; gap: 14px; background: var(--carte); border-radius: 14px; padding: 12px 16px; box-shadow: var(--ombre); }
.drop-item b { flex: 1; font-weight: 600; font-size: 16px; }
.drop-item.video { opacity: .6; }
.cats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-bottom: 20px; }
.cat:first-child { background: var(--bx2); color: #fff; border-color: var(--bx2); } .cat:first-child small { color: rgba(255,255,255,.75); } .cat:first-child.on { box-shadow: 0 0 0 2px rgba(27,33,31,.3); }
.cat { border: 1.5px solid rgba(27,33,31,.14); border-radius: 16px; padding: 14px; background: #fff; color: var(--bx); text-align: left; }
.cat.on { border-color: var(--bx2); box-shadow: 0 0 0 2px rgba(31,91,82,.22); }
.cat b { display: block; font-weight: 600; font-size: 15.5px; } .cat small { color: var(--encre2); font-size: 12.5px; }
.scenes { display: flex; flex-wrap: wrap; gap: 8px; }
.scenes button { border: 1px solid rgba(27,33,31,.18); background: #fff; color: var(--bx); border-radius: 999px; padding: 9px 16px; font-weight: 500; font-size: 14.5px; }
.scenes button.on { background: var(--bx2); color: #fff; border-color: var(--bx2); }
.perso { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; }
.perso .champ { margin-bottom: 6px; } .perso input { padding: 10px 12px !important; }
@media (max-width: 900px) { .cats { grid-template-columns: 1fr 1fr; } .cat:first-child { grid-column: 1 / -1; } .perso { grid-template-columns: 1fr; } }
.refs.mini { align-items: center; }
.refs.mini img { width: 44px; height: 55px; object-fit: cover; border-radius: 8px; }

/* Bibliothèque façon MPS */
.filtres { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.filtre-ico { color: var(--encre2); font-size: 18px; margin-right: 2px; }
.filtre { border: 1px solid rgba(27,33,31,.18); background: #fff; color: var(--bx); border-radius: 999px; padding: 9px 16px; font-weight: 500; font-size: 14.5px; }
.filtre.on { background: var(--bx2); color: #fff; border-color: var(--bx2); }
.filtre.drop:not(.on) { border-color: var(--bx2); color: var(--bx2); }
.filtre.libre { margin-left: auto; background: var(--fond); }
.biblio { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.vig { position: relative; aspect-ratio: 4/5; border: 0; padding: 0; border-radius: 16px; overflow: hidden; background: var(--surface); cursor: pointer; box-shadow: var(--ombre); text-align: left; }
.vig img, .vig .vig-fond { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.vig:hover img, .vig:hover .vig-fond { transform: scale(1.04); }
.vig-fond.produits { background: linear-gradient(135deg, #E9E8E2, #C9B8AC); }
.vig-fond.video { background: linear-gradient(135deg, #1E1B1A, #17463F); }
.vig-fond.ambiance { background: linear-gradient(135deg, #1F5B52, #6F7672); }
.vig-fond.animer { background: linear-gradient(135deg, #3B1E4A, #6F7672); }
.vig-fond.drop { background: linear-gradient(135deg, #17463F, #C97A63); }
.vig-voile { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(20,4,10,.78) 100%); }
.vig-nom { position: absolute; left: 14px; right: 14px; bottom: 14px; color: #fff; font-family: var(--tight); font-weight: 600; font-size: 17px; line-height: 1.15; letter-spacing: 0; text-shadow: 0 2px 10px rgba(0,0,0,.35); }
.vig-badge { position: absolute; left: 10px; top: 10px; background: rgba(255,255,255,.92); color: var(--bx); font-size: 11.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px; }
.vig-cadenas { position: absolute; right: 10px; top: 10px; font-size: 16px; }
.vig.verrou img, .vig.verrou .vig-fond { filter: grayscale(.4) brightness(.8); }
.editeur.large { width: 440px; }
/* L'atelier plein écran (éditeur façon Canva) */
.editeur.atelier { width: 100vw; left: 0; right: 0; grid-template-rows: 60px 1fr 132px; grid-template-columns: 1fr 380px; grid-template-areas: 'top top' 'centre droite' 'bas bas'; padding: 0; overflow: hidden; background: var(--fond); box-shadow: none; }
.editeur.atelier.ouvert { display: grid; }
.at-top { grid-area: top; display: flex; align-items: center; gap: 12px; padding: 0 20px; border-bottom: 1px solid var(--ligne); background: #fff; }
.at-top h3 { font-size: 16px; }
.at-centre { grid-area: centre; display: flex; align-items: center; justify-content: center; padding: 20px; background: var(--surface); overflow: hidden; }
.at-centre .apercu { height: 100%; max-height: calc(100vh - 60px - 132px - 40px); width: auto; aspect-ratio: 4/5; margin: 0; box-shadow: 0 24px 60px rgba(40,6,16,.25); }
.at-centre .apercu.story { aspect-ratio: 9/16; } .at-centre .apercu.a5 { aspect-ratio: 1080/1532; }
.at-droite { grid-area: droite; overflow: auto; padding: 18px 20px 30px; background: #fff; border-left: 1px solid var(--ligne); }
.at-bas { grid-area: bas; display: flex; gap: 10px; align-items: center; padding: 12px 20px; overflow-x: auto; background: #fff; border-top: 1px solid var(--ligne); }
.at-mini { position: relative; flex: 0 0 auto; width: 84px; border: 2px solid transparent; border-radius: 10px; padding: 0; background: var(--surface); cursor: pointer; overflow: hidden; }
.at-mini .vignette { aspect-ratio: 4/5; border-radius: 8px; } .at-mini .vignette.story { aspect-ratio: 9/16; } .at-mini .vignette.a5 { aspect-ratio: 1080/1532; }
.at-mini.on { border-color: var(--bx2); }
.at-mini .num { position: absolute; left: 4px; top: 4px; z-index: 2; background: rgba(255,255,255,.92); font-size: 10px; font-weight: 600; padding: 1px 6px; border-radius: 999px; }
.at-mini .at-video { display: flex; align-items: center; justify-content: center; aspect-ratio: 4/5; color: #fff; background: var(--bx); font-size: 22px; }
@media (max-width: 900px) { .editeur.atelier { grid-template-columns: 1fr; grid-template-rows: 56px 44vh 1fr 96px; grid-template-areas: 'top' 'centre' 'droite' 'bas'; } .at-centre .apercu { max-height: 40vh; } .at-mini { width: 60px; } }
.editeur .tete h3 { font-size: 20px; }
.editeur .num-etape { font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--or-texte); }
.pan-visuel { border-radius: 14px; overflow: hidden; aspect-ratio: 4/3; margin-bottom: 16px; background: var(--surface); }
.pan-visuel img { width: 100%; height: 100%; object-fit: cover; display: block; }
.editeur .resultat { box-shadow: none; }
@media (max-width: 900px) { .biblio { grid-template-columns: repeat(2, 1fr); } .filtre.libre { margin-left: 0; } .editeur.large { width: 100%; } }

/* Studio vidéo */
.src-image { background: var(--fond); border-radius: 14px; padding: 12px; }
.src-apercu { width: 100%; max-height: 220px; object-fit: contain; border-radius: 10px; background: var(--surface); display: block; margin-bottom: 8px; }
.src-vide { color: var(--encre2); font-size: 14px; text-align: center; padding: 18px 0; }
.src-galerie { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.src-galerie img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 8px; cursor: pointer; border: 2px solid transparent; }
.src-galerie img.on { border-color: var(--bx2); }
.demo-video { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; height: 100%; width: 100%; color: #fff; background: linear-gradient(135deg, var(--bx), var(--bx2)); font-weight: 500; }
.demo-video span { font-size: 40px; } .demo-video small { opacity: .75; font-size: 12.5px; }
.g-item video { width: 100%; aspect-ratio: 4/5; object-fit: cover; display: block; background: var(--bx); }

/* Réalise ma vidéo */
.realise { display: flex; align-items: center; gap: 20px; width: 100%; text-align: left; background: var(--bx2); color: #fff; border: 0; border-radius: var(--radius); padding: 22px 26px; margin-bottom: 22px; cursor: pointer; }
.realise:hover { background: var(--bx2); }
.realise .r-sur { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; opacity: .7; margin-bottom: 4px; }
.realise h2 { color: #fff; margin-bottom: 4px; } .realise p { color: rgba(255,255,255,.8); font-size: 14.5px; max-width: 640px; }
.realise .btn { margin-left: auto; background: #fff; color: var(--bx); flex-shrink: 0; }
.realise .btn:hover { background: var(--fond); }
.plans { display: flex; flex-direction: column; gap: 10px; }
.plan-v { background: var(--fond); border-radius: 14px; padding: 12px 14px; }
.plan-v-tete { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; font-size: 14.5px; }
.plan-v textarea { width: 100%; min-height: 64px; border: 1px solid rgba(27,33,31,.14); border-radius: 10px; padding: 8px 10px; font-size: 14px; background: #fff; resize: vertical; }
@media (max-width: 900px) { .realise { flex-direction: column; align-items: flex-start; } .realise .btn { margin-left: 0; } }

/* Charte graphique exportable */
.charte-feuille { background: #fff; border: 1px solid var(--ligne); border-radius: 16px; padding: 26px 28px; color: var(--bx); }
.cf-tete { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.cf-nom { font-weight: 600; font-size: 30px; line-height: 1.05; } .cf-sous { font-style: italic; font-size: 20px; color: var(--encre2); margin-top: 4px; }
.cf-logo { height: 60px; max-width: 200px; object-fit: contain; }
.cf-couleurs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 18px; }
.cf-c i { display: block; height: 64px; border-radius: 12px; border: 1px solid rgba(0,0,0,.06); margin-bottom: 6px; }
.cf-c b { font-weight: 500; font-size: 13px; display: block; } .cf-c code { font-size: 12px; color: var(--encre2); }
.cf-polices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; border-top: 1px solid var(--ligne); padding-top: 16px; }
.cf-polices small { color: var(--encre2); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; display: block; margin-bottom: 4px; }
.cf-pied { margin-top: 16px; font-size: 13px; color: var(--encre2); }

.ligne3c { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.compo-apercu { background: var(--fond); border-radius: 16px; padding: 18px 20px; margin-top: 6px; }
@media (max-width: 900px) { .ligne3c { grid-template-columns: 1fr; } }

.projets { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: -8px 0 16px; }

/* Avatars et poses */
.avatar-fiche { background: var(--fond); border-radius: 16px; padding: 16px 18px; }
.poses-groupe { margin-bottom: 12px; } .poses-groupe small { display: block; color: var(--encre2); font-size: 12.5px; margin-bottom: 6px; }
.poses { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 132px)); gap: 10px; }
.pose { position: relative; aspect-ratio: 4/5; border: 1.5px dashed rgba(27,33,31,.25); border-radius: 12px; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 6px; cursor: pointer; overflow: hidden; }
.pose.ok { border-style: solid; border-color: var(--or); }
.pose img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pose input { display: none; }
.pose .pose-num { position: absolute; top: 6px; left: 6px; z-index: 2; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-family: var(--tight); font-weight: 600; font-size: 12.5px; color: var(--bx); background: var(--surface); margin: 0; }
.pose.ok .pose-num { background: rgba(255,255,255,.92); }
.pose .pose-nom { position: absolute; left: 6px; right: 6px; top: 50%; transform: translateY(-50%); display: block; font-size: 11.5px; line-height: 1.2; color: var(--encre2); margin: 0; padding: 0 2px; text-align: center; }
.pose.ok .pose-nom { top: auto; bottom: 0; left: 0; right: 0; transform: none; background: rgba(255,255,255,.9); color: var(--bx); padding: 4px; }
.pose .x { position: absolute; top: 4px; right: 4px; width: 20px; height: 20px; border: 0; border-radius: 50%; background: #fff; font-size: 10px; cursor: pointer; }
/* Détail d'un avatar : la photo s'ouvre en grand, le ✕ (règle en fin de feuille) est une cible à part. */
.pose-voir { position: absolute; inset: 0; border: 0; padding: 0; margin: 0; background: none; cursor: zoom-in; color: inherit; font: inherit; }
.pose-voir:focus-visible { outline: 2px solid var(--bx2); outline-offset: -2px; border-radius: 10px; }
/* « Supprimer cet avatar » : à droite de « Type », sur la ligne du libellé (sans la rendre plus haute). */
.av-type-tete { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.av-type-tete label { margin-bottom: 0; }
.av-type-tete .btn.mb-danger { color: #A1302A; padding: 0 2px; font-weight: 500; text-decoration: underline; text-decoration-color: rgba(161,48,42,.35); text-underline-offset: 3px; }
.av-type-tete .btn.mb-danger:hover { text-decoration-color: currentColor; }
.av-zoom-legende { color: #fff; font-size: 14px; align-self: center; margin-right: 6px; }
.av-annuler { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 60; margin: 0; padding: 10px 12px 10px 18px; display: flex; align-items: center; gap: 14px; max-width: calc(100% - 32px); box-shadow: var(--ombre); }
.av-annuler p { margin: 0; font-size: 14.5px; white-space: nowrap; }
@media (max-width: 640px) { .av-annuler { bottom: calc(84px + env(safe-area-inset-bottom)); } }

/* Accueil par catégories, avatars */
.cat-bloc { margin-bottom: 30px; }
.cat-tete { display: flex; align-items: baseline; gap: 12px; margin-bottom: 12px; } .cat-tete p { color: var(--encre2); font-size: 14px; }
.avatar-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choix.compact button { padding: 7px 12px; font-size: 13.5px; }
.pastille-peau { display: inline-block; width: 14px; height: 14px; border-radius: 50%; margin-right: 6px; vertical-align: -2px; border: 1px solid rgba(0,0,0,.08); }
.clone-etapes { display: flex; gap: 6px; margin: -6px 0 14px; flex-wrap: wrap; }
.clone-etapes span { font-size: 12.5px; padding: 4px 10px; border-radius: 999px; background: var(--fond); color: var(--encre2); }
.clone-etapes span.on { background: var(--bx2); color: #fff; } .clone-etapes span.fait { background: var(--ok-fond); color: var(--ok); }
.pose-courante { background: var(--fond); border-radius: 16px; padding: 14px 16px; }
.pc-num { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--bx2); font-weight: 500; }
.pose-courante h3 { margin: 4px 0 2px; } .pose-courante p { color: var(--encre2); font-size: 14px; }
.pose.courante { outline: 2px solid var(--bx); }
@media (max-width: 900px) { .avatar-actions { grid-template-columns: 1fr; } }

/* Styles de design */
.styles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.style-carte { border: 1.5px solid rgba(27,33,31,.14); border-radius: 16px; padding: 10px; background: #fff; text-align: left; color: var(--bx); display: flex; flex-direction: column; gap: 6px; cursor: pointer; }
.style-carte.on { border-color: var(--bx2); box-shadow: 0 0 0 2px rgba(31,91,82,.22); }
.style-carte .vignette { border-radius: 10px; }
.style-carte b { font-weight: 600; font-size: 14px; } .style-carte small { color: var(--encre2); font-size: 12px; line-height: 1.25; }

/* Abonnement */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.plan-carte { border: 1.5px solid rgba(27,33,31,.14); border-radius: 16px; padding: 18px; background: #fff; display: flex; flex-direction: column; gap: 8px; }
.plan-carte b { font-weight: 600; font-size: 16px; } .plan-carte .prix { font-family: var(--tight); font-weight: 600; font-size: 32px; line-height: 1; } .plan-carte .prix small { font-size: 14px; color: var(--encre2); font-family: Inter, sans-serif; font-weight: 400; }
.plan-carte p { font-size: 14px; color: var(--encre2); flex: 1; }
.jauge { height: 8px; border-radius: 999px; background: var(--surface); margin-top: 8px; overflow: hidden; } .jauge i { display: block; height: 100%; background: var(--bx2); border-radius: 999px; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }

/* Mes projets */
.projets-liste { display: flex; flex-direction: column; gap: 8px; }
.projet { display: flex; align-items: center; gap: 14px; background: var(--carte); border-radius: 14px; padding: 12px 16px; box-shadow: var(--ombre); color: var(--bx); text-decoration: none; }
.projet .p-ico { width: 36px; height: 36px; border-radius: 10px; background: var(--surface); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.projet .p-txt { flex: 1; display: flex; flex-direction: column; } .projet b { font-weight: 600; } .projet small { color: var(--encre2); font-size: 13px; }
.projet .p-imgs { display: flex; gap: 4px; } .projet .p-imgs img { width: 34px; height: 42px; object-fit: cover; border-radius: 6px; }

/* Projet actif dans la barre */
.projet-rail { position: relative; margin: -6px 0 14px; }
.projet-actif { display: flex; align-items: center; gap: 10px; width: 100%; border: 0; background: transparent; border-radius: 14px; padding: 9px 12px; color: var(--bx); text-align: left; cursor: pointer; }
.projet-actif:hover { background: var(--doux); }
.projet-actif .p-pal { display: inline-flex; } .projet-actif .p-pal svg { width: 22px; height: 22px; }
.projet-rail::after { content: ''; display: block; height: 1px; background: var(--ligne); margin: 12px 4px 4px; }
.projet-actif.actif { background: var(--doux); }
.projet-actif .swatch i { width: 12px; height: 12px; border-radius: 4px; }
.projet-actif .p-init { display: none; }
.projet-actif .p-nom { flex: 1; font-weight: 500; font-size: 14px; color: var(--encre2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.projet-actif .p-nom::before { content: 'Projet · '; }
.projet-actif .p-chev { color: var(--encre2); font-size: 12px; }
.projet-menu { display: none; position: absolute; left: 0; right: 0; top: calc(100% + 6px); background: #fff; border: 1px solid rgba(27,33,31,.14); border-radius: 14px; box-shadow: var(--ombre); padding: 6px; z-index: 30; }
.projet-menu.ouvert { display: block; }
.projet-menu button, .projet-menu a { display: flex; align-items: center; gap: 10px; width: 100%; border: 0; background: none; padding: 9px 10px; border-radius: 10px; color: var(--bx); font-size: 14px; text-align: left; text-decoration: none; cursor: pointer; }
.projet-menu button:hover, .projet-menu a:hover { background: var(--doux); }
.projet-menu a { color: var(--bx2); font-weight: 500; border-top: 1px solid var(--ligne); border-radius: 0; margin-top: 4px; }
.projet-menu .swatch i { width: 12px; height: 12px; border-radius: 4px; }
.rail-pied { display: flex; flex-direction: column; gap: 4px; }
@media (max-width: 900px) { .projet-actif { padding: 8px; justify-content: center; } .projet-actif .p-nom, .projet-actif .p-chev { display: none; } .projet-menu { left: 0; right: auto; width: 220px; } }

/* Accueil à onglets */
.onglets.grands { margin: -10px 0 26px; gap: 8px; }
.onglets.grands .onglet { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; font-size: 15.5px; font-weight: 600; }
.onglets.grands .onglet svg { width: 18px; height: 18px; }
.onglets.grands .badge { background: rgba(255,255,255,.22); border-radius: 999px; padding: 1px 8px; font-size: 12px; }
.onglets.grands .onglet:not(.on) .badge { background: var(--surface); color: var(--bx); }
.projet .btn.petit { margin-left: 8px; }
@media (max-width: 900px) { .projet-actif { justify-content: center; padding: 6px; } .projet-actif .p-nom, .projet-actif .p-chev { display: none; } .projet-actif .p-init { display: inline-flex; width: 34px; height: 34px; border-radius: 10px; background: var(--surface); color: var(--bx); font-weight: 600; font-size: 12px; align-items: center; justify-content: center; } }

/* Avatars (page Créer) */
.avatars { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.av-carte { border: 1.5px solid rgba(27,33,31,.14); border-radius: 16px; overflow: hidden; background: #fff; padding: 0; text-align: left; cursor: pointer; color: var(--bx); }
.av-carte.on { border-color: var(--bx2); box-shadow: 0 0 0 2px rgba(31,91,82,.22); }
.av-carte img, .av-carte .av-vide { width: 100%; aspect-ratio: 4/5; object-fit: cover; display: flex; align-items: center; justify-content: center; font-size: 40px; color: var(--encre2); background: var(--surface); }
.av-bas { padding: 10px 12px; } .av-bas b { display: block; font-weight: 600; font-size: 14.5px; } .av-bas small { color: var(--encre2); font-size: 12.5px; }

/* Organiser */
.todo { display: flex; flex-direction: column; gap: 8px; }
.todo-item { display: flex; align-items: center; gap: 14px; background: var(--carte); border-radius: 14px; padding: 12px 16px; box-shadow: var(--ombre); cursor: pointer; }
.todo-item input { width: 20px; height: 20px; accent-color: var(--bx); }
.todo-item .t-txt { flex: 1; display: flex; flex-direction: column; } .todo-item b { font-weight: 600; } .todo-item small { color: var(--encre2); font-size: 13px; }
.todo-item.fait b { text-decoration: line-through; color: var(--encre2); }
.piliers { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.pilier { background: var(--bx2); color: #fff; border-radius: 14px; padding: 14px 16px; } .pilier b { display: block; font-weight: 600; } .pilier small { opacity: .8; font-size: 13px; }
.plan-posts { display: flex; flex-direction: column; gap: 8px; }
.plan-post { display: flex; align-items: center; gap: 12px; background: var(--carte); border-radius: 14px; padding: 10px 14px; box-shadow: var(--ombre); }
.plan-post .coche { width: 92px; font-weight: 500; color: var(--bx); font-size: 14px; }
.plan-post .pp-txt { flex: 1; display: flex; flex-direction: column; } .plan-post b { font-weight: 600; font-size: 15px; } .plan-post small { color: var(--encre2); font-size: 13px; }
.plan-post.fait { opacity: .55; }
.comptes { display: flex; flex-wrap: wrap; gap: 8px; }
.compte { display: inline-flex; align-items: center; gap: 8px; background: var(--fond); border-radius: 999px; padding: 6px 8px 6px 14px; font-size: 14px; } .compte small { color: var(--encre2); }
.compte .x { border: 0; background: #fff; border-radius: 50%; width: 24px; height: 24px; font-size: 11px; cursor: pointer; }
.obs { display: flex; flex-direction: column; gap: 8px; }
.obs-item { background: var(--carte); border-radius: 14px; padding: 12px 16px; box-shadow: var(--ombre); display: flex; flex-direction: column; gap: 4px; }
.obs-item small { color: var(--bx2); font-weight: 500; font-size: 12.5px; } .obs-item b { font-weight: 500; } .obs-item .tag-format { align-self: flex-start; margin-top: 4px; }
@media (max-width: 900px) { .plan-post { flex-wrap: wrap; } }

.vignette.a5, .apercu.a5 { aspect-ratio: 1080/1532; }

/* Caméra dans l'app */
.cam { position: fixed; inset: 0; z-index: 100; background: #0d0709; color: #fff; display: flex; flex-direction: column; }
.cam-tete { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; font-size: 16px; }
.cam-x { border: 0; background: rgba(255,255,255,.14); color: #fff; width: 36px; height: 36px; border-radius: 50%; font-size: 16px; cursor: pointer; }
.cam-scene { position: relative; flex: 1; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.cam-scene video { width: 100%; height: 100%; object-fit: cover; }
.cam-guide { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); border: 3px dashed rgba(255,255,255,.75); pointer-events: none; }
.cam-guide.visage { width: 52vmin; height: 66vmin; border-radius: 50% / 46%; }
.cam-guide.buste { width: 62vmin; height: 86vmin; border-radius: 40% 40% 10% 10% / 30% 30% 6% 6%; }
.cam-guide.pied { width: 38vmin; height: 92vmin; border-radius: 40% 40% 12% 12% / 10% 10% 4% 4%; }
.cam-guide.produit { width: 64vmin; height: 64vmin; border-radius: 18px; }
.cam-compte { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-family: var(--tight); font-weight: 600; font-size: 120px; color: #fff; text-shadow: 0 4px 30px rgba(0,0,0,.5); pointer-events: none; }
.cam-conseil { text-align: center; padding: 10px 24px 0; font-size: 15px; color: rgba(255,255,255,.85); }
.cam-barre { display: flex; align-items: center; justify-content: center; gap: 34px; padding: 18px 0 34px; }
.cam-btn { border: 0; background: rgba(255,255,255,.14); color: #fff; width: 52px; height: 52px; border-radius: 50%; font-size: 18px; font-weight: 600; cursor: pointer; }
.cam-btn.on { background: #fff; color: #0d0709; }
.cam-shutter { width: 76px; height: 76px; border-radius: 50%; border: 5px solid #fff; background: rgba(255,255,255,.25); cursor: pointer; }
.cam-shutter:active { background: #fff; }
.pose-cam { position: absolute; bottom: 8px; border: 0; background: #fff; border-radius: 999px; padding: 3px 8px; font-size: 13px; cursor: pointer; box-shadow: var(--ombre); }

/* Retour global */
.retour-global { display: none; align-items: center; gap: 6px; margin: 22px 48px 0; border: 0; background: transparent; color: var(--encre2); font-weight: 500; font-size: 14.5px; cursor: pointer; padding: 6px 0; }
.retour-global:hover { color: var(--bx); }
.scene-wrap { min-width: 0; }
.retour-global + .scene { padding-top: 12px; }
@media (max-width: 900px) { .retour-global { margin: 14px 16px 0; } }

/* Studio web */
.web-grille { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.web-apercu { position: sticky; top: 24px; }
.web-apercu iframe { width: 100%; height: 640px; border: 1px solid var(--ligne); border-radius: 16px; background: #fff; transition: width .2s; }
.web-apercu iframe.mobile { width: 390px; display: block; margin: 0 auto; }
.w-sec { border: 1px solid var(--ligne); border-radius: 14px; padding: 10px 14px; margin-bottom: 10px; background: var(--fond); }
.w-sec summary { cursor: pointer; font-weight: 600; padding: 4px 0; }
.w-sec .champ { margin-bottom: 10px; } .w-sec textarea { min-height: 64px; }
.w-item { display: grid; grid-template-columns: 1fr 2fr auto; gap: 8px; align-items: start; margin-bottom: 8px; }
.w-item input, .w-item textarea { border: 1px solid rgba(27,33,31,.18); border-radius: 12px; padding: 8px 10px; font-size: 14px; background: #fff; width: 100%; }
.w-item textarea { min-height: 44px; } .w-item .x { border: 0; background: var(--doux); border-radius: 50%; width: 26px; height: 26px; cursor: pointer; margin-top: 6px; }
@media (max-width: 1100px) { .web-grille { grid-template-columns: 1fr; } .web-apercu { position: static; } }

.cible-marque { display: flex; align-items: center; gap: 10px; background: var(--fond); border-radius: 14px; padding: 10px 14px; font-size: 15px; }
.cible-marque span { flex: 1; }
.video-ref video { width: 110px; height: 138px; object-fit: cover; display: block; background: #000; }
.vig-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
.photos { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }

/* Retouche libre */
.apercu .cadre.libre { pointer-events: auto; cursor: pointer; }
.apercu .cadre.libre [data-el]:hover { outline: 2px dashed rgba(255,255,255,.6); outline-offset: 2px; }
.apercu .cadre.libre .libre-sel { outline: 3px solid #A3CDB9 !important; outline-offset: 2px; cursor: move; }
.at-centre .apercu.libre-on { overflow: visible; }
.libre-box { position: absolute; pointer-events: none; border: 3px solid #A3CDB9; box-sizing: border-box; z-index: 50; }
.libre-box .p { position: absolute; width: 30px; height: 30px; background: #fff; border: 3px solid #A3CDB9; border-radius: 6px; pointer-events: auto; margin: -15px 0 0 -15px; }
.libre-box .p.nw { left: 0; top: 0; cursor: nwse-resize; } .libre-box .p.n { left: 50%; top: 0; cursor: ns-resize; } .libre-box .p.ne { left: 100%; top: 0; cursor: nesw-resize; } .libre-box .p.e { left: 100%; top: 50%; cursor: ew-resize; }
.libre-box .p.se { left: 100%; top: 100%; cursor: nwse-resize; } .libre-box .p.s { left: 50%; top: 100%; cursor: ns-resize; } .libre-box .p.sw { left: 0; top: 100%; cursor: nesw-resize; } .libre-box .p.w { left: 0; top: 50%; cursor: ew-resize; }
.libre-box .rot { position: absolute; left: 50%; top: -70px; width: 34px; height: 34px; margin-left: -17px; border-radius: 50%; background: #fff; border: 3px solid #A3CDB9; pointer-events: auto; cursor: grab; }
.libre-box .rot::before { content: ''; position: absolute; left: 50%; top: 100%; width: 3px; height: 36px; margin-left: -1.5px; background: #A3CDB9; }
.libre-box .nb { position: absolute; right: -14px; top: -14px; background: #A3CDB9; color: #fff; font-size: 26px; font-weight: 600; border-radius: 999px; padding: 4px 14px; }
.libre-marquee { position: absolute; border: 3px dashed #A3CDB9; background: rgba(163, 205, 185,.12); pointer-events: none; z-index: 49; }
.onglets-libre { display: flex; gap: 4px; margin-top: 12px; border-bottom: 1px solid var(--ligne); }
.onglets-libre button { border: 0; background: none; padding: 8px 12px; font-size: 14px; font-weight: 500; color: var(--sourd); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.onglets-libre button.on { color: var(--bx); border-bottom-color: var(--bx); }
.libre-calques { display: flex; flex-direction: column; gap: 4px; margin-top: 10px; }
.libre-calques .calque { display: flex; align-items: center; gap: 10px; text-align: left; border: 1px solid var(--ligne); background: #fff; border-radius: 10px; padding: 8px 10px; font-size: 14px; cursor: pointer; }
.libre-calques .calque.on { border-color: var(--bx2); background: var(--doux); }
.libre-calques .calque .ico { width: 22px; text-align: center; color: var(--sourd); } .libre-calques .calque .nom { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.choix.compact.icones button, .choix.compact.formes button, .choix.compact.emojis button { padding: 6px 8px; line-height: 1; display: inline-flex; align-items: center; }
.choix.compact.emojis button { font-size: 20px; }
.at-zoom { display: inline-flex; align-items: center; border: 1px solid var(--ligne); border-radius: 999px; overflow: hidden; margin: 0 4px; }
.at-zoom button { border: 0; background: #fff; padding: 6px 10px; font-size: 13px; cursor: pointer; color: var(--bx); }
.at-zoom button:hover { background: var(--doux); }
.at-centre.zoome { overflow: auto; align-items: flex-start; justify-content: flex-start; }
.at-centre.zoome .apercu { max-height: none; flex: none; margin: 20px auto; }
.libre-panneau input[type=color] { width: 44px; height: 36px; border: 0; background: none; padding: 0; }

.ajouts-barre { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.ajouts-barre button { border: 1px solid rgba(27,33,31,.18); background: #fff; color: var(--bx); border-radius: 999px; padding: 7px 12px; font-size: 13.5px; font-weight: 500; cursor: pointer; }
.ajouts-barre button:hover { background: var(--doux); }

.libre-guides { position: absolute; inset: 0; pointer-events: none; }
.libre-guides i { position: absolute; display: none; background: #A3CDB9; }
.libre-guides .gv { left: 540px; top: 0; width: 3px; height: 100%; margin-left: -1px; }
.libre-guides .gh { top: 50%; left: 0; height: 3px; width: 100%; margin-top: -1px; }
.libre-guides .gm { top: 0; width: 3px; height: 100%; } .libre-guides .gm.gauche { left: 64px; } .libre-guides .gm.droite { right: 64px; }

/* Dire ce qu'on veut modifier */
.vig-bloc { display: flex; flex-direction: column; gap: 6px; }
.vig-dire { display: flex; gap: 6px; } .vig-dire input { flex: 1; min-width: 0; border: 1px solid rgba(27,33,31,.18); border-radius: 999px; padding: 8px 12px; font-size: 13px; background: #fff; }
.dire-bloc { background: var(--fond); border-radius: 16px; padding: 14px; }
.dire-bloc label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 8px; }
.dire-bloc textarea { width: 100%; min-height: 70px; border: 1px solid rgba(27,33,31,.18); border-radius: 12px; padding: 10px 12px; margin-bottom: 8px; background: #fff; }

/* Mes créations */
.creations { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.crea { display: flex; gap: 12px; border: 1px solid var(--ligne); border-radius: 14px; background: #fff; padding: 12px; box-shadow: var(--ombre); }
.crea-vue { width: 74px; flex: none; aspect-ratio: 4/5; border-radius: 9px; overflow: hidden; background: var(--surface); display: flex; align-items: center; justify-content: center; }
.crea-vue.stories { aspect-ratio: 9/16; width: 62px; } .crea-vue.flyer { aspect-ratio: 1080/1532; }
.crea-vue img { width: 100%; height: 100%; object-fit: cover; display: block; }
.crea-vide { font-size: 11.5px; color: var(--sourd); text-align: center; padding: 0 4px; }
.crea-corps { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.crea-corps b { font-weight: 600; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.crea-corps small { color: var(--sourd); font-size: 13px; }
.crea-corps { padding-right: 34px; }

/* La bienvenue */
.bienvenue { max-width: 980px; }
.bv-pas { display: flex; gap: 6px; margin-bottom: 26px; }
.bv-pas i { height: 4px; flex: 1; border-radius: 999px; background: var(--surface); }
.bv-pas i.on { background: var(--bx2); }
.bv-carte { padding: 24px; }
.bv-carte .champ + .champ { margin-top: 14px; }
.bv-deux { display: grid; grid-template-columns: 1fr 260px; gap: 22px; align-items: start; }
.bv-apercu .vignette { aspect-ratio: 4/5; border-radius: 14px; box-shadow: var(--ombre); }
@media (max-width: 820px) { .bv-deux { grid-template-columns: 1fr; } .bv-apercu { max-width: 240px; } }

/* Un mot quand le studio n'est pas encore branché */
.bandeau { border-radius: 14px; padding: 13px 16px; font-size: 14.5px; line-height: 1.45; margin-bottom: 18px; }
.bandeau.demo { background: #EEF6F1; border: 1px solid #CFE5DA; color: #17463F; }

/* Au clavier, on voit où on est */
:focus-visible { outline: 3px solid var(--bx); outline-offset: 2px; border-radius: 6px; }
.espace:focus-visible, .carte:focus-visible { outline-offset: 4px; }
button.vignette { padding: 0; font: inherit; text-align: left; color: inherit; }

/* Brancher son assistant */
.adresse-mcp { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; background: var(--surface); border-radius: 10px; padding: 9px 12px; word-break: break-all; }
.pas { margin: 10px 0 18px; padding-left: 22px; }
.pas li { margin-bottom: 8px; font-size: 15.5px; line-height: 1.5; }
.liste-simple { list-style: none; padding: 0; margin: 10px 0 14px; display: flex; flex-direction: column; gap: 9px; }
.liste-simple li { background: var(--surface); border-radius: 12px; padding: 12px 14px; font-size: 15px; line-height: 1.45; }
.connexion .pas { margin: 8px 0 6px; padding-left: 20px; }
.connexion .pas li { font-size: 14.5px; line-height: 1.45; margin-bottom: 5px; color: var(--encre2); }

/* Les intertitres existaient mais n'étaient stylés que dans l'éditeur : ils étaient donc
   invisibles dans le compte et la prise en main. */
.panneau .section { font-size: 12.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--or-texte); margin: 28px 0 10px; }

/* Le tableau des tarifs de la prise en main : sobre, lisible, sans bordures dures. */
.tarifs { width: 100%; border-collapse: collapse; margin: 10px 0 14px; }
.tarifs td { padding: 11px 12px; border-bottom: 1px solid rgba(27,33,31,.10); font-size: 15px; }
.tarifs tr:last-child td { border-bottom: 0; }
.tarifs .gris { color: var(--encre2); font-size: 14px; }
.tarifs .prix-cell { text-align: right; font-weight: 600; white-space: nowrap; }

/* Les photos de référence, partout où on crée : les voir, en ajouter, les récupérer. */
.refs-bloc { background: var(--fond); border-radius: 14px; padding: 12px 14px; }
.refs-bloc .choix { margin-bottom: 10px; }
.refs-bloc .choix button img { width: 22px; height: 22px; border-radius: 6px; object-fit: cover; vertical-align: middle; margin-right: 6px; }
.refs-bloc .refs.mini img { cursor: pointer; transition: transform .12s ease; }
.refs-bloc .refs.mini img:hover { transform: translateY(-2px); }
.refs-bloc .refs-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 10px; }
.refs-bloc .refs-actions label { cursor: pointer; }
.refs-bloc .indice { margin-top: 8px; }

/* L'atelier : l'ordre des slides dans la barre du haut, les onglets fixes, le panneau d'élément regroupé. */
.at-ordre { display: inline-flex; gap: 2px; margin-left: 2px; }
.at-ordre button { border: 1px solid var(--ligne); background: #fff; width: 28px; height: 28px; border-radius: 8px; cursor: pointer; color: var(--bx); font-size: 14px; }
.at-ordre button:disabled { opacity: .35; cursor: default; }
.at-onglets { margin-top: 0; margin-bottom: 10px; }
.at-onglets button { flex: 1; text-align: center; }
.at-onglets button { padding-left: 4px; padding-right: 4px; font-size: 13.5px; }
.at-droite .da-choix { grid-template-columns: 1fr; gap: 8px; } .at-droite .da-carte { padding: 12px 14px; }
.at-droite .couleurs { grid-template-columns: 1fr 1fr; gap: 8px; } .at-droite .couleur { padding: 8px 10px; gap: 8px; } .at-droite .couleur code { display: none; }
.at-droite .paires { grid-template-columns: 1fr; gap: 8px; }
.at-droite .styles { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.at-droite .plan-hook { padding: 12px 14px; } .at-droite .plan-hook .h { font-size: 17px; }
.at-droite .plan-item { grid-template-columns: 26px 1fr; gap: 4px 10px; padding: 8px 10px; } .at-droite .plan-item .n { grid-row: 1 / 3; } .at-droite .plan-item .lay { grid-column: 2; justify-self: start; } .at-droite .plan-item input { grid-column: 2; font-size: 14px; }
.brief-plus { margin-top: 6px; border-top: 1px solid var(--ligne); }
.brief-plus summary { cursor: pointer; font-weight: 600; font-size: 15.5px; padding: 14px 0 10px; list-style: none; }
.brief-plus summary::before { content: '▸ '; color: var(--bx2); } .brief-plus[open] summary::before { content: '▾ '; }
.brief-plus summary::-webkit-details-marker { display: none; }
.libre-panneau details.grp { border-top: 1px solid var(--ligne); padding: 2px 0 8px; }
.libre-panneau details.grp summary { list-style: none; cursor: pointer; padding: 11px 0 6px; font-size: 12.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--encre2); display: flex; align-items: center; }
.libre-panneau details.grp summary::-webkit-details-marker { display: none; }
.libre-panneau details.grp summary::after { content: '+'; margin-left: auto; font-size: 16px; line-height: 1; color: var(--sourd); }
.libre-panneau details.grp[open] summary::after { content: '−'; }
.libre-panneau details.grp .ligne2 { gap: 12px; }

/* Le compte à rebours des créations (30 jours dans l'ajence). */
.g-item { position: relative; }
.g-item .exp { position: absolute; top: 8px; left: 8px; z-index: 1; font-size: 11px; font-weight: 500; line-height: 1; padding: 5px 8px; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--encre2); box-shadow: 0 2px 8px rgba(40,6,16,.12); }
.g-item .exp.bientot { background: var(--bx2); color: #fff; }
.g-bas .g-drive[hidden] { display: none; }

/* La cloche et le centre de notifications. */
.espace.cloche { position: relative; cursor: pointer; }
.espace.cloche .badge { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--bx2); color: #fff; font-size: 11.5px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; }
.espace.cloche .badge[hidden] { display: none; }
.notifs { position: fixed; z-index: 60; width: 340px; max-height: min(520px, 75vh); overflow: auto; background: var(--carte); border-radius: 18px; box-shadow: 0 2px 6px rgba(27,33,31,.08), 0 24px 60px -20px rgba(40,6,16,.35); border: 1px solid var(--ligne); }
.notifs-tete { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px 10px; border-bottom: 1px solid var(--ligne); position: sticky; top: 0; background: var(--carte); }
.notifs-tete b { font-size: 15px; font-weight: 600; }
.notif { display: flex; gap: 12px; padding: 12px 16px; text-decoration: none; color: var(--bx); border-bottom: 1px solid var(--ligne); cursor: pointer; }
.notif:last-child { border-bottom: 0; }
.notif:hover { background: var(--doux); }
.notif .notif-ico { width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%; background: var(--surface); display: inline-flex; align-items: center; justify-content: center; font-size: 14px; }
.notif .notif-corps { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.notif .notif-corps b { font-size: 14px; font-weight: 500; line-height: 1.3; }
.notif .notif-corps small { font-size: 14px; line-height: 1.4; color: var(--encre2); } /* 14/10 : 14 px au moins, jamais plus petit */
.notif .notif-corps i { font-style: normal; font-size: 14px; color: var(--encre2); }
.notif.nouveau { background: rgba(27,33,31,.035); }
.notif.nouveau .notif-corps b { font-weight: 600; }
.notif.nouveau .notif-ico { background: var(--bx2); color: #fff; }
.notif .notif-ico { width: 32px; height: 32px; color: var(--bx2); }
/* 14/10 : les nouveautés de l'ajence dans la cloche : pastille dorée (icône dédiée), et un bouton « Découvrir » vers la page concernée (44 px au téléphone). */
.notif.type-nouveaute .notif-ico { background: var(--or); color: var(--bx); }
.notif .notif-aller { display: inline-flex; align-items: center; justify-content: center; align-self: flex-start; margin-top: 6px; min-height: 36px; padding: 0 16px; border-radius: 999px; background: var(--or); color: var(--bx); font-size: 14px; font-weight: 600; line-height: 1; }
.notif:hover .notif-aller { background: var(--or2); }
@media (max-width: 640px) { .notif .notif-aller { align-self: stretch; min-height: 44px; } }
@media (max-width: 900px) {
  .espace.cloche .badge { position: absolute; top: 4px; right: 8px; min-width: 16px; height: 16px; font-size: 10px; padding: 0 4px; }
  .notifs { left: 12px !important; right: 12px; width: auto; }
}

/* L'état du compte dans l'onglet Profil. */
.compte-etat { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; background: var(--fond); border-radius: 12px; padding: 10px 12px; font-size: 14.5px; }

.legal-liens { padding: 10px 0 0 12px; font-size: 14px; color: var(--encre2); white-space: nowrap; }
/* « Studio connecté » : témoin technique, sans intérêt pour un membre. Seul le mode démonstration se montre. */
.rail .moteur:not(.demo) { display: none; }
.legal-liens a { color: var(--encre2); text-decoration: none; }
.legal-liens a:hover { text-decoration: underline; }
@media (max-width: 900px) { .legal-liens { display: none; } }

/* Tableau de bord des membres */
.mb-kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; margin-bottom: 14px; }
.mb-kpi { background: var(--carte); border-radius: 18px; padding: 16px 18px; box-shadow: var(--ombre); display: flex; flex-direction: column; gap: 2px; }
.mb-kpi small { color: var(--encre2); font-size: 14px; }
.mb-kpi b { font-family: var(--tight); font-weight: 600; font-size: 28px; line-height: 1.2; }
.mb-kpi span { color: var(--encre2); font-size: 14px; line-height: 1.35; }
.mb-carte { background: var(--carte); border-radius: 18px; padding: 16px 18px; box-shadow: var(--ombre); margin-bottom: 22px; }
.mb-carte-tete { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.mb-carte-tete b { font-weight: 600; }
.mb-courbe { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; height: 96px; align-items: end; }
.mb-barre { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; }
.mb-barre i { width: 100%; max-width: 34px; background: var(--bx2); border-radius: 6px 6px 3px 3px; opacity: .85; }
.mb-barre i.vide { background: var(--surface); opacity: 1; }
.mb-barre span { font-size: 14px; color: var(--encre2); min-height: 20px; }
.mb-outils { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.mb-outils input[type=search] { flex: 1 1 260px; border: 1px solid rgba(27,33,31,.18); border-radius: 999px; padding: 10px 16px; background: #fff; font-size: 15px; }
.mb-outils select, .mb-offrir select { border: 1px solid rgba(27,33,31,.18); border-radius: 999px; padding: 9px 14px; background: #fff; font-size: 14.5px; }
.mb-filtres .onglet { display: inline-flex; gap: 6px; align-items: center; }
.mb-n { font-size: 14px; opacity: .7; }
.mb-table { background: var(--carte); border-radius: 18px; box-shadow: var(--ombre); overflow: hidden; }
.mb-entete, .mb-ligne { display: grid; grid-template-columns: minmax(220px, 2.4fr) 100px 100px 100px 118px 84px 96px; gap: 10px; align-items: center; padding: 12px 18px; }
.mb-entete { font-size: 14px; color: var(--encre2); border-bottom: 1px solid var(--ligne); }
.mb-ligne { width: 100%; border: 0; background: transparent; text-align: left; color: var(--bx); font-size: 14.5px; border-bottom: 1px solid var(--ligne); }
.mb-ligne:last-child { border-bottom: 0; }
.mb-ligne:hover, .mb-ligne.on { background: var(--doux); }
.mb-qui { display: flex; gap: 12px; align-items: center; min-width: 0; }
.mb-qui > span:last-child { min-width: 0; display: flex; flex-direction: column; }
.mb-qui b { font-weight: 600; }
.mb-qui small { color: var(--encre2); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mb-av { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; font-weight: 600; }
.mb-badge { display: inline-block; font-size: 14px; font-weight: 500; padding: 3px 10px; border-radius: 999px; background: var(--surface); color: var(--encre2); white-space: nowrap; }
.mb-badge.ok { background: var(--ok-fond); color: var(--ok); }
.mb-badge.offert { background: #F3E6EA; color: var(--bx2); }
.mb-badge.rouge { background: #F5E0DD; color: #A1302A; }
.mb-badge.logiciels { background: #E3EFEC; color: var(--bx2); } /* 14/10 : client des logiciels sans abonnement */
.mb-cles { display: inline-flex; gap: 4px; }
.mb-cles i { font-style: normal; width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; font-size: 14px; font-weight: 500; background: var(--fond); color: rgba(27,33,31,.3); border: 1px dashed rgba(27,33,31,.2); }
.mb-cles i.on { background: var(--bx2); color: #fff; border: 1px solid var(--bx); }
.mb-fiche .mb-id { display: flex; flex-direction: column; gap: 4px; font-size: 15px; }
.mb-fiche .mb-id a { color: var(--bx2); }
.mb-etapes { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.mb-etapes li { display: flex; gap: 10px; align-items: center; font-size: 15px; color: var(--encre2); }
.mb-etapes li i { font-style: normal; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid rgba(27,33,31,.22); display: grid; place-items: center; font-size: 13px; flex: none; }
.mb-etapes li.ok { color: var(--bx); }
.mb-etapes li.ok i { background: var(--or); border-color: var(--or); color: var(--bx); }
.mb-mini { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.mb-mini > div { background: var(--fond); border-radius: 12px; padding: 10px; display: flex; flex-direction: column; }
.mb-mini b { font-weight: 600; font-size: 15.5px; }
.mb-mini small { color: var(--encre2); font-size: 14px; }
.mb-dep { margin: 0 0 6px; padding-left: 18px; font-size: 15px; }
.mb-offrir { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 6px; }
.mb-case { display: flex; gap: 8px; align-items: center; font-size: 15px; margin-top: 10px; }
.mb-danger { color: #A1302A; }
.mb-invite { display: block; color: var(--encre2); font-size: 14px; margin-top: 2px; }
.porte-plans { margin-top: 4px; }
.periode { display: inline-flex; gap: 4px; background: var(--surface); border-radius: 999px; padding: 4px; margin-bottom: 16px; }
.periode button { border: 0; background: transparent; color: var(--bx); border-radius: 999px; padding: 9px 18px; font-weight: 500; font-size: 15px; display: inline-flex; gap: 8px; align-items: center; }
.periode button.on { background: var(--carte); box-shadow: 0 2px 8px rgba(27,33,31,.12); }
.periode .reduc { background: var(--ok-fond); color: var(--ok); border-radius: 999px; padding: 1px 8px; font-size: 14px; font-weight: 600; }
.plan-an { display: block; color: var(--encre2); font-size: 14px; margin: 2px 0 8px; }

/* Connexion par mot de passe */
.c-form { max-width: 420px; }
.c-form .champ { margin-bottom: 16px; }
.c-form input[type=email], .c-mdp input { width: 100%; border: 1px solid rgba(27,33,31,.18); border-radius: 14px; padding: 12px 14px; background: #fff; font-size: 16px; }
.c-mdp { position: relative; display: flex; align-items: center; }
.c-mdp input { padding-right: 92px; }
.c-mdp .btn.lien { position: absolute; right: 6px; padding: 6px 10px; }
.c-autres { display: flex; gap: 6px 14px; flex-wrap: wrap; margin-top: 12px; }
.c-autres .btn.lien { padding-left: 0; }

/* Le studio photo : les quatre entrées, illustrées */
.modes { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; margin-bottom: 30px; }
.mode { display: flex; flex-direction: column; text-align: left; border: 0; border-radius: 18px; padding: 0; background: var(--carte); color: var(--bx); box-shadow: var(--ombre); cursor: pointer; overflow: hidden; }
.mode .mode-img { position: relative; display: block; aspect-ratio: 4/3; background: var(--surface); overflow: hidden; }
.mode .mode-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
.mode:hover .mode-img img { transform: scale(1.04); }
.mode .mode-ico { position: absolute; left: 10px; top: 10px; width: 34px; height: 34px; border-radius: 10px; background: rgba(255,255,255,.92); color: var(--bx); display: grid; place-items: center; }
.mode .mode-ico svg { width: 19px; height: 19px; }
.mode .mode-txt { display: flex; flex-direction: column; gap: 3px; padding: 14px 16px 16px; }
.mode b { font-weight: 600; font-size: 16.5px; }
.mode small { color: var(--encre2); font-size: 14px; line-height: 1.35; }
.mode i { font-style: normal; color: var(--bx2); font-size: 14px; font-weight: 500; margin-top: 6px; }
.mode .mode-badge { position: absolute; right: 10px; top: 10px; background: rgba(255,255,255,.92); color: var(--bx); font-size: 11.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; }
.libre-bloc { padding: 22px 24px; margin-bottom: 30px; }
.libre-bloc > label { display: block; font-weight: 600; font-size: 15.5px; margin-bottom: 10px; }
.libre-bloc textarea { width: 100%; min-height: 104px; border: 1px solid rgba(27,33,31,.18); border-radius: 14px; padding: 14px 16px; font: inherit; font-size: 16px; resize: vertical; background: #fff; }
.libre-bloc textarea:focus { outline: 2px solid var(--bx2); outline-offset: 1px; border-color: transparent; }
.libre-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.libre-actions label { cursor: pointer; }
.insp-chip { display: inline-flex; align-items: center; gap: 8px; background: var(--fond); border: 1px solid var(--ligne); border-radius: 999px; padding: 4px 6px 4px 4px; font-size: 14px; font-weight: 500; }
.insp-chip img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.insp-chip button { border: 0; background: transparent; color: var(--encre2); cursor: pointer; padding: 4px 6px; }
.segments { display: flex; gap: 4px; background: var(--surface); border-radius: 999px; padding: 4px; margin-bottom: 18px; overflow-x: auto; scrollbar-width: none; }
.segments::-webkit-scrollbar { display: none; }
.segments button { flex: 1 0 auto; border: 0; background: transparent; color: var(--bx); border-radius: 999px; padding: 10px 16px; font-weight: 500; font-size: 14.5px; display: inline-flex; gap: 8px; align-items: center; justify-content: center; white-space: nowrap; cursor: pointer; }
.segments button.on { background: var(--carte); box-shadow: 0 2px 8px rgba(27,33,31,.12); font-weight: 600; }
.segments .n { font-size: 12.5px; font-weight: 500; color: var(--encre2); background: rgba(27,33,31,.06); border-radius: 999px; padding: 1px 7px; }
.segments button.on .n { background: var(--bx2); color: #fff; }
::placeholder { color: rgba(27,33,31,.36); opacity: 1; }
.modes.sans-img .mode { flex-direction: row; align-items: center; gap: 12px; padding: 14px 16px; }
.modes.sans-img .mode-txt { padding: 0; }
.mode-ico2 { flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--surface); color: var(--bx); display: grid; place-items: center; }
.mode-ico2 svg { width: 22px; height: 22px; }
.src-galerie video { width: 100%; aspect-ratio: 9/16; object-fit: cover; border-radius: 8px; cursor: pointer; border: 2px solid transparent; background: var(--bx); }
.src-galerie video.on { border-color: var(--bx2); }
.drop-biblio { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); margin-bottom: 8px; }
.drop-biblio .vig { aspect-ratio: 9/16; max-height: 260px; }
.cles-etat { background: var(--carte); border: 1px solid var(--ligne); border-radius: 16px; padding: 16px 18px; margin-bottom: 20px; }
.cles-tete { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.cles-tete b { font-weight: 600; white-space: nowrap; }
.cles-tete .att-barre { flex: 1; }
.cles-etat ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.cles-etat li { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.cles-etat li i { font-style: normal; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid rgba(27,33,31,.25); display: grid; place-items: center; font-size: 12.5px; font-weight: 600; flex: none; }
.cles-etat li.ok i { background: var(--or); border-color: var(--or); color: var(--bx); }
.cles-etat li span { flex: 1; } .cles-etat li em { font-style: normal; color: var(--encre2); }
.cles-etat li a { color: var(--bx2); font-weight: 500; font-size: 14.5px; }
.connexion.ok { border: 1.5px solid rgba(163, 205, 185,.55); }
.connexion .cx-cout { font-size: 14px; color: var(--bx2); font-weight: 500; }
.cx-pas summary { cursor: pointer; font-size: 14.5px; font-weight: 500; color: var(--bx2); margin: 4px 0 6px; }
.cx-msg .pret { padding: 12px 14px; margin-bottom: 8px; } .cx-msg .pret h3 { font-size: 15px; }
.bandeau.cles { display: flex; align-items: center; gap: 14px; background: var(--bx2); color: #fff; border-radius: 16px; padding: 14px 18px; margin-bottom: 22px; text-decoration: none; font-size: 15px; }
.bandeau.cles b { font-weight: 600; }
.bandeau.cles .bc-num { flex: none; font-family: var(--tight); font-weight: 600; font-size: 15px; background: rgba(255,255,255,.16); border-radius: 999px; padding: 6px 12px; }
.bandeau.cles .btn { flex: none; margin-left: auto; background: #fff; color: var(--bx); }
.bandeau.cles.doux { background: var(--carte); color: var(--bx); border: 1px solid var(--ligne); }
.bandeau.cles.doux .bc-num { background: var(--surface); }
.partage { margin-top: 12px; }
.partage-ligne { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.partage-ligne input { flex: 1 1 220px; min-width: 0; border: 1px solid rgba(27,33,31,.18); border-radius: 12px; padding: 9px 12px; background: #fff; font-size: 14px; color: var(--encre2); }
.pr-outils { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.pr-outils input[type=search] { flex: 1 1 220px; border: 1px solid rgba(27,33,31,.18); border-radius: 999px; padding: 10px 16px; background: #fff; font-size: 15px; }
.feed-outils { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; font-size: 15px; }
.feed-outils label { display: inline-flex; gap: 6px; align-items: center; }
.feed-tel { max-width: 420px; background: #fff; border: 1px solid var(--ligne); border-radius: 26px; padding: 14px 10px 10px; box-shadow: var(--ombre); }
.feed-profil { display: flex; align-items: center; gap: 12px; padding: 4px 8px 14px; }
.feed-profil .feed-av { width: 56px; height: 56px; border-radius: 50%; background: var(--surface); overflow: hidden; flex: none; }
.feed-profil img { width: 100%; height: 100%; object-fit: cover; }
.feed-profil b { display: block; font-weight: 600; font-size: 15px; } .feed-profil small { color: var(--encre2); font-size: 13.5px; }
.feed-grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.feed-case { position: relative; aspect-ratio: 1; background: var(--surface); overflow: hidden; }
.feed-case img { width: 100%; height: 100%; object-fit: cover; display: block; }
.feed-case .feed-ico { position: absolute; top: 6px; right: 6px; color: #fff; font-size: 13px; text-shadow: 0 1px 3px rgba(0,0,0,.6); }
.feed-case { aspect-ratio: 3 / 4; cursor: grab; }
.feed-case.vide { background: repeating-linear-gradient(45deg, var(--fond), var(--fond) 6px, var(--surface) 6px, var(--surface) 7px); border: 0; color: var(--encre2); font-size: 22px; cursor: pointer; }
.feed-case.vide:hover { color: var(--bx); }
.feed-case.sur { outline: 3px solid var(--bx); outline-offset: -3px; }
.feed-case.sel { outline: 3px solid var(--bx2); outline-offset: -3px; }
.feed-case .feed-x { position: absolute; top: 6px; left: 6px; width: 24px; height: 24px; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--bx); font-size: 11px; cursor: pointer; opacity: 0; transition: opacity .15s; }
.feed-case:hover .feed-x, .feed-case.sel .feed-x { opacity: 1; }
@media (pointer: coarse) { .feed-case .feed-x { opacity: 1; width: 22px; height: 22px; } }
.feed-voile { position: fixed; inset: 0; background: rgba(40,6,16,.35); z-index: 40; }
.feed-panneau { position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(720px, calc(100vw - 24px)); max-height: 82vh; overflow: auto; background: #fff; border-radius: 20px; box-shadow: 0 24px 60px rgba(40,6,16,.25); z-index: 41; padding: 16px; }
.feed-panneau-tete { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; } .feed-panneau-tete b { font-weight: 600; font-size: 16px; flex: 1; }
.feed-panneau-tete .fermer { border: 0; background: var(--doux); width: 30px; height: 30px; border-radius: 50%; cursor: pointer; }
.feed-choix-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.feed-choix-case { border: 2px solid transparent; border-radius: 10px; padding: 0; background: var(--surface); overflow: hidden; cursor: pointer; aspect-ratio: 3 / 4; position: relative; }
.feed-choix-case:hover { border-color: var(--bx2); }
.feed-choix-case img { width: 100%; height: 100%; object-fit: cover; display: block; }
.feed-choix-case small { position: absolute; left: 6px; bottom: 6px; background: rgba(255,255,255,.92); color: var(--bx); font-size: 11px; padding: 2px 7px; border-radius: 999px; }
/* Mes créations : la carte s'ouvre d'un clic, le reste tient dans un menu ⋯ */
.crea { position: relative; cursor: pointer; transition: box-shadow .15s, transform .15s; }
.crea:hover { box-shadow: 0 6px 18px rgba(27,33,31,.12); transform: translateY(-1px); }
.crea.ouverture { opacity: .6; cursor: progress; }
.crea-vue.cover { aspect-ratio: 9/16; width: 62px; }
.crea-plus { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; border: 0; border-radius: 50%; background: var(--doux); color: var(--bx); font-size: 16px; line-height: 1; cursor: pointer; }
.crea-plus:hover { background: var(--surface); }
.crea-menu { display: none; position: absolute; top: 42px; right: 8px; background: #fff; border: 1px solid rgba(27,33,31,.14); border-radius: 12px; box-shadow: var(--ombre); padding: 6px; z-index: 5; min-width: 150px; }
.crea-menu.ouvert { display: block; }
.crea:has(.crea-menu.ouvert) { z-index: 10; }
.crea-menu button { display: block; width: 100%; border: 0; background: none; padding: 9px 12px; border-radius: 8px; color: var(--bx); font-size: 14px; text-align: left; cursor: pointer; }
.crea-menu button:hover { background: var(--doux); }
/* La photo d'inspiration du brief */
.insp-ligne { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.insp-mini { width: 56px; height: 70px; object-fit: cover; border-radius: 10px; }
/* La zone de garde d'une cover de reel : ce que la grille 3:4 du profil montre (le haut et le bas sont assombris) */
.garde-zone { position: absolute; left: 0; right: 0; top: 12.5%; bottom: 12.5%; border-top: 1.5px dashed rgba(255,255,255,.8); border-bottom: 1.5px dashed rgba(255,255,255,.8); pointer-events: none; z-index: 6; }
.garde-zone::before, .garde-zone::after { content: ''; position: absolute; left: 0; right: 0; height: 16.67%; background: rgba(0,0,0,.25); }
.garde-zone::before { bottom: 100%; } .garde-zone::after { top: 100%; }
.garde-zone span { position: absolute; left: 50%; top: -22px; transform: translateX(-50%); font-size: 10.5px; color: #fff; background: rgba(0,0,0,.45); padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.mb-usage { display: flex; flex-wrap: wrap; gap: 8px; }
.mb-usage span { background: var(--fond); border-radius: 999px; padding: 6px 12px; font-size: 14px; }
.mb-usage b { font-weight: 600; } .mb-usage i { font-style: normal; color: var(--encre2); }
/* Le Monteur */
.editeur.monteur { grid-template-rows: 60px 1fr 150px; }
.mt-nom { border: 0; background: transparent; font-family: var(--tight); font-weight: 600; font-size: 16px; color: var(--bx); min-width: 0; width: 220px; padding: 6px 8px; border-radius: 10px; }
.mt-nom:focus { outline: 2px solid var(--bx2); background: #fff; }
.mt-centre { flex-direction: column; gap: 10px; }
.mt-cadre { position: relative; height: calc(100% - 52px); max-height: calc(100vh - 60px - 150px - 92px); aspect-ratio: 9/16; background: #000; border-radius: 12px; overflow: hidden; box-shadow: 0 24px 60px rgba(40,6,16,.25); }
.mt-cadre.\31 -1 { aspect-ratio: 1; } .mt-cadre.\34 -5 { aspect-ratio: 4/5; } .mt-cadre.\31 6-9 { aspect-ratio: 16/9; height: auto; width: min(100%, 900px); }
.mt-cadre canvas { width: 100%; height: 100%; display: block; }
.mt-vide { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.7); font-size: 15px; text-align: center; padding: 20px; }
.mt-transport { display: flex; align-items: center; gap: 10px; width: 100%; max-width: 560px; }
.mt-btn { border: 0; background: var(--carte); color: var(--bx); width: 38px; height: 38px; border-radius: 50%; font-size: 14px; cursor: pointer; box-shadow: var(--ombre); }
.mt-btn.grand { width: 48px; height: 48px; background: var(--bx2); color: #fff; font-size: 16px; }
.mt-temps { font-family: var(--tight); font-weight: 600; font-size: 15px; font-variant-numeric: tabular-nums; }
.mt-bas { padding: 10px 14px; align-items: stretch; }
.mt-piste { position: relative; flex: 1; overflow-x: auto; overflow-y: hidden; padding: 6px 10px 4px; background: var(--surface); border-radius: 12px; cursor: crosshair; scrollbar-width: thin; }
.mt-clips { display: flex; gap: 4px; height: 76px; }
.mt-clip { position: relative; flex: none; height: 76px; border-radius: 8px; background: var(--bx) center/cover; overflow: hidden; cursor: pointer; border: 2px solid transparent; }
.mt-clip.on { border-color: #fff; box-shadow: 0 0 0 2px var(--bx2); }
.mt-clip-nom { position: absolute; left: 6px; right: 6px; bottom: 5px; color: #fff; font-size: 11.5px; font-weight: 500; line-height: 1.15; text-shadow: 0 1px 3px rgba(0,0,0,.8); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mt-clip-nom small { display: block; opacity: .8; font-size: 10.5px; }
.mt-poignee { position: absolute; top: 0; bottom: 0; width: 12px; cursor: ew-resize; background: rgba(255,255,255,.35); touch-action: none; }
.mt-poignee.g { left: 0; border-radius: 6px 0 0 6px; } .mt-poignee.d { right: 0; border-radius: 0 6px 6px 0; }
.mt-clip.on .mt-poignee { background: rgba(255,255,255,.75); }
.mt-st { position: relative; height: 10px; margin-top: 6px; }
.mt-st i { position: absolute; top: 0; height: 10px; border-radius: 3px; background: var(--bx2); opacity: .8; }
.mt-tete { position: absolute; top: 2px; bottom: 2px; width: 2px; margin-left: 10px; background: #fff; box-shadow: 0 0 0 1px var(--bx); pointer-events: none; }
.mt-tete::before { content: ''; position: absolute; top: -2px; left: -5px; border: 6px solid transparent; border-top: 8px solid var(--bx); }
.mt-sel { background: var(--fond); border-radius: 12px; padding: 12px 14px; }
.mt-sel b { display: block; font-weight: 600; } .mt-sel small { color: var(--encre2); font-size: 13.5px; }
.mt-liste { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; max-height: 40vh; overflow: auto; }
.mt-ligne { display: flex; gap: 6px; align-items: center; }
.mt-ligne.on input { border-color: var(--bx2); }
.mt-ligne input { flex: 1; min-width: 0; border: 1px solid rgba(27,33,31,.18); border-radius: 10px; padding: 7px 10px; font-size: 14px; background: #fff; }
.mt-t { border: 0; background: var(--fond); color: var(--bx2); font-size: 12px; font-variant-numeric: tabular-nums; border-radius: 8px; padding: 6px 7px; cursor: pointer; flex: none; }
.mt-ligne .x, .mt-texte-l .x { border: 0; background: var(--doux); width: 26px; height: 26px; border-radius: 50%; font-size: 11px; cursor: pointer; flex: none; }
.mt-texte { background: var(--fond); border-radius: 12px; padding: 10px 12px; margin-top: 10px; }
.mt-texte > input { width: 100%; border: 1px solid rgba(27,33,31,.18); border-radius: 10px; padding: 8px 10px; font-size: 14.5px; background: #fff; }
.mt-texte-l { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 8px; font-size: 13.5px; color: var(--encre2); }
.mt-texte-l input[type=number] { width: 58px; border: 1px solid rgba(27,33,31,.18); border-radius: 8px; padding: 5px 6px; font-size: 13.5px; }
.mt-texte-l select { border: 1px solid rgba(27,33,31,.18); border-radius: 8px; padding: 5px 8px; font-size: 13.5px; background: #fff; }
.editeur.monteur { grid-template-rows: 60px 1fr 168px; }
.mt-cadre { max-height: calc(100vh - 60px - 168px - 92px); }
.mt-st.cartes i { background: #A3CDB9; }
.mt-st i.cta { background: var(--bx2); }
.mt-prop { margin-top: 8px; }
.mt-resume { background: var(--fond); border-radius: 12px; padding: 12px 14px; font-size: 15px; line-height: 1.45; margin: 0; }
.mt-coche { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; border-bottom: 1px solid var(--ligne); font-size: 14px; line-height: 1.4; cursor: pointer; }
.mt-coche input { margin-top: 3px; flex: none; accent-color: var(--bx); }
.mt-coche span { flex: 1; min-width: 0; } .mt-coche b { font-weight: 600; } .mt-coche small { color: var(--encre2); font-size: 13.5px; } .mt-coche i { font-style: italic; color: var(--bx2); }
.mt-coche .mt-t { margin-top: 1px; }
.mt-texte textarea { display: block; margin-top: 6px; }
.choix.methode { margin-bottom: 4px; }
.pin-bloc { margin-top: 10px; }
.pin-bloc .c-ligne { display: flex; gap: 8px; }
.pin-bloc .c-ligne input { flex: 1; min-width: 0; border: 1px solid rgba(27,33,31,.18); border-radius: 12px; padding: 10px 12px; font-size: 16px; }
.insp-depot { min-height: 96px; text-align: center; padding: 14px; }
.insp { display: flex; gap: 12px; align-items: flex-start; background: var(--fond); border-radius: 14px; padding: 10px; }
.insp img { width: 92px; height: 115px; object-fit: cover; border-radius: 10px; flex: none; }
.insp-actions b { display: block; font-weight: 600; font-size: 15px; }
.insp-actions small { display: block; color: var(--encre2); font-size: 14px; line-height: 1.4; margin-top: 2px; }
.insp-actions label { cursor: pointer; }

/* Barre du haut et menu hamburger : téléphone seulement (voir le bloc ≤ 640 px). */
.barre-tel, .menu-tel { display: none; }

/* Au doigt : l'aperçu ne fait plus défiler la page, et les poignées grossissent (elles sont dessinées à
   l'échelle de la slide, donc minuscules sur un petit écran). */
.apercu.libre-on { touch-action: none; }
@media (pointer: coarse) {
  .libre-box .p { width: 72px; height: 72px; margin: -36px 0 0 -36px; border-width: 6px; border-radius: 50%; }
  .libre-box .rot { width: 80px; height: 80px; margin-left: -40px; top: -150px; border-width: 6px; }
  .libre-box .rot::before { height: 70px; width: 6px; margin-left: -3px; }
}

/* ───────────────────────── Téléphone (≤ 640 px) ─────────────────────────
   Toujours en fin de feuille : ces règles doivent passer après tout le reste. */
@media (max-width: 640px) {
  /* La navigation passe en bas de l'écran, comme dans toutes les apps. */
  .app { grid-template-columns: minmax(0, 1fr); }
  .rail { position: fixed; top: auto; bottom: 0; left: 0; right: 0; height: auto; z-index: 40; flex-direction: row; align-items: center; justify-content: space-between; gap: 2px; padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); border-right: 0; border-top: 1px solid var(--ligne); background: var(--carte); box-shadow: 0 -8px 24px -18px rgba(40,6,16,.25); }
  .logo, .moteur { display: none; }
  /* Un éditeur ouvert prend tout l'écran : la barre du bas s'efface. */
  body:has(.editeur.ouvert:not(.en-page)) .rail { display: none; }
  .espaces, .rail-pied, #profil-rail { display: flex; flex-direction: row; align-items: center; gap: 2px; margin: 0; padding: 0; }
  .espaces { flex: 4; justify-content: space-around; }
  .rail-pied { flex: 4; justify-content: space-around; }
  #profil-rail { width: 100%; justify-content: space-around; }
  .espace, .profil-lien { width: auto; min-width: 42px; min-height: 42px; padding: 9px; justify-content: center; border-radius: 12px; }
  .espace .ico svg { width: 22px; height: 22px; }
  .espace.cloche .badge { top: 2px; right: 2px; }
  .profil-lien img, .profil-lien .avatar-vide { width: 26px; height: 26px; }
  .notifs { left: 10px !important; right: 10px; bottom: calc(66px + env(safe-area-inset-bottom)) !important; width: auto; max-height: 70vh; }

  /* Le contenu laisse la place à la barre du bas. */
  .scene { padding: 18px 16px calc(96px + env(safe-area-inset-bottom)); }
  .scene-wrap { overflow-x: clip; }
  .retour-global { margin: 12px 16px 0; }
  h1 { font-size: 24px; } h2 { font-size: 21px; }
  .entete p { font-size: 15px; }
  .cat-tete { flex-direction: column; align-items: flex-start; gap: 2px; }
  /* Les onglets restent sur une ligne et défilent au doigt. */
  .scene .onglets { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: -16px; padding-right: 16px; }
  .scene .onglets::-webkit-scrollbar { display: none; }
  .scene .onglets > * { flex: 0 0 auto; white-space: nowrap; }
  .onglets.grands .onglet { padding: 10px 14px; font-size: 14.5px; }

  /* iPhone zoome sur un champ dont le texte fait moins de 16 px : on l'en empêche. */
  input[type=text], input[type=email], input[type=url], input[type=number], input[type=password], input:not([type]), textarea, select { font-size: 16px !important; }

  /* Le parcours en 5 étapes : une frise compacte qui défile. */
  .etapes { gap: 4px; padding-bottom: 4px; scrollbar-width: none; }
  .etapes::-webkit-scrollbar { display: none; }
  .etapes .titre-p, .etapes #retour, .etape .sous { display: none; }
  .etape { width: auto; flex: 0 0 auto; padding: 6px 10px; gap: 6px; align-items: center; }
  .etape .nom { font-size: 13.5px; white-space: nowrap; }
  .etape .num { width: 22px; height: 22px; font-size: 11px; margin: 0; }
  .panneau { padding: 18px 16px; }

  /* Les panneaux latéraux (photo, vidéo, avatar) prennent tout l'écran. */
  .editeur, .editeur.large { width: 100%; padding: 18px 16px calc(24px + env(safe-area-inset-bottom)); }

  /* L'atelier : barre d'outils qui défile, slide centrée, réglages dessous. */
  .editeur.atelier { width: 100vw; padding: 0; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 40vh minmax(0, 1fr) 76px; grid-template-areas: 'top' 'centre' 'droite' 'bas'; }
  .editeur.monteur { grid-template-rows: auto 42vh minmax(0, 1fr) 128px; }
  .mt-clips, .mt-clip { height: 60px; }
  .mt-transport { gap: 8px; } .mt-btn { width: 34px; height: 34px; } .mt-btn.grand { width: 42px; height: 42px; }
  .mt-cadre { max-height: calc(42vh - 70px); }
  .mt-nom { width: 120px; }
  .at-top { gap: 6px; padding: 8px 10px; overflow-x: auto; scrollbar-width: none; flex-wrap: nowrap; }
  .at-top::-webkit-scrollbar { display: none; }
  .at-top > * { flex: 0 0 auto; }
  .at-top .btn { padding: 8px 12px; font-size: 13.5px; white-space: nowrap; }
  .at-top h3 { font-size: 14px; white-space: nowrap; }
  .at-top .droite { flex: 1 0 8px; }
  .at-top .at-zoom { display: none; }
  .at-top #fermer { font-size: 0; padding: 8px 12px; }
  .at-top #fermer::before { content: '\2190'; font-size: 17px; }
  .at-centre { padding: 10px; }
  .at-centre .apercu { max-height: calc(40vh - 20px); height: 100%; margin: 0 auto; }
  .at-droite { padding: 12px 14px calc(18px + env(safe-area-inset-bottom)); border-left: 0; border-top: 1px solid var(--ligne); }
  .at-onglets button { padding: 8px 6px; font-size: 13.5px; }
  .at-bas { padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px; }
  .at-mini { width: 46px; }
  .ajouts-barre button { padding: 8px 11px; }

  /* L'accueil en liste : icône à gauche, texte à droite. */
  .grille > .carte:has(> .visuel) { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 0 14px; align-content: start; align-items: start; min-height: 0; padding: 14px 16px 14px 14px; }
  .grille { gap: 12px; }
  .grille > .carte > .visuel svg { width: 26px; height: 26px; }
  .grille > .carte > .tag { top: 10px; right: 10px; }
  .grille > .carte > .visuel { grid-row: 1 / span 3; height: 92px; margin: 0; border-radius: 16px; overflow: hidden; }
  /* Les icônes vivantes remplissent leur case (recadrées au centre par vivants.js sur téléphone). */
  .grille > .carte > .visuel svg.vv { width: 100%; height: 100%; max-width: none; }
  .grille > .carte > h3 { margin-top: 2px; font-size: 16.5px; }
  .grille > .carte > p { margin: 3px 0 0; font-size: 14.5px; }
  .grille > .carte > .meta { margin-top: 6px; }
  .modes { grid-template-columns: 1fr 1fr; gap: 10px; }
  .modes { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .modes.sans-img { grid-template-columns: 1fr 1fr; }
  .bandeau.cles { flex-wrap: wrap; } .bandeau.cles .btn { margin-left: 0; }
  .cles-etat li { flex-wrap: wrap; }
  .drop-biblio { grid-template-columns: repeat(3, 1fr); gap: 8px; } .drop-biblio .vig-nom { font-size: 12.5px; left: 10px; right: 10px; bottom: 10px; } .drop-biblio .vig-badge { font-size: 10px; padding: 3px 7px; }
  .modes.sans-img .mode { padding: 12px; gap: 10px; } .mode-ico2 { width: 36px; height: 36px; }
  .mode .mode-img { aspect-ratio: 4/5; } .mode .mode-txt { padding: 10px 10px 12px; gap: 2px; } .mode b { font-size: 13.5px; line-height: 1.2; } .mode small { font-size: 12.5px; }
  .mode .mode-badge { font-size: 10px; padding: 3px 7px; right: 6px; top: 6px; }
  .libre-bloc { padding: 16px; } .libre-actions .btn.second { flex: 1 1 auto; justify-content: center; }
  .segments { margin-left: -16px; margin-right: -16px; padding-left: 16px; padding-right: 16px; border-radius: 0; background: transparent; gap: 6px; }
  .segments button { background: var(--carte); border: 1px solid var(--ligne); }
  .segments button.on { background: var(--bx2); color: #fff; border-color: var(--bx2); }
  .segments button.on .n { background: rgba(255,255,255,.22); }

  /* Tableau de bord des membres : la liste devient des cartes. */
  .mb-kpis { grid-template-columns: 1fr 1fr; gap: 10px; }
  .mb-kpi { padding: 14px; } .mb-kpi b { font-size: 24px; }
  .mb-entete { display: none; }
  .mb-ligne { grid-template-columns: 1fr 1fr 1fr; gap: 8px 10px; padding: 14px 16px; }
  .mb-ligne .mb-qui { grid-column: 1 / -1; }
  .mb-col { display: flex; flex-direction: column; gap: 2px; font-size: 14.5px; }
  .mb-col::before { content: attr(data-l); color: var(--encre2); font-size: 14px; }
  .mb-mini { grid-template-columns: 1fr 1fr; }
  .mb-outils input[type=search] { flex-basis: 100%; }
  .mb-col .mb-badge { align-self: flex-start; }

  /* Structure téléphone : hamburger en haut, 5 icônes en bas, « Créer » au centre et en avant. */
  .barre-tel { display: flex; position: sticky; top: 0; z-index: 30; align-items: center; gap: 6px; padding: env(safe-area-inset-top) 12px 0 6px; height: calc(54px + env(safe-area-inset-top)); background: rgba(250,248,244,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--ligne); }
  .burger { width: 44px; height: 44px; border: 0; background: transparent; color: var(--bx); border-radius: 12px; display: grid; place-items: center; }
  .burger:active { background: var(--doux); }
  .logo-tel { font-family: var(--large); font-weight: 500; font-size: 15px; text-transform: uppercase; letter-spacing: .08em; color: var(--bx); text-decoration: none; }
  .logo-tel .serif { font-size: 20px; text-transform: none; letter-spacing: 0; }
  body:has(.editeur.ouvert:not(.en-page)) .barre-tel { display: none; }
  .menu-tel { display: block; position: fixed; inset: 0; z-index: 60; pointer-events: none; }
  .menu-voile { position: absolute; inset: 0; background: rgba(40,6,16,.32); opacity: 0; transition: opacity .2s; }
  .menu-panneau { position: absolute; top: 0; bottom: 0; left: 0; width: min(82vw, 320px); background: var(--carte); padding: calc(14px + env(safe-area-inset-top)) 14px calc(20px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 4px; transform: translateX(-102%); transition: transform .24s ease; box-shadow: 10px 0 40px rgba(27,33,31,.18); }
  .menu-tel.ouvert { pointer-events: auto; }
  .menu-tel.ouvert .menu-voile { opacity: 1; }
  .menu-tel.ouvert .menu-panneau { transform: none; }
  body.menu-ouvert { overflow: hidden; }
  .menu-tete { display: flex; align-items: center; justify-content: space-between; padding: 0 4px 14px; margin-bottom: 6px; border-bottom: 1px solid var(--ligne); }
  .menu-tete .fermer { border: 0; background: var(--doux); width: 36px; height: 36px; border-radius: 50%; color: var(--bx); }
  .menu-lien { display: flex; align-items: center; gap: 14px; padding: 13px 12px; border-radius: 14px; color: var(--bx); text-decoration: none; font-weight: 500; font-size: 16px; }
  .menu-lien .ico { width: 26px; display: inline-flex; justify-content: center; }
  .menu-lien .ico svg { width: 22px; height: 22px; }
  .menu-lien .ico img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
  .menu-lien.actif { background: var(--doux); }
  .menu-pied { margin-top: auto; padding: 14px 12px 0; font-size: 14px; color: var(--encre2); }
  .menu-pied a { color: var(--encre2); }

  .rail { justify-content: space-around; padding-top: 4px; overflow: visible; }
  .rail .espaces, .rail .rail-pied, .rail #profil-rail { display: contents; }
  .rail .espace[href="#/membres"], .rail .espace[href="#/guide"], .rail .profil-lien, .rail .legal-liens { display: none; }
  .rail .espace.cloche { order: 1; } .rail .espace.cloche span:not(.ico) { display: none; } .rail .espace[href="#/feed"] { order: 2; } .rail .espace[href="#/creations"] { order: 3; } /* 12/10 (Lisa) : Feed, Créations, Accueil, Stratégie, Notes */ .rail .espace[href="#/creer"] { order: 4; } .rail .espace[href="#/strategie"] { order: 5; } .rail .espace[href="#/notes"] { order: 6; }
  .rail .espace { flex: 0 0 auto; width: 52px; min-width: 0; height: 46px; padding: 0; justify-content: center; color: var(--encre2); background: transparent; }
  .rail .espace.actif { color: var(--bx); background: var(--doux); }
  .rail .espace[href="#/creer"] { width: 60px; height: 60px; border-radius: 50%; margin-top: -26px; background: var(--bx2); color: #fff; box-shadow: 0 0 0 4px var(--carte), 0 0 0 6px var(--or), 0 12px 24px -8px rgba(27,33,31,.55); }
  .rail .espace[href="#/creer"].actif, .rail .espace[href="#/creer"]:active { background: var(--bx2); color: #fff; }
  .rail .espace[href="#/creer"] .ico svg { width: 27px; height: 27px; }
  .rail .espace.cloche .badge { position: absolute; top: 3px; right: 6px; margin: 0; }
  .retour-global { margin-top: 12px; }
}

/* La prise en main : les trois étapes, cochées toutes seules */
.g-liste { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.g-etape { display: flex; align-items: center; gap: 12px; background: var(--fond); border-radius: 14px; padding: 12px 14px; color: var(--bx); text-decoration: none; }
.g-etape.ok { background: rgba(61,139,87,.10); }
.g-etape b { display: block; font-weight: 600; font-size: 15px; } .g-etape small { color: var(--encre2); font-size: 13px; }
.g-coche { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 2px solid rgba(27,33,31,.25); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; color: #fff; }
.g-coche.ok { background: var(--or); border-color: var(--or); color: var(--bx); }
.espace .badge { margin-left: auto; font-size: 11px; padding: 2px 7px; flex: none; }
.espace > span:not(.ico):not(.badge) { white-space: nowrap; }
.menu-lien .badge { margin-left: 8px; font-size: 11px; padding: 2px 7px; }

/* Le bandeau du jour sur l'accueil, et les nouveautés dans Cette semaine */
.bandeau-jour { display: flex; align-items: center; gap: 14px; background: var(--bx2); color: #fff; border-radius: 16px; padding: 14px 18px; margin: -6px 0 22px; text-decoration: none; }
.bandeau-jour .bj-sur { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--or2); flex: none; }
.bandeau-jour b { flex: 1; font-weight: 600; font-size: 15px; line-height: 1.35; min-width: 0; }
.bandeau-jour .bj-go { flex: none; font-size: 14px; color: var(--or2); }
.bandeau-jour .bj-txt { flex: 1; min-width: 0; display: flex; align-items: center; gap: 14px; }
/* Sur téléphone : le libellé au-dessus, la phrase dessous, une flèche ronde à droite (28/09). */
@media (max-width: 640px) {
  .bandeau-jour { padding: 14px 14px 14px 16px; gap: 12px; margin-bottom: 18px; }
  .bandeau-jour .bj-txt { flex-direction: column; align-items: flex-start; gap: 3px; }
  .bandeau-jour .bj-sur { font-size: 11px; }
  .bandeau-jour b { font-size: 14.5px; line-height: 1.35; }
  .bandeau-jour .bj-go { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.14); display: grid; place-items: center; font-size: 16px; color: #fff; }
  .bandeau-jour .bj-mot { display: none; }
}
.nouv-liste { display: flex; flex-direction: column; gap: 10px; }
.nouv { display: block; background: var(--carte); border-radius: 14px; padding: 14px 18px; box-shadow: var(--ombre); color: var(--bx); text-decoration: none; }
.nouv.neuf { border-left: 3px solid var(--bx2); }
.nouv-date { display: block; font-size: 12px; color: var(--encre2); margin-bottom: 2px; } .nouv b { font-weight: 600; } .nouv p { margin: 4px 0 0; font-size: 14.5px; color: var(--encre2); }
/* Style et Plan : des réglages du projet, dans la barre du haut de l'atelier */
.at-projet { display: inline-flex; gap: 4px; margin-left: 6px; }
.at-projet button { border: 1px solid rgba(27,33,31,.18); background: #fff; color: var(--bx); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 500; cursor: pointer; }
.at-projet button.on { background: var(--bx2); color: #fff; border-color: var(--bx2); }

/* Présentation 16:9 et carte de visite */
.vignette.paysage, .apercu.paysage, .at-mini .vignette.paysage { aspect-ratio: 16/9; }
.vignette.carte, .apercu.carte, .at-mini .vignette.carte { aspect-ratio: 1080/700; }
.at-centre .apercu.paysage { aspect-ratio: 16/9; height: auto; width: min(100%, 960px); }
.at-centre .apercu.carte { aspect-ratio: 1080/700; height: auto; width: min(100%, 720px); }
.slides.paysage { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); } .slides.carte { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.at-mini:has(.vignette.paysage) { width: 128px; } .at-mini:has(.vignette.carte) { width: 112px; }
.crea-vue.presentation { aspect-ratio: 16/9; width: 110px; } .crea-vue.carte { aspect-ratio: 1080/700; width: 100px; }
/* Une légende */
.lg-tete { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; } .lg-tete h2 { margin: 0; }
.lg-texte { width: 100%; min-height: 200px; border: 1px solid rgba(27,33,31,.18); border-radius: 14px; padding: 14px 16px; font: inherit; font-size: 15.5px; line-height: 1.55; background: #fff; }
.lg-tags { display: flex; flex-wrap: wrap; gap: 6px; } .lg-tags span { background: var(--fond); border-radius: 999px; padding: 5px 11px; font-size: 13.5px; }
.lg-variante { background: var(--fond); border-radius: 14px; padding: 12px 14px; margin-bottom: 10px; } .lg-variante b { font-weight: 600; display: block; margin-bottom: 4px; } .lg-variante p { margin: 0 0 8px; font-size: 14.5px; line-height: 1.5; }
.lg-histo { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.lg-carte { background: var(--carte); border-radius: 14px; padding: 12px 14px; box-shadow: var(--ombre); } .lg-carte small { color: var(--encre2); font-size: 12.5px; } .lg-carte p { margin: 4px 0 8px; font-size: 14.5px; }
/* L'audit Insta */
.audit-tete { display: flex; align-items: center; gap: 18px; }
.audit-score { flex: none; width: 92px; height: 92px; border-radius: 50%; background: var(--bx2); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; } .audit-score b { font-family: var(--tight); font-weight: 600; font-size: 32px; line-height: 1; } .audit-score small { font-size: 11px; opacity: .8; }
.audit-resume { font-size: 16px; line-height: 1.5; margin: 0; }
.chantier { display: flex; gap: 12px; align-items: flex-start; background: var(--fond); border-radius: 14px; padding: 12px 14px; margin-bottom: 10px; }
.chantier .n { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--bx2); color: #fff; font-family: var(--tight); font-weight: 600; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.chantier .txt { flex: 1; min-width: 0; } .chantier b { font-weight: 600; display: block; } .chantier p { margin: 4px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--encre2); } .chantier .action { color: var(--bx); }
.audit-bio { display: flex; gap: 12px; align-items: flex-start; } .audit-bio pre { flex: 1; margin: 0; background: var(--fond); border-radius: 14px; padding: 12px 14px; font: inherit; font-size: 15px; white-space: pre-wrap; }
/* Le logo proposé */
.logo-prop { margin-top: 14px; display: flex; gap: 16px; align-items: flex-start; flex-wrap: wrap; } .logo-prop img { width: 180px; height: 180px; object-fit: contain; background: #fff; border-radius: 16px; border: 1px solid var(--ligne); }
@media (max-width: 640px) { .audit-tete { flex-direction: column; align-items: flex-start; } }

/* À plusieurs : copie ou co-édition */
.coedit { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--ligne); }
.coedit-tete { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; } .coedit-tete b { font-weight: 600; }

/* Mes marques : une ligne par marque, même taille, même fond */
.mp-rows { display: flex; flex-direction: column; gap: 6px; }
.mp-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; background: var(--fond); border-radius: 12px; padding: 10px 14px; min-height: 46px; }
.mp-row-nom { display: flex; align-items: center; gap: 8px 10px; flex-wrap: wrap; min-width: 0; flex: 1 1 140px; }
.mp-row-nom b { font-weight: 600; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; flex: 1 1 100px; }
.mp-row-actions { display: flex; align-items: center; gap: 4px; flex: none; }
.mp-row .btn.lien.petit { padding: 4px 6px; white-space: nowrap; }
.mp-tag { font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: var(--bx2); background: #fff; border-radius: 999px; padding: 3px 9px; flex: 0 0 auto; white-space: nowrap; }
.sous-onglets { margin-top: 4px; }
/* Couleur : palettes prêtes, une par ligne, et l'extraction */
.pal-liste { display: flex; flex-direction: column; gap: 8px; }
.pal-row { display: flex; align-items: center; gap: 14px; border: 1.5px solid rgba(27,33,31,.12); border-radius: 14px; background: #fff; padding: 10px 14px; text-align: left; color: var(--bx); cursor: pointer; }
.pal-row.on { border-color: var(--bx2); box-shadow: 0 0 0 2px rgba(31,91,82,.22); }
.pal-sw { display: inline-flex; gap: 4px; } .pal-sw i { width: 38px; height: 38px; border-radius: 10px; border: 1px solid rgba(0,0,0,.06); }
.pal-row b { font-weight: 600; font-size: 15px; flex: 1; min-width: 0; } .pal-choisir { flex: none; font-size: 13.5px; color: var(--bx2); font-weight: 500; }
.pal-apercu { display: grid; grid-template-columns: repeat(auto-fit, minmax(72px, 1fr)); gap: 8px; } .pal-a i { display: block; height: 52px; border-radius: 12px; border: 1px solid rgba(0,0,0,.06); margin-bottom: 4px; } .pal-a small { display: block; font-size: 12px; color: var(--encre2); } .pal-a code { font-size: 11.5px; color: var(--encre2); overflow-wrap: anywhere; }
.chips { display: flex; flex-wrap: wrap; gap: 14px 16px; margin-top: 8px; }
.chip { display: flex; flex-direction: column; align-items: center; gap: 5px; border: 0; background: none; cursor: pointer; padding: 0; }
.chip i { display: block; width: 56px; height: 56px; border-radius: 12px; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.chip code { font-size: 11px; color: var(--encre2); white-space: nowrap; }
/* Police : aperçu à trois lignes, trios prêts, importées */
.pol-apercu { background: var(--fond); border-radius: 14px; padding: 16px 18px; margin-top: 12px; }
.trios { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.trio { border: 1.5px solid rgba(27,33,31,.12); border-radius: 18px; background: var(--fond); padding: 16px 18px; text-align: left; color: var(--bx); cursor: pointer; }
.trio.on { border-color: var(--bx2); background: #fff; box-shadow: 0 0 0 2px rgba(31,91,82,.22); }
.trio-tag { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--bx2); background: rgba(27,33,31,.08); border-radius: 999px; padding: 3px 10px; margin-bottom: 10px; }
.trio .pol-apercu { margin: 0; background: transparent; padding: 0; }
.trio small { display: block; color: var(--encre2); font-size: 12.5px; padding: 0; }
.importees { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.importee { background: #fff; border: 1px solid var(--ligne); border-radius: 14px; padding: 10px 14px; } .imp-tete { display: flex; align-items: center; gap: 8px; } .imp-tete b { font-weight: 600; } .imp-tete .x { border: 0; background: var(--doux); width: 26px; height: 26px; border-radius: 50%; cursor: pointer; }
/* Logo : plusieurs fichiers, une grille */
.logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; margin-top: 14px; }
.logos-lignes { display: flex; flex-direction: column; gap: 10px; }
.logos-lignes .logo-item { display: flex; align-items: center; gap: 14px; background: #fff; border: 1.5px solid var(--ligne); border-radius: 14px; padding: 10px; }
.logos-lignes .logo-vue { position: relative; flex: none; width: 96px; height: 96px; display: flex; align-items: center; justify-content: center; background: repeating-conic-gradient(#f3f0ec 0 25%, #fff 0 50%) 0 0 / 16px 16px; border-radius: 10px; margin-bottom: 0; }
.logos-lignes .logo-vue img { max-height: 84px; max-width: 84%; object-fit: contain; }
.logos-lignes .logo-vue .x { position: absolute; top: 6px; right: 6px; width: 24px; height: 24px; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); font-size: 11px; cursor: pointer; }
.logos-lignes .logo-item input { flex: 1; min-width: 0; border: 1px solid rgba(27,33,31,.18); border-radius: 8px; padding: 8px 10px; font-size: 14px; }
.logo-chip { background: #fff; border: 1.5px solid var(--ligne); border-radius: 14px; padding: 10px; }
.logo-chip .logo-vue { height: 110px; display: flex; align-items: center; justify-content: center; background: repeating-conic-gradient(#f3f0ec 0 25%, #fff 0 50%) 0 0 / 16px 16px; border-radius: 10px; margin-bottom: 8px; }
.logo-chip .logo-vue img { max-height: 96px; max-width: 100%; object-fit: contain; }

@media (max-width: 480px) {
  .mp-row { justify-content: flex-start; }
  .mp-row-actions { margin-left: auto; }
}

/* Portfolio : les images choisies, avec leur légende */
.pf-choisies { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.pf-item { position: relative; background: #fff; border: 1px solid var(--ligne); border-radius: 12px; padding: 6px; }
.pf-item img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 8px; display: block; }
.pf-item input { width: 100%; margin-top: 6px; border: 1px solid rgba(27,33,31,.18); border-radius: 8px; padding: 6px 8px; font-size: 13px; }
.pf-item .x { position: absolute; top: 10px; right: 10px; width: 24px; height: 24px; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); font-size: 11px; cursor: pointer; }

/* Mes identités : trois emojis toujours visibles, la ligne en cours colorée */
.mp-row.actuel { background: var(--bx2); color: #fff; }
.mp-row.actuel b { color: #fff; }
.mp-row-nom, .mp-row-actions { display: contents; }
.mp-row b { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mp-emojis { display: inline-flex; gap: 2px; flex: none; }
.mp-emoji { border: 0; background: transparent; font-size: 17px; line-height: 1; padding: 6px 7px; border-radius: 8px; cursor: pointer; }
.mp-emoji:hover { background: rgba(255,255,255,.35); }
/* Composer : le mini questionnaire */
.compo-q { background: var(--fond); border-radius: 14px; padding: 14px 16px 6px; margin-bottom: 8px; }
/* Extraire : les images déposées */
.ext-images { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.ext-img { position: relative; width: 84px; height: 84px; border-radius: 12px; overflow: hidden; background: var(--surface); }
.ext-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ext-img .x { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); font-size: 11px; cursor: pointer; }
.ext-img.ajout { display: flex; align-items: center; justify-content: center; border: 1.5px dashed rgba(27,33,31,.3); background: var(--fond); font-size: 26px; color: var(--bx2); cursor: pointer; }
/* Police prête : le nom des polices en couleur, à part du rendu */
.trio-pied { display: flex; align-items: center; gap: 8px; padding: 0; margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(27,33,31,.1); } .trio small { color: var(--bx2) !important; flex: 1; } .trio .pal-choisir { flex: none; }
/* Logo : le jeu complet */
.lg-pieces { display: flex; flex-direction: column; gap: 8px; }
.lg-piece { display: flex; align-items: center; gap: 12px; background: var(--fond); border-radius: 14px; padding: 10px 14px; }
.lg-piece.actif { outline: 2px solid var(--bx2); }
.lg-piece.ok { background: rgba(61,139,87,.10); }
.lg-piece-txt { flex: 1; min-width: 0; } .lg-piece-txt b { display: block; font-weight: 600; font-size: 15px; } .lg-piece-txt small { color: var(--encre2); font-size: 13px; }
.logo-chip small { display: block; text-align: center; color: var(--encre2); font-size: 13px; margin-top: 4px; }

/* ---------- Atelier simplifié (26/09) : menu ⋯, barre d'ajout sous la slide, barre flottante, modèles ---------- */
.at-plus { position: relative; display: inline-flex; }
.at-menu { position: absolute; right: 0; top: calc(100% + 6px); background: #fff; border: 1px solid var(--ligne); border-radius: 14px; box-shadow: 0 12px 32px rgba(40,6,16,.18); padding: 6px; min-width: 230px; z-index: 90; display: flex; flex-direction: column; gap: 2px; }
.at-menu[hidden] { display: none; }
.at-menu > button { border: 0; background: none; text-align: left; padding: 9px 12px; border-radius: 9px; font-size: 14px; color: var(--bx); cursor: pointer; font-family: inherit; }
.at-menu > button:hover { background: var(--doux); } .at-menu > button:disabled { opacity: .4; cursor: default; } .at-menu > button.danger { color: #a3392b; }
.at-menu .at-zoom { margin: 4px 10px; align-self: flex-start; }
.at-top h3 { white-space: nowrap; }
.at-centre { flex-direction: column; gap: 10px; }
.at-centre .apercu { max-height: calc(100vh - 60px - 132px - 40px - 60px); }
.at-ajouts { display: flex; gap: 6px; flex: none; flex-wrap: wrap; justify-content: center; }
.at-ajouts button { display: flex; flex-direction: column; align-items: center; gap: 1px; min-width: 60px; border: 1px solid rgba(27,33,31,.14); background: #fff; color: var(--bx); border-radius: 12px; padding: 6px 8px 5px; cursor: pointer; font-size: 11.5px; font-family: inherit; }
.at-ajouts button i { font-style: normal; font-size: 18px; line-height: 1.15; font-weight: 600; } .at-ajouts button:hover { background: var(--doux); }
.libre-barre { position: absolute; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; align-items: center; background: #fff; border-radius: 999px; box-shadow: 0 10px 30px rgba(40,6,16,.28); padding: 8px 10px; pointer-events: auto; white-space: nowrap; z-index: 60; }
.libre-barre button, .libre-barre .lb-couleur { border: 0; background: none; width: 66px; height: 66px; border-radius: 999px; font-size: 32px; font-weight: 500; color: var(--bx); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; font-family: Inter, sans-serif; padding: 0; flex: none; }
.libre-barre button small { font-size: .6em; margin-left: 1px; }
.libre-barre button:hover, .libre-barre button.on { background: var(--doux); }
.libre-barre .lb-couleur { position: relative; } .libre-barre .lb-couleur i { width: 40px; height: 40px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 2px rgba(0,0,0,.18); display: block; } .libre-barre .lb-couleur input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.apercu .cadre.libre [contenteditable="true"] { outline: 3px solid var(--or) !important; outline-offset: 2px; cursor: text; }
.modeles-liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; margin-top: 10px; }
.modele-item { border: 1.5px solid var(--ligne); border-radius: 12px; padding: 6px; background: #fff; cursor: pointer; text-align: left; }
.modele-item .vignette { pointer-events: none; box-shadow: none; margin-bottom: 6px; } .modele-item b { font-size: 13px; display: block; font-weight: 600; } .modele-item .btn { font-size: 12px; }
@media (max-width: 900px) {
  .editeur.atelier { grid-template-rows: auto 46vh minmax(0, 1fr) 76px; }
  .at-centre { gap: 6px; padding: 8px 10px; }
  .at-centre .apercu { max-height: calc(46vh - 82px); height: 100%; }
  .at-ajouts { gap: 4px; flex-wrap: nowrap; overflow-x: auto; max-width: 100%; scrollbar-width: none; justify-content: flex-start; padding: 0 2px; } .at-ajouts::-webkit-scrollbar { display: none; }
  .at-ajouts button { min-width: 54px; padding: 5px 6px 4px; font-size: 11px; } .at-ajouts button i { font-size: 16px; }
  .at-top .fermer-txt { display: none; }
  .at-menu { right: -8px; }
  .libre-barre { gap: 4px; padding: 10px 12px; }
  .libre-barre button, .libre-barre .lb-couleur { width: 100px; height: 100px; font-size: 46px; } .libre-barre .lb-couleur i { width: 60px; height: 60px; }
}

/* ---------- Le Monteur simplifié (26/09) : 4 étapes, timeline plus grande, poignées pour le doigt ---------- */
.mt-onglets button { font-size: 14px; }
.mt-bloc-monteur { margin-top: 18px; padding: 12px 14px 14px; background: var(--fond); border-radius: 14px; border: 1.5px solid rgba(27,33,31,.12); }
.mt-bloc-monteur .section { margin-top: 0; }
.mt-bloc-monteur #mt-proposer { width: 100%; justify-content: center; }
.mt-clips { height: 104px; gap: 6px; }
.mt-clip { height: 104px; border-radius: 10px; }
.mt-clip-nom { font-size: 12px; left: 22px; right: 22px; bottom: 8px; }
.mt-clip-nom small { font-size: 11px; }
.mt-poignee { width: 18px; background: rgba(255,255,255,.4); }
.mt-poignee::before { content: ''; position: absolute; left: 50%; top: 50%; width: 4px; height: 28px; margin: -14px 0 0 -2px; border-radius: 2px; background: rgba(27,33,31,.7); }
.mt-poignee.g { border-radius: 10px 0 0 10px; } .mt-poignee.d { border-radius: 0 10px 10px 0; }
.mt-clip.on .mt-poignee { background: rgba(255,255,255,.85); }
.mt-st { height: 12px; margin-top: 8px; } .mt-st i { height: 12px; border-radius: 4px; }
.mt-tete { width: 3px; }
.mt-tete::before { left: -6px; border-width: 7px; border-top-width: 9px; }
.editeur.atelier.monteur { grid-template-rows: 60px 1fr 176px; }
.mt-cadre { max-height: calc(100vh - 60px - 176px - 92px); }
.mt-annuler-info { font-size: 12.5px; color: var(--encre2); }
@media (max-width: 900px) {
  .editeur.atelier.monteur { grid-template-rows: auto 42vh minmax(0, 1fr) 150px; }
  .mt-clips, .mt-clip { height: 88px; }
  .mt-poignee { width: 24px; }
  .mt-cadre { max-height: calc(42vh - 70px); }
  .mt-onglets button { font-size: 13px; padding: 8px 4px; }
  .mt-onglets { margin-bottom: 6px; }
}


/* ---------- Notes (Organiser) : liste à gauche, note à droite ; sur téléphone l'un ou l'autre ---------- */
.notes { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 18px; align-items: start; }
.notes-cote { position: sticky; top: 12px; }
.notes-tete { display: flex; gap: 8px; margin-bottom: 10px; }
.notes-tete input { flex: 1; min-width: 0; border: 1px solid rgba(27,33,31,.18); border-radius: 12px; padding: 9px 12px; font-size: 14px; background: #fff; }
.notes-dossiers { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.notes-dossiers button { border: 1px solid rgba(27,33,31,.16); background: #fff; color: var(--bx); border-radius: 999px; padding: 5px 11px; font-size: 13px; cursor: pointer; font-family: inherit; }
.notes-dossiers button.on { background: var(--bx2); color: #fff; border-color: var(--bx2); }
.notes-dossiers .n-dossier-plus { border-style: dashed; color: var(--encre2); }
.n-dossier-actions { display: flex; align-items: center; gap: 8px; margin: -4px 0 8px; }
.notes-liste { display: flex; flex-direction: column; gap: 6px; max-height: calc(100vh - 260px); overflow: auto; }
.n-carte { display: flex; flex-direction: column; gap: 3px; text-align: left; border: 1.5px solid var(--ligne); background: #fff; border-radius: 14px; padding: 10px 12px; cursor: pointer; color: var(--bx); font-family: inherit; position: relative; }
.n-carte.on { border-color: var(--bx2); background: var(--fond); }
.n-carte b { font-weight: 600; font-size: 14.5px; padding-right: 60px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.n-carte small { color: var(--encre2); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.n-icos { position: absolute; right: 10px; top: 9px; font-size: 12px; display: flex; gap: 2px; align-items: center; }
.n-icos i { font-style: normal; font-size: 11px; color: var(--encre2); background: var(--fond); border-radius: 999px; padding: 1px 7px; }
.n-vide-liste { background: var(--fond); border-radius: 14px; padding: 16px; } .n-vide-liste b { display: block; margin-bottom: 4px; } .n-vide-liste p { font-size: 14px; color: var(--encre2); margin: 0 0 10px; }
.notes-edit { background: #fff; border: 1.5px solid var(--ligne); border-radius: 18px; padding: 14px 16px 12px; min-height: 420px; }
.n-rien { display: grid; place-items: center; min-height: 380px; }
.n-barre { display: flex; align-items: center; gap: 6px; }
.n-retour { display: none; }
.n-titre { flex: 1; min-width: 0; border: 0; font-family: var(--tight); font-weight: 600; font-size: 20px; color: var(--bx); padding: 6px 4px; background: transparent; }
.n-titre:focus { outline: 0; background: var(--fond); border-radius: 8px; }
.n-ico { border: 0; background: none; font-size: 16px; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; opacity: .45; }
.n-ico.on { opacity: 1; background: var(--fond); } .n-ico:hover { opacity: 1; }
.n-menu-dossier { display: flex; align-items: center; gap: 8px; padding: 6px 12px; font-size: 14px; color: var(--bx); }
.n-menu-dossier select { flex: 1; border: 1px solid rgba(27,33,31,.18); border-radius: 8px; padding: 5px 8px; font-size: 13.5px; background: #fff; font-family: inherit; }
.n-ref { margin: 4px 0 0; }
.n-outils { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 8px 0 10px; border-bottom: 1px solid var(--ligne); padding-bottom: 6px; }
.n-boutons { display: flex; gap: 4px; margin-left: auto; }
.n-boutons button { border: 1px solid rgba(27,33,31,.16); background: #fff; color: var(--bx); border-radius: 8px; min-width: 32px; height: 30px; padding: 0 8px; font-size: 13.5px; cursor: pointer; font-family: inherit; }
.n-boutons button:hover { background: var(--doux); }
.n-texte { width: 100%; min-height: 360px; border: 0; resize: vertical; font: 15.5px/1.6 Inter, sans-serif; color: var(--bx); padding: 4px; background: transparent; }
.n-texte:focus { outline: 0; }
.n-rendu { min-height: 300px; font-size: 15.5px; line-height: 1.6; color: var(--bx); padding: 4px; cursor: text; }
.n-rendu h3 { font-family: var(--tight); font-weight: 600; font-size: 18px; margin: 12px 0 6px; } .n-rendu h3:first-child { margin-top: 0; }
.n-rendu p { margin: 0 0 4px; } .n-rendu ul, .n-rendu ol { margin: 0 0 6px; padding-left: 22px; } .n-rendu li { margin: 2px 0; }
.n-rendu .n-vide { height: 10px; }
.n-taches { list-style: none; padding-left: 2px !important; } .n-taches label { display: flex; gap: 8px; align-items: flex-start; cursor: pointer; } .n-taches input { margin-top: 5px; accent-color: var(--bx); } .n-taches li.fait span { text-decoration: line-through; color: var(--encre2); }
.n-lien { color: var(--bx2); font-weight: 500; text-decoration: underline; text-decoration-color: rgba(27,33,31,.3); }
.n-lier { background: var(--fond); border-radius: 14px; padding: 10px 14px 12px; margin-top: 8px; }
.n-pied { display: flex; align-items: center; gap: 8px; margin-top: 8px; min-height: 18px; }
.n-verrou { text-align: center; padding: 40px 12px; } .n-cadenas { font-size: 40px; margin-bottom: 8px; } .n-verrou .c-ligne { max-width: 360px; margin: 10px auto 0; display: flex; gap: 8px; } .n-verrou input { flex: 1; border: 1px solid rgba(27,33,31,.18); border-radius: 12px; padding: 10px 12px; font-size: 15px; }
.n-partage { background: var(--fond); border-radius: 14px; padding: 12px 14px; margin: 8px 0 4px; }
.n-membres { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; } .n-membre { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--ligne); border-radius: 999px; padding: 4px 6px 4px 10px; font-size: 13.5px; } .n-membre button { border: 0; background: var(--doux); width: 20px; height: 20px; border-radius: 50%; font-size: 10px; cursor: pointer; }
@media (max-width: 900px) {
  .notes { grid-template-columns: 1fr; gap: 0; }
  .notes-cote { position: static; }
  .notes.ouverte .notes-cote { display: none; }
  .notes:not(.ouverte) .notes-edit { display: none; }
  .notes-liste { max-height: none; }
  .n-retour { display: inline-flex; }
  .notes-edit { padding: 10px 12px; border-radius: 14px; }
  .n-titre { font-size: 18px; }
  .n-outils { gap: 6px; } .n-boutons { margin-left: 0; }
}

/* ---------- Mes créations : tout mélangé (projets, pages, photos, vidéos) ---------- */
a.crea { text-decoration: none; color: inherit; }
.crea-vue.photo { aspect-ratio: 4/5; width: 74px; }
.crea-vue.video { aspect-ratio: 9/16; width: 62px; } .crea-vue video { width: 100%; height: 100%; object-fit: cover; display: block; background: var(--bx); cursor: pointer; }
.crea-vue.web { font-size: 26px; color: var(--encre2); }
.crea-action { position: absolute; right: 10px; top: 10px; }

/* ---------- Le sélecteur d'identité : une identité = un espace ---------- */
.id-wrap { position: relative; display: block; margin: 0 8px 14px; }
.id-switch { display: flex; align-items: center; gap: 8px; width: 100%; border: 1px solid var(--ligne); background: #fff; border-radius: 12px; padding: 7px 10px; font-size: 13px; color: var(--bx); cursor: pointer; font-family: inherit; text-align: left; }
.id-switch:hover { background: var(--doux); }
.id-switch b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.id-chev { color: var(--encre2); font-size: 11px; }
.id-dot { width: 12px; height: 12px; border-radius: 50%; flex: none; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.id-menu { left: 0; right: auto; min-width: 240px; }
.id-menu > button { display: flex; align-items: center; gap: 10px; } .id-menu > button em { margin-left: auto; font-style: normal; color: var(--bx2); } .id-menu > button.on { font-weight: 600; }
.id-menu .id-gerer { display: block; padding: 9px 12px; margin-top: 4px; border-top: 1px solid var(--ligne); font-size: 13.5px; color: var(--bx2); text-decoration: none; font-weight: 500; }
#identite-tel { display: none; }
@media (max-width: 900px) {
  #identite-rail { display: none; }
  #identite-tel { display: block; margin-left: auto; max-width: 48vw; }
  #identite-tel .id-wrap { margin: 0; }
  .id-switch.compact { padding: 5px 9px; font-size: 12.5px; border-radius: 999px; }
  #identite-tel .id-menu { left: auto; right: 0; }
}
/* L'apostrophe du nom en doré : la seule fantaisie du logo. */
.logo .apo, .logo-tel .apo { font-style: normal; color: var(--or); }

/* ---------- 27/09 : sélecteur d'identité plus visible, feed avec logo, pastilles à icônes, logo monogramme ---------- */
.id-switch { background: var(--bx2); border-color: var(--bx2); color: #fff; }
.id-switch:hover { background: var(--bx3); }
.id-switch b { color: #fff; }
.id-plus { flex: none; width: 20px; height: 20px; border-radius: 50%; background: rgba(255,255,255,.18); display: inline-flex; align-items: center; justify-content: center; font-size: 16px; line-height: 1; font-weight: 500; }
.logo-mono { height: auto; margin-right: 8px; }
.logo .logo-mono, .logo-tel .logo-mono { background: var(--bx2); border-radius: 7px; padding: 4px 5px; width: 26px; box-sizing: border-box; vertical-align: -7px; }
.onglet svg { vertical-align: -4px; }
.feed-profil { position: relative; }
.feed-profil .feed-av { cursor: pointer; display: flex; align-items: center; justify-content: center; background: var(--surface); }
.feed-profil .feed-av img { object-fit: contain; background: #fff; }
.feed-av-vide { color: var(--encre2); display: inline-flex; }
.feed-id { flex: 1; min-width: 0; } .feed-id b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feed-crayon { flex: none; margin-left: auto; border: 1px solid var(--ligne); background: #fff; color: var(--bx2); width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.feed-crayon:hover { background: var(--doux); }
.feed-nom-edit { flex: 1; display: flex; gap: 6px; min-width: 0; } .feed-nom-edit input { flex: 1; min-width: 0; border: 1px solid rgba(27,33,31,.18); border-radius: 10px; padding: 8px 10px; font-size: 15px; font-family: inherit; color: var(--bx); }
.mp-emoji { color: inherit; display: inline-flex; align-items: center; justify-content: center; }
@media (max-width: 900px) {
  .retour-global + .scene .entete h1:first-child { margin-top: 0; }
  #identite-tel .id-switch.compact { padding: 6px 8px 6px 12px; }
}

/* ---------- Voix off (Le Monteur) ---------- */
.vo-voix { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
.vo-v { text-align: left; background: #fff; border: 1px solid var(--ligne); border-radius: 12px; padding: 9px 11px; cursor: pointer; font: inherit; color: inherit; }
.vo-v b { display: block; font-weight: 600; font-size: 15px; }
.vo-v small { display: block; color: var(--encre2); font-size: 13px; margin-top: 2px; }
.vo-v.on { border-color: var(--bx2); box-shadow: inset 0 0 0 1px var(--bx2); background: var(--doux); }
.vo-alerte { color: #A3392B; }
.att-cout { margin-top: 4px; }
.abo.plafond .c-ligne { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

/* ---------- Carrousel : modèle qui inspire, verrou, réaccorder ---------- */
.modele-ligne { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.modele-mini { position: relative; width: 52px; aspect-ratio: 4 / 5; border-radius: 8px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.modele-mini img { width: 100%; height: 100%; object-fit: cover; display: block; }
.modele-mini b { position: absolute; left: 4px; bottom: 3px; font-size: 11px; font-weight: 600; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.6); }
.vig-verrou { flex: none; width: 34px; height: 34px; border-radius: 999px; border: 1px solid var(--ligne); background: #fff; cursor: pointer; font-size: 15px; line-height: 1; opacity: .55; }
.vig-verrou.on { opacity: 1; border-color: var(--or); background: var(--ok-fond); }
.accord { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: space-between; background: var(--ok-fond); border: 1px solid rgba(163, 205, 185,.35); border-radius: 14px; padding: 12px 14px; margin: 0 0 16px; font-size: 15px; }
.accord-aide { margin: 0 0 14px; }
.verrou-ligne { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 4px 0 14px; }
.verrou-ligne .btn.on { border-color: var(--or); background: var(--ok-fond); }
.at-mini { position: relative; }
.at-mini-verrou { position: absolute; top: 4px; right: 4px; z-index: 2; font-size: 11px; line-height: 1; background: var(--ok-fond); border-radius: 999px; padding: 3px 4px; }
#vo-debut-v, #vo-vol-v, #vo-rushs-v { text-transform: none; letter-spacing: 0; }
.sans-maj { text-transform: none; letter-spacing: 0; }
.libre-guides .gx { top: 0; width: 2px; height: 100%; margin-left: -1px; background: var(--or); }
.libre-guides .gy { left: 0; height: 2px; width: 100%; margin-top: -1px; background: var(--or); }
.pastilles-marque { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 6px; }
.pastilles-marque button { width: 22px; height: 22px; border-radius: 999px; border: 1px solid rgba(23,70,63,.2); cursor: pointer; padding: 0; }
.pastilles-marque button:hover { transform: scale(1.12); }

/* ---------- Slides : contrôle visuel des débordements (badge « à revoir », alerte de l'atelier) ---------- */
.vig-bloc { position: relative; }
.vig-alerte { position: absolute; right: 8px; top: 8px; z-index: 3; border: 1px solid var(--or); background: var(--ok-fond); color: var(--or-texte); font-size: 12px; font-weight: 600; line-height: 1.2; padding: 3px 9px; border-radius: 999px; cursor: pointer; box-shadow: var(--ombre); }
.vig-alerte:hover { background: #fff; }
.vig-alerte-txt { margin: 0; font-size: 14px; line-height: 1.4; color: var(--bx); background: var(--ok-fond); border: 1px solid rgba(163, 205, 185,.35); border-radius: 12px; padding: 8px 10px; }
.vig-alerte-txt .btn.lien { padding: 0; margin-left: 4px; }
.at-mini-alerte { position: absolute; right: 5px; bottom: 5px; z-index: 2; width: 10px; height: 10px; border-radius: 999px; background: var(--or); box-shadow: 0 0 0 2px #fff; }
.alerte-slide { display: flex; flex-direction: column; gap: 10px; background: var(--ok-fond); border: 1px solid rgba(163, 205, 185,.35); border-radius: 14px; padding: 12px 14px; margin: 4px 0 14px; }
.alerte-slide p { margin: 0; font-size: 15px; line-height: 1.4; color: var(--bx); }
.alerte-slide p::before { content: '⚠ '; color: var(--or-texte); }
.alerte-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- Monteur : carte sélectionnée, son « pourquoi », retouche en une phrase ---------- */
.mt-texte[data-k-sel] { cursor: pointer; }
.mt-texte.on { box-shadow: inset 0 0 0 1.5px var(--bx2); background: var(--carte); }
.mt-pourquoi { margin: 2px 0 8px; font-size: 14px; line-height: 1.4; color: var(--encre2); }
.mt-pourquoi i { font-style: italic; color: var(--bx2); }

/* ---------- Organiser : veille (historique, idées faites, envoi au planning), resynchro Instagram, corbeille ---------- */
.ig-barre { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0 0 18px; }
.ig-barre[hidden] { display: none; }
.plan-post .coche .pp-date { display: block; font-weight: 400; color: var(--encre2); font-size: 12.5px; margin-left: 22px; }
.plan-post .pp-lien { color: var(--bx2); text-decoration: underline; text-underline-offset: 2px; }
.plan-post .pp-publie { color: var(--ok); font-weight: 500; }
.plan-post .pp-publie a { color: var(--bx2); }
.plan-post .ig-vig { width: 44px; height: 44px; object-fit: cover; border-radius: 8px; flex: none; }
.veille-histo { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0 0 18px; }
.veille-filtre { margin: -4px 0 14px; }
.idee .idee-actions { margin-top: 12px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.idee .idee-faite { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; color: var(--bx); cursor: pointer; }
.idee .idee-msg:empty { display: none; }
.idee.repere { outline: 2px solid var(--or); outline-offset: 3px; }
.corbeille-lien { margin: 18px 0 0; text-align: center; font-size: 13.5px; }
.corbeille-lien:empty { display: none; }
.corbeille-lien a { color: var(--encre2); text-decoration: underline; text-underline-offset: 2px; }
.notes-cote .corbeille-lien { margin: 10px 0 4px; }
.crea.corbeille { cursor: default; }
.crea.corbeille .crea-vue { opacity: .6; }
.crea.corbeille .crea-corps { padding-right: 0; }

/* ---------- Visuel : vidéos en cours dans la galerie, Mes lieux ---------- */
.g-encours { position: relative; }
.g-encours > img, .g-encours .g-vide { width: 100%; aspect-ratio: 4/5; object-fit: cover; display: block; background: var(--surface); opacity: .55; }
.g-encours .g-etat { position: absolute; left: 0; right: 0; top: 0; aspect-ratio: 4/5; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 12px; text-align: center; color: var(--bx); }
.g-encours .g-etat small { font-size: 12.5px; font-weight: 500; line-height: 1.35; background: rgba(255,255,255,.9); border-radius: 999px; padding: 5px 10px; }
.g-encours .g-etat .rond { width: 22px; height: 22px; border: 2px solid var(--surface); border-top-color: var(--bx); border-radius: 50%; animation: tourne .9s linear infinite; }
.lieux-lignes .logo-vue { background: var(--surface); overflow: hidden; }
.lieux-lignes .logo-vue img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; }
.lieu-choisi img { width: 88px; height: 66px; }

/* ---------- Barre du bas (téléphone) : Mon feed, Cette semaine, Créer, Ma journée, Mes notes (27/09 ; Mes notes = espace #/notes le 29/09) ---------- */
@media (max-width: 640px) {
  .rail .espace.cloche { display: none; }
  .rail .espace[href="#/feed"] { order: 1; }
  .rail .espace[href="#/creations"] { order: 2; }
  .rail .espace[href="#/creer"] { order: 3; }
  .rail .espace[href="#/strategie"] { order: 4; }
  .rail .espace[href="#/notes"] { order: 5; }
}
@media (max-width: 900px) {
  .notes { grid-template-columns: minmax(0, 1fr); }
  .notes-cote, .notes-tete, .notes-liste, .notes-dossiers { min-width: 0; max-width: 100%; }
  .notes-tete input { min-width: 0; flex: 1 1 auto; font-size: 16px; } /* 16 px : sous cette taille, l'iPhone zoome à la prise du champ */
  .notes-tete .btn { flex: none; }
}

/* ---------- Mon feed : rester appuyé pour déplacer (27/09) ---------- */
.feed-case { touch-action: manipulation; }
.feed-case.prise { z-index: 5; box-shadow: 0 12px 28px -8px rgba(23,70,63,.45); transition: none; touch-action: none; }
.feed-case.sur { outline: 2px solid var(--or); outline-offset: -2px; }

/* ---------- Le drop : des cartes avec image, et l'encadré Scène photo (27/09) ---------- */
.carte.scene-photo { flex-direction: row; align-items: center; gap: 16px; margin-bottom: 22px; text-decoration: none; }
.carte.scene-photo .visuel { font-size: 30px; width: 56px; height: 56px; border-radius: 16px; background: var(--doux); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.carte.scene-photo h3 { margin: 0 0 2px; } .carte.scene-photo p { margin: 0; color: var(--encre2); font-size: 14.5px; }
.carte.scene-photo .btn { margin-left: auto; flex: none; }
.drop-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.drop-carte { background: var(--carte); border-radius: 16px; overflow: hidden; box-shadow: var(--ombre); display: flex; flex-direction: column; }
.drop-vis { position: relative; aspect-ratio: 4 / 5; background: var(--surface); overflow: hidden; }
.drop-vis img, .drop-vis .vig-fond { width: 100%; height: 100%; object-fit: cover; display: block; }
.drop-cadenas { position: absolute; top: 10px; right: 10px; background: rgba(250,248,244,.9); border-radius: 999px; padding: 4px 7px; font-size: 13px; }
.drop-txt { padding: 12px 14px 6px; display: flex; flex-direction: column; gap: 4px; }
.drop-txt .tag-format { align-self: flex-start; }
.drop-txt b { font-weight: 600; font-size: 15px; } .drop-txt small { color: var(--encre2); font-size: 13.5px; }
.drop-actions { display: flex; gap: 8px; padding: 8px 14px 14px; margin-top: auto; flex-wrap: wrap; }
@media (max-width: 640px) { .drop-grille { grid-template-columns: 1fr 1fr; gap: 10px; } .carte.scene-photo .btn { display: none; } .drop-actions .btn { padding: 9px 12px; } }
.drop-vis .vig-fond { background: linear-gradient(135deg, #1F5B52, #A3CDB9); }
.drop-vis .vig-fond.portrait { background: linear-gradient(160deg, #CFE5DA, #1F5B52); }
.drop-vis .vig-fond.produit, .drop-vis .vig-fond.packshot { background: linear-gradient(160deg, #ECE7DE, #C9B8AC); }
.drop-vis .vig-fond.lifestyle { background: linear-gradient(160deg, #2A6E63, #CFE5DA); }
.drop-vis .vig-fond.ambiance { background: linear-gradient(160deg, #17463F, #6C7A75); }
.onglets.grands #nouv-n { background: var(--or); color: var(--bx); font-weight: 600; min-width: 20px; text-align: center; }
.onglets.grands #nouv-n[hidden] { display: none; }

/* ---------- Réalisations : le + qui ouvre ses créations (27/09) ---------- */
.real-plus { width: 100%; min-height: 200px; font-size: 54px; font-weight: 300; color: var(--bx2); cursor: pointer; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; font-family: inherit; }
.real-plus.plein { padding: 0; font-size: 15px; }
.real-plus img { width: 100%; max-height: 320px; object-fit: contain; display: block; }
.real-changer { position: absolute; bottom: 10px; right: 10px; background: rgba(250,248,244,.94); color: var(--bx); border-radius: 999px; padding: 6px 12px; font-size: 13.5px; font-weight: 500; }

/* ---------- Organiser : l'exemple de semaine, et les pastilles sur téléphone (27/09) ---------- */
.ex-semaine { background: var(--carte); border-radius: 18px; box-shadow: var(--ombre); padding: 18px 18px 14px; margin-bottom: 22px; }
.ex-tete { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; } .ex-tete b { font-weight: 600; font-size: 16px; }
.ex-badge { background: var(--ok-fond); color: var(--or-texte); border: 1px solid rgba(163, 205, 185,.45); border-radius: 999px; padding: 2px 10px; font-size: 12.5px; font-weight: 600; }
.ex-jours { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.ex-jour { background: var(--fond); border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 6px; border: 1px solid transparent; }
.ex-jour.auj { border-color: var(--or); background: var(--ok-fond); }
.ex-nom { font-size: 13px; font-weight: 600; color: var(--encre2); text-transform: capitalize; }
.ex-jour .tag-format { align-self: flex-start; }
.ex-jour b { font-weight: 600; font-size: 14.5px; line-height: 1.3; } .ex-jour small { color: var(--encre2); font-size: 13px; line-height: 1.35; }
.ex-pilier { font-size: 12px; color: var(--bx2); font-weight: 500; }
@media (max-width: 640px) {
  .ex-jours { grid-template-columns: 1fr 1fr; }
}
/* Le contenu reste collé en haut même quand la page est courte (plus de grand vide sous la barre du haut). */
.app { align-content: start; }
.carte.scene-photo { min-height: 0; padding: 16px 18px; }
@media (max-width: 640px) { .carte.scene-photo .visuel { width: 46px; height: 46px; font-size: 24px; border-radius: 13px; } .carte.scene-photo p { font-size: 14px; } }
.mt-police-apercu { margin: 8px 0 0; font-size: 20px; font-weight: 600; color: var(--bx); }

/* ---------- Monteur : les looks cinéma (LUT) ---------- */
.mt-luts { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.mt-lut { background: #fff; border: 1px solid var(--ligne); border-radius: 12px; padding: 6px; text-align: left; cursor: pointer; font: inherit; color: inherit; display: flex; flex-direction: column; gap: 3px; }
.mt-lut canvas { width: 100%; height: auto; aspect-ratio: 4 / 5; border-radius: 8px; display: block; background: var(--surface); }
.mt-lut b { font-size: 13px; font-weight: 600; line-height: 1.2; } .mt-lut small { font-size: 11.5px; color: var(--encre2); line-height: 1.25; }
.mt-lut.on { border-color: var(--bx2); box-shadow: inset 0 0 0 1px var(--bx2); background: var(--doux); }
.mt-corr { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.mt-corr-l { display: inline-flex; align-items: center; gap: 4px; background: #fff; border: 1px solid var(--ligne); border-radius: 999px; padding: 3px 4px 3px 10px; font-size: 13.5px; }
.mt-corr-l b { font-weight: 600; } .mt-corr-l .x { border: 0; background: transparent; cursor: pointer; color: var(--encre2); }
.mt-montages { position: relative; }
.mt-menu { position: absolute; top: 110%; left: 0; z-index: 30; min-width: 280px; max-height: 60vh; overflow: auto; }
.mt-menu button { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; }
.mt-menu img, .mt-menu .mt-vig-vide { width: 34px; height: 46px; border-radius: 6px; object-fit: cover; flex: none; background: var(--surface); display: inline-flex; align-items: center; justify-content: center; color: var(--encre2); }
.mt-menu span b { display: block; font-weight: 600; font-size: 14.5px; } .mt-menu span small { color: var(--encre2); font-size: 12.5px; }
.mt-menu em { margin-left: auto; font-style: normal; color: var(--or-texte); } .mt-menu i { margin-left: auto; font-style: normal; color: var(--encre2); padding: 4px 6px; }
.mt-st.zooms i { background: var(--or); }
.mt-st.sons i { background: #1F5B52; border-radius: 999px; }
.mt-st.voix i { background: #6C7A75; }
.mt-st.musique i { background: linear-gradient(90deg, rgba(31,91,82,.35), rgba(31,91,82,.6)); }
.mt-planche { display: block; width: 100%; height: auto; border-radius: 12px; margin-top: 8px; cursor: pointer; box-shadow: var(--ombre); }
.mt-barre { height: 6px; border-radius: 99px; background: rgba(31,91,82,.14); margin-top: 8px; overflow: hidden; }
.mt-barre i { display: block; height: 100%; background: var(--bx2); border-radius: 99px; transition: width .2s; }
.mt-alerte-i { font-size: 10px; flex: none; color: var(--encre2); }
.mt-alerte.erreur .mt-alerte-i { color: #B4412F; }
.mt-alerte.attention .mt-alerte-i { color: var(--or); }
.mt-regles { margin: 8px 0 0; padding-left: 18px; font-size: 14px; line-height: 1.45; }
.mt-regles li + li { margin-top: 3px; }
/* La photothèque (27/09) : « Mes photos » en pastille dorée, références clone/avatar ou éphémères, résultats empilés */
.segments button.seg-or { color: var(--or-texte); background: var(--ok-fond); box-shadow: inset 0 0 0 1px rgba(163, 205, 185,.45); }
.segments button.seg-or .n { background: var(--ok-fond); color: var(--or-texte); }
.segments button.seg-or.on { background: var(--or); color: #fff; }
.segments button.seg-or.on .n { background: rgba(255,255,255,.28); color: #fff; }
.pan-zoomable { display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in; position: relative; }
.pan-loupe { position: absolute; right: 10px; bottom: 10px; width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--bx); display: grid; place-items: center; font-size: 15px; box-shadow: var(--ombre); }
.ph-refs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ph-lib { display: flex; align-items: center; gap: 10px; text-align: left; padding: 10px; border: 1px solid var(--ligne); border-radius: 14px; background: var(--carte); color: var(--bx); cursor: pointer; font: inherit; text-decoration: none; min-width: 0; }
.ph-lib:hover { border-color: var(--bx2); }
.ph-lib-txt { display: grid; gap: 2px; min-width: 0; }
.ph-lib-txt b { font-weight: 600; font-size: 14px; line-height: 1.25; }
.ph-lib-txt small { font-size: 12.5px; color: var(--encre2); }
.ph-pile { display: flex; flex: none; }
.ph-pile img, .ph-pile i { width: 34px; height: 44px; border-radius: 8px; object-fit: cover; border: 2px solid var(--carte); background: var(--surface); display: block; }
.ph-pile img + img { margin-left: -16px; }
.ph-plus { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--doux); color: var(--bx2); display: grid; place-items: center; font-size: 20px; }
.ph-lib-creer { border-style: dashed; border-color: var(--or); }
.ph-lib-creer .ph-plus { background: var(--ok-fond); color: var(--or-texte); }
.ph-eph { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; }
.ph-eph span { position: relative; }
.ph-eph img { width: 44px; height: 56px; border-radius: 8px; object-fit: cover; display: block; }
.ph-eph button { position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; border-radius: 50%; border: 0; background: var(--bx); color: #fff; font-size: 10px; cursor: pointer; }
.ph-eph small { font-size: 12.5px; color: var(--encre2); flex-basis: 100%; }
.ph-resultats { display: grid; gap: 12px; margin-top: 18px; }
.ph-res { position: relative; border-radius: 14px; overflow: hidden; background: var(--surface); }
.ph-res.en-cours { display: grid; place-items: center; min-height: 220px; }
.ph-res-img { display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in; background: none; }
.ph-res-img img { width: 100%; display: block; }
.ph-res-act { position: absolute; top: 10px; right: 10px; display: flex; gap: 6px; }
.ph-res-act button { width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255,255,255,.94); color: var(--bx); font-size: 15px; cursor: pointer; box-shadow: var(--ombre); display: grid; place-items: center; }
.ph-res-act .ph-ok:hover, .ph-res.valide .ph-ok { background: var(--or); color: #fff; }
.ph-res-act .ph-x:hover { background: var(--bx); color: #fff; }
.ph-res-note { position: absolute; left: 10px; bottom: 10px; background: rgba(255,255,255,.94); color: var(--or-texte); font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; }
.ph-lib-groupe + .ph-lib-groupe { margin-top: 14px; }
.ph-lib-groupe-tete { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.ph-lib-groupe-tete b { font-weight: 600; font-size: 14.5px; }
.ph-fenetre .feed-choix-case.on { border-color: var(--or); }
.ph-fenetre .feed-choix-case.on::after { content: "✓"; position: absolute; top: 6px; right: 6px; width: 22px; height: 22px; border-radius: 50%; background: var(--or); color: #fff; font-size: 12px; display: grid; place-items: center; }
.ph-zoom { position: fixed; inset: 0; z-index: 130; background: rgba(15,35,32,.86); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 16px; cursor: zoom-out; }
.ph-zoom img { max-width: 100%; max-height: calc(100vh - 110px); border-radius: 12px; object-fit: contain; cursor: default; }
.ph-zoom-act { display: flex; gap: 8px; }
.g-item { position: relative; }
.g-ok { position: absolute; top: 8px; right: 8px; width: 24px; height: 24px; border-radius: 50%; background: var(--or); color: #fff; font-size: 12px; display: grid; place-items: center; }
@media (max-width: 520px) { .ph-refs { grid-template-columns: 1fr; } }
.mt-champs { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; }
.mt-champ { display: grid; gap: 3px; font-size: 12.5px; color: var(--encre2); flex: 1 1 110px; min-width: 0; }
.mt-champ.large { flex-basis: 100%; }
.mt-champ input[type=text], .mt-champ input[type=number] { border: 1px solid var(--ligne); border-radius: 10px; padding: 7px 9px; font: inherit; font-size: 14px; color: var(--bx); width: 100%; min-width: 0; }
.mt-champ.mb-case { display: flex; align-items: center; gap: 6px; flex-basis: 100%; }
/* ---------- Les icônes vivantes de « Que veux-tu créer ? » (dessin plat, affiné le 28/09 : traits fins, plus d'air) ---------- */
.carte .visuel .vv { width: 100%; height: 100%; max-width: 190px; overflow: visible; }
.vv .vv-air { transform: scale(.92); }
/* Le relief léger : dégradés doux et petite ombre (définis par poserDefinitions dans vivants.js), la couleur plate en secours. */
.vv .f-v { fill: url(#vv-rv) #1F5B52; } .vv .f-vp { fill: url(#vv-rvp) #17463F; } .vv .f-or { fill: url(#vv-ror) #A3CDB9; } .vv .f-or2 { fill: url(#vv-ror2) #CFE5DA; }
.vv .f-iv { fill: url(#vv-riv) #FFFFFF; }
.vv .vv-air > g, .vv .vv-air > rect, .vv .vv-air > path, .vv .vv-air > circle { filter: url(#vv-ro); } .vv .f-su { fill: #E2DACC; } .vv .f-bl-t { fill: #FFFFFF; }
.vv .s-v { fill: none; stroke: var(--bx2); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.vv .s-vp { fill: none; stroke: var(--bx); stroke-width: 1.4; stroke-linecap: round; }
.vv .s-or { fill: none; stroke: var(--or); stroke-width: 1.6; stroke-linecap: round; }
.vv .s-li { stroke: rgba(23,70,63,.12); stroke-width: .8; }
.vv * { transform-box: fill-box; transform-origin: center; }
.vv g, .vv rect, .vv circle, .vv path { transition: transform .5s cubic-bezier(.3,1.4,.5,1), opacity .35s ease, fill .35s ease; }
.vv text { font-family: var(--tight); font-weight: 500; fill: var(--or); }
/* carrousel : le swipe */
.carte:hover .vv-car-1, .carte.joue .vv-car-1 { transform: translateX(-16px) rotate(-6deg); }
.carte:hover .vv-car-2, .carte.joue .vv-car-2 { transform: translateX(-6px) rotate(-2deg); }
.carte:hover .vv-car-3, .carte.joue .vv-car-3 { transform: translateX(4px) rotate(3deg); }
.vv-car-pt { transition: fill .3s ease; } .carte:hover .vv-car-pt, .carte.joue .vv-car-pt { fill: var(--or); }
/* stories : les barres se remplissent */
.vv-sto-b1, .vv-sto-b2 { transform-origin: left center; transform: scaleX(0); transition: transform .9s linear; }
.carte:hover .vv-sto-b1, .carte.joue .vv-sto-b1 { transform: scaleX(1); }
.carte:hover .vv-sto-b2, .carte.joue .vv-sto-b2 { transform: scaleX(1); transition-delay: .9s; }
.carte:hover .vv-sto-ecran, .carte.joue .vv-sto-ecran { transform: translateY(-3px) scale(1.06); }
.carte:hover .vv-sto-sondage, .carte.joue .vv-sto-sondage { fill: var(--or); transform: scaleX(1.12); }
/* cover */
.carte:hover .vv-cov-t1, .carte.joue .vv-cov-t1 { transform: scale(1.12); }
.carte:hover .vv-cov-t2, .carte.joue .vv-cov-t2 { transform: scale(1.18) translateY(1px); }
.carte:hover .vv-cov-play, .carte.joue .vv-cov-play { animation: vv-bat .9s ease-in-out infinite; }
@keyframes vv-bat { 50% { transform: scale(1.16); } }
/* montage : la tête de lecture traverse, les ciseaux coupent */
.carte:hover .vv-mon-tete, .carte.joue .vv-mon-tete { animation: vv-tete 1.6s cubic-bezier(.45,0,.55,1) infinite alternate; }
@keyframes vv-tete { to { transform: translateX(78px); } }
.vv-mon-lame1, .vv-mon-lame2 { transform-origin: 50% 100%; transform-box: fill-box; }
.carte:hover .vv-mon-lame1, .carte.joue .vv-mon-lame1 { animation: vv-coupe1 .5s ease-in-out infinite alternate; }
.carte:hover .vv-mon-lame2, .carte.joue .vv-mon-lame2 { animation: vv-coupe2 .5s ease-in-out infinite alternate; }
@keyframes vv-coupe1 { to { transform: rotate(-16deg); } } @keyframes vv-coupe2 { to { transform: rotate(16deg); } }
/* photo : le soleil se lève, l'éclat */
.carte:hover .vv-ph-soleil, .carte.joue .vv-ph-soleil { transform: translateY(-18px); }
.carte:hover .vv-ph-mont1, .carte.joue .vv-ph-mont1 { transform: translateX(-4px); }
.carte:hover .vv-ph-mont2, .carte.joue .vv-ph-mont2 { transform: translateX(4px); }
.vv-ph-eclat { opacity: 0; transform: scale(.3) rotate(-40deg); }
.carte:hover .vv-ph-eclat, .carte.joue .vv-ph-eclat { opacity: 1; transform: none; transition-delay: .15s; }
/* vidéo : la pellicule défile */
.carte:hover .vv-vi-bande, .carte.joue .vv-vi-bande { animation: vv-bande 1.4s linear infinite; }
@keyframes vv-bande { to { transform: translateX(-90px); } }
.carte:hover .vv-vi-play, .carte.joue .vv-vi-play { animation: vv-bat 1s ease-in-out infinite; }
/* avatar : le groupe s'ouvre, les étoiles scintillent */
.carte:hover .vv-av-g, .carte.joue .vv-av-g { transform: translateX(-9px) rotate(-5deg); }
.carte:hover .vv-av-d, .carte.joue .vv-av-d { transform: translateX(9px) rotate(5deg); }
.carte:hover .vv-av-m, .carte.joue .vv-av-m { transform: translateY(-4px); }
.carte:hover .vv-etoile, .carte.joue .vv-etoile { animation: vv-scintille 1.3s ease-in-out infinite; }
.carte:hover .vv-etoile.e2, .carte.joue .vv-etoile.e2 { animation-delay: -.6s; }
@keyframes vv-scintille { 50% { transform: scale(1.4) rotate(45deg); } }
/* logo : l'apostrophe dorée tourne et se pose */
.carte:hover .vv-logo-apo, .carte.joue .vv-logo-apo { animation: vv-apo .9s cubic-bezier(.3,1.4,.5,1); }
@keyframes vv-apo { 0% { transform: translate(10px,-12px) rotate(-120deg); opacity: 0; } 100% { transform: none; opacity: 1; } }
/* flyer : la feuille bascule */
.vv-fly-recto { transform-origin: 20% 100%; }
.carte:hover .vv-fly-recto, .carte.joue .vv-fly-recto { transform: rotate(-9deg) translateY(-3px); }
/* carte de visite : celle du dessus glisse */
.carte:hover .vv-cv-dessus, .carte.joue .vv-cv-dessus { transform: translate(-10px,-6px) rotate(-7deg); }
.carte:hover .vv-cv-dessous, .carte.joue .vv-cv-dessous { transform: translate(6px,2px) rotate(3deg); }
/* présentation : les barres poussent */
.vv-pre-barres rect { transform-origin: 50% 100%; }
.carte:hover .vv-pre-barres rect, .carte.joue .vv-pre-barres rect { animation: vv-pousse .8s cubic-bezier(.3,1.4,.5,1) both; }
.carte:hover .vv-pre-barres .b2, .carte.joue .vv-pre-barres .b2 { animation-delay: .12s; } .carte:hover .vv-pre-barres .b3, .carte.joue .vv-pre-barres .b3 { animation-delay: .24s; }
@keyframes vv-pousse { from { transform: scaleY(.15); } }
/* idées : l'ampoule s'allume */
.vv-id-rayons { opacity: .25; }
.carte:hover .vv-id-rayons, .carte.joue .vv-id-rayons { opacity: 1; transform: scale(1.08); }
.carte:hover .vv-id-verre, .carte.joue .vv-id-verre { fill: var(--or); }
.carte:hover .vv-id-ampoule, .carte.joue .vv-id-ampoule { transform: translateY(-3px); }
.carte:hover .vv-id-post, .carte.joue .vv-id-post { transform: rotate(8deg) translate(-2px,-3px); }
/* légende : le texte s'écrit, le hashtag arrive */
.vv-lg-fenetre { transform-origin: left center; }
.carte:hover .vv-lg-fenetre, .carte.joue .vv-lg-fenetre { animation: vv-ecrit 1.3s steps(14) both; }
@keyframes vv-ecrit { from { transform: scaleX(0); } }
.vv-lg-hash { opacity: 0; } .carte:hover .vv-lg-hash, .carte.joue .vv-lg-hash { opacity: 1; transition-delay: 1s; }
/* lien en bio : les liens arrivent l'un après l'autre */
.carte:hover .vv-lb-l1, .carte:hover .vv-lb-l2, .carte:hover .vv-lb-l3, .carte.joue .vv-lb-l1, .carte.joue .vv-lb-l2, .carte.joue .vv-lb-l3 { animation: vv-lien .5s cubic-bezier(.3,1.4,.5,1) both; }
.carte:hover .vv-lb-l2, .carte.joue .vv-lb-l2 { animation-delay: .12s; } .carte:hover .vv-lb-l3, .carte.joue .vv-lb-l3 { animation-delay: .24s; }
@keyframes vv-lien { from { transform: translateX(-14px); opacity: 0; } }
/* ebook : la couverture s'ouvre, l'enveloppe monte */
.vv-eb-couv { transform-origin: 0 50%; }
.carte:hover .vv-eb-couv, .carte.joue .vv-eb-couv { transform: perspective(200px) rotateY(-55deg); }
.carte:hover .vv-eb-env, .carte.joue .vv-eb-env { transform: translateY(-14px) rotate(-6deg); }
/* portfolio : les cases tombent */
.carte:hover .vv-pf, .carte.joue .vv-pf { animation: vv-case .5s cubic-bezier(.3,1.5,.5,1) both; }
.carte:hover .vv-pf.c2, .carte.joue .vv-pf.c2 { animation-delay: .1s; } .carte:hover .vv-pf.c3, .carte.joue .vv-pf.c3 { animation-delay: .2s; } .carte:hover .vv-pf.c4, .carte.joue .vv-pf.c4 { animation-delay: .3s; }
@keyframes vv-case { from { transform: scale(.4) rotate(-10deg); opacity: 0; } }
/* outil : le curseur glisse, l'interrupteur bascule, le résultat s'allume */
.vv-ou-rempli { transform-origin: left center; }
.carte:hover .vv-ou-rempli, .carte.joue .vv-ou-rempli { transform: scaleX(3.4); }
.carte:hover .vv-ou-bouton, .carte.joue .vv-ou-bouton { transform: translateX(46px); }
.carte:hover .vv-ou-inter, .carte.joue .vv-ou-inter { transform: translateX(18px); }
.vv-ou-res { opacity: .35; } .carte:hover .vv-ou-res, .carte.joue .vv-ou-res { opacity: 1; transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) { .vv *, .vv g { transition: none !important; animation: none !important; } }

/* Photothèque (28/09) : sur iPhone, 100vh passait sous la barre de Safari et cachait « Générer mon image ».
   Le panneau suit maintenant la hauteur visible (100dvh) et le bouton reste collé en bas pendant qu'on fait défiler. */
.ph-generer-barre { position: sticky; bottom: calc(-24px - env(safe-area-inset-bottom)); z-index: 3; margin: 18px -24px 0; padding: 14px 24px calc(14px + env(safe-area-inset-bottom)); background: linear-gradient(rgba(255,255,255,0), var(--carte) 34%); }
@media (max-width: 640px) { .ph-generer-barre { margin: 18px -16px 0; padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); bottom: calc(-24px - env(safe-area-inset-bottom)); } }
.ph-protege { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
.feed-panneau-tete b, .feed-panneau-tete .btn { white-space: nowrap; } .feed-panneau-tete b { min-width: 0; overflow: hidden; text-overflow: ellipsis; }

/* ---------- La boîte à idées des membres (27/09) ---------- */
@media (max-width: 640px) { .rail .espace[href="#/boite-idees"] { display: none; } }
.bi-panneau { margin-bottom: 30px; max-width: 760px; }
.bi-panneau .champ textarea { min-height: 130px; }
.bi-cats { display: flex; gap: 6px; flex-wrap: wrap; }
.bi-compte { display: block; text-align: right; margin-top: 6px; }
.bi-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.bi-idee { background: var(--carte); border-radius: 18px; padding: 16px 18px; box-shadow: var(--ombre); display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.bi-idee-tete { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.bi-idee-tete small { color: var(--encre2); font-size: 14px; }
.bi-idee p { color: var(--bx); font-size: 15.5px; line-height: 1.5; overflow-wrap: anywhere; }
.bi-qui { font-size: 14px; color: var(--encre2); padding-top: 10px; border-top: 1px solid var(--ligne); overflow-wrap: anywhere; }
.bi-qui b { color: var(--bx); font-weight: 600; }
.bi-qui a { color: var(--bx2); }
.bi-qui small { display: block; margin-top: 2px; font-size: 14px; }
.bi-actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.bi-actions select { border: 1px solid rgba(27,33,31,.18); border-radius: 999px; padding: 7px 12px; background: #fff; color: var(--bx); font-size: 14px; }
.bi-actions .btn.lien { padding: 8px 4px; }
.bi-nouv { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 4px; border-radius: 999px; background: var(--or); color: #fff; font-size: 12px; font-weight: 600; }
.onglet.on .bi-nouv { background: var(--or2); color: var(--bx); }
@media (max-width: 640px) { .bi-panneau { padding: 22px 18px; } .bi-grille { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Mes notes : toujours éditable, emojis en couleur, corbeille à part, Ma to do list (27/09) ---------- */
/* les emojis du haut : jamais grisés, celui qui est actif a sa pastille dorée */
.n-ico { opacity: 1; width: 40px; height: 40px; display: inline-grid; place-items: center; transition: background .15s; }
.n-ico:hover { opacity: 1; background: var(--doux); }
.n-ico.on, .n-ico.on:hover { background: rgba(163, 205, 185,.22); box-shadow: inset 0 0 0 1px rgba(163, 205, 185,.35); }
/* plus de bascule Lire / Écrire : la barre d'outils se cale à gauche, le texte grandit avec la note */
.n-outils .n-boutons { margin-left: 0; flex-wrap: wrap; }
.n-texte { resize: none; overflow: hidden; }
.n-liens { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.n-liens:empty { display: none; }
.n-puce { display: inline-flex; align-items: center; min-height: 32px; padding: 4px 12px; border-radius: 999px; background: var(--doux); color: var(--bx2); font-size: 13.5px; font-weight: 500; text-decoration: none; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.n-puce:hover { background: rgba(31,91,82,.13); }
.n-pied:has(#n-presence:empty):has(#n-statut:empty) { display: none; }
/* la pastille « Ma to do list » et son compteur */
.notes-dossiers .n-compte { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; margin-left: 4px; border-radius: 999px; background: var(--or); color: #fff; font-size: 11px; font-weight: 600; line-height: 1; }
/* la to do list et la corbeille prennent toute la largeur */
.notes.plein { grid-template-columns: minmax(0, 1fr); }
.notes.plein .notes-edit { display: none; }
.notes.plein .notes-cote { position: static; max-width: 680px; }
.notes.plein .notes-liste { max-height: none; overflow: visible; }
.n-panneau { background: var(--carte); border: 1.5px solid var(--ligne); border-radius: 18px; padding: 14px 16px 16px; }
.n-panneau h2 { font-size: 20px; }
.n-panneau-tete { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.n-panneau-tete p { margin: 4px 0 0; }
/* la corbeille des notes */
.n-cb-liste { display: flex; flex-direction: column; gap: 8px; }
.n-cb { border: 1.5px solid var(--ligne); border-radius: 14px; padding: 10px 12px; display: flex; flex-direction: column; gap: 3px; }
.n-cb b { font-weight: 600; font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.n-cb small { color: var(--encre2); font-size: 12.5px; }
.n-cb-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.n-cb-actions .btn { min-height: 40px; }
.n-danger { color: #a3392b !important; }
.n-cb-pied { text-align: center; margin-top: 10px; }
.n-cb-vide { padding: 8px 0 4px; }
.notes-cote .corbeille-lien a { display: inline-flex; align-items: center; min-height: 40px; }
/* Ma to do list, façon Rappels */
.td-tete { display: flex; align-items: baseline; gap: 10px; margin-bottom: 4px; }
.td-tete .indice { margin-left: auto; }
.td-liste { list-style: none; margin: 0; padding: 0; }
.td-ligne { display: flex; align-items: flex-start; gap: 2px; border-bottom: 1px solid var(--ligne); }
.td-bulle { flex: none; width: 44px; height: 44px; border: 0; background: none; padding: 0; display: grid; place-items: center; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.td-bulle svg { width: 24px; height: 24px; border-radius: 50%; border: 1.8px solid rgba(23,70,63,.35); box-sizing: border-box; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: background .18s, border-color .18s, transform .18s; }
.td-bulle svg path { opacity: 0; transition: opacity .18s; }
.td-bulle:hover svg { border-color: var(--bx2); }
.td-ligne.fait .td-bulle svg { background: var(--bx2); border-color: var(--bx2); transform: scale(1.04); }
.td-ligne.fait .td-bulle svg path { opacity: 1; }
.td-texte { flex: 1; min-width: 0; border: 0; background: transparent; resize: none; overflow: hidden; font: 16px/1.4 Inter, 'Helvetica Neue', Arial, sans-serif; color: var(--bx); padding: 11px 2px; min-height: 44px; box-sizing: border-box; }
.td-texte:focus { outline: 0; }
.td-ligne.fait .td-texte { color: var(--encre2); }
.td-suppr { flex: none; width: 44px; height: 44px; border: 0; background: none; color: var(--encre2); font-size: 13px; cursor: pointer; border-radius: 50%; opacity: .55; }
.td-suppr:hover, .td-suppr:focus-visible { opacity: 1; background: var(--doux); }
.td-ajout { display: flex; align-items: center; gap: 2px; cursor: text; border-bottom: 1px solid var(--ligne); }
.td-plus { flex: none; width: 44px; height: 44px; display: grid; place-items: center; color: var(--bx2); font-size: 22px; font-weight: 500; }
.td-ajout input { flex: 1; min-width: 0; border: 0; background: transparent; font-size: 16px; padding: 11px 2px; min-height: 44px; color: var(--bx); }
.td-ajout input:focus { outline: 0; }
.td-ajout input::placeholder { color: var(--encre2); }
.td-finies { margin-top: 14px; }
.td-finies-tete { display: flex; align-items: center; gap: 8px; }
.td-finies-tete .btn { margin-left: auto; }
.td-replier { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; border: 0; background: none; padding: 0 6px 0 12px; color: var(--encre2); font: 500 14px Inter, 'Helvetica Neue', Arial, sans-serif; cursor: pointer; }
.td-chevron { display: inline-block; font-size: 18px; line-height: 1; transition: transform .18s; }
.td-replier[aria-expanded="true"] .td-chevron { transform: rotate(90deg); }
@media (hover: none) { .td-suppr { opacity: .4; } }
@media (max-width: 900px) {
  .n-ico { width: 40px; height: 40px; }
  .notes.plein .notes-cote { max-width: none; }
  .n-panneau { padding: 12px 12px 14px; border-radius: 14px; }
  .notes-dossiers button { min-height: 36px; }
}

/* ───────── Organiser : accordéons, to-do en cartes d'action, statuts des posts, semaine du planning (27/09) ───────── */
.accordeon { background: var(--carte); border-radius: var(--radius); box-shadow: var(--ombre); margin-bottom: 24px; }
.accordeon > summary, .repli > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 14px 22px; border-radius: var(--radius); color: var(--bx); }
.accordeon > summary::-webkit-details-marker, .repli > summary::-webkit-details-marker { display: none; }
.accordeon > summary:focus-visible, .repli > summary:focus-visible { outline: 2px solid var(--bx2); outline-offset: 2px; }
.accordeon[open] > summary { border-bottom: 1px solid var(--ligne); border-radius: var(--radius) var(--radius) 0 0; }
.accordeon > summary:hover .chevron, .repli > summary:hover .chevron { border-color: var(--or); }
.acc-titre { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.acc-titre b { font-family: var(--tight); font-weight: 600; font-size: 18px; line-height: 1.25; }
.acc-titre small { color: var(--encre2); font-size: 14px; }
.chevron { flex: none; width: 10px; height: 10px; border: solid var(--bx2); border-width: 0 2px 2px 0; transform: translateY(-2px) rotate(45deg); transition: transform .2s ease, border-color .2s ease; }
details[open] > summary .chevron { transform: translateY(2px) rotate(-135deg); }
.acc-corps { padding: 20px 22px 24px; }
.acc-corps .aide { color: var(--encre2); margin-bottom: 20px; max-width: 640px; }
.section-mini, .repli-titre, .repli-corps .section { font-size: 12.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--or-texte); margin: 0 0 10px; }
.repli-titre { margin: 30px 0 10px; }
.repli-corps .section { margin: 24px 0 10px; }
.bloc-tete { display: flex; align-items: baseline; gap: 6px 12px; flex-wrap: wrap; margin: 4px 0 16px; }
.bloc-tete small { color: var(--encre2); font-size: 14px; }
.panneau .bloc-tete { margin-top: 0; margin-bottom: 20px; }
.repli { background: var(--carte); border-radius: 16px; box-shadow: var(--ombre); margin-bottom: 10px; }
.repli > summary { min-height: 52px; padding: 10px 18px; border-radius: 16px; }
.repli[open] > summary { border-bottom: 1px solid var(--ligne); border-radius: 16px 16px 0 0; }
.repli .acc-titre b { font-size: 16px; }
.repli-corps { padding: 16px 18px 18px; }
.repli-corps .cat-bloc:last-child { margin-bottom: 0; }

/* Aujourd'hui : une action par carte */
.actions-jour { display: flex; flex-direction: column; gap: 12px; }
.action-carte { display: flex; align-items: center; gap: 12px; background: var(--carte); border-radius: 18px; padding: 14px 18px 14px 8px; box-shadow: var(--ombre); border: 1.5px solid transparent; }
.action-carte.urgent { border-color: var(--or); }
.ac-coche { flex: none; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; cursor: pointer; border-radius: 12px; }
.ac-coche:hover { background: var(--doux); }
.ac-coche input { width: 22px; height: 22px; margin: 0; accent-color: var(--bx2); cursor: pointer; }
.ac-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.ac-quand { font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--or-texte); }
.ac-txt b { font-weight: 600; font-size: 16px; line-height: 1.35; }
.ac-txt small { color: var(--encre2); font-size: 14px; }
.ac-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 5px; }
.action-carte > .btn { flex: none; }
.action-carte.fait { background: var(--fond); box-shadow: none; border-color: var(--ligne); }
.action-carte.fait .ac-txt b { text-decoration: line-through; color: var(--encre2); font-weight: 500; }
.action-carte.fait .ac-meta, .action-carte.fait .ac-txt small { opacity: .7; }

/* Statuts d'un post, façon Notion : à créer (gris), en cours (doré clair), créé (vert clair), publié (vert sapin plein) */
.statut { display: inline-flex; align-items: center; gap: 6px; border: 0; border-radius: 999px; padding: 4px 11px; font: inherit; font-size: 12.5px; font-weight: 500; line-height: 1.4; white-space: nowrap; }
.statut::before { content: ''; flex: none; width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .75; }
.statut.a-creer { background: var(--surface); color: var(--bx); }
.statut.en-cours { background: #E8F2EC; color: var(--or-texte); }
.statut.cree { background: #D8EAE3; color: var(--bx2); }
.statut.publie { background: var(--bx2); color: #fff; }
button.statut { cursor: pointer; min-height: 34px; padding: 6px 12px; }
button.statut:focus-visible { outline: 2px solid var(--bx2); outline-offset: 2px; }
.statut .chevron { width: 6px; height: 6px; border-width: 0 1.5px 1.5px 0; border-color: currentColor; margin-left: 2px; }
.statut-menu { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 0 2px; margin-top: 2px; border-top: 1px solid var(--ligne); }
.statut-menu .statut { min-height: 40px; padding: 8px 14px; font-size: 14px; }
.statut-menu .statut.on { box-shadow: 0 0 0 2px var(--carte), 0 0 0 4px var(--bx2); }

/* Planning : la semaine, ses flèches, ses posts */
.semaine-nav { display: flex; align-items: center; gap: 10px; margin: 4px 0 10px; }
.sn-titre { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.sn-titre h2 { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 10px; }
.sn-titre small { color: var(--encre2); font-size: 14px; }
.sn-fleche { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(27,33,31,.16); background: var(--carte); color: var(--bx2); font-size: 22px; line-height: 1; cursor: pointer; }
.sn-fleche:hover:not(:disabled) { border-color: var(--bx2); }
.sn-fleche:disabled { opacity: .35; cursor: default; }
.sn-compte { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; margin-bottom: 18px; }
.plan-post .pp-txt { flex: 1 1 0; min-width: 160px; }
.plan-post.menu-ouvert { flex-wrap: wrap; }
.plan-post.st-publie .pp-txt b { color: var(--encre2); }
.pp-jour { flex: none; width: 92px; min-height: 44px; display: flex; flex-direction: column; justify-content: center; border: 0; background: transparent; border-radius: 10px; padding: 4px 6px; margin-left: -6px; text-align: left; font: inherit; font-size: 14px; font-weight: 500; color: var(--bx); cursor: pointer; }
.pp-jour:hover { background: var(--doux); }
.pp-jour .pp-date { color: var(--encre2); font-size: 12.5px; font-weight: 400; }
.pp-fin { flex: none; display: flex; align-items: center; gap: 8px; }
.pp-astuce { margin: 10px 0 0; font-size: 13px; color: var(--encre2); }

@media (max-width: 640px) {
  .accordeon > summary { padding: 12px 16px; }
  .acc-corps { padding: 16px 16px 20px; }
  .acc-titre b { font-size: 17px; }
  .action-carte { flex-wrap: wrap; align-items: flex-start; gap: 6px 8px; padding: 12px 14px 14px 4px; }
  .action-carte .ac-txt { flex: 1 1 calc(100% - 60px); }
  .action-carte > .btn { margin-left: 52px; }
  .plan-post { gap: 6px 10px; }
  .pp-jour { order: 1; width: auto; flex-direction: row; align-items: baseline; gap: 8px; }
  .plan-post .tag-format { order: 2; }
  .plan-post .pp-txt { order: 3; flex-basis: 100%; }
  .pp-fin { order: 4; width: 100%; justify-content: space-between; }
  .statut-menu { order: 5; }
  .statut-menu .statut { flex: 1 1 calc(50% - 8px); justify-content: center; min-height: 44px; }
  button.statut-choix { min-height: 40px; padding: 6px 14px; font-size: 13.5px; }
  .repli > summary { padding: 10px 14px; }
  .repli-corps { padding: 14px 14px 16px; }
  .sn-titre h2 { font-size: 19px; }
}
/* Ma to do list a sa propre pastille dans Organiser (28/09) : ni recherche, ni dossiers, ni corbeille des notes. */
.notes.todo .notes-tete, .notes.todo .notes-dossiers, .notes.todo .corbeille-lien, .notes.todo .n-dossier-actions { display: none; }
.entete-sous { margin: 6px 0 0; color: var(--encre2); }
/* Pas encore d'identité (28/09) : le sélecteur invite à la créer au lieu de faire croire qu'elle existe. */
.id-switch.id-vide { background: var(--carte); border: 1.5px dashed var(--or); color: var(--bx); text-decoration: none; }
.id-switch.id-vide:hover { background: var(--ok-fond); }
.id-switch.id-vide b { color: var(--bx); }
.id-switch.id-vide .id-plus { background: var(--ok-fond); color: var(--or-texte); }
/* ---------- Mon compte (28/09) : Profil au crayon, Abonnement, API = pilotage ---------- */
.compte-zone { max-width: 760px; }
.pf-tete { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pf-crayon { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--ligne); background: var(--carte); color: var(--bx2); display: grid; place-items: center; cursor: pointer; }
.pf-crayon:hover { background: var(--doux); }
.pf-ident { display: flex; align-items: center; gap: 16px; margin-top: 16px; }
.pf-ident b { font-weight: 600; font-size: 18px; }
.pf-avatar { position: relative; flex: none; width: 76px; height: 76px; border-radius: 50%; overflow: hidden; background: var(--surface); display: grid; place-items: center; }
.pf-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pf-avatar .avatar-vide { font-size: 28px; font-weight: 600; color: var(--bx2); }
.pf-avatar-edit { cursor: pointer; overflow: visible; }
.pf-avatar-edit > span:first-child { width: 100%; height: 100%; border-radius: 50%; overflow: hidden; display: grid; place-items: center; }
.pf-avatar-plus { position: absolute; right: -2px; bottom: -2px; width: 26px; height: 26px; border-radius: 50%; background: var(--bx2); color: #fff; display: grid; place-items: center; font-size: 13px; box-shadow: 0 0 0 3px var(--carte); }
.pf-ligne { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--ligne); font-size: 15px; }
.pf-ligne span { color: var(--encre2); } .pf-ligne b { font-weight: 500; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.pf-mdp { margin-top: 14px; padding: 16px; border-radius: 16px; background: var(--fond); border: 1px solid var(--ligne); display: grid; gap: 4px; }
.pf-mdp-titre { font-weight: 600; font-size: 15.5px; color: var(--bx); margin-bottom: 6px; }
.pf-ligne .btn { flex: none; }
.pf-upgrade { margin-top: 18px; display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; align-items: center; padding: 18px; border-radius: 18px; background: var(--bx2); color: #fff; }
.pf-up-txt small { display: block; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--or2); font-weight: 600; } /* 21/10 : 14 px minimum */
.pf-up-txt b { display: block; font-size: 18px; font-weight: 600; margin-top: 2px; }
.pf-up-txt span { display: block; font-size: 14px; color: rgba(255,255,255,.78); margin-top: 3px; }
.pf-up-prix { font-size: 26px; font-weight: 600; } .pf-up-prix small { font-size: 14px; font-weight: 500; opacity: .75; }
.pf-upgrade .btn { grid-column: 1 / -1; justify-content: center; background: var(--or); color: var(--bx3); }
.api-liste { display: grid; gap: 10px; margin-top: 14px; }
.api-cle { border: 1px solid var(--ligne); border-radius: 16px; padding: 14px 16px; background: var(--carte); }
.api-tete { display: flex; align-items: center; gap: 12px; }
.api-point { flex: none; width: 10px; height: 10px; border-radius: 50%; background: #D9CFC0; }
.api-cle.ok .api-point { background: var(--bx2); box-shadow: 0 0 0 4px rgba(31,91,82,.14); }
.api-nom { flex: 1; min-width: 0; } .api-nom b { font-weight: 600; font-size: 15.5px; display: block; }
.api-nom small { display: block; color: var(--encre2); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.api-actions { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 8px 0 0 22px; }
.api-saisie { margin-top: 10px; }
.api-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 10px 0 16px; }
.api-kpis > div { background: var(--fond); border: 1px solid var(--ligne); border-radius: 14px; padding: 12px 14px; }
.api-kpis small { display: block; font-size: 12.5px; color: var(--encre2); }
.api-kpis b { display: block; font-size: 20px; font-weight: 600; color: var(--bx2); margin-top: 2px; }
.inst-cles { display: grid; gap: 8px; margin-top: 10px; }
.menu-lien.sortir, .rail-sortir { color: var(--encre2); }
button.menu-lien.sortir { border: 0; background: none; font: inherit; width: 100%; text-align: left; cursor: pointer; }
.rail-sortir { cursor: pointer; font: inherit; font-size: 15px; font-weight: 500; display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px 12px; border: 0; border-radius: 14px; background: none; text-align: left; } /* 21/10 : sous Mon compte, comme dans le menu du téléphone ; mêmes retraits que « Mon compte » (12 + 24 + 12) */
.rail-sortir .ico { width: 24px; display: inline-flex; justify-content: center; flex: none; } .rail-sortir .ico svg { width: 20px; height: 20px; }
.rail-sortir:hover { background: var(--doux); color: var(--bx); }
@media (max-width: 900px) { .rail-sortir { justify-content: center; padding: 6px 0; } .rail-sortir > span:not(.ico) { display: none; } }
.rail-sortir[hidden], .menu-lien.sortir[hidden] { display: none; }
.pf-ident [hidden], .api-cle [hidden] { display: none; }
.pf-mdp input[type=password] { width: 100%; border: 1px solid var(--ligne); border-radius: 12px; padding: 12px 14px; font: inherit; font-size: 16px; background: var(--carte); color: var(--bx); }
.api-saisie { display: flex; gap: 8px; } .api-saisie input { flex: 1; min-width: 0; border: 1px solid var(--ligne); border-radius: 12px; padding: 10px 12px; font: inherit; font-size: 15px; background: var(--carte); color: var(--bx); }
.api-actions .btn.lien { padding-left: 0; padding-right: 0; }

/* La déconnexion vit dans le hamburger sur téléphone, jamais dans la barre du bas (28/09). */
@media (max-width: 640px) { .rail-sortir { display: none !important; } }

/* Les formules (28/09) : la fenêtre « passe à la formule du dessus », l'encadré réservé, les cartes des 3 formules. */
.fm-voile { position: fixed; inset: 0; z-index: 140; background: rgba(21,63,57,.42); display: flex; align-items: center; justify-content: center; padding: 16px; }
.fm-boite { position: relative; width: min(440px, 100%); max-height: calc(100dvh - 32px); overflow: auto; background: var(--carte); color: var(--bx); border-radius: 22px; padding: 26px 24px 22px; box-shadow: 0 2px 6px rgba(27,33,31,.08), 0 30px 70px -24px rgba(21,63,57,.45); }
.fm-x { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--doux); color: var(--bx); font-size: 14px; }
.fm-sur { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--or-texte); font-weight: 600; margin-bottom: 6px; }
.fm-boite h3 { font-size: 21px; padding-right: 30px; }
.fm-texte { font-size: 15.5px; color: var(--encre2); margin-top: 8px; line-height: 1.5; }
.fm-offre { margin-top: 16px; border-radius: 16px; background: var(--bx2); color: #fff; padding: 16px 18px; }
.fm-offre-tete { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.fm-offre-tete b { font-weight: 600; font-size: 17px; }
.fm-prix { font-family: var(--tight); font-weight: 600; font-size: 24px; } .fm-prix small { font-size: 13px; font-weight: 500; opacity: .75; }
.fm-offre ul, .plan-atouts { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.fm-offre li, .plan-atouts li { position: relative; padding-left: 22px; font-size: 14.5px; line-height: 1.4; }
.fm-offre li { color: rgba(255,255,255,.88); }
.fm-offre li::before, .plan-atouts li::before { content: ""; position: absolute; left: 0; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--or) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-4.9' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat; }
.fm-offre li, .plan-atouts li { padding-left: 26px; }
.fm-actions { display: flex; flex-direction: column; align-items: stretch; gap: 6px; margin-top: 18px; }
.fm-actions .btn { justify-content: center; }
.fm-encadre { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; border: 1.5px dashed var(--or); background: var(--ok-fond); border-radius: 16px; padding: 14px 16px; margin: 0 0 18px; }
.fm-encadre p { flex: 1; min-width: 200px; font-size: 15px; color: var(--bx); }
.fm-cadenas { font-size: 18px; }
/* L'écran de verrou de la stratégie (17/10, formule.js › ecranVerrouStrategie) : charte verte, cadenas trait fin, deux lignes, le bouton doré de l'app et « Plus tard ». */
.fm-verrou { max-width: 560px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 40px 28px; }
.fm-verrou-ico { width: 56px; height: 56px; border-radius: 50%; background: var(--doux); color: var(--or); display: grid; place-items: center; margin-bottom: 6px; }
.fm-verrou h2 { font-size: 22px; font-weight: 600; color: var(--bx); line-height: 1.25; margin: 0; }
.fm-verrou p { font-size: 15.5px; line-height: 1.5; color: var(--encre2); max-width: 440px; margin: 0; }
.fm-verrou-actions { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-top: 12px; width: 100%; }
.fm-verrou-actions .btn { justify-content: center; min-width: 220px; }
.fm-verrou-actions .btn.lien { font-size: 14.5px; }
.carte h3:has(.carte-verrou) { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; } /* 21/10 (Lisa) : juste un cadenas trait fin à droite du titre, plus de pastille */
.carte-verrou { flex: none; display: inline-flex; color: var(--or); margin-top: 2px; }
/* Décliner en un clic (decliner.js) : les formats à cocher, chacun avec sa silhouette */
.dc-cibles { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.dc-cible { display: flex; align-items: center; gap: 14px; text-align: left; border: 1.5px solid rgba(23,70,63,.16); background: #fff; color: var(--bx); border-radius: 16px; padding: 12px 14px; font: inherit; cursor: pointer; }
.dc-cible b { display: block; font-weight: 600; font-size: 16px; } .dc-cible small { display: block; font-size: 14px; color: var(--encre2); margin-top: 2px; }
.dc-cible.on { border-color: var(--bx2); background: var(--ok-fond); box-shadow: inset 0 0 0 1px var(--bx2); }
.dc-forme { flex: none; width: 30px; aspect-ratio: 4/5; border-radius: 5px; border: 2px solid currentColor; opacity: .55; } .dc-forme.stories { width: 24px; aspect-ratio: 9/16; }
.dc-cible.on .dc-forme { opacity: 1; background: var(--or); border-color: var(--or); }
.drop-carte.reserve .drop-vis img, .drop-carte.reserve .drop-vis .vig-fond { filter: saturate(.6) brightness(.92); }
.plans.trois, .plans.formules { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.plan-carte.populaire { border-color: var(--bx2); box-shadow: 0 0 0 2px rgba(31,91,82,.18); position: relative; }
.plans.trois, .plans.formules { padding-top: 6px; }
/* 15/10 : deux formules ; une carte qui porte un badge (offres.js) fait de la place au-dessus du nom. */
.plan-carte.avec-badge { position: relative; padding-top: 24px; }
/* Mon compte › Abonnement (15/10) : les intertitres du bloc Stripe à 14 px, comme dans les pages (.editeur.page .section). */
#c-stripe .section { font-size: 14px; letter-spacing: .04em; }
.plan-badge { position: absolute; top: -12px; left: 16px; background: var(--or); color: var(--bx3); border-radius: 999px; padding: 2px 10px; font-size: 14px; font-weight: 600; letter-spacing: .02em; }
.plan-carte .plan-atouts { flex: 1; margin: 4px 0 6px; }
.plan-carte .plan-atouts li { color: var(--bx); }
.plan-carte p.plan-sous { flex: 0; }
.pf-up-txt .pf-up-atouts { display: block; }
@media (max-width: 640px) { .fm-voile { align-items: flex-end; padding: 0; } .fm-boite { width: 100%; border-radius: 22px 22px 0 0; padding-bottom: calc(22px + env(safe-area-inset-bottom)); } }

/* Le parrainage (public/parrainage.js) : 3 filleuls abonnés = abonnement offert. */
.par { background: var(--fond); border-radius: 16px; padding: 18px 20px; margin-top: 16px; }
.par-tete { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.par-regle { font-size: 15px; color: var(--bx); margin-bottom: 14px; }
.par-lien { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.par-lien input { flex: 1 1 220px; min-width: 0; font-size: 14.5px; padding: 10px 14px; border: 1px solid rgba(27,33,31,.18); border-radius: 12px; background: var(--carte); color: var(--bx); }
.par-boutons { display: flex; gap: 8px; }
.par-progres { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.par-progres b { font-weight: 600; font-size: 15.5px; }
.par-progres span { font-size: 15px; color: var(--encre2); }
.par-pastilles { display: flex; gap: 8px; }
.par-pastilles i { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--bx2); background: transparent; }
.par-pastilles i.on { background: var(--bx2); }
.par-offert .par-pastilles i.on { background: var(--or); border-color: var(--or); }
.par-offert .par-progres span { color: var(--or-texte); font-weight: 600; }
.par-detail { font-size: 14px; color: var(--encre2); margin-top: 6px; }
.par-liste { list-style: none; padding: 0; margin: 14px 0 0; border-top: 1px solid var(--ligne); }
.par-liste li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--ligne); font-size: 15px; }
.par-nom { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.par-note { font-size: 14px; color: var(--encre2); margin-top: 14px; }
.par-note b { font-weight: 600; color: var(--bx); letter-spacing: .04em; }
@media (max-width: 560px) {
  .par { padding: 16px; }
  .par-boutons { width: 100%; }
  .par-boutons .btn { flex: 1; justify-content: center; }
}

/* L'historique des versions (public/historique.js, 28/09) : le panneau latéral, la liste, l'aperçu de la première slide. */
.hv-btn { padding: 8px 10px; } .hv-icone { flex: none; vertical-align: -3px; }
.hv-lien { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; }
.hv-voile { position: fixed; inset: 0; z-index: 130; background: rgba(21,63,57,.28); display: flex; justify-content: flex-end; }
.hv-panneau { width: min(400px, 100%); height: 100%; height: 100dvh; overflow: auto; overscroll-behavior: contain; background: var(--carte); color: var(--bx); padding: 22px 22px calc(22px + env(safe-area-inset-bottom)); box-shadow: -10px 0 40px rgba(27,33,31,.14); display: flex; flex-direction: column; gap: 14px; }
.hv-tete { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.hv-tete h3 { font-size: 18px; display: flex; align-items: center; gap: 8px; }
.hv-x { width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--doux); color: var(--bx); font-size: 14px; flex: none; }
.hv-sous { font-size: 14px; color: var(--encre2); line-height: 1.45; }
.hv-apercu { width: min(220px, 70%); align-self: center; }
.hv-apercu .vignette { cursor: default; }
.hv-apercu .hv-vide { text-align: center; padding: 26px 8px; }
.hv-actions:empty { display: none; }
.hv-actions > .btn { width: 100%; justify-content: center; }
.hv-confirme { font-size: 14.5px; line-height: 1.45; margin-bottom: 10px; }
.hv-boutons { display: flex; gap: 8px; } .hv-boutons .btn { flex: 1; justify-content: center; }
.hv-liste { display: flex; flex-direction: column; gap: 4px; border-top: 1px solid var(--ligne); padding-top: 12px; }
.hv-item { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; width: 100%; text-align: left; border: 1px solid transparent; background: transparent; color: var(--bx); border-radius: 12px; padding: 10px 12px; }
.hv-item:hover { background: var(--doux); }
.hv-item.on { background: var(--ok-fond); border-color: var(--or); }
.hv-quand { font-weight: 600; font-size: 15px; }
.hv-detail { font-size: 13.5px; color: var(--encre2); white-space: nowrap; }
.hv-vide { font-size: 14px; color: var(--encre2); }
.hv-annonce { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 135; background: var(--bx2); color: #fff; border-radius: 999px; padding: 10px 18px; font-size: 14.5px; font-weight: 500; box-shadow: var(--ombre); max-width: calc(100% - 32px); text-align: center; }
@media (max-width: 640px) { .hv-voile { align-items: flex-end; } .hv-panneau { width: 100%; height: auto; max-height: 88dvh; border-radius: 22px 22px 0 0; } }

/* Publier sur Instagram (28/09) : la fenêtre (aperçu, légende, maintenant ou programmé) et les lignes du planning. */
.pub-boite { width: min(540px, 100%); }
.pub-boite .choix { margin-top: 14px; }
.pub-boite .champ { margin: 16px 0 0; }
.pub-boite .champ input[type=datetime-local] { width: 100%; border: 1px solid rgba(27,33,31,.18); border-radius: 14px; padding: 11px 14px; background: #fff; margin-top: 10px; }
.pub-boite .champ small.indice { display: block; margin-top: 6px; font-size: 13.5px; }
.pub-boite #pub-msg .erreur, .pub-boite #pubm-msg .erreur { margin: 14px 0 0; }
.pub-apercu { display: flex; gap: 8px; overflow-x: auto; margin-top: 14px; padding-bottom: 4px; }
.pub-apercu img { height: 132px; width: auto; border-radius: 10px; flex: none; box-shadow: 0 1px 3px rgba(27,33,31,.12); background: var(--surface); }
.pub-apercu.story img { height: 168px; }
.pub-plus { align-self: center; font-weight: 600; color: var(--encre2); padding: 0 6px; }
.pub-quoi { margin-top: 8px; font-size: 14px; }
.statut.echec { background: #F5E0DB; color: #8E3326; }
.plan-post .pub-erreur { color: #8E3326; }
.plan-post .pub-erreur a { color: var(--bx2); }
.pub-ligne .pp-fin { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 640px) { .pub-boite { width: 100%; } .pub-apercu img { height: 110px; } .pub-apercu.story img { height: 140px; } }

/* ---------- Refaire une vidéo (public/trend.js, 28/09) : dépôt, vignettes des plans, recette, lots d'images et de vidéos ---------- */
.carte:hover .vv-tr-p, .carte.joue .vv-tr-p { animation: vv-tr-pop .7s cubic-bezier(.3,1.4,.5,1) both; }
.carte:hover .vv-tr-p.p2, .carte.joue .vv-tr-p.p2 { animation-delay: .18s; } .carte:hover .vv-tr-p.p3, .carte.joue .vv-tr-p.p3 { animation-delay: .36s; }
.carte:hover .vv-tr-fleche, .carte.joue .vv-tr-fleche { transform: translateX(3px); }
@keyframes vv-tr-pop { 0% { opacity: 0; transform: translateX(-12px) scale(.7); } 100% { opacity: 1; transform: none; } }
.tr-parcours b, .tr-parcours strong { font-weight: 600; } /* jamais plus gras que 600 (un <b> nu vaut 700) */
.tr-depot { min-height: 120px; }
.tr-depot.sur { border-color: var(--bx2); background: var(--doux); }
.tr-barre { margin-top: 10px; }
.tr-aide { margin: 18px 0 6px; }
.tr-aide p, .tr-aide li { font-size: 14.5px; line-height: 1.5; color: var(--bx); }
.tr-aide p { margin: 0 0 10px; } .tr-aide ul { margin: 0 0 12px; padding-left: 20px; } .tr-aide li { margin-bottom: 4px; }
.tr-vignettes { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 10px; }
.tr-vig { display: flex; flex-direction: column; gap: 4px; }
.tr-vig img { width: 100%; aspect-ratio: 9/16; object-fit: cover; border-radius: 10px; background: var(--surface); display: block; }
.tr-vig small { font-size: 12.5px; color: var(--encre2); }
.tr-fusion { border: 0; background: transparent; color: var(--bx2); font-size: 12.5px; padding: 0; text-align: left; }
.tr-anciens { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.tr-ancien { display: flex; gap: 10px; align-items: center; border: 1px solid var(--ligne); background: var(--carte); border-radius: 14px; padding: 8px; text-align: left; color: var(--bx); }
.tr-ancien:hover { background: var(--doux); }
.tr-ancien img, .tr-ancien-vide { width: 44px; height: 60px; object-fit: cover; border-radius: 8px; flex: none; background: var(--surface); display: flex; align-items: center; justify-content: center; color: var(--encre2); }
.tr-ancien span { display: grid; gap: 2px; min-width: 0; } .tr-ancien b { font-weight: 600; font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .tr-ancien small { font-size: 13px; color: var(--encre2); }
.tr-court { min-height: 64px !important; }
.tr-infos { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: 4px 0 8px; }
.tr-infos > div { background: var(--fond); border-radius: 14px; padding: 12px 14px; }
.tr-infos b { font-weight: 600; font-size: 14.5px; } .tr-infos p, .tr-infos li { font-size: 14px; color: var(--encre2); margin-top: 4px; } .tr-infos ul { margin: 4px 0 0; padding-left: 18px; }
.tr-plans { display: flex; flex-direction: column; gap: 12px; }
.tr-plan { display: grid; grid-template-columns: 96px 1fr; gap: 14px; border: 1px solid var(--ligne); border-radius: 16px; padding: 12px; background: var(--carte); }
.tr-plan-vue { display: flex; flex-direction: column; gap: 4px; }
.tr-plan-vue img { width: 100%; aspect-ratio: 9/16; object-fit: cover; border-radius: 10px; background: var(--surface); }
.tr-plan-vue small { font-size: 12.5px; color: var(--encre2); }
.tr-plan-champs { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.tr-plan-champs label { display: grid; gap: 4px; font-size: 13px; color: var(--encre2); min-width: 0; }
.tr-plan-champs input[type=text], .tr-plan-champs input[type=number], .tr-plan-champs textarea { width: 100%; min-width: 0; border: 1px solid rgba(27,33,31,.18); border-radius: 10px; padding: 8px 10px; background: #fff; font-size: 14.5px; }
.tr-plan-champs textarea { resize: vertical; min-height: 54px; }
.tr-deux { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-items: end; }
.tr-duree input { max-width: 110px; }
.tr-coche { display: flex !important; align-items: center; gap: 6px; font-size: 14px !important; color: var(--bx) !important; }
.tr-refaire { display: flex; gap: 8px; align-items: center; }
.tr-refaire input { flex: 1; }
.tr-lot { margin-top: 6px; background: var(--fond); border-radius: 14px; padding: 12px 14px; font-size: 14.5px; }
.tr-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-top: 18px; }
.tr-carte { border-radius: 14px; overflow: hidden; background: var(--carte); box-shadow: var(--ombre); display: flex; flex-direction: column; }
.tr-carte.ecarte { opacity: .45; }
.tr-carte-vue { position: relative; aspect-ratio: 9/16; background: var(--surface); }
.tr-carte-vue img, .tr-carte-vue video { width: 100%; height: 100%; object-fit: cover; display: block; }
.tr-carte-vue .attente { height: 100%; justify-content: center; padding: 0; }
.tr-fantome { opacity: .35; filter: grayscale(.6); }
.tr-num { position: absolute; top: 8px; left: 8px; background: rgba(255,255,255,.92); color: var(--bx); border-radius: 999px; font-size: 12px; font-weight: 600; padding: 3px 8px; }
.tr-tag { position: absolute; top: 8px; right: 8px; background: var(--bx2); color: #fff; border-radius: 999px; font-size: 11.5px; font-weight: 500; padding: 3px 8px; }
.tr-tag.or { top: auto; bottom: 8px; left: 8px; right: 8px; text-align: center; background: var(--or); color: var(--bx); }
.tr-voile { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(250,248,244,.55); }
.tr-voile .rond { width: 22px; height: 22px; border: 2px solid var(--surface); border-top-color: var(--bx); border-radius: 50%; animation: tourne .9s linear infinite; }
.tr-carte-bas { padding: 8px 10px 10px; display: flex; flex-direction: column; gap: 6px; }
.tr-carte-bas small { font-size: 12.5px; color: var(--encre2); }
.tr-carte-actions { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.tr-carte-actions .btn.petit { padding: 6px 10px; font-size: 13px; }
.tr-err { font-size: 13px; color: #8E3326; line-height: 1.4; }
.tr-err a { color: var(--bx2); }
@media (max-width: 640px) {
  .tr-plan { grid-template-columns: 72px 1fr; gap: 10px; padding: 10px; }
  .tr-deux { grid-template-columns: 1fr; }
  .tr-refaire { flex-direction: column; align-items: stretch; }
  .tr-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Bienvenue : les 4 étapes de la première identité (mêmes que Mon identité) */
.bv-etapes { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.bv-etapes span { padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid rgba(23,70,63,.14); font-size: 14px; font-weight: 500; color: #6F7672; }
.bv-etapes span.on { background: #1F5B52; border-color: #1F5B52; color: #fff; font-weight: 600; }
.bv-etapes span.fait { color: #1F5B52; border-color: rgba(31,91,82,.35); }
.bv-nav { margin-top: 14px; }

/* ───────── La prise en main (28/09) : 3 cartes numérotées, les tutos des clés, les sections de Mon identité ───────── */
.pem-progres { display: flex; align-items: center; gap: 12px; margin: -8px 0 22px; }
.pem-progres .att-barre { flex: 1; margin: 0; }
.pem-progres span { font-size: 14px; color: var(--encre2); white-space: nowrap; }
.pem-msg { margin-bottom: 22px; }
.pem-etape { margin-bottom: 14px; }
.pem-num { flex: none; width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--surface); color: var(--bx); font-family: var(--tight); font-weight: 600; font-size: 15px; }
.pem-etape.ok .pem-num { background: var(--or); color: var(--bx); }
.pem-etape .pem-etat, .pem-cle .etat, .pem-section .etat { flex: none; }
.pem-cles, .pem-sections { display: grid; gap: 10px; }
.acc-corps .repli { box-shadow: none; border: 1px solid var(--ligne); margin: 0; }
.pem-tuto > li { margin-bottom: 16px; }
.pem-tuto a { color: var(--bx2); font-weight: 500; }
.pem-sous { margin: 8px 0 8px; }
.pem-sous li { margin-bottom: 6px; }
.pem-champs { margin: 8px 0 0; padding-left: 20px; }
.pem-champs li { margin-bottom: 4px; }
.pem-captures { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin: 10px 0 4px; }
.pem-capture { display: block; max-width: 100%; padding: 0; border: 1px solid var(--ligne); border-radius: 12px; background: var(--carte); overflow: hidden; cursor: zoom-in; }
.pem-capture img { display: block; max-width: 100%; height: auto; }
.pem-cle-pied { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; border-top: 1px solid var(--ligne); padding-top: 14px; margin-top: 4px; }
.pem-cle-pied [hidden] { display: none; }
.pem-case { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: 15.5px; cursor: pointer; }
.pem-case input { width: 20px; height: 20px; accent-color: var(--bx2); margin: 0; }
.pem-section-corps.panneau { box-shadow: none; border-radius: 0 0 16px 16px; }
.pem-passer { margin-top: 14px; }
.pem-passer .btn[hidden] { display: none; }
.pem-reste { margin: 4px 0 22px; }
.pem-bravo { margin-top: 8px; }
/* Les espaces verrouillés : visibles, un peu effacés, un petit cadenas doré sur l'icône. */
.espace .ico { position: relative; }
.espace.verrou { color: var(--encre2); }
.espace .ico .cadenas, .rail .espace[href] .ico svg.cadenas { position: absolute; right: -7px; bottom: -5px; width: 15px; height: 15px; padding: 2px; border-radius: 50%; background: var(--carte); color: var(--or); box-shadow: 0 1px 3px rgba(27,33,31,.14); }
.menu-lien .cadenas { margin-left: 6px; vertical-align: -1px; color: var(--or); }
/* 21/10 soir (Lisa) : TOUS les cadenas de verrou de l'app (rail, barre et menu du téléphone, vignettes de Ma stratégie, Mes logiciels, cartes des comptes logiciels seuls, écrans de formule,
   veille, photothèque) sont DORÉS, en trait fin, même icône : une seule règle pour la couleur et le trait, les règles de chaque endroit ne gardent que la place. */
svg.cadenas, .carte-verrou, .carte-verrou svg, .ml-cadenas, .fm-verrou-ico, .fm-verrou-ico svg, .vl-verrou svg, .vig-cadenas, .vig-cadenas svg, .espace .ico .cadenas, .rail .espace[href] .ico svg.cadenas, .menu-lien .cadenas { color: var(--or); stroke-width: 1.4; }
@media (max-width: 640px) {
  .pem-etape > summary { padding: 12px 14px; gap: 10px; }
  .pem-num { width: 30px; height: 30px; font-size: 14px; }
}

/* Prise en main (29/09) : menus déroulants sur fond vert, étapes verrouillées, tutos en carrousel, bouton Ouvrir */
.pem-vert > summary { background: #1F5B52; color: #fff; border-radius: 16px; }
.pem-vert[open] > summary { border-radius: 16px 16px 0 0; border-bottom-color: transparent; }
.pem-vert > summary .acc-titre b, .pem-vert > summary .acc-titre small { color: #fff; }
.pem-vert > summary .acc-titre small { opacity: .8; }
.pem-vert > summary .chevron { border-color: #fff; }
.pem-vert > summary .etat { background: rgba(255,255,255,.16); color: #fff; border-color: transparent; }
.pem-vert > summary .etat.ok { background: #A3CDB9; color: #17463F; }
.acc-corps .repli.pem-vert { border: 0; }
.pem-etape.verrou > summary { cursor: not-allowed; opacity: .55; }
.pem-etape.verrou > summary .chevron { visibility: hidden; }
.pem-carrousel { text-align: center; }
.pem-slide-num { font-size: 12.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--or-texte); margin-bottom: 10px; }
.pem-slide-txt { font-size: 16px; line-height: 1.55; max-width: 560px; margin: 0 auto; }
.pem-slide-txt .pas, .pem-slide-txt .pem-champs { text-align: left; display: inline-block; }
.pem-carrousel .pem-captures { align-items: center; margin: 16px auto 6px; }
.pem-slide-act { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 16px; }
.pem-points { display: flex; justify-content: center; gap: 6px; margin-top: 14px; }
.pem-points i { width: 7px; height: 7px; border-radius: 50%; background: var(--ligne); }
.pem-points i.on { background: #1F5B52; }
.pem-ouvrir { justify-content: center; margin: 22px 0 8px; }
.pem-ouvrir .btn { min-width: 240px; justify-content: center; }
.pem-ouvrir .btn:disabled { background: #D9DDDB; color: #6F7672; border-color: #D9DDDB; cursor: not-allowed; opacity: 1; }
.pem-ouvrir [hidden], .pem-slide[hidden] { display: none; }
.pem-carrousel .pem-capture img { max-height: 380px; width: auto; }
.pem-carrousel .pem-capture { margin: 0 auto; }
/* Les listes dans un écran de tuto : un bloc centré, le texte aligné à gauche (plus de liste collée au texte sur ordi) */
.pem-slide-txt .pas, .pem-slide-txt .pem-champs { display: block; width: fit-content; max-width: 100%; margin: 10px auto 0; text-align: left; }
/* Étape 2 sur téléphone : les clés connectées ne débordent plus */
.api-tete { min-width: 0; }
.api-tete .etat { flex: none; }
@media (max-width: 640px) {
  .api-cle { padding: 12px; }
  .api-actions { margin-left: 0; }
  .api-nom small { white-space: normal; overflow-wrap: anywhere; }
  .acc-corps .api-cle .c-ligne { flex-wrap: wrap; }
  .acc-corps .api-cle .c-ligne input { min-width: 0; flex: 1 1 100%; }
}

/* Mon identité › Couleur › « Je les connais » (29/09) : 2 cartes par ligne sur ordi, 1 sur téléphone,
   pastille à gauche, le nom et le rôle au milieu sans couper les mots, le code à droite. */
.couleurs { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.couleur { padding: 14px 16px; gap: 14px; align-items: center; }
.couleur > div { flex: 1; min-width: 0; }
.couleur b { font-size: 15.5px; line-height: 1.3; margin-bottom: 2px; }
.couleur small { display: block; font-size: 14px; line-height: 1.4; }
.couleur code { flex: none; white-space: nowrap; font-size: 13px; }
.couleur input[type=color] { flex: none; }
.at-droite .couleurs { grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .couleurs { grid-template-columns: 1fr; } }
/* Prise en main › Crée ton identité : le titre et le sous-titre sont déjà dans l'en-tête vert, pas de doublon dans le corps. */
.pem-section-corps > h2, .pem-section-corps > h2 + .aide { display: none; }

/* ---------- Rail du 29/09 : « Créer » en doré (ordinateur et tablette ; au téléphone, le gros bouton central ne change pas) ---------- */
@media (min-width: 641px) {
  .rail .espace.espace-creer { color: var(--or); font-weight: 600; background: var(--ok-fond); } /* « Accueil » (30/09) : le fond doré clair reste affiché, pas seulement au survol */
  .rail .espace.espace-creer:hover { background: var(--ok-fond); }
  .rail .espace.espace-creer.actif, .rail .espace.espace-creer:active { background: var(--or); color: var(--bx); }
  /* 08/10 (variante C choisie par Lisa, identité gardée en vert) : « Accueil » en doré adouci quand on y est (texte brun lisible) ;
     ailleurs, plus de fond, seulement le texte brun et l'icône dorée. Les autres pages actives restent en vert plein. */
  .rail .espace.espace-creer { background: none; color: #17463F; font-weight: 500; }
  .rail .espace.espace-creer .ico { color: #A3CDB9; }
  .rail .espace.espace-creer:hover { background: rgba(163, 205, 185,.14); }
  .rail .espace.espace-creer.actif, .rail .espace.espace-creer:active { background: #E8F2EC; color: #17463F; font-weight: 600; }
  .rail .espace.espace-creer.actif .ico { color: #1F5B52; }
}

/* ---------- La cloche en haut de page (29/09, sortie du rail) : en haut à droite sur ordinateur, dans la barre du haut au téléphone ---------- */
.scene-wrap { position: relative; }
/* Dans la marge droite de la page (48 px sur ordinateur) : elle ne recouvre jamais le contenu. */
.cloche-haut { position: absolute; top: 10px; right: 6px; z-index: 15; }
.cloche-tel { display: none; }
.cloche-btn { position: relative; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: var(--encre2); display: inline-flex; align-items: center; justify-content: center; }
.cloche-btn:hover { background: var(--doux); color: var(--bx); }
.cloche-btn svg { width: 20px; height: 20px; }
.cloche-btn .cloche-n { position: absolute; top: 3px; right: 2px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 999px; background: var(--or); color: var(--bx); font-size: 10.5px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; line-height: 1; }
.cloche-btn .cloche-n[hidden] { display: none; }
.notifs.en-haut { bottom: auto !important; }
body:has(.editeur.ouvert:not(.en-page)) .cloche-haut { display: none; }
/* Tablette : la marge est trop étroite ; sans « Retour » (accueil, prise en main), le contenu descend sous la cloche. */
@media (min-width: 641px) and (max-width: 900px) { .scene-wrap:has(> .retour-global[style*="none"]) > .scene { padding-top: 50px; } }
@media (max-width: 640px) {
  .cloche-haut { display: none; }
  .cloche-tel { display: block; flex: none; }
  .barre-tel #identite-tel { margin-left: auto; }
  .barre-tel #identite-tel + .cloche-tel { margin-left: 2px; }
}

/* ---------- Photothèque : le panneau d'un prompt en plein écran (29/09) ----------
   L'image à gauche (collée pendant qu'on fait défiler), les réglages et « Générer » à droite. Ordinateur seulement :
   au téléphone, le panneau prend déjà tout l'écran et le bouton disparaît. */
.editeur .tete > div:first-child { min-width: 0; }
.editeur .tete .ph-plein { margin-left: auto; margin-right: 8px; flex: none; display: inline-flex; align-items: center; justify-content: center; color: var(--bx); }
.editeur .tete .ph-plein + .fermer { flex: none; }
@media (min-width: 901px) {
  .editeur.large.plein { width: 100vw; left: 0; padding: 24px 40px; }
  .editeur.large.plein.ouvert:has(> .pan-visuel) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(380px, 460px); column-gap: 40px; align-content: start; }
  .editeur.plein:has(> .pan-visuel) > * { grid-column: 2; }
  .editeur.plein:has(> .pan-visuel) > .tete { grid-column: 1 / -1; }
  /* Sans image (un prompt sans visuel) : une seule colonne, centrée. */
  .editeur.plein:not(:has(> .pan-visuel)) > :not(.tete) { max-width: 640px; margin-left: auto; margin-right: auto; }
  .editeur.plein > .pan-visuel { grid-column: 1; grid-row: 2 / span 40; align-self: start; position: sticky; top: 0; aspect-ratio: auto; max-height: calc(100dvh - 120px); display: flex; align-items: center; justify-content: center; background: var(--surface); }
  .editeur.plein > .pan-visuel img { width: 100%; height: 100%; max-height: calc(100dvh - 120px); object-fit: contain; }
  .editeur.plein .ph-generer-barre { margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; }
}
@media (max-width: 900px) { .editeur .tete .ph-plein { display: none; } }

/* ---------- Plein écran de tous les panneaux de droite (29/09) ----------
   Même bouton que la photothèque (commun.js › pleinEcran) : studio vidéo, fiches membres, historique. Les règles
   .editeur.large.plein ci-dessus valent déjà pour tous les panneaux .editeur ; ici, l'historique. */
.hv-tete .hv-plein { margin-left: auto; width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--doux); color: var(--bx); flex: none; display: inline-flex; align-items: center; justify-content: center; }
@media (min-width: 641px) {
  .hv-panneau.plein { width: 100vw; padding: 24px 40px; }
  .hv-panneau.plein > * { width: 100%; max-width: 760px; margin-left: auto; margin-right: auto; }
  .hv-panneau.plein > .hv-tete { max-width: none; }
  .hv-panneau.plein > .hv-apercu { width: min(320px, 60%); }
}
@media (max-width: 640px) { .hv-tete .hv-plein { display: none; } }

/* ---------- Les icônes des pastilles (29/09) : Décrire, Inspiration, Chercher sur Pinterest ---------- */
.pil-ico { flex: none; width: 18px; height: 18px; vertical-align: -4px; margin-right: 6px; }
.btn .pil-ico { margin-right: 0; }

/* ---------- Les zones de texte qui grandissent (29/09) ----------
   Demande de Lisa : on ne voyait pas ce qu'on avait écrit dans les champs d'une ligne. Les champs où l'on écrit des phrases
   sont des <textarea> : 2 lignes au départ (.court), puis elles suivent le texte (commun.js › ajusterZone) jusqu'à cette
   hauteur, et défilent. Les champs courts (nom, email, lien, clé, nombre) restent sur une ligne. */
:where(textarea:not(.n-texte, .td-texte, [data-fixe])) { max-height: min(55vh, 380px); overflow-y: auto; }
.champ textarea.court, textarea.court { min-height: 0; line-height: 1.45; resize: vertical; }
.c-ligne:has(> textarea) { display: flex; gap: 8px; align-items: flex-end; }
.c-ligne > textarea { flex: 1 1 auto; min-width: 0; width: auto; }
#c-pourquoi { border: 1px solid rgba(27,33,31,.18); border-radius: 12px; padding: 10px 12px; background: #fff; }
.plan-item textarea { border: 0; background: transparent; width: 100%; padding: 4px 0; resize: none; line-height: 1.45; display: block; }
.plan-item textarea:focus { outline: 0; border-bottom: 1px solid var(--bx2); }
.at-droite .plan-item textarea { grid-column: 2; font-size: 14px; }
.vig-dire { align-items: flex-end; }
.vig-dire textarea { flex: 1 1 auto; min-width: 0; border: 1px solid rgba(27,33,31,.18); border-radius: 14px; padding: 7px 12px; font-size: 14px; line-height: 1.4; background: #fff; resize: none; }
.tr-refaire textarea { flex: 1 1 auto; min-width: 0; }
@media (min-width: 641px) { .tr-refaire:has(> textarea) { align-items: flex-end; } }

/* ---------- Mon compte › Abonnement : le bloc de l'abonné Stripe (29/09) ---------- */
.abo-formules { display: flex; flex-direction: column; gap: 10px; }
/* 21/10 : Mon compte › Abonnement, chaque action avec sa ligne « ce qui se passe » */
.abo-ligne { font-size: 14px; color: var(--encre2); margin: 10px 0 0; line-height: 1.5; }
.abo.abo-change { gap: 14px; margin-top: 10px; } .abo.abo-change small { display: block; margin-top: 3px; line-height: 1.45; }
.abo.abo-change .btn { flex: none; }
.pf-upgrade .pf-up-quoi { grid-column: 1 / -1; margin: 0; font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.82); }
.abo-formules .pf-upgrade { margin-top: 0; }
.abo-formules .abo { gap: 14px; }
.abo-formules .btn { flex: none; }
.abo-facture { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--ligne); font-size: 15px; }
.abo-facture > span:first-child { color: var(--encre2); }
.abo-facture b { font-weight: 500; }
.abo-actions { gap: 8px; flex-wrap: wrap; }
@media (max-width: 640px) {
  .abo-facture { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; }
  .abo-facture .etat { justify-self: start; }
  .abo-facture b, .abo-facture a { justify-self: end; }
  .abo-formules .abo, .abo.abo-change { flex-direction: column; align-items: stretch; }
  .abo-formules .btn { justify-content: center; }
}

/* Mon compte › Connecteur API : l'aperçu du compte Instagram relié */
.ig-apercu:empty { display: none; }
.ig-apercu { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--ligne, rgba(23,70,63,.1)); }
.ig-profil { display: flex; align-items: center; gap: 12px; }
.ig-profil b { display: block; font-weight: 600; font-size: 15.5px; }
.ig-profil small { display: block; font-size: 14px; color: var(--encre2); }
.ig-photo { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; }
.ig-grille { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-top: 12px; }
.ig-grille img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; display: block; }
@media (max-width: 600px) { .ig-grille { grid-template-columns: repeat(3, 1fr); } }

/* ---------- 29/09 : la porte d'entrée (porte.js). Sans compte ou sans accès, cet écran est tout ce qu'on voit :
   l'app (.app) est masquée et n'est pas dessinée derrière. Préfixe porte- (la classe .verrou sert déjà ailleurs). ---------- */
.porte-ecran { display: none; }
body.porte-on .porte-ecran { display: block; }
body.porte-on .app, body.porte-on #export-zone { display: none; }
.porte-ecran { font-family: var(--tight); color: var(--bx); }
.porte-page { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: calc(32px + env(safe-area-inset-top)) 16px calc(24px + env(safe-area-inset-bottom)); }
.porte-boite { width: 100%; max-width: 440px; background: var(--carte); border-radius: 24px; box-shadow: var(--ombre); padding: 32px 28px; }
.porte-boite.large { max-width: 1000px; background: transparent; box-shadow: none; padding: 0; }
.porte-marque { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; margin-bottom: 18px; }
.porte-icone { width: 72px; height: 72px; border-radius: 18px; display: block; }
.porte-logo { font-family: var(--large); font-stretch: 125%; font-weight: 500; font-size: 22px; text-transform: uppercase; letter-spacing: .08em; line-height: 1.2; }
.porte-logo .apo { font-style: normal; color: var(--or); }
.porte-accroche { text-align: center; color: var(--encre2); font-size: 15.5px; margin: -6px 0 22px; }
.porte-onglets { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 18px; }
.porte-onglets .onglet { font-size: 15.5px; padding: 11px 12px; text-align: center; }
.porte-titre { font-size: 21px; margin-bottom: 8px; }
.porte-aide { color: var(--encre2); font-size: 15.5px; margin-bottom: 16px; }
.porte-ecran .c-form { max-width: none; }
.porte-ecran .c-form .champ label { font-size: 15.5px; }
.porte-ecran .c-autres .btn.lien, .porte-ecran .btn.lien.petit { font-size: 14px; }
.porte-cgu { margin-top: 14px; font-size: 14px; color: var(--encre2); }
.porte-cgu a { color: var(--bx2); }
.porte-voulue { margin-bottom: 16px; }
.porte-h1 { text-align: center; margin: 4px 0 10px; }
.porte-texte { text-align: center; color: var(--encre2); font-size: 16px; max-width: 620px; margin: 0 auto 22px; }
.porte-note { text-align: center; color: var(--encre2); font-size: 14px; max-width: 620px; margin: 18px auto 0; }
.porte-actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.porte-attente { justify-content: center; font-size: 15.5px; }
.porte-compte { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 4px 6px; margin-top: 14px; font-size: 14px; color: var(--encre2); text-align: center; }
.porte-compte b { font-weight: 600; color: var(--bx); word-break: break-all; }
.porte-compte .btn.lien { padding: 8px 4px; }
.porte-ecran .plan-carte { background: var(--carte); box-shadow: var(--ombre); border-color: transparent; }
.porte-ecran .plan-carte.populaire { border-color: var(--bx2); }
.porte-ecran .plan-badge { font-size: 14px; }
.porte-ecran .plan-carte b { font-family: var(--large); font-stretch: 125%; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; font-size: 17px; }
.porte-ecran .erreur { max-width: 620px; margin: 0 auto 16px; }
.porte-pied { font-size: 14px; color: var(--encre2); text-align: center; }
.porte-pied a { color: var(--encre2); }
@media (max-width: 640px) {
  .porte-page { justify-content: flex-start; padding-top: calc(28px + env(safe-area-inset-top)); }
  .porte-boite { padding: 26px 18px; border-radius: 22px; }
  .porte-onglets .onglet { padding: 11px 6px; font-size: 15px; white-space: nowrap; }
  .porte-h1 { font-size: 24px; }
}
@media (max-width: 360px) { .porte-onglets .onglet { white-space: normal; font-size: 14px; } }

/* ---------- Avatars et clones (29/09) ----------
   La création (clone, personnage IA) s'ouvre en pleine page : le rail reste visible à gauche sur ordinateur et tablette,
   tout l'écran au téléphone avec le titre et le ✕ toujours à portée (sous l'encoche). Textes à 14 px au moins. */
.editeur.page { left: 240px; right: 0; width: auto; box-shadow: none; border-left: 1px solid var(--ligne); padding: 32px 40px 56px; }
.editeur.page > * { max-width: 760px; margin-left: auto; margin-right: auto; }
.editeur.page .num-etape { font-size: 14px; letter-spacing: .04em; }
.editeur.page .choix.compact button, .pose-cam { font-size: 14px; }
.editeur.page .section { font-size: 14px; letter-spacing: .04em; }
@media (min-width: 641px) and (max-width: 900px) { .editeur.page { left: 68px; padding: 24px 24px 48px; } }
@media (max-width: 640px) {
  .editeur.page { left: 0; width: 100%; border-left: 0; padding: 0 16px calc(24px + env(safe-area-inset-bottom)); overflow-x: hidden; }
  /* Trois vignettes par ligne, sur toute la largeur. */
  .editeur.page .poses, #detail .poses { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .editeur.page > .tete { position: sticky; top: 0; z-index: 3; gap: 12px; margin: 0 -16px 14px; padding: calc(12px + env(safe-area-inset-top)) 16px 12px; background: var(--carte); border-bottom: 1px solid var(--ligne); }
  .editeur.page > .tete .fermer { flex: none; width: 40px; height: 40px; font-size: 16px; }
  .editeur.page > .tete h3 { font-size: 18px; }
}
.clone-etapes span, .pc-num, .av-bas small, .poses-groupe small { font-size: 14px; }
.pc-num { letter-spacing: .04em; }
/* Les vignettes des poses : centrées, et le ✕ pour retirer une photo, assez grand pour le doigt. */
.poses { justify-content: center; }
.pose .pose-num { width: 26px; height: 26px; font-size: 14px; }
.pose .pose-nom { font-size: 14px; line-height: 1.15; }
.pose .x, .pc-depot .x { position: absolute; top: 6px; right: 6px; z-index: 3; width: 28px; height: 28px; border: 0; border-radius: 50%; background: rgba(255,255,255,.94); color: var(--bx); font-size: 14px; line-height: 1; display: grid; place-items: center; box-shadow: 0 1px 4px rgba(23,70,63,.18); cursor: pointer; }
.pose .x:hover, .pc-depot .x:hover { background: #fff; color: var(--bx2); }
.pc-depot { position: relative; }
.pc-depot img { max-height: 220px; border-radius: 10px; }
/* La caméra : un cadre 4:5 (le format de la photo) dans lequel l'image entière est posée, le gabarit dedans, en pourcentage. */
.cam { padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom); }
.cam-tete { gap: 12px; padding: 12px 16px; }
.cam-tete b { min-width: 0; font-weight: 600; }
.cam-x { flex: none; width: 40px; height: 40px; }
.cam-cadre { position: relative; overflow: hidden; border-radius: 14px; background: #000; }
.cam-cadre video { position: absolute; inset: 0; }
.cam-guide.visage { width: 52%; height: auto; aspect-ratio: 52 / 66; }
.cam-guide.buste { width: 62%; height: auto; aspect-ratio: 62 / 86; }
.cam-guide.pied { width: 38%; height: auto; aspect-ratio: 38 / 92; }
.cam-guide.produit { width: 64%; height: auto; aspect-ratio: 1; }
.cam-barre { padding: 14px 0 22px; }

/* Bandeau « nouvelle version » : en bas, au-dessus de la barre du téléphone */
/* La pop-up « Recharger » (nouvelle version en ligne). Ordinateur : une pilule discrète en bas, texte et bouton sur une ligne, centrés verticalement.
   14/10 (Lisa : « sur téléphone c'est très moche, le bouton à droite, le texte à gauche ») : au téléphone, un bloc centré au-dessus de la barre du bas,
   le texte centré sur une ou deux lignes, le bouton doré dessous en pleine largeur (44 px de haut). Règle unique ici, l'ancienne règle à 640 px est retirée. */
.maj-dispo { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 9999; display: flex; align-items: center; gap: 16px; background: #1F5B52; color: #FAF8F4; padding: 10px 10px 10px 22px; border-radius: 999px; box-shadow: 0 10px 30px -12px rgba(23,70,63,.45); font-size: 15px; line-height: 1.35; max-width: calc(100vw - 32px); }
.maj-dispo .maj-texte { font-weight: 500; }
.maj-dispo .btn { background: #A3CDB9; color: #17463F; border: 0; white-space: nowrap; min-height: 36px; padding: 8px 18px; font-size: 14px; }
.maj-dispo .btn:hover { background: #CFE5DA; }
@media (max-width: 900px) { .maj-dispo { bottom: calc(84px + env(safe-area-inset-bottom)); } }
@media (max-width: 640px) {
  .maj-dispo { left: 16px; right: 16px; transform: none; max-width: none; flex-direction: column; align-items: stretch; text-align: center; gap: 12px; padding: 16px 18px 14px; border-radius: 18px; bottom: calc(78px + env(safe-area-inset-bottom)); box-shadow: 0 14px 36px -14px rgba(23,70,63,.6); }
  .maj-dispo .maj-texte { font-size: 15px; line-height: 1.4; }
  .maj-dispo .btn { width: 100%; justify-content: center; min-height: 44px; font-size: 15px; }
}

/* Les photos des avatars sont en 2:3 (format natif, tête et pieds entiers) : les cases suivent, rien n'est rogné à l'affichage. */
.pose { aspect-ratio: 2/3; }
.resultat.\32 -3 { aspect-ratio: 2/3; width: min(100%, calc(70vh * 2 / 3)); margin: 0 auto; }
.resultat.\32 -3 img { object-fit: contain; cursor: zoom-in; }

/* ---------- 30/09 · Piste C de la porte : vert profond, logo en clair au-dessus, carte blanche, onglets en segment ---------- */
.porte-ecran { background: linear-gradient(180deg, #17463F 0%, #1F5B52 100%); min-height: 100vh; min-height: 100dvh; }
.porte-page { gap: 18px; }
.porte-tete { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.porte-tete .porte-marque { margin-bottom: 0; }
.porte-tete .porte-logo { color: #FAF8F4; }
.porte-tete .porte-logo .apo { color: #A3CDB9; }
.porte-tete .porte-accroche { color: rgba(250,248,244,.8); margin: 0; }
.porte-boite { background: #fff; box-shadow: 0 30px 60px -30px rgba(0,0,0,.45); }
.porte-onglets { background: #F1EEE8; padding: 4px; border-radius: 999px; gap: 4px; }
.porte-onglets .onglet { border: 0; background: transparent; color: #6F7672; }
.porte-onglets .onglet.on { background: #fff; color: #17463F; box-shadow: 0 1px 4px rgba(23,70,63,.15); }
.porte-ecran .c-form input[type=email], .porte-ecran .c-mdp input { background: #F7F5F1; border-color: transparent; }
.porte-pied, .porte-pied a { color: rgba(250,248,244,.72); }
/* L'écran des formules : le texte est posé sur le vert, les cartes restent blanches. */
.porte-boite.large { background: transparent; box-shadow: none; }
.porte-boite.large .porte-h1 { color: #FAF8F4; }
.porte-boite.large .porte-texte, .porte-boite.large .porte-note, .porte-boite.large .porte-compte { color: rgba(250,248,244,.8); }
.porte-boite.large .porte-compte b { color: #FAF8F4; }
.porte-boite.large .porte-compte .btn.lien { color: #A3CDB9; }
.porte-boite.large .porte-note.pret { background: rgba(250,248,244,.1); color: #FAF8F4; }
body.porte-on { background: #1F5B52; }
.porte-boite.large .porte-note.pret p, .porte-boite.large .porte-note.pret b { color: #FAF8F4; }
.porte-boite.large .porte-note.pret b, .porte-boite.large .porte-note.pret h3 { color: #A3CDB9; }
/* Tout ce qui se pose directement sur le vert de la porte (chargement, attente, liens) : en clair, jamais ton sur ton (30/09). */
.porte-ecran .porte-page > .attente, .porte-boite.large > .attente { color: rgba(250,248,244,.85); }
.porte-ecran .porte-page > .attente .rond, .porte-boite.large .attente .rond { border-color: rgba(250,248,244,.25); border-top-color: #A3CDB9; }
.porte-boite.large .erreur { background: #fff; }
.porte-boite.large .btn.second { background: transparent; color: #FAF8F4; border-color: rgba(250,248,244,.5); }
.porte-boite.large .plan-carte .btn.second { background: #fff; color: #17463F; border-color: rgba(23,70,63,.2); }

/* ==========================================================================================
   30/09 · IDÉES VIRALES (public/idees.js) : piliers, deux portes, cartes d'aperçu, éditeur de script
   Tout est préfixé iv-. Charte verte : action #1F5B52, texte #17463F, doré #A3CDB9, ivoire #FAF8F4.
   ========================================================================================== */
.iv-piliers > summary { gap: 12px; }
.iv-pil-ico { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--ok-fond); color: var(--or-texte); display: inline-flex; align-items: center; justify-content: center; }
.iv-pil-resume { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.iv-pilier-tag { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 500; color: var(--bx); background: var(--surface); border-radius: 999px; padding: 4px 11px 4px 9px; max-width: 100%; }
.iv-pilier-tag i, .iv-choix-pil button i { flex: none; width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.iv-choix-pil button { display: inline-flex; align-items: center; gap: 7px; }
.iv-pil-liste { display: flex; flex-direction: column; gap: 12px; }
.iv-pil-ligne { display: grid; grid-template-columns: 30px 1fr auto; gap: 12px; align-items: start; }
.iv-pil-num { width: 30px; height: 30px; border-radius: 50%; color: #fff; font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; margin-top: 7px; }
.iv-pil-champs { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.iv-pil-champs input, .iv-pil-champs textarea { width: 100%; border: 1px solid rgba(23,70,63,.16); border-radius: 12px; padding: 10px 12px; background: #fff; font-size: 15px; resize: none; }
.iv-pil-champs input { font-weight: 600; }
.iv-pil-champs textarea { min-height: 44px; color: var(--bx); }
.iv-pil-champs input:focus, .iv-pil-champs textarea:focus { outline: 2px solid var(--bx2); outline-offset: 1px; border-color: transparent; }
.iv-pil-plus { margin-top: 6px; }
.iv-pil-aide:empty { display: none; }
.iv-pil-aide { margin-top: 18px; }
.iv-props-tete { display: flex; flex-direction: column; gap: 2px; margin-bottom: 10px; }
.iv-props-tete b { font-weight: 600; font-size: 16px; } .iv-props-tete small { color: var(--encre2); font-size: 14px; }
.iv-props { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.iv-prop { position: relative; text-align: left; display: flex; flex-direction: column; gap: 5px; background: #fff; border: 1.5px solid rgba(23,70,63,.14); border-radius: 16px; padding: 14px 44px 14px 14px; color: var(--bx); transition: border-color .15s ease, background .15s ease, transform .15s ease; }
.iv-prop:hover { transform: translateY(-1px); }
.iv-prop b { font-weight: 600; font-size: 15.5px; } .iv-prop span { font-size: 14px; } .iv-prop small { font-size: 14px; color: var(--encre2); }
.iv-prop.on { border-color: var(--bx2); background: var(--doux); }
.iv-prop-coche { position: absolute; top: 14px; right: 14px; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid rgba(23,70,63,.3); background: #fff; }
.iv-prop.on .iv-prop-coche { background: var(--bx2); border-color: var(--bx2); box-shadow: inset 0 0 0 4px #fff; }
.iv-note { font-size: 14.5px; color: var(--encre2); margin-top: 10px; }
.iv-note-ok { background: var(--ok-fond); color: var(--bx); border-radius: 12px; padding: 10px 14px; }
.iv-note-ok a { color: var(--bx2); font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.iv-note-ok a svg { width: 15px; height: 15px; }

/* Les deux portes */
.iv-portes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.iv-porte { display: flex; align-items: center; gap: 14px; text-align: left; background: var(--carte); color: var(--bx); border: 1.5px solid transparent; border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--ombre); transition: border-color .15s ease, transform .15s ease; }
.iv-porte:hover { transform: translateY(-1px); }
.iv-porte > span:last-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.iv-porte b { font-weight: 600; font-size: 16.5px; } .iv-porte small { font-size: 14px; color: var(--encre2); }
.iv-porte-ico { flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--doux); color: var(--bx2); display: inline-flex; align-items: center; justify-content: center; transition: background .2s ease, color .2s ease; }
.iv-porte.on { border-color: var(--bx2); }
.iv-porte.on .iv-porte-ico { background: var(--bx2); color: #fff; }
.iv-reglages, .iv-libre { margin-bottom: 22px; }
.iv-choix-fmt button { display: inline-flex; align-items: center; gap: 7px; }
.iv-choix-fmt button svg { width: 16px; height: 16px; }
#go svg, #iv-ecrire svg { width: 16px; height: 16px; }

/* Les cartes d'aperçu */
.iv-cartes { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.iv-carte { position: relative; background: var(--carte); border-radius: var(--radius); padding: 22px 20px 16px; box-shadow: var(--ombre); display: flex; flex-direction: column; gap: 10px; cursor: pointer; overflow: hidden; border: 1.5px solid transparent; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.iv-carte::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--bx2); }
.iv-carte.iv-c-carrousel::before { background: var(--or); } .iv-carte.iv-c-stories::before { background: #6E9C8F; } .iv-carte.iv-c-post::before { background: var(--or-texte); }
.iv-carte:hover, .iv-carte:focus-visible { transform: translateY(-3px); border-color: rgba(31,91,82,.25); outline: none; box-shadow: 0 4px 10px rgba(23,70,63,.06), 0 18px 34px -16px rgba(23,70,63,.3); }
.iv-carte.fait { opacity: .6; }
.iv-carte-tete { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.iv-carte h3 { font-size: 17px; line-height: 1.3; }
.iv-carte-hook { font-family: var(--serif); font-style: italic; font-size: 20px; line-height: 1.25; color: var(--bx2); }
.iv-carte-pied { margin-top: auto; padding-top: 6px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.iv-voir { display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 600; color: var(--bx2); }
.iv-voir svg { width: 16px; height: 16px; transition: transform .18s ease; }
.iv-carte:hover .iv-voir svg { transform: translateX(3px); }
.iv-fait { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--encre2); cursor: pointer; position: relative; z-index: 1; }
.iv-entre { animation: iv-entre .45s cubic-bezier(.2,.8,.2,1) both; }
@keyframes iv-entre { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.iv-format { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; padding: 4px 11px 4px 9px; border-radius: 999px; background: var(--bx2); color: #fff; }
.iv-format svg { width: 15px; height: 15px; }
.iv-format.iv-f-carrousel { background: var(--or); color: var(--bx); } .iv-format.iv-f-stories { background: #E3EEEA; color: var(--bx2); } .iv-format.iv-f-post { background: var(--ok-fond); color: var(--or-texte); }
.iv-source { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--encre2); background: var(--surface); border-radius: 999px; padding: 4px 11px; }
.iv-source a { color: var(--bx2); }

/* L'éditeur de script */
.iv-atelier { max-width: 1180px; }
.iv-barre { display: flex; align-items: center; justify-content: flex-end; gap: 12px; min-height: 20px; margin: -8px 0 4px; }
.iv-retour { padding-left: 0; }
.iv-atelier .btn svg, .iv-piliers .btn svg, .iv-reglages .btn svg, .iv-libre .btn svg { flex: none; }
.iv-sauve { font-size: 14px; color: var(--or-texte); opacity: 0; transition: opacity .3s ease; }
.iv-sauve.on { opacity: 1; }
.iv-tete-script { margin-bottom: 20px; }
.iv-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.iv-tags:empty { display: none; }
.iv-titre-vue { font-family: var(--tight); text-transform: none; letter-spacing: 0; font-size: 26px; font-weight: 600; margin: 4px 0 10px; }
.iv-titre { width: 100%; font-family: var(--tight); font-size: 28px; font-weight: 600; line-height: 1.15; color: var(--bx); background: transparent; border: 1px dashed transparent; border-radius: 12px; padding: 4px 8px; margin-left: -8px; resize: none; overflow: hidden; }
.iv-titre:hover { border-color: rgba(23,70,63,.2); }
.iv-titre:focus { outline: 2px solid var(--bx2); outline-offset: 1px; border-color: transparent; background: #fff; }
.iv-pourquoi { font-size: 15px; color: var(--encre2); border-left: 3px solid var(--or); padding: 2px 0 2px 12px; margin: 6px 0 14px; max-width: 720px; }
.iv-formats { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 4px; }
.iv-formats button { display: inline-flex; align-items: center; gap: 7px; border: 1px solid rgba(23,70,63,.18); background: #fff; color: var(--bx); border-radius: 999px; padding: 8px 14px; font-size: 14.5px; font-weight: 500; }
.iv-formats button svg { width: 16px; height: 16px; }
.iv-formats button.on { background: var(--bx2); border-color: var(--bx2); color: #fff; }
.iv-formats button:not(.on):hover { border-color: var(--or); }
.iv-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 16px; }
.iv-generer-bloc { position: relative; }
.iv-menu { position: absolute; left: 0; top: calc(100% + 8px); z-index: 6; background: #fff; border-radius: 18px; box-shadow: 0 20px 40px -18px rgba(23,70,63,.45), 0 2px 8px rgba(23,70,63,.08); padding: 6px; min-width: 300px; display: flex; flex-direction: column; gap: 2px; animation: iv-entre .2s ease both; }
.iv-menu button { display: flex; align-items: flex-start; gap: 12px; text-align: left; background: none; border: 0; border-radius: 12px; padding: 12px; color: var(--bx); }
.iv-menu button:hover { background: var(--doux); }
.iv-menu button svg { margin-top: 2px; color: var(--bx2); }
.iv-menu b { display: block; font-weight: 600; font-size: 15px; } .iv-menu small { display: block; font-size: 14px; color: var(--encre2); }
.iv-ok { color: var(--or-texte) !important; }
.iv-grille { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.iv-script { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.iv-bloc { background: var(--carte); border-radius: var(--radius); padding: 18px 20px 20px; box-shadow: var(--ombre); }
.iv-bloc-tete { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.iv-etiquette { font-size: 14px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--or-texte); }
.iv-mini { display: inline-flex; align-items: center; gap: 6px; border: 1px solid rgba(163, 205, 185,.5); background: var(--ok-fond); color: var(--or-texte); border-radius: 999px; padding: 6px 12px; font-size: 14px; font-weight: 500; }
.iv-mini svg { width: 16px; height: 16px; }
.iv-mini:hover { background: #E8F2EC; }
.iv-mini:disabled { opacity: .6; cursor: wait; }
.iv-script textarea, .iv-etape-nom { width: 100%; border: 1px solid transparent; background: transparent; border-radius: 12px; padding: 7px 10px; margin-left: -10px; width: calc(100% + 10px); resize: none; font-size: 15.5px; line-height: 1.45; color: var(--bx); transition: background .15s ease, border-color .15s ease; }
.iv-script textarea:hover, .iv-etape-nom:hover { border-color: rgba(23,70,63,.14); background: #fff; }
.iv-script textarea:focus, .iv-etape-nom:focus { outline: 2px solid var(--bx2); outline-offset: 0; border-color: transparent; background: #fff; }
.iv-script textarea::placeholder { color: #9AA8A3; }
.iv-script .iv-hook { font-family: var(--serif); font-style: italic; font-size: 26px; line-height: 1.2; color: var(--bx2); }
.iv-script .iv-cta { font-size: 18px; font-weight: 500; }
.iv-script .iv-legende { min-height: 120px; max-height: 420px; overflow: auto; }
.iv-etapes { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.iv-etape { border-left: 2px solid var(--or2); padding: 2px 0 2px 16px; }
.iv-etape-tete { display: flex; align-items: center; gap: 8px; margin-left: -30px; }
.iv-num { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--bx2); color: #fff; font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 0 0 4px var(--carte); }
.iv-etape-nom { flex: 1; width: auto; margin-left: 0; font-weight: 600; font-size: 15px; padding: 5px 8px; min-width: 0; }
.iv-etape-tete .droite { display: none; }
.iv-sous { display: block; font-size: 14px; color: var(--encre2); margin: 6px 0 0; }
.iv-x { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 0; background: var(--doux); color: var(--bx); display: inline-flex; align-items: center; justify-content: center; }
.iv-x:hover { background: #F5E9DD; }
.iv-variantes:empty { display: none; }
.iv-variantes { margin-top: 8px; }
.iv-var-liste { display: flex; flex-direction: column; gap: 8px; margin-bottom: 4px; }
.iv-var { display: flex; flex-direction: column; gap: 3px; text-align: left; background: #fff; border: 1px solid rgba(23,70,63,.14); border-radius: 14px; padding: 10px 14px; color: var(--bx); animation: iv-entre .3s ease both; transition: border-color .15s ease, transform .15s ease; }
.iv-var:nth-child(2) { animation-delay: 40ms; } .iv-var:nth-child(3) { animation-delay: 80ms; } .iv-var:nth-child(4) { animation-delay: 120ms; } .iv-var:nth-child(5) { animation-delay: 160ms; }
.iv-var:hover { border-color: var(--bx2); transform: translateX(3px); }
.iv-var span { font-size: 15.5px; } .iv-var small { font-size: 14px; color: var(--or-texte); }
.iv-bloc-hook .iv-var span { font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--bx2); line-height: 1.25; }
.iv-change { animation: iv-flash 1.6s ease-out both; }
@keyframes iv-flash { 0% { box-shadow: 0 0 0 3px var(--or), var(--ombre); } 100% { box-shadow: 0 0 0 0 rgba(163, 205, 185,0), var(--ombre); } }
textarea.iv-change { animation: iv-flash-txt 1.6s ease-out both; }
@keyframes iv-flash-txt { 0% { background: var(--ok-fond); } 100% { background: transparent; } }

/* La discussion */
.iv-discu { position: sticky; top: 20px; display: flex; flex-direction: column; gap: 12px; background: linear-gradient(180deg, #1F5B52 0%, #17463F 100%); color: #FAF8F4; border-radius: var(--radius); padding: 18px; box-shadow: 0 20px 40px -24px rgba(23,70,63,.6); max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px); }
.iv-discu-tete { display: flex; flex-direction: column; gap: 2px; }
.iv-discu-tete b { font-family: var(--tight); font-weight: 600; font-size: 18px; } .iv-discu-tete small { font-size: 14px; color: rgba(250,248,244,.78); }
.iv-discu .iv-sous { color: rgba(250,248,244,.78); margin: 0 0 6px; }
.iv-puces { display: flex; flex-wrap: wrap; gap: 6px; }
.iv-puce { border: 1px solid rgba(250,248,244,.35); background: transparent; color: #FAF8F4; border-radius: 999px; padding: 6px 12px; font-size: 14px; font-weight: 500; transition: background .15s ease, border-color .15s ease; }
.iv-puce:hover { border-color: var(--or); }
.iv-puce.on { background: var(--or); border-color: var(--or); color: var(--bx); }
.iv-puce:disabled, .iv-discu textarea:disabled, .iv-envoyer:disabled { opacity: .5; cursor: wait; }
.iv-fil { display: flex; flex-direction: column; gap: 8px; overflow-y: auto; min-height: 70px; max-height: 340px; padding: 2px; overscroll-behavior: contain; }
.iv-bulle { max-width: 92%; font-size: 14.5px; line-height: 1.45; padding: 9px 13px; border-radius: 16px; animation: iv-entre .25s ease both; white-space: pre-wrap; }
.iv-bulle.elle { align-self: flex-start; background: rgba(250,248,244,.12); border-bottom-left-radius: 6px; }
.iv-bulle.moi { align-self: flex-end; background: #FAF8F4; color: var(--bx); border-bottom-right-radius: 6px; }
.iv-bulle.iv-erreur { background: #F5E9DD; color: var(--bx); }
.iv-bulle.iv-erreur a { color: var(--bx2); }
.iv-points { display: inline-flex; gap: 4px; align-items: center; height: 18px; }
.iv-points i { width: 7px; height: 7px; border-radius: 50%; background: var(--or2); animation: iv-point 1s ease-in-out infinite; }
.iv-points i:nth-child(2) { animation-delay: .15s; } .iv-points i:nth-child(3) { animation-delay: .3s; }
@keyframes iv-point { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.iv-saisie { display: flex; align-items: flex-end; gap: 8px; }
.iv-saisie textarea { flex: 1; min-width: 0; border: 0; border-radius: 16px; padding: 10px 14px; background: #FAF8F4; color: var(--bx); font-size: 15px; resize: none; min-height: 44px; max-height: 160px; }
.iv-saisie textarea:focus { outline: 2px solid var(--or); outline-offset: 1px; }
.iv-envoyer { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--or); color: var(--bx); display: inline-flex; align-items: center; justify-content: center; transition: transform .15s ease; }
.iv-envoyer:hover { transform: scale(1.06); }
.iv-annuler { color: var(--or2); align-self: flex-start; padding: 4px 0; }
.iv-annuler:hover { color: #fff; }

/* Le réglage téléphone de l'app pose 16px !important sur tous les champs (contre le zoom d'iOS) : le titre, le hook
   et le CTA gardent leur taille d'affichage, toujours au-dessus de 16px, donc sans zoom. */
.iv-atelier textarea.iv-titre { font-size: 28px !important; }
.iv-script textarea.iv-hook { font-size: 26px !important; }
.iv-script textarea.iv-cta { font-size: 18px !important; }
.iv-vers-discu { display: none; }
@media (max-width: 1000px) {
  .iv-grille { grid-template-columns: 1fr; }
  .iv-vers-discu { display: inline-flex; }
  .iv-discu { position: static; max-height: none; }
}
@media (max-width: 640px) {
  .iv-portes { grid-template-columns: 1fr; gap: 10px; }
  .iv-porte { padding: 14px; }
  .iv-porte-ico { width: 40px; height: 40px; }
  .iv-pil-ligne { grid-template-columns: 26px 1fr auto; gap: 8px; }
  .iv-pil-num { width: 26px; height: 26px; }
  .iv-cartes { grid-template-columns: 1fr; }
  .iv-atelier textarea.iv-titre { font-size: 23px !important; }
  .iv-titre-vue { font-size: 22px; }
  .iv-script textarea.iv-hook { font-size: 23px !important; }
  .iv-bloc { padding: 16px 16px 18px; }
  .iv-actions > .iv-generer-bloc, .iv-actions > .btn.second { flex: 1 1 100%; }
  .iv-actions .iv-generer-bloc .btn, .iv-actions > .btn.second { width: 100%; justify-content: center; }
  .iv-menu { position: static; min-width: 0; margin-top: 8px; }
  .iv-fil { max-height: 280px; }
}
@media (prefers-reduced-motion: reduce) {
  .iv-entre, .iv-var, .iv-bulle, .iv-menu, .iv-change, textarea.iv-change, .iv-points i { animation: none !important; }
  .iv-carte, .iv-porte, .iv-prop, .iv-var { transition: none; }
}

/* ---------- 30/09 · Ma veille (public/veille.js) : bandeau radar, questionnaire replié, rapport façon tableau de bord MDS ---------- */
.vl { display: flex; flex-direction: column; min-width: 0; }
.vl-hero { position: relative; overflow: hidden; display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 26px; align-items: center; padding: 26px 28px; margin-bottom: 22px; border-radius: 24px; background: radial-gradient(120% 140% at 0% 0%, #2A6E63 0%, #1F5B52 45%, #17463F 100%); color: #FAF8F4; box-shadow: 0 18px 40px -22px rgba(23,70,63,.7); }
.vl-hero.vl-pulse { animation: vl-pulse .9s ease; }
@keyframes vl-pulse { 0% { transform: scale(1); } 40% { transform: scale(1.012); box-shadow: 0 0 0 6px rgba(163, 205, 185,.35), 0 18px 40px -22px rgba(23,70,63,.7); } 100% { transform: scale(1); } }
.vl-radar { width: 128px; height: 128px; }
.vl-radar-svg { width: 100%; height: 100%; display: block; }
.vl-radar-svg circle { fill: none; stroke: rgba(250,248,244,.28); stroke-width: 1.2; }
.vl-radar-svg .vl-radar-axe { stroke: rgba(250,248,244,.14); stroke-width: 1; }
.vl-radar-balai { transform-origin: 60px 60px; animation: vl-balai 4s linear infinite; }
.vl-radar-balai path { fill: rgba(163, 205, 185,.28); stroke: none; }
.vl-hero.en-cours .vl-radar-balai { animation-duration: 1.6s; }
.vl-radar-svg .vl-radar-point { fill: #A3CDB9; stroke: none; animation: vl-bip 2.4s ease-in-out infinite; }
.vl-radar-svg .vl-radar-point.p2 { animation-delay: .8s; } .vl-radar-svg .vl-radar-point.p3 { animation-delay: 1.6s; }
@keyframes vl-balai { to { transform: rotate(360deg); } }
@keyframes vl-bip { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .vl-radar-balai, .vl-radar-svg .vl-radar-point, .vl-hero.vl-pulse { animation: none; } }
.vl-hero-corps { min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.vl-hero-titre { display: block; font-family: var(--tight); font-size: 22px; font-weight: 600; line-height: 1.2; color: #FAF8F4; }
.vl-hero-txt { font-size: 15px; color: rgba(250,248,244,.84); max-width: 620px; }
.vl-hero-etapes { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 0; padding: 0; }
.vl-hero-etapes li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; padding: 6px 12px 6px 6px; border-radius: 999px; background: rgba(250,248,244,.1); color: #FAF8F4; }
.vl-hero-etapes i { width: 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-style: normal; font-size: 14px; background: rgba(250,248,244,.16); }
.vl-hero-etapes li.ok i { background: #A3CDB9; color: #17463F; }
.vl-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 8px; }
.btn.vl-btn-or { background: #A3CDB9; color: #17463F; }
.btn.vl-btn-or:hover { background: #A3CDB9; }
.btn.vl-btn-or:disabled { opacity: .55; }
.btn.lien.vl-lien-clair { color: #CFE5DA; }
.vl-hero-erreur { margin-top: 6px; padding: 10px 14px; border-radius: 12px; background: rgba(250,248,244,.12); color: #FAF8F4; font-size: 14.5px; }
.vl-hero-erreur a { color: #CFE5DA; }
.vl-hero-attente .attente { color: rgba(250,248,244,.85); padding: 6px 0 0; }
.vl-hero-attente .attente .rond { border-color: rgba(250,248,244,.25); border-top-color: #A3CDB9; }
.vl-hero-attente .att-barre { background: rgba(250,248,244,.16); }
.vl-hero-attente .att-barre i { background: #A3CDB9; }
.vl-hero-attente .indice { color: rgba(250,248,244,.72); font-size: 14px; }

/* le questionnaire */
.vl-questionnaire > summary { gap: 14px; }
.vl-q-ico { flex: none; width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--ok-fond); color: var(--or-texte); }
.vl-q-fait { flex: none; display: inline-flex; align-items: center; gap: 4px; font-size: 14px; padding: 4px 10px; border-radius: 999px; background: var(--doux); color: var(--bx2); }
.vl-q-corps { padding: 8px 22px 22px; }
.vl-etape { padding: 20px 0; border-bottom: 1px solid var(--ligne); }
.vl-etape-tete { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.vl-etape-tete b { display: block; font-size: 17px; font-weight: 600; }
.vl-etape-tete small { display: block; font-size: 14px; color: var(--encre2); margin-top: 2px; max-width: 620px; }
.vl-num { flex: none; width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--bx2); color: #fff; font-size: 14.5px; font-weight: 600; }
.vl-poules { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.vl-vide { font-size: 14px; color: var(--encre2); padding: 6px 0; }
.vl-poule { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; padding: 5px 6px 5px 5px; border-radius: 999px; background: #fff; border: 1px solid rgba(27,33,31,.14); font-size: 15px; font-weight: 500; animation: vl-entre .25s ease; }
.vl-poule span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vl-poule i, .vl-poule-tete i { flex: none; width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-style: normal; font-size: 14px; font-weight: 600; color: #FAF8F4; background: linear-gradient(135deg, #2A6E63, #17463F); box-shadow: 0 0 0 2px #fff, 0 0 0 3px #A3CDB9; }
.vl-poule button { flex: none; width: 28px; height: 28px; border: 0; border-radius: 50%; background: transparent; color: var(--encre2); display: inline-flex; align-items: center; justify-content: center; }
.vl-poule button:hover { background: var(--doux); color: var(--bx); }
@keyframes vl-entre { from { transform: scale(.85); opacity: 0; } to { transform: none; opacity: 1; } }
.vl-ajout { display: flex; gap: 8px; }
.vl-ajout input { flex: 1; min-width: 0; border: 1px dashed rgba(31,91,82,.45); border-radius: 14px; padding: 11px 14px; background: #fff; font-size: 15px; }
.vl-ajout input:focus { outline: 2px solid var(--bx2); outline-offset: 1px; border-color: transparent; }
.vl-ajout .btn { flex: none; }
.vl-secoue { animation: vl-secoue .35s ease; }
@keyframes vl-secoue { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.vl-jauge { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.vl-jauge small { font-size: 14px; color: var(--encre2); }
.vl-jauge-barre { flex: none; width: 110px; height: 6px; border-radius: 999px; background: var(--surface); overflow: hidden; }
.vl-jauge-barre i { display: block; height: 100%; border-radius: 999px; background: #A3CDB9; transition: width .3s ease; }
.vl-conseils { margin-top: 16px; }
.vl-conseils > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: var(--ok-fond); color: var(--bx); font-size: 15px; font-weight: 500; border: 1px solid rgba(163, 205, 185,.5); }
.vl-conseils > summary::-webkit-details-marker { display: none; }
.vl-conseils > summary svg { color: var(--or-texte); }
.vl-conseils > summary .chevron { margin-left: 4px; }
.vl-conseils-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-top: 14px; }
.vl-conseil { background: var(--fond); border: 1px solid var(--ligne); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.vl-conseil-ico { width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--doux); color: var(--bx2); margin-bottom: 4px; }
.vl-conseil b { font-size: 15.5px; font-weight: 600; }
.vl-conseil p { font-size: 14px; color: var(--encre2); line-height: 1.45; }
.vl-verrou { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; margin-bottom: 14px; padding: 12px 14px; border-radius: 14px; background: var(--ok-fond); border: 1px solid rgba(163, 205, 185,.55); color: var(--bx); font-size: 14.5px; }
.vl-verrou svg { flex: none; color: var(--or); }
.vl-rythme { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.vl-rythme .champ { margin-bottom: 0; }
.vl-rythme.grise { opacity: .6; }
.vl-rythme select, .vl-rythme input[type=time] { width: 100%; border: 1px solid rgba(27,33,31,.18); border-radius: 14px; padding: 12px 14px; background: #fff; font-size: 15px; min-height: 48px; }
.vl-bascule { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 15px; cursor: pointer; }
.vl-bascule input { width: 18px; height: 18px; accent-color: var(--bx2); }
.vl-fiche { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; align-items: start; }
.vl-fiche > div { background: var(--fond); border-radius: 14px; padding: 12px 14px; min-width: 0; }
.vl-fiche small { display: block; font-size: 14px; color: var(--or-texte); }
.vl-fiche span { font-size: 14.5px; overflow-wrap: anywhere; }
.vl-fiche em { color: var(--encre2); }
.vl-fiche .btn { grid-column: 1 / -1; justify-self: start; }
.vl-niche { margin: 14px 0 0; }
.vl-q-pied { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 18px; }
.vl-q-pied .indice { font-size: 14px; color: var(--encre2); }

/* le rapport */
.vl-res { min-width: 0; }
.vl-jour { background: var(--carte); border-radius: 24px; box-shadow: var(--ombre); padding: 26px 28px 22px; min-width: 0; }
.vl-tete-jour { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.vl-pastille-date { font-size: 14px; font-weight: 600; padding: 5px 13px; border-radius: 999px; background: linear-gradient(135deg, #1F5B52, #17463F); color: #FAF8F4; }
.vl-pastille { font-size: 14px; padding: 5px 12px; border-radius: 999px; background: var(--surface); color: var(--bx); }
.vl-pastille.demo { background: var(--ok-fond); color: var(--or-texte); }
.vl-titre { font-size: 24px; line-height: 1.2; overflow-wrap: anywhere; }
.vl-accroche { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--bx2); margin-top: 4px; }
.vl-tldr { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; padding: 14px 16px; border-radius: 16px; background: var(--ok-fond); border: 1px solid rgba(163, 205, 185,.5); }
.vl-tldr svg { flex: none; color: var(--or-texte); margin-top: 2px; }
.vl-tldr p { font-size: 15px; }
.vl-section { display: inline-flex; align-items: center; gap: 8px; margin: 28px 0 6px; padding: 8px 16px 8px 12px; border-radius: 999px; background: var(--bx2); color: #FAF8F4; font-size: 15.5px; font-weight: 600; box-shadow: 0 6px 14px -8px rgba(23,70,63,.6); }
.vl-section svg { color: #CFE5DA; }
.vl-section-sous { font-size: 14px; color: var(--encre2); margin: 2px 2px 12px; }
.vl-section + .vl-tendances, .vl-section + .vl-grille, .vl-section + .vl-idee, .vl-section + .vl-nouvelles, .vl-section + .vl-sous { margin-top: 12px; }
.vl-tendances { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.vl-tendance { background: var(--fond); border: 1px solid var(--ligne); border-radius: 16px; padding: 14px 16px; min-width: 0; }
.vl-tendance small { display: block; font-size: 14px; color: var(--or-texte); }
.vl-tendance b { display: block; font-size: 15.5px; font-weight: 600; margin-bottom: 4px; }
.vl-tendance p { font-size: 14.5px; color: var(--encre2); }
.vl-sous { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; margin: 14px 2px 10px; }
.vl-sous::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #A3CDB9; }
.vl-sous.tt::before { background: var(--bx); }
.vl-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.vl-post, .vl-idee { display: flex; flex-direction: column; gap: 8px; min-width: 0; background: #fff; border: 1px solid var(--ligne); border-top: 4px solid #A3CDB9; border-radius: 18px; padding: 16px; box-shadow: var(--ombre); }
.vl-post.tt { border-top-color: var(--bx); }
.vl-idee { border-top-color: var(--bx2); }
.vl-idee.faite { opacity: .6; }
.vl-idee.virale { background: linear-gradient(135deg, #E8F2EC 0%, #E8F2EC 100%); border-color: rgba(163, 205, 185,.55); border-top-color: #A3CDB9; }
.vl-idee.repere { outline: 2px solid var(--or); outline-offset: 3px; }
.vl-post-tete { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.vl-format { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; padding: 4px 10px; border-radius: 999px; background: var(--surface); color: var(--bx); }
.vl-compte { font-size: 14.5px; font-weight: 600; color: var(--bx2); text-decoration: none; overflow-wrap: anywhere; }
.vl-compte:hover { text-decoration: underline; }
.vl-date { margin-left: auto; font-size: 14px; color: var(--encre2); }
.vl-n { width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--doux); color: var(--bx2); font-size: 14.5px; font-weight: 600; }
.vl-badge-or { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; padding: 4px 12px; border-radius: 999px; background: #A3CDB9; color: #17463F; }
.vl-post-titre { font-size: 17px; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.vl-post-quoi { font-size: 14.5px; color: var(--encre2); overflow-wrap: anywhere; }
.vl-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.vl-chip { font-size: 14px; padding: 4px 11px; border-radius: 999px; background: var(--doux); color: var(--bx); overflow-wrap: anywhere; }
.vl-pourquoi { padding: 9px 12px; border-left: 3px solid #A3CDB9; border-radius: 0 12px 12px 0; background: var(--ok-fond); }
.vl-pourquoi b { display: block; font-size: 14px; font-weight: 600; color: var(--or-texte); }
.vl-pourquoi span { font-size: 14.5px; }
.vl-sauce small { display: block; font-size: 14px; color: var(--encre2); }
.vl-hook { font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 1.25; color: var(--bx2); overflow-wrap: anywhere; }
.vl-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 6px; }
.vl-act { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; border: 1px solid rgba(27,33,31,.14); background: #fff; color: var(--bx); font-size: 14px; font-weight: 500; text-decoration: none; cursor: pointer; transition: background .15s ease, border-color .15s ease, transform .15s ease; }
.vl-act:hover:not(:disabled) { background: var(--doux); border-color: var(--bx2); transform: translateY(-1px); }
.vl-act svg { flex: none; color: var(--bx2); }
.vl-act.vl-voir { background: var(--bx2); color: #fff; border-color: var(--bx2); }
.vl-act.vl-voir svg { color: #CFE5DA; }
.vl-act.vl-voir:hover { background: var(--bx3); }
.vl-act.fait { background: var(--ok-fond); border-color: rgba(163, 205, 185,.55); color: var(--or-texte); cursor: default; }
.vl-act.fait svg { color: var(--or-texte); }
.vl-faite input { width: 16px; height: 16px; accent-color: var(--bx2); margin: 0; }
.vl-act-msg p { font-size: 14px; color: var(--bx); margin-top: 2px; }
.vl-act-msg a { color: var(--bx2); }
.vl-act-msg .vl-act-erreur { color: #8A3B2A; }
.vl-rien { font-size: 14.5px; color: var(--encre2); padding: 12px 0; }
.vl-poules-res { display: flex; flex-direction: column; gap: 10px; }
.vl-poule-res { border-radius: 16px; padding: 12px 14px; background: var(--fond); border: 1px solid var(--ligne); min-width: 0; }
.vl-poule-res .vl-grille { margin-top: 12px; }
.vl-poule-tete { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.vl-poule-tete a { font-size: 15px; font-weight: 600; color: var(--bx); text-decoration: none; overflow-wrap: anywhere; }
.vl-poule-tete span { font-size: 14.5px; color: var(--encre2); flex: 1 1 200px; }
.vl-poule-res.vide .vl-poule-tete span { flex: none; font-size: 14px; padding: 3px 10px; border-radius: 999px; background: var(--surface); color: var(--encre2); }
.vl-nouvelles { display: flex; flex-direction: column; gap: 10px; }
.vl-nouvelle { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 14px; border-radius: 16px; border: 1px dashed rgba(163, 205, 185,.8); background: #fff; }
.vl-nouvelle > div { flex: 1 1 220px; min-width: 0; }
.vl-nouvelle a { color: var(--bx2); text-decoration: none; }
.vl-nouvelle b { font-size: 15.5px; font-weight: 600; }
.vl-nouvelle p { font-size: 14.5px; color: var(--encre2); }
.vl-honnete { margin-top: 26px; padding-top: 14px; border-top: 1px solid var(--ligne); font-size: 14px; color: var(--encre2); }
.vl-attente-vide { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 36px 20px; border-radius: 24px; border: 1.5px dashed rgba(31,91,82,.3); color: var(--bx); }
.vl-attente-vide svg { color: #A3CDB9; }
.vl-attente-vide b { font-size: 17px; font-weight: 600; }
.vl-attente-vide p { font-size: 14.5px; color: var(--encre2); max-width: 420px; }
.vl-repli .acc-titre small { overflow-wrap: anywhere; }
.vl-repli .repli-corps { min-width: 0; }

/* Reproduire à l'identique : la feuille */
.vl-voile { position: fixed; inset: 0; z-index: 1200; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(23,70,63,.45); animation: vl-fondu .2s ease; }
@keyframes vl-fondu { from { opacity: 0; } }
.vl-feuille { position: relative; width: 100%; max-width: 480px; max-height: calc(100dvh - 32px); overflow-y: auto; background: #fff; border-radius: 24px; padding: 24px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.45); display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.vl-feuille h3 { font-size: 20px; }
.vl-f-sous { font-size: 14.5px; color: var(--encre2); }
.vl-fermer { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--fond); color: var(--bx); display: inline-flex; align-items: center; justify-content: center; }
.vl-f-etapes { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-direction: column; gap: 14px; width: 100%; }
.vl-f-etapes li { display: flex; gap: 12px; align-items: flex-start; }
.vl-f-etapes i { flex: none; width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-style: normal; font-size: 14.5px; font-weight: 600; background: var(--bx2); color: #fff; }
.vl-f-etapes b { display: block; font-size: 15.5px; font-weight: 600; }
.vl-f-etapes p { font-size: 14.5px; color: var(--encre2); margin: 2px 0 10px; }

@media (max-width: 700px) {
  .vl-hero { grid-template-columns: 1fr; gap: 12px; padding: 20px 18px; border-radius: 20px; }
  .vl-radar { width: 76px; height: 76px; }
  .vl-hero-titre { font-size: 20px; }
  .vl-hero-actions .btn.vl-btn-or { width: 100%; justify-content: center; }
  .vl-q-corps { padding: 4px 16px 18px; }
  .vl-rythme, .vl-fiche { grid-template-columns: 1fr; }
  .vl-jour { padding: 18px 16px; border-radius: 20px; }
  .vl-titre { font-size: 21px; }
  .vl-grille { grid-template-columns: minmax(0, 1fr); }
  .vl-q-pied .btn { width: 100%; justify-content: center; }
  .vl-voile { align-items: flex-end; padding: 0; }
  .vl-conseils-grille { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; margin-right: -16px; padding: 2px 16px 8px 0; -webkit-overflow-scrolling: touch; }
  .vl-conseil { flex: 0 0 82%; scroll-snap-align: start; }
  .vl-tendances { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; padding-bottom: 6px; }
  .vl-tendance { flex: 0 0 78%; scroll-snap-align: start; }
  .vl-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vl-act { justify-content: center; text-align: center; padding: 9px 10px; }
  .vl-act.vl-voir, .vl-act[data-calendrier] { grid-column: 1 / -1; }
  .vl-feuille { max-width: none; border-radius: 22px 22px 0 0; max-height: 88dvh; padding: 22px 16px calc(22px + env(safe-area-inset-bottom)); }
}

/* ───────── Planning (30/09) : deux visions (Planning complet · Tout connecté), la semaine puis le mois. Classes pl- ───────── */
.pl-ico { flex: none; display: block; }
/* Les deux façons de planifier, en segment */
.pl-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 20px; }
.pl-mode { display: flex; align-items: center; gap: 12px; text-align: left; background: #fff; border: 1.5px solid transparent; border-radius: 18px; padding: 12px 14px; box-shadow: var(--ombre); color: #17463F; cursor: pointer; transition: border-color .2s ease, background .2s ease; }
.pl-mode:hover { border-color: rgba(31,91,82,.35); }
.pl-mode.on { border-color: #1F5B52; background: #F1F7F5; }
.pl-mode:focus-visible { outline: 2px solid #1F5B52; outline-offset: 2px; }
.pl-mode-ico { flex: none; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(31,91,82,.08); color: #1F5B52; }
.pl-mode.on .pl-mode-ico { background: #1F5B52; color: #fff; }
.pl-mode-txt { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.pl-mode-txt b { font-weight: 600; font-size: 15.5px; line-height: 1.25; }
.pl-mode-txt small { font-size: 14px; color: var(--encre2); line-height: 1.3; }

/* Le premier choix, en deux cartes */
.pl-accueil h2 { margin-bottom: 6px; }
.pl-accueil .aide { color: var(--encre2); margin-bottom: 18px; }
.pl-choix { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pl-choix-carte { display: flex; flex-direction: column; gap: 10px; background: #fff; border-radius: 22px; padding: 22px; box-shadow: var(--ombre); border: 1.5px solid transparent; cursor: pointer; transition: border-color .2s ease, transform .2s ease; }
.pl-choix-carte:hover { border-color: #1F5B52; transform: translateY(-2px); }
.pl-choix-carte.or:hover { border-color: #A3CDB9; }
.pl-choix-ico { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #1F5B52; color: #fff; }
.pl-choix-carte.or .pl-choix-ico { background: #E8F2EC; color: #1F5B52; box-shadow: inset 0 0 0 1.5px rgba(163, 205, 185,.55); }
.pl-choix-ico .pl-ico { width: 24px; height: 24px; }
.pl-choix-carte > b { font-family: var(--tight); font-weight: 600; font-size: 20px; color: #17463F; }
.pl-choix-carte p { color: var(--encre2); font-size: 15px; line-height: 1.45; }
.pl-choix-carte ul { list-style: none; margin: 2px 0 6px; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.pl-choix-carte li { position: relative; padding-left: 20px; font-size: 14.5px; color: #17463F; }
.pl-choix-carte li::before { content: ''; position: absolute; left: 2px; top: .5em; width: 8px; height: 8px; border-radius: 50%; background: #A3CDB9; }
.pl-choix-carte .btn { align-self: flex-start; margin-top: auto; }

/* Les réglages : piliers, jours, sources */
.pl-ligne { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: -6px 0 18px; }
.pl-connecte .pl-ligne { margin: 14px 0 0; }
.pl-lab { font-size: 14px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: #1F5B52; min-width: 92px; }
.pl-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pl-note { margin: 12px 0 0; font-size: 14px; color: var(--encre2); }
.acc-corps .pl-note { margin: 0 0 12px; }
.pl-conseil { display: flex; align-items: flex-start; gap: 8px; margin: -8px 0 18px; padding: 10px 14px; border-radius: 14px; background: #E8F2EC; color: #17463F; font-size: 14.5px; }
.pl-conseil .pl-ico { color: #A3CDB9; margin-top: 2px; }
.pl-connecte { background: #fff; border-radius: 20px; box-shadow: var(--ombre); padding: 18px 20px; margin-bottom: 8px; }
.pl-sources { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pl-source { display: flex; align-items: center; gap: 12px; background: #FAF8F4; border: 1px solid var(--ligne); border-radius: 16px; padding: 12px 14px; color: #17463F; text-decoration: none; text-align: left; font: inherit; cursor: pointer; transition: border-color .2s ease, transform .2s ease; }
.pl-source:hover { border-color: #1F5B52; transform: translateY(-1px); }
.pl-source-ico { flex: none; width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #1F5B52; color: #fff; }
.pl-source-ico.or { background: #A3CDB9; color: #17463F; }
.pl-source-txt { display: flex; flex-direction: column; min-width: 0; }
.pl-source-txt b { font-weight: 600; font-size: 15.5px; }
.pl-source-txt small { font-size: 14px; color: var(--encre2); }
.pl-fleche { margin-left: auto; color: #1F5B52; font-size: 18px; }
.pl-connecte .choix.compact button, .pl-pil-carte .choix.compact button { font-size: 14px; }
.pl-piliers { display: grid; grid-template-columns: 1fr; gap: 10px; margin-bottom: 20px; }
.pl-pil-carte { background: #FAF8F4; border: 1px solid var(--ligne); border-left: 4px solid var(--pil, #1F5B52); border-radius: 16px; padding: 12px 14px 14px; }
.pl-pil-tete { display: flex; align-items: center; gap: 8px; }
.pl-pil-point { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--pil, #1F5B52); }
.pl-pil-nom { flex: 1; min-width: 0; border: 0; border-bottom: 1px dashed transparent; background: transparent; font-weight: 600; font-size: 16px; color: #17463F; padding: 6px 2px; }
.pl-pil-nom:focus { outline: none; border-bottom-color: #1F5B52; }
.pl-pil-carte .x { flex: none; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: var(--encre2); font-size: 14px; cursor: pointer; }
.pl-pil-carte .x:hover { background: rgba(31,91,82,.07); color: #17463F; }
.pl-pil-desc { width: 100%; font-size: 14.5px; background: #fff; border: 1px solid var(--ligne); border-radius: 10px; padding: 8px 10px; margin: 4px 0 8px; }
.pl-pil-ligne { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 6px; }
.pl-pil-ajout { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border: 1.5px dashed rgba(31,91,82,.35); border-radius: 16px; background: transparent; color: #1F5B52; font-size: 15px; font-weight: 500; cursor: pointer; }
.pl-pil-ajout:hover { background: rgba(31,91,82,.06); }
.pl-total { font-size: 15px; color: #17463F; } .pl-total b { font-size: 20px; font-weight: 600; color: #1F5B52; }
/* Les 4 teintes des piliers (vert sapin, doré, vert d'eau, olive), et la neutre */
.pil-0 { --pil: #1F5B52; --pil-fond: #E3EFEA; --pil-txt: #17463F; }
.pil-1 { --pil: #A3CDB9; --pil-fond: #E8F2EC; --pil-txt: #1F5B52; }
.pil-2 { --pil: #4E8F83; --pil-fond: #E6F1EE; --pil-txt: #2C5F56; }
.pil-3 { --pil: #7A8B55; --pil-fond: #EEF1E4; --pil-txt: #4C5A2E; }
.pil-x { --pil: #9AA39F; --pil-fond: #ECE7DE; --pil-txt: #17463F; }
.pl-pil { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 3px 10px; font-size: 14px; font-weight: 500; background: var(--pil-fond, #ECE7DE); color: var(--pil-txt, #17463F); }
.pl-pil::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--pil, #9AA39F); }

/* Les blocs Semaine et Mois */
.pl-bloc { margin-top: 26px; }
.pl-bloc-tete { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.pl-titre { min-width: 0; }
.pl-sur { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: #1F5B52; margin-bottom: 4px; }
.pl-sur .pl-ico { width: 16px; height: 16px; }
.pl-titre h2 { font-size: 22px; }
.pl-theme { display: block; margin-top: 4px; font-size: 14.5px; color: var(--encre2); }
.pl-nav { flex: none; display: flex; gap: 8px; }
.pl-progres { height: 6px; border-radius: 999px; background: #ECE7DE; overflow: hidden; margin: 2px 0 12px; }
.pl-progres span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #1F5B52, #A3CDB9); transition: width .4s ease; }
.pl-barre { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 14px; }
.pl-barre .statut { font-size: 14px; }
.pl-espace { flex: 1 1 0; }
.pl-remplir { display: inline-flex; align-items: center; gap: 6px; }
.pl-remplir .pl-ico { color: #CFE5DA; }
.pl-pret { margin-bottom: 16px; } .pl-pret p { display: flex; align-items: center; gap: 8px; } .pl-pret .pl-ico { color: #A3CDB9; }

/* La semaine : un jour = une carte (une ligne d'agenda sur grand écran) */
.pl-semaine { display: flex; flex-direction: column; gap: 10px; }
.pl-jour { background: #fff; border-radius: 18px; box-shadow: var(--ombre); padding: 12px 14px 14px; border: 1.5px solid transparent; transition: border-color .15s ease, background .15s ease; }
.pl-jour.auj { border-color: #A3CDB9; background: #FFFDF7; }
.pl-jour.passe { background: #FCFBF8; }
.pl-jour.calme { background: transparent; box-shadow: none; border: 1px dashed rgba(27,33,31,.14); padding: 8px 14px; display: flex; align-items: center; gap: 12px; }
.pl-jour.cible { border-color: #1F5B52; background: #F1F7F5; }
.pl-jour-tete { display: flex; align-items: baseline; gap: 8px; margin-bottom: 10px; }
.pl-jour.calme .pl-jour-tete { margin: 0; }
.pl-jn { font-size: 14px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--encre2); }
.pl-jd { font-family: var(--tight); font-size: 20px; font-weight: 600; color: #17463F; line-height: 1; }
.pl-jour.auj .pl-jn { color: #1F5B52; }
.pl-auj { margin-left: 4px; align-self: center; font-size: 14px; font-weight: 500; color: #1F5B52; background: #E8F2EC; border: 1px solid rgba(163, 205, 185,.45); border-radius: 999px; padding: 1px 10px; }
.pl-jour-corps { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; min-width: 0; }
.pl-jour.calme .pl-jour-corps { flex: 1; display: flex; align-items: center; justify-content: flex-end; }
.pl-rien { font-size: 14px; color: var(--encre2); }

/* Une carte de post */
.pl-post { position: relative; display: flex; flex-direction: column; gap: 6px; min-width: 0; background: #FAF8F4; border: 1px solid var(--ligne); border-radius: 16px; padding: 12px 12px 10px; cursor: grab; }
.pl-post.st-publie { background: #F1F7F5; }
.pl-post.st-publie .pl-sujet { color: var(--encre2); }
.pl-post.glisse { opacity: .45; }
.pl-post.arrive { animation: pl-pop .6s ease; }
@keyframes pl-pop { 0% { transform: scale(.94); box-shadow: 0 0 0 0 rgba(163, 205, 185,.6); } 60% { transform: scale(1.02); box-shadow: 0 0 0 8px rgba(163, 205, 185,0); } 100% { transform: none; } }
.pl-post-haut { display: flex; align-items: center; gap: 8px; min-width: 0; }
.pl-fmt { flex: none; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #ECE7DE; color: #17463F; }
.pl-fmt.fmt-carrousel { background: #1F5B52; color: #fff; }
.pl-fmt.fmt-reel { background: #17463F; color: #CFE5DA; }
.pl-fmt.fmt-stories { background: #E8F2EC; color: #1F5B52; box-shadow: inset 0 0 0 1.5px rgba(163, 205, 185,.6); }
.pl-fmt.fmt-photo { background: #D8EAE3; color: #1F5B52; }
.pl-fmt-nom { font-size: 14px; font-weight: 500; color: #17463F; }
.pl-int { margin-left: auto; font-size: 14px; color: #1F5B52; border: 1px solid rgba(163, 205, 185,.5); border-radius: 999px; padding: 1px 9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 50%; }
.pl-sujet { font-weight: 600; font-size: 15.5px; line-height: 1.3; color: #17463F; overflow-wrap: anywhere; }
.pl-hook { font-size: 14px; color: var(--encre2); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pl-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.pl-src { font-size: 14px; color: #1F5B52; }
.pl-src a { color: #1F5B52; text-decoration: underline; text-underline-offset: 2px; }
.pl-publie { font-size: 14px; color: #1F5B52; font-weight: 500; } .pl-publie a { color: #1F5B52; }
.pl-post-pied { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 4px; }
.pl-post .statut, .pl-post button.statut-choix { font-size: 14px; min-height: 36px; }
.pl-mini { flex: none; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(27,33,31,.14); background: #fff; color: #1F5B52; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.pl-mini:hover, .pl-mini[aria-expanded="true"] { border-color: #1F5B52; background: #F1F7F5; }
.pl-mini:focus-visible, .pl-ajout:focus-visible, .pl-case:focus-visible { outline: 2px solid #1F5B52; outline-offset: 2px; }
.pl-post .statut-menu { flex-basis: auto; }
.pl-menu { border-top: 1px solid var(--ligne); margin-top: 6px; padding-top: 10px; display: flex; flex-direction: column; gap: 8px; }
.pl-cibles { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.pl-cibles button { min-height: 46px; border: 1px solid rgba(27,33,31,.14); background: #fff; border-radius: 10px; color: #17463F; font: inherit; font-size: 15px; font-weight: 500; line-height: 1.1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; cursor: pointer; padding: 2px 0; }
.pl-cibles button small { font-size: 14px; font-weight: 400; color: var(--encre2); letter-spacing: -.01em; }
.pl-cibles button.on { background: #1F5B52; border-color: #1F5B52; color: #fff; } .pl-cibles button.on small { color: rgba(255,255,255,.8); }
.pl-cibles button:disabled { opacity: .3; cursor: default; }
.pl-cibles button:not(:disabled):hover { border-color: #1F5B52; }
.pl-menu-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.pl-menu-actions .btn { display: inline-flex; align-items: center; gap: 6px; }

/* Un jour libre : l'idée proposée, ou « ajouter » */
.pl-slot { display: flex; flex-direction: column; gap: 8px; min-width: 0; border: 1.5px dashed rgba(163, 205, 185,.7); background: #FFFDF6; border-radius: 16px; padding: 10px 12px 12px; }
.pl-slot-sur { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; color: #1F5B52; }
.pl-slot-sur .pl-ico { color: #A3CDB9; }
.pl-sugg { display: flex; align-items: center; gap: 10px; min-width: 0; }
.pl-sugg-txt { display: flex; flex-direction: column; min-width: 0; gap: 1px; }
.pl-sugg-txt b { font-weight: 600; font-size: 15px; line-height: 1.3; color: #17463F; overflow-wrap: anywhere; }
.pl-sugg-txt small { font-size: 14px; color: var(--encre2); line-height: 1.35; }
.pl-slot-actions { display: flex; align-items: center; gap: 6px; }
.pl-ajout { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; min-height: 46px; border: 1.5px dashed rgba(27,33,31,.16); border-radius: 14px; background: transparent; color: var(--encre2); font: inherit; font-size: 14px; cursor: pointer; padding: 8px 12px; }
.pl-ajout.pub { border-color: rgba(31,91,82,.35); color: #1F5B52; font-weight: 500; }
.pl-ajout:hover { background: rgba(31,91,82,.06); color: #1F5B52; }
.pl-jour.calme .pl-ajout { width: auto; min-height: 40px; border-style: solid; border-color: transparent; }
.pl-astuce { margin: 10px 0 0; font-size: 14px; color: var(--encre2); }

/* Le mois */
.pl-mois { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; background: #fff; border-radius: 18px; box-shadow: var(--ombre); padding: 10px; }
.pl-mois-j { text-align: center; font-size: 14px; font-weight: 500; color: var(--encre2); padding: 2px 0 6px; }
.pl-case { position: relative; min-width: 0; min-height: 54px; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 4px; padding: 6px 2px; border: 1px solid transparent; border-radius: 12px; background: #FAF8F4; color: #17463F; font: inherit; cursor: pointer; transition: background .15s ease, border-color .15s ease; }
.pl-case:hover { border-color: rgba(31,91,82,.35); }
.pl-case.hors { opacity: .38; }
.pl-case.passe .pl-num { color: var(--encre2); }
.pl-num { font-size: 14px; font-weight: 500; line-height: 22px; min-width: 24px; text-align: center; border-radius: 999px; }
.pl-case.auj .pl-num { background: #A3CDB9; color: #17463F; font-weight: 600; }
.pl-case.choisi { background: #1F5B52; border-color: #1F5B52; color: #fff; }
.pl-case.choisi .pl-num { color: #fff; } .pl-case.choisi.auj .pl-num { color: #17463F; }
.pl-case.cible { border-color: #1F5B52; background: #F1F7F5; }
.pl-points { display: flex; align-items: center; justify-content: center; gap: 3px; min-height: 8px; }
.pl-points i, .pl-legende i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex: none; }
.pl-case.choisi .pl-points i { box-shadow: 0 0 0 1.5px #fff; }
.pl-points em { display: none; }
i.st-a-creer { background: #B5AEA2; } i.st-en-cours { background: #A3CDB9; } i.st-cree { background: #7FB5A5; } i.st-publie { background: #1F5B52; }
.pl-minis { display: none; }
.pl-legende { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 10px 2px 0; font-size: 14px; color: var(--encre2); }
.pl-legende span { display: inline-flex; align-items: center; gap: 6px; }
.pl-detail { margin-top: 14px; background: #fff; border-radius: 18px; box-shadow: var(--ombre); padding: 14px 16px 16px; }
.pl-detail-tete { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; margin-bottom: 10px; }
.pl-detail-tete b { font-weight: 600; font-size: 16px; }
.pl-detail-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; margin-bottom: 10px; }

/* La feuille « une idée pour ce jour » */
.pl-voile { position: fixed; inset: 0; z-index: 150; background: rgba(21,63,57,.38); }
.pl-feuille { position: fixed; z-index: 151; left: 0; right: 0; bottom: 0; max-height: 86vh; max-height: 86dvh; display: flex; flex-direction: column; background: #fff; border-radius: 22px 22px 0 0; padding: 18px 16px calc(16px + env(safe-area-inset-bottom)); box-shadow: 0 -20px 50px -20px rgba(21,63,57,.35); outline: none; animation: pl-monte .25s ease; }
@keyframes pl-monte { from { transform: translateY(30px); opacity: 0; } to { transform: none; opacity: 1; } }
.pl-feuille-tete { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.pl-feuille-tete > div { display: flex; flex-direction: column; }
.pl-feuille-tete b { font-family: var(--tight); font-size: 18px; font-weight: 600; color: #17463F; }
.pl-feuille-tete .pl-sur { margin: 0; }
.pl-feuille .x { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(27,33,31,.14); background: #fff; color: #17463F; font-size: 15px; cursor: pointer; }
.pl-filtres button { font-size: 14px; }
.pl-feuille-liste { flex: 1 1 auto; overflow-y: auto; margin: 10px -4px 0; padding: 0 4px; min-height: 80px; }
.pl-choix-idee { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--ligne); }
.pl-choix-idee .pl-sugg-txt { flex: 1; }
.pl-choix-idee .btn { flex: none; }
.pl-feuille-vide { padding: 14px 0; color: var(--encre2); font-size: 15px; }
.pl-feuille-liens { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.pl-libre { border-top: 1px solid var(--ligne); padding-top: 12px; margin-top: 8px; }
.pl-libre label { display: block; font-size: 14px; font-weight: 500; color: #1F5B52; margin-bottom: 6px; }
.pl-libre-ligne { display: flex; gap: 8px; }
.pl-libre-ligne input { flex: 1; min-width: 0; font-size: 15px; border: 1px solid rgba(27,33,31,.18); border-radius: 12px; padding: 10px 12px; background: #FAF8F4; }
.pl-libre-ligne select { flex: none; font-size: 15px; border: 1px solid rgba(27,33,31,.18); border-radius: 12px; padding: 0 8px; background: #fff; max-width: 118px; }

@media (min-width: 700px) {
  .pl-feuille { left: 50%; right: auto; top: 50%; bottom: auto; width: min(580px, 92vw); max-height: 80vh; transform: translate(-50%, -50%); border-radius: 22px; padding: 22px; animation: none; }
  .pl-jour:not(.calme) { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; align-items: start; }
  .pl-jour:not(.calme) .pl-jour-tete { flex-direction: column; align-items: flex-start; gap: 4px; margin: 2px 0 0; }
  .pl-jour:not(.calme) .pl-jd { font-size: 26px; }
  .pl-jour:not(.calme) .pl-auj { margin: 2px 0 0; padding: 1px 8px; }
  .pl-jour.calme { padding-left: 16px; }
  .pl-jour.calme .pl-jour-tete { width: 76px; }
  .pl-piliers { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .pl-mois { gap: 6px; padding: 12px; }
  .pl-case { min-height: 104px; align-items: stretch; padding: 6px; }
  .pl-num { align-self: flex-start; }
  .pl-points { display: none; }
  .pl-minis { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
  .pl-minis em { font-style: normal; font-size: 14px; color: var(--encre2); padding-left: 2px; }
  .pl-case.choisi .pl-minis em { color: rgba(255,255,255,.85); }
  .pl-minitag { display: flex; align-items: center; gap: 4px; min-width: 0; font-size: 14px; line-height: 1.25; text-align: left; background: #fff; color: #17463F; border-radius: 7px; padding: 2px 5px; border-left: 3px solid #B5AEA2; }
  .pl-minitag > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .pl-minitag.st-en-cours { border-left-color: #A3CDB9; } .pl-minitag.st-cree { border-left-color: #7FB5A5; } .pl-minitag.st-publie { border-left-color: #1F5B52; }
  .pl-case.choisi .pl-minitag { background: rgba(255,255,255,.94); }
  .pl-titre h2 { font-size: 24px; }
}
@media (max-width: 640px) {
  .pl-choix, .pl-sources { grid-template-columns: 1fr; }
  .pl-choix-carte { padding: 18px; }
  .pl-connecte { padding: 16px; }
  .pl-titre h2 { font-size: 20px; }
  .pl-bloc-tete { align-items: flex-start; }
  .pl-mois { padding: 8px 6px; gap: 3px; margin: 0 -4px; }
  .pl-case { min-height: 50px; padding: 5px 0; border-radius: 10px; }
  .pl-legende { gap: 6px 12px; }
  .pl-lab { min-width: 0; width: 100%; }
  .pl-jour-corps { grid-template-columns: minmax(0, 1fr); }
  .pl-detail { padding: 14px 12px; }
  .pl-detail-posts { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 420px) {
  .pl-mode { padding: 12px; gap: 8px; }
  .pl-mode-ico { display: none; }
  .pl-mode-txt b { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .pl-post.arrive, .pl-feuille { animation: none; }
  .pl-choix-carte, .pl-source, .pl-progres span { transition: none; }
}

/* ---------- 30/09 · Page Photos en 8 encadrés ---------- */
.ph-tuiles { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.ph-tuiles .mode-img.ph-ico { display: grid; place-items: center; background: linear-gradient(160deg, #1F5B52, #17463F); color: #FAF8F4; }
.ph-tuiles .mode-img.ph-ico svg { width: 46px; height: 46px; }
.ph-tuiles .mode:hover .mode-img.ph-ico svg { transform: scale(1.06); transition: transform .3s; }
.lien-biblio .btn { white-space: nowrap; }
.ph-combine { display: flex; flex-wrap: wrap; gap: 10px; }
.ph-combine-img { position: relative; width: 96px; height: 96px; border-radius: 12px; overflow: hidden; background: var(--surface); }
.ph-combine-img img { width: 100%; height: 100%; object-fit: cover; }
.ph-combine-img .x { position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: #17463F; cursor: pointer; font-size: 14px; }
.ph-combine-depot { width: 96px; height: 96px; display: grid; place-items: center; text-align: center; font-size: 14px; padding: 8px; }
.ph-combine-depot:first-child { width: 100%; height: auto; padding: 22px 14px; }
@media (max-width: 640px) { .ph-tuiles { grid-template-columns: 1fr 1fr; gap: 10px; } }
/* Planning : les 7 jours tiennent sur une ligne, même au téléphone */
.pl-connecte #c-jours { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; flex: 1 1 280px; max-width: 460px; }
.pl-connecte #c-jours button { padding: 8px 0; text-align: center; }
.pl-pil-carte .choix.pl-7 { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; flex: 1 1 280px; max-width: 460px; }
.pl-pil-carte .choix.pl-7 button { padding: 7px 0; text-align: center; }
/* Vidéo : le lien vers « Remplacer un élément » (30/09), plus discret que « Réalise ma vidéo » */
.realise.lien-remplacer { background: var(--surface); color: var(--bx); text-decoration: none; box-shadow: none; }
.realise.lien-remplacer:hover { background: var(--ok-fond); }
/* Un hook (30/09) */
.hk-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.hk-carte { background: #fff; border-radius: var(--radius); padding: 18px; box-shadow: var(--ombre); display: flex; flex-direction: column; gap: 8px; }
.hk-haut { display: flex; align-items: center; justify-content: space-between; }
.hk-type { font-size: 14px; font-weight: 500; color: var(--bx2); background: var(--ok-fond); padding: 3px 10px; border-radius: 999px; }
.hk-garder { background: none; border: 0; color: var(--encre2); cursor: pointer; padding: 4px; border-radius: 8px; }
.hk-garder.on { color: var(--or); }
.hk-garder.on svg { fill: currentColor; }
.hk-texte { font-size: 16px; font-weight: 600; color: var(--bx); line-height: 1.35; margin: 0; }
.hk-ecran { font-size: 14px; color: var(--bx); margin: 0; }
.hk-ecran b { font-weight: 600; color: var(--or-texte); margin-right: 6px; }
.hk-pourquoi { font-size: 14px; color: var(--encre2); margin: 0; }
.hk-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 4px; }
.hk-avis { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 22px; }
.hk-note { flex: none; width: 64px; height: 64px; border-radius: 50%; background: var(--bx2); color: #fff; display: flex; align-items: baseline; justify-content: center; padding-top: 16px; }
.hk-note b { font-size: 24px; font-weight: 600; } .hk-note small { font-size: 14px; opacity: .8; }
.hk-mieux { font-size: 15.5px; } .hk-mieux b { font-weight: 600; }
/* Icônes vivantes du 30/09 : veille, planning, audit, hook, remplacer (la face caméra est retirée le 08/11/2026) */
.vv-vl-bras { transform-origin: 80px 44px; transform-box: view-box; } /* 06/10 : l'origine en unités du dessin, sinon le bras tourne à côté du centre et sort du cadran quand l'icône est agrandie */ .carte:hover .vv-vl-bras, .carte.joue .vv-vl-bras { animation: vv-tour 2.4s linear infinite; }
.vv-vl-p1, .vv-vl-p2 { opacity: .25; } .carte:hover .vv-vl-p1, .carte.joue .vv-vl-p1 { animation: vv-bip 2.4s .5s infinite; } .carte:hover .vv-vl-p2, .carte.joue .vv-vl-p2 { animation: vv-bip 2.4s 1.6s infinite; }
@keyframes vv-tour { to { transform: rotate(360deg); } }
@keyframes vv-bip { 0%, 100% { opacity: .25; } 10%, 40% { opacity: 1; } }
.carte:hover .vv-pl-a, .carte.joue .vv-pl-a { animation: vv-lien .5s .1s cubic-bezier(.3,1.4,.5,1) both; }
.carte:hover .vv-pl-b, .carte.joue .vv-pl-b { animation: vv-lien .5s .35s cubic-bezier(.3,1.4,.5,1) both; }
.carte:hover .vv-pl-c, .carte.joue .vv-pl-c { animation: vv-lien .5s .6s cubic-bezier(.3,1.4,.5,1) both; }
.vv-au-loupe { transition: transform 1.2s ease-in-out; } .carte:hover .vv-au-loupe, .carte.joue .vv-au-loupe { transform: translate(-26px, -18px); }
.vv-hk-l1, .vv-hk-l2 { transform-box: fill-box; transform-origin: left center; } .carte:hover .vv-hk-l1, .carte.joue .vv-hk-l1 { animation: vv-hk .5s cubic-bezier(.3,1.4,.5,1) both; } .carte:hover .vv-hk-l2, .carte.joue .vv-hk-l2 { animation: vv-hk .5s .2s cubic-bezier(.3,1.4,.5,1) both; }
@keyframes vv-hk { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.vv-hk-main { transition: transform .5s ease; } .carte:hover .vv-hk-main, .carte.joue .vv-hk-main { transform: translateY(-6px); }
.vv-rp-b { opacity: 0; transition: opacity .6s ease .3s; } .carte:hover .vv-rp-b, .carte.joue .vv-rp-b { opacity: 1; }

/* Créer : les cartes « À venir » (30/09) et la pastille de la formule du dessus */
.carte.a-venir { cursor: default; box-shadow: none; background: var(--surface); }
.carte.a-venir .visuel { opacity: .75; }
.a-venir-badge { position: absolute; top: 10px; right: 10px; z-index: 1; font-size: 14px; font-weight: 500; color: var(--or-texte); background: var(--ok-fond); padding: 3px 10px; border-radius: 999px; }

/* Photos (30/09) : les couvertures en entier (4:5), sans pastille ; les références par rôle */
.ph-tuiles .mode .mode-img { aspect-ratio: 4/5; }
.ph-tuiles .mode .mode-img img { object-position: center 30%; }
.ph-biblio { margin: 26px 0 0; }
.ph-roles > .section:first-child { margin-top: 18px; }
.ph-zoom-act .mb-danger { color: #9B2C2C; }

/* ---------- 30/09 · Clone, avatar ou produit : « Créer un produit » (public/avatar.js) ----------
   7 angles fixes + photos libres (étape 1), puis brute → studio côte à côte (étape 2), et « Mes produits » sur la page.
   Même famille que le clone : cartes blanches, bordure dorée quand la photo est posée, ✕ rond du coin. Textes à 14 px au moins. */
.avatar-actions.trois { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .avatar-actions.trois { grid-template-columns: 1fr; } }
.avatar-actions .da-carte small { font-size: 14px; line-height: 1.4; }
.pr-cases { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; margin-top: 12px; }
.pr-case { display: flex; flex-direction: column; gap: 8px; min-width: 0; background: #fff; border: 1.5px solid rgba(23,70,63,.14); border-radius: 16px; padding: 12px; }
.pr-case.ok { border-color: var(--or); }
.pr-case-tete { display: flex; align-items: center; gap: 10px; min-height: 40px; }
.pr-case-tete b { font-weight: 600; font-size: 15px; color: var(--bx); }
.pr-ico { flex: none; width: 40px; height: 40px; color: var(--bx); }
.pr-ico .hl { fill: var(--or); opacity: .5; }
.pr-ico .fl { stroke: var(--bx2); }
.pr-libelle { flex: 1; min-width: 0; border: 1px solid rgba(23,70,63,.16); border-radius: 10px; padding: 7px 10px; font: inherit; font-size: 15px; font-weight: 600; color: var(--bx); background: #fff; }
.pr-libelle:focus { outline: 2px solid var(--bx2); outline-offset: 1px; border-color: transparent; }
.pr-depot { min-height: 0; aspect-ratio: 1; padding: 10px; }
.pr-photo { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--surface); }
.pr-voir { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.pr-photo img, .pr-duo figure img { width: 100%; height: 100%; display: block; }
.pr-photo img { object-fit: cover; }
.pr-photo .x, .pr-carte .pr-suppr { position: absolute; top: 6px; right: 6px; z-index: 3; width: 28px; height: 28px; border: 0; border-radius: 50%; background: rgba(255,255,255,.94); color: var(--bx); font-size: 14px; line-height: 1; display: grid; place-items: center; box-shadow: 0 1px 4px rgba(23,70,63,.18); cursor: pointer; }
.pr-photo .x:hover, .pr-carte .pr-suppr:hover { background: #fff; color: var(--bx2); }
.pr-conseil { font-size: 14px; line-height: 1.35; color: var(--encre2); }
.pr-case-act { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: auto; }
.pr-case-act .btn.petit { font-size: 14px; }
.pr-case-act .btn.lien { padding: 6px 4px; }
.pr-plus { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 180px; border: 1.5px dashed rgba(23,70,63,.22); border-radius: var(--radius); background: var(--surface); color: var(--bx2); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.pr-plus:hover { border-color: var(--bx2); background: var(--ok-fond); }
.pr-det-nom { font-size: 16px; font-weight: 600; color: var(--bx); }
.pr-det-poses .pose-voir img { object-fit: contain; background: #fff; }
/* Étape 2 : brute → studio */
.pr-duos { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.pr-duo { background: #fff; border: 1.5px solid rgba(23,70,63,.14); border-radius: 16px; padding: 12px 14px; }
.pr-duo-tete { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.pr-duo-tete b { font-weight: 600; font-size: 15px; color: var(--bx); min-width: 0; overflow-wrap: anywhere; }
.pr-etat { margin-left: auto; font-size: 14px; color: var(--encre2); text-align: right; }
.pr-duo-imgs { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 10px; align-items: center; max-width: 520px; }
.pr-duo figure { margin: 0; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pr-duo figure > .pr-voir, .pr-vide { aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--surface); border: 2px solid transparent; }
.pr-duo figure.on > .pr-voir { border-color: var(--bx2); }
.pr-duo figure img { object-fit: contain; }
.pr-duo figcaption { font-size: 14px; color: var(--encre2); text-align: center; }
.pr-duo figure.on figcaption { color: var(--bx); font-weight: 600; }
.pr-fleche { font-size: 18px; color: var(--encre2); }
.pr-vide { display: flex; align-items: center; justify-content: center; font-size: 14px; color: var(--encre2); }
.pr-vide .rond { width: 22px; height: 22px; border: 2px solid rgba(23,70,63,.15); border-top-color: var(--bx); border-radius: 50%; animation: tourne .9s linear infinite; }
.pr-duo-act { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.pr-duo-act .btn.petit { font-size: 14px; }
/* Mes produits (page Créer) : les cartes des avatars, avec le ✕ pour supprimer */
.pr-liste-tete { margin-top: 30px; }
.pr-carte { position: relative; min-width: 0; }
.pr-carte .av-carte { width: 100%; }
.pr-carte .av-carte img { object-fit: contain; background: var(--surface); }
.pr-carte .av-bas small { font-size: 14px; }
.pr-carte .av-vide svg { width: 44px; height: 44px; }
@media (max-width: 640px) {
  .pr-cases { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pr-case { padding: 10px; }
  .pr-case-tete { gap: 8px; }
  .pr-ico { width: 34px; height: 34px; }
}
.pr-case-act .btn.mb-danger, #pr-suppr { color: #A1302A; }
.pr-det-type { font-size: 15.5px; color: var(--bx); margin: 10px 0 0; }
/* Photos (30/09) : les références en cartes à sélectionner, contour vert quand elles sont prises */
.ph-refs-groupe { margin-top: 8px; }
.ph-refs-groupe > small { display: block; font-size: 14px; color: var(--encre2); margin: 6px 0 8px; }
.ph-refs-cartes { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 132px)); gap: 10px; }
.ph-ref { position: relative; display: flex; flex-direction: column; text-align: left; padding: 0; overflow: hidden; background: #fff; border: 2px solid rgba(23,70,63,.12); border-radius: 14px; cursor: pointer; color: var(--bx); font: inherit; text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.ph-ref:hover { border-color: rgba(31,91,82,.45); }
.ph-ref.on { border-color: var(--bx2); box-shadow: 0 0 0 2px rgba(31,91,82,.18); }
.ph-ref-img { display: block; aspect-ratio: 1; background: var(--surface); }
.ph-ref-img img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.ph-ref-txt { display: flex; flex-direction: column; gap: 2px; padding: 8px 10px 10px; }
.ph-ref-txt b { font-size: 14px; font-weight: 600; }
.ph-ref-txt small { font-size: 14px; color: var(--encre2); }
.ph-ref-coche { position: absolute; top: 8px; right: 8px; width: 26px; height: 26px; border-radius: 50%; background: var(--bx2); color: #fff; display: none; place-items: center; font-size: 14px; }
.ph-ref.on .ph-ref-coche { display: grid; }
.ph-ref-creer { align-items: center; justify-content: center; gap: 8px; min-height: 132px; border-style: dashed; background: var(--surface); }
.ph-ref-creer .ph-ref-txt { align-items: center; text-align: center; }
/* Photos (30/09) : déposer ou coller une épingle Pinterest */
.ph-depot-bloc { margin-top: 4px; }
.ph-pin { margin-top: 8px; }
.depot.survol { border-color: var(--bx2); background: var(--ok-fond); }
.ph-pin { display: flex; gap: 8px; } .ph-pin input { flex: 1; min-width: 0; }

/* Photos (01/10) : les images générées en galerie de vignettes, trois pastilles bien visibles (garder, télécharger, supprimer) */
.ph-resultats { grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; }
.ph-res.en-cours { min-height: 0; aspect-ratio: 3/4; font-size: 14px; text-align: center; padding: 8px; }
.ph-res-img img { aspect-ratio: 3/4; object-fit: cover; }
.ph-res-act { top: auto; bottom: 8px; right: 0; left: 0; justify-content: center; gap: 6px; }
.ph-res-act button, .ph-res-act a { width: 32px; height: 32px; border-radius: 50%; border: 0; background: #fff; color: var(--bx); cursor: pointer; box-shadow: 0 2px 8px rgba(23,70,63,.25); display: grid; place-items: center; text-decoration: none; }
.ph-res-act .ph-ok:hover, .ph-res.valide .ph-ok { background: var(--bx2); color: #fff; }
.ph-res-act .ph-dl:hover { background: var(--or); color: #fff; }
.ph-res-act .ph-x:hover { background: #9B2C2C; color: #fff; }
.ph-res.valide { box-shadow: 0 0 0 2px var(--bx2); }
/* Photos (01/10) : références compactes, sans photo, côte à côte ; personnage et produit côte à côte quand il y a la place */
.ph-roles { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 18px; align-items: start; }
.ph-refs-cartes { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; }
.ph-ref { min-height: 64px; justify-content: center; padding-right: 30px; }
.ph-ref-txt { padding: 10px 12px; }
.ph-ref-coche { top: 50%; right: 8px; transform: translateY(-50%); width: 22px; height: 22px; font-size: 13px; }
.ph-ref-creer { min-height: 64px; flex-direction: row; padding: 10px 12px; }
/* Photos (01/10) : les 8 encadrés sans photo de couverture, une icône et le texte */
.ph-tuiles-simples { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.ph-tuile { display: flex; align-items: center; gap: 14px; text-align: left; padding: 16px; background: var(--carte); border: 1px solid transparent; border-radius: var(--radius); box-shadow: var(--ombre); color: var(--bx); font: inherit; cursor: pointer; transition: border-color .2s, transform .2s; }
.ph-tuile:hover { border-color: rgba(31,91,82,.35); transform: translateY(-1px); }
.ph-tuile-ico { flex: none; width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(160deg, #1F5B52, #17463F); color: #FAF8F4; display: grid; place-items: center; }
.ph-tuile-ico svg { width: 24px; height: 24px; }
.ph-tuile-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.ph-tuile-txt b { font-size: 16px; font-weight: 600; }
.ph-tuile-txt small { font-size: 14px; color: var(--encre2); line-height: 1.4; }
.ph-tuile-go { flex: none; color: var(--bx2); font-size: 18px; }
@media (max-width: 640px) { .ph-tuiles-simples { grid-template-columns: 1fr; gap: 10px; } }
.lien-ici { font-weight: 600; text-decoration: underline; color: inherit; }
.pem-astuce { display: block; margin-top: 6px; font-size: 14px; color: var(--or-texte); }

/* ---------- 01/10 · Clone, avatar, produit ou mascotte : « Créer une mascotte » (public/avatar.js) ----------
   Quatre cartes côte à côte sur grand écran, 2 × 2 en dessous (téléphone compris). Textes à 14 px au moins, graisse 600 au plus. */
.avatar-actions.quatre { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .avatar-actions.quatre { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 400px) { .avatar-actions.quatre { gap: 8px; } .avatar-actions.quatre .da-carte { padding: 12px; } }
/* Étape 1 : les deux départs, puis les produits de « Mes produits » en cartes avec leur photo */
.ms-depart { margin-bottom: 4px; }
.ms-depart .da-carte { cursor: pointer; }
.ms-depart .da-carte small { font-size: 14px; line-height: 1.4; }
.ms-produits { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 10px; }
.ms-produit { display: flex; flex-direction: column; gap: 6px; padding: 6px; border: 1.5px solid rgba(27,33,31,.14); border-radius: 14px; background: #fff; color: var(--bx); font: inherit; text-align: left; cursor: pointer; }
.ms-produit img { width: 100%; aspect-ratio: 1; object-fit: contain; background: var(--fond); border-radius: 10px; }
.ms-produit span { font-size: 14px; font-weight: 500; line-height: 1.3; padding: 0 4px 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ms-produit:hover { border-color: rgba(31,91,82,.45); }
.ms-produit.on { border-color: var(--bx2); box-shadow: 0 0 0 2px rgba(31,91,82,.22); }
/* Étape 2 : « + Une couleur » dans la rangée des pastilles, les 4 idées de designs libres */
.ms-couleur-plus { position: relative; display: inline-flex; align-items: center; border: 1px dashed rgba(27,33,31,.3); border-radius: 999px; padding: 9px 16px; font-size: 14px; font-weight: 500; color: var(--bx2); background: var(--fond); cursor: pointer; }
.ms-couleur-plus input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; border: 0; padding: 0; }
.ms-idees { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
@media (max-width: 640px) { .ms-idees { grid-template-columns: 1fr; } }
/* Étape 3 : la fiche en 4:5, pas plus haute que l'écran */
.editeur.page > .ms-fiche, .ms-fiche { max-width: 420px; margin-left: auto; margin-right: auto; }
.ms-fiche img { cursor: zoom-in; }
/* Étape 4 : chaque photo, avec « Relancer » et « L'ancienne » en dessous */
.ms-pose { display: flex; flex-direction: column; min-width: 0; }
.ms-pose .pose-voir img { object-fit: contain; background: #fff; }
.ms-pose-act { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 4px; margin-top: 2px; }
.ms-pose-act .btn.lien.petit { padding: 4px 6px; font-size: 14px; white-space: nowrap; }
.ms-rond { position: absolute; top: calc(50% - 38px); left: calc(50% - 10px); width: 16px; height: 16px; border: 2px solid var(--surface); border-top-color: var(--bx); border-radius: 50%; animation: tourne .9s linear infinite; }
/* Photos (01/10, v3) : références = petite vignette carrée + nom, type, nombre de photos (sans chevauchement) */
.ph-refs-cartes { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 116px)); gap: 10px; }
.ph-ref { display: flex; flex-direction: column; min-height: 0; padding: 0; justify-content: flex-start; }
.ph-ref-img { position: relative; display: block; aspect-ratio: 1; background: var(--surface); overflow: hidden; }
.ph-ref-img img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.ph-ref-txt { padding: 8px 9px 10px; gap: 1px; min-width: 0; }
.ph-ref-txt b { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph-ref-txt small { font-size: 14px; color: var(--encre2); line-height: 1.3; }
.ph-ref-coche { top: 6px; right: 6px; transform: none; width: 24px; height: 24px; box-shadow: 0 1px 4px rgba(23,70,63,.3); }
.ph-ref-creer { min-height: 116px; flex-direction: column; justify-content: center; align-items: center; padding: 10px; grid-column: span 2; max-width: 242px; }
.ph-roles { grid-template-columns: 1fr; }
/* Les 3 méthodes : 3 cartes verticales sur ordinateur, une colonne compacte au téléphone ; la bibliothèque en tête */
.ph-biblio { margin: 0 0 18px; }
.ph-tuiles-simples { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ph-tuile { flex-direction: column; align-items: flex-start; gap: 12px; padding: 20px; min-height: 196px; position: relative; }
.ph-tuile-txt b { font-size: 17px; }
.ph-tuile-go { position: absolute; right: 18px; bottom: 16px; }
@media (max-width: 760px) {
  .ph-tuiles-simples { grid-template-columns: 1fr; gap: 10px; }
  .ph-tuile { flex-direction: row; align-items: center; min-height: 0; padding: 14px 40px 14px 14px; }
  .ph-tuile-ico { width: 44px; height: 44px; }
  .ph-tuile-txt b { font-size: 16px; }
  .ph-tuile-go { right: 14px; bottom: auto; top: 50%; transform: translateY(-50%); }
}
@media (min-width: 761px) { .ph-tuile { padding-bottom: 44px; } }
.ph-refs-cartes { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
/* Barre d'étapes au téléphone (01/10) : une ligne de pastilles qui défile, sans gros bloc gris */
@media (max-width: 640px) {
  .etapes { align-items: center; gap: 6px; margin-bottom: 14px; -webkit-overflow-scrolling: touch; }
  .etape { border-radius: 999px; padding: 6px 12px 6px 6px; min-height: 0; height: auto; align-self: center; }
  .etape.actif { background: var(--doux); }
  .etape .nom { font-size: 14px; }
  .etape .num { font-size: 14px; width: 24px; height: 24px; }
}
/* Mascotte (01/10) : choisir un logo de l'identité ou en importer un */
.ms-logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; margin-top: 10px; }
.ms-logo { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px; background: #fff; border: 2px solid rgba(23,70,63,.12); border-radius: 14px; cursor: pointer; font: inherit; font-size: 14px; color: var(--bx); text-align: center; }
.ms-logo img { width: 100%; aspect-ratio: 1; object-fit: contain; background: var(--surface); border-radius: 8px; }
.ms-logo span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.ms-logo.on { border-color: var(--bx2); box-shadow: 0 0 0 2px rgba(31,91,82,.18); }
.ms-logo-plus { justify-content: center; border-style: dashed; background: var(--surface); min-height: 110px; }
.ms-logo-plus span { white-space: normal; line-height: 1.25; } .ms-logos { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); }
/* Photos (02/10) : les tags @photo1, @photo2… sur les photos importées, à citer dans la description */
.ph-combine-img { position: relative; }
.ph-tag { position: absolute; left: 4px; bottom: 4px; background: var(--bx2); color: #fff; font-size: 14px; font-weight: 500; line-height: 1; padding: 3px 7px; border-radius: 999px; pointer-events: none; }
.section .ph-tag { position: static; display: inline-block; margin-left: 6px; text-transform: none; letter-spacing: 0; vertical-align: 1px; }
.ph-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; }
.ph-tag-btn { border: 0; background: var(--ok-fond); color: var(--bx2); font: inherit; font-size: 14px; font-weight: 500; padding: 4px 10px; border-radius: 999px; cursor: pointer; }
.ph-tag-btn:hover { background: var(--bx2); color: #fff; }
/* Clone, avatar, produit, mascotte (02/10) : les 4 cartes au même dessin que Photo et Vidéo */
.ph-tuiles-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1180px) { .ph-tuiles-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .ph-tuiles-4 { grid-template-columns: 1fr; } }

/* 03/10 (Lisa) : créer ouvre une VRAIE page, plus un panneau qui glisse à droite (Photo, Clone/avatar/produit/mascotte).
   Le même #editeur, posé dans la page : on en sort avec la flèche Retour de l'app, la croix et le plein écran disparaissent. */
.editeur.en-page, .editeur.large.en-page { position: static; display: block; width: auto; max-width: 820px; height: auto; margin: 0; padding: 0; background: transparent; box-shadow: none; overflow: visible; z-index: auto; overscroll-behavior: auto; }
.editeur.en-page .tete { align-items: flex-start; margin-bottom: 22px; }
.editeur.en-page .tete h3 { font-family: var(--large); font-weight: 500; font-size: 30px; line-height: 1.12; text-transform: uppercase; letter-spacing: .02em; margin-top: 4px; }
.editeur.en-page .tete .fermer, .editeur.en-page .ph-plein, .editeur.en-page [data-plein] { display: none; }
.editeur.en-page .ph-recommencer, .editeur.en-page [data-recommencer] { margin-top: 12px; }
.ph-page, .av-page { max-width: 820px; }
@media (max-width: 760px) {
  .editeur.en-page, .editeur.large.en-page { width: auto; padding: 0; }
  .editeur.en-page .tete h3 { font-size: 24px; }
}

/* 03/10 soir : la timeline des créations (clone, avatar, produit, mascotte), au dessin de la vidéo cinématique. */
.ci-etapes.av-etapes { grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); margin: 0 0 20px; }
.av-outils { margin: 0 0 14px; }
.editeur.en-page .tete { margin-bottom: 14px; }
@media (max-width: 760px) { .ci-etapes.av-etapes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* 03/10 (Lisa) : dans Mes créations, une photo ou une vidéo a la pastille d'expiration et les trois actions des galeries
   (☁ Drive, ↓ télécharger, ✕ supprimer) ; au-dessus de la liste, pourquoi garder ses créations sur son Google Drive. */
.crea-vue { position: relative; }
.crea .exp { display: inline-block; margin-left: 6px; font-size: 12px; font-weight: 500; line-height: 1; padding: 4px 8px; border-radius: 999px; background: var(--doux); color: var(--encre2); white-space: nowrap; vertical-align: 1px; }
.crea .exp.bientot { background: var(--bx2); color: #fff; }
.crea-media .crea-corps { padding-right: 0; padding-bottom: 34px; }
.crea-pastilles { position: absolute; right: 10px; bottom: 10px; display: flex; gap: 6px; }
.crea-pastilles a, .crea-pastilles button { width: 30px; height: 30px; border: 0; border-radius: 8px; background: var(--doux); color: var(--bx); display: inline-flex; align-items: center; justify-content: center; text-decoration: none; cursor: pointer; font-size: 14px; }
.crea-pastilles a:hover, .crea-pastilles button:hover { background: var(--bx2); color: #fff; }
.crea-pastilles .fait, .crea-pastilles .fait:hover { background: var(--ok-fond); color: var(--bx2); cursor: default; }
.drive-pourquoi { margin: 0 0 18px; }
.drive-pourquoi p + p { margin-top: 8px; }
.drive-pourquoi b { font-weight: 600; }

/* Cover « Discuter avec une IA » (03/10) : la réponse arrive, les trois points dansent. */
.vv-ch-q, .vv-ch-r, .vv-ch-pt { transform-box: fill-box; transform-origin: 50% 100%; }
.carte:hover .vv-ch-r, .carte.joue .vv-ch-r { animation: vv-ch-arrive .5s cubic-bezier(.3,1.4,.5,1) both; }
.carte:hover .vv-ch-pt, .carte.joue .vv-ch-pt { animation: vv-ch-saut .9s ease-in-out infinite; }
.carte:hover .vv-ch-pt.p2, .carte.joue .vv-ch-pt.p2 { animation-delay: .15s; }
.carte:hover .vv-ch-pt.p3, .carte.joue .vv-ch-pt.p3 { animation-delay: .3s; }
@keyframes vv-ch-arrive { from { transform: scale(.82) translateY(4px); opacity: .4; } }
@keyframes vv-ch-saut { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-4px); } }
/* Un espace fermé dans le rail (Ma journée, 03/10) : visible, avec son cadenas, sans lien. */
.espace.ferme { cursor: default; opacity: .62; }
.espace.ferme:hover { background: none; }
.espace.ferme .ico { position: relative; }

/* « Créer un reference sheet » (03/10) : la carte verte sous les 4 tuiles, et « Mes reference sheets ». */
.rs-carte { display: flex; align-items: center; gap: 16px; width: 100%; text-align: left; padding: 20px 22px; margin-bottom: 22px; background: var(--bx2); color: #fff; border: 0; border-radius: var(--radius); box-shadow: var(--ombre); font: inherit; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.rs-carte:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(23,70,63,.22); }
.rs-carte:focus-visible { outline: 2px solid var(--or); outline-offset: 2px; }
.rs-carte-ico { flex: none; width: 48px; height: 48px; border-radius: 14px; background: rgba(255,255,255,.14); display: inline-flex; align-items: center; justify-content: center; color: var(--or2); }
.rs-carte-ico svg { width: 26px; height: 26px; }
.rs-carte-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.rs-carte-txt b { font-size: 17px; font-weight: 600; }
.rs-carte-txt small { font-size: 14.5px; line-height: 1.45; color: rgba(255,255,255,.86); }
.rs-carte-go { flex: none; font-size: 20px; color: var(--or2); }
.rs-sheets { margin-top: 0; }
.rs-sheets .ph-res { position: relative; }
.rs-type { position: absolute; top: 8px; left: 8px; z-index: 1; padding: 4px 10px; border-radius: 999px; background: var(--bx2); color: #fff; font-size: 14px; font-weight: 500; pointer-events: none; }
.rs-vide { margin: 0; }
#rs-biblio .ci-nom { width: 100%; }
.vlb-vignettes-refs, .ci-rc-refs { flex-wrap: wrap; }
@media (max-width: 640px) { .rs-carte { padding: 16px; gap: 12px; } .rs-carte-ico { width: 42px; height: 42px; } }

/* 04/10 : onglets « Créer » / « La bibliothèque » (Photos) et « Créer » / « Mes templates » (Carrousels). */
.onglets.grands a.onglet { text-decoration: none; }
.ph-onglets, .cr-onglets { margin-top: 0; }

/* 04/10 (Lisa, proposition B) : les grands onglets de page sont un SÉLECTEUR SEGMENTÉ, partout (Mes créations, Actualités,
   Mes notes, Ma journée, Photos, Carrousels) : un seul bloc arrondi, des moitiés égales, la vue active remplie en vert. */
.onglets.grands { display: inline-flex; flex-wrap: nowrap; gap: 0; max-width: 100%; padding: 4px; border-radius: 999px; background: var(--surface); }
.onglets.grands .onglet { flex: 1 1 0; min-width: 132px; justify-content: center; border: 0; background: none; color: var(--bx); padding: 10px 22px; border-radius: 999px; font-size: 15.5px; font-weight: 500; white-space: nowrap; cursor: pointer; transition: background .2s, color .2s; }
.onglets.grands .onglet:hover:not(.on) { background: rgba(31,91,82,.08); }
.onglets.grands .onglet.on { background: var(--bx2); color: #fff; font-weight: 600; }
.onglets.grands .onglet:focus-visible { outline: 2px solid var(--or); outline-offset: 2px; }
@media (max-width: 640px) {
  .onglets.grands { display: flex; width: 100%; }
  .onglets.grands .onglet { min-width: 0; padding: 10px 8px; font-size: 14.5px; gap: 6px; }
}

/* Créer un template en trois étapes (04/10) : mon style, mes pages, mes propositions. */
.tn-outils { margin-bottom: 18px; }
.tn-etape { margin-bottom: 18px; }
.tn-tete { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 18px; }
.tn-tete > div { flex: 1 1 auto; min-width: 0; }
.tn-tete h2 { margin: 0; }
.tn-tete p { margin: 4px 0 0; color: var(--encre2); font-size: 15px; }
.tn-tete p a { color: var(--bx2); font-weight: 500; }
.tn-num { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--or); color: var(--bx); font-size: 15.5px; font-weight: 600; }
.tn-compte { flex: none; padding: 5px 12px; border-radius: 999px; background: var(--surface); color: var(--bx); font-size: 14px; font-weight: 500; white-space: nowrap; }
.tn-styles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.tn-style { display: flex; flex-direction: column; gap: 6px; padding: 8px; border: 2px solid rgba(23,70,63,.12); border-radius: 16px; background: #fff; color: var(--bx); font: inherit; text-align: left; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.tn-style:hover { border-color: rgba(31,91,82,.45); }
.tn-style.on { border-color: var(--bx2); box-shadow: 0 0 0 3px rgba(31,91,82,.18); }
.tn-style:focus-visible { outline: 2px solid var(--or); outline-offset: 2px; }
.tn-style .vignette { box-shadow: none; border: 0; border-radius: 10px; }
.tn-style b { font-size: 15px; font-weight: 600; padding: 2px 2px 0; }
.tn-style small { font-size: 14px; color: var(--encre2); line-height: 1.35; padding: 0 2px 2px; }
.tn-groupe { margin-top: 16px; }
.tn-groupe:first-of-type { margin-top: 0; }
.tn-groupe-nom { font-size: 14.5px; font-weight: 600; color: var(--encre2); margin: 0 0 8px; }
.tn-briques { display: flex; flex-wrap: wrap; gap: 8px; }
.tn-brique { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid rgba(23,70,63,.2); background: #fff; color: var(--bx); font: inherit; font-size: 14.5px; font-weight: 500; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.tn-brique:hover { border-color: var(--bx2); }
.tn-brique.on { background: var(--bx2); border-color: var(--bx2); color: #fff; }
.tn-brique:focus-visible { outline: 2px solid var(--or); outline-offset: 2px; }
.tn-msg { margin: 14px 0 0; }
.tn-props { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.tn-prop { display: flex; flex-direction: column; gap: 10px; padding: 12px; border-radius: 16px; background: var(--fond); min-width: 0; }
.tn-prop-nom { font-size: 15.5px; font-weight: 600; }
.tn-prop-pages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.tn-prop-pages .vignette { box-shadow: none; border: 0; border-radius: 8px; }
.tn-prop-plus { margin: 0; font-size: 14px; color: var(--encre2); }
.tn-prop .btn { justify-content: center; margin-top: auto; }
.tn-autres { margin-top: 14px; }
@media (max-width: 1100px) { .tn-styles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .tn-props { grid-template-columns: 1fr; } .tn-styles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tn-tete { flex-wrap: wrap; } }

/* Onglets segmentés : plus d'air autour des mots, et un compteur lisible (doré sur l'onglet au repos, clair sur l'onglet actif). */
.onglets.grands .onglet { flex: 1 1 auto; min-width: 150px; padding: 11px 30px; gap: 10px; }
.onglets.grands .badge, .onglets.grands .onglet:not(.on) .badge { background: var(--or); color: var(--bx); font-size: 14px; font-weight: 600; padding: 1px 9px; border-radius: 999px; }
.onglets.grands .onglet.on .badge { background: rgba(255,255,255,.24); color: #fff; }
@media (max-width: 640px) { .onglets.grands .onglet { min-width: 0; padding: 10px 12px; gap: 6px; } }

.tn-styles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tn-style-vues { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
@media (max-width: 760px) { .tn-styles { grid-template-columns: 1fr; } }
/* Survol d'un onglet au repos : il devient blanc (plus de ton sur ton sur le fond beige), partout. */
.onglets.grands .onglet:hover:not(.on) { background: #fff; box-shadow: 0 1px 4px rgba(23,70,63,.14); }

/* Créer un template : un seul choix, son style (04/10, simplifié). Six cartes, trois pages chacune. */
.tn-note { margin: -6px 0 20px; font-size: 15px; color: var(--encre2); }
.tn-note a { color: var(--bx2); font-weight: 500; }
.tn-styles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.tn-style, .tn-style:hover { display: flex; flex-direction: column; gap: 12px; padding: 14px; border: 0; border-radius: 20px; background: var(--carte); box-shadow: var(--ombre); cursor: default; text-align: left; }
.tn-style-vues { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tn-style-vues .vignette { box-shadow: none; border: 1px solid rgba(23,70,63,.08); border-radius: 10px; }
.tn-style-bas { display: flex; align-items: center; gap: 12px; }
.tn-style-txt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.tn-style-txt b { font-size: 17px; font-weight: 600; padding: 0; }
.tn-style-txt small { font-size: 14.5px; color: var(--encre2); line-height: 1.4; padding: 0; }
.tn-style-bas .btn { flex: none; }
@media (max-width: 900px) { .tn-styles { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .tn-style-bas { flex-direction: column; align-items: stretch; } .tn-style-bas .btn { justify-content: center; } }

.tn-style-num { font-size: 15px; font-weight: 600; color: var(--encre2); letter-spacing: .06em; }
.tn-style-bas .droite { flex: 1 1 auto; }

.tn-style-vues.tn-vues-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }

/* « Régénérer » dans l'atelier : un autre design pour la slide ouverte. */
.at-top .at-regen { white-space: nowrap; }

/* Page d'un template (04/10) : pas de colonne de gauche, bouton en haut, 4 pages par ligne, page en grand au clic. */
.parcours.sans-etapes { grid-template-columns: 1fr; }
.tpl-tete { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 6px; }
.tpl-tete h2 { margin: 0; }
.slides.tpl-grille { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1100px) { .slides.tpl-grille { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .slides.tpl-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .tpl-tete .btn { width: 100%; } }
.tpl-vue { position: fixed; inset: 0; z-index: 80; background: rgba(23,70,63,.72); display: flex; align-items: center; justify-content: center; gap: 18px; padding: 20px; }
.tpl-vue-centre { display: flex; flex-direction: column; gap: 12px; width: min(560px, calc(100vw - 160px), calc((100dvh - 130px) * .8)); }
.tpl-vue-centre .vignette { width: 100%; cursor: default; pointer-events: none; }
.tpl-vue-bas { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: #fff; font-size: 15px; }
.tpl-vue-nav, .tpl-vue-x { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; color: var(--encre, #17463F); font-size: 20px; cursor: pointer; }
.tpl-vue-nav:disabled { opacity: .3; cursor: default; }
.tpl-vue-x { position: absolute; right: 18px; top: 18px; font-size: 24px; }
@media (max-width: 760px) { .tpl-vue { padding: 12px; gap: 6px; } .tpl-vue-centre { width: min(calc(100vw - 24px), calc((100dvh - 190px) * .8)); } .tpl-vue-nav { position: absolute; bottom: 14px; } .tpl-vue-nav[data-pas="-1"] { left: 14px; } .tpl-vue-nav[data-pas="1"] { right: 14px; } .tpl-vue-bas { justify-content: center; padding-bottom: 56px; } }
.slides.tpl-grille .vignette .num { display: none; }

/* ---------- Atelier, refonte du 04/10 : une barre pour tout le projet, une barre pour la slide, Éléments en tuiles ---------- */
@media (min-width: 901px) { .editeur.atelier { grid-template-columns: minmax(0, 1fr) var(--at-l, 380px); } }
.at-top svg, .at-slide-barre svg { flex: none; }
.at-portee { font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--encre2); margin-left: 10px; white-space: nowrap; }
.at-projet button { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; padding: 7px 14px; }
.at-top .at-histo, .at-top #at-export { display: inline-flex; align-items: center; gap: 6px; }
.at-slide-barre { flex: none; display: flex; align-items: center; gap: 6px; width: min(100%, 760px); background: #fff; border: 1px solid var(--ligne); border-radius: 14px; padding: 6px 8px 6px 14px; box-shadow: 0 2px 10px rgba(27,33,31,.05); }
.at-slide-nom { font-size: 14px; font-weight: 600; color: var(--bx); white-space: nowrap; margin-right: 6px; }
.at-slide-barre button { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; color: var(--bx); font: inherit; font-size: 14px; font-weight: 500; padding: 8px 10px; border-radius: 10px; cursor: pointer; white-space: nowrap; }
.at-slide-barre button:hover { background: var(--doux); }
.at-slide-barre button:disabled { opacity: .35; cursor: default; background: none; }
.at-slide-barre button.danger { color: #a3392b; }
.at-slide-barre .at-regen { background: var(--bx2); color: #fff; }
.at-slide-barre .at-regen:hover { background: var(--bx2); filter: brightness(1.08); }
.at-slide-barre .droite { flex: 1; }
.at-redim { position: absolute; top: 60px; bottom: 132px; right: calc(var(--at-l, 380px) - 5px); width: 10px; cursor: col-resize; z-index: 30; }
.at-redim::after { content: ''; position: absolute; left: 4px; top: 50%; width: 3px; height: 44px; margin-top: -22px; border-radius: 3px; background: rgba(27,33,31,.18); }
.at-redim:hover::after, .at-redim.actif::after { background: var(--bx2); }
.el-tuiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.el-tuiles button { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 4px 12px; border: 1px solid var(--ligne); border-radius: 14px; background: #fff; color: var(--bx); font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; }
.el-tuiles button svg { width: 22px; height: 22px; }
.el-tuiles button:hover { background: var(--doux); border-color: rgba(27,33,31,.22); }
#btn-coller { margin-top: 10px; }
.el-page #el-tuiles, .el-page #libre-zone, .el-page #btn-coller, .el-page #libre-tout-reset { display: none; }
.el-retour { display: flex; align-items: center; gap: 8px; width: 100%; border: 0; background: none; padding: 10px 0 12px; margin-top: 4px; font: inherit; font-size: 14px; color: var(--encre2); cursor: pointer; text-align: left; }
.el-retour b { font-size: 16px; font-weight: 600; color: var(--bx); margin-left: 6px; padding-left: 12px; border-left: 1px solid var(--ligne); }
.el-retour:hover span { text-decoration: underline; }
.el-aide { margin: 2px 0 8px; }
.el-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(58px, 1fr)); gap: 8px; margin: 8px 0 14px; }
.el-grille.el-large { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.el-grille button { display: flex; align-items: center; justify-content: center; aspect-ratio: 1; border: 1px solid var(--ligne); border-radius: 12px; background: #fff; color: var(--bx); cursor: pointer; padding: 0; }
.el-grille.el-large button { aspect-ratio: auto; height: 58px; }
.el-grille button:hover { background: var(--doux); border-color: rgba(27,33,31,.22); }
.el-liste { display: flex; flex-direction: column; gap: 8px; margin: 8px 0 12px; }
.el-choix { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; border: 1px solid var(--ligne); border-radius: 14px; background: #fff; color: var(--bx); padding: 14px 16px; font: inherit; cursor: pointer; }
.el-choix:hover { background: var(--doux); border-color: rgba(27,33,31,.22); }
.el-choix svg { width: 22px; height: 22px; flex: none; }
.el-choix b { display: block; font-size: 15px; font-weight: 600; }
.el-choix small { display: block; font-size: 14px; color: var(--encre2); margin-top: 2px; }
.el-trait i { display: block; flex: none; border-radius: 999px; background: var(--bx); }
.el-recherche { width: 100%; border: 1px solid rgba(27,33,31,.18); border-radius: 12px; padding: 11px 14px; font: inherit; font-size: 15px; background: #fff; color: var(--bx); }
.em-cats { display: flex; gap: 2px; margin: 10px 0 6px; border-bottom: 1px solid var(--ligne); padding-bottom: 6px; }
.em-cats button { flex: 1; border: 0; background: none; font-size: 20px; line-height: 1; padding: 7px 0; border-radius: 9px; cursor: pointer; filter: grayscale(1); opacity: .7; }
.em-cats button:hover { background: var(--doux); filter: none; opacity: 1; }
.em-zone { position: relative; }
.em-titre { font-size: 14px; font-weight: 500; color: var(--encre2); padding: 10px 2px 6px; position: sticky; top: 0; background: #fff; }
.em-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(40px, 1fr)); gap: 2px; }
.em-grille button { border: 0; background: none; font-size: 27px; line-height: 1; padding: 6px 0; border-radius: 9px; cursor: pointer; }
.em-grille button:hover { background: var(--doux); }
@media (max-width: 900px) {
  .at-redim { display: none; }
  .at-portee, .at-top .at-txt { display: none; }
  .at-slide-barre { width: 100%; overflow-x: auto; scrollbar-width: none; padding: 4px 6px 4px 10px; border-radius: 12px; }
  .at-slide-barre::-webkit-scrollbar { display: none; }
  .at-slide-barre button { padding: 8px 9px; }
  .at-slide-barre #dupliquer, .at-slide-barre .btn-annuler, .at-slide-barre .btn-refaire { font-size: 0; gap: 0; }
  .at-slide-barre .droite { flex: 1 0 4px; }
  .em-grille button { font-size: 30px; padding: 8px 0; }
}
#btn-coller[hidden], #ajout-menu[hidden] { display: none; }
/* Calques : poignée, dupliquer, supprimer. Fond : quatre choix avec leur aperçu. */
.libre-calques .calque { min-height: 46px; padding: 6px 8px 6px 10px; gap: 8px; color: var(--bx); }
.libre-calques .calque .poignee { display: flex; color: var(--encre2); cursor: grab; padding: 4px 0; }
.libre-calques .calque .ico { display: flex; align-items: center; justify-content: center; width: 24px; }
.libre-calques .calque .etat { display: flex; color: var(--encre2); }
.libre-calques .calque .act { display: flex; border: 0; background: none; color: var(--encre2); padding: 7px; border-radius: 8px; cursor: pointer; }
.libre-calques .calque .act:hover { background: #fff; color: var(--bx); } .libre-calques .calque .act.danger:hover { color: #a3392b; }
.libre-calques .calque.glisse { opacity: .45; }
.libre-calques .calque.dessus { box-shadow: 0 -3px 0 var(--bx2); } .libre-calques .calque.dessous { box-shadow: 0 3px 0 var(--bx2); }
.calque-aide { margin: 2px 0 8px; }
.fond-types { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.fond-types button { display: flex; flex-direction: column; align-items: center; gap: 8px; border: 1px solid var(--ligne); border-radius: 14px; background: #fff; color: var(--bx); padding: 10px 4px; font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; }
.fond-types button i { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 10px; box-shadow: inset 0 0 0 1px rgba(27,33,31,.12); }
.fond-types button.on { border-color: var(--bx2); background: var(--doux); }
/* Atelier, retouches du 04/10 soir : plus de menu « ⋯ », annuler / rétablir et zoom dans la barre du haut, barre de la slide qui tient dans sa largeur. */
.at-top .at-ico-btn { padding: 8px 10px; display: inline-flex; align-items: center; }
.at-top .at-zoom { display: inline-flex; align-items: center; gap: 2px; margin: 0 4px; border: 1px solid rgba(27,33,31,.18); border-radius: 999px; padding: 2px; background: #fff; }
.at-top .at-zoom button { border: 0; background: none; color: var(--bx); font: inherit; font-size: 14px; font-weight: 500; padding: 5px 10px; border-radius: 999px; cursor: pointer; }
.at-top .at-zoom button:hover { background: var(--doux); }
.at-slide-barre { width: auto; max-width: 100%; flex-wrap: wrap; row-gap: 2px; }
.at-slide-barre .droite { flex: 0 0 8px; }
.el-choix.on { border-color: var(--bx2); background: var(--doux); }
#tab-anim .el-liste { margin-top: 12px; }
@media (max-width: 900px) { .at-top .at-zoom { display: none; } .at-slide-barre { flex-wrap: nowrap; } .at-slide-barre #modele-garder, .at-slide-barre #at-ajouter, .at-slide-barre #at-animer { font-size: 0; gap: 0; } }
.at-slide-barre { gap: 2px; padding: 5px 6px 5px 12px; }
.at-slide-barre button { padding: 8px 9px; }
.at-slide-barre .droite { display: none; }
/* Atelier : trois affichages, comme dans Canva (04/10). La bande, le défilé de haut en bas, la grille d'ensemble. */
.at-vues { display: inline-flex; gap: 2px; border: 1px solid rgba(27,33,31,.18); border-radius: 999px; padding: 2px; background: #fff; margin-right: 4px; }
.at-vues button { display: inline-flex; border: 0; background: none; color: var(--bx); padding: 6px 10px; border-radius: 999px; cursor: pointer; }
.at-vues button:hover { background: var(--doux); } .at-vues button.on { background: var(--bx2); color: #fff; }
@media (min-width: 901px) { .editeur.atelier.vue-defile { grid-template-rows: 60px 1fr 0; } }
.editeur.atelier.vue-defile .at-bas { display: none; }
.at-centre.defile { justify-content: flex-start; padding-bottom: 0; }
.at-defile { flex: 1; min-height: 0; width: 100%; overflow-y: auto; display: flex; flex-direction: column; align-items: center; gap: 26px; padding: 14px 0 60px; }
.at-defile .apercu, .at-def-item { flex: none; width: min(460px, 86%); height: auto; max-height: none; aspect-ratio: 4/5; }
.at-defile .apercu.story, .at-def-item:has(.story) { aspect-ratio: 9/16; width: min(340px, 70%); }
.at-def-item { position: relative; border: 0; padding: 0; background: none; cursor: pointer; text-align: left; font: inherit; } /* 06/10 : plus de voile sur les slides non ouvertes, Lisa veut les vraies couleurs en défilant */ /* 06/10 : un bouton centre son texte par défaut, la slide héritait du centrage */
.at-mini { text-align: left; font: inherit; }
.at-def-item:hover .vignette { box-shadow: 0 0 0 2px var(--or); }
.at-def-item .vignette { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; box-shadow: 0 10px 30px rgba(40,6,16,.14); }
.at-def-num { position: absolute; left: -44px; top: 4px; font-size: 14px; font-weight: 500; color: var(--encre2); }
/* Atelier, 05/10 : Style et Animation prennent tout le panneau (une croix pour en sortir), animation élément par élément, grille d'ensemble. */
.at-onglets[hidden] { display: none; }
.mode-tete { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 12px; }
.mode-tete b { font-size: 18px; font-weight: 600; color: var(--bx); }
.mode-x { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--ligne); background: #fff; color: var(--bx); font-size: 22px; line-height: 1; cursor: pointer; }
.mode-x:hover { background: var(--doux); }
.an-liste { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }
.an-ligne { display: flex; align-items: center; gap: 10px; border: 1px solid var(--ligne); border-radius: 12px; padding: 8px 8px 8px 10px; font-size: 14px; color: var(--bx); background: #fff; }
.an-rang { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--bx2); color: #fff; font-size: 13px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.an-nom { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.an-anim { flex: none; font-weight: 500; color: var(--or-texte, #1F5B52); }
.an-x { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 0; background: none; color: var(--encre2); font-size: 20px; line-height: 1; cursor: pointer; }
.an-x:hover { background: var(--doux); color: #a3392b; }
.an-cible { margin: 16px 0 4px; padding: 12px 14px; border-radius: 12px; background: var(--surface); font-size: 14px; color: var(--encre2); }
.an-cible.on { background: var(--doux); color: var(--bx); font-weight: 500; }
.an-grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin: 8px 0 6px; }
.an-grille button { border: 1px solid var(--ligne); border-radius: 10px; background: #fff; color: var(--bx); font: inherit; font-size: 14px; padding: 10px 10px; text-align: left; cursor: pointer; }
.an-grille button:hover:not(:disabled) { background: var(--doux); border-color: rgba(27,33,31,.22); }
.an-grille button.on { background: var(--bx2); color: #fff; border-color: var(--bx2); }
.an-grille button:disabled { opacity: .45; cursor: default; }
.editeur.atelier.vue-grille .at-centre, .editeur.atelier.vue-grille .at-droite, .editeur.atelier.vue-grille .at-bas, .editeur.atelier.vue-grille .at-redim { display: none; }
.at-grille { grid-row: 2 / -1; grid-column: 1 / -1; overflow: auto; padding: 26px 32px 60px; background: var(--surface); }
.at-grille .slides { max-width: 1400px; margin: 0 auto; }
.at-grille .vignette.on { border-color: var(--bx2); }
.at-grille .vig-role { font-size: 14px; color: var(--bx); }
@media (max-width: 760px) { .at-grille { padding: 14px 12px 40px; } }
/* Atelier, 05/10 (2) : barre de la slide à six actions (page ou élément), plus de mini-barre sur l'élément, chat avec l'IA. */
.editeur.atelier .libre-barre { display: none !important; }
.at-slide-barre { position: relative; }
.at-slide-barre [data-act].on { background: var(--doux); }
.at-act-menu { position: absolute; top: calc(100% + 6px); left: 0; z-index: 40; min-width: 250px; background: #fff; border: 1px solid var(--ligne); border-radius: 14px; box-shadow: 0 12px 32px rgba(27,33,31,.16); padding: 6px; display: flex; flex-direction: column; gap: 2px; }
.at-act-menu[hidden] { display: none; }
.at-slide-barre .at-act-menu button { display: block; width: 100%; text-align: left; padding: 10px 12px; border-radius: 9px; white-space: normal; }
.at-act-menu button b { display: block; font-size: 15px; font-weight: 600; }
.at-act-menu button small { display: block; font-size: 14px; font-weight: 400; color: var(--encre2); margin-top: 2px; }
.at-act-menu button:disabled { opacity: .5; }
.atc-fil { display: flex; flex-direction: column; gap: 8px; margin: 12px 0; max-height: calc(100vh - 60px - 132px - 300px); min-height: 120px; overflow-y: auto; }
.atc-msg { align-self: flex-start; max-width: 88%; padding: 10px 14px; border-radius: 16px 16px 16px 4px; background: var(--surface); color: var(--bx); font-size: 15px; line-height: 1.4; }
.atc-msg.moi { align-self: flex-end; border-radius: 16px 16px 4px 16px; background: var(--bx2); color: #fff; }
.atc-msg.erreur { background: #fbeceb; color: #a3392b; }
.atc-saisie textarea { width: 100%; border: 1px solid rgba(27,33,31,.18); border-radius: 12px; padding: 11px 14px; font: inherit; font-size: 15px; color: var(--bx); background: #fff; resize: vertical; min-height: 64px; }
.atc-boutons { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-top: 8px; }
.atc-boutons .btn { display: inline-flex; align-items: center; gap: 6px; }
.atc-micro { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(27,33,31,.18); background: #fff; color: var(--bx); cursor: pointer; }
.atc-micro.on { background: #a3392b; border-color: #a3392b; color: #fff; }
@media (max-width: 900px) { .at-slide-barre [data-act] { font-size: 0; gap: 0; } .atc-fil { max-height: 34vh; } }
@media (max-width: 900px) { .at-act-menu { left: 0 !important; right: 0; min-width: 0; } .atc-fil { min-height: 0; } }
.atc-attente { opacity: .7; font-style: italic; }
/* Atelier, 05/10 (3) : onglet Texte comme dans Canva, dix tuiles d'éléments, favoris avec aperçu, bibliothèque de photos, objets, textures. */
.at-contenu { margin-top: 18px; }
.el-tuiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.el-page #libre-zone { display: block; margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--ligne); }
.fav-grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 8px 0 12px; }
.fav-carte { position: relative; }
.fav-carte .fav-poser { display: flex; flex-direction: column; gap: 6px; width: 100%; border: 1px solid var(--ligne); border-radius: 12px; background: #fff; padding: 8px; cursor: pointer; font: inherit; color: var(--bx); }
.fav-carte .fav-poser:hover { border-color: rgba(27,33,31,.22); background: var(--doux); }
.fav-vue { display: block; position: relative; width: 100%; height: 96px; border-radius: 8px; overflow: hidden; background: #8b9a96; }
.fav-nom { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: left; }
.fav-x { position: absolute; right: 4px; top: 4px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--bx); font-size: 18px; line-height: 1; cursor: pointer; }
.fav-x:hover { color: #a3392b; }
.bib-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; max-height: 420px; overflow-y: auto; }
.bib-photos img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; cursor: pointer; border: 2px solid transparent; }
.bib-photos img:hover { border-color: var(--bx2); }
.ob-grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 8px 0 12px; }
.ob-grille button { display: flex; flex-direction: column; gap: 6px; border: 1px solid var(--ligne); border-radius: 12px; background: #fff; padding: 8px; cursor: pointer; font: inherit; color: var(--bx); }
.ob-grille button:hover { border-color: rgba(27,33,31,.22); background: var(--doux); }
.ob-vue { display: block; position: relative; width: 100%; height: 110px; overflow: hidden; pointer-events: none; }
.ob-nom { font-size: 14px; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.x-plus { margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--ligne); }
.fond-types { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.fond-types button { padding: 8px 2px; font-size: 14px; } .fond-types button i { width: 38px; height: 38px; }
.fond-textures { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 10px; }
.fond-textures button { display: flex; flex-direction: column; align-items: center; gap: 6px; border: 1px solid var(--ligne); border-radius: 12px; background: #fff; color: var(--bx); padding: 8px 2px; font: inherit; font-size: 14px; cursor: pointer; }
.fond-textures button i { display: block; width: 44px; height: 44px; border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(27,33,31,.12); }
.fond-textures button.on { border-color: var(--bx2); background: var(--doux); }
/* 05/10 (4) : plus aucune boîte qui défile dans le panneau, les aperçus aux couleurs de la charte du membre, le panneau d'un élément seul avec sa croix. */
.el-grille button, .el-liste .el-trait i { color: var(--el-c, var(--bx)); }
.el-grille.el-accent button { color: var(--el-a, var(--bx)); }
.el-liste .el-trait i { background: var(--el-c, var(--bx)); }
.em-cats { position: sticky; top: 0; background: #fff; z-index: 2; }
.el-edition #el-tuiles, .el-edition #ajout-menu { display: none !important; }
.el-edition #libre-zone, .el-page.el-edition #libre-zone { display: block; margin-top: 0; padding-top: 0; border-top: 0; }
.x-plus { margin: 0; padding: 0; border: 0; }
.libre-panneau.plat .section { margin-top: 22px; }
.libre-panneau.plat > .section:first-child, .libre-panneau.plat > .x-plus:first-child > .section:first-child { margin-top: 4px; }
.libre-panneau.plat .champ > label { font-size: 14px; }
.fond-types { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.fond-types button { padding: 10px 4px; min-width: 0; } .fond-types button span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.fond-types button i { width: 44px; height: 44px; position: relative; overflow: hidden; }
.fond-textures { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.fond-textures button { min-width: 0; padding: 8px 4px; text-align: center; line-height: 1.2; }
.fond-textures button i { width: 64px; height: 64px; position: relative; overflow: hidden; }
.fond-textures button i b, .fond-types button i b { display: block; font-weight: 400; }
.fav-vue { height: 110px; background: #F4F1EA; }
#mt-fil { max-height: 320px; min-height: 0; }
/* 05/10 (5) : la palette (couleurs de la marque + « Autre couleur » bien visible), l'éditeur de texte à plat et aéré. */
.pastilles-marque { align-items: center; gap: 7px; margin-top: 2px; }
.pastilles-marque button { width: 28px; height: 28px; border: 1px solid rgba(23,70,63,.22); }
.pastilles-marque button.on { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--bx2, #1F5B52); }
.pastille-autre { position: relative; display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px 0 5px; border: 1px solid var(--ligne); border-radius: 999px; background: #fff; font-size: 14px; font-weight: 500; color: var(--bx); cursor: pointer; overflow: hidden; }
.pastille-autre:hover { background: var(--doux); }
.pastille-autre i { width: 20px; height: 20px; border-radius: 50%; background: conic-gradient(#e5484d, #f5a524, #f0e14a, #46a758, #3e8ed0, #8e4ec6, #e5484d); border: 1px solid rgba(23,70,63,.18); }
.pastille-autre.on { border-color: var(--bx2, #1F5B52); box-shadow: 0 0 0 1px var(--bx2, #1F5B52); }
.pastille-autre input.pastille-champ { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; padding: 0; border: 0; }
.libre-panneau.plat .section { margin-top: 26px; margin-bottom: 10px; }
.libre-panneau.plat .champ { margin-top: 12px; }
.libre-panneau.plat .section + .champ, .libre-panneau.plat .section + .choix, .libre-panneau.plat .section + .ligne2 { margin-top: 0; }
.libre-panneau.plat .ligne2 { margin-top: 12px; }
.libre-panneau.plat.texte > .section:first-child { margin-top: 6px; }
#tab-fond2 { margin-top: 10px; padding-top: 4px; border-top: 1px solid var(--ligne); }
#tab-fond2 .section { margin-top: 22px; margin-bottom: 10px; }
#tab-element .fav-carte .fav-poser .fav-vue, #tab-favoris .fav-carte .fav-poser .fav-vue { flex: 0 0 110px; height: 110px; } #tab-element .fav-carte .fav-poser .fav-nom, #tab-favoris .fav-carte .fav-poser .fav-nom { flex: none; } /* 08/10 : l'onglet Favoris garde les aperçus des éléments (sans cette règle, la vignette s'écrasait à zéro) */
.pastille-autre i { display: block; flex: none; }
/* 05/10 (6) : « autre couleur » = une pastille ronde comme les autres, arc-en-ciel avec un +. */
.pastilles-marque { flex-wrap: wrap; max-width: 100%; }
.pastille-autre { width: 28px; height: 28px; padding: 0; gap: 0; border-radius: 50%; border: 1px solid rgba(23,70,63,.22); justify-content: center; flex: none; }
.pastille-autre i { position: absolute; inset: 0; width: auto; height: auto; border: 0; border-radius: 50%; }
.pastille-autre b { position: relative; z-index: 1; font-size: 16px; font-weight: 600; line-height: 1; color: #fff; text-shadow: 0 0 3px rgba(0,0,0,.55); }
.pastille-autre.on { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--bx2, #1F5B52); border-color: rgba(23,70,63,.22); }
.pastille-autre.on b { display: none; }
.choix button:disabled { opacity: .38; cursor: not-allowed; }
.pastille-autre { margin: 0; align-self: center; } .pastille-autre b { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.pastilles-marque label.pastille-autre { margin: 0; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; line-height: 1; vertical-align: middle; }
.pastilles-marque button { margin: 0; flex: none; }
/* 05/10 (7) : le carrousel sans menu d'étapes, le brief allégé, l'étape « Ton script ». */
.pied-parcours { display: flex; gap: 14px; justify-content: center; margin-top: 4px; }
.pastille-libre { display: block; width: 100%; margin-top: 10px; border: 1px solid rgba(27,33,31,.18); border-radius: 12px; padding: 11px 14px; font: inherit; font-size: 15px; color: var(--bx); background: #fff; }
.pastille-libre[hidden] { display: none; }
.medias-zone { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 96px; padding: 18px; border: 1.5px dashed rgba(27,33,31,.25); border-radius: 16px; background: var(--doux); color: var(--bx); font-size: 15px; cursor: pointer; }
.medias-zone:hover, .medias-zone.sur { border-color: var(--bx2); background: #fff; }
.medias-liste { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.media-mini { position: relative; width: 84px; height: 84px; border-radius: 12px; overflow: hidden; border: 1px solid var(--ligne); }
.media-mini img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-mini button { position: absolute; right: 4px; top: 4px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--bx); font-size: 14px; line-height: 1; cursor: pointer; }
.tpl-carte small { display: block; font-size: 14px; color: var(--encre2); font-weight: 400; }
.script-liste { display: grid; gap: 14px; margin: 18px 0 22px; }
.script-slide { border: 1px solid var(--ligne); border-radius: 16px; padding: 16px 18px; background: #fff; }
.script-tete { display: flex; align-items: baseline; gap: 10px; margin-bottom: 6px; }
.script-tete b { font-size: 16px; font-weight: 600; color: var(--bx); }
.script-tete span { font-size: 14px; color: var(--encre2); }
.script-slide .champ { margin-top: 10px; }
.script-slide textarea { min-height: 0; resize: none; overflow: hidden; }
.cr-bientot { opacity: .6; cursor: default; }
.cr-avenir { margin-left: auto; font-size: 14px; font-weight: 500; color: var(--encre2); background: var(--surface); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.repro-boite { border: 2px solid var(--bx2, #1F5B52); border-radius: 20px; padding: 22px 22px 20px; background: #fff; margin: 4px 0 26px; }
.repro-boite h3 { margin: 0 0 6px; font-size: 20px; font-weight: 600; color: var(--bx); }
.repro-boite p { margin: 0 0 14px; font-size: 15px; color: var(--bx); }
.repro-zone { min-height: 150px; font-size: 16px; font-weight: 500; }
.tpl-carte { width: 124px; } .medias-zone { line-height: 1.4; }
.repro-choix { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 6px; }
.repro-choix button { display: flex; flex-direction: column; gap: 6px; text-align: left; padding: 18px 20px; border: 1.5px solid var(--ligne); border-radius: 18px; background: #fff; color: var(--bx); font: inherit; cursor: pointer; }
.repro-choix button:hover { border-color: var(--bx2); background: var(--doux); }
.repro-choix b { font-size: 17px; font-weight: 600; } .repro-choix small { font-size: 15px; line-height: 1.4; color: var(--bx); }
@media (max-width: 700px) { .repro-choix { grid-template-columns: 1fr; } }
.an-ligne { flex-wrap: wrap; }
.an-regl { flex: 1 1 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 6px 2px 2px; }
.an-regl label { display: block; font-size: 14px; color: var(--bx); }
.an-regl label b { font-weight: 600; }
.an-regl input[type=range] { display: block; width: 100%; margin-top: 4px; }
/* 06/10 : l'onglet Design system des carrousels. */
.ds-planche { border: 1px solid var(--ligne); border-radius: 18px; overflow: hidden; background: #fff; }
.ds-planche-fond { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; padding: 18px; }
.ds-planche-case { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ds-planche-case small { font-size: 14px; color: var(--encre2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ds-planche-case > .ds-planche-piece { position: relative !important; inset: auto !important; width: 100% !important; height: 96px !important; min-height: 0 !important; margin: 0 !important; transform: none !important; }
.ds-planche-piece { position: relative; height: 96px; display: flex; align-items: center; justify-content: center; font-size: 28px; overflow: hidden; border-radius: 12px; background: var(--surface); }
.ds-guide { white-space: pre-wrap; font: 14px/1.5 inherit; color: var(--bx); background: var(--surface); border-radius: 12px; padding: 14px 16px; margin: 10px 0 0; }
/* 06/10 : le recadrage d'une photo au double-clic. */
.libre .libre-recadre { outline: 3px dashed var(--or, #A3CDB9); outline-offset: -3px; cursor: move; }
.recadre-on { cursor: move; }
/* 06/10 : le choix du format d'export dans l'éditeur. */
.export-choix { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin: 0 0 12px; }
.export-grp { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.export-lbl { font-size: 14px; color: var(--encre2); margin-right: 4px; }
.export-grp button { border: 1px solid var(--ligne); border-radius: 999px; background: #fff; color: var(--bx); font: inherit; font-size: 14px; font-weight: 500; padding: 7px 14px; cursor: pointer; }
.export-grp button.on { background: var(--bx2, #1F5B52); border-color: var(--bx2, #1F5B52); color: #fff; }

/* Le brief du carrousel en six blocs (06/10, Lisa : « des étapes visuelles comme dans vidéo »). Le panneau n'est plus une carte. */
.panneau.brief-blocs { background: var(--bx2); box-shadow: var(--ombre); padding: 28px 24px; color: #fff; }
.panneau.brief-blocs > .num-etape { color: var(--or2); } .panneau.brief-blocs > h2 { color: #fff; } .panneau.brief-blocs > .aide { color: rgba(255,255,255,.8); }
.panneau.brief-blocs .brief-bloc { box-shadow: none; }
.panneau.brief-blocs > .actions .btn { background: var(--or); color: var(--bx); }
.panneau.brief-blocs .vlb { max-width: none; }
.brief-bloc .tpl-champ { margin: 0; }
.brief-bloc textarea { width: 100%; }
.brief-bloc .champ > label { display: block; margin-bottom: 8px; font-size: 15px; font-weight: 500; color: var(--bx); }
.medias-groupes { display: grid; gap: 14px; margin-top: 12px; }
.medias-groupe .section { margin: 0 0 6px; }
.medias-sous { font-size: 14px; font-weight: 500; color: var(--encre2); margin: 0 0 6px; }
.media-video-mini { position: relative; display: inline-block; }
.media-video-mini img { outline: 2px solid var(--bx2); outline-offset: -2px; }
.media-video-mini i { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.9); color: var(--bx2); font-style: normal; font-size: 13px; display: grid; place-items: center; pointer-events: none; }

/* L'étape 2 du carrousel, le script (06/10, Lisa) : encadrés sur fond vert doux, numéros en pastille dorée, bloc du retour bien visible. */
.script-slide { background: var(--bx2); border-color: var(--bx2); color: #fff; }
.script-slide .script-tete b { color: #fff; } .script-slide .script-tete span { color: rgba(255,255,255,.7); }
.script-slide .champ label { color: #fff; }
.script-slide textarea { background: #fff; border-color: transparent; }
.script-tete { align-items: center; }
.vlb-num.or { background: var(--or); color: var(--bx); }
.script-retour { border: 1.5px solid var(--or); border-radius: 16px; padding: 16px 18px; background: var(--ok-fond); }
.script-retour textarea { background: #fff; width: 100%; min-height: 96px; border: 1px solid rgba(163, 205, 185,.35); border-radius: 14px; padding: 12px 14px; font: inherit; font-size: 15.5px; color: var(--bx); resize: vertical; }
.script-retour-aide { margin: 0 0 10px; font-size: 14.5px; color: #8A9490; }
.script-retour .vlb-num.or svg { display: block; }
/* Mes créations dans le brief : petites vignettes, l'aperçu en grand au clic. */
.medias-crea-grille { display: flex; flex-wrap: wrap; gap: 6px; max-height: none; overflow: visible; }
.medias-crea-grille img { width: 64px; height: 64px; aspect-ratio: auto; border-radius: 8px; }
.media-video-mini i { width: 24px; height: 24px; font-size: 11px; }
.media-vision { position: fixed; inset: 0; z-index: 400; background: rgba(23,70,63,.55); display: flex; align-items: center; justify-content: center; padding: 20px; }
.media-vision-boite { background: #fff; border-radius: 18px; padding: 14px; max-width: min(92vw, 820px); max-height: 92vh; display: flex; flex-direction: column; box-shadow: 0 30px 80px -30px rgba(0,0,0,.5); }
.media-vision-boite img, .media-vision-boite video { display: block; max-width: 100%; max-height: calc(92vh - 110px); border-radius: 12px; object-fit: contain; background: var(--surface); margin: 0 auto; }

/* L'étape 2 (06/10) : « Slide 1 » dans une pilule dorée, le retour avec « (optionnel) » à côté du titre. */
.pilule-or { display: inline-block; background: var(--or); color: var(--bx); border-radius: 999px; padding: 6px 14px; font-size: 14.5px; font-weight: 600; }
.script-retour .script-tete span { font-size: 14.5px; color: #8A9490; }
/* L'export de l'éditeur (06/10) : une page par-dessus, avec sa croix, qui porte l'encadré doré. */
.export-page { position: fixed; inset: 0; z-index: 400; background: rgba(23,70,63,.55); display: flex; align-items: flex-start; justify-content: center; padding: 40px 16px; overflow: auto; }
.export-page-boite { background: var(--fond); border-radius: 22px; padding: 22px 24px 26px; width: min(100%, 760px); box-shadow: 0 30px 80px -30px rgba(0,0,0,.5); }
.export-page-boite .tete { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.export-page-boite .tete h3 { margin: 4px 0 0; font-size: 20px; font-weight: 600; }
.export-page-boite .fermer { border: 0; background: #fff; width: 36px; height: 36px; border-radius: 50%; font-size: 16px; cursor: pointer; color: var(--bx); box-shadow: var(--ombre); }
.export-page .pret { margin-bottom: 0; }
.panneau.brief-blocs .brief-bloc, .panneau.brief-blocs .brief-bloc h2, .panneau.brief-blocs .brief-bloc label { color: var(--bx); }
.panneau.brief-blocs .brief-bloc .indice, .panneau.brief-blocs .brief-bloc .vlb-fac { color: var(--encre2); }
.panneau.brief-blocs .brief-bloc a { color: var(--bx2); }
.panneau.brief-blocs .pret { color: var(--bx); }

/* 06/10 : l'icône du bloc « un retour » en blanc ; la carte d'un carrousel : image sans clic, cœur = template. */
.script-retour .vlb-num.or { color: #fff; }
.cr-vue:not(button) { cursor: default; }
.ph-res-act .ph-coeur.on { background: var(--or); color: #fff; }
.ph-res-act .ph-coeur.on svg { fill: currentColor; }

/* Reproduire, étape 1 (06/10, Lisa) : l'encadré du carrousel à reproduire en doré, les choix du texte en vert foncé. */
.repro-boite.or { border-color: var(--or); background: var(--ok-fond); }
.repro-boite.or h3, #texte-champ h3 { margin-bottom: 14px; }
#texte-champ { margin-bottom: 18px; }
/* Un choix entre deux (06/10) : deux cartes égales, chacune avec son rond à cocher ; la choisie passe en vert foncé. */
.repro-choix.bascule { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.repro-choix.bascule button { display: flex; align-items: flex-start; gap: 14px; text-align: left; padding: 18px 20px; border: 1.5px solid rgba(31,91,82,.22); border-radius: 18px; background: #fff; color: var(--bx); cursor: pointer; transition: background .15s ease, border-color .15s ease; }
.repro-choix.bascule button > span { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.repro-choix.bascule button b { font-weight: 600; font-size: 16px; } .repro-choix.bascule button small { font-size: 14px; line-height: 1.35; color: var(--encre2); }
.repro-choix.bascule .coche { flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; border: 2px solid rgba(31,91,82,.4); background: #fff; display: grid; place-items: center; }
.repro-choix.bascule button:hover { border-color: var(--bx2); background: var(--doux); }
.repro-choix.bascule button.on { background: var(--bx2); border-color: var(--bx2); color: #fff; } .repro-choix.bascule button.on small { color: rgba(255,255,255,.8); }
.repro-choix.bascule button.on .coche { border-color: var(--or); background: var(--or); box-shadow: inset 0 0 0 4px var(--bx2); }
@media (max-width: 560px) { .repro-choix.bascule { grid-template-columns: 1fr; } }
/* Exporter dans l'éditeur : le panneau latéral, comme l'historique. */
.export-lateral .pret { margin-bottom: 0; }
.export-lateral .hv-sous { margin: 0; }
/* Les champs des blocs du brief (06/10) : blancs, comme partout ailleurs (ils n'étaient pas dans un .champ et héritaient du blanc du texte). */
.brief-bloc textarea, .brief-bloc input[type=text] { width: 100%; border: 1px solid rgba(27,33,31,.18); border-radius: 14px; padding: 12px 14px; background: #fff; color: var(--bx); font: inherit; }
.brief-bloc textarea { min-height: 96px; resize: vertical; }
.brief-bloc textarea:focus, .brief-bloc input[type=text]:focus { outline: 2px solid var(--bx2); outline-offset: 1px; border-color: transparent; }
.brief-bloc textarea::placeholder { color: var(--encre2); opacity: .8; }
/* Les objectifs du carrousel en deux temps (06/10) : la famille, puis ses objectifs en plus petit. */
.choix-groupes { display: grid; gap: 10px; }
.choix-groupes .sous-choix { padding: 10px 12px; border-radius: 16px; background: var(--doux); }
.choix-groupes .famille-def { margin: 0; }
.choix-groupes .sous-choix button { padding: 7px 13px; font-size: 14px; border-color: rgba(27,33,31,.14); }
/* Le contenu du carrousel (06/10) : deux segments, et la saisie slide par slide. */
.segments { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--doux); margin-bottom: 14px; }
.segments button { border: 0; background: transparent; color: var(--bx); border-radius: 999px; padding: 9px 16px; font: inherit; font-size: 14.5px; font-weight: 500; cursor: pointer; }
.segments button.on { background: var(--bx2); color: #fff; }
.slide-texte { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: start; margin-bottom: 8px; }
.slide-texte .pilule-or { margin-top: 8px; white-space: nowrap; }
.slide-texte textarea { min-height: 56px; }
.slide-x { border: 0; background: transparent; color: var(--encre2); font-size: 15px; cursor: pointer; padding: 10px 6px; }
.slide-x:hover { color: #a3392b; }
@media (max-width: 560px) { .slide-texte { grid-template-columns: 1fr auto; } .slide-texte .pilule-or { grid-column: 1 / -1; margin: 0; justify-self: start; } }
@media (max-width: 560px) { .segments { display: flex; width: 100%; } .segments button { flex: 1 1 0; padding: 9px 8px; font-size: 14px; text-align: center; } }
/* L'appel à l'action (06/10) : des cases avec une icône, pas des pastilles. */
.cta-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 8px; }
.cta-case { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px 12px 11px; border: 1.5px solid rgba(31,91,82,.18); border-radius: 14px; background: #fff; color: var(--bx); font: inherit; font-size: 14px; font-weight: 500; text-align: left; cursor: pointer; transition: background .15s ease, border-color .15s ease; }
.cta-case svg { color: var(--bx2); }
.cta-case:hover { border-color: var(--bx2); background: var(--doux); }
.cta-case.on { background: var(--bx2); border-color: var(--bx2); color: #fff; } .cta-case.on svg { color: var(--or2); }
#cta + .pastille-libre, .choix-groupes + .pastille-libre { margin-top: 10px; }
.cta-grille.larges { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.choix-groupes .famille-def { margin: 10px 0 0; }
.script-plus { margin-top: 6px; color: var(--or2); }
.script-slide .script-plus { color: #CFE5DA; }

/* La slide ouverte se reconnaît à son numéro (06/10, Lisa) : une pastille dorée derrière le numéro, en vue défilée comme dans la bande. */
.at-defile .apercu { overflow: visible; }
.at-defile .apercu::before { content: attr(data-num); position: absolute; left: -44px; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--or); color: var(--bx); font-size: 14px; font-weight: 600; display: grid; place-items: center; box-shadow: 0 4px 12px -4px rgba(163, 205, 185,.8); }
.at-def-num { left: -44px; top: 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; }
.at-mini.on .num { background: var(--or); color: var(--bx); }

/* Le Monteur, 07/10 nuit : la barre flottante au-dessus de la vidéo (le rush sous la tête de lecture) et six onglets qui passent à la ligne. */
.monteur .mt-flot { width: min(100%, 620px); flex-wrap: wrap; row-gap: 2px; }
.monteur .mt-cadre { max-height: calc(100vh - 60px - 176px - 92px - 62px); }
.monteur .mt-onglets { flex-wrap: wrap; row-gap: 6px; }
.monteur .mt-onglets button { flex: 1 0 30%; }
@media (max-width: 900px) { .monteur .mt-cadre { max-height: calc(42vh - 120px); } }

/* Reproduire › le carrousel du planning (07/10 nuit) : une ligne par carrousel, la pastille à gauche, le sujet et son hook, la date à droite.
   Le choix reste clair : un fond vert très léger et un contour, pas un pavé sombre. */
.plan-liste { display: flex; flex-direction: column; gap: 10px; }
.plan-liste button { display: flex; flex-direction: row; align-items: center; gap: 16px; width: 100%; text-align: left; padding: 16px 18px; border: 1.5px solid rgba(31,91,82,.2); border-radius: 16px; background: #fff; color: var(--bx); font: inherit; cursor: pointer; transition: background .15s ease, border-color .15s ease; }
.plan-liste button:hover { border-color: var(--bx2); background: var(--doux); }
.plan-liste .coche { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid rgba(31,91,82,.4); background: #fff; }
.plan-liste .plan-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.plan-liste b { font-weight: 600; font-size: 16px; line-height: 1.3; }
.plan-liste small { font-size: 14.5px; line-height: 1.4; color: var(--encre2); }
.plan-liste .plan-date { flex: none; font-style: normal; font-size: 14px; font-weight: 500; color: var(--bx); background: var(--surface); border-radius: 999px; padding: 6px 12px; white-space: nowrap; }
.plan-liste button.on { border-color: var(--bx2); border-width: 2px; padding: 15.5px 17.5px; background: rgba(31,91,82,.07); }
.plan-liste button.on .coche { border-color: var(--bx2); background: var(--bx2); box-shadow: inset 0 0 0 4px #fff; }
.plan-liste button.on .plan-date { background: var(--bx2); color: #fff; }
@media (max-width: 560px) { .plan-liste button { flex-wrap: wrap; } .plan-liste .plan-date { margin-left: 38px; } }

/* Le menu des identités, soigné (08/10, Lisa) : une pastille à la couleur de chaque marque avec son initiale, une coche dessinée, des pictos au trait (plus d'emoji). */
.id-menu { min-width: 260px; padding: 8px; border-radius: 18px; }
.id-menu .id-menu-titre { margin: 4px 10px 6px; font-size: 14px; font-weight: 500; color: var(--encre2); }
.id-menu > button { gap: 11px; padding: 8px 10px; border-radius: 12px; font-size: 15px; }
.id-menu > button span { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: left; }
.id-menu > button.on { background: var(--ok-fond); }
.id-menu > button em { display: inline-flex; }
.id-menu .id-pastille { flex: none; width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-style: normal; font-size: 14px; font-weight: 600; }
.id-menu .id-menu-bas { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--ligne); display: flex; flex-direction: column; gap: 2px; }
.id-menu .id-menu-bas .id-gerer { display: flex; align-items: center; gap: 11px; margin: 0; border: 0; padding: 9px 10px 9px 17px; border-radius: 12px; font-size: 14.5px; }
.id-menu .id-menu-bas .id-gerer svg { flex: none; margin-right: 6px; }
.id-menu .id-menu-bas .id-gerer:hover { background: var(--doux); }

/* Le bas du menu de gauche, remis d'équerre (08/10, validé par Lisa) : aligné sur les lignes du haut, un fin trait au-dessus, « Mon compte » au même gabarit qu'une ligne. */
@media (min-width: 901px) {
  .rail .rail-pied { padding-left: 0; padding-right: 0; } .rail .legal-liens { padding: 0 12px; }
  .rail #profil-rail { border-top: 1px solid var(--ligne); padding-top: 10px; margin-top: 6px; }
  .rail #profil-rail .espace, .rail .profil-lien { margin: 0; }
  .rail .profil-lien { padding: 8px 12px; gap: 12px; font-weight: 500; }
  .rail .profil-lien img, .rail .profil-lien .avatar-vide.petit { width: 24px; height: 24px; }
}

/* « Voir dans mon feed » depuis l'éditeur (08/10) : la couverture en première case, à côté des derniers posts. */
.essai-feed { position: fixed; inset: 0; z-index: 1500; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(23,70,63,.38); }
.essai-feed-boite { width: min(460px, 100%); max-height: 92vh; overflow: auto; display: flex; flex-direction: column; gap: 12px; padding: 22px; border-radius: 22px; background: #fff; color: var(--bx); box-shadow: 0 30px 80px -30px rgba(23,70,63,.6); }
.essai-feed-boite h2 { margin: 0; font-size: 20px; font-weight: 600; } .essai-feed-boite p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--encre2); }
.essai-feed-grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; border-radius: 12px; overflow: hidden; }
.essai-feed-grille .feed-case { cursor: default; } .essai-feed-grille .feed-case img { width: 100%; height: 100%; object-fit: cover; display: block; }
.essai-feed-grille .feed-case.essai { outline: 3px solid var(--bx2); outline-offset: -3px; }
.essai-feed-grille .feed-case.vide { background: var(--surface); border: 0; }
.essai-feed-marque { position: absolute; left: 6px; top: 6px; padding: 3px 8px; border-radius: 999px; background: var(--bx2); color: #fff; font-size: 12px; font-weight: 600; }
.couleurs-partout { display: flex; flex-wrap: wrap; gap: 10px 14px; margin-top: 10px; }
.couleur-partout { position: relative; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--bx); cursor: pointer; }
.couleur-partout input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.couleur-partout i { width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(23,70,63,.2); flex: none; }

/* Le volet « Exporter », simplifié (08/10, Lisa) : tout sur fond blanc, des tuiles pour le format et la qualité, les actions en lignes pleines. */
.export-lateral .pret { background: none; border: 0; padding: 0; border-radius: 0; }
.export-lateral .pret h3 { color: var(--bx); font-size: 18px; }
.export-lateral .pret > p { color: var(--encre2); margin-bottom: 16px; }
.export-choix { display: flex; flex-direction: column; align-items: stretch; gap: 14px; margin: 0 0 18px; }
.export-bloc { display: flex; flex-direction: column; gap: 7px; }
.export-lbl { font-size: 14px; font-weight: 500; color: var(--encre2); margin: 0; }
.export-tuiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.export-tuiles.deux { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.export-tuiles button { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 10px 4px; border: 1.5px solid var(--ligne); border-radius: 14px; background: #fff; color: var(--bx); font: inherit; cursor: pointer; }
.export-tuiles button b { font-size: 15px; font-weight: 600; } .export-tuiles button small { font-size: 12.5px; color: var(--encre2); white-space: nowrap; }
.export-tuiles button:hover { border-color: rgba(31,91,82,.45); }
.export-tuiles button.on { border-color: var(--bx2); background: rgba(31,91,82,.07); }
.export-lateral .pret > .actions { flex-direction: column; align-items: stretch; gap: 8px; }
.export-lateral .pret > .actions .btn { width: 100%; justify-content: center; }
.export-lateral .coedit { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--ligne); background: none; }
.export-lateral .coedit .actions { flex-direction: column; align-items: stretch; }
.export-lateral .coedit .actions .btn { width: 100%; justify-content: center; }

/* Le dessin libre en direct (08/10) : une fenêtre où chaque slide se construit sous les yeux. */
.libre-direct { position: fixed; inset: 0; z-index: 1500; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(23,70,63,.5); }
.libre-direct-boite { max-width: min(1040px, 100%); max-height: 92vh; overflow: auto; padding: 24px; border-radius: 22px; background: #fff; color: var(--bx); box-shadow: 0 30px 80px -30px rgba(23,70,63,.6); }
.libre-direct-boite h2 { margin: 0 0 4px; font-size: 20px; font-weight: 600; } .libre-direct-boite p { margin: 0 0 16px; font-size: 15px; color: var(--encre2); }
.libre-direct-grille { display: flex; flex-wrap: wrap; gap: 12px; }
.libre-direct-case { position: relative; flex: none; overflow: hidden; border-radius: 10px; background: var(--surface); outline: 2px solid transparent; }
.libre-direct-case:not(.vivant)::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%); background-size: 220% 100%; animation: libre-attente 1.4s linear infinite; }
@keyframes libre-attente { from { background-position: 180% 0; } to { background-position: -40% 0; } }
.libre-direct-case.fini { outline-color: var(--bx2); }
.libre-direct-toile { transform-origin: 0 0; pointer-events: none; }
.libre-direct-case > span { position: absolute; left: 6px; top: 6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: rgba(23,70,63,.8); color: #fff; font-size: 12px; font-weight: 600; line-height: 20px; text-align: center; }
/* La fenêtre du dessin en direct : la grille centrée, la boîte à la largeur de son contenu. */
.libre-direct-boite { width: fit-content; }
.libre-direct-grille { justify-content: center; }
.libre-direct-grille { justify-content: flex-start; } /* la dernière rangée repart à gauche (08/10, Lisa) */

/* Fiche d'un personnage (09/10) : une grande photo, les autres en pellicule. */
.fp { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 26px; align-items: start; }
.fp-grande { position: sticky; top: 16px; }
.fp-voir { display: block; width: 100%; aspect-ratio: 2/3; border: 0; padding: 0; border-radius: 14px; overflow: hidden; background: var(--surface); cursor: zoom-in; }
.fp-voir img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fp-legende { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: 8px; font-size: 14px; color: var(--bx); }
.fp-legende .btn { color: #A1302A; padding: 0; }
.fp-rien { aspect-ratio: 2/3; border: 1.5px dashed rgba(27,33,31,.25); border-radius: 14px; display: grid; place-items: center; text-align: center; padding: 14px; font-size: 14px; color: var(--encre2); }
.fp-tete { display: flex; align-items: flex-end; gap: 14px; margin-bottom: 16px; } .fp-tete .champ { flex: 1; margin: 0; min-width: 0; } .fp-tete .choix { margin: 0; flex: none; }
.fp-groupe { margin-bottom: 14px; } .fp-groupe small { display: block; font-size: 14px; color: var(--encre2); margin-bottom: 6px; }
.fp-pellicule { display: flex; flex-wrap: wrap; gap: 6px; }
.fp-mini { position: relative; width: 54px; aspect-ratio: 2/3; flex: none; border: 1.5px solid transparent; border-radius: 9px; padding: 0; overflow: hidden; background: var(--surface); cursor: pointer; }
.fp-mini img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fp-mini.on { border-color: var(--or); box-shadow: 0 0 0 2px rgba(163, 205, 185,.28); }
.fp-mini:hover { border-color: var(--bx2); }
.pose.fp-vide { border: 1.5px dashed rgba(27,33,31,.25); background: #fff; display: grid; place-items: center; font-size: 18px; color: var(--encre2); padding: 0; }
.fp-cam { position: absolute; right: 2px; bottom: 2px; width: 20px; height: 20px; border: 0; border-radius: 50%; background: var(--surface); color: var(--bx); display: grid; place-items: center; cursor: pointer; padding: 0; }
.fp-bas { display: flex; align-items: center; gap: 12px; margin-top: 6px; } .fp-bas .droite { flex: 1; }
.fp-bas .mb-danger { color: #A1302A; padding: 0; text-decoration: underline; text-decoration-color: rgba(161,48,42,.35); text-underline-offset: 3px; }
@media (max-width: 700px) { .fp { grid-template-columns: 1fr; gap: 16px; } .fp-grande { position: static; max-width: 200px; } .fp-tete { flex-wrap: wrap; } .fp-mini { width: 48px; } }

.fp-titre { display: flex; align-items: baseline; gap: 6px; width: 100%; border: 0; background: none; padding: 0; margin: 0 0 6px; font: inherit; font-size: 14px; color: var(--encre2); text-align: left; cursor: default; }
.fp-titre svg { display: none; } .fp-groupe .fp-titre small { font-size: 14px; display: inline; margin: 0; } .fp-titre small::before { content: '· '; }
@media (max-width: 700px) {
  .fp-grande { max-width: none; display: flex; align-items: flex-end; gap: 14px; }
  .fp-grande .fp-voir, .fp-grande .fp-rien { width: 104px; flex: none; }
  .fp-legende { flex-direction: column; align-items: flex-start; gap: 6px; margin: 0; }
  .fp-groupe { margin: 0; border-top: 1px solid rgba(23,70,63,.12); }
  .fp-titre { padding: 13px 0; margin: 0; cursor: pointer; color: var(--bx); font-size: 15.5px; }
  .fp-titre { align-items: center; } .fp-titre svg { display: block; transition: transform .15s; } .fp-groupe.ouvert .fp-titre svg { transform: rotate(90deg); }
  .fp-titre small { margin-left: auto; color: var(--encre2); } .fp-titre small::before { content: ''; }
  .fp-groupe:not(.ouvert) .fp-pellicule { display: none; }
  .fp-pellicule { padding-bottom: 14px; }
  .fp-bas { margin-top: 14px; }
}

/* 09/10 (Lisa : « sous la photo ça va pas, trop d'écart ») : le nom de la pose et « retirer » sont posés SUR la photo, qui s'agrandit pour remplir sa colonne. */
.fp { grid-template-columns: 300px minmax(0, 1fr); }
.fp-cadre { position: relative; }
.fp-etq { position: absolute; left: 10px; bottom: 10px; max-width: calc(100% - 20px); background: rgba(255,255,255,.94); color: var(--bx); font-size: 14px; line-height: 1.2; padding: 6px 11px; border-radius: 999px; pointer-events: none; }
.fp-x { position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; border: 0; border-radius: 50%; background: rgba(255,255,255,.94); color: var(--bx); display: grid; place-items: center; cursor: pointer; padding: 0; box-shadow: 0 1px 4px rgba(23,70,63,.18); }
.fp-x:hover { background: #fff; color: #A1302A; }
.fp-legende { display: none; }
@media (max-width: 700px) {
  .fp { grid-template-columns: 1fr; }
  .fp-cadre { width: 104px; flex: none; } .fp-grande .fp-voir { width: 100%; }
  .fp-etq { display: none; } .fp-x { top: 5px; right: 5px; width: 26px; height: 26px; }
  .fp-legende { display: block; margin: 0; font-size: 15.5px; }
}

/* 09/10 (Lisa : « l'un sous l'autre ça fait chelou quand elle en a un de chaque ») : les rubriques côte à côte, chacune sous son titre. */
.rubriques { display: flex; flex-wrap: wrap; gap: 22px 34px; align-items: flex-start; }
.rubrique h2 { font-size: 18px; margin: 0 0 10px; }
.rub-cartes { display: flex; flex-wrap: wrap; gap: 12px; }
.rub-cartes > .av-carte, .rub-cartes > .pr-carte { width: 164px; flex: none; }
.fp-pellicule { display: grid; grid-template-columns: repeat(10, minmax(0, 58px)); gap: 6px; } .fp-mini { width: auto; }
@media (max-width: 700px) { .rubriques { gap: 18px 14px; } .rub-cartes > .av-carte, .rub-cartes > .pr-carte { width: calc((100vw - 60px) / 2); max-width: 164px; } .fp-pellicule { grid-template-columns: repeat(5, minmax(0, 58px)); } }
/* 09/10 (Lisa) : « Nom du clone » et son champ sur la même ligne. */
.fp-tete .champ { display: flex; align-items: center; gap: 14px; } .fp-tete .champ label { margin: 0; flex: none; white-space: nowrap; } .fp-tete .champ input { flex: 1; min-width: 0; max-width: 380px; }

/* Parcours clone (09/10) : la pellicule remplace les 20 grandes cases. */
.fp-mini.vide { border: 1.5px dashed rgba(27,33,31,.25); background: #fff; display: grid; place-items: center; font-size: 14px; color: var(--encre2); }
.fp-mini.vide.on { border-style: solid; border-color: var(--or); }
.av-outils-seul { display: flex; justify-content: flex-end; margin-top: -46px; pointer-events: none; } .av-outils-seul .btn { pointer-events: auto; }
@media (max-width: 700px) { .av-outils-seul { margin-top: 0; } }
@media (max-width: 700px) { .editeur .fp-cote .fp-groupe.ouvert .fp-titre { cursor: default; } .editeur .fp-cote .fp-titre small { margin-left: 8px; } }
@media (min-width: 701px) { .editeur .vlb-outils.av-outils.av-outils-seul { display: flex; justify-content: flex-end; margin-top: -52px; margin-bottom: 16px; } }

/* Étape « Version studio » (09/10) : le prix et le bouton d'abord. */
.fp-lancer { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; background: var(--fond); border-radius: 14px; padding: 12px 16px; margin-top: 12px; }
.fp-lancer > div { display: flex; flex-direction: column; gap: 2px; font-size: 14px; color: var(--encre2); line-height: 1.35; min-width: 0; } .fp-lancer b { font-weight: 600; font-size: 15.5px; color: var(--bx); }
.fp-lancer-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.fp-mini.brute img { opacity: .45; } .fp-mini.studio { border-color: var(--or); }
.fp-tourne { position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border: 2px solid var(--surface); border-top-color: var(--bx); border-radius: 50%; animation: tourne .9s linear infinite; }
span.fp-mini { cursor: default; }

/* Choix illustrés du visage de l'avatar (09/10). */
.choix.illu { gap: 10px; }
.choix.illu button { display: flex; flex-direction: column; align-items: center; gap: 7px; width: 84px; padding: 10px 4px 9px; border-radius: 16px; border: 1.5px solid transparent; background: transparent; font-size: 14px; line-height: 1.15; color: var(--encre2); }
.choix.illu button:hover { background: rgba(23,70,63,.05); }
.choix.illu button.on { background: #fff; border-color: var(--bx2); color: var(--bx); box-shadow: 0 6px 18px rgba(23,70,63,.10); }
/* 09/10 (Lisa) : « Autre » est une tuile comme les autres ; pour la couleur des cheveux, c'est l'arc-en-ciel (l'ancien « Colorés »). */
.illu-rond.plus { background: #fff; box-shadow: none; border: 1.5px dashed rgba(27,33,31,.3); position: relative; } .illu-rond.plus::before { content: '+'; position: absolute; inset: 0; display: grid; place-items: center; font-style: normal; font-size: 20px; color: var(--encre2); }
.illu-rond { display: block; width: 44px; height: 44px; border-radius: 50%; background: radial-gradient(circle at 32% 28%, color-mix(in srgb, var(--c) 72%, #fff) 0, var(--c) 58%, color-mix(in srgb, var(--c) 86%, #000) 100%); box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }
.illu-rond.arc { background: conic-gradient(from 210deg, #F2A65A, #E4577A, #A45AD8, #4F8FE0, #46B89A, #F2A65A); }
.illu-oeil { display: block; position: relative; width: 44px; height: 44px; border-radius: 50%; background: radial-gradient(circle, #14110f 0 23%, transparent 24%), radial-gradient(circle, color-mix(in srgb, var(--c) 60%, #fff) 0 30%, var(--c) 52%, color-mix(in srgb, var(--c) 70%, #000) 100%); box-shadow: inset 0 0 0 1px rgba(0,0,0,.10); }
.illu-oeil::after { content: ''; position: absolute; left: 13px; top: 11px; width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.85); }
.illu-coupe { display: block; width: 56px; height: 64px; border-radius: 14px; background: #EFEBE4; }
@media (max-width: 700px) { .choix.illu { gap: 6px; } .choix.illu button { width: calc((100% - 18px) / 4); min-width: 70px; } }
/* 09/10 (Lisa : « ça croche sur la gauche ») : la barre d'étapes et la pose en cours partent du même bord que le titre. */
.editeur.page > .ci-etapes.av-etapes { margin: 0 auto 20px; }
.editeur.page .pose-courante { padding: 0; background: none; border-radius: 0; }

/* Clone (09/10) : l'écran « avant de commencer » et la silhouette de chaque pose. */
.pd-intro { max-width: 620px; }
.pd-phrase { font-size: 17px; line-height: 1.4; color: var(--bx); margin: 0 0 18px; }
.pd-blocs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 20px; }
.pd-bloc { background: #fff; border-radius: 18px; padding: 16px 10px 14px; text-align: center; box-shadow: 0 6px 18px rgba(23,70,63,.07); }
.pd-bloc svg { display: block; margin: 0 auto 10px; } .pd-bloc b { display: block; font-size: 15.5px; font-weight: 600; color: var(--bx); } .pd-bloc span { display: block; font-size: 14px; line-height: 1.3; color: var(--encre2); margin-top: 3px; }
.pd-conseils { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.pd-conseils li { display: flex; align-items: center; gap: 10px; font-size: 15.5px; color: var(--bx); } .pd-conseils svg { flex: none; color: var(--bx2); }
.pc-guide { display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 14px; color: var(--encre2); padding: 6px 0; }
.illu-pose { display: block; }
@media (max-width: 700px) { .pd-blocs { gap: 8px; } .pd-bloc { padding: 12px 6px; } .pd-bloc svg { width: 56px; height: 64px; } }

/* Parcours produit (09/10) : cartes plus courtes, caméra en icône dans la zone, « photo en plus » dans la grille. */
.champ.champ-ligne { display: flex; align-items: center; gap: 14px; } .champ.champ-ligne label { margin: 0; flex: none; white-space: nowrap; } .champ.champ-ligne input { flex: 1; min-width: 0; max-width: 380px; }
.pr-cases.pr-cases-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pr-cases-4 .pr-case { gap: 6px; padding: 10px; } .pr-cases-4 .pr-case-tete { min-height: 34px; gap: 8px; }
.pr-zone { position: relative; } .pr-cases-4 .pr-depot, .pr-cases-4 .pr-photo { aspect-ratio: 4/3; }
.pr-cam { position: absolute; right: 8px; bottom: 8px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: #fff; color: var(--bx); display: grid; place-items: center; cursor: pointer; padding: 0; box-shadow: 0 1px 5px rgba(23,70,63,.2); }
.pr-cam:hover { color: var(--bx2); }
.pr-cam-txt { display: inline-flex; align-items: center; gap: 6px; }
.pr-cases-4 .pr-conseil { display: block; min-height: 2.7em; }
.pr-cases-4 .pr-plus { min-height: 0; font-size: 15px; }
@media (max-width: 900px) { .pr-cases.pr-cases-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.pr-photo-act { position: absolute; right: 8px; bottom: 8px; display: flex; gap: 6px; z-index: 3; } .pr-photo-act .pr-cam { position: static; }

/* Produit, étape 2 (09/10) : deux comparaisons par rangée. */
.pr-duos.pr-duos-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pr-duos-2 .pr-duo { padding: 10px 12px; } .pr-duos-2 .pr-duo-tete { margin-bottom: 8px; } .pr-duos-2 .pr-duo-imgs { max-width: none; gap: 8px; }
@media (max-width: 700px) { .pr-duos.pr-duos-2 { grid-template-columns: 1fr; } }
/* 09/10 : un nom d'étape ne se coupe plus au milieu d'un mot (« Morpholo / gie »). */
.ci-etapes.av-etapes .ci-etape-nom { overflow-wrap: normal; white-space: nowrap; }
@media (min-width: 761px) { .ci-etapes.av-etapes { grid-template-columns: repeat(var(--n, 4), minmax(max-content, 1fr)); } }

/* Accueil du clone (09/10) : les trois conseils en pastilles sur un bandeau doré, bien distincts des cartes dessinées du dessus. */
.pd-intro { max-width: none; }
.pd-astuces { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; background: #E8F2EC; border-radius: 16px; padding: 14px 16px 16px; margin: 0 0 22px; }
.pd-astuces-titre { width: 100%; font-size: 14px; letter-spacing: .05em; text-transform: uppercase; color: var(--or-texte); }
.pd-puce { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--bx); border-radius: 999px; padding: 7px 14px 7px 11px; font-size: 14.5px; line-height: 1.2; } .pd-puce svg { flex: none; color: var(--bx2); }
@media (max-width: 760px) { .pd-astuces-titre { width: 100%; } }

/* Illustrations des poses (09/10) : vraies images, une femme ou un homme au choix. */
.illu-pose-img { display: block; border-radius: 16px; object-fit: cover; background: #F3EFE8; }
.pd-bloc .illu-pose-img { margin: 0 auto 12px; }
.pd-haut { display: flex; align-items: center; justify-content: space-between; gap: 12px 18px; flex-wrap: wrap; margin-bottom: 18px; } .pd-haut .pd-phrase { margin: 0; } .pd-genre { margin: 0; flex: none; }
.illu-pose-img { max-width: 100%; height: auto; aspect-ratio: 7 / 8; }

/* Studio photo (09/10) : les écrans « en-page » avaient encore des textes sous 14 px, et le bandeau du bouton dépassait en blanc. */
.editeur.en-page .section { font-size: 14px; letter-spacing: .04em; }
.editeur.en-page .choix.compact button { font-size: 14px; }
.editeur.en-page .ph-generer-barre { margin: 18px 0 0; padding: 14px 0 calc(14px + env(safe-area-inset-bottom)); background: linear-gradient(rgba(248,246,241,0), var(--fond) 34%); }
.ph-fq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.ph-ref-creer .ph-ref-txt b { white-space: normal; }
@media (max-width: 640px) { .ph-fq { grid-template-columns: 1fr; } }

/* Studio photo (09/10) : « Recommencer » est DANS la ligne du titre (un titre long passe à la ligne au lieu de passer sous le bouton), et le champ du lien Pinterest a le style des autres champs. */
.editeur .tete.ph-tete { align-items: flex-start; gap: 14px; } .ph-tete > div:first-child { flex: 1; min-width: 0; } .ph-tete h3 { overflow-wrap: anywhere; } .ph-recommencer { flex: none; margin-top: 4px; }
.ph-pin { display: flex; gap: 8px; } .ph-pin input { flex: 1; min-width: 0; border: 1px solid rgba(27,33,31,.18); border-radius: 12px; padding: 10px 12px; font-size: 16px; background: #fff; color: var(--bx); font-family: inherit; }
@media (max-width: 700px) { .editeur .tete.ph-tete { flex-wrap: wrap; } }

/* Photothèque et galerie (09/10). Les catégories passent sur plusieurs lignes au lieu de défiler de côté ; plus rien sous 14 px. */
.segments.ph-segments { flex-wrap: wrap; overflow: visible; border-radius: 22px; gap: 4px; }
.segments.ph-segments button { flex: 0 0 auto; padding: 8px 14px; }
.segments.ph-segments .n { font-size: 14px; }
.segments.ph-segments button svg { vertical-align: -2px; }
.vig-badge { font-size: 14px; }
.vig-cadenas { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--or); right: 8px; top: 8px; }
.g-item .exp { font-size: 14px; padding: 5px 10px; }
.g-bas { justify-content: flex-end; font-size: 14px; }
.g-bas a, .g-bas button { width: 32px; height: 32px; }
.g-ok { display: grid; place-items: center; }
.g-manque { aspect-ratio: 4/5; display: grid; place-items: center; text-align: center; padding: 34px 14px 10px; font-size: 14px; line-height: 1.35; color: var(--encre2); background: var(--surface); }

/* Le Monteur (09/10) : choisir des médias dans ses créations. */
.mc-boite { max-width: 720px; width: calc(100vw - 32px); max-height: 86vh; overflow-y: auto; }
.mc-tete { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; } .mc-tete h3 { margin: 0; font-size: 20px; font-weight: 600; }
.mc-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
.mc-case { position: relative; aspect-ratio: 4/5; border: 2px solid transparent; border-radius: 14px; overflow: hidden; padding: 0; background: var(--surface); cursor: pointer; }
.mc-case img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mc-case.on { border-color: var(--bx2); box-shadow: 0 0 0 3px rgba(31,91,82,.18); }
.mc-case.on::after { content: ''; position: absolute; top: 8px; right: 8px; width: 22px; height: 22px; border-radius: 50%; background: var(--bx2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat; }
.mc-play { position: absolute; left: 8px; bottom: 8px; width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.92); } .mc-play::after { content: ''; position: absolute; left: 10px; top: 7px; border-left: 9px solid var(--bx); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.mc-sans { display: grid; place-items: center; height: 100%; font-size: 14px; color: var(--encre2); }

/* Galerie vidéo (09/10) : le titre se lit en entier, sur sa propre ligne ; plus rien sous 14 px. */
.g-titre { padding: 10px 12px 0; font-size: 14px; line-height: 1.3; color: var(--bx); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: calc(2 * 1.3em + 10px); }
.g-encours .g-etat small { font-size: 14px; }

/* Le Monteur, 09/10 : questionnaire complété (son, textes) et aperçu du premier jet avant l'éditeur. */
@media (min-width: 701px) { .vlb-duo.egal { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.mb-son { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 12px; background: var(--doux); color: var(--bx); font-size: 15px; }
.mb-son span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jet-boite { width: min(100%, 900px); }
.jet-resume { margin: 0 0 16px; font-size: 15.5px; line-height: 1.5; color: var(--bx); }
.jet-boite > .num-etape { color: var(--or-texte); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; }
.jet-boite > h3 { font-size: 22px; font-weight: 600; color: var(--bx); }
.jet-corps { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 26px; align-items: start; }
.jet-ecran canvas { display: block; width: auto; height: auto; max-width: 100%; max-height: 62vh; margin: 0 auto; border-radius: 16px; background: var(--bx); }
.jet-transport { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.jet-transport input[type=range] { flex: 1; min-width: 0; accent-color: var(--bx2); }
.jet-transport .mt-temps { font-size: 14px; color: var(--bx); white-space: nowrap; }
.jet-cote h4 { margin: 0 0 10px; font-size: 16px; font-weight: 600; color: var(--bx); }
.jet-liste { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.jet-liste li { position: relative; padding-left: 26px; font-size: 15.5px; line-height: 1.4; color: var(--bx); }
.jet-liste li::before { content: ''; position: absolute; left: 4px; top: 4px; width: 6px; height: 11px; border: solid var(--bx2); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.jet-cote .indice { margin: 12px 0 0; font-size: 14px; }
.jet-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
@media (max-width: 700px) { .jet-corps { grid-template-columns: minmax(0, 1fr); } .jet-ecran canvas { max-height: 50vh; margin: 0 auto; width: auto; max-width: 100%; } }

/* Le Monteur, 09/10 : timeline qu'on zoome et qu'on tire en hauteur. */
.mt-bas { position: relative; }
.mt-bas .mt-clips, .mt-bas .mt-clip { height: var(--mt-clip, 76px); }
.mt-redim { position: absolute; left: 0; right: 0; top: -5px; height: 12px; cursor: ns-resize; touch-action: none; z-index: 3; }
.mt-redim::after { content: ''; position: absolute; left: 50%; top: 4px; width: 44px; height: 4px; margin-left: -22px; border-radius: 999px; background: rgba(23,70,63,.28); }
.mt-redim:hover::after { background: var(--bx2); }
.mt-zoomt { display: flex; flex-direction: column; justify-content: center; gap: 4px; flex: none; }
.mt-zoomt button { width: 30px; height: 26px; border: 0; border-radius: 8px; background: var(--doux); color: var(--bx); font-size: 16px; line-height: 1; cursor: pointer; }
.mt-zoomt button:hover { background: var(--surface); }
.editeur.atelier.monteur { grid-template-rows: 60px minmax(0, 1fr) auto; }
@media (max-width: 900px) { .editeur.atelier.monteur { grid-template-rows: auto 42vh minmax(0, 1fr) auto; } }
.editeur.atelier.monteur .mt-bas { max-height: 62vh; overflow: visible; }

/* Le Monteur, 09/10 : la barre de droite simplifiée, sur le modèle de l'atelier des carrousels. */
.monteur .mt-onglets { flex-wrap: nowrap; row-gap: 0; }
.monteur .mt-onglets button { font-size: 14px; padding: 9px 4px; white-space: nowrap; }
.monteur #mt-panneau .expl { display: none; }
.monteur .mt-hors { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 2px 0 12px; padding-bottom: 10px; border-bottom: 1px solid var(--ligne); }
.monteur .mt-hors b { font-size: 16px; font-weight: 600; color: var(--bx); }
.monteur .at-top .btn.second.on { background: var(--bx2); color: #fff; border-color: var(--bx2); }
.monteur .mt-refaire-plan { margin-top: 16px; }
.monteur .mt-st.cartes i { cursor: pointer; }
@media (max-width: 900px) { .monteur #mt-versions { display: none; } }
.monteur .mt-onglets { justify-content: space-between; gap: 0; }
.monteur .mt-onglets button { flex: 0 1 auto; padding: 9px 6px; min-width: 0; }

/* Accueil du 09/10 : un lien discret à droite du titre de section. */
.cat-tete .cat-lien { margin-left: auto; font-size: 14px; font-weight: 500; color: var(--bx2); text-decoration: none; white-space: nowrap; }
.cat-tete .cat-lien:hover { text-decoration: underline; }
@media (max-width: 640px) { .cat-tete { flex-wrap: wrap; } .cat-tete .cat-lien { margin-left: 0; } }

/* Le drop sur l'accueil (09/10) : un seul titre, celui de la section ; les six prompts sur une ligne. */
#acc-drop .v-tete, #acc-drop > .entete { display: none; }
#acc-drop .panneau { padding: 18px; }
#acc-drop .drop-grille { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 1100px) { #acc-drop .drop-grille { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
#acc-drop .scene-photo { display: none; }
/* 09/10 : les pages de Ma stratégie ouvertes aux membres. Plus rien sous 14 px, plus rien au-dessus de 600. */
.choix.compact button { font-size: 14px; }
.carte .meta { font-size: 14px; }
.aide b, .acc-corps b { font-weight: 600; }

/* Mes formulaires (10/10/2026) : les réponses envoyées depuis les pages du membre. */
#fo-liste { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); margin-bottom: 22px; }
.fo-carte { background: var(--carte); border-radius: 18px; padding: 18px 20px; box-shadow: var(--ombre); display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--bx); min-width: 0; }
.fo-carte b { font-weight: 600; font-size: 16px; overflow-wrap: anywhere; } .fo-carte span { color: var(--encre2); font-size: 14px; }
.fo-vide, .fo-note { color: var(--encre2); font-size: 15px; } .fo-note { margin-top: 8px; min-height: 1.4em; } .fo-vide { grid-column: 1 / -1; }
.fo-creer { display: flex; gap: 10px; flex-wrap: wrap; max-width: 560px; } .fo-creer input { flex: 1 1 220px; min-width: 0; }
.fo-actions { margin-top: 0; margin-bottom: 18px; } .fo-rouge { color: #a3392b; }
.fo-champ { display: grid; gap: 6px; max-width: 560px; color: var(--encre2); font-size: 14px; }
.fo-h2 { font-size: 18px; font-weight: 600; margin: 26px 0 12px; }
.fo-rep { background: var(--carte); border-radius: 18px; padding: 14px 18px 16px; box-shadow: var(--ombre); margin-bottom: 12px; max-width: 760px; } .fo-rep.neuve { box-shadow: var(--ombre), inset 3px 0 0 var(--or); }
.fo-rep-tete { display: flex; justify-content: space-between; align-items: center; gap: 10px; } .fo-rep-tete small { color: var(--encre2); font-size: 14px; } .fo-rep-tete .btn { padding: 4px 6px; }
.fo-rep dl { display: grid; grid-template-columns: minmax(90px, max-content) minmax(0, 1fr); gap: 6px 16px; margin: 8px 0 0; } .fo-rep dt { color: var(--encre2); font-size: 14px; } .fo-rep dd { margin: 0; font-size: 15px; overflow-wrap: anywhere; }
@media (max-width: 560px) { .fo-rep dl { grid-template-columns: minmax(0, 1fr); gap: 2px; } .fo-rep dd { margin-bottom: 8px; } }
.entete .cat-lien { display: inline-block; margin-top: 10px; font-size: 14px; font-weight: 500; color: var(--bx2); text-decoration: none; } .entete .cat-lien:hover { text-decoration: underline; }
.fo-champ input, .fo-creer input { font: inherit; font-size: 15px; color: var(--bx); background: var(--carte); border: 1px solid rgba(27,33,31,.18); border-radius: 12px; padding: 11px 14px; width: 100%; } .fo-champ input:focus, .fo-creer input:focus { outline: 2px solid var(--bx2); outline-offset: 1px; }

/* 11/10 (Lisa) : le bouton « Voir mes personnages / photos / vidéos » de chaque section de l'accueil. Avant, un petit lien gris qu'on ne voyait pas. */
.cat-tete .cat-voir { margin-left: auto; display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 12px; border-radius: 999px; background: var(--ok-fond); color: var(--or-texte); border: 1px solid var(--or2); font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap; transition: transform .15s, box-shadow .15s, background .15s; }
.cat-tete .cat-voir svg { width: 20px; height: 20px; flex: none; } .cat-tete .cat-voir i { font-style: normal; transition: transform .15s; }
.cat-tete .cat-voir:hover { background: #E8F2EC; box-shadow: 0 8px 18px -12px rgba(31, 91, 82,.7); } .cat-tete .cat-voir:hover i { transform: translateX(3px); }
@media (max-width: 640px) { .cat-tete .cat-voir { margin-left: 0; width: 100%; justify-content: center; padding: 12px 16px; } .cat-tete .cat-voir i { margin-left: auto; } .cat-tete .cat-voir span { margin-right: auto; } }
/* Le drop sur l'accueil : un bloc à part, sombre, qu'on ne peut pas rater. */
/* 12/10 (Lisa) : le drop de l'accueil. Fond vert sapin (« plus joli, ça ressort mieux »), textes en ivoire et doré clair pour ne pas être ton sur ton, six vignettes sobres, et le bouton « Voir la bibliothèque » EN BAS des six prompts. */
.cat-bloc.drop-vedette { background: var(--bx); border-radius: 24px; padding: 24px 24px 22px; margin-top: 34px; color: #FAF8F4; }
.drop-vedette .cat-tete { align-items: flex-end; margin-bottom: 18px; } .drop-vedette .cat-tete h2 { color: #FAF8F4; } .drop-vedette .cat-tete p { color: rgba(250,248,244,.8); }
.drop-vedette .dv-sur { display: block; font-family: var(--large); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--or2); margin-bottom: 6px; }
.drop-vedette #acc-drop .panneau.verrou { box-shadow: none; background: rgba(250,248,244,.07); color: #FAF8F4; } .drop-vedette #acc-drop .panneau.verrou h2 { color: #FAF8F4; } .drop-vedette #acc-drop .panneau.verrou .aide { color: rgba(250,248,244,.78); }
.drop-vedette #acc-drop .attente, .drop-vedette #acc-drop .erreur { color: #FAF8F4; }
.dv-grille { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.dv-carte { display: flex; flex-direction: column; gap: 3px; padding: 0; border: 0; background: none; text-align: left; font: inherit; color: #FAF8F4; cursor: pointer; min-width: 0; }
.dv-vis { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: rgba(250,248,244,.1); margin-bottom: 7px; transition: transform .2s, box-shadow .2s; }
.dv-vis img, .dv-vis .vig-fond { width: 100%; height: 100%; object-fit: cover; display: block; }
.dv-vis .vig-fond { background: linear-gradient(160deg, #2E7568, #A3CDB9); }
.dv-carte:hover .dv-vis { transform: translateY(-2px); box-shadow: 0 14px 24px -14px rgba(0,0,0,.6); }
.dv-carte:focus-visible { outline: 2px solid var(--or2); outline-offset: 4px; border-radius: 14px; }
.dv-cat { font-size: 14px; color: var(--or2); }
.dv-carte b { font-weight: 500; font-size: 15px; line-height: 1.3; overflow-wrap: anywhere; color: #FAF8F4; }
.dv-carte.reserve .dv-vis img, .dv-carte.reserve .dv-vis .vig-fond { filter: saturate(.55) brightness(.8); }
.dv-cadenas { position: absolute; right: 8px; top: 8px; width: 30px; height: 30px; border-radius: 50%; background: rgba(250,248,244,.92); color: var(--bx); display: grid; place-items: center; }
.dv-vide { color: rgba(250,248,244,.8); font-size: 15px; }
.drop-vedette .cat-voir.dv-voir { margin: 20px 0 0; display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px 11px 14px; border-radius: 999px; background: var(--or); color: var(--bx); border: 1px solid var(--or); font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap; transition: transform .15s, background .2s; }
.drop-vedette .cat-voir.dv-voir svg { width: 20px; height: 20px; flex: none; } .drop-vedette .cat-voir.dv-voir i { font-style: normal; transition: transform .15s; } .drop-vedette .cat-voir.dv-voir:hover i { transform: translateX(4px); }
.drop-vedette .cat-voir.dv-voir:hover { background: var(--or2); }
@media (max-width: 1100px) { .dv-grille { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .cat-bloc.drop-vedette { padding: 20px 14px 16px; border-radius: 20px; margin-left: -4px; margin-right: -4px; }
  .drop-vedette .cat-tete { align-items: flex-start; gap: 6px; margin-bottom: 14px; }
  .dv-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 10px; }
  .drop-vedette .cat-voir.dv-voir { width: 100%; justify-content: center; margin-top: 16px; }
}
}
/* Le feed : ajouter des lignes. */
.feed-plus { display: flex; gap: 12px; align-items: center; justify-content: center; flex-wrap: wrap; margin: 16px 0 6px; }
/* L'encadré Google Drive de Mes créations, replié sur une ligne. */
.drive-ligne { background: var(--carte); border-radius: 16px; box-shadow: var(--ombre); margin: 14px 0 18px; }
.drive-ligne > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 12px 16px; } .drive-ligne > summary::-webkit-details-marker { display: none; }
.drive-ligne .dl-ico { flex: none; width: 38px; height: 38px; border-radius: 12px; background: var(--doux); display: grid; place-items: center; color: var(--bx2); } .drive-ligne .dl-ico svg { width: 22px; height: 22px; }
.drive-ligne .dl-txt { display: grid; min-width: 0; } .drive-ligne .dl-txt b { font-weight: 600; font-size: 15px; } .drive-ligne .dl-txt small { color: var(--encre2); font-size: 14px; }
.drive-ligne > summary i { margin-left: auto; font-style: normal; color: var(--encre2); transition: transform .2s; } .drive-ligne[open] > summary i { transform: rotate(180deg); }
.drive-ligne .dl-corps { padding: 0 16px 16px 66px; color: var(--encre2); font-size: 15px; display: grid; gap: 8px; } .drive-ligne .dl-corps b { font-weight: 600; color: var(--bx); }
@media (max-width: 640px) { .drive-ligne .dl-corps { padding-left: 16px; } }

/* Le clap de la vidéo cinématique : le bras est levé, il claque au survol (et sur téléphone quand la carte « joue »). */
.vv-clap { transform-origin: 48px 28px; transform: rotate(-17deg); }
@keyframes vv-clap { 0%, 55%, 100% { transform: rotate(-17deg); } 22% { transform: rotate(0deg); } 30% { transform: rotate(-4deg); } 38% { transform: rotate(0deg); } }
.carte:hover .vv-clap, .carte.joue .vv-clap { animation: vv-clap 1.5s cubic-bezier(.4, 0, .2, 1) infinite; }
@media (prefers-reduced-motion: reduce) { .carte:hover .vv-clap, .carte.joue .vv-clap { animation: none; } }
/* 11/10 (Lisa) : sur téléphone, l'écran du chat gagne de la place : le grand titre n'est plus affiché (il reste lu par les lecteurs d'écran) et « Retour » se resserre. */
@media (max-width: 900px) {
  .scene .chat-entete { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); margin: 0; padding: 0; }
  .retour-global:has(+ .scene .chat-entete) { margin-top: 6px; padding-top: 4px; padding-bottom: 4px; }
  .retour-global + .scene:has(.chat-entete) { padding-top: 4px; }
}
/* 11/10 (Lisa) : les écrans « Voir mes personnages / photos / vidéos » ne montrent que ce qu'on a généré. Quand il n'y a rien encore : */
.vide-galerie { background: var(--carte); border-radius: 20px; box-shadow: var(--ombre); padding: 34px 24px; text-align: center; display: grid; gap: 16px; justify-items: center; max-width: 520px; } .vide-galerie p { color: var(--encre2); font-size: 16px; margin: 0; }

/* 12/10 (Lisa) : le bouton rond Pinterest à côté de « Valider », partout où on colle un lien Pinterest (le même que dans la vidéo cinématique). */
a.ph-pin-chercher { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border-radius: 50%; background: #fff; border: 1px solid rgba(27,33,31,.18); color: #BD081C !important; text-decoration: none; transition: border-color .2s, transform .2s; }
a.ph-pin-chercher:hover { border-color: #BD081C; transform: translateY(-1px); }
a.ph-pin-chercher:focus-visible { outline: 2px solid var(--bx2); outline-offset: 2px; }
.pin-bloc .c-ligne, .ph-pin { align-items: center; }
@media (max-width: 640px) { a.ph-pin-chercher { width: 44px; height: 44px; } }

/* 12/10 : sur téléphone, la barre collante « Générer mon image » d'une page de création passait sous la barre de navigation du bas : un appui touchait le bouton central et ramenait à l'accueil. Elle se colle maintenant au-dessus. */
@media (max-width: 900px) { .editeur.en-page .ph-generer-barre { bottom: calc(64px + env(safe-area-inset-bottom)); padding-bottom: 12px; } }

/* 12/10 (Lisa) : le nuage du Google Drive, le même partout. ROUGE = pas sur le Drive (un clic l'y envoie), VERT = sur le Drive. Entre les deux, il bat doucement pendant l'envoi. */
:root { --nuage-non: #B8402F; --nuage-non-fond: #FBEAE6; --nuage-oui: #1F7A4D; --nuage-oui-fond: #E4F3EA; }
button.nuage { display: inline-grid; place-items: center; flex: none; border: 0; cursor: pointer; padding: 0; transition: transform .15s, background .2s, color .2s; }
button.nuage.non, .crea-pastilles button.nuage.non, .ph-res-act button.nuage.non, .g-bas button.nuage.non { background: var(--nuage-non); color: #fff; }
button.nuage.non:hover, .crea-pastilles button.nuage.non:hover, .ph-res-act button.nuage.non:hover, .g-bas button.nuage.non:hover { background: #9E3526; color: #fff; transform: translateY(-1px); }
button.nuage.fait, .crea-pastilles button.nuage.fait, .ph-res-act button.nuage.fait, .g-bas button.nuage.fait, button.nuage.fait:hover, .crea-pastilles button.nuage.fait:hover, .ph-res-act button.nuage.fait:hover, .g-bas button.nuage.fait:hover { background: var(--nuage-oui); color: #fff; cursor: default; }
button.nuage.file, .crea-pastilles button.nuage.file, .ph-res-act button.nuage.file, .g-bas button.nuage.file { background: var(--ok-fond); color: var(--or-texte); cursor: progress; animation: nuage-bat 1.2s ease-in-out infinite; }
@keyframes nuage-bat { 50% { opacity: .5; } }
@media (prefers-reduced-motion: reduce) { button.nuage.file { animation: none; } }
.nuage-leg { font-weight: 600; } .nuage-leg.non { color: var(--nuage-non); } .nuage-leg.fait { color: var(--nuage-oui); }

/* Les icônes vivantes de Ma stratégie (12/10) : mêmes réflexes que celles de l'accueil (survol sur ordinateur, « joue » une fois à l'apparition sur téléphone). */
.vv-st-loupe { transform-box: fill-box; transform-origin: center; transition: transform .5s cubic-bezier(.3,1.3,.5,1); }
.carte:hover .vv-st-loupe, .carte.joue .vv-st-loupe { animation: vv-st-balaye 1.4s ease-in-out both; }
@keyframes vv-st-balaye { 0% { transform: translateY(-18px); } 50% { transform: translateY(14px); } 100% { transform: none; } }
.vv-st-bip { opacity: 0; } .carte:hover .vv-st-bip, .carte.joue .vv-st-bip { animation: vv-bip 1.4s .3s ease-in-out both; }
.vv-st-rayons { opacity: 0; transform-box: fill-box; transform-origin: center; transition: opacity .3s, transform .4s; transform: scale(.6); }
.carte:hover .vv-st-rayons, .carte.joue .vv-st-rayons { opacity: 1; transform: none; }
.vv-st-ampoule { transform-box: fill-box; transform-origin: center; transition: transform .35s cubic-bezier(.3,1.5,.5,1); }
.carte:hover .vv-st-ampoule, .carte.joue .vv-st-ampoule { transform: translateY(-3px) scale(1.08); }
.vv-st-jour { transform-box: fill-box; transform-origin: center; }
.carte:hover .vv-st-jour, .carte.joue .vv-st-jour { animation: vv-case .4s cubic-bezier(.3,1.4,.5,1) both; }
.carte:hover .vv-st-jour.j1, .carte.joue .vv-st-jour.j1 { animation-delay: .06s; } .carte:hover .vv-st-jour.j2, .carte.joue .vv-st-jour.j2 { animation-delay: .12s; } .carte:hover .vv-st-jour.j3, .carte.joue .vv-st-jour.j3 { animation-delay: .18s; }
.carte:hover .vv-st-jour.j4, .carte.joue .vv-st-jour.j4 { animation-delay: .24s; } .carte:hover .vv-st-jour.j5, .carte.joue .vv-st-jour.j5 { animation-delay: .3s; } .carte:hover .vv-st-jour.j6, .carte.joue .vv-st-jour.j6 { animation-delay: .36s; } .carte:hover .vv-st-jour.j7, .carte.joue .vv-st-jour.j7 { animation-delay: .42s; }
.vv-st-hamecon { transform-box: fill-box; transform-origin: top center; }
.carte:hover .vv-st-hamecon, .carte.joue .vv-st-hamecon { animation: vv-st-mord .9s cubic-bezier(.3,1.4,.5,1) both; }
@keyframes vv-st-mord { 0% { transform: translateY(-16px) rotate(-8deg); } 55% { transform: translateY(6px) rotate(4deg); } 100% { transform: none; } }
.vv-st-phrase { transform-box: fill-box; transform-origin: left center; }
.carte:hover .vv-st-phrase, .carte.joue .vv-st-phrase { animation: vv-ecrit .6s .3s cubic-bezier(.3,1,.5,1) both; }
.vv-st-l1, .vv-st-l2, .vv-st-l3 { transform-box: fill-box; transform-origin: left center; }
.carte:hover .vv-st-l1, .carte.joue .vv-st-l1 { animation: vv-ecrit .45s both; } .carte:hover .vv-st-l2, .carte.joue .vv-st-l2 { animation: vv-ecrit .45s .25s both; } .carte:hover .vv-st-l3, .carte.joue .vv-st-l3 { animation: vv-ecrit .45s .5s both; }
.vv-st-jauge { transform-box: fill-box; transform-origin: left center; }
.carte:hover .vv-st-jauge, .carte.joue .vv-st-jauge { animation: vv-ecrit .9s cubic-bezier(.3,1,.5,1) both; }
.vv-st-note { transform-box: fill-box; transform-origin: center; }
.carte:hover .vv-st-note, .carte.joue .vv-st-note { animation: vv-apo .55s .5s cubic-bezier(.3,1.4,.5,1) both; }

/* 12/10 (Lisa) : dans « Je reproduis » et « Je combine », la photo à copier et les inspirations sont un vrai bloc à remplir, bien à part des références du personnage (qui restent en pointillé léger). Encadré doré, fond chaud, zone de dépôt pleine. */
.ph-inspi-bloc { position: relative; margin: 22px 0 18px; padding: 16px 16px 14px; border: 2px solid var(--or); border-radius: 18px; background: #FFFCF4; box-shadow: 0 10px 26px -20px rgba(31, 91, 82,.45); }
.ph-inspi-bloc.rempli { border-color: var(--bx2); background: #FBFBF7; }
.ph-inspi-tete { display: flex; align-items: center; justify-content: space-between; gap: 10px; } .ph-inspi-tete .section { margin: 0; }
.ph-inspi-bloc .section { font-size: 17px; }
.ph-inspi-badge { flex: none; font-size: 13.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--or-texte); background: var(--ok-fond); border: 1px solid var(--or2); border-radius: 999px; padding: 4px 10px; }
.ph-inspi-bloc.rempli .ph-inspi-badge { color: var(--bx2); background: var(--doux); border-color: rgba(31,91,82,.25); }
.ph-inspi-aide { margin: 4px 0 12px; font-size: 14px; color: var(--encre2); }
.ph-inspi-bloc .depot, .ph-inspi-bloc label.depot { border: 2px solid var(--bx2); border-style: solid; background: var(--doux); color: var(--bx); font-weight: 600; font-size: 15px; min-height: 112px; display: flex; align-items: center; justify-content: center; text-align: center; border-radius: 14px; }
.ph-inspi-bloc .depot:hover, .ph-inspi-bloc label.depot:hover { background: rgba(31,91,82,.12); }
.ph-inspi-bloc.rempli .depot, .ph-inspi-bloc.rempli label.depot { min-height: 64px; font-weight: 500; }
.ph-inspi-bloc .insp { margin: 0; }
@media (max-width: 640px) { .ph-inspi-bloc { margin: 18px -2px 16px; padding: 14px 12px 12px; } }

/* 12/10 : la fiche d'identité se retrouve dans Mon compte › Profil (elle n'est plus dans Ma stratégie). */

/* 12/10 (Lisa) : « Recommencer » partout au même endroit. Ordinateur : à droite du titre (déjà le cas). Téléphone : à gauche, juste sous le titre, sur sa propre ligne. */
@media (max-width: 640px) {
  *:has(> [id$="recommencer"]) { display: flex; flex-wrap: wrap; align-items: flex-start; }
  *:has(> [id$="recommencer"]) > :first-child:not([id$="recommencer"]), .editeur .tete.ph-tete > div:first-child { flex: 1 1 100%; min-width: 0; }
  .av-outils-seul, .editeur .vlb-outils.av-outils.av-outils-seul { justify-content: flex-start; }
  [id$="recommencer"] { order: 10; flex: 0 0 auto; width: max-content; margin: 8px 0 0 !important; }
}

/* 12/10 : règle absolue de Lisa, graisse 600 maximum : un <b> ou un <strong> n'est jamais en 700. */
b, strong { font-weight: 600; }
/* 12/10 : jamais sous 14 px (règle de Lisa) : le nom dans le sélecteur d'identité et le sous-texte de « Créer une nouvelle identité ». */
.id-switch b { font-size: 14px; } .mp-carte.mp-nouveau small, .mp-carte small { font-size: 14px; }

/* 12/10 : la pop-up « Recharger » (fond vert) tient sur téléphone : en bas, au-dessus de la barre, sur deux lignes si besoin. */

/* 12/10 : audit responsive téléphone. Règle de Lisa : jamais sous 14 px, et des cibles d'au moins 40 px sous le doigt. */
small, .indice, .etat, .carte .meta, .etape .sous, .coche, .g-bas, .cat small, .p-corps small, .connexion small, .editeur .section, .editeur .num-etape, .panneau .num-etape, .abo small, .mp-nouveau small, .da-carte small, .r-quand, .cf-pied, .poses-groupe small, .recap-ligne small, .plan-hook .lbl, .plan-item .lay, .prompt-drop .lbl, .realise .r-sur, .apercu-titre, .etapes .titre-p, .idee .i-cta, .idee .i-meca, .r-tete, .paire small, .palette small, .couleur small, .ref-nom, .demo-video small { font-size: 14px; }
@media (max-width: 640px) {
  .retour-global { min-height: 40px; padding: 8px 4px; }
  .pr-cam, .pr-photo-act .pr-cam { width: 40px; height: 40px; }
  .vlb-i { width: 36px; height: 36px; }
  .g-bas a, .g-bas button { width: 36px; height: 36px; }
  .ref .x { width: 32px; height: 32px; font-size: 14px; }
  .rail a[href="confidentialite.html"], .rail a[href="conditions.html"] { padding: 8px 0; display: inline-block; }
}
.notes-dossiers button { font-size: 14px; padding: 8px 12px; }
.editeur .vlb-i, button.vlb-i, .vlb-mode .vlb-i { width: 36px; height: 36px; }
.api-nom small, .api-tete small { font-size: 14px; }

/* ---------- 21/10 (Lisa) : la porte et les deux pages de formules (app et logiciels), un seul composant (offres.js) ---------- */
/* Les trois étapes de l'inscription (porte.js › etapes) : pastilles numérotées, rond vert sapin, chiffre blanc, graisse 600. */
.porte-etapes { list-style: none; margin: 0 0 18px; padding: 14px 16px; background: var(--fond); border-radius: 16px; display: flex; flex-direction: column; gap: 10px; }
.porte-etapes li { display: flex; align-items: center; gap: 12px; font-size: 15.5px; color: var(--bx); font-weight: 500; }
.porte-etape-num { flex: none; width: 28px; height: 28px; border-radius: 50%; background: #1F5B52; color: #fff; display: grid; place-items: center; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
/* L'encadré doré (Ajence Bundle), dans le même composant que les formules de l'app : le bouton doré. */
.plan-carte.or { border-color: var(--or); box-shadow: 0 0 0 2px rgba(163, 205, 185,.22); background: linear-gradient(180deg, #FFFBF1 0%, #FFFFFF 100%); }
.plan-carte.or .btn { background: var(--or); color: var(--bx3); border-color: var(--or); } .plan-carte.or .btn:hover { background: #A3CDB9; }
/* 21/10 (Lisa) : la carte vedette (Ajence Bundle) garde la MÊME taille que les trois cartes, centrée au-dessus d'elles (la colonne du milieu), et ressort :
   vert sapin dégradé, texte ivoire, fine bordure dorée, ombre douce, étiquette dorée au-dessus du nom. Sobre, dans la charte. */
.plan-carte.vedette, .porte-ecran .plan-carte.vedette { position: relative; background: linear-gradient(160deg, #1F5B52 0%, #17463F 100%); color: #FAF8F4; border: 1px solid rgba(163, 205, 185,.72); box-shadow: 0 2px 6px rgba(23,70,63,.14), 0 18px 36px -16px rgba(23,70,63,.5); }
.plan-carte.vedette b, .plan-carte.vedette .prix, .plan-carte.vedette .prix small, .plan-carte.vedette .plan-atouts li { color: #FAF8F4; }
.plan-carte.vedette .plan-avant, .plan-carte.vedette .plan-an { color: rgba(250,248,244,.74); }
.plan-etiquette { align-self: flex-start; font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--or2); }
/* Posée sur le vert de la porte, la même carte serait invisible : un sapin un peu plus clair que la page, et un halo doré très léger à la place de l'ombre. */
.porte-ecran .plan-carte.vedette { background: linear-gradient(160deg, #2A7A6E 0%, #1F5B52 100%); box-shadow: 0 0 0 5px rgba(163, 205, 185,.14), 0 18px 36px -16px rgba(0,0,0,.45); }
/* Seule sur sa rangée, dans la colonne du milieu ; les trois cartes commencent la rangée suivante (la case vide à sa droite reste vide). */
@media (min-width: 900px) { .plans.formules.lg-offres .plan-carte.vedette { grid-column: 2; grid-row: 1; } .plans.formules.lg-offres .plan-carte.vedette ~ .plan-carte { grid-row: 2; } }
@media (min-width: 640px) and (max-width: 899px) { .plans.formules.lg-offres { grid-template-columns: repeat(2, 1fr); } .plans.formules.lg-offres .plan-carte.vedette { grid-column: 1 / -1; width: calc(50% - 6px); justify-self: center; } }
.plan-avant { font-family: var(--tight); font-size: 16px; font-weight: 500; color: var(--encre2); text-decoration: line-through; margin-left: 6px; vertical-align: middle; }
.plan-etat { display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; color: var(--or-texte); background: var(--ok-fond); border: 1px solid var(--or2); border-radius: 999px; padding: 9px 14px; width: 100%; }
.plan-carte .btn[data-plan] { width: 100%; justify-content: center; }
.plan-carte .btn[data-plan]:disabled { opacity: .6; cursor: default; }
.plans.formules.lg-offres { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
@media (min-width: 900px) { .plans.formules.lg-offres { grid-template-columns: repeat(3, 1fr); } }
/* Les pages de formules dans l'app (porte.js › ecranFormulesApp, logiciels.js › ecranFormulesLogiciels) : le fond clair de l'app, les mêmes cartes. */
.formules-app { max-width: 1000px; }
.formules-app .plan-carte b { font-family: var(--large); font-stretch: 125%; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; font-size: 17px; }
.formules-app .plan-carte.populaire { border-color: var(--bx2); }
.formules-app .porte-note { max-width: none; }
.formules-pied { margin-top: 22px; }
.h1-maj { text-transform: uppercase; letter-spacing: .04em; }
.ml-note { margin-top: 14px; }
/* La porte : « Choisis tes logiciels » posé sur le vert. */
.porte-boite.lg-porte-formules { max-width: 1000px; }
.porte-boite.large .porte-h1.h1-maj { font-family: var(--large); font-stretch: 125%; font-weight: 600; font-size: 26px; }
.porte-boite.large .plan-etat { background: var(--ok-fond); }
/* La section « Mes logiciels » (logiciels.js) : un cadenas à côté du titre tant que le logiciel n'est pas sur le compte, la page d'un logiciel débloqué. */
.ml-carte h3 { display: flex; align-items: center; gap: 8px; }
.ml-cadenas { flex: none; width: 16px; height: 16px; color: var(--or); }
.ml-carte.ml-ferme .visuel { filter: saturate(.7); }
.ml-etat.on { color: var(--or-texte); font-weight: 600; }
.ml-voir { margin-top: 22px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; } .ml-voir .indice { max-width: 620px; }
.ml-fil { margin: 0 0 6px; font-size: 14px; } .ml-fil a { color: var(--encre2); text-decoration: none; } .ml-fil a:hover { color: var(--bx2); }
.ml-detail { max-width: 760px; display: flex; flex-direction: column; gap: 18px; }
.ml-detail-haut { display: flex; align-items: center; gap: 22px; }
.ml-detail-visuel { flex: none; width: 150px; height: 96px; border-radius: 14px; background: var(--surface); display: flex; align-items: center; justify-content: center; } .ml-detail-visuel svg { width: 120px; height: 72px; }
.ml-desc { margin: 0; color: var(--encre2); font-size: 15.5px; line-height: 1.55; }
.ml-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ml-infos { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.ml-infos div { background: var(--fond); border-radius: 14px; padding: 12px 14px; } .ml-infos dt { font-size: 14px; color: var(--encre2); margin-bottom: 2px; } .ml-infos dd { margin: 0; font-size: 15.5px; font-weight: 500; color: var(--bx); overflow-wrap: anywhere; }
.ml-ouvrir { margin: 0; font-size: 15px; color: var(--bx); display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; } .ml-ouvrir small { flex-basis: 100%; font-size: 14px; color: var(--encre2); }
@media (max-width: 640px) {
  .ml-detail-haut { flex-direction: column; align-items: flex-start; }
  .ml-actions .btn:not(.lien) { width: 100%; justify-content: center; }
  .ml-voir .btn { width: 100%; justify-content: center; }
  .porte-boite.large .porte-h1.h1-maj { font-size: 22px; }
}

/* 28/10 : Mes logiciels sur l'accueil = 4 cartes (Le Trieur offert avec AJ EDIT) : une rangée de 4 sur ordinateur, 2 x 2 en dessous. */
@media (min-width: 1100px) { .lg-bloc .grille { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 600px) and (max-width: 1099px) { .lg-bloc .grille { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- 30/10 (Lisa) : les dix cartes de l'accueil qui ne bougeaient pas au survol. Même esprit que les autres (.carte:hover, .carte.joue), mouvements dans vivants.js. ---------- */
/* J'ai une idée en tête : l'ampoule se soulève, ses rayons s'allument, le paysage se lève dans le cadre. */
.vv-pi-rayons { opacity: .35; transition: opacity .35s ease, transform .5s cubic-bezier(.3,1.4,.5,1); }
.carte:hover .vv-pi-rayons, .carte.joue .vv-pi-rayons { opacity: 1; transform: scale(1.18); }
.carte:hover .vv-pi-ampoule, .carte.joue .vv-pi-ampoule { transform: translateY(-3px); }
.vv-pi-paysage { transform-origin: 50% 100%; transform: scaleY(.45); opacity: .6; transition: transform .6s cubic-bezier(.3,1.4,.5,1) .1s, opacity .4s ease .1s; }
.carte:hover .vv-pi-paysage, .carte.joue .vv-pi-paysage { transform: none; opacity: 1; }
/* Reproduire une photo, Je remplace (personnage, tenue, décor, produit), Je change de look : l'élément de la vidéo s'efface, la flèche avance, le tien arrive en doré. */
.vv-sw-a { transition: opacity .5s ease, transform .5s ease; }
.carte:hover .vv-sw-a, .carte.joue .vv-sw-a { opacity: .3; transform: scale(.92); }
.carte:hover .vv-sw-fl, .carte.joue .vv-sw-fl { animation: vv-sw-fleche 1.1s ease-in-out infinite; }
@keyframes vv-sw-fleche { 50% { transform: translateX(4px); } }
.carte:hover .vv-sw-b, .carte.joue .vv-sw-b { animation: vv-sw-arrive .65s .15s cubic-bezier(.3,1.4,.5,1) both; }
@keyframes vv-sw-arrive { from { transform: scale(.5); opacity: 0; } }
/* Combiner plusieurs inspirations : les trois vignettes glissent vers la grande l'une après l'autre, l'image finale se compose. */
.carte:hover .vv-cb-1, .carte.joue .vv-cb-1 { transform: translateX(6px); }
.carte:hover .vv-cb-2, .carte.joue .vv-cb-2 { transform: translateX(6px); transition-delay: .1s; }
.carte:hover .vv-cb-3, .carte.joue .vv-cb-3 { transform: translateX(6px); transition-delay: .2s; }
/* Je transforme une vidéo : les trois bandes du téléphone (tenue, décor, coiffure) passent au doré l'une après l'autre, comme un balayage. */
.vv-tf-b1, .vv-tf-b2, .vv-tf-b3 { transform-origin: left center; transform: scaleX(0); transition: transform .55s cubic-bezier(.3,1.2,.5,1); }
.carte:hover .vv-tf-b1, .carte.joue .vv-tf-b1 { transform: scaleX(1); }
.carte:hover .vv-tf-b2, .carte.joue .vv-tf-b2 { transform: scaleX(1); transition-delay: .5s; }
.carte:hover .vv-tf-b3, .carte.joue .vv-tf-b3 { transform: scaleX(1); transition-delay: 1s; }
@media (prefers-reduced-motion: reduce) { .vv-pi-paysage, .vv-tf-b1, .vv-tf-b2, .vv-tf-b3 { transform: none; opacity: 1; } .vv-pi-rayons { opacity: 1; } }
/* Mon compte › Langue (04/11/2026) : un menu sobre, à la taille des boutons secondaires. */
.pf-langue { font: inherit; font-size: 15px; min-height: 40px; padding: 6px 34px 6px 14px; border-radius: 999px; border: 1px solid var(--ligne); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F5B52' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 14px; color: inherit; appearance: none; -webkit-appearance: none; cursor: pointer; }

/* 06/11/2026 (Lisa) : le logo de l'app devient SHOOT, les deux O en déclencheurs (anneau + cœur vert clair). Le A et l'apostrophe dorée restent aux logiciels de L'ajence. */
:root { --shoot-coeur: #7FA394; }
.o-shoot { display: inline-block; width: .74em; height: .74em; margin: 0 .035em; border-radius: 50%; vertical-align: -.06em; font-style: normal;
  box-shadow: inset 0 0 0 .115em currentColor; background: radial-gradient(circle, var(--shoot-coeur) 0 .2em, transparent calc(.2em + .5px)); }
.porte-tete .o-shoot { --shoot-coeur: #A3CDB9; }
@media (max-width: 900px) { .logo::before { content: ''; display: inline-block; width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 3px currentColor; background: radial-gradient(circle, var(--shoot-coeur) 0 6px, transparent 6.5px); } }
/* 06/11/2026 (Lisa) : « Choisis tes logiciels » : le pack des 4 en vedette, centré au-dessus des quatre cartes à l'unité (4 colonnes sur ordinateur). */
@media (min-width: 1100px) { .formules-app.lg-formules { max-width: 1180px; } .plans.formules.lg-offres.lg-n4 { grid-template-columns: repeat(4, 1fr); } .plans.formules.lg-offres.lg-n4 .plan-carte.vedette { grid-column: 2 / span 2; width: calc(50% - 6px); justify-self: center; } }
@media (min-width: 900px) and (max-width: 1099px) { .plans.formules.lg-offres.lg-n4 { grid-template-columns: repeat(2, 1fr); } .plans.formules.lg-offres.lg-n4 .plan-carte.vedette { grid-column: 1 / -1; width: calc(50% - 6px); justify-self: center; } .plans.formules.lg-offres.lg-n4 .plan-carte.vedette ~ .plan-carte { grid-row: auto; } }

/* Le slider de « Créer mon compte » (06/11/2026, slider-inscription.js) : au-dessus de la carte, sur le fond vert de la porte. */
.si { width: 100%; max-width: 440px; color: #fff; text-align: center; }
.si[hidden] { display: none; }
.si-fenetre { overflow: hidden; border-radius: 22px; }
.si-piste { display: flex; transition: transform .45s cubic-bezier(.2,.7,.2,1); touch-action: pan-y; }
.si-ecran { flex: 0 0 100%; min-width: 0; padding: 0 3px; box-sizing: border-box; overflow: hidden; }
.si-visuel { position: relative; aspect-ratio: 4 / 3; border-radius: 22px; overflow: hidden; background: #0F2F2B; box-shadow: 0 0 0 1.5px rgba(127,163,148,.35); }
.si-duo { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 3px; }
.si-duo img, .si-cine img { width: 100%; height: 100%; object-fit: cover; display: block; }
.si-etq { position: absolute; top: 10px; padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.si-etq.g { left: 10px; background: rgba(250,248,244,.94); color: #17463F; }
.si-etq.d { right: 10px; background: #A3CDB9; color: #0F2F2B; }
.si-fl { position: absolute; left: 50%; top: 50%; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; background: #fff; color: #0F2F2B; display: grid; place-items: center; font-size: 18px; box-shadow: 0 6px 16px -6px rgba(0,0,0,.5); }
.si-cine { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; background: #000; }
.si-cine figure { position: relative; margin: 0; overflow: hidden; }
.si-cine figcaption { position: absolute; left: 6px; bottom: 6px; padding: 2px 8px; border-radius: 999px; background: rgba(250,248,244,.94); color: #17463F; font-size: 12px; font-weight: 600; }
.si-tel { background: radial-gradient(ellipse at 50% 30%, rgba(127,163,148,.3), transparent 70%), #0F2F2B; }
.si-tel img { position: absolute; top: 5%; left: 50%; transform: translateX(-50%); height: 90%; width: auto; border-radius: 16px; box-shadow: 0 0 0 5px #0A1F1C, 0 20px 40px -16px rgba(0,0,0,.8); }
.si-ia { background: #FAF8F4; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.si-q { align-self: flex-end; max-width: 80%; padding: 7px 11px; border-radius: 14px 14px 4px 14px; background: #1F5B52; color: #fff; font-size: 13px; text-align: left; }
.si-rep { flex: 1; display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; min-height: 0; overflow: hidden; }
.si-col { background: #fff; border-radius: 12px; padding: 8px; text-align: left; box-shadow: 0 1px 3px rgba(0,0,0,.08); overflow: hidden; }
.si-col b { display: inline-block; padding: 2px 7px; border-radius: 999px; background: #DCE7E1; color: #1F5B52; font-size: 11px; font-weight: 600; }
.si-col i { display: block; height: 6px; margin-top: 7px; border-radius: 3px; background: #ECE7DE; }
.si-col i:nth-of-type(4n+2) { width: 85%; } .si-col i:nth-of-type(4n+3) { width: 92%; } .si-col i:nth-of-type(4n) { width: 62%; margin-bottom: 10px; }
.si-prix { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px; background: radial-gradient(ellipse at 50% 20%, rgba(163, 205, 185,.18), transparent 70%), #0F2F2B; }
.si-tuile { border-radius: 16px; background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(220,231,225,.22); display: grid; place-content: center; text-align: center; padding: 8px; }
.si-tuile strong { font-family: 'Archivo', 'Inter Tight', sans-serif; font-stretch: 125%; font-weight: 500; font-size: 26px; color: #CFE5DA; line-height: 1; }
.si-tuile span { margin-top: 6px; font-size: 13px; color: rgba(255,255,255,.82); }
.si-parrain .si-tuile:last-child { background: rgba(207, 229, 218,.16); box-shadow: inset 0 0 0 1.5px rgba(207, 229, 218,.6); } /* 08/11 : la tuile « 0 € pour toi » du parrainage */
.si-h2 { margin: 16px 0 0; font-family: 'Archivo', 'Inter Tight', sans-serif; font-stretch: 125%; font-weight: 500; text-transform: uppercase; font-size: 22px; line-height: 1.05; color: #fff; }
.si-h2 i { font-style: normal; color: #DCE7E1; }
.si-p { margin: 8px auto 0; max-width: 360px; font-size: 16px; line-height: 1.4; color: rgba(255,255,255,.82); }
.si-points { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.si-points button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: rgba(255,255,255,.3); cursor: pointer; transition: width .3s, background .3s; }
.si-points button.on { width: 24px; background: #CFE5DA; }
@media (prefers-reduced-motion: reduce) { .si-piste, .si-points button { transition: none; } }
/* (06/11) la carte du logiciel choisi sur la page de vente (« Le prendre seul ») */
.plan-carte.choisie { border-color: var(--or); box-shadow: 0 0 0 3px rgba(163, 205, 185,.35); }

/* ---------- L'onglet Formation dans la barre du bas du téléphone (08/11/2026, Lisa et Tamya) ----------
   Ordre : Mes créations · Accueil (le bouton rond) · Formation · Mes notes. Il remplace Mon feed, l'onglet le moins important de la
   barre (le feed est aussi l'onglet Feed de Mes créations) : Mon feed reste dans le menu ≡ du téléphone et dans le rail de l'ordinateur. */
@media (max-width: 900px) {
  .rail .espace[href="#/feed"] { display: none; }
  .rail .espace[href="#/formation"] { order: 5; }
}
@media (max-width: 640px) {
  .rail .espace[href="#/formation"] { order: 4; }
}

/* 08/11/2026 (Lisa) : l'accueil allégé et aéré. Les vignettes : le visuel et le titre, plus de phrase ni de ligne dessous ;
   les sections : leur titre seul ; « Voir mes… » devient un petit bouton discret. L'explication vit dans l'écran qui s'ouvre. */
.accueil-leger .carte > p, .accueil-leger .carte .meta, .accueil-leger .cat-tete p, .accueil-leger-drop .cat-tete p { display: none; }
.accueil-leger .cat-bloc { margin-bottom: 30px; }
.accueil-leger .grille { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.accueil-leger .carte { min-height: 0; padding: 12px; gap: 10px; flex-direction: column; }
.accueil-leger .carte .visuel { height: 92px; width: 100%; }
.accueil-leger .carte h3 { font-size: 15.5px; line-height: 1.3; }
.accueil-leger .cat-tete { align-items: center; margin-bottom: 12px; }
.accueil-leger .cat-tete .cat-voir, .accueil-leger-drop .cat-voir { padding: 6px 12px; font-size: 14px; gap: 6px; background: var(--doux, rgba(31,91,82,.07)); color: var(--bx2); border: 1px solid rgba(31,91,82,.18); box-shadow: none; }
.accueil-leger .cat-tete .cat-voir:hover, .accueil-leger-drop .cat-voir:hover { background: rgba(31,91,82,.12); box-shadow: none; }
.accueil-leger .cat-tete .cat-voir svg, .accueil-leger-drop .cat-voir svg { width: 16px; height: 16px; }
.accueil-leger .cat-seule .grille { grid-template-columns: 1fr; }
.accueil-leger .cat-seule .carte { flex-direction: row; align-items: center; }
.accueil-leger .cat-seule .carte .visuel { width: 96px; height: 64px; flex: none; }
@media (max-width: 640px) {
  .accueil-leger .grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .accueil-leger .carte { flex-direction: column !important; align-items: stretch !important; }
  .accueil-leger .carte .visuel { width: 100% !important; height: 84px !important; }
  .accueil-leger .cat-seule .grille { grid-template-columns: 1fr; }
  .accueil-leger .cat-seule .carte { flex-direction: row !important; align-items: center !important; }
  .accueil-leger .cat-seule .carte .visuel { width: 96px !important; height: 60px !important; }
}
@media (max-width: 900px) {
  .accueil-leger .grille > .carte:has(> .visuel) { display: flex; flex-direction: column; align-items: stretch; gap: 10px; padding: 12px; }
  .accueil-leger .grille > .carte > .visuel { grid-row: auto; width: 100%; height: 84px; }
  .accueil-leger .grille > .carte > h3 { margin-top: 0; font-size: 15px; line-height: 1.3; }
  .accueil-leger .cat-seule .grille > .carte:has(> .visuel) { flex-direction: row; align-items: center; }
  .accueil-leger .cat-seule .grille > .carte > .visuel { width: 96px; height: 60px; flex: none; }
}
/* 08/11/2026 (Lisa) : les titres de section de l'accueil à gauche, pas centrés ; « Voir mes… » en petit à droite du titre. */
.accueil-leger .cat-tete, .accueil-leger-drop .cat-tete { display: flex; flex-direction: row; align-items: center; justify-content: space-between; text-align: left; gap: 12px; }
.accueil-leger .cat-tete > div, .accueil-leger .cat-tete h2 { text-align: left; margin: 0; }
.accueil-leger .cat-tete .cat-voir { margin-left: auto; width: auto; flex: none; }
@media (max-width: 900px) {
  .accueil-leger .cat-tete { flex-direction: row !important; align-items: center !important; text-align: left !important; }
  .accueil-leger .cat-tete h2 { text-align: left !important; }
  .accueil-leger .cat-tete .cat-voir { width: auto !important; margin: 0 0 0 auto !important; }
  .accueil-leger .cat-tete .cat-voir span { display: none; }
}
@media (max-width: 900px) {
  .accueil-leger .cat-tete .cat-voir svg { display: none; }
  .accueil-leger .cat-tete .cat-voir::before { content: "Tout voir"; font-size: 14px; font-weight: 500; }
}

/* ---------- 21/11/2026 (Lisa) · La section Vidéos de l'accueil : un ruban vert en biais sur toute la largeur, trois cartes vidéo ----------
   Le ruban (.ruban) est bien plus large que l'écran et centré : .scene-wrap (overflow-x: clip) le coupe net aux bords de la zone de contenu.
   Le titre : « CRÉE TES » en Archivo large majuscules, « vidéos » en Instrument Serif italique. Le clap et la caméra : icônes au trait fin dans des pastilles crème.
   Les cartes à mini vidéo : la vidéo remplit la carte (4/5), le titre centré et le bouton posés dessus sur un dégradé sombre, « Exemple » en haut à droite. */
.cat-ruban .ruban-tete { position: relative; margin: 46px 0 50px; padding: 15px 0; display: flex; align-items: center; justify-content: center; }
.cat-ruban .ruban { position: absolute; left: 50%; top: 0; bottom: 0; width: 400vw; transform: translateX(-50%) rotate(-2.4deg); background: var(--bx); z-index: 0; }
.cat-ruban .ruban-tete h2 { position: relative; z-index: 1; margin: 0; color: #FAF8F4; font-family: var(--large); font-weight: 500; font-size: 24px; line-height: 1; text-transform: uppercase; letter-spacing: .05em; text-align: center; transform: rotate(-2.4deg); white-space: nowrap; }
.cat-ruban .ruban-tete h2 .serif { font-family: var(--serif); font-style: italic; font-weight: 400; text-transform: none; letter-spacing: 0; font-size: 1.45em; margin-left: .08em; color: #CFE5DA; }
.cat-ruban .ruban-ico { position: absolute; z-index: 2; width: 50px; height: 50px; border-radius: 50%; background: #FAF8F4; color: var(--bx); border: 1.5px solid var(--bx); display: grid; place-items: center; box-shadow: 0 8px 18px -10px rgba(23, 70, 63, .6); }
.cat-ruban .ruban-ico svg { width: 24px; height: 24px; stroke-width: 1.5; }
.cat-ruban .ruban-ico.i1 { left: 6%; top: -16px; transform: rotate(-10deg); }
.cat-ruban .ruban-ico.i2 { right: 6%; bottom: -16px; transform: rotate(8deg); }
.accueil-leger .cat-ruban .grille { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cat-ruban .carte .visuel { position: relative; }
.accueil-leger .cat-ruban .carte .visuel { height: 130px; }
.accueil-leger .cat-ruban .carte:has(> .visuel.a-clip) { padding: 0 !important; overflow: hidden; border-radius: 22px; gap: 0 !important; }
.accueil-leger .cat-ruban .carte:has(> .visuel.a-clip) > h3 { display: none; }
.accueil-leger .cat-ruban .carte .visuel.a-clip { height: auto; aspect-ratio: 4 / 5; padding: 0; border-radius: 0; background: #1b2422; }
.cat-ruban .visuel.a-clip video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; display: block; }
.cat-ruban .visuel.a-clip::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(12, 30, 27, .82) 0%, rgba(12, 30, 27, .35) 32%, rgba(12, 30, 27, 0) 55%); pointer-events: none; }
.carte-sur { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 0 16px 20px; text-align: center; }
.carte-sur strong { font-family: var(--tight); font-weight: 600; font-size: 26px; line-height: 1.1; color: #fff; text-shadow: 0 2px 14px rgba(0, 0, 0, .35); }
.carte-cta { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; background: #FAF8F4; color: var(--bx); font-size: 15px; font-weight: 600; transition: transform .15s, background .15s; }
.carte-cta i { font-style: normal; transition: transform .15s; }
.carte:hover .carte-cta { background: #fff; } .carte:hover .carte-cta i { transform: translateX(3px); }
.carte-exemple { position: absolute; top: 12px; right: 12px; z-index: 2; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 500; color: #fff; background: rgba(12, 30, 27, .45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.carte-badge { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 5px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: #fff; background: linear-gradient(90deg, #F58529, #DD2A7B 55%, #8134AF); box-shadow: 0 6px 14px -8px rgba(129, 52, 175, .8); white-space: nowrap; }
@media (max-width: 900px) {
  .accueil-leger .cat-ruban .grille { grid-template-columns: 1fr !important; }
  .accueil-leger .cat-ruban .grille > .carte:has(> .visuel) { flex-direction: column !important; align-items: stretch !important; }
  .accueil-leger .cat-ruban .grille > .carte > .visuel { width: 100% !important; height: 140px !important; }
  .accueil-leger .cat-ruban .grille > .carte > .visuel.a-clip { height: auto !important; aspect-ratio: 4 / 5; border-radius: 0 !important; }
}
@media (max-width: 640px) {
  .cat-ruban .ruban-tete { margin: 40px 0 44px; padding: 13px 0; }
  .cat-ruban .ruban-tete h2 { font-size: 20px; }
  .cat-ruban .ruban-ico { width: 42px; height: 42px; } .cat-ruban .ruban-ico svg { width: 20px; height: 20px; }
  .cat-ruban .ruban-ico.i1 { left: 2%; top: -18px; } .cat-ruban .ruban-ico.i2 { right: 2%; bottom: -18px; }
  .carte-sur strong { font-size: 24px; }
}
/* 21/11/2026 (Lisa) : sur ordinateur aussi, la zone de contenu coupe le ruban à sa bordure : il s'arrête au trait du menu de gauche, sans passer dessus.
   La section Vidéos est la première de l'accueil : moins d'espace au-dessus du ruban, juste de quoi laisser la pastille du clap respirer. */
.scene-wrap:has(.cat-ruban) { overflow-x: clip; }
.accueil-leger > .cat-ruban:first-child .ruban-tete { margin-top: 34px; }
/* 21/11/2026 (Lisa) · Maquette : les rubans de Personnages et Photos, et les emplacements 4/5 en attente de leur photo ou vidéo (.a-place).
   Plus de titre sur les cartes à vidéo ou à emplacement : le bouton seul, à sa taille. Personnages (4 cartes) : 4 colonnes sur ordinateur. */
/* 22/11/2026 (Lisa) : 3 cartes au plus par ligne sur ordinateur, dans toutes les sections (plus de ligne de 4). */
.accueil-leger .cat-ruban .carte .visuel.a-clip.a-place { background: linear-gradient(165deg, #E6E0D5 0%, #D6CEC0 100%); }
.cat-ruban .visuel.a-place::after { background: linear-gradient(to top, rgba(12, 30, 27, .55) 0%, rgba(12, 30, 27, 0) 40%); }
.carte-place { position: absolute; inset: 0 0 22%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: var(--bx); }
.carte-place > svg { width: 58% !important; height: auto !important; max-width: 170px; }
.carte-place > svg:not(.vv) { width: 56px !important; height: 56px !important; stroke-width: 1.3; }
.carte-place small { font-size: 12.5px; color: var(--encre2); letter-spacing: .02em; }
/* 21/11/2026 (Lisa) · Personnages : la fiche personnage, bord à bord, sans le cadre de la carte. Les séparations entre les photos sont transparentes (le fond de la page).
   Le dégradé du bouton est posé photo par photo (pas sur les séparations). Le reflet (.brille) passe une fois, de gauche à droite. */
.accueil-leger .cat-ruban .carte:has(> .visuel.a-fiche) { background: transparent; box-shadow: none; border: 0; }
.accueil-leger .cat-ruban .carte .visuel.a-clip.a-fiche { background: transparent; overflow: visible; }
.cat-ruban .visuel.a-fiche::after { content: none; }
.fiche { position: absolute; inset: 0; display: grid; grid-template-columns: 62% minmax(0, 1fr); gap: 4px; }
.fiche .f-img { position: relative; display: block; min-height: 0; overflow: hidden; background: #fff; }
.fiche img { display: block; width: 100%; height: 100%; object-fit: cover; }
.fiche .f-pied { border-radius: 22px 0 0 22px; } .fiche .f-pied img { object-position: 50% 12%; }
.fiche .f-col { display: grid; grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 4px; min-height: 0; }
.fiche .f-col img { object-position: 50% 30%; }
.fiche .f-col .f-img:first-child { border-top-right-radius: 22px; } .fiche .f-col .f-img:last-child { border-bottom-right-radius: 22px; }
.fiche .f-pied::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(12, 30, 27, .6) 0%, rgba(12, 30, 27, 0) 34%); }
.fiche .f-col .f-img:last-child::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(12, 30, 27, .6) 0%, rgba(12, 30, 27, 0) 100%); }
.fiche .f-img::before { content: ''; position: absolute; z-index: 1; top: -10%; bottom: -10%; left: -60%; width: 45%; background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .55) 50%, rgba(255, 255, 255, 0) 100%); transform: skewX(-18deg); opacity: 0; pointer-events: none; }
.fiche.brille .f-img::before { animation: fiche-reflet 6s ease-in-out infinite; } /* 21/11 (Lisa) : en boucle, un passage toutes les 6 s */
.fiche.brille .f-col .f-img::before { animation-delay: .32s; }
@keyframes fiche-reflet { 0% { left: -60%; opacity: 0; } 3% { opacity: 1; } 18% { opacity: 1; } 22% { left: 130%; opacity: 0; } 100% { left: 130%; opacity: 0; } }
/* 22/11/2026 (Lisa) · « Je shoote mon produit » : la pile qui défile, photos en plein cadre. La photo du dessus part sur la gauche en tournant (.part),
   puis repasse dessous sans transition (.sans-trans). L'étiquette Studio / UGC en haut à gauche. */
.pile { position: absolute; inset: 0; z-index: 0; isolation: isolate; overflow: hidden; }
.pile-photo { position: absolute; inset: 0; margin: 0; }
.pile-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.pile-tag { position: absolute; top: 12px; left: 12px; padding: 4px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 500; color: #fff; background: rgba(12, 30, 27, .45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.cat-ruban .visuel.a-pile::after { z-index: 1; }
/* 22/11/2026 (Lisa) : les coins arrondis des cartes à image restaient parfois carrés en haut (au survol, pendant les animations) :
   le masque force le navigateur à toujours découper la carte selon son arrondi. */
.accueil-leger .cat-ruban .carte:has(> .visuel.a-clip) { -webkit-mask-image: -webkit-radial-gradient(white, black); mask-image: radial-gradient(white, black); isolation: isolate; }
.accueil-leger .cat-ruban .carte .visuel.a-clip { border-radius: inherit; overflow: hidden; }
/* 22/11/2026 (Lisa) · « Je crée une photo » : la conversation. Cycle de 8 s :
   0–9 % la bulle arrive (pop) au milieu ; 18 % « Distribué » ; 34–42 % la photo répond : la bulle remonte, la vignette apparaît à gauche (pop) ;
   58–64 % la vignette s'agrandit jusqu'au plein cadre ; jusqu'à 99,9 % la photo en plein cadre ; 100 % retour net au début. */
.idee { position: absolute; inset: 0; z-index: 0; isolation: isolate; overflow: hidden; background: #fff; }
.idee-fil { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: flex-end; justify-content: center; padding: 0 7% 18%; animation: idee-fil 8s cubic-bezier(.3, .8, .3, 1) infinite; }
.idee-bulle { position: relative; max-width: 80%; padding: 12px 16px; border-radius: 22px 22px 6px 22px; background: var(--bx2); color: #FAF8F4; font-family: var(--tight); font-size: 16.5px; line-height: 1.3; font-weight: 500; transform-origin: 100% 100%; animation: idee-bulle 8s cubic-bezier(.3, 1.4, .5, 1) infinite; }
.idee-bulle::after { content: ''; position: absolute; right: -6px; bottom: 0; width: 14px; height: 16px; background: var(--bx2); clip-path: path('M0 0 C2 9 7 14 14 16 C7 16 2 14 0 12 Z'); }
.idee-lu { margin-top: 6px; font-size: 12px; color: #9AA3A0; animation: idee-lu 8s linear infinite; }
.idee-vignette { position: absolute; inset: 33% 40% 19% 7%; overflow: hidden; border-radius: 18px 18px 18px 6px; transform-origin: 0 100%; animation: idee-vignette 8s cubic-bezier(.3, .9, .3, 1) infinite; }
.idee-vignette img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.cat-ruban .visuel.a-idee::after { animation: idee-ombre 8s linear infinite; }
.a-idee .carte-cta { box-shadow: 0 8px 20px -10px rgba(12, 30, 27, .55); border: 1px solid rgba(23, 70, 63, .14); }
@keyframes idee-bulle { 0%, 4% { opacity: 0; transform: scale(.6) translateY(10px); } 9%, 100% { opacity: 1; transform: scale(1) translateY(0); } }
@keyframes idee-lu { 0%, 17% { opacity: 0; } 18%, 100% { opacity: 1; } }
@keyframes idee-fil { 0%, 34% { transform: translateY(0); } 42%, 100% { transform: translateY(-28%); } }
@keyframes idee-vignette {
  0%, 37.9% { opacity: 0; transform: scale(.8); inset: 33% 40% 19% 7%; border-radius: 18px 18px 18px 6px; }
  38% { opacity: 1; transform: scale(.8); }
  43% { transform: scale(1); }
  58% { opacity: 1; transform: scale(1); inset: 33% 40% 19% 7%; border-radius: 18px 18px 18px 6px; }
  64%, 99.9% { opacity: 1; transform: scale(1); inset: 0 0 0 0; border-radius: 0; }
  100% { opacity: 0; inset: 0 0 0 0; }
}
@keyframes idee-ombre { 0%, 62% { opacity: 0; } 64%, 99.9% { opacity: 1; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .idee-fil, .idee-bulle, .idee-lu { display: none; } .idee-vignette { animation: none; inset: 0; border-radius: 0; } .cat-ruban .visuel.a-idee::after { animation: none; } }
/* 22/11/2026 (Lisa) · « Je reproduis une photo » : la carte qui se retourne. Recto (Inspiration) 0–38 %, demi-tour 38–46 %,
   verso (Avec ton clone) jusqu'à 88 %, fin du tour 88–96 % : on retombe sur le recto, et la boucle repart sans à-coup. */
.retourne { position: absolute; inset: 0; z-index: 0; perspective: 1400px; background: #EDE8E0; }
.retourne-carte { position: absolute; inset: 0; transform-style: preserve-3d; animation: retourne 7s cubic-bezier(.45, .05, .25, 1) infinite; }
.retourne-face { position: absolute; inset: 0; margin: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden; }
.retourne-face img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; transform: scale(1.2); transform-origin: 50% 66%; } /* 22/11 (Lisa) : zoom sur la personne, moins de mur vide en haut */
.retourne-face.verso { transform: rotateY(180deg); }
@keyframes retourne { 0%, 38% { transform: rotateY(0); } 46%, 88% { transform: rotateY(180deg); } 96%, 100% { transform: rotateY(360deg); } }
@media (prefers-reduced-motion: reduce) { .retourne-carte { animation: none; } }
/* 22/11/2026 (Lisa) · « Je passe ma photo en 4K » : le slider automatique. La 4K est découpée à partir de la ligne (clip-path) ;
   la ligne et la découpe suivent la même animation : de 80 % à 20 % et retour, en 6 s, avec une pause à chaque bout. */
.slider4k { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: #ddd; }
.slider4k img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.s4-apres { clip-path: inset(0 0 0 80%); animation: s4-clip 6s ease-in-out infinite; }
.s4-ligne { position: absolute; top: 0; bottom: 0; left: 80%; width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 10px rgba(0, 0, 0, .35); animation: s4-ligne 6s ease-in-out infinite; }
.s4-ligne i { position: absolute; top: 42%; left: 50%; transform: translate(-50%, -50%); width: 38px; height: 38px; border-radius: 50%; background: #fff; color: var(--bx); display: grid; place-items: center; font-style: normal; font-size: 15px; font-weight: 700; letter-spacing: 2px; box-shadow: 0 4px 12px rgba(0, 0, 0, .3); }
.s4-tag-avant { top: 82px !important; left: 12px; } /* 22/11 (Lisa) : plus haut, sur les ailes, lisible ; « 240p » */
.s4-tag-apres { left: auto !important; right: 12px; top: 82px !important; }
.carte .visuel.a-slider .carte-badge { z-index: 3; }
@keyframes s4-clip { 0%, 12% { clip-path: inset(0 0 0 80%); } 45%, 62% { clip-path: inset(0 0 0 20%); } 95%, 100% { clip-path: inset(0 0 0 80%); } }
@keyframes s4-ligne { 0%, 12% { left: 80%; } 45%, 62% { left: 20%; } 95%, 100% { left: 80%; } }
@media (prefers-reduced-motion: reduce) { .s4-apres, .s4-ligne { animation: none; clip-path: inset(0 0 0 50%); left: 50%; } }
/* 22/11/2026 (Lisa) · La carte « bibliothèque de prompts » : un mur de vignettes en 3 colonnes qui défilent vers le haut à des vitesses différentes
   (chaque colonne contient deux fois son lot : -50 % = un tour sans couture), et un marque-page vert qui pend du haut avec le nombre de prompts. */

.mur { position: absolute; inset: 0; z-index: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 0 6px; overflow: hidden; }
.mur-col { display: flex; flex-direction: column; gap: 6px; animation: mur-defile 40s linear infinite; }
.mur-col.c1 { animation-duration: 52s; animation-delay: -18s; }
.mur-col.c2 { animation-duration: 46s; animation-delay: -9s; }
.mur-col img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 8px; background: #DDD6CA; }
@keyframes mur-defile { from { transform: translateY(0); } to { transform: translateY(calc(-50% - 3px)); } }
@media (prefers-reduced-motion: reduce) { .mur-col { animation: none; } }
/* 22/11/2026 (Lisa) · Bibliothèque, v2 : sans cadre (fond de la page entre les vignettes, comme les fiches), le bouton garde ombre et contour ;
   le nombre de prompts en gros chiffre éditorial (Archivo large) + « prompts » en Instrument Serif italique, en haut à gauche, sur un voile sombre léger. */
.accueil-leger .cat-ruban .carte:has(> .visuel.a-biblio) { background: transparent; box-shadow: none; border: 0; }
.accueil-leger .cat-ruban .carte .visuel.a-clip.a-biblio { background: transparent; }
.cat-ruban .visuel.a-biblio::after { content: none; }
.mur { padding: 0; }
.a-biblio .carte-cta { box-shadow: 0 8px 20px -10px rgba(12, 30, 27, .55); border: 1px solid rgba(23, 70, 63, .14); }
.mur-chiffre { position: absolute; top: 0; left: 0; right: 0; z-index: 3; display: flex; align-items: baseline; gap: 8px; padding: 14px 16px 40px; color: #fff; background: linear-gradient(to bottom, rgba(12, 30, 27, .55), rgba(12, 30, 27, 0)); pointer-events: none; }
.mur-chiffre b { font-family: var(--large); font-weight: 600; font-size: 44px; line-height: 1; letter-spacing: -.01em; text-shadow: 0 2px 14px rgba(0, 0, 0, .3); }
.mur-chiffre i { font-family: var(--serif); font-style: italic; font-size: 24px; line-height: 1; text-shadow: 0 2px 10px rgba(0, 0, 0, .35); }
/* 22/11/2026 (Lisa) : « Ta photo » est posée sur la vignette : elle arrive avec la photo dans la conversation et suit le zoom jusqu'au plein cadre. */
.idee-vignette .idee-tag { z-index: 2; top: 10px; left: 10px; }
/* 22/11/2026 (Lisa) · La bibliothèque d'avatars : une grille 3 × 3 de visages, bord à bord avec de fins espaces transparents (le fond de la page). */
.casting { position: absolute; inset: 0; z-index: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 6px; }
.casting img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: cover; object-position: 50% 25%; border-radius: 8px; background: #DDD6CA; }

/* 23/11/2026 (Lisa) : pas de zoom dans Shoot : ni pincement, ni double tap */
html { touch-action: pan-x pan-y; }
:where(a, button, input, select, textarea, label, summary, video, [role="button"]) { touch-action: manipulation; }

/* 23/11/2026 (Lisa) : l'accueil sur téléphone, « le défilé » : chaque section tient sur une ligne, on glisse sur le côté. L'ordinateur ne change pas. */
@media (max-width: 640px) {
  .accueil-leger .cat-bloc.cat-ruban { margin-bottom: 16px; }
  .cat-ruban .ruban-tete { margin: 34px 0 36px; }
  .accueil-leger .cat-ruban .grille { display: flex !important; gap: 12px; margin: 0 -16px; padding: 2px 16px 10px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 16px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .accueil-leger .cat-ruban .grille::-webkit-scrollbar { display: none; }
  .accueil-leger .cat-ruban .grille > .carte:has(> .visuel) { display: block !important; flex: 0 0 68%; min-width: 0; min-height: 0; padding: 0 !important; overflow: hidden; scroll-snap-align: start; }
  .accueil-leger .cat-ruban .grille > .carte > .visuel { width: 100% !important; height: auto !important; aspect-ratio: 4 / 5; margin: 0; }
  .accueil-leger .cat-ruban .grille > .carte > h3 { display: none; }
  .accueil-leger .cat-ruban .carte-sur { left: 6px; right: 6px; padding-left: 0; padding-right: 0; }
  .accueil-leger .cat-ruban .carte-cta { max-width: 100%; box-sizing: border-box; padding: 9px 12px; font-size: 13px; line-height: 1.1; white-space: nowrap; font-stretch: 100%; }
}

/* 28/11/2026 (Lisa) : la bibliothèque d'avatars (avatars-shoot.js) et la rangée « Les avatars Shoot » dans chaque outil */
.avb-filtres { display: flex; gap: 8px; margin: -8px 0 18px; flex-wrap: wrap; }
.avb-filtre { border: 1px solid var(--ligne); background: var(--carte); color: var(--bx); border-radius: 999px; padding: 7px 16px; font: inherit; font-size: 14px; cursor: pointer; }
.avb-filtre.on { background: var(--bx); color: #fff; border-color: var(--bx); }
.avb-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.avb-carte { border: 1px solid var(--ligne); background: var(--carte); border-radius: var(--radius); padding: 0; overflow: hidden; cursor: pointer; text-align: center; font: inherit; color: var(--bx); transition: transform .15s, box-shadow .15s; }
.avb-carte:hover, .avb-carte.on { transform: translateY(-2px); box-shadow: var(--ombre); }
.avb-carte img { display: block; width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.avb-carte b { display: block; padding: 9px 6px 11px; font-weight: 500; }
.avb-voile { position: fixed; inset: 0; z-index: 130; background: rgba(15,35,32,.6); display: flex; align-items: center; justify-content: center; padding: 16px; }
.avb-fiche { position: relative; background: var(--carte); border-radius: var(--radius); width: min(720px, 100%); max-height: calc(100vh - 32px); overflow: auto; display: grid; grid-template-columns: 260px 1fr; }
.avb-photo { width: 100%; height: 100%; min-height: 320px; object-fit: cover; display: block; }
.avb-corps { padding: 26px 24px; display: flex; flex-direction: column; gap: 14px; }
.avb-corps h2 { margin: 0; }
.avb-q { margin: 0; color: var(--encre2); }
.avb-deux { display: flex; gap: 10px; flex-wrap: wrap; } .avb-deux .btn { flex: 1; min-width: 130px; }
.avb-types { display: flex; flex-direction: column; gap: 8px; }
.avb-type { text-align: left; border: 1px solid var(--ligne); background: var(--surface); border-radius: 12px; padding: 11px 14px; cursor: pointer; font: inherit; color: var(--bx); display: flex; flex-direction: column; gap: 2px; }
.avb-type:hover { border-color: var(--bx2); } .avb-type small { color: var(--encre2); font-size: 13px; }
.avb-type.charge, .avs-av.charge { opacity: .55; cursor: progress; }
.avb-fermer { position: absolute; top: 10px; right: 10px; z-index: 1; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); cursor: pointer; font-size: 15px; }
.avb-msg:empty { display: none; } .avb-msg { margin: 0; color: #a33; font-size: 14px; }
@media (max-width: 640px) { .avb-grille { grid-template-columns: repeat(2, 1fr); gap: 10px; } .avb-fiche { grid-template-columns: 1fr; } .avb-photo { min-height: 0; aspect-ratio: 4/3; height: auto; object-position: center 25%; } }
.avs-rangee { margin-top: 14px; }
.avs-titre { font-size: 13px; color: var(--encre2); margin-bottom: 8px; }
.avs-liste { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.avs-av { flex: 0 0 76px; border: 2px solid transparent; background: none; padding: 0; border-radius: 12px; cursor: pointer; font: inherit; color: var(--bx); text-align: center; }
.avs-av img { display: block; width: 76px; height: 92px; object-fit: cover; border-radius: 10px; }
.avs-av span { display: block; font-size: 12px; margin-top: 4px; }
.avs-av.on { border-color: var(--bx); }

/* 28/11/2026 (Lisa, téléphone) : les cartes animées de l'accueil.
   - « Je crée une photo » : le message remontait au-dessus du bord (coupé) ; plus petit, il monte moins. La pastille « Ta photo » grandit avec la photo
     (petite sur la vignette, sa vraie taille en plein cadre), au lieu d'être grosse puis de rapetisser.
   - « Je reproduis une photo » : sur iPhone, une pastille floutée (backdrop-filter) ignore le dos caché de la carte : « Inspiration » se voyait à l'envers
     sur le verso. Pastilles sans flou sur cette carte, et chaque face cachée de dos jusque dans ses enfants.
   - Les 20 avatars : sur iPhone, une image dans une case de grille prenait sa hauteur naturelle (on ne voyait que le haut des têtes) ; contain: size
     la fait tenir dans sa case. */
.retourne-face { transform: rotateY(0deg) translateZ(1px); }
.retourne-face.verso { transform: rotateY(180deg) translateZ(1px); }
.retourne-face > * { backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.retourne .pile-tag { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(12, 30, 27, .62); }
/* 28/11/2026 (Lisa, iPhone en mode application) : contain: size ne suffisait pas. Chaque visage est dans sa case (.cast-case), l'image posée en absolu
   dedans : sa taille vient de la case, jamais de la photo. */
.cast-case { position: relative; display: block; min-width: 0; min-height: 0; overflow: hidden; border-radius: 8px; background: #DDD6CA; }
.casting .cast-case img { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; object-fit: cover; object-position: 50% 25%; border-radius: 0; }
@media (max-width: 640px) {
  .idee-bulle { font-size: 13.5px; padding: 10px 13px; border-radius: 18px 18px 5px 18px; max-width: 84%; }
  .idee-fil { padding: 0 6% 14%; animation-name: idee-fil-tel; }
  .idee-vignette .idee-tag { transform-origin: 0 0; animation: idee-tag-tel 8s cubic-bezier(.3, .9, .3, 1) infinite; }
}
@keyframes idee-fil-tel { 0%, 34% { transform: translateY(0); } 42%, 100% { transform: translateY(-24%); } }
@keyframes idee-tag-tel { 0%, 58% { transform: scale(.68); } 64%, 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .idee-vignette .idee-tag { animation: none; } }

/* 29/11/2026 (Lisa) : Créer un clone, au dessin des pages vidéo (avatar.js › ecranClones / creerClone) */
.av-page.av-large, .av-page.av-large .editeur.en-page { max-width: 1000px; }
.av-clone .sx-barre { grid-template-columns: repeat(3, 1fr); max-width: 300px; }
.av-clone .ci-corps { display: flex; flex-direction: column; gap: 22px; }
.cl-contour { display: block; width: 100%; height: 100%; color: var(--bx2); }
.cl-contour .cl-fleche { stroke-dasharray: none; stroke-width: 3.5; opacity: .8; }
.cl-vide { display: grid; place-items: center; width: 100%; height: 100%; padding: 18% 22%; box-sizing: border-box; opacity: .55; }
/* intro */
.cl-intro { display: flex; flex-direction: column; gap: 18px; }
.cl-blocs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.cl-bloc { background: var(--carte); border-radius: var(--radius); box-shadow: var(--ombre); padding: 18px 12px 16px; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.cl-bloc-img { display: block; width: 100%; max-width: 150px; aspect-ratio: 3 / 4; margin-bottom: 8px; background: var(--ok-fond); border-radius: 14px; padding: 10px; box-sizing: border-box; }
.cl-bloc b { font-family: var(--tight); font-size: 17px; font-weight: 600; color: var(--bx); }
.cl-bloc small { font-size: 14px; color: var(--encre2); }
.cl-conseils { background: var(--carte); border-radius: var(--radius); box-shadow: var(--ombre); padding: 18px 20px; }
.cl-conseils b { display: block; font-family: var(--tight); font-size: 17px; font-weight: 600; color: var(--bx); margin-bottom: 12px; }
.cl-conseils ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; }
.cl-conseils li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--bx); line-height: 1.3; }
.cl-conseil-ico { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--ok-fond); color: var(--bx2); }
.cl-multi { cursor: pointer; }
/* une pose */
.cl-photo { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.cl-tete h2 { font-family: var(--tight); font-size: 24px; font-weight: 600; color: var(--bx); margin: 4px 0 4px; }
.cl-tete p { margin: 0; font-size: 15px; color: var(--encre2); }
.cl-num { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--bx2); background: var(--ok-fond); border-radius: 999px; padding: 3px 10px; }
.cl-zone { position: relative; display: block; width: min(340px, 100%); aspect-ratio: 3 / 4; border-radius: 22px; background: var(--carte); box-shadow: var(--ombre); overflow: hidden; cursor: pointer; transition: background .2s, transform .2s; }
.cl-zone:not(.pleine) { outline: 2px dashed rgba(31,91,82,.28); outline-offset: -10px; }
.cl-zone:not(.pleine):hover, .cl-zone.survol { background: var(--ok-fond); }
.cl-zone .cl-contour { position: absolute; inset: 9% 10% 0; width: 80%; height: 91%; opacity: .7; }
.cl-zone-txt { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); background: var(--bx2); color: #fff; border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 600; white-space: nowrap; box-shadow: 0 4px 12px rgba(23,70,63,.2); }
.cl-zone.pleine { cursor: default; }
.cl-zone.pleine img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cl-retirer { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: #fff; color: var(--bx); font-size: 14px; box-shadow: 0 2px 8px rgba(0,0,0,.2); cursor: pointer; }
.cl-actions { display: flex; gap: 12px; justify-content: center; }
.cl-ico { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 84px; padding: 10px 12px; border: 0; border-radius: 16px; background: var(--carte); box-shadow: var(--ombre); color: var(--bx); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.cl-ico:hover { background: var(--ok-fond); }
.cl-bande { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 8px; }
.cl-vign { position: relative; aspect-ratio: 3 / 4; border: 0; padding: 0; border-radius: 10px; background: var(--surface); color: var(--encre2); font: inherit; font-size: 13px; overflow: hidden; cursor: pointer; outline: 2px solid transparent; outline-offset: 2px; }
.cl-vign img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cl-vign.on { outline-color: var(--bx2); }
.cl-vign:not(.faite) span { position: absolute; inset: 0; display: grid; place-items: center; }
/* version studio */
.cl-carte { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; background: var(--carte); border-radius: var(--radius); box-shadow: var(--ombre); padding: 18px 20px; }
.cl-carte > div:first-child, .cl-carte > div:nth-child(2):not(.cl-progres) { flex: 1 1 260px; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cl-carte b { font-family: var(--tight); font-size: 18px; font-weight: 600; color: var(--bx); }
.cl-carte span { font-size: 14px; color: var(--encre2); line-height: 1.4; }
.cl-carte.ok .cl-carte-ico { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--bx2); color: #fff; }
.cl-progres { flex: 1 1 100%; display: flex; align-items: center; gap: 10px; }
.cl-progres i { flex: 1; height: 8px; border-radius: 99px; background: var(--surface); overflow: hidden; }
.cl-progres i b { display: block; height: 100%; background: var(--bx2); border-radius: 99px; transition: width .4s; }
.cl-progres em { font-style: normal; font-size: 14px; font-weight: 600; color: var(--bx); font-variant-numeric: tabular-nums; }
.cl-ia { flex: 1 1 100%; }
.cl-ia summary { cursor: pointer; font-size: 14px; color: var(--bx2); font-weight: 600; }
.cl-ia[open] summary { margin-bottom: 10px; }
.cl-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.cl-tuile { position: relative; aspect-ratio: 2 / 3; border: 0; padding: 0; border-radius: 16px; overflow: hidden; background: var(--surface); cursor: zoom-in; box-shadow: var(--ombre); }
.cl-tuile > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cl-tuile.attente > img { opacity: .45; filter: grayscale(.4); }
.cl-tuile.tourne::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%); background-size: 250% 100%; animation: cl-brille 1.4s linear infinite; }
@keyframes cl-brille { from { background-position: 120% 0; } to { background-position: -120% 0; } }
.cl-tuile-avant { position: absolute; top: 8px; left: 8px; width: 30%; aspect-ratio: 3 / 4; border-radius: 8px; overflow: hidden; border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.cl-tuile-avant img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cl-tuile-nom { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 10px 8px; background: linear-gradient(transparent, rgba(15,35,32,.65)); color: #fff; font-size: 12.5px; text-align: left; }
/* étape 3 */
.cl-final { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.cl-final-img { width: min(300px, 80%); aspect-ratio: 2 / 3; border-radius: 22px; overflow: hidden; box-shadow: var(--ombre); }
.cl-final-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cl-final .champ { width: min(360px, 100%); margin: 0; }
.cl-final .champ input { font-size: 17px; text-align: center; }
/* pop-up */
.cl-pop-bas { display: flex; justify-content: space-between; margin-top: 6px; }
.cl-pop-bas .mb-danger { color: #9B2C2C; }
.cl-comparer { cursor: default; }
.cl-comparer-duo { display: flex; gap: 12px; width: min(100%, calc((100vh - 170px) * 4 / 3 + 12px)); justify-content: center; }
.cl-comparer-duo figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; flex: 1 1 0; }
.ph-zoom .cl-comparer-duo img { width: 100%; height: auto; max-height: none; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 12px; }
.cl-comparer-duo figcaption { color: #fff; font-size: 14px; }
@media (max-width: 760px) {
  .cl-blocs { gap: 8px; }
  .cl-bloc { padding: 12px 6px; }
  .cl-bande { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .cl-grille { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .cl-tuile-nom { display: none; }
  .cl-zone { width: min(300px, 86%); }
}
@media (max-width: 760px) {
  .cl-bande { grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 5px; }
  .cl-vign { border-radius: 7px; font-size: 11px; }
  .av-clone .ci-pied-etapes .btn { padding-left: 14px; padding-right: 14px; font-size: 14.5px; white-space: nowrap; }
  .av-clone .ci-pied-etapes .indice { font-size: 13px; }
}

/* 29/11/2026 : les pop-ups (clone, bibliothèque d'avatars) : la question en titre ; Modifier et Supprimer en pastilles */
.avb-titre { font-family: var(--tight); font-size: 22px; font-weight: 600; line-height: 1.25; color: var(--bx); margin: 0; padding-right: 30px; }
.cl-pop-bas { margin-top: 2px; }
.cl-btn-modifier { background: var(--ok-fond); color: var(--bx); }
.cl-btn-modifier:hover { background: #d9ebe2; }
.cl-btn-suppr { background: #FBE9E7; color: #B42318; }
.cl-btn-suppr:hover { background: #F7D6D2; }
@media (max-width: 760px) { .cl-conseils ul { grid-template-columns: 1fr; } }
.avb-deux .btn { justify-content: center; }
.avb-titre { text-wrap: balance; }
/* 29/11/2026 : « Avant de commencer » : les blocs s'ouvrent sur la liste des photos à faire */
button.cl-bloc { border: 0; font: inherit; cursor: pointer; transition: transform .2s; }
button.cl-bloc:hover { transform: translateY(-2px); }
.cl-bloc-voir { margin-top: 6px; font-size: 13.5px; font-weight: 600; color: var(--bx2); text-decoration: underline; text-underline-offset: 3px; }
.cl-poses-pop { grid-template-columns: 1fr; width: min(560px, 100%); }
.cl-poses-liste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.cl-poses-liste li { display: flex; align-items: center; gap: 14px; padding: 8px; border-radius: 14px; background: var(--fond); }
.cl-poses-img { flex: none; width: 54px; aspect-ratio: 3 / 4; border-radius: 10px; background: var(--ok-fond); padding: 4px; box-sizing: border-box; }
.cl-poses-img .cl-contour g { stroke-width: 7; stroke-dasharray: none; }
.cl-poses-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cl-poses-txt b { font-size: 15px; font-weight: 600; color: var(--bx); }
.cl-poses-txt small { font-size: 13.5px; color: var(--encre2); line-height: 1.35; }
/* 29/11/2026 : l'en-tête des créations avatar, mascotte, produit (avatar.js › enteteSx) */
.av-sx-tete { margin-bottom: 24px; }
.av-sx-tete .sx-titre-etape { margin: 0; }
/* 29/11/2026 (Lisa) : Avatar › Son visage : trois grandes cartes, le questionnaire en trois cartes, l'import */
.av-methodes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 20px; }
.av-methode { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 18px 10px 16px; border: 2px solid transparent; border-radius: var(--radius); background: var(--carte); box-shadow: var(--ombre); color: var(--bx); font: inherit; text-align: center; cursor: pointer; transition: border-color .15s, transform .15s; }
.av-methode:hover { transform: translateY(-2px); }
.av-methode.on { border-color: var(--bx2); background: var(--ok-fond); }
.av-methode-ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--ok-fond); color: var(--bx2); margin-bottom: 6px; }
.av-methode.on .av-methode-ico { background: var(--bx2); color: #fff; }
.av-methode-ico svg { width: 22px; height: 22px; }
.av-methode b { font-family: var(--tight); font-size: 16px; font-weight: 600; line-height: 1.2; }
.av-methode small { font-size: 13px; color: var(--encre2); }
.av-corps-etape { display: flex; flex-direction: column; gap: 14px; margin-bottom: 18px; }
.av-carte-q { background: var(--carte); border-radius: var(--radius); box-shadow: var(--ombre); padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 14px; }
.av-carte-q h3 { margin: 0; font-family: var(--tight); font-size: 18px; font-weight: 600; color: var(--bx); }
.av-q { display: flex; flex-direction: column; gap: 8px; }
.av-q-l { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--encre2); }
.av-q .choix { margin: 0; }
.av-details summary { cursor: pointer; font-size: 15px; font-weight: 600; color: var(--bx2); list-style: none; }
.av-details summary::-webkit-details-marker { display: none; }
.av-details[open] summary { margin-bottom: 10px; }
.av-imp { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.av-imp-case { display: flex; flex-direction: column; gap: 8px; align-items: center; text-align: center; }
.av-imp-t b { display: block; font-family: var(--tight); font-size: 16px; color: var(--bx); }
.av-imp-t small { font-size: 13px; color: var(--encre2); }
.av-imp .cl-zone { width: 100%; }
.av-insp-zone { aspect-ratio: auto; min-height: 180px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: var(--bx2); width: 100%; }
.av-insp-zone span { font-weight: 600; color: var(--bx); }
.av-insp-zone small { color: var(--encre2); font-size: 13.5px; }
@media (max-width: 760px) {
  .av-methodes { gap: 8px; }
  .av-methode { padding: 14px 6px 12px; }
  .av-methode b { font-size: 14px; }
  .av-methode small { font-size: 12px; }
}
.av-imp-t { min-height: 44px; }
/* 29/11/2026 : Avatar › Comment tu le crées (trois grandes cartes), résultats sous les choix */
.av-methodes-grandes { grid-template-columns: 1fr; gap: 14px; max-width: 640px; }
.av-methodes-grandes .av-methode { flex-direction: row; align-items: center; text-align: left; gap: 16px; padding: 20px 22px; }
.av-methodes-grandes .av-methode-ico { width: 56px; height: 56px; border-radius: 16px; margin: 0; flex: none; }
.av-methodes-grandes .av-methode-ico svg { width: 26px; height: 26px; }
.av-methode-txt { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
.av-methodes-grandes .av-methode b { font-size: 19px; }
.av-methodes-grandes .av-methode small { font-size: 14.5px; line-height: 1.35; }
.av-methode-fleche { flex: none; font-size: 20px; color: var(--bx2); }
.av-resultat { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: 18px; }
.av-resultat .resultat { width: min(320px, 86%); margin: 0; }
.av-resultat .resultat img { cursor: zoom-in; }
.av-resultat .indice { text-align: center; margin: 0; }
.av-prix-plans { text-align: right; margin: 8px 0 0; }
@media (max-width: 760px) {
  .av-methodes-grandes .av-methode { padding: 16px; gap: 12px; }
  .av-methodes-grandes .av-methode b { font-size: 17px; }
}
/* 29/11/2026 : carrousels (visage, morphologie), récapitulatif, import en deux cas, Pinterest comme le swap */
.av-carrousel { gap: 16px; }
.av-points { display: flex; gap: 6px; justify-content: center; }
.av-points button { width: 26px; height: 6px; padding: 0; border: 0; border-radius: 99px; background: var(--surface); cursor: pointer; }
.av-points button.fait { background: var(--or); }
.av-points button.ici { background: var(--bx2); width: 38px; }
.av-carrousel-tete { display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; }
.av-carrousel-n { text-align: center; font-size: 13px; font-weight: 600; color: var(--encre2); }
.av-prec { width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--ligne); background: var(--carte); color: var(--bx); font-size: 18px; cursor: pointer; }
.av-une-q .av-q { align-items: center; text-align: center; gap: 16px; }
.av-une-q .av-q-l { font-family: var(--tight); font-size: 22px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--bx); }
.av-une-q .choix { justify-content: center; }
.av-une-q .choix:not(.illu) button { font-size: 16px; padding: 12px 18px; }
.av-suivant { align-self: center; }
.av-recap { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; }
.av-recap-p { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border: 1.5px solid var(--ligne); border-radius: 14px; background: var(--fond); color: var(--bx); font: inherit; text-align: left; cursor: pointer; }
.av-recap-p:hover { border-color: var(--bx2); }
.av-recap-p small { font-size: 12px; color: var(--encre2); }
.av-recap-p b { font-size: 15px; font-weight: 600; }
.av-detail { display: flex; flex-direction: column; gap: 6px; }
.av-detail label { font-size: 15px; font-weight: 600; color: var(--bx); }
.av-detail label span { font-weight: 400; font-size: 13px; color: var(--encre2); margin-left: 6px; }
.av-insp-choix { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.av-insp-choix .sx-case-grande { background: var(--carte); }
.cl-actions { margin-bottom: 8px; }
.av-vingt { font-family: var(--tight); font-size: 20px; }
.av-imp-libre { display: flex; flex-direction: column; gap: 14px; margin-bottom: 18px; }
.av-imp-q { margin: 0; font-weight: 600; color: var(--bx); }
.av-imp-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
.av-imp-ph { position: relative; }
.av-imp-ph > button:first-child { display: block; width: 100%; aspect-ratio: 3 / 4; padding: 0; border: 3px solid transparent; border-radius: 14px; overflow: hidden; background: var(--surface); cursor: pointer; position: relative; }
.av-imp-ph.on > button:first-child { border-color: var(--bx2); }
.av-imp-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.av-imp-ph em { position: absolute; left: 6px; bottom: 6px; background: var(--bx2); color: #fff; font-style: normal; font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 999px; }
.av-imp-ph .cl-retirer { top: 6px; right: 6px; width: 28px; height: 28px; font-size: 12px; }
@media (max-width: 760px) { .av-imp-grille { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.av-page .ci-pied-etapes[hidden] { display: none !important; }
.av-page .sx-pin-zone { background: var(--carte); box-shadow: var(--ombre); }
@media (max-width: 760px) {
  .av-page .ci-actions.ci-pied-etapes { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px; }
  .av-page .ci-actions.ci-pied-etapes .btn { flex: 1 1 auto; justify-content: center; }
  .av-page .ci-actions.ci-pied-etapes .indice { flex: 1 1 100%; order: 3; }
  .av-page .ci-actions.ci-pied-etapes .droite { display: none; }
}
@media (max-width: 760px) { .av-page .editeur .ci-actions.ci-pied-etapes { flex-direction: row !important; flex-wrap: wrap !important; } }
@media (max-width: 760px) { .av-page .editeur .ci-pied-etapes .btn { width: auto !important; flex: 1 1 0 !important; min-width: 0; } }
/* 29/11/2026 (Lisa) : pastilles de même taille (grille), « Autre » de la même forme, champ détail moderne, Pinterest pleine largeur, déplacer une photo */
.av-une-q .choix:not(.illu) { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; width: 100%; }
.av-une-q .choix:not(.illu) button { width: 100%; justify-content: center; text-align: center; margin: 0; }
.av-une-q .choix.illu { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; width: 100%; }
.av-une-q .choix.illu button { width: 100% !important; min-width: 0; }
.illu-coupe-plus { display: grid; place-items: center; width: 56px; height: 64px; border-radius: 14px; border: 1.5px dashed rgba(27,33,31,.3); background: #fff; font-style: normal; font-size: 22px; color: var(--bx2); }
.illu-coupe-plus::before { content: '+'; }
.av-detail textarea { border: 0; border-radius: 20px; background: var(--fond); padding: 14px 18px; font: inherit; font-size: 15px; line-height: 1.4; resize: none; box-shadow: inset 0 0 0 1.5px transparent; transition: box-shadow .15s; min-height: 0; }
.av-detail textarea:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--bx2); background: #fff; }
.av-corps-etape > .av-detail textarea { background: var(--carte); box-shadow: var(--ombre); }
.av-insp-choix { display: grid !important; grid-template-columns: 1fr 1fr !important; width: 100%; }
.av-insp-choix .sx-case-grande { width: auto; min-width: 0; }
.av-deplacer { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); border: 0; border-radius: 999px; padding: 8px 16px; background: rgba(255,255,255,.95); color: var(--bx); font: inherit; font-size: 14px; font-weight: 600; box-shadow: 0 2px 8px rgba(0,0,0,.18); cursor: pointer; }
.av-deplacer-msg { margin: 0; padding: 8px 14px; border-radius: 999px; background: var(--bx2); color: #fff; font-size: 14px; font-weight: 600; }
.av-hors { margin: 0; }
.av-imp-vue { display: block; aspect-ratio: 3 / 4; border-radius: 14px; overflow: hidden; background: var(--surface); }
.av-imp-vue img { width: 100%; height: 100%; object-fit: cover; display: block; }
.av-une-q .choix:not(.illu) { grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); }
.av-une-q .choix.illu { grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); }
.editeur.en-page, .editeur.large.en-page { border-left: 0; } /* 29/11/2026 (Lisa) : le double trait à gauche sur ordinateur */
/* 29/11/2026 : chevrons du carrousel, pop-up d'import courte */
.av-nav-q { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; gap: 8px; }
.av-chev { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--bx2); color: #fff; font-size: 26px; line-height: 1; display: grid; place-items: center; padding: 0 0 3px; cursor: pointer; box-shadow: 0 3px 10px rgba(23,70,63,.2); }
.av-chev:disabled { background: var(--surface); color: var(--encre2); box-shadow: none; cursor: default; opacity: .7; }
.av-pop-imp { width: min(480px, 100%); }
.av-imp-deux { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.av-imp-case-pop { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 20px 10px; border: 2px solid var(--ligne); border-radius: var(--radius); background: var(--carte); color: var(--bx); font: inherit; text-align: center; cursor: pointer; transition: border-color .15s, background .15s; }
.av-imp-case-pop:hover { border-color: var(--bx2); background: var(--ok-fond); }
.av-imp-case-pop b { font-family: var(--tight); font-size: 18px; font-weight: 600; }
.av-imp-case-pop small { font-size: 13.5px; color: var(--encre2); }
.av-imp-ligne { margin: 4px 0 0; text-align: center; }
.choix.illu .illu-coupe { overflow: visible; }
.av-nav-q .av-points { min-width: 0; }
.av-nav-q .av-points button { flex: 1 1 0; min-width: 6px; max-width: 26px; }
.av-nav-q .av-points button.ici { flex-grow: 1.6; max-width: 38px; }
/* 29/11/2026 (Lisa) : chevrons plus petits et plus aérés */
.av-nav-q { grid-template-columns: 34px 1fr 34px; gap: 14px; }
.av-chev { width: 34px; height: 34px; font-size: 20px; padding: 0 0 2px; box-shadow: 0 2px 6px rgba(23,70,63,.18); }
/* 29/11/2026 (Lisa) : refaire sur la photo, zone « À placer », choix de la pose, cadre de l'image d'inspiration */
.av-resultat .resultat { position: relative; }
.av-refaire { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); z-index: 2; border: 0; border-radius: 999px; padding: 9px 16px; background: rgba(255,255,255,.95); color: var(--bx); font: inherit; font-size: 14px; font-weight: 600; white-space: nowrap; box-shadow: 0 2px 10px rgba(0,0,0,.2); cursor: pointer; }
.av-refaire:hover { background: #fff; }
.av-aplacer { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; border-radius: 16px; background: #FFF6E5; border: 1.5px dashed #E8B04A; margin-bottom: 10px; }
.av-aplacer b { font-size: 14px; color: #6B4A00; }
.av-aplacer small { font-size: 13px; color: #6B4A00; }
.av-aplacer-l { display: flex; gap: 8px; flex-wrap: wrap; }
.av-aplacer-ph { width: 56px; aspect-ratio: 3 / 4; padding: 0; border: 2px solid #fff; border-radius: 10px; overflow: hidden; cursor: pointer; box-shadow: 0 2px 6px rgba(0,0,0,.12); }
.av-aplacer-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.av-pose-choix { display: flex; align-items: center; gap: 14px; width: 100%; padding: 8px; border: 0; border-radius: 14px; background: var(--fond); color: inherit; font: inherit; text-align: left; cursor: pointer; }
.av-pose-choix:hover { background: var(--ok-fond); }
.av-pose-choix.ici { opacity: .55; cursor: default; }
.cl-poses-liste li:has(.av-pose-choix) { padding: 0; background: none; }
.cl-poses-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; display: block; }
.av-corps-etape .insp { align-items: stretch; background: var(--carte); box-shadow: var(--ombre); border-radius: var(--radius); padding: 12px; }
.av-corps-etape .insp img { height: auto; aspect-ratio: 4 / 5; }
.av-corps-etape .insp-actions { display: flex; flex-direction: column; justify-content: space-between; min-width: 0; }
.av-corps-etape .insp-actions .actions { margin-top: 8px !important; }
/* 29/11/2026 (Lisa) : étincelles, page « Ses photos » avant de lancer, « À placer » compact */
.av-refaire { display: inline-flex; align-items: center; gap: 6px; }
.av-refaire .av-etinc { color: var(--bx2); flex: none; }
.av-lancer { margin-bottom: 18px; }
.av-grille-poses { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.av-case-pose { margin: 0; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.av-case-img { display: block; aspect-ratio: 3 / 4; border-radius: 12px; background: var(--carte); box-shadow: var(--ombre); overflow: hidden; padding: 8%; box-sizing: border-box; }
.av-case-pose.faite .av-case-img { padding: 0; }
.av-case-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.av-case-pose figcaption { font-size: 11.5px; line-height: 1.25; color: var(--encre2); text-align: center; }
@media (max-width: 760px) { .av-grille-poses { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; } .av-case-pose figcaption { font-size: 10.5px; } }
.av-aplacer { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 8px 12px; border: 0; background: #FFF6E5; border-radius: 14px; }
.av-aplacer b { font-size: 14px; }
.av-aplacer-ph { width: 40px; }
.av-aplacer small { flex: 1 1 140px; }
/* 29/11/2026 (Lisa) : la carte de l'image d'inspiration, texte court : l'image garde sa taille, tout est centré */
.av-corps-etape .insp { align-items: center; gap: 14px; }
.av-corps-etape .insp img { width: 84px; height: 105px; aspect-ratio: auto; }
.av-corps-etape .insp-actions { justify-content: center; gap: 2px; }
/* 29/11/2026 (Lisa) : le bouton long qui crée l'image sur la même page (visage, silhouette) */
.av-creer { width: 100%; justify-content: center; gap: 8px; margin-top: 4px; }
.av-creer .av-etinc { color: #fff; }
.av-page .editeur .ci-pied-etapes:not(:has(.btn:not(.second))) .btn { flex: 0 0 auto !important; } /* « Précédent » seul : pas toute la largeur */

/* 29/11/2026 (Lisa) : le produit en 3 étapes, comme le clone et l'avatar */
.pr-intro { display: flex; flex-direction: column; gap: 16px; }
.pr-nom-champ { margin: 0; }
.pr-angles { display: flex; align-items: center; gap: 14px; width: 100%; padding: 16px 18px; border: 0; border-radius: var(--radius); background: var(--carte); box-shadow: var(--ombre); font: inherit; text-align: left; cursor: pointer; color: var(--encre); }
.pr-angles:hover { background: var(--ok-fond); }
.pr-angles-ico { display: flex; flex-wrap: wrap; gap: 2px; max-width: 150px; color: var(--bx); }
.pr-angles-ico .pr-ico { width: 34px; height: 34px; }
.pr-angles-txt { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.pr-angles-txt b { font-family: var(--tight); font-size: 17px; font-weight: 600; color: var(--bx); }
.pr-angles-txt small { font-size: 14px; color: var(--encre2); }
.pr-angles-go { color: var(--bx); font-size: 18px; }
.pr-poses-img { display: flex; align-items: center; justify-content: center; color: var(--bx); }
.pr-poses-img .pr-ico { width: 70%; height: 70%; }
.av-creer.pr-importer { margin: 0 0 18px; cursor: pointer; }
.pr-grille { transition: background .2s; border-radius: 16px; }
.pr-grille.survol { background: var(--ok-fond); outline: 2px dashed rgba(31,91,82,.3); outline-offset: 6px; }
.av-case-pose { position: relative; }
.pr-case-btn { width: 100%; border: 0; cursor: pointer; font: inherit; }
.av-case-pose:not(.faite) .pr-case-btn { outline: 2px dashed rgba(31,91,82,.25); outline-offset: -6px; display: flex; align-items: center; justify-content: center; }
.av-case-pose:not(.faite) .pr-case-btn:hover { background: var(--ok-fond); }
.pr-case-ico { display: flex; color: var(--bx); opacity: .75; width: 78%; }
.pr-case-ico .pr-ico { width: 100%; height: auto; }
.pr-plus-case { display: flex; align-items: center; justify-content: center; background: transparent; box-shadow: none; outline: 2px dashed rgba(31,91,82,.25); outline-offset: -6px; color: var(--bx); }
.pr-plus-case:hover { background: var(--ok-fond); }
.pr-x, .pr-crayon { position: absolute; top: 6px; width: 28px; height: 28px; border: 0; border-radius: 50%; background: #fff; color: var(--bx); font-size: 12px; box-shadow: 0 2px 8px rgba(0,0,0,.15); cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; }
.pr-x { right: 6px; }
.pr-crayon { right: 40px; }
.av-case-pose.erreur .av-case-img { outline: 2px solid #c0392b; outline-offset: -2px; }
.av-case-pose.brute .av-case-img img { opacity: .55; }
.pr-pop .avb-corps { display: flex; flex-direction: column; gap: 14px; }
.pr-pop-vue { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; border-radius: 16px; background: var(--fond, #f6f2ea); overflow: hidden; }
.pr-pop-vue img { width: 100%; height: 100%; object-fit: contain; }
.pr-pop-ico { display: flex; width: 44%; color: var(--bx); }
.pr-pop-ico .pr-ico { width: 100%; height: auto; }
.pr-pop-conseil { margin: 0; text-align: center; color: var(--encre2); }
.pr-pop-act { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.pr-pop-act .btn { gap: 8px; cursor: pointer; }
.pr-pop-bas { display: flex; justify-content: center; gap: 14px; }
.pr-pop-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pr-pop-duo figure { position: relative; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.pr-pop-duo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 12px; opacity: .6; }
.pr-pop-duo figure.on img { opacity: 1; outline: 2px solid var(--bx); outline-offset: 2px; }
.pr-pop-duo figcaption { text-align: center; font-size: 13px; color: var(--encre2); }
.pr-pop-act .btn { flex: 1 1 180px; justify-content: center; }
.pr-pop-act { flex-wrap: nowrap; }
.pr-pop-act .btn { flex: 1 1 0; min-width: 0; }

/* 29/11/2026 (Lisa) : la mascotte comme l'avatar */
.ms-carte { display: flex; flex-direction: column; gap: 18px; }
.ms-carte .ms-logos { margin-top: 10px; }
.ms-aide { display: block; margin-top: 6px; font-size: 13px; color: var(--encre2); }
.ms-couleurs { --cols: auto; display: flex; flex-wrap: wrap; gap: 8px; }
.ms-grille { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
.ms-grille .av-case-img { aspect-ratio: 4 / 5; }
.ms-case { width: 100%; border: 0; font: inherit; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.ms-case:disabled { cursor: default; outline: 2px dashed rgba(31,91,82,.25); outline-offset: -6px; }
.ms-case-num { font-family: var(--tight); font-size: 28px; font-weight: 600; color: var(--bx); opacity: .35; }
.ms-pop-vue { aspect-ratio: 4 / 5; position: relative; }
.ms-pop-vue img { object-fit: cover; }
.ms-carte .choix:not(.ms-couleurs) { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 8px; }
.ms-carte .choix:not(.ms-couleurs) button { width: 100%; justify-content: center; text-align: center; }
@media (max-width: 520px) { .ms-carte #m-porte { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cl-vide > svg[width="40"] { width: 38%; height: auto; color: var(--bx); opacity: .55; }

/* 29/11/2026 (Lisa) : la galerie des pop-ups (la bande de photos) et les favoris */
.avb-media { display: flex; flex-direction: column; min-width: 0; background: var(--carte); }
.avb-photo-cadre { position: relative; flex: 1; min-height: 0; display: flex; }
.avb-photo-cadre .avb-photo { flex: 1; }
.avb-coeur { position: absolute; top: 12px; left: 12px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255,255,255,.95); color: var(--bx); display: grid; place-items: center; cursor: pointer; box-shadow: 0 2px 10px rgba(0,0,0,.15); padding: 0; transition: transform .15s; }
.avb-coeur:hover { transform: scale(1.06); }
.avb-coeur.on { color: #E0457B; }
.avb-compte { position: absolute; left: 12px; bottom: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(23,40,36,.6); color: #fff; font-size: 12.5px; font-weight: 600; }
.avb-bande-cadre { position: relative; padding: 8px; }
.avb-bande { display: flex; gap: 6px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.avb-bande::-webkit-scrollbar { display: none; }
.avb-bande button { flex: 0 0 calc((100% - 18px) / 4); aspect-ratio: 3 / 4; border: 0; padding: 0; border-radius: 8px; overflow: hidden; cursor: pointer; scroll-snap-align: start; background: var(--surface); opacity: .75; transition: opacity .15s; }
.avb-bande button.on { opacity: 1; outline: 2px solid var(--bx2); outline-offset: -2px; }
.avb-bande button img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avb-fl { position: absolute; top: 50%; transform: translateY(-50%); z-index: 1; width: 28px; height: 28px; border: 0; border-radius: 50%; background: rgba(255,255,255,.95); color: var(--bx); font-size: 18px; line-height: 1; display: grid; place-items: center; padding: 0 0 2px; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.18); }
.avb-fl.g { left: 2px; } .avb-fl.d { right: 2px; }
@media (hover: none) { .avb-fl { display: none; } }
.avs-fav { position: absolute; top: 6px; right: 6px; width: 24px; height: 24px; border-radius: 50%; background: rgba(255,255,255,.95); color: #E0457B; display: grid; place-items: center; box-shadow: 0 1px 6px rgba(0,0,0,.15); pointer-events: none; }
.avs-fav svg { width: 14px; height: 14px; }
.avs-av, .avb-carte, .sx-projet-img { position: relative; }
.sx-fav { top: auto; bottom: 10px; right: 10px; width: 30px; height: 30px; }
.sx-fav svg { width: 17px; height: 17px; }
@media (max-width: 640px) { .avb-photo-cadre .avb-photo { aspect-ratio: 4 / 3; } }
/* 29/11/2026 (Lisa) : seulement la bande, en grand : 3 photos visibles sur ordinateur, 2 et un bout sur téléphone */
.avb-fiche:has(.avb-media-bande) { grid-template-columns: 1fr; }
.avb-media-bande { position: relative; padding: 16px 16px 0; background: var(--carte); }
.avb-media-bande .avb-bande { gap: 10px; padding: 0; }
.avb-media-bande .avb-bande button { flex: 0 0 calc((100% - 20px) / 3); aspect-ratio: 3 / 4; border-radius: 14px; opacity: 1; outline: 0; box-shadow: var(--ombre); }
.avb-media-bande .avb-bande button:hover img { transform: scale(1.03); }
.avb-media-bande .avb-bande button img { transition: transform .25s; }
.avb-media-bande .avb-coeur { top: 26px; left: 26px; z-index: 2; }
.avb-media-bande .avb-compte { left: auto; right: 26px; bottom: 10px; z-index: 2; }
.avb-media-bande .avb-fl { top: calc(50% + 8px); width: 34px; height: 34px; font-size: 22px; }
.avb-media-bande .avb-fl.g { left: 6px; } .avb-media-bande .avb-fl.d { right: 6px; }
@media (max-width: 640px) { .avb-media-bande .avb-bande button { flex-basis: calc((100% - 10px) / 2.25); } }
.avb-zoom img { max-width: min(92vw, 900px); max-height: calc(100vh - 120px); object-fit: contain; border-radius: 12px; }
.avb-zoom-fl { position: fixed; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--bx); font-size: 26px; line-height: 1; display: grid; place-items: center; padding: 0 0 3px; cursor: pointer; }
.avb-zoom-fl.g { left: 14px; } .avb-zoom-fl.d { right: 14px; }

/* 29/11/2026 (Lisa) : « Je crée une photo » en 3 étapes */
.ph-qui-cartes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ph-qui-carte { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 22px 12px 18px; border: 0; border-radius: var(--radius); background: var(--carte); box-shadow: var(--ombre); font: inherit; text-align: center; cursor: pointer; color: var(--encre); transition: transform .15s, background .15s; }
.ph-qui-carte:hover { transform: translateY(-2px); background: var(--ok-fond); }
.ph-qui-carte.on { outline: 2px solid var(--bx2); outline-offset: -2px; }
.ph-qui-ico { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--ok-fond); color: var(--bx); margin-bottom: 4px; }
.ph-qui-carte b { font-family: var(--tight); font-size: 17px; font-weight: 600; color: var(--bx); }
.ph-qui-carte small { font-size: 13.5px; color: var(--encre2); line-height: 1.35; }
@media (max-width: 560px) { .ph-qui-cartes { grid-template-columns: 1fr; } .ph-qui-carte { flex-direction: row; text-align: left; padding: 16px; gap: 14px; } .ph-qui-carte .ph-qui-ico { margin: 0; flex: none; } .ph-qui-carte b { display: block; } .ph-qui-carte > b, .ph-qui-carte > small { } }
.ph-carte-photo { display: flex; flex-direction: column; gap: 6px; }
.ph-carte-photo .av-creer { margin-top: 14px; }
.ph-idee .ph-resultats { margin-top: 18px; }
.ph-qui-txt { display: flex; flex-direction: column; gap: 3px; }
.ph-idee.un-role .ph-roles > .section:first-child { display: none; } /* le grand titre dit déjà « Ton personnage » */
.ph-idee .ci-pied-etapes > .btn { width: auto !important; flex: 0 0 auto !important; }
@media (max-width: 760px) {
  .ph-idee .ci-actions.ci-pied-etapes { flex-direction: row !important; flex-wrap: wrap !important; align-items: center; gap: 10px; }
  .ph-idee .ci-actions.ci-pied-etapes .btn { flex: 1 1 auto !important; justify-content: center; }
  .ph-idee .ci-actions.ci-pied-etapes > .btn:only-of-type { flex: 0 0 auto !important; }
  .ph-idee .ci-actions.ci-pied-etapes .droite { display: none; }
}

/* 29/11/2026 (Lisa) : Je crée une photo, les 5 étapes */
.ph-grandes-cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ph-grandes-cases.ph-gc-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ph-grande-case { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 170px; padding: 18px 12px; border: 0; border-radius: var(--radius); background: var(--carte); box-shadow: var(--ombre); font: inherit; text-align: center; cursor: pointer; color: var(--encre); transition: transform .15s, background .15s; }
.ph-grande-case:hover { transform: translateY(-2px); background: var(--ok-fond); }
.ph-grande-case.remplie, .ph-grande-case.on { outline: 2px solid var(--bx2); outline-offset: -2px; }
.ph-grande-case b { font-family: var(--tight); font-size: 16px; font-weight: 600; color: var(--bx); }
.ph-grande-case small { font-size: 13px; color: var(--encre2); line-height: 1.3; }
.ph-gc-choix { display: flex; }
.ph-gc-choix img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid var(--carte); margin-left: -10px; }
.ph-gc-choix img:first-child { margin-left: 0; }
@media (max-width: 560px) { .ph-grandes-cases.ph-gc-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ph-grandes-cases.ph-gc-3 > :last-child { grid-column: 1 / -1; min-height: 110px; } }
.ph-import-zone { margin-top: 14px; padding: 14px; border-radius: var(--radius); background: var(--carte); box-shadow: var(--ombre); }
.ph-mes-photos { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 8px; scrollbar-width: thin; }
.ph-mp { flex: 0 0 84px; display: flex; flex-direction: column; gap: 4px; align-items: center; border: 0; background: none; padding: 0; font: inherit; cursor: pointer; }
.ph-mp img { width: 84px; height: 104px; object-fit: cover; border-radius: 12px; box-shadow: var(--ombre); }
.ph-mp small { font-size: 12px; font-weight: 600; color: var(--bx); }
.ph-mp-perso { cursor: default; }
button.ph-mp:hover img { outline: 2px solid var(--bx2); outline-offset: 2px; }
.ph-formats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.ph-qualites { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ph-format { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 8px; border: 1.5px solid var(--ligne); border-radius: 16px; background: var(--fond, #fff); font: inherit; cursor: pointer; color: var(--encre); text-align: center; }
.ph-format.on { border-color: var(--bx2); background: var(--ok-fond); }
.ph-format b { font-size: 14.5px; color: var(--bx); }
.ph-format small { font-size: 12px; color: var(--encre2); }
.ph-format-forme { height: 40px; display: grid; place-items: center; }
.ph-format-forme i { display: block; border: 2px solid var(--bx); border-radius: 4px; }
@media (max-width: 560px) { .ph-formats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ph-resultat-grand { width: min(100%, 520px); margin: 0 auto; border-radius: var(--radius); overflow: hidden; background: var(--carte); box-shadow: var(--ombre); display: grid; place-items: center; min-height: 260px; }
.ph-resultat-grand .attente, .ph-resultat-grand .vide { padding: 60px 16px; }
.ph-rg-img { border: 0; padding: 0; background: none; cursor: zoom-in; display: block; width: 100%; }
.ph-rg-img img { width: 100%; display: block; }
.ph-rg-act { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 14px auto 0; width: min(100%, 520px); }
.ph-rg-act .btn { gap: 6px; }
.ph-rg-act .btn.on { background: var(--ok-fond); color: var(--bx); }
.ph-idee > .av-creer { width: min(100%, 520px); margin: 12px auto 0; display: flex; }
.ph-versions { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 16px; }
.ph-version { width: 64px; height: 80px; border: 0; padding: 0; border-radius: 10px; overflow: hidden; cursor: pointer; opacity: .7; background: var(--surface); display: grid; place-items: center; position: relative; }
.ph-version.on { opacity: 1; outline: 2px solid var(--bx2); outline-offset: 2px; }
.ph-version img { width: 100%; height: 100%; object-fit: cover; }
.ph-pop-choix .avb-corps { gap: 12px; }
.ph-pop-choix .av-creer { margin-top: 8px; }
.avb-fiche.pr-pop { grid-template-columns: minmax(0, 1fr); }
.pr-pop .avb-corps { min-width: 0; }
.ph-pop-choix .avs-liste { overflow-x: auto; }
.ph-pop-choix .av-creer { width: 100%; justify-content: center; }

/* 30/11/2026 (Lisa) : corrections de l'audit des personnages */
@media (max-width: 760px) { .av-clone .cl-zone { width: min(190px, 52vw); } .av-clone .cl-photo { gap: 10px; } }
.pr-plus-case { border: 0 !important; }
.hub-carte { text-decoration: none; color: inherit; display: block; }
.hub-carte .sx-projet-ouvrir { display: flex; flex-direction: column; text-align: left; }
.hub-persos .sx-projets { margin-top: 6px; }

/* 30/11/2026 (Lisa) : Je crée une photo, retouches */
.ph-ref-coche { display: none !important; } /* le contour vert suffit */
.ph-deroule { margin-top: 14px; padding: 14px; border-radius: var(--radius); background: var(--carte); box-shadow: var(--ombre); }
.ph-deroule .ph-import-zone { margin-top: 14px; padding: 0; box-shadow: none; background: none; }
.ph-pastilles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.ph-pastilles-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ph-pastille { display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; padding: 10px 8px; border: 1.5px solid var(--ligne); border-radius: 999px; background: var(--fond, #fff); font: inherit; cursor: pointer; color: var(--encre); }
.ph-pastille.on { border-color: var(--bx2); background: var(--ok-fond); }
.ph-pastille i { display: block; border: 1.8px solid var(--bx); border-radius: 3px; flex: none; }
.ph-pastille span { font-size: 14px; font-weight: 600; color: var(--bx); }
.ph-pastille small { font-size: 12px; color: var(--encre2); }
@media (max-width: 560px) { .ph-pastilles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ph-pret { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.ph-pret b { font-family: var(--tight); font-size: 17px; color: var(--bx); }
.ph-pret small { color: var(--encre2); }
/* 30/11/2026 (Lisa) : étape 5 : Télécharger sur la photo, seulement « Une autre version » dessous */
.ph-resultat-grand { position: relative; }
.ph-dl-pill { text-decoration: none; }
.ph-modif { width: min(100%, 520px); margin: 16px auto 0; }
.ph-modif textarea { background: var(--carte); box-shadow: var(--ombre); }
/* 30/11/2026 (Lisa) : étape 5 : deux pastilles, Modifier (encadré + Valider) et Relancer */
.ph-deux-pilules { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: min(100%, 520px); margin: 16px auto 0; }
.ph-deux-pilules .btn { justify-content: center; gap: 7px; border-radius: 999px; }
.ph-pil-modif { background: var(--ok-fond) !important; color: var(--bx) !important; border-color: transparent !important; }
.ph-pil-modif.on { outline: 2px solid var(--bx2); outline-offset: -2px; }
.ph-modif { width: min(100%, 520px); margin: 12px auto 0; padding: 14px; border-radius: var(--radius); background: var(--carte); box-shadow: var(--ombre); display: flex; flex-direction: column; gap: 8px; }
.ph-modif label { font-weight: 600; color: var(--bx); font-size: 14.5px; }
.ph-modif textarea { width: 100%; border: 0; border-radius: 12px; background: var(--fond, #f6f2ea); padding: 10px 12px; font: inherit; resize: vertical; box-sizing: border-box; }
.ph-modif textarea:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--bx2); background: #fff; }
.ph-modif-bas { display: flex; justify-content: flex-end; }
@media (max-width: 420px) { .ph-deux-pilules { grid-template-columns: 1fr; } }
.ph-deux-pilules .btn { white-space: nowrap; font-size: 13.5px; padding: 11px 8px; min-width: 0; }
.ph-deux-pilules .btn svg { flex: none; }
@media (max-width: 480px) { .ph-deux-pilules .btn { font-size: 12.5px; padding: 11px 6px; gap: 5px; } }
/* 01/12/2026 (Lisa) : pas de poignée sur les champs de texte (ils grandissent tout seuls) ; l'encadré Modifier reste blanc au contour vert ; pastilles plus lisibles */
textarea { resize: none !important; }
.ph-modif textarea, .ph-modif textarea:focus, .ph-modif textarea:not(:focus) { background: #fff !important; box-shadow: none !important; border: 1.5px solid var(--bx2) !important; outline: none !important; }
.ph-deux-pilules .btn { font-size: 15px !important; padding: 12px 10px !important; gap: 7px !important; }
/* 01/12/2026 (Lisa) : la case « + Ajouter une photo » de l'étape 3 */
.ph-mp-cadre { position: relative; flex: 0 0 84px; }
.ph-mp-x { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border: 0; border-radius: 50%; background: #fff; color: var(--bx); font-size: 11px; box-shadow: 0 2px 6px rgba(0,0,0,.15); cursor: pointer; display: grid; place-items: center; padding: 0; }
.ph-mp-plus { cursor: pointer; }
.ph-mp-plus-case { width: 84px; height: 104px; border-radius: 12px; display: grid; place-items: center; font-size: 26px; color: var(--bx); background: var(--fond, #f6f2ea); outline: 2px dashed rgba(31,91,82,.3); outline-offset: -4px; }
.ph-mp-plus:hover .ph-mp-plus-case { background: var(--ok-fond); }
.ph-mp-aide { margin: 0 0 10px; font-size: 13px; color: var(--encre2); }
.ph-mp small { text-align: center; }
/* 01/12/2026 (Lisa) : quatre cartes à l'étape 1, les idées de l'étape 3 */
.ph-qui-cartes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 560px) { .ph-qui-cartes { grid-template-columns: 1fr; } }
.ph-idees { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 12px; }
.ph-idees-t { font-size: 13px; font-weight: 600; color: var(--bx); margin-right: 2px; }
.ph-idee-p { border: 1.5px solid var(--ligne); background: var(--fond, #fff); color: var(--encre); border-radius: 999px; padding: 7px 12px; font: inherit; font-size: 13px; cursor: pointer; text-align: left; line-height: 1.3; }
.ph-idee-p:hover { border-color: var(--bx2); background: var(--ok-fond); }
/* 01/12/2026 (Lisa) : étape 3 allégée, Juste une scène */
.ph-grandes-cases.ph-gc-1 { grid-template-columns: 1fr; }
.ph-label-ligne { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.ph-label-ligne label { margin: 0; }
.ph-label-ligne .ph-idee-p { display: inline-flex; align-items: center; gap: 5px; padding: 6px 12px; font-weight: 600; color: var(--bx); white-space: nowrap; }
/* 01/12/2026 (Lisa) : Juste une scène, l'encadré d'ajout ouvert d'office */
.ph-zone-rien { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 190px; padding: 22px 16px; border-radius: var(--radius); background: var(--carte); box-shadow: var(--ombre); outline: 2px dashed rgba(31,91,82,.3); outline-offset: -10px; text-align: center; cursor: pointer; transition: background .15s; }
.ph-zone-rien:hover, .ph-zone-rien.survol { background: var(--ok-fond); }
.ph-zone-rien b { font-family: var(--tight); font-size: 17px; font-weight: 600; color: var(--bx); }
.ph-zone-rien small { font-size: 13.5px; color: var(--encre2); }
.ph-zone-rien + .ph-import-zone { margin-top: 12px; }
/* 01/12/2026 (Lisa) : Je reproduis une photo */
.ph-inspi-grande { position: relative; width: min(100%, 520px); margin: 0 auto; border-radius: var(--radius); overflow: hidden; box-shadow: var(--ombre); background: var(--carte); }
.ph-inspi-grande img { width: 100%; display: block; }
.ph-inspi-act { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 8px; }
.ph-inspi-act .av-refaire { position: static; transform: none; cursor: pointer; }
.ph-pret-inspi { width: 110px; border-radius: 12px; box-shadow: var(--ombre); margin-bottom: 4px; }
.ph-copie-duo { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 auto 12px; width: min(100%, 520px); }
.ph-copie-duo figure { margin: 0; display: flex; align-items: center; gap: 8px; }
.ph-copie-duo img { width: 56px; height: 70px; object-fit: cover; border-radius: 10px; box-shadow: var(--ombre); }
.ph-copie-duo figcaption { font-size: 13px; color: var(--encre2); font-weight: 600; }
.ph-copie-duo > span { color: var(--encre2); }
.ph-inspi-grande { width: min(100%, 420px); }
.ph-inspi-grande img { max-height: 58vh; object-fit: cover; }
/* 01/12/2026 (Lisa) : « Créer un personnage / un produit » : toute la largeur, pointillés toujours visibles, fond blanc, partout */
.ph-ref.ph-ref-creer, .pk-page .pk-cartes .ph-ref-creer, .vlb-refs .ph-ref-creer, .ci-page .ph-ref-creer { grid-column: 1 / -1 !important; max-width: none !important; width: 100%; min-height: 110px; flex-direction: column !important; justify-content: center; align-items: center; gap: 8px; padding: 18px 14px; background: #fff !important; border: 2px dashed rgba(31,91,82,.35) !important; border-radius: var(--radius); box-shadow: none; text-decoration: none; color: var(--bx); opacity: 1 !important; }
.ph-ref.ph-ref-creer:hover { background: var(--ok-fond) !important; border-color: var(--bx2) !important; }
.ph-ref-creer .ph-plus { width: 38px; height: 38px; border-radius: 50%; background: var(--bx2); color: #fff; display: grid; place-items: center; font-size: 22px; }
.ph-ref-creer .ph-ref-txt { align-items: center; text-align: center; }
.ph-ref-creer .ph-ref-txt b { color: var(--bx); }
.ph-copie-change { width: min(100%, 420px); margin: 14px auto 0; }
.ph-copie-change textarea { background: #fff; border: 1.5px solid var(--ligne); }
.ph-copie-aide { display: block; margin-top: 6px; font-size: 12.5px; color: var(--encre2); }
.ph-idee .ci-pied-etapes > #i-suite { margin-left: auto; }
/* 01/12/2026 (Lisa) : « Quelque chose à changer ? » se déroule en encadré, comme Modifier */
.ph-copie-question { display: flex; margin: 14px auto 0; width: min(100%, 420px); justify-content: center; gap: 7px; border-radius: 999px; font-size: 15px; padding: 12px 10px; }
.ph-modif.ph-copie-change { width: min(100%, 420px); margin: 14px auto 0; }
.ph-modif .ph-copie-aide { margin-top: 0; }
.ph-facult { margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: #fff; color: var(--encre2); font-size: 11.5px; font-weight: 600; }
.ph-chevron { margin-left: 4px; display: inline-block; transition: transform .2s; font-size: 13px; }
.ph-copie-question.on .ph-chevron { transform: rotate(180deg); }
.ph-copie-question.on { outline: 2px solid var(--bx2); outline-offset: -2px; }
.ph-copie-question + .ph-copie-change { margin-top: 10px; }
/* 01/12/2026 (Lisa) : un seul encadré blanc, discret, qui se déplie */
.ph-accordeon { width: min(100%, 420px); margin: 14px auto 0; border-radius: var(--radius); background: var(--carte); box-shadow: var(--ombre); overflow: hidden; }
.ph-acc-tete { width: 100%; display: flex; align-items: center; gap: 8px; padding: 14px 16px; border: 0; background: none; font: inherit; font-size: 15px; font-weight: 600; color: var(--bx); cursor: pointer; text-align: left; }
.ph-acc-tete > span:first-of-type { flex: 1; }
.ph-acc-tete .ph-facult { background: var(--fond, #f3efe6); }
.ph-accordeon.on .ph-chevron { transform: rotate(180deg); }
.ph-acc-corps { padding: 0 16px 14px; display: flex; flex-direction: column; gap: 6px; }
.ph-acc-corps textarea { width: 100%; box-sizing: border-box; border: 1.5px solid var(--bx2); border-radius: 12px; background: #fff; padding: 10px 12px; font: inherit; outline: none; }
/* 01/12/2026 (Lisa) : Je shoote mon produit en étapes */
.pk-etapes .pk-section { margin-top: 22px; }
.pk-etapes .pk-compte { margin: 12px 0 0; font-size: 14px; color: var(--encre2); }
.pk-etapes > .av-creer { width: min(100%, 520px); margin: 14px auto 0; display: flex; }
.pk-etapes .pk-serie { margin-top: 0; }
.ph-idee .ci-pied-etapes > #sh-suite, .ph-idee .ci-pied-etapes > a.btn:last-child { margin-left: auto; }
/* 01/12/2026 (Lisa) : Je passe ma photo en 4K, en 2 étapes */
.p4k-etapes .p4k-taille { text-align: center; margin: 8px 0 0; font-size: 13px; color: var(--encre2); }
.p4k-etapes > .av-creer { width: min(100%, 420px); margin: 14px auto 0; display: flex; }
/* 01/12/2026 (Lisa) : « Comparer avec l'avant » (cliquable), avant / après en grand, Une autre proposition */
.ph-voir-avant { display: flex; align-items: center; gap: 10px; margin: 0 auto 12px; padding: 6px 14px 6px 6px; border: 1.5px solid var(--ligne); border-radius: 999px; background: var(--carte); font: inherit; font-size: 14px; font-weight: 600; color: var(--bx); cursor: pointer; box-shadow: var(--ombre); }
.ph-voir-avant:hover { border-color: var(--bx2); background: var(--ok-fond); }
.ph-voir-avant img { width: 38px; height: 38px; object-fit: cover; border-radius: 50%; }
.aa-zoom .aa-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: min(96vw, 1000px); }
.aa-zoom figure { margin: 0; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.aa-zoom img { width: 100%; max-height: calc(100vh - 160px); object-fit: contain; border-radius: 12px; }
.aa-zoom figcaption { color: #fff; font-weight: 600; font-size: 14px; }
.p4k-etapes .p4k-encore { display: flex; width: min(100%, 420px); margin: 14px auto 0; justify-content: center; gap: 7px; border-radius: 999px; }

/* 01/12/2026 : bibliothèque — les catégories en pastilles qui défilent, la scène en rappel sur chaque étape */
.ph-cats.ph-cats-pilules { display: flex; flex-wrap: nowrap; gap: 8px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; margin: 0 -16px 20px; padding: 2px 16px 4px; scroll-snap-type: x proximity; }
.ph-cats.ph-cats-pilules::-webkit-scrollbar { display: none; }
.ph-cats.ph-cats-pilules .ph-cat { flex: none; white-space: nowrap; scroll-snap-align: start; min-height: 40px; padding: 0 16px; }
.ph-scene-mini { display: flex; align-items: center; gap: 12px; margin: 14px auto 0; max-width: 360px; width: 100%; padding: 8px 14px 8px 8px; border: 1px solid rgba(27,33,31,.12); border-radius: 16px; background: var(--carte); font: inherit; color: var(--bx); text-align: left; cursor: zoom-in; }
.ph-scene-mini[disabled] { cursor: default; }
.ph-scene-mini img { width: 52px; height: 52px; object-fit: cover; border-radius: 10px; flex: none; }
.ph-scene-mini span { display: flex; flex-direction: column; min-width: 0; }
.ph-scene-mini small { font-size: 12.5px; color: var(--encre2); }
.ph-scene-mini b { font-size: 15px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* 01/12/2026 : un seul bouton dans l'image en grand (Fermer) : au milieu ; la pastille « Faite » sur les scènes déjà faites */
.ph-zoom-act > :only-child { grid-column: 1 / -1; justify-self: center; margin-inline: auto; min-width: 160px; }
.vig .vig-faite { position: absolute; top: 10px; right: 10px; z-index: 2; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--bx); font-size: 12.5px; font-weight: 600; line-height: 1.3; box-shadow: 0 1px 4px rgba(0,0,0,.12); }
/* 01/12/2026 : étape 3 d'une scène : Modifier / Relancer puis Précédent / Recommencer, quatre boutons de même taille */
.ph-deux-pilules .btn { min-height: 52px; box-sizing: border-box; border-width: 1px; border-style: solid; }
.ph-pied-quatre { margin-top: 12px; }
.ph-pied-quatre .btn.second:not(.ph-pil-recommencer) { background: #fff !important; border-color: rgba(27,33,31,.16) !important; color: var(--bx) !important; }
.ph-pil-recommencer { background: #F2EADF !important; border-color: #F2EADF !important; color: #7A5A3A !important; }
.ph-pil-recommencer:hover { background: #EBDFCF !important; border-color: #EBDFCF !important; }
@media (max-width: 420px) { .ph-pied-quatre { grid-template-columns: 1fr 1fr; } .ph-deux-pilules:has(.ph-pil-modif) { grid-template-columns: 1fr 1fr; } }
.ph-pied-quatre .btn { width: 100% !important; margin: 0 !important; justify-self: stretch !important; }
/* 01/12/2026 : sur ordinateur, toutes les catégories visibles sur deux lignes (pas de défilement à la souris) */
@media (min-width: 900px) { .ph-cats.ph-cats-pilules { flex-wrap: wrap; overflow: visible; margin: 0 0 22px; padding: 0; } }
.ph-versions-titre { margin: 22px 0 8px; text-align: center; font-size: 14px; color: var(--encre2); }

/* 01/12/2026 : bibliothèque — la recherche, le cœur des favoris, la phrase de chaque scène */
.ph-recherche { position: relative; display: flex; align-items: center; gap: 10px; max-width: 560px; margin: 0 0 14px; padding: 0 14px; min-height: 48px; border: 1px solid rgba(27,33,31,.14); border-radius: 999px; background: var(--carte); color: var(--encre2); cursor: text; }
.ph-recherche:focus-within { border-color: var(--bx2); box-shadow: 0 0 0 3px rgba(23,70,63,.08); }
.ph-recherche svg { flex: none; }
.ph-recherche input { flex: 1; min-width: 0; border: 0 !important; outline: 0; background: transparent !important; box-shadow: none !important; padding: 0 !important; font: inherit; font-size: 15.5px; color: var(--bx); }
.ph-recherche input::-webkit-search-cancel-button { display: none; }
.ph-cherche-x { flex: none; width: 28px; height: 28px; border: 0; border-radius: 50%; background: rgba(27,33,31,.07); color: var(--bx); font-size: 12px; cursor: pointer; }
.ph-cats.en-recherche .ph-cat { opacity: .75; }
.ph-cherche-nb { margin: -8px 0 14px; font-size: 14px; color: var(--encre2); }
.ph-cat.ph-cat-fav:not(.on) { color: #C2336B; border-color: rgba(224,69,123,.35); }
.vig .vig-coeur { position: absolute; top: 8px; left: 8px; z-index: 3; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.92); color: var(--bx); box-shadow: 0 1px 4px rgba(0,0,0,.14); cursor: pointer; transition: transform .15s; }
.vig .vig-coeur:hover { transform: scale(1.08); }
.vig .vig-coeur svg { fill: none; }
.vig .vig-coeur.on { color: #E0457B; }
.vig .vig-coeur.on svg { fill: currentColor; }
.vig .vig-desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 4px; font-family: var(--sans, inherit); font-size: 12.5px; font-weight: 400; line-height: 1.3; opacity: .92; }
.ph-scene-mini em { display: block; font-style: normal; font-size: 13px; color: var(--encre2); line-height: 1.3; white-space: normal; }

/* 01/12/2026 : Je shoote mon produit — l'étiquette Studio / UGC et la question « Quel shooting ? » */
.sx-projet-img { position: relative; }
.sh-type { position: absolute; left: 8px; bottom: 8px; padding: 3px 9px; border-radius: 999px; font-style: normal; font-size: 12px; font-weight: 600; line-height: 1.3; background: rgba(255,255,255,.94); color: var(--bx); box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.sh-type-ugc { background: #F2EADF; color: #7A5A3A; }
.sh-choix { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 640px; margin: 18px auto 22px; }
.sh-choix-carte { display: flex; flex-direction: column; align-items: stretch; gap: 6px; padding: 10px 10px 16px; border: 1px solid rgba(27,33,31,.12); border-radius: 22px; background: var(--carte); color: var(--bx); font: inherit; text-align: center; cursor: pointer; transition: border-color .15s, transform .15s, box-shadow .15s; }
.sh-choix-carte:hover { border-color: var(--bx2); transform: translateY(-2px); box-shadow: 0 6px 18px rgba(23,70,63,.10); }
.sh-choix-img { display: block; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; background: #EFEAE0; margin-bottom: 6px; }
.sh-choix-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sh-choix-carte b { font-size: 18px; font-weight: 600; }
.sh-choix-carte small { font-size: 13.5px; line-height: 1.35; color: var(--encre2); padding: 0 4px; }
@media (max-width: 420px) { .sh-choix { gap: 10px; } .sh-choix-carte small { font-size: 12.5px; } }
.sh-choix-carte.on { border-color: var(--bx2); box-shadow: 0 0 0 2px var(--bx2) inset; } .sh-choix-carte[disabled] { opacity: .45; cursor: not-allowed; transform: none; } .sh-choix-page, .pk-page .sh-choix { }

/* 01/12/2026 : Je shoote mon produit, étapes allégées */
.ph-grandes-cases.ph-gc-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ph-gc-3 .ph-grande-case b { font-size: 14.5px; }
.ph-gc-3 .ph-grande-case small { font-size: 12.5px; }
.pk-acc { width: 100%; margin: 16px 0 0; }
.pk-acc .ph-acc-corps { padding: 4px 16px 16px; }
.sh-vites { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.sh-vite { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 10px; border: 1px solid rgba(27,33,31,.12); border-radius: 18px; background: var(--carte); color: var(--bx); font: inherit; text-align: center; cursor: pointer; box-shadow: var(--ombre); transition: border-color .15s, background .15s; }
.sh-vite b { font-size: 17px; font-weight: 600; }
.sh-vite small { font-size: 12.5px; line-height: 1.35; color: var(--encre2); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.sh-vite.on { background: var(--bx2); border-color: var(--bx2); color: #fff; }
.sh-vite.on small { color: rgba(255,255,255,.82); }
.pk-carte-reglages { margin-bottom: 22px; }
.pk-etapes .ci-pied-etapes { margin-top: 22px; }
.pk-slot .ph-res { position: relative; }
.pk-dl { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); white-space: nowrap; }
.pk-refaire1 { position: absolute; top: 8px; right: 8px; width: 36px; height: 36px; border: 0; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.94); color: var(--bx); box-shadow: 0 1px 4px rgba(0,0,0,.14); cursor: pointer; }
.pk-refaire1:hover { transform: scale(1.06); }
.pk-refaire-conf { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 12px; background: rgba(255,255,255,.93); text-align: center; }
.pk-refaire-conf p { margin: 0 0 4px; font-weight: 600; color: var(--bx); }
.pk-refaire-conf .btn { width: 100%; max-width: 180px; justify-content: center; }
.pk-actions { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 18px; }
.pk-actions .btn { width: min(100%, 420px); justify-content: center; }
.pk-refaire-tout { font-size: 14.5px; }
@media (max-width: 420px) { .ph-gc-3 .ph-grande-case { padding-left: 6px; padding-right: 6px; } .sh-vite { padding: 14px 6px; } .sh-vite b { font-size: 15.5px; } }
.pk-refaire-conf { z-index: 4; } .pk-refaire1 { z-index: 3; }
.ph-grandes-cases.ph-gc-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } .ph-grandes-cases.ph-gc-3 > * { grid-column: auto !important; min-width: 0; }
/* 01/12/2026 : la photo choisie dans le rond ; les cartes 3 · 6 · 9 ; les 4 ambiances Studio */
.ph-qui-ico.pk-ico-photo { padding: 0; overflow: hidden; background: #EFEAE0; }
.ph-qui-ico.pk-ico-photo img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 50%; }
.sh-vite { padding: 18px 8px 16px; gap: 2px; }
.sh-vite b { font-size: 30px; line-height: 1; font-family: var(--tight, inherit); }
.sh-vite small { font-size: 14px; -webkit-line-clamp: 1; }
.sh-ambs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.sh-amb { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 18px 10px 16px; border: 1px solid rgba(27,33,31,.12); border-radius: 18px; background: var(--carte); color: var(--bx); font: inherit; text-align: center; cursor: pointer; box-shadow: var(--ombre); }
.sh-amb-rond { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(27,33,31,.14); margin-bottom: 4px; box-shadow: inset 0 1px 3px rgba(0,0,0,.06); }
.sh-amb b { font-size: 16px; font-weight: 600; }
.sh-amb small { font-size: 13px; color: var(--encre2); }
.sh-amb.on { border-color: var(--bx2); box-shadow: 0 0 0 2px var(--bx2) inset; background: var(--ok-fond); }
.sh-vite.on { background: var(--ok-fond); border-color: var(--bx2); color: var(--bx); box-shadow: 0 0 0 2px var(--bx2) inset; }
.sh-vite.on small { color: var(--encre2); }
