/* ===== BK Contact Form — Boomkartner ===== */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css');

.bk-cf-wrap {
    --bk-cf-sidebar: #1A3A6B;
    --bk-cf-accent:  #2A5FC8;
    --bk-cf-btn:     #1A3A6B;
    display: flex;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    font-family: inherit;
    box-shadow: 0 8px 40px rgba(13,27,42,0.15);
    max-width: 1000px;
    margin: 0 auto;
}

/* ── Sidebar ── */
.bk-cf-sidebar {
    flex: 0 0 280px;
    background: var(--bk-cf-sidebar);
    color: #fff;
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.bk-cf-sidebar-title {
    font-family: 'Barlow Condensed','Oswald',sans-serif;
    font-size: 17px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
    color: #fff;
}

/* Infos de contact */
.bk-cf-infos { display: flex; flex-direction: column; gap: 16px; }

.bk-cf-info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    text-decoration: none;
    transition: transform 0.2s;
}
a.bk-cf-info-item:hover {
    transform: translateX(3px);
}

.bk-cf-info-icon {
    width: 36px; height: 36px;
    background: rgba(42,95,200,0.25);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    font-size: 14px;
    color: #C0C8D8;
    transition: background 0.2s;
}
.bk-cf-info-item:hover .bk-cf-info-icon {
    background: var(--bk-cf-accent);
    color: #fff;
}

.bk-cf-info-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.bk-cf-info-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
}
.bk-cf-info-value {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    line-height: 1.3;
}

.bk-cf-sidebar-note {
    margin-top: auto;
    padding: 12px 14px;
    background: rgba(255,255,255,0.06);
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    font-size: 11px;
    color: rgba(255,255,255,0.5);
    line-height: 1.6;
    display: flex;
    gap: 8px;
    align-items: flex-start;
}
.bk-cf-sidebar-note i { margin-top: 2px; font-size: 12px; color: rgba(255,255,255,0.4); flex-shrink: 0; }

/* ── Main ── */
.bk-cf-main {
    flex: 1;
    padding: 40px 44px;
    display: flex;
    flex-direction: column;
}

.bk-cf-form-title {
    font-size: 22px;
    font-weight: 800;
    color: #0D1B2A;
    margin: 0 0 8px;
}

.bk-cf-form-subtitle {
    font-size: 14px;
    color: #666;
    margin: 0 0 32px;
    line-height: 1.6;
}
.bk-cf-form-subtitle strong { color: var(--bk-cf-accent); }

/* ── Fields ── */
.bk-cf-fields { display: flex; flex-direction: column; gap: 16px; }

.bk-cf-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.bk-cf-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.bk-cf-field--full { grid-column: 1 / -1; }

.bk-cf-field label {
    font-size: 11px;
    font-weight: 700;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bk-cf-field input,
.bk-cf-field select,
.bk-cf-field textarea {
    border: 2px solid #e0e8f4;
    border-radius: 8px;
    padding: 11px 14px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: inherit;
    width: 100%;
    box-sizing: border-box;
    color: #0D1B2A;
    background: #fff;
    resize: none;
    appearance: none;
    -webkit-appearance: none;
}
.bk-cf-field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 38px;
    cursor: pointer;
}
.bk-cf-field input:focus,
.bk-cf-field select:focus,
.bk-cf-field textarea:focus {
    border-color: var(--bk-cf-accent);
    box-shadow: 0 0 0 3px rgba(42,95,200,0.10);
}
.bk-cf-field input.bk-cf-error,
.bk-cf-field textarea.bk-cf-error {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231,76,60,0.10);
}

.bk-cf-req { color: var(--bk-cf-accent); margin-left: 2px; }

/* RGPD */
.bk-cf-rgpd {
    padding: 14px 16px;
    background: #f8f9ff;
    border: 1px solid #dce4f5;
    border-radius: 8px;
}
.bk-cf-rgpd-label {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    cursor: pointer;
}
.bk-cf-rgpd-label input[type="checkbox"] {
    width: 18px; height: 18px;
    min-width: 18px;
    margin-top: 2px;
    accent-color: var(--bk-cf-accent);
    cursor: pointer;
}
.bk-cf-rgpd-label span { font-size: 12px; color: #444; line-height: 1.6; }
.bk-cf-rgpd-error {
    margin-top: 8px;
    font-size: 12px;
    color: #c0392b;
    font-weight: 600;
    display: none;
}

/* Footer + bouton */
.bk-cf-footer { margin-top: 24px; }

.bk-cf-submit {
    background: var(--bk-cf-btn);
    color: #fff;
    border: none;
    padding: 14px 36px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    border-radius: 8px;
    letter-spacing: 0.5px;
    transition: opacity 0.2s, transform 0.2s;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.bk-cf-submit:hover   { opacity: 0.88; }
.bk-cf-submit:disabled { opacity: 0.4; cursor: not-allowed; }
.bk-cf-submit.loading { pointer-events: none; opacity: 0.7; }
.bk-cf-submit.loading::after {
    content: '';
    width: 14px; height: 14px;
    border: 2px solid rgba(255,255,255,0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: bkCfSpin 0.7s linear infinite;
    display: inline-block;
}
@keyframes bkCfSpin { to { transform: rotate(360deg); } }

/* Succès */
.bk-cf-success {
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    text-align: center;
    padding: 60px 20px;
}
.bk-cf-success-icon { font-size: 64px; }
.bk-cf-success h2   { font-size: 24px; color: #0D1B2A; margin: 0; }
.bk-cf-success p    { color: #555; font-size: 15px; max-width: 380px; margin: 0 auto; line-height: 1.7; }

/* ── RESPONSIVE ── */
@media (max-width: 800px) {
    .bk-cf-wrap { flex-direction: column; }
    .bk-cf-sidebar { padding: 22px 20px; }
    .bk-cf-sidebar-title { font-size: 14px; }
    .bk-cf-infos { flex-direction: row; flex-wrap: wrap; gap: 12px; }
    .bk-cf-info-item { flex: 0 0 calc(50% - 6px); }
    .bk-cf-sidebar-note { display: none; }
    .bk-cf-main { padding: 24px 20px; }
}
@media (max-width: 500px) {
    .bk-cf-row { grid-template-columns: 1fr; }
    .bk-cf-infos { flex-direction: column; }
    .bk-cf-info-item { flex: none; }
    .bk-cf-submit { width: 100%; justify-content: center; }
}
