/* ====== FCS Form (Contact Flying) ====== */
:root{
    --fcs-primary: #1e40af;   /* bleu FCS sobre */
    --fcs-primary-700:#172554;
    --fcs-accent:  #0ea5e9;
    --fcs-text:    #0f172a;
    --fcs-bg:      #ffffff;
    --fcs-muted:   #64748b;
    --fcs-border:  #e2e8f0;
    --fcs-shadow:  0 6px 28px rgba(2, 6, 23, .08);
}

/* Carte/form container */
.form-contact-flying{
    max-width: 880px;
    margin: clamp(24px,4vw,56px) auto;
    background: var(--fcs-bg);
    border: 1px solid var(--fcs-border);
    border-radius: 20px;
    box-shadow: var(--fcs-shadow);
    padding: clamp(16px, 3.5vw, 40px);
    color: var(--fcs-text);
}

/* Gestion des espacements entre colonnes/rows */
.form-contact-flying .row{
    row-gap: 16px;
}

/* Groupes */
.form-contact-flying .form-group{
    margin-bottom: 10px; /* on garde un rythme compact, row-gap gère le reste */
}

/* Champs */
.form-contact-flying .form-control{
    height: 48px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--fcs-border);
    background: #fff;
    color: var(--fcs-text);
    box-shadow: none;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.form-contact-flying .form-control::placeholder{
    color: var(--fcs-muted);
    opacity: .9;
}

/* Textarea */
.form-contact-flying textarea.form-control{
    min-height: 140px;
    height: auto;
    line-height: 1.45;
    resize: vertical;
    padding-top: 12px;
    padding-bottom: 12px;
}

/* Focus states */
.form-contact-flying .form-control:focus{
    border-color: var(--fcs-primary);
    box-shadow: 0 0 0 .25rem rgba(30, 64, 175, .15);
    background: #fff;
    outline: 0;
}

/* États de validation natifs (HTML5) */
.form-contact-flying .form-control:invalid:not(:placeholder-shown){
    border-color: #dc3545; /* danger */
}
.form-contact-flying .form-control:valid{
    border-color: #198754; /* success */
}

/* Bouton principal */
.button-fcs{
    --btn-padding-y: 14px;
    --btn-padding-x: 28px;
    --btn-radius: 9999px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: var(--btn-padding-y) var(--btn-padding-x);
    border-radius: var(--btn-radius);
    border: none;
    background: var(--fcs-primary);
    color: #fff !important;
    font-weight: 600;
    letter-spacing: .2px;
    line-height: 1;
    box-shadow: 0 6px 16px rgba(30, 64, 175, .25);
    transition: transform .12s ease, box-shadow .2s ease, background-color .2s ease;
    text-decoration: none;
}

.button-fcs.button-lg .font-12{ font-size: 15px; } /* corrige la taille "font-12" */

.button-fcs:hover,
.button-fcs:focus{
    background: var(--fcs-primary-700);
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(23, 37, 84, .32);
}

.button-fcs:active{
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(23, 37, 84, .28);
}

/* Neutraliser la double teinte Bootstrap quand .btn-success est présent */
.button-fcs.btn-success{
    background: var(--fcs-primary) !important;
    border-color: var(--fcs-primary) !important;
}

/* Utilitaire hérité dans le markup */
.m-b15{ margin-bottom: 15px !important; }

/* Centrage de la zone CTA */
.form-contact-flying .text-center{
    margin-top: 8px;
}

/* Champ honeypot (anti-spam) : le garder accessible aux lecteurs d’écran */
.form-contact-flying input.email{
    position: absolute !important;
    left: -10000px !important;
    width: 1px; height: 1px;
    overflow: hidden;
}

/* État disabled / readonly */
.form-contact-flying .form-control:disabled,
.form-contact-flying .form-control[readonly]{
    background-color: #f1f5f9;
    color: #475569;
}

/* Petites améliorations responsive */
@media (max-width: 575.98px){
    .form-contact-flying{
        border-radius: 16px;
    }
    .button-fcs{
        width: 100%;
    }
}

/* Optionnel : légère animation d’apparition */
@media (prefers-reduced-motion: no-preference){
    .form-contact-flying{
        animation: fcsFadeIn .25s ease-out both;
    }
    @keyframes fcsFadeIn{
        from{ opacity: 0; transform: translateY(6px); }
        to{ opacity: 1; transform: translateY(0); }
    }
}


.mt-30{
    margin-top: 30px;
}

.mr-30{
    margin-right: 30px;
}

.ml-30{
    margin-left: 30px;
}

.mr-10{
    margin-right: 10px;
}
