/* =============================================================
   home.css  –  Hubbees welcome page  (Bootstrap 4 edition)
   Only brand-specific rules; Bootstrap 4 handles layout/grid.
   ============================================================= */

/* ── Body & page wrapper ─────────────────────────────────── */
body { background-color: #f5f5f5; font-family: Calibri, Arial, sans-serif; }

.working-area {
    max-width: 1400px;
    margin: 0 auto;
    background: #fff;
}

/* ── Header ──────────────────────────────────────────────── */
#div-logo {
    background: url('../img/filet-jaune.png') left center no-repeat;
    padding: 16px 15px;
}
#logo { width: 380px; max-width: 100%; }

#div-se-connecter {
    background: url('../img/filet-jaune.png') top right 150px no-repeat;
    height: 106px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
#div-se-connecter a {
    color: #000;
    text-decoration: none;
    font-size: 15px;
    font-weight: bold;
    font-family: Arial, sans-serif;
    text-transform: uppercase;
	display: block;
    margin-right: 12px;
}

/* ── Hero image ──────────────────────────────────────────── */
#div-home-img-container {
    max-width: 970px;
    margin: 0 auto;
    overflow: hidden;
    max-height: 520px;
}
#div-home-img-container img {
    width: 100%;
    display: block;
    margin-top: -100px;
}

/* ── Slogan ──────────────────────────────────────────────── */
#div-home-colored-title {
    font-family: Calibri, sans-serif;
    font-size: 22px;
    padding: 10px 15px 20px;
}
/* NOTE: class names are swapped in original source (pink = cyan, bleue = pink) */
.span-pink-bold-home  { color: #01ccfd; font-weight: bold; }
.span-bleue-bold-home { color: #fa2a8c; font-weight: bold; }

/* ── Two-block section ───────────────────────────────────── */
#blocks-section { font-family: Calibri, sans-serif; font-size: 18px; margin-bottom: 20px; }

.block-title {
    font-size: 26px;
    font-weight: bold;
    color: #000;
    min-height: 100px;
    margin-bottom: 10px;
}
.home-cell-pink  { width: 74px; vertical-align: middle; }
.home-cell-bleue { width: 62px; vertical-align: middle; }
.home-blk-txt    { margin-bottom: 20px; }

.div-home1 { padding-right: 40px; border-right: 1px solid #eee; }
.div-home2 { padding-left:  40px; }

/* ── CTA buttons ─────────────────────────────────────────── */
/* Extend Bootstrap's .btn */
.btn-hb {
    font-family: Calibri, sans-serif;
    font-size: 16px;
    font-weight: bold;
    border-width: 2px;
    border-radius: 10px;
    text-transform: uppercase;
    padding: 10px 18px;
    cursor: pointer;
}
.btn-hb-pink-outline { border-color: #fa2a8c; color: #fa2a8c; background: transparent; }
.btn-hb-pink-outline:hover { background: #fa2a8c; color: #fff; }
.btn-hb-pink-filled  { border-color: #fa2a8c; background: #fa2a8c; color: #fff; }
.btn-hb-pink-filled:hover  { background: #d9226f; border-color: #d9226f; color: #fff; }
.btn-hb-blue-outline { border-color: #01ccfd; color: #01ccfd; background: transparent; }
.btn-hb-blue-outline:hover { background: #01ccfd; color: #fff; }
.btn-hb-blue-filled  { border-color: #01ccfd; background: #01ccfd; color: #fff; }
.btn-hb-blue-filled:hover  { background: #01aad4; border-color: #01aad4; color: #fff; }

/* ── Login modal ─────────────────────────────────────────── */
/* ── Login modal ────────────────────────────────────────── */
#modal-login .modal-content {
  border: none;
  border-radius: 12px;
  overflow: hidden;
}
#modal-login .modal-header {
  background: linear-gradient(135deg, #fa2a8c, #01ccfd);
  border: none;
  padding: 20px 24px 16px;
}
#modal-login .modal-title {
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
#modal-login .close { color: #fff; opacity: .9; }
#modal-login .modal-body { padding: 28px 32px; }

.btn-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 10px 16px;
  border-radius: 6px;
  font-size: .85rem;
  font-weight: 600;
  border: 2px solid;
  cursor: pointer;
  transition: opacity .2s;
  text-decoration: none;
  background: none;
}
.btn-social:hover { opacity: .85; text-decoration: none; }
.btn-google   { background: #fff !important; border-color: #dadce0; color: #3c4043; }
.btn-linkedin { background: #0077b5 !important; border-color: #0077b5; color: #fff; }

.login-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  color: #aaa;
  font-size: .78rem;
}
.login-divider::before,
.login-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e0e0e0;
}

#modal-login .form-control {
  border-radius: 6px;
  border: 1px solid #ddd;
  font-size: .88rem;
  height: 42px;
  margin-bottom: 12px;
}
#modal-login .form-control:focus {
  border-color: #fa2a8c;
  box-shadow: 0 0 0 3px rgba(250,42,140,.12);
}

.btn-login-submit {
  width: 100%;
  background: linear-gradient(135deg, #fa2a8c, #d4007a);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 11px;
  font-size: .9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  cursor: pointer;
  transition: opacity .2s;
  margin-top: 4px;
}
.btn-login-submit:hover    { opacity: .88; }
.btn-login-submit:disabled { opacity: .6; cursor: not-allowed; }

.login-error {
  display: none;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  border-radius: 6px;
  padding: 9px 12px;
  font-size: .8rem;
  margin-bottom: 12px;
}

.login-footer-links {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  font-size: .78rem;
}
.login-footer-links a { color: #888; text-decoration: none; }
.login-footer-links a:hover { color: #fa2a8c; }

.span-before-input {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: #eee;
    border: 1px solid #ced4da;
    border-right: none;
    border-radius: 4px 0 0 4px;
    flex-shrink: 0;
}
.input-with-icon {
    display: flex;
    align-items: center;
}
.input-with-icon input {
    border-radius: 0 4px 4px 0 !important;
    flex: 1;
}

.btn-connect {
    background: #ffcb3c;
    border-color: #9a9a9a;
    color: #fff;
    padding: 6px 20px;
}
.btn-connect:hover { background: #e5b62e; color: #fff; }
.lost-pwd-link,
.lost-pwd-link:visited,
.lost-pwd-link:hover { color: #000; font-size: 15px; }

/* ── Popup modals (enterprise / particular) ──────────────── */
.modal-popup-enterprise .modal-content { background: linear-gradient(#fa2a8c, #fff 55px); }
.modal-popup-enterprise .modal-title   { color: #fff; font-size: 15px; }
.modal-popup-particular .modal-content { background: linear-gradient(#01ccfd, #fff 55px); }
.modal-popup-particular .modal-title   { color: #fff; font-size: 15px; }

.popup-img { max-width: 160px; height: auto; float: left; margin: 0 20px 10px 0; }
.popup-content-text p { font-size: 15px; line-height: 1.4; margin-bottom: 6px; }
.popup-bottom {
    clear: both;
    text-align: center;
    font-weight: bold;
    font-size: 17px;
    margin: 16px 0 8px;
}
.popup-subscribe {
    text-align: center;
    background: url('../img/pink-line.png') repeat-x center;
    padding: 14px 0;
}
.popup-subscribe-blue { background-image: url('../img/bleue-line.png'); }

/* ── Search block ────────────────────────────────────────── */
#search-section {
    background: url('../img/home5.png') left center no-repeat;
    background-size: 200px;
    padding: 30px 15px 30px 220px;
    margin-top: 60px;
    min-height: 200px;
}
.search-title {
    color: #ffb636;
    font-family: Calibri, sans-serif;
    font-weight: bold;
    font-size: 23px;
    margin-bottom: 14px;
}
.search-section-form .form-control { height: 36px; font-size: 14px; }
.btn-search {
    background: #ffb636;
    border: none;
    color: #000;
    font-weight: bold;
    text-transform: uppercase;
    height: 36px;
    width: 100%;
    border-radius: 4px;
    cursor: pointer;
}
.btn-search:hover { background: #e5a020; }

/* ── Status notification modals ─────────────────────────── */
.modal-status .modal-content { border-top: 4px solid #ffb636; }

/* ── Footer ──────────────────────────────────────────────── */
footer {
    background: #dbdbdb;
    position: relative;
    padding: 20px 0;
}
#footer-lines {
    background: url('../img/footer-lines-bg.png') repeat-x top center;
    height: 14px;
    position: absolute;
    width: 100%;
    top: 111px;
    left: 0;
}
#div-footer {
    background: url('../img/footer-bg.png') no-repeat top center;
    padding: 60px 0 20px;
    min-height: 410px;
}
#logo-footer { height: 59px; width: 229px; display: block; margin-bottom: 20px; }
.logo-abeille { margin-top: -45px; margin-left: 65px; }

.footer-block-title {
    font-family: Calibri, sans-serif;
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.footer-block-content a,
.footer-block-content div {
    font-family: Calibri, sans-serif;
    font-size: 18px;
    color: #333;
    text-decoration: none;
    display: block;
    line-height: 1.3;
}
.footer-block-content a:hover { color: #000; text-decoration: underline; }
.footer-block-content .with-margin { margin-bottom: 20px; }

#footer-block-4 { margin-top: 80px; }
#footer-copyright { font-family: Calibri, sans-serif; font-size: 16px; }

#footer-social a {
    display: inline-block;
    width: 34px;
    height: 34px;
    background-position: center;
    background-repeat: no-repeat;
}
#facebook { background-image: url('../img/facebook.png'); }

/* ── Responsive tweaks ───────────────────────────────────── */
@media (max-width: 767.98px) {
    #div-logo,
    #div-se-connecter { background-image: none; text-align: center; justify-content: center; }
    #div-se-connecter a {
        background: url('../img/fleche-jaune.png') left center no-repeat;
        padding-left: 28px;
    }
    #div-home-img-container img { margin-top: 0; }

    .div-home1 { padding-right: 15px; border-right: none; text-align:center !important}
    .div-home2 { padding-left:  15px; text-align:center !important }
    .block-title { min-height: auto; }

    #search-section {
        padding-left: 15px;
        background-image: none;
        margin-top: 20px;
    }

    footer { padding: 20px 15px; }
    .logo-abeille { margin: 0 auto; display: block; }
    #footer-block-4 { margin-top: 10px; text-align: center; }
}

@media (max-width: 575.98px) {
    #logo { max-width: 240px; }
    .btn-hb { display: block; width: 100%; margin-bottom: 8px; }
}
