/* BTP Contact — formulaire (reprend la couleur du thème BTP Manager si elle existe) */
.btpct { --c-accent: var(--t-accent, #e8590c); --c-ink: #1b1f24; --c-muted: #6b7280; --c-line: #d1d5db; max-width: 760px; margin: 0 auto; font-size: 16px; color: var(--c-ink); }
.btpct *, .btpct *::before, .btpct *::after { box-sizing: border-box; }
.btpct-title { margin: 0 0 18px; }
.btpct-form { padding: 28px; border: 1px solid #e5e7eb; border-radius: 20px; background: #fff; box-shadow: 0 24px 50px -36px rgba(15, 23, 42, .45); }
.btpct-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.btpct-grid label { display: flex; flex-direction: column; gap: 6px; margin: 0; font-weight: 600; font-size: 14.5px; }
.btpct-grid .btpct-full { grid-column: 1 / -1; }
.btpct label b, .btpct-note b { color: var(--c-accent); font-weight: 700; }
.btpct input[type=text], .btpct input[type=email], .btpct input[type=tel], .btpct select, .btpct textarea {
    width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid var(--c-line); border-radius: 12px; background: #fff; color: var(--c-ink); font: inherit; font-size: 16px; font-weight: 400; box-shadow: none;
}
.btpct textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
.btpct input:focus, .btpct select:focus, .btpct textarea:focus { outline: none; border-color: var(--c-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-accent) 18%, transparent); }
.btpct .has-err input, .btpct .has-err textarea { border-color: #dc2626; background: #fef2f2; }
.btpct-err { color: #b91c1c; font-size: 13.5px; font-weight: 600; }
.btpct-check { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0 4px; font-size: 14.5px; font-weight: 500; color: #4b5563; cursor: pointer; }
.btpct-check input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--c-accent); }
.btpct-check.has-err span { color: #b91c1c; }
.btpct-check a { color: var(--c-accent); }
.btpct-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; margin-top: 18px; padding: 13px 28px; border: 0; border-radius: 13px; background: var(--c-accent); color: #fff; font: inherit; font-size: 16.5px; font-weight: 700; cursor: pointer; transition: filter .15s, transform .08s; }
.btpct-btn:hover { filter: brightness(.92); }
.btpct-btn:active { transform: translateY(1px); }
.btpct-note { margin: 12px 0 0; color: var(--c-muted); font-size: 13px; }
.btpct-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btpct-alert { margin-bottom: 16px; padding: 12px 16px; border: 1px solid #fecaca; border-radius: 12px; background: #fef2f2; color: #991b1b; font-weight: 600; }
.btpct-ok { display: flex; gap: 14px; align-items: flex-start; padding: 22px 24px; border: 1px solid #bbf7d0; border-radius: 18px; background: #f0fdf4; color: #14532d; }
.btpct-ok svg { flex: none; color: #16a34a; }
.btpct-ok strong { display: block; font-size: 18px; margin-bottom: 4px; }
.btpct-ok p { margin: 0; }
@media (max-width: 640px) {
    .btpct-form { padding: 20px 16px; border-radius: 16px; }
    .btpct-grid { grid-template-columns: 1fr; }
    .btpct-btn { width: 100%; }
}
/* Menu déroulant blanc */
.btpct select { -webkit-appearance: none; appearance: none; padding-right: 42px; cursor: pointer;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; }
.btpct-sel { position: relative; }
.btpct-sel-hit { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; background: transparent; opacity: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.btpct-sel.is-open select { border-color: var(--c-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-accent) 18%, transparent); }
.btpct-pop { position: fixed; z-index: 100000; overflow-y: auto; overscroll-behavior: contain; padding: 6px; background: #fff; border: 1px solid #e5e7eb; border-radius: 14px;
    box-shadow: 0 18px 40px -14px rgba(15, 23, 42, .35), 0 2px 6px rgba(15, 23, 42, .06); animation: btpct-pop .12s ease-out; font-family: inherit; }
@keyframes btpct-pop { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.btpct-pop button { display: block; width: 100%; min-height: 46px; padding: 11px 14px; border: 0; border-radius: 10px; background: transparent; color: #1b1f24; font: inherit; font-size: 16px; text-align: left; cursor: pointer; }
.btpct-pop button:hover { background: #f3f4f6; }
.btpct-pop button.is-on { background: color-mix(in srgb, var(--t-accent, #e8590c) 10%, #fff); color: var(--t-accent, #e8590c); font-weight: 700; }
