/* ===============================
   FORMULAIRE COMMUN BATICAD 3D
================================ */

.bc-contact-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}


.bc-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.bc-contact-form input,
.bc-contact-form select,
.bc-contact-form textarea {
    width: 100%;
    min-height: 54px;
    padding: 15px 17px;

    border: 1px solid #dbe3ef;
    border-radius: 14px;

    background: #ffffff;
    color: #0c1b32;

    font-size: 15px;
    font-family: inherit;

    box-sizing: border-box;
    transition: 0.22s ease;
}

.bc-contact-form textarea {
    min-height: 140px;
    resize: vertical;
    line-height: 1.6;
}

.bc-contact-form input:focus,
.bc-contact-form select:focus,
.bc-contact-form textarea:focus {
    outline: none;
    border-color: #a3e635;
    box-shadow: 0 0 0 4px rgba(163,230,53,0.16);
}

.bc-contact-form input::placeholder,
.bc-contact-form textarea::placeholder {
    color: #94a3b8;
}


.bc-contact-form input[name="website"] {
    display: none !important;
}

.bc-contact-form button {
    min-height: 56px;
    padding: 16px 26px;

    border: none;
    border-radius: 999px;

    background: #a3e635;
    color: #0c1b32;

    font-size: 16px;
    font-weight: 900;

    cursor: pointer;
    transition: 0.25s ease;
}

.bc-contact-form button:hover {
    background: #8fd12c;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(163,230,53,0.35);
}

.bc-contact-trust {
    margin: -2px 0 0;
    text-align: center;
    color: #64748b;
    font-size: 14px;
}

.bc-hp {
    display: none !important;
}

.bc-autocomplete-wrap {
    position: relative;
}

.bc-suggestions {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 6px);

    background: #ffffff;
    border: 1px solid #dbe3ef;
    border-radius: 12px;

    box-shadow: 0 15px 35px rgba(12,27,50,0.15);

    z-index: 999999;
    max-height: 220px;
    overflow-y: auto;
}

.bc-suggestion-item {
    padding: 12px 14px;
    cursor: pointer;
    color: #0c1b32;
    font-size: 14px;
    font-weight: 600;
}

.bc-suggestion-item:hover {
    background: #f1f5f9;
}

/* ===============================
   POPUP CONTACT
================================ */

.bc-popup-overlay {
    position: fixed;
    inset: 0;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 30px 20px;
    overflow-y: auto;

    background: rgba(12, 27, 50, 0.72);
    z-index: 999999;
}

.bc-popup-overlay.active {
    display: flex !important;
}

.bc-popup {
    position: relative;

    width: 100%;
    max-width: 620px;
    max-height: 92vh;

    overflow-y: auto;
    overflow-x: hidden;

    padding: 42px 42px 36px;

    background: #ffffff;
    border-radius: 24px;

    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
    box-sizing: border-box;
}

.bc-popup h2 {
    margin: 0 0 14px;

    color: #0c1b32;
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    line-height: 1.15;
}

.bc-popup p {
    margin-bottom: 24px;

    color: #475569;
    font-size: 1rem;
    line-height: 1.6;
}

.bc-popup-close {
    position: absolute;
    top: 14px;
    right: 18px;

    width: 42px;
    height: 42px;

    border: none;
    border-radius: 12px;

    background: #ffffff;
    color: #0c1b32;

    font-size: 32px;
    line-height: 1;

    cursor: pointer;
    box-shadow: 0 8px 24px rgba(12, 27, 50, 0.08);
}

/* ===============================
   PAGE CONTACT
================================ */

.bc-contact-section {
    padding: 90px 20px;
    background: #f8fafc;
}

.bc-contact-container {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
}

.bc-contact-intro {
    max-width: 720px;
    margin: 0 auto 34px;
    text-align: center;
}

.bc-contact-intro span {
    display: inline-block;
    margin-bottom: 12px;

    color: #a3e635;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.bc-contact-intro h2 {
    margin: 0 0 16px;

    color: #0c1b32;
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.1;
}

.bc-contact-intro p {
    margin: 0;

    color: #475569;
    font-size: 1.05rem;
    line-height: 1.7;
}

.bc-contact-card {
    padding: 42px;

    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 28px;

    box-shadow: 0 25px 60px rgba(12, 27, 50, 0.08);
}

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 768px) {

    .bc-form-grid {
        grid-template-columns: 1fr;
    }

    .bc-contact-form {
        gap: 13px;
    }

    .bc-contact-form input,
    .bc-contact-form select,
    .bc-contact-form textarea {
        min-height: 52px;
        padding: 14px 15px;
    }

    .bc-popup {
        max-height: 88vh;
        padding: 32px 22px 26px;
    }

    .bc-popup h2 {
        padding-right: 42px;
    }

    .bc-contact-section {
        padding: 60px 16px;
    }

    .bc-contact-card {
        padding: 26px 20px;
        border-radius: 22px;
    }
}

.bc-success-overlay {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(12,27,50,0.72);
    z-index: 9999999;
}

.bc-success-overlay.active {
    display: flex !important;
}

.bc-success-popup {
    position: relative;
    width: 100%;
    max-width: 460px;
    padding: 42px 32px;
    text-align: center;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.25);
}

.bc-success-close {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 12px;
    background: #ffffff;
    color: #0c1b32;
    font-size: 30px;
    cursor: pointer;
}

.bc-success-icon {
    width: 82px;
    height: 82px;
    margin: 0 auto 22px;
    border-radius: 50%;
    background: #a3e635;
    color: #0c1b32;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    font-weight: 900;
}

.bc-success-popup h2 {
    margin: 0 0 12px;
    color: #0c1b32;
    font-size: 2rem;
}

.bc-success-popup p {
    margin: 0;
    color: #475569;
    line-height: 1.7;
}
