/* ============================================================
   FramIQ Pro · formulaire « Demander une démo » (29/10/2026)
   Dans le grand bloc bleu nuit (#demo). Chargé par les pages qui
   ont le formulaire seulement, pour ne pas toucher pro.css.
   ============================================================ */
.demo-form{max-width:680px;margin:clamp(30px,3.6vw,44px) auto 0;text-align:left;}
.demo-form .df-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px 18px;}
.demo-form .df-full{grid-column:1/-1;}
.demo-form label{display:block;font-size:13px;font-weight:500;color:rgba(255,255,255,.72);margin:0 0 7px;}
.demo-form label .df-opt{color:rgba(255,255,255,.45);font-weight:400;}
.demo-form input,.demo-form select,.demo-form textarea{
  width:100%;box-sizing:border-box;font:inherit;font-size:16px;color:#fff;
  background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.18);border-radius:12px;
  padding:13px 14px;transition:border-color .18s var(--ease),background .18s var(--ease);
}
.demo-form textarea{min-height:110px;resize:vertical;line-height:1.5;}
.demo-form select{appearance:none;-webkit-appearance:none;padding-right:38px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23ffffff' stroke-opacity='.7' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 14px center;}
.demo-form select option{color:var(--ink);background:#fff;}
.demo-form ::placeholder{color:rgba(255,255,255,.38);}
.demo-form input:hover,.demo-form select:hover,.demo-form textarea:hover{border-color:rgba(255,255,255,.32);}
.demo-form input:focus,.demo-form select:focus,.demo-form textarea:focus{outline:none;border-color:#7FB0E8;background:rgba(255,255,255,.09);}
.demo-form [aria-invalid="true"]{border-color:#F2A7A7;}
.demo-form .df-actions{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-top:26px;}
.demo-form .btn-light{background:#fff;color:var(--navy);box-shadow:0 12px 30px -12px rgba(0,0,0,.5);}
.demo-form .btn-light:hover{background:#EAF1FA;transform:translateY(-1px);}
.demo-form .btn[disabled]{opacity:.6;cursor:progress;transform:none;}
.demo-form .df-status{margin:0;font-size:15px;color:#fff;max-width:none;}
.demo-form .df-status:empty{display:none;}
.demo-form .df-status.is-error{color:#F6C1C1;}
.cta .demo-form .df-note{margin:20px 0 0;font-size:13px;line-height:1.6;color:rgba(255,255,255,.5);max-width:none;}
.demo-form .df-note a{color:rgba(255,255,255,.8);text-underline-offset:3px;}
.demo-form .df-trap{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden;}
.demo-form.is-sent .df-grid,.demo-form.is-sent .df-actions .btn,.demo-form.is-sent .df-note{display:none;}
.demo-form.is-sent .df-status{font-size:clamp(17px,1.8vw,20px);}
@media(max-width:640px){.demo-form .df-grid{grid-template-columns:1fr;}}
#demo{scroll-margin-top:72px;}
