﻿/* ============================================================
   1) INTRO CATEGORY — V4 LIGHT (catIntroV4Light)
   (keeps your button system)
   ============================================================ */

.catIntroV4Light{
  position:relative;
  width:100%;
  overflow:hidden;
  background:#f4f6fa;
  font-family:'Figtree', sans-serif;
}

/* ---------- Background layer ---------- */
.catIntroV4Light__bg{
  position:absolute;
  inset:0;
  display:grid;
  grid-template-columns: 1.15fr 0.85fr;
}

.catIntroV4Light__bgLeft{
  background:#f4f6fa;
}

.catIntroV4Light__bgRight{
  position:relative;
  overflow:hidden;
}

.catIntroV4Light__img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* seam overlays */
.catIntroV4Light__overlay{
  position:absolute;
  inset:0;
  pointer-events:none;
}
.catIntroV4Light__overlay--desktop{
  display:block;
  background: linear-gradient(90deg,
    rgba(244,246,250,1) 0%,
    rgba(244,246,250,.92) 12%,
    rgba(244,246,250,.55) 26%,
    rgba(244,246,250,0) 50%
  );
}
.catIntroV4Light__overlay--mobile{ display:none; }


/* ---------- Content wrapper aligned ---------- */
.catIntroV4Light__wrap{
  position:relative;
  z-index:2;
  height:100%;
  width: min(1280px, calc(100% - 36px));
  margin: 0 auto;
  display:grid;
  grid-template-columns: 1fr 1fr;
  align-items:center;
}

.catIntroV4Light__content{
  text-align:left;
  padding: 30px 26px 30px 0; /* similar breathing room */
}

/* Breadcrumbs: same colors as old */
.catIntroV4Light__breadcrumbs{
  font-size:14px;
  margin-bottom:18px;
  padding: 10px 0 0;
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  align-items:center;
}
.catIntroV4Light__crumb{
  font-weight:500;
  color:#0e2840;
  text-decoration:none;
}
.catIntroV4Light__crumb:hover{ text-decoration:underline; }
.catIntroV4Light__sep{
  margin: 0 6px;
  color:#aaa;
}
.catIntroV4Light__here{
  font-weight:400;
  color:#002b7f;
}

/* =========================
   Search Badge — Pro / Minimal
   ========================= */
.catIntroV4Light__badgeLine{
  margin: 15px 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.catIntroV4Light__badge{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 15px 5px 5px;
  border-radius: 24px 50px 50px 24px;
  background: rgba(255, 255, 255, .55);
  border: 1px solid rgba(0, 43, 127, .14);
  color: #0f172a;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -.15px;
  line-height: 1;
  box-shadow: 0 1px 0 rgba(2, 6, 23, .04);
  backdrop-filter: blur(6px);
}

/* icon container: quiet, clean */
.catIntroV4Light__badgeIcon{
  width: 22px;
  height: 22px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f64628;
  border: 1px solid rgba(246, 70, 40, .18);
}

.catIntroV4Light__badgeIcon i{
  font-size: 11px;
  color:#fff;
}

.catIntroV4Light__badgeText{
  white-space: nowrap;
  font-size:14px;
}

/* hover: micro, not flashy */
.catIntroV4Light__badge:hover{
  border-color: rgba(0,43,127,.20);
  background: rgba(255,255,255,.88);
}

@media (max-width: 480px){
  .catIntroV4Light__badgeText{
    white-space: normal;
  }
}

/* Title & lead: same palette as old */
.catIntroV4Light__title{
  margin:0;
  color:#031a36;
  font-weight:800;
  font-size: 34px;
  letter-spacing:-0.4px;
  line-height:1.2;
}
.catIntroV4Light__lead{
  margin: 12px 0 0;
  font-size:16px;
  font-weight:400;
  color:#4b555f;
  line-height:1.55;
  max-width: 72ch;
}

/* Features (icons distinguished) */
.catIntroV4Light__features{
  margin: 15px 0;
  display:flex;
  flex-direction:column;
  gap:6px;
}
.catIntroV4Light__feature{
  display:flex;
  align-items:center;
  gap:10px;
  color:#0f172a;
  font-size:14.5px;
  font-weight:600;
}

/*   icon badge size = 32px */
.catIntroV4Light__icon{
  width:25px;
  height:25px;
  border-radius:8px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background: rgba(246,70,40,.10);
  border: 1px solid rgba(246,70,40,.18);
  box-shadow: 0 8px 18px rgba(2,6,23,.06);
}
.catIntroV4Light__icon i{
  font-size:13px;
  color:#f64628;
}

/* Actions: reuse your old spacing */
.catIntroV4Light__actions{
  margin-top: 18px;
}

/* navtrail boutons actions CTA */
.navtrail-actions {
    margin-top: 8px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-navtrail {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    transition: 0.25s ease;
    cursor: pointer;
    justify-content: center;
}

/* Bouton principal */
.btn-primary {
    background: #f64628;
    color: #fff;
}
.btn-primary:hover {
    background: #002b7f;
}

/* Bouton secondaire */
.btn-secondary {
    background: #e4e6e8;
    color: #212223;
}
.btn-secondary:hover {
    background: #ecedee;
}

/* ---------- Mobile (same fix as V3) ---------- */
@media (max-width: 920px){
  .catIntroV4Light{ height:auto; }

  .catIntroV4Light__bg{
    grid-template-columns: 1fr;
    grid-template-rows: 240px auto;
  }
  .catIntroV4Light__bgRight{ grid-row:1; height: 240px; }
  .catIntroV4Light__bgLeft{ grid-row:2; }

  .catIntroV4Light__overlay--desktop{ display:none; }
  .catIntroV4Light__overlay--mobile{
    display:block;
    background: linear-gradient(0deg,
      rgba(244,246,250,1) 0%,
      rgba(244,246,250,.70) 20%,
      rgba(244,246,250,0) 50%
    );
  }

  .catIntroV4Light__wrap{
    grid-template-columns: 1fr;
    grid-template-rows: 240px auto;
    align-items:stretch;
  }

  .catIntroV4Light__title{
    font-size: 25px;
  }

  .catIntroV4Light__content{
    grid-row:2;
    padding: 18px 0 26px;
  }

  /* Keep your old buttons behavior on mobile */
  .navtrail-actions{
    flex-direction: column;
    align-items: stretch;
  }
}

/* ============================================
   Layout separation listing
=============================================== */

.layout-70-30 {
    display: block;
}

/*<!-----  Listing container ----->*/
.newlisting-section {
    background: #fff;
    padding: 40px 20px 25px;
    font-family: 'Figtree', sans-serif;
    overflow: hidden;
}
.newlisting-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
}
.listing-title h2 {
    font-size: 22px;
    font-weight: 700;
    color: #031a36;
    margin-bottom: 30px;
    position: relative;
    text-align: left;
}
.listing-title h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 4px;
    background-color: #0064eb;
    margin-top: 10px;
    border-radius: 2px;
}

.main-listing {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
}
/*<!-----  Listing container END ----->*/

/* Desktop ≥ 1024px : active le 70/30 */
@media (min-width: 1024px) {
    .layout-70-30 {
        display: flex;
        gap: 20px;
        max-width: 1300px;
        margin: 0 auto;
    }

    .left-col {
        width: 72%;
    }

    .right-col {
        width: 28%;
    }
}
/* ----- layout separation listing END ----- */

/* ============================================
   NEW LISTING HORIZONTAL
=============================================== */

.pro-listing-new {
    display: flex;
    flex-direction: row;
    width: 100%;
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e6e8ec;
    overflow: hidden;
    margin-bottom: 15px;
}
.pro-new-info {
    flex: 1;
}

/* ============================================
   SECTION 1 : GALERIE
=============================================== */

.pro-new-gallery {
    flex: 0 0 31%;
    max-width: 31%;
    position: relative;
    overflow: hidden;
}

.gallery-new {
    position: relative;
    width: 100%;
    height: 100%;
    padding-top: 100%;
    background: #f2f2f2;
    overflow: hidden;
}

.gallery-new-track {
    position: absolute;
    inset: 0;
    display: flex;
    overflow: hidden;
}

.gallery-new-image {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity .3s;
}

.gallery-new-image.loaded { opacity: 1; }

/* Arrows */
.gallery-new-arrow {
    position: absolute;
    top: 0;
    width: 60px;
    height: 100%;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gallery-new-left { left: 0; background: linear-gradient(-90deg, transparent, rgba(0,0,0,.45)); }
.gallery-new-right { right: 0; background: linear-gradient(90deg, transparent, rgba(0,0,0,.45)); }


.gallery-new-arrow {
    pointer-events: auto;
    cursor: pointer;
}

/* ============================================
   SECTION 2 : INFO
=============================================== */

.pro-new-info {
    flex: 1 1 auto;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

/* ========= HEADER (nom + logo) ========= */

.pro-new-header {
    display: flex;
    gap: 14px;
}

.pro-new-logo img {
    width: 86px;
    height: 86px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid #e5e5e5;
}

.pro-new-header-text {
    flex: 1;
    min-width: 0;
}

/* Nom */
.pro-new-name-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}

.pro-new-name {
    font-size: 20px;
    font-weight: 700;
    color: #031a36;
    letter-spacing: -0.4px;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.pro-new-name:hover { color: #f64628; }

.pro-new-verified {
    color: #4081ec;
    font-size: 14px;
    padding-top:2px;
}

/* Activité */
.pro-new-activity {
    font-size: 15px;
    color: #183650;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

    margin-bottom: 6px;
}

/* ============================================
   CATEGORY + CITY (sur la même ligne)
=============================================== */

.pro-new-tags {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pro-new-category,
.pro-new-city {
    font-size: 14px;
    background: #f6f7f8;
    padding: 4px 10px;
    border-radius: 6px;
    color: #0e2840;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;

    text-align: left;
    width: fit-content;
}

/* ============================================
   RATING – bien aligné à gauche
=============================================== */

.pro-new-rating {
    display: flex;
    justify-content: flex-start;
    align-items: baseline;
    gap: 6px;
    font-size: 15px;
    text-align: left;
    margin-top: 2px;
}

.pro-new-rating .rating-score {
    font-weight: 700;
    color: #faa500;
}

.pro-new-rating .star-rating {
    display: flex;
    align-items: center;
    gap: 2.5px;
}

.rating-count {
    color: #666;
}
.star-rating {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 16px;
}
.star-rating .fa-star,
.star-rating .fa-star-half,
.star-rating .fa-star-o {
  color: #faa500;
  font-size: 14px;
}

/* ============================================
   DESCRIPTION (2 lignes, sans bouton)
=============================================== */

.pro-new-description {
    font-size: 14px;
    line-height: 20px;
    text-align: left;

    display: -webkit-box;
    -webkit-line-clamp: 2;  
    -webkit-box-orient: vertical;

    overflow: hidden;
    text-overflow: ellipsis;
}

/* ============================================
   SECTION CONTACT (NOUVELLE SECTION 3)
=============================================== */

.pro-new-contact-area {
    border-top: 1px solid rgba(240,240,240,1);
    margin-top: 2px;
    padding-top: 14px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.pro-new-contact-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pro-new-contact-title {
    font-size: 15px;
    font-weight: 600;
    color: #031a36;
    text-align: left;
}

.pro-new-contact-delay {
    font-size: 13px;
    color: #4b5464;
    display: flex;
    align-items: center;
    gap: 5px;
}

.pro-new-contact-delay span {
    font-weight: 700;
    color: #008255;
}

.pro-new-contact-delay i {
    font-size: 12px;
    padding-top: 1px;
}
.pro-new-contact-delay i.online {
    color: #1bbf38;
}

.pro-new-contact-button {
    background: #f64628;
    color: #fff;
    border-radius: 6px;
    padding: 14px 24px;
    text-decoration: none;
    font-weight: 700;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    transition: background 0.3s ease, transform 0.3s ease;
    cursor: pointer;
    border: none;
}

.pro-new-contact-button:hover{
  background:#e53f24;
  transform: translateY(-1px);
}
.pro-new-contact-button:active{
  transform: translateY(0);
}

/* Bouton Appeler — mobile only */
.pro-new-call-button-mobile {
    display: none; /* desktop */
}

/* Styles communs au bouton — mobile uniquement */
@media (max-width: 768px) {
    .pro-new-call-button-mobile {
        display: flex !important;
        background: #f0f1f2;
        color: #0e2840;
        border-radius: 6px;
        padding: 14px 24px;
        text-decoration: none;
        font-weight: 700;
        white-space: nowrap;
        align-items: center;
        justify-content: center; 
        gap: 8px;
        font-size: 14px;
        transition: background 0.3s ease, transform 0.3s ease;
        border: none;   
        width: 100%;     
        cursor: pointer;
    }

    .pro-new-call-button-mobile:hover {
        background: #e8e9ea;
        transform: translateY(-1px);
    }

    /* Animation quand le numéro apparaît */
    .pro-new-call-button-mobile.reveal {
        background: #e8e9ea;
        transform: scale(1.02);
    }
    .pro-new-contact-text {
        padding-bottom: 5px;
    }
}


/* ======== RESPONSIVE ========= */

@media (max-width: 1024px) {
    .pro-new-gallery { flex: 0 0 35%; max-width: 35%; }
}

@media (max-width: 768px) {

    .pro-listing-new {
        flex-direction: column;
        gap: 6px;
    }

    .pro-new-gallery,
    .pro-new-info {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .gallery-new { padding-top: 66%; }

    .pro-new-info {
        padding: 14px;
    }

    .pro-new-button {
        width: 100%;
    }

}

/* ===== RESPONSIVE ===== */

@media (max-width: 768px) {
    .pro-new-contact-area {
        flex-direction: column;
        align-items: stretch;
    }

    .pro-new-contact-button {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   NEW LISTING ITEM HORIZONTAL END
=============================================== */

/* ============================================
   NEW RIGHT SEARCH FORM
=============================================== */
.modern-search-form {
    padding-right: 20px;
    position:sticky;
    top:90px;
    padding-bottom: 15px;
}
/* SECTION TITLES */
.filter-section {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 25px;
}
.filter-section.top {
    margin-top: 78px;
}

.filter-title {
    font-size: 16px;
    font-weight: 700;
    color: #031a36;
    text-align: left;
}

/* ---------------------------------- */
/* SELECT VILLE CUSTOM                */
/* ---------------------------------- */

.city-select-container {
    position: relative;
}

.city-select-display {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fcfcfc;
    border: 1px solid #e6e6e6;
    padding: 12px 14px;
    border-radius: 10px;
    cursor: pointer;
    color: #4b5464;
}

.city-select-display i {
    color: #6d7c8a;
}

.city-dropdown {
    display: none;
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    background: #fff;
    border-radius: 12px;
    padding: 12px;
    border: 1px solid #eee;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    z-index: 999;
}

.city-search-input {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ddd;
    margin-bottom: 8px;
    font-size: 14px;
}

/* Scroll container de la liste des villes */
.city-list {
    max-height: 230px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #dcdcdc transparent;
}

/* Webkit (Chrome, Edge, Safari) */
.city-list::-webkit-scrollbar {
    width: 6px;
}

.city-list::-webkit-scrollbar-track {
    background: transparent;
}

.city-list::-webkit-scrollbar-thumb {
    background: #d0d0d0;
    border-radius: 4px;
}

.city-list::-webkit-scrollbar-thumb:hover {
    background: #b5b5b5;
}

.city-item {
    padding: 8px;
    border-radius: 6px;
    cursor: pointer;
    text-align: left;
}

.city-item:hover {
    background: #f64628;
    color: #fff;
}

/* ---------------------------------- */
/* SWITCH LOCAL / REGIONAL / NATIONAL */
/* ---------------------------------- */

.radius-switch {
    display: flex;
    background: #fcfcfc;
    border-radius: 10px;
    border: 1px solid #e6e6e6;
    overflow: hidden;
}

.radius-option {
    flex: 1;
    text-align: center;
    padding: 10px 0;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s, color 0.2s;
    color: #4b5464;
}

.radius-option.active {
    background: #f4f6fa;
    font-weight: 600;
}

/* ---------------------------------- */
/* PRESTATIONS SEARCH INPUT           */
/* ---------------------------------- */

.prestation-search-wrapper {
    position: relative;
}

.typeahead {
    width: 100%;
    background: #fcfcfc;
    border: 1px solid #e6e6e6;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 14px;
    color: #4b5464;
}

.typeahead:focus {
    background: #fff;
    border-color: #f64628;
    box-shadow: 0 0 0 3px rgba(246,70,40,0.15);
    outline: none;
}

.search-icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #6d7c8a;
}

/* AUTOCOMPLETE LIST */
.autocomplete-list {
    position: absolute;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    top: 50px;
    width: 100%;
    max-height: 220px;
    overflow-y: auto;
    box-shadow: 0 4px 14px rgba(0,0,0,0.10);
    display: none;
    z-index: 999;
}

.autocomplete-item {
    cursor: pointer;
    padding: 8px 14px;
    font-size: 14px;
    text-align: left;
}

.autocomplete-item:hover {
    background: #f64628;
    color: #fff;
}
.autocomplete-empty{
  padding:8px 12px;
  color:#6d7c8a;
  font-size:13px;
}
/* highlight clavier */
.autocomplete-item.is-active{
  background: rgba(246,70,40,.10);
  font-weight: 700;
}

/* si tu veux que le hover souris garde le même rendu */
.autocomplete-item:hover{
  background: rgba(246,70,40,.10);
  font-weight: 700;
  color:#000;
}

.autocomplete-list::-webkit-scrollbar{ width:6px; }
.autocomplete-list::-webkit-scrollbar-track{ background:transparent; }
.autocomplete-list::-webkit-scrollbar-thumb{ background:#d5d9df; border-radius:6px; }
.autocomplete-list::-webkit-scrollbar-thumb:hover{ background:#bcc3cc; }

/* ---------------------------------- */
/* PRESTATIONS LIST SCROLL            */
/* ---------------------------------- */
/* Scroll container des prestations */
.prestation-scroll {
    max-height: 232px;
    overflow-y: auto;
    padding-right: 6px;
}

/* --- SCROLLBAR MODERNE / SLIM --- */

/* Firefox */
.prestation-scroll {
    scrollbar-width: thin;
    scrollbar-color: #dcdcdc transparent;
}

/* Webkit (Chrome, Edge, Safari) */
.prestation-scroll::-webkit-scrollbar {
    width: 6px;
}

.prestation-scroll::-webkit-scrollbar-track {
    background: transparent; 
}

.prestation-scroll::-webkit-scrollbar-thumb {
    background: #d0d0d0;
    border-radius: 4px;
}

.prestation-scroll::-webkit-scrollbar-thumb:hover {
    background: #b5b5b5; /* légère intensification au survol */
}

/* Ligne de prestation */
.prestation-radio {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 0;
}

/* Le "radio" visuel (faux bullet) */
.prestation-bullet {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #d0d0d0;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: border-color 0.2s ease;
}

.prestation-bullet::after {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: transparent;
    transition: background-color 0.2s ease;
}

/* Lien texte */
.prestation-radio a {
    font-size: 14px;
    color: #4b5464;
    text-decoration: none;
    padding: 2px 0;
    transition: color 0.2s ease;
}

/* Hover */
.prestation-radio:hover a {
    color: #f64628;
}

/* État actif */
.prestation-radio.active .prestation-bullet {
    border-color: #f64628;
}

.prestation-radio.active .prestation-bullet::after {
    background-color: #f64628;
}
.prestation-radio.active a {
    color: #101926;
}
/* MOBILE */
@media (max-width: 1024px) {
    
    .modern-search-form {
      padding: 20px;
    }
    .filter-section.top {
      margin-top: 0;
    }
}

@media (max-width: 768px) {

   .newlisting-section {
      padding: 40px 14px 25px;
    }
   
   .quote-section {
      padding: 20px 14px 40px;
   }
}

/* ============================================
   NEW RIGHT SEARCH FORM END
=============================================== */