/* Le choix de l'IA (11/10) : ChatGPT ou Gemini pour un personnage ou une photo ; Claude, ChatGPT ou Gemini pour les prompts d'une vidéo.
   Le même bloc partout (choix-ia.js). Air de famille : les pastilles « .choix », en un peu plus présentes, avec le badge doré du conseil. */
.cia { margin: 22px 0 0; }
.cia-titre { margin: 0 0 10px; font-size: 14px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--or-texte); }
.cia-zone { margin: 0 0 4px; } /* dans les parcours vidéo, juste au-dessus du bouton qui lance l'écriture */
.cia + .fp-lancer, .cia + .actions { margin-top: 16px; }
.cia-liste { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-width: 520px; }
.cia-liste.cia-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 640px; }
.cia-opt { display: flex; flex-wrap: wrap; align-items: center; align-content: center; gap: 5px 10px; min-height: 52px; padding: 10px 16px; border-radius: 16px; border: 1px solid rgba(27,33,31,.18); background: var(--carte); color: var(--bx); font: inherit; font-size: 15.5px; font-weight: 500; line-height: 1.2; text-align: left; text-decoration: none; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.cia-opt:hover { border-color: var(--bx2); }
.cia-opt:focus-visible { outline: 2px solid var(--or); outline-offset: 2px; }
.cia-opt.on { background: var(--bx2); border-color: var(--bx2); color: #fff; font-weight: 600; }
.cia-nom { display: block; }
.cia-badge { display: inline-block; padding: 2px 9px; border-radius: 999px; background: var(--ok-fond); color: var(--or-texte); font-size: 14px; font-weight: 500; line-height: 1.35; }
.cia-opt.on .cia-badge { background: var(--or); color: var(--bx); }
.cia-manque { border-style: dashed; background: transparent; color: var(--encre2); }
.cia-note { flex-basis: 100%; font-size: 14px; font-weight: 500; color: var(--bx2); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) {
  .cia-liste.cia-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cia-liste.cia-3 > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .cia-opt { padding: 10px 12px; }
}

/* Les pages Clone, Avatar, Produit et Mascotte, au téléphone (11/10, Lisa : « une espèce de bandeau blanc avec le titre de la section,
   c'est moche, mets tout dans le beige qu'on a ») : le titre n'est plus une bande blanche collée en haut, il est dans la page, sur l'ivoire,
   comme sur ordinateur et comme les pages Photo. À ranger dans app.css à la prochaine passe (règle « .editeur.page > .tete »). */
@media (max-width: 640px) {
  .editeur.page.en-page > .tete { position: static; margin: 0 0 14px; padding: 0; background: transparent; border-bottom: 0; }
}

/* 13/10 (Lisa) : jamais deux titres pour le choix de l'IA. Quand le bloc a déjà son titre juste au-dessus (un h2, un h3, un petit titre doré, ou la ligne repliée de Packshot / UGC), le titre du composant s'efface. */
h2 + .cia-zone .cia-titre, h3 + .cia-zone .cia-titre, h2 + .cia .cia-titre, h3 + .cia .cia-titre, .sans-titre-ia .cia-titre, .pk-ligne .cia-titre, .pk-corps .cia-titre { display: none; }
