/* Fluent Forms aux couleurs de la V5 (champs, choix, bouton, messages). Source : build/wp/theme/fluentforms.css
   Un formulaire posé seul dans une page devient une carte blanche ; dans un bloc « .form » de la V5, il s'y fond. */
body .fluentform{font-family:var(--f-body,Manrope,sans-serif);color:var(--ink,#0a1430);background:var(--paper,#fff);border-radius:5px;padding:clamp(22px,3.5vw,40px);box-shadow:0 30px 60px -40px rgba(10,30,70,.45);max-width:760px}
body .form .fluentform,body .wb-ff .fluentform{background:none;padding:0;box-shadow:none;max-width:none}
body .wb-ff{background:var(--paper,#fff);border-radius:5px;padding:clamp(22px,3.5vw,40px);box-shadow:0 30px 60px -40px rgba(10,30,70,.45)}
body .fluentform .ff-el-group{margin-bottom:18px}
body .fluentform .ff-t-container{gap:14px}
body .fluentform .ff-t-cell .ff-el-group{margin-bottom:18px}
/* étiquettes */
body .fluentform .ff-el-input--label{margin-bottom:7px}
body .fluentform .ff-el-input--label label{font:700 .9rem/1.3 var(--f-body,Manrope,sans-serif);color:var(--ink,#0a1430)}
body .fluentform .ff-el-is-required.asterisk-right label:after,body .fluentform .ff-el-is-required.asterisk-left label:before{color:var(--blue,#0a7fca)!important}
body .fluentform .ff-el-help-message{font-size:.82rem;color:var(--ink-2,#4a5878);font-style:normal}
/* champs */
body .fluentform .ff-el-form-control{font:500 1rem/1.4 var(--f-body,Manrope,sans-serif);color:var(--ink,#0a1430);background:var(--ice,#eaf5fa);border:1.5px solid transparent;border-radius:5px;padding:14px 16px;box-shadow:none;transition:border-color .2s,background .2s;color-scheme:light}
body .fluentform .ff-el-form-control::placeholder{color:#8a97ad;opacity:1}
body .fluentform .ff-el-form-control:focus{outline:none;border-color:var(--cyan,#22c7ea);background:#fff;box-shadow:none}
body .fluentform textarea.ff-el-form-control{min-height:96px;resize:vertical}
body .fluentform select.ff-el-form-control{appearance:auto}
/* titres de section */
body .fluentform .ff-el-section-break{margin:12px 0 22px;padding-top:16px;border-top:1px solid var(--line-l,#cfe1ea)}
body .fluentform .ff-el-section-break hr{display:none}
body .fluentform .ff-el-section-title{font:800 1.3rem/1.1 var(--f-display,"Barlow Condensed",sans-serif);text-transform:uppercase;letter-spacing:.01em;color:var(--ink,#0a1430);margin:0}
body .fluentform .ff-section_break_desk{color:var(--ink-2,#4a5878);font-size:.92rem}
/* choix (boutons radio et cases) : cartes cliquables comme dans la V5 */
body .fluentform .ff-el-input--content .ff-el-form-check{display:inline-block;margin:0 10px 10px 0}
body .fluentform .ff-el-form-check-label{display:inline-flex;align-items:center;gap:10px;padding:13px 16px;border-radius:5px;box-shadow:inset 0 0 0 1.5px var(--line-l,#cfe1ea);font-weight:700;cursor:pointer;transition:box-shadow .2s,background .2s;background:#fff}
body .fluentform .ff-el-form-check-label:hover{box-shadow:inset 0 0 0 1.5px var(--cyan,#22c7ea)}
body .fluentform .ff-el-form-check-input{accent-color:var(--blue,#0a7fca);width:18px;height:18px;margin:0}
body .fluentform .ff-el-form-check:has(input:checked) .ff-el-form-check-label{box-shadow:inset 0 0 0 2px var(--cyan,#22c7ea);background:#effbfe}
/* note « vos fichiers » et autres blocs HTML */
body .fluentform .wb-ff-files{margin:0;background:#fff8d6;border-left:4px solid var(--lime,#FFE84D);padding:12px 16px;border-radius:0 5px 5px 0;font-size:.92rem;line-height:1.5}
/* bouton d'envoi : comme les boutons principaux de la V5 */
body .fluentform .ff-btn-submit,body .fluentform .ff_submit_btn_wrapper .ff-btn{background:var(--cyan,#22c7ea)!important;color:var(--night,#101f44)!important;border:0!important;border-radius:999px!important;padding:16px 26px!important;font:700 1rem/1 var(--f-body,Manrope,sans-serif)!important;box-shadow:0 10px 30px -10px rgba(34,199,234,.7);transition:transform .35s var(--ease,cubic-bezier(.22,1,.36,1)),box-shadow .35s;opacity:1!important}
body .fluentform .ff-btn-submit:hover{transform:translateY(-2px);box-shadow:0 16px 34px -12px rgba(34,199,234,.8)}
body .fluentform .ff-btn-submit:disabled{opacity:.6!important}
/* erreurs et confirmation */
body .fluentform .error.text-danger,body .fluentform .ff-el-is-error .text-danger{color:#c8325a;font-size:.82rem;margin-top:6px}
body .fluentform .ff-el-is-error .ff-el-form-control{border-color:#e58aa3;background:#fff6f8}
body .ff-message-success{background:#effbfe;border:0;border-left:4px solid var(--cyan,#22c7ea);border-radius:5px;padding:20px 22px;box-shadow:none;color:var(--ink,#0a1430);font-size:1rem}
body .ff-errors-in-stack{color:#c8325a}
/* page Mariage : couleurs de la page (variables redéfinies sur body.mariage) */
body.mariage .fluentform .ff-el-form-control{background:#fbf6ee}
body.mariage .fluentform .ff-el-form-check:has(input:checked) .ff-el-form-check-label{background:#fbf3e4}
@media (max-width:640px){body .fluentform .ff-t-container{display:block}}
