/* Générateur de page « Transparence IA » (s'appuie sur phare.css et diagnostic.css) */
.gen-tete { max-width: 860px; margin-bottom: 34px; }
.gen-tete h1 { font-size: clamp(32px, 4.2vw, 50px); line-height: 1.08; letter-spacing: -.03em; margin: 0 0 16px; }
.gen-tete h1 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--menthe); }
.gen-grille { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 24px; align-items: start; margin-bottom: 24px; }
.gen-formulaire { display: grid; gap: 18px; }
.gen-formulaire fieldset { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.gen-formulaire legend { margin-bottom: 8px; font-weight: 700; font-size: 16px; }
.gen-formulaire label { font-size: 14px; font-weight: 600; }
.gen-formulaire label small { color: var(--discret); font-weight: 450; }
.gen-formulaire input[type="text"] { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--ligne-forte); background: rgba(0, 0, 0, .28); color: var(--texte); font: 500 15px var(--sans); }
.gen-formulaire input[type="text"]:focus { outline: 3px solid rgba(94, 234, 212, .35); border-color: var(--menthe); }
.gen-choix { display: flex !important; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--ligne); cursor: pointer; transition: border-color .15s, background .15s; }
.gen-choix:has(input:checked) { border-color: rgba(94, 234, 212, .5); background: rgba(94, 234, 212, .06); }
.gen-choix input, .gen-case input, .gen-radios input { margin-top: 3px; accent-color: var(--menthe); }
.gen-choix span { display: flex; flex-direction: column; gap: 2px; }
.gen-choix b { font-weight: 600; }
.gen-choix small { color: var(--doux); font-weight: 450; font-size: 13px; }
.gen-details { display: grid; gap: 8px; margin: -2px 0 6px 14px; padding: 4px 0 4px 16px; border-left: 2px solid rgba(94, 234, 212, .3); }
.gen-case { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 450 !important; color: var(--doux); }
.gen-radios { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.gen-radios label { display: inline-flex; gap: 8px; align-items: center; font-weight: 450; color: var(--doux); }
.gen-lien { padding-top: 6px; border-top: 1px solid var(--ligne); font-size: 13px !important; }
.gen-apercu-carte { position: sticky; top: 20px; }
.gen-apercu-tete { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.gen-apercu-tete h2 { font-size: 19px; margin: 0; }
.gen-boutons { display: flex; flex-wrap: wrap; gap: 8px; }
.gen-statut { min-height: 20px; margin: 0 0 8px; color: var(--menthe); font-size: 13.5px; font-weight: 600; }
/* L'aperçu ressemble à une page de site ordinaire : fond clair, typographie sobre */
.gen-apercu { max-height: 70vh; overflow: auto; margin-bottom: 10px; padding: 28px 30px; border-radius: 16px; background: #FBFAF7; color: #1C1B19; font: 15px/1.65 Georgia, "Times New Roman", serif; box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .9); }
.gen-apercu h1 { font: 700 26px/1.25 var(--sans); margin: 0 0 14px; color: #111; }
.gen-apercu h2 { font: 700 17px/1.3 var(--sans); margin: 22px 0 6px; color: #111; }
.gen-apercu p { margin: 0 0 10px; }
.gen-apercu a { color: #0F766E; }
.gen-apercu small { color: #6B665F; }
.gen-appel { margin-bottom: 40px; }
.gen-faq { max-width: 860px; }
.gen-faq h2 { font-size: 24px; margin: 0 0 14px; }
.gen-faq details { border-top: 1px solid var(--ligne); padding: 16px 0; }
.gen-faq summary { cursor: pointer; font-weight: 600; font-size: 16.5px; }
.gen-faq details p { color: var(--doux); margin: 10px 0 0; }
@media (max-width: 960px) {
  .gen-grille { grid-template-columns: minmax(0, 1fr); }
  .gen-apercu-carte { position: static; }
  .gen-apercu { max-height: none; padding: 22px 20px; }
}
