/* Stratégie (08/11/2026 nuit, Lisa et Tamya) : l'espace revient, réservé à Shoot Pro. 09/11/2026 : réservée aux anciens abonnés à 59 € ; pour les autres, elle vit dans l'ajence AI. Charte de l'app : vert sapin #1F5B52, texte #17463F,
   vert clair #A3CDB9 ; aucun doré ; graisse 600 au plus ; texte de 14 px au moins. Posée en dernier (index.html), elle passe après le reste. */

/* ---------- La barre du bas du téléphone et le rail : Stratégie · Créations · Accueil · Formation · Le groupe ----------
   09/11/2026 (Lisa) : un seul produit, Shoot AI. Deux variantes, toujours 5 entrées avec le bouton rond Accueil au centre :
   - avec Stratégie (anciens abonnés à 59 €) : Stratégie · Mes créations · Accueil · La méthode · Le groupe ;
   - sans Stratégie (#espaces.sans-strategie, presque tout le monde) : Mon compte · Mes créations · Accueil · La méthode · Le groupe (ordre de Lisa, 09/11/2026 soir : « plus logique dans l'utilité »).
   L'ordre suit les classes espace-<id> (toujours posées par app.js › rail), pas les href : sans accès, les liens mènent tous à #/formules.
   Les entrées sont à largeur fixe (52 px, le rond 60 px) : 4 × 52 + 60 + les espaces ≈ 280 px, ça tient en 390 px. Pas de texte dans la barre
   (les libellés sont cachés sous 900 px, app.css) : seulement les icônes et leur aria-label. */
@media (max-width: 640px) {
  /* 23/11/2026 (Lisa) : Le groupe, La méthode, Accueil, Mes créations, Chat IA */
  .rail .espaces .espace.espace-groupe { order: 1; }
  .rail .espaces .espace.espace-formation { order: 2; }
  .rail .espaces .espace.espace-creer { order: 3; }
  .rail .espaces .espace.espace-creations { order: 4; }
  .rail .espaces .espace.espace-chat-ia { order: 5; }
  .rail .espaces .espace.espace-strategie { order: 5; }
  .rail .espaces.sans-strategie .espace.espace-compte { order: 1; }
  .rail .espaces.sans-strategie .espace.espace-creations { order: 2; }
  .rail .espaces.sans-strategie .espace.espace-creer { order: 3; }
  .rail .espaces.sans-strategie .espace.espace-formation { order: 4; }
  .rail .espaces.sans-strategie .espace.espace-groupe { order: 5; }
}
/* Mon compte dans la barre du bas : seulement sur téléphone (sur ordinateur et tablette, le rail a déjà le lien du profil, en bas). */
.espace.espace-compte { display: none; }
@media (max-width: 640px) { .rail .espace.espace-compte { display: flex; } }
.espace.espace-strategie { position: relative; }
/* À 27 € : une petite pastille vert clair sur Stratégie (pas de cadenas). 09/11/2026 : plus posée par app.js (Stratégie est cachée à qui n'y a pas droit). */
.espace .st-pastille { flex: none; margin-left: auto; width: 9px; height: 9px; border-radius: 50%; background: #A3CDB9; box-shadow: 0 0 0 2px #fff; }
@media (max-width: 900px) { .rail .espace .st-pastille { position: absolute; top: 8px; right: 12px; margin: 0; } }
@media (max-width: 640px) { .rail .espace .st-pastille { top: 7px; right: 11px; } }

/* ---------- L'espace Stratégie ---------- */
.vv .f-vc { fill: #A3CDB9; }
.strategie .carte .visuel .st-ico { display: inline-flex; color: #1F5B52; }
.strategie .carte .visuel .st-ico svg { width: 40px; height: 40px; stroke-width: 1.3; }
.strategie .cat-tete h2 { color: #17463F; }
.strategie .meta { color: #5E6C67; }
/* Une carte fermée (27 €) : la même carte, un peu adoucie, un cadenas fin vert à droite du titre. Elle mène à l'encadré du haut. */
button.carte.st-fermee { font: inherit; text-align: left; cursor: pointer; width: 100%; }
.carte.st-fermee .visuel { opacity: .7; }
.carte.st-fermee h3 { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.st-cadenas { color: #1F5B52; flex: none; }
.carte.st-fermee:focus-visible { outline: 2px solid #1F5B52; outline-offset: 2px; }

/* L'encadré « Stratégie est comprise dans Shoot Pro ». */
.st-verrou { max-width: 620px; margin: 0 0 28px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 24px 24px 22px; border-radius: 20px; background: #fff; box-shadow: var(--ombre); border: 1.5px solid #A3CDB9; }
.st-verrou-ico { width: 48px; height: 48px; border-radius: 50%; background: #E8F2EC; color: #1F5B52; display: grid; place-items: center; }
.st-verrou-ico .st-cadenas { width: 24px; height: 24px; }
.st-verrou h2 { font-size: 20px; font-weight: 600; line-height: 1.3; color: #17463F; margin: 0; }
.st-verrou p { font-size: 15.5px; line-height: 1.5; color: #5E6C67; margin: 0; }
.st-verrou-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 8px; }
.st-verrou-actions .btn { background: #1F5B52; color: #fff; }
.st-verrou-actions .btn.lien { background: none; color: #1F5B52; padding-left: 4px; padding-right: 4px; font-size: 15px; }
.st-verrou.st-appel { animation: st-appel .9s ease; }
@keyframes st-appel { 0%, 100% { box-shadow: var(--ombre); } 40% { box-shadow: 0 0 0 6px rgba(163,205,185,.55), var(--ombre); } }
@media (prefers-reduced-motion: reduce) { .st-verrou.st-appel { animation: none; } }
@media (max-width: 640px) { .st-verrou { padding: 20px 18px 18px; margin-bottom: 22px; } .st-verrou-actions .btn:not(.lien) { width: 100%; justify-content: center; } }

/* Le champ « Ce que tu fais, et pour qui » des piliers (la fiche d'identité a quitté l'expérience). */
.mpc-activite { margin: 4px 0 12px; }
.mpc-activite label { display: block; font-size: 14px; font-weight: 500; color: #17463F; margin-bottom: 6px; }
.mpc-activite textarea { width: 100%; font-size: 15.5px; }

/* ---------- Les écrans de Stratégie en vert (le routeur pose .scene-strategie) ----------
   Les feuilles d'avant (app.css, idees.css, planning.css…) se servaient du doré : ici, ses variables deviennent les verts de la charte. */
.scene-strategie { --or: #A3CDB9; --or2: #CFE5DA; --or-texte: #1F5B52; --ok: #1F5B52; --ok-fond: #E8F2EC; }
.scene-strategie .hk-garder.on { color: #1F5B52; }
.scene-strategie .pret { border-color: #A3CDB9; }
.scene-strategie .pl-choix-carte.or:hover { border-color: #1F5B52; }
.scene-strategie .pl-choix-carte.or .pl-choix-ico { background: #E8F2EC; color: #1F5B52; box-shadow: inset 0 0 0 1.5px #A3CDB9; }
.scene-strategie .pl-choix-carte li::before { background: #A3CDB9; }
.scene-strategie .pl-lab, .scene-strategie .pl-sur, .scene-strategie .pl-slot-sur, .scene-strategie .pl-libre label { color: #1F5B52; }
.scene-strategie .pl-conseil { background: #E8F2EC; }
.scene-strategie .pl-conseil .pl-ico, .scene-strategie .pl-slot-sur .pl-ico, .scene-strategie .pl-pret .pl-ico { color: #1F5B52; }
.scene-strategie .pl-source-ico.or { background: #A3CDB9; color: #17463F; }
.scene-strategie .pl-progres span { background: linear-gradient(90deg, #1F5B52, #A3CDB9); }
.scene-strategie .pl-remplir .pl-ico { color: #A3CDB9; }
.scene-strategie .pl-jour.auj { border-color: #1F5B52; background: #F4FAF7; }
.scene-strategie .pl-jour.auj .pl-jn { color: #1F5B52; }
.scene-strategie .pl-auj { color: #17463F; background: #E8F2EC; border-color: #A3CDB9; }
.scene-strategie .pl-fmt.fmt-reel { color: #A3CDB9; }
.scene-strategie .pl-fmt.fmt-stories { background: #E8F2EC; color: #1F5B52; box-shadow: inset 0 0 0 1.5px #A3CDB9; }
.scene-strategie .pl-int { color: #1F5B52; border-color: #A3CDB9; }
.scene-strategie .pl-publie { color: #1F5B52; }
.scene-strategie .pl-slot { border-color: #A3CDB9; background: #F7FBF9; }
.scene-strategie .pl-case.auj .pl-num { background: #A3CDB9; color: #17463F; }
.scene-strategie i.st-en-cours { background: #A3CDB9; }
.scene-strategie .pl-minitag.st-en-cours { border-left-color: #A3CDB9; }
.scene-strategie .iv-mini { border-color: #A3CDB9; }
.scene-strategie .iv-carte.iv-c-post::before { background: #5B9483; }
