
/* ==========================================================
   GJ FORMULAIRE — STYLES BLUELINE
   Police : Montserrat
   Couleur principale : #003366
   ========================================================== */

/* Importation de la police Montserrat */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');


/* ==========================================================
   1. FORMULAIRE GÉNÉRAL
   ========================================================== */

.bcm-form {
    width: 100%;
    max-width: 100%;
    color: #111;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif !important;
}

.bcm-form,
.bcm-form * {
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif !important;
}


/* ==========================================================
   2. ESPACEMENT DES CHAMPS
   ========================================================== */

.bcm-form .bcm-field {
    margin: 0 0 18px;
}


/* ==========================================================
   3. LABELS
   ========================================================== */

.bcm-form .bcm-field label {
    display: block;
    margin: 0 0 7px;
    color: #111;
    font-weight: 600;
    line-height: 1.35;
}

.bcm-form .bcm-field label span,
.bcm-form .bcm-consent strong {
    color: #e3342f;
}


/* ==========================================================
   4. CHAMPS DE SAISIE
   Nom, Prénom, Téléphone, Email, Liste déroulante
   et Message
   ========================================================== */

.bcm-form input[type="text"],
.bcm-form input[type="tel"],
.bcm-form input[type="email"],
.bcm-form select,
.bcm-form textarea {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 47px;
    margin: 0;
    padding: 12px;
    border: 1px solid #e5e5e5;
    border-radius: 0;
    background-color: #fafafa;
    color: #003366;
    font: inherit;
    box-shadow: none;
    box-sizing: border-box;
}


/* ==========================================================
   5. PLACEHOLDERS
   ========================================================== */

.bcm-form input::placeholder,
.bcm-form textarea::placeholder {
    color: #bdb7b7;
    opacity: 1;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif !important;
}


/* ==========================================================
   6. MENU DÉROULANT
   ========================================================== */

/* Texte affiché avant sélection */
.bcm-form select {
    color: #bdb7b7;
    font-weight: 600;
    cursor: pointer;
}

/* Options de la liste déroulante */
.bcm-form select option {
    color: #003366;
    background-color: #ffffff;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 500;
}

/* Option sélectionnée */
.bcm-form select:valid {
    color: #003366;
}


/* ==========================================================
   7. ZONE DE MESSAGE
   ========================================================== */

.bcm-form textarea {
    min-height: 150px;
    resize: vertical;
}


/* ==========================================================
   8. EFFETS AU FOCUS
   ========================================================== */

.bcm-form input:focus,
.bcm-form select:focus,
.bcm-form textarea:focus {
    outline: 2px solid rgba(0, 51, 102, .2);
    outline-offset: 1px;
    border-color: #003366;
}


/* ==========================================================
   9. CASE DE CONSENTEMENT
   ========================================================== */

.bcm-form .bcm-consent {
    margin: 3px 0 18px;
}

.bcm-form .bcm-consent label {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-weight: 600;
    line-height: 1.5;
    cursor: pointer;
}

.bcm-form .bcm-consent input {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    margin: 2px 0 0;
}


/* ==========================================================
   10. BOUTON ENVOYER
   ========================================================== */

.bcm-form .bcm-submit {
    text-align: center;
}

.bcm-form .bcm-submit button {
    min-width: 105px;
    padding: 9px 20px;
    border: 0;
    border-radius: 7px;
    background: #ffffff;
    color: #003366;
    font: inherit;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .28);
    transition: background-color .2s ease, color .2s ease;
}

/* Survol du bouton */
.bcm-form .bcm-submit button:hover {
    background: #cc0033;
    color: #ffffff;
}

/* Focus clavier */
.bcm-form .bcm-submit button:focus-visible {
    outline: 2px solid #003366;
    outline-offset: 3px;
}


/* ==========================================================
   11. NOTIFICATIONS
   ========================================================== */

.bcm-notice {
    margin: 0 0 16px;
    padding: 12px 14px;
    border: 1px solid transparent;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif !important;
}

/* Message de succès */
.bcm-success {
    border-color: #b7dfc2;
    background: #f0faf2;
    color: #176b2c;
}

/* Message d'erreur */
.bcm-error {
    border-color: #efc2c2;
    background: #fff5f5;
    color: #9c2424;
}


/* ==========================================================
   12. CHAMP ANTI-SPAM INVISIBLE
   ========================================================== */

.bcm-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}


/* ==========================================================
   13. RESPONSIVE — MOBILE
   ========================================================== */

@media (max-width: 600px) {

    .bcm-form .bcm-field {
        margin-bottom: 16px;
    }

    .bcm-form textarea {
        min-height: 140px;
    }

}
