/* ================= Offert page form normalization ================ */
.page-offert .ct-form{--i-border:#e5e7eb;--i-focus:#D50069;--i-bg:#fff;--i-text:#111}
.page-offert .ct-form input[type=text],
.page-offert .ct-form input[type=email],
.page-offert .ct-form input[type=tel],
.page-offert .ct-form input[type=number],
.page-offert .ct-form input[type=url],
.page-offert .ct-form input[type=search],
.page-offert .ct-form select,
.page-offert .ct-form textarea{
  appearance:none;width:100%;background:var(--i-bg);color:var(--i-text);
  border:1px solid var(--i-border) !important;border-radius:10px !important;padding:12px 14px;box-shadow:0 1px 0 rgba(0,0,0,.02)
}
.page-offert .ct-form select{padding-right:34px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' viewBox='0 0 24 24'%3E%3Cpath fill='%23999' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center;background-size:18px}
.page-offert .ct-form input:focus,
.page-offert .ct-form select:focus,
.page-offert .ct-form textarea:focus{outline:2px solid transparent;border-color:var(--i-focus) !important;box-shadow:0 0 0 4px rgba(213,0,105,.15)}
.page-offert .ct-form fieldset{border:0;padding:0;margin:0}
.page-offert .ct-form label{display:block;font-weight:600;margin:10px 0 6px}
.page-offert .ct-form .field,.page-offert .ct-form .form-row{margin-bottom:14px}
.page-offert .ct-form input[type=checkbox],
.page-offert .ct-form input[type=radio]{margin-right:8px;accent-color:#D50069}

/* Buttons – primary (pink) */
.page-offert .ct-form a.button,
.page-offert .ct-form a.btn,
.page-offert .ct-form .button,
.page-offert .ct-form .btn,
.page-offert .ct-form button,
.page-offert .ct-form input[type=submit]{
  background-color:#D50069 !important;color:#fff !important;border:0 !important;border-radius:10px !important;padding:12px 20px !important;font-weight:600 !important;box-shadow:0 6px 12px rgba(213,0,105,.25) !important
}
.page-offert .ct-form a.button:hover,
.page-offert .ct-form a.btn:hover,
.page-offert .ct-form .button:hover,
.page-offert .ct-form .btn:hover,
.page-offert .ct-form button:hover,
.page-offert .ct-form input[type=submit]:hover{background-color:#b00050 !important}
.page-offert .ct-form a.button:focus,
.page-offert .ct-form a.btn:focus,
.page-offert .ct-form .button:focus,
.page-offert .ct-form .btn:focus,
.page-offert .ct-form button:focus,
.page-offert .ct-form input[type=submit]:focus{outline:2px solid transparent !important;box-shadow:0 0 0 4px rgba(213,0,105,.25) !important}

/* Secondary (previous) */
.page-offert .ct-form .btn-secondary,
.page-offert .ct-form .button.secondary,
.page-offert .ct-form .button--secondary,
.page-offert .ct-form .prev,
.page-offert .ct-form .previous{
  background:#fff !important;color:#222753 !important;border:1px solid #d1d5db !important;box-shadow:none !important
}
.page-offert .ct-form .btn-secondary:hover,
.page-offert .ct-form .button.secondary:hover,
.page-offert .ct-form .button--secondary:hover,
.page-offert .ct-form .prev:hover,
.page-offert .ct-form .previous:hover{background:#f3f4f6 !important}

/* Button group spacing */
.page-offert .ct-form .form-actions,
.page-offert .ct-form .buttons,
.page-offert .ct-form .actions,
.page-offert .ct-form .navigation,
.page-offert .ct-form .form-navigation,
.page-offert .ct-form .nav{display:flex;gap:12px;flex-wrap:wrap;margin-top:16px}

/* Heuristic: treat first button as previous/secondary when no specific class is present */
.page-offert .ct-form .actions > a:first-child,
.page-offert .ct-form .actions > button:first-child,
.page-offert .ct-form .actions > input[type=submit]:first-child,
.page-offert .ct-form .navigation > a:first-child,
.page-offert .ct-form .navigation > button:first-child,
.page-offert .ct-form .navigation > input[type=submit]:first-child{
  background:#fff !important;color:#222753 !important;border:1px solid #d1d5db !important;box-shadow:none !important
}

