/* ===========================================================
   BJL · Contact
   =========================================================== */
.bjl-c{
    --bjl-accent:#ff6301;
    --bjl-primary:#1f1e8f;
    display:grid;
    grid-template-columns:1fr 1.2fr;
    gap:40px;
    align-items:stretch;
}
.bjl-c-map{ grid-column:1 / -1; order:3; }

/* Position du bloc infos (gauche par défaut) */
.bjl-c-info-left .bjl-c-info{ order:1; }
.bjl-c-info-left .bjl-c-form{ order:2; }
.bjl-c-info-right .bjl-c-info{ order:2; }
.bjl-c-info-right .bjl-c-form{ order:1; }
/* Sur la version "infos à droite", on inverse aussi le ratio des colonnes */
.bjl-c-info-right{ grid-template-columns:1.2fr 1fr; }

/* ---- Bloc infos ---- */
.bjl-c-info{
    background:linear-gradient(145deg, #1f1e8f, #36359e);
    border-radius:18px;
    padding:38px 32px;
    color:#fff;
    position:relative;
    overflow:hidden;
    display:flex;
    flex-direction:column;
}
.bjl-c-info::before{
    content:"";
    position:absolute;
    right:-60px; top:-60px;
    width:200px; height:200px;
    border-radius:50%;
    background:rgba(255,255,255,0.06);
}
.bjl-c-info-title{
    color:#fff;
    font-size:1.6rem;
    font-weight:800;
    margin:0 0 12px;
    position:relative;
}
.bjl-c-info-sub{
    color:rgba(255,255,255,0.9);
    font-size:1rem;
    line-height:1.6;
    margin:0 0 26px;
    position:relative;
}
.bjl-c-items{ list-style:none; margin:0 0 26px; padding:0; position:relative; }
.bjl-c-item{
    display:flex;
    align-items:flex-start;
    gap:14px;
    padding:14px 0;
    border-bottom:1px solid rgba(255,255,255,0.12);
}
.bjl-c-item:last-child{ border-bottom:none; }
.bjl-c-item-ic{
    flex:0 0 auto;
    width:46px; height:46px;
    display:flex; align-items:center; justify-content:center;
    border-radius:12px;
    background:rgba(255,255,255,0.14);
    color:#fff;
}
.bjl-c-item-lbl{
    display:block;
    font-size:.78rem;
    text-transform:uppercase;
    letter-spacing:.08em;
    opacity:.7;
    margin-bottom:3px;
}
.bjl-c-item-val{
    display:block;
    color:rgba(255,255,255,0.95);
    font-weight:600;
    font-size:1.02rem;
    text-decoration:none;
    line-height:1.4;
}
a.bjl-c-item-val:hover{ color:var(--bjl-accent); }

.bjl-c-hours{ position:relative; color:rgba(255,255,255,0.9); }
.bjl-c-hours-title{
    display:block;
    font-size:.78rem;
    text-transform:uppercase;
    letter-spacing:.08em;
    opacity:.7;
    margin-bottom:10px;
}
.bjl-c-hours-row{
    display:flex;
    justify-content:space-between;
    gap:16px;
    padding:7px 0;
    font-size:.95rem;
    border-bottom:1px dashed rgba(255,255,255,0.14);
}
.bjl-c-hours-row:last-child{ border-bottom:none; }
.bjl-c-hours-row span:last-child{ font-weight:600; }

/* Atouts / réassurance (comble l'espace vide en bas) */
.bjl-c-atouts{
    margin-top:auto;
    padding-top:28px;
    display:flex;
    flex-direction:column;
    gap:14px;
}
.bjl-c-atout{
    display:flex;
    align-items:center;
    gap:14px;
    padding:14px 18px;
    border-radius:12px;
    background:rgba(255,255,255,0.08);
    border:1px solid rgba(255,255,255,0.12);
}
.bjl-c-atout-ic{
    flex-shrink:0;
    width:42px; height:42px;
    display:flex; align-items:center; justify-content:center;
    border-radius:50%;
    background:#ff6301;
    color:#fff;
    font-size:18px;
}
.bjl-c-atout-ic svg{ width:18px; height:18px; fill:#fff; }
.bjl-c-atout-label{ font-size:1rem; font-weight:600; color:#fff; line-height:1.3; }

/* ---- Formulaire ---- */
.bjl-c-form{
    background:#fff;
    border-radius:18px;
    padding:38px 32px;
}
.bjl-c-form-title{
    color:var(--bjl-primary);
    font-size:1.5rem;
    font-weight:800;
    margin:0 0 22px;
}
.bjl-c-formel{ display:flex; flex-direction:column; gap:18px; }
.bjl-c-row{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }

/* Champ avec label au-dessus */
.bjl-c-fld{ position:relative; display:flex; flex-direction:column; gap:7px; }
.bjl-c-lbl{
    font-size:12px;
    font-weight:700;
    letter-spacing:.04em;
    text-transform:uppercase;
    color:var(--bjl-primary);
}
.bjl-c-field{
    width:100%;
    height:54px;
    padding:0 16px;
    background:#f5f6fa;
    border:1.5px solid #e3e6ee;
    border-radius:12px;
    font-size:15px;
    line-height:54px;
    color:#2a3140;
    font-family:inherit;
    transition:border-color .25s ease, box-shadow .25s ease, background .25s ease;
    box-sizing:border-box;
    appearance:none;
    -webkit-appearance:none;
}
.bjl-c-field::placeholder{ color:#9aa3b2; }
.bjl-c-field:focus{
    outline:none;
    border-color:var(--bjl-accent);
    background:#fff;
    box-shadow:0 0 0 4px rgba(255,99,1,0.10);
}
textarea.bjl-c-field{ height:auto; min-height:130px; padding:14px 16px; line-height:1.5; resize:vertical; }
/* Select : flèche custom */
.bjl-c-fld-select{ position:relative; }
.bjl-c-fld-select::after{
    content:"";
    position:absolute;
    right:18px; bottom:21px;
    width:9px; height:9px;
    border-right:2px solid #9aa3b2;
    border-bottom:2px solid #9aa3b2;
    transform:rotate(45deg);
    pointer-events:none;
}
select.bjl-c-field{ height:54px; line-height:54px; cursor:pointer; padding-right:40px; color:#2a3140; }
select.bjl-c-field:invalid{ color:#9aa3b2; }

.bjl-c-hp{ position:absolute !important; left:-9999px !important; width:1px; height:1px; opacity:0; }

.bjl-c-rgpd{
    display:flex;
    align-items:flex-start;
    gap:9px;
    font-size:.82rem;
    color:#6b7484;
    line-height:1.45;
}
.bjl-c-rgpd input{ margin-top:3px; flex:0 0 auto; accent-color:var(--bjl-accent); }
.bjl-c-rgpd a{ color:var(--bjl-accent); font-weight:600; text-decoration:underline; }

.bjl-c-submit{
    margin-top:4px;
    padding:16px 32px;
    border:none;
    border-radius:10px;
    background:linear-gradient(135deg, #ff6301, #ff8a3d);
    color:#fff;
    font-size:15px;
    font-weight:700;
    cursor:pointer;
    transition:transform .25s ease, box-shadow .3s ease, opacity .2s ease;
    box-shadow:0 10px 26px rgba(255,99,1,0.3);
}
.bjl-c-submit:hover{ transform:translateY(-2px); box-shadow:0 14px 32px rgba(255,99,1,0.4); }
.bjl-c-submit:disabled{ opacity:.6; cursor:wait; transform:none; }

.bjl-c-feedback{
    font-size:.92rem;
    font-weight:600;
    padding:0;
    max-height:0;
    overflow:hidden;
    transition:max-height .3s ease, padding .3s ease;
}
.bjl-c-feedback.show{ max-height:120px; padding:12px 16px; border-radius:10px; }
.bjl-c-feedback.ok{ background:rgba(34,160,90,0.12); color:#1d8a4e; }
.bjl-c-feedback.err{ background:rgba(217,20,21,0.1); color:#c8181a; }

/* ---- Carte ---- */
.bjl-c-map{
    border-radius:18px;
    overflow:hidden;
    line-height:0;
    box-shadow:0 18px 45px rgba(255,99,1,0.28);
}
.bjl-c-map iframe{ width:100%; height:340px; border:0; display:block; }

/* ---- Responsive ---- */
@media (max-width:900px){
    .bjl-c, .bjl-c-info-right{ grid-template-columns:1fr; }
    /* L'ordre sur mobile suit le choix dédié, pas la position PC */
    .bjl-c.bjl-c-m-form .bjl-c-form{ order:1; }
    .bjl-c.bjl-c-m-form .bjl-c-info{ order:2; }
    .bjl-c.bjl-c-m-info .bjl-c-info{ order:1; }
    .bjl-c.bjl-c-m-info .bjl-c-form{ order:2; }
    .bjl-c-map{ order:3; }
}
@media (max-width:520px){
    .bjl-c-row{ grid-template-columns:1fr; }
    .bjl-c-info, .bjl-c-form{ padding:28px 22px; }
}

/* ===========================================================
   POPUP DE SUCCÈS
   =========================================================== */
.bjl-c-modal{
    position:fixed; inset:0; z-index:99999;
    display:none; align-items:center; justify-content:center;
    padding:20px;
}
.bjl-c-modal.is-open{ display:flex; }
.bjl-c-modal-overlay{
    position:absolute; inset:0;
    background:rgba(15,15,40,0.55);
    backdrop-filter:blur(4px);
    animation:bjlCOverlay .3s ease;
}
@keyframes bjlCOverlay{ from{ opacity:0; } to{ opacity:1; } }
.bjl-c-modal-box{
    position:relative; background:#fff;
    border-radius:22px; padding:44px 38px 36px;
    max-width:440px; width:100%; text-align:center;
    box-shadow:0 30px 80px rgba(15,15,40,0.35);
    animation:bjlCPop .45s cubic-bezier(.34,1.56,.64,1);
}
@keyframes bjlCPop{ from{ opacity:0; transform:translateY(30px) scale(.92); } to{ opacity:1; transform:none; } }
.bjl-c-modal-ic{
    width:84px; height:84px; margin:0 auto 22px;
    display:flex; align-items:center; justify-content:center;
    border-radius:50%;
    background:linear-gradient(135deg, #22a05a, #34c971);
    color:#fff;
    box-shadow:0 14px 32px rgba(34,160,90,0.35);
    animation:bjlCIcPop .6s cubic-bezier(.34,1.56,.64,1) .15s both;
}
@keyframes bjlCIcPop{ from{ transform:scale(0) rotate(-20deg); } to{ transform:scale(1) rotate(0); } }
.bjl-c-modal-title{ color:#1f1e8f; font-size:1.6rem; font-weight:800; margin:0 0 10px; }
.bjl-c-modal-msg{ color:#5a6472; font-size:1.02rem; line-height:1.6; margin:0 0 26px; }
.bjl-c-modal-btn{
    padding:15px 40px !important; border:none !important; border-radius:50px !important;
    background:linear-gradient(135deg, #ff6301, #ff8a3d) !important;
    color:#fff !important; font-size:15px; font-weight:700; cursor:pointer;
    transition:transform .25s ease, box-shadow .3s ease;
    box-shadow:0 10px 26px rgba(255,99,1,0.3);
}
.bjl-c-modal-btn:hover{ transform:translateY(-2px); box-shadow:0 14px 32px rgba(255,99,1,0.42); }
