/* Contact galerie (Marc 07/11/2026) : fenetre « Voir cette oeuvre chez moi », lien « Une question ? » */
.adm-cg-voile { position: fixed; inset: 0; z-index: 2147483000; background: rgba(20, 20, 25, .72); display: flex; align-items: center; justify-content: center; padding: 16px; box-sizing: border-box; }
.adm-cg-boite { position: relative; width: 100%; max-width: 520px; max-height: 92vh; overflow: auto; box-sizing: border-box; padding: 28px 26px 24px;
  background: #FAF7ED; border-top: 3px solid #8B7500; color: #141419; font-family: Georgia, serif; }
.adm-cg-x { position: absolute; top: 8px; right: 10px; background: none; border: 0; font-size: 26px; line-height: 1; color: #141419; cursor: pointer; padding: 4px 8px; }
.adm-cg-titre { font-size: 20px; line-height: 1.3; margin: 0 24px 10px 0; }
.adm-cg-boite p.adm-cg-intro { font-size: 14px !important; line-height: 1.55 !important; margin: 0 0 14px; color: #3a3530; }
.adm-cg-boite ol.adm-cg-etapes { margin: 0 0 16px; padding-left: 1.4em; }
.adm-cg-boite ol.adm-cg-etapes li { font-size: 14px !important; line-height: 1.55 !important; margin: 0 0 8px; padding-left: 4px; }
.adm-cg-boite ol.adm-cg-etapes li::marker { color: #8B7500; font-weight: bold; }
.adm-cg-champ span { font-family: Georgia, serif; }
.adm-cg-champ { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 16px; font-size: 14px; }
.adm-cg-champ input { width: 120px; padding: 9px 10px; border: 1px solid #8B7500; background: #fff; font: 15px Georgia, serif; color: #141419; box-sizing: border-box; }
a.adm-cg-go, button.adm-cg-go { display: block; text-align: center; padding: 14px 12px; background: #141419; color: #FAF7ED !important; text-decoration: none !important;
  font: 13px Georgia, serif; letter-spacing: .1em; text-transform: uppercase; border: 1px solid #141419; }
a.adm-cg-go:hover, button.adm-cg-go:hover { background: #8B7500; border-color: #8B7500; }
/* Formulaire « chez moi » : photo envoyee sur le site (Marc 07/11/2026) */
.adm-cg-form { margin: 0; }
.adm-cg-form .adm-cg-champ { display: block; margin: 0 0 12px; }
.adm-cg-form .adm-cg-champ > span { display: block; margin: 0 0 4px; font: 13px Georgia, serif; color: #3a3530; }
.adm-cg-form input[type=text], .adm-cg-form input[type=number] { width: 100%; padding: 10px; border: 1px solid #c9b98a; background: #fff; font: 15px Georgia, serif; color: #141419; box-sizing: border-box; }
.adm-cg-form input.adm-cg-court { width: 140px; }
.adm-cg-photo input.adm-cg-fichier { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.adm-cg-photo .adm-cg-choisir { display: inline-block; padding: 10px 16px; border: 1px dashed #8B7500; background: #fff; font: 14px Georgia, serif; color: #141419; cursor: pointer; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; box-sizing: border-box; }
.adm-cg-photo .adm-cg-apercu { display: none; max-width: 100%; max-height: 160px; margin-top: 8px; border: 1px solid #e3d9bd; }
.adm-cg-piege { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; }
.adm-cg-accord { display: flex; gap: 8px; align-items: flex-start; margin: 4px 0 12px; font: 13px/1.5 Georgia, serif; color: #3a3530; cursor: pointer; }
.adm-cg-accord input { margin-top: 3px; flex: none; }
.adm-cg-accord a { color: #8B7500; text-decoration: underline; }
.adm-cg-boite p.adm-cg-msg { min-height: 0; margin: 0 0 10px; font-size: 13px !important; line-height: 1.5 !important; }
.adm-cg-boite p.adm-cg-err { color: #a33a2a; }
button.adm-cg-go { width: 100%; cursor: pointer; }
button.adm-cg-go:disabled { opacity: .6; cursor: wait; }
a.adm-cg-ouwa { display: block; margin: 14px 0 0; text-align: center; font: 13px Georgia, serif; color: #141419 !important; text-decoration: underline !important; }
.adm-cg-boite p.adm-cg-merci { font-size: 15px !important; line-height: 1.6 !important; margin: 4px 0 14px; }
.adm-cg-boite p.adm-cg-compte { font-size: 13px !important; line-height: 1.55 !important; color: #3a3530; margin: 0 0 10px; }
a.adm-cg-compte-btn { background: transparent; color: #141419 !important; border-color: #8B7500; }
.adm-cg-boite p.adm-cg-confid { font-size: 13px !important; line-height: 1.55 !important; margin: 0 0 14px; padding: 10px 12px; background: #F3EEDF; border-left: 3px solid #8B7500; color: #3a3530; }
.adm-cg-form input[type=email] { width: 100%; padding: 10px; border: 1px solid #c9b98a; background: #fff; font: 15px Georgia, serif; color: #141419; box-sizing: border-box; }
/* Lien discret « Une question sur cette oeuvre ? » */
a.adm-cg-question { display: block; margin: 14px 0 0; padding-top: 12px; border-top: 1px solid rgba(139, 117, 0, .3); font: 13px Georgia, serif; text-decoration: underline !important; }
/* Pied de toutes les pages */
.adm-cg-pied { text-align: center; padding: 18px 16px 4px; }
.adm-cg-pied a { font: 14px Georgia, serif; letter-spacing: .04em; color: #C9A94A !important; text-decoration: underline !important; }
@media (max-width: 600px) {
  .adm-cg-boite { padding: 24px 18px 18px; }
  .adm-cg-titre { font-size: 18px; }
}
/* Piqure de rappel : mise en situation prete, pas encore vue (Marc 07/11/2026) */
.adm-cg-rappel { position: fixed; right: 20px; bottom: 20px; z-index: 99990; width: 340px; max-width: calc(100vw - 32px); box-sizing: border-box;
  padding: 16px 40px 16px 18px; background: #FAF7ED; border-left: 3px solid #8B7500; box-shadow: 0 6px 24px rgba(20, 20, 25, .18); font-family: Georgia, serif; color: #141419; }
.adm-cg-rappel p.adm-cg-rappel-texte { margin: 0 0 10px; font-size: 14px !important; line-height: 1.5 !important; }
.adm-cg-rappel a.adm-cg-rappel-lien { display: inline-block; padding: 8px 14px; background: #141419; color: #FAF7ED !important; text-decoration: none !important;
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.adm-cg-rappel a.adm-cg-rappel-lien:hover { background: #8B7500; }
.adm-cg-rappel-x { position: absolute; top: 6px; right: 8px; background: none; border: 0; font-size: 22px; line-height: 1; color: #141419; cursor: pointer; }
@media (max-width: 600px) { .adm-cg-rappel { right: 16px; left: 16px; bottom: 16px; width: auto; } }
