/* accueil.css — L'ACCUEIL DES DEVIS, PRÉSENTABLE DEVANT LE CLIENT (24/10/2026)
 *
 * Yoann : « Revois cette page aussi pour que ce soit plus présentable devant les clients. Bien sûr, les commerciaux, eux, n'ont pas
 * toutes les fiches. Ils ont seulement les fiches qu'on leur a attribuées. Il faut que ce soit plus joli, plus sexy. »
 *
 * UN HABIT, COMME vitrine.css : les couleurs et la typographie de l'espace client et du catalogue « Votre parcours » (fond clair,
 * cartes blanches, titres en Source Serif 4, la bande nuit et orange) sur l'écran de choix de index.html. Les cartes, leur ordre,
 * leur geste (chooseSection) et LE FILTRAGE PAR RÔLE (index.html : qui voit quelles fiches) ne changent pas — un commercial ne voit
 * toujours que les siennes. `!important` : bordures et boutons portent leur style dans l'attribut.
 * Chargé par index.html seulement. « Bonjour <prénom>, » : #accBonjour, rempli par index.html.
 */
#choiceScreen {
  --v-nuit: #001A70; --v-vif: #005BFF; --v-orange: #FE5815; --v-clair: #EEF4FF; --v-fond: #F6F8FC;
  --v-bord: #DDE3EF; --v-texte: #12203F; --v-gris: #5A6B85;
  --v-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --v-sans: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: radial-gradient(1200px 500px at 50% -10%, #E3ECFF 0%, rgba(227, 236, 255, 0) 70%), var(--v-fond);
  font-family: var(--v-sans); color: var(--v-texte); justify-content: flex-start; padding: 0 20px 40px;
}
/* La bande des pages du catalogue. */
#choiceScreen::before { content: ""; display: block; align-self: stretch; height: 6px; margin: 0 -20px 34px;
  background: linear-gradient(90deg, var(--v-orange) 0 140px, var(--v-nuit) 140px 100%); }
#choiceScreen .choice-logo { margin-bottom: 14px; }
#choiceScreen .choice-logo img { filter: none; }
#choiceScreen .choice-logo img[alt="Partenaire EDF"] { border-radius: 0 !important; }

.acc-sur { font-size: 11px; font-weight: 800; letter-spacing: 1.8px; text-transform: uppercase; color: var(--v-gris);
  display: flex; align-items: center; gap: 8px; justify-content: center; margin: 4px 0 6px; }
.acc-sur::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--v-orange); }
.acc-bonjour { font-family: var(--v-serif); font-size: 38px; font-weight: 600; line-height: 1.1; color: var(--v-nuit); margin: 0 0 6px; text-align: center; }
.acc-bonjour:empty { display: none; }
.acc-question { font-size: 16px; color: var(--v-gris); margin: 0 0 26px; text-align: center; }

/* « Mes dossiers », « Dossiers pro » : des pastilles nettes, à la même place. */
#choiceSuiviBtn, #choiceProBtn { margin-bottom: 16px !important; }
#choiceSuiviBtn button, #choiceProBtn button { font-family: var(--v-sans) !important; font-size: 16px !important; padding: 13px 30px !important;
  border-radius: 999px !important; letter-spacing: .2px !important; word-spacing: 5px !important; }
#choiceSuiviBtn button { background: var(--v-nuit) !important; box-shadow: 0 10px 22px -10px rgba(0, 26, 112, .6) !important; }
#choiceProBtn button { background: #fff !important; color: #0f766e !important; border: 1.5px solid #99d5cc !important; box-shadow: none !important; }
#choiceSuiviBtn > div, #choiceProBtn > div { color: var(--v-gris) !important; font-weight: 500 !important; }

#choiceScreen .choice-title { font-family: var(--v-serif); color: var(--v-nuit); font-size: 28px; font-weight: 600; letter-spacing: 0;
  margin: 18px 0 22px !important; }

/* Les cartes : blanches, un rond de couleur pour l'icône, le trait de couleur de la fiche en haut. */
#choiceScreen .choice-cards { gap: 20px; max-width: 1180px; }
#choiceScreen .choice-card { --c: var(--v-vif); width: 250px; height: 200px; gap: 10px; background: #fff !important;
  border: 1px solid var(--v-bord) !important; border-radius: 22px; box-shadow: 0 1px 2px rgba(0, 26, 112, .06), 0 12px 28px -18px rgba(0, 26, 112, .35) !important;
  transition: transform .25s cubic-bezier(.34, 1.56, .64, 1), box-shadow .25s, border-color .25s; }
#choiceScreen .choice-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--c); }
#choiceScreen .choice-card:hover { transform: translateY(-5px); border-color: var(--c) !important;
  box-shadow: 0 2px 4px rgba(0, 26, 112, .06), 0 22px 40px -20px rgba(0, 26, 112, .5) !important; }
#choiceScreen .choice-icon { font-size: 34px; width: 70px; height: 70px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--c) 12%, #fff); filter: none; }
#choiceScreen .choice-label { font-family: var(--v-serif); color: var(--v-nuit); font-size: 24px; font-weight: 700; letter-spacing: .3px; }
#choiceScreen .choice-desc { color: var(--v-gris); font-size: 13px; }
#choiceScreen .choice-card-pac { --c: #005BFF; }
#choiceScreen .choice-card-ite { --c: #009640; }
#choiceScreen .choice-card-pv { --c: #0ea5e9; }   /* PV, photovoltaïque (27/10/2026) */
#choiceScreen .choice-card-174 { --c: #7c3aed; }
#choiceScreen .choice-card-th168 { --c: #f59e0b; }
#choiceScreen .choice-card-agri { --c: #65a30d; }
#choiceScreen .choice-card-indba { --c: #ea580c; }
#choiceScreen .choice-card-agri101 { --c: #15803d; }
#choiceScreen .choice-card-aq110 { --c: #d97706; }
#choiceScreen .choice-card-destrat { --c: #0d9488; }
#choiceScreen .choice-card-agrith108 { --c: #059669; }   /* AGRI-TH-108, PAC air/eau des serres (03/11/2026) */
#choiceScreen .choice-hint { color: var(--v-gris); font-style: normal; margin-top: 26px; }

@media (max-width: 600px) {
  #choiceScreen::before { height: 4px; margin-bottom: 22px; }
  .acc-bonjour { font-size: 28px; }
  .acc-question { font-size: 14px; margin-bottom: 18px; }
  #choiceScreen .choice-card { width: 100% !important; max-width: 340px; height: 150px !important; }
  #choiceScreen .choice-icon { width: 56px; height: 56px; font-size: 28px; }
}

/* L'écran de connexion, dans la même famille. */
.login-container { background: radial-gradient(1000px 500px at 50% -10%, #E3ECFF 0%, rgba(227, 236, 255, 0) 70%), #F6F8FC !important; }
.login-box { border: 1px solid #DDE3EF; box-shadow: 0 24px 60px -30px rgba(0, 26, 112, .45) !important; border-top: 5px solid #001A70; }
.login-box h2 { font-family: "Source Serif 4", Georgia, serif; color: #001A70; font-size: 24px !important; }
.login-box .btn-login { background: #001A70 !important; border-radius: 999px !important; }
