/*
Theme Name: 	MFM Digital
Theme URI: 		http://themes.muffingroup.com/betheme
Author: 		MFM Digital
Author URI: 	http://mfmdigital.com.com
Description:	MFM Digital Child Theme
Template:		betheme
Version: 		1.0.0
*/

/* Theme customization starts here
-------------------------------------------------------------- */


/* =========================================
   TIMELINE URBIZ - STEPS (Version Finale)
   ========================================= */

/* 1. Conteneur principal (ul) */
ul.urbiz-steps {
    list-style: none !important;
    margin-left: 0;
    margin-bottom: 0; 
    
    /* PADDINGS DESKTOP */
    padding-top: 50px;
    padding-bottom: 20px;
    padding-left: 61px;
    padding-right: 82px; /* Ajouté ici */
}

/* 2. Structure de chaque étape (li) */
.urbiz-steps li {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 40px 0;
    position: relative;
    margin-left: 80px; 
}

/* 3. Ligne de séparation horizontale */
.urbiz-steps li:not(:last-child) {
    border-bottom: 1px solid #e5e5e5;
    width: 85%;
}

/* 4. Le ROND (Puce personnalisée) */
.urbiz-steps li::before {
    content: '';
    display: block;
    position: absolute;
    left: -80px;
    top: 25px;
    width: 60px;
    height: 60px;
    background-color: #F7F9F8;
    border-radius: 50%;
    z-index: 2;
}

/* 5. La LIGNE VERTICALE (Connecteur) */
.urbiz-steps li:not(:last-child)::after {
    content: '';
    display: block;
    position: absolute;
    width: 2px;
    height: 100%; 
    background-color: #356855;
    left: -51px; 
    top: 30px;
    z-index: 1;
}

/* 6. Style du Titre */
.urbiz-steps span:first-child {
    font-weight: 600;
    color: black;
    min-width: 250px;
    font-size: 1.1em;
}

/* 7. Responsive Mobile (max-width 480px) */
@media (max-width: 480px) {
    
    /* Ajustement du conteneur principal pour mobile */
    ul.urbiz-steps {
        padding-top: 40px;    
        padding-bottom: 50px; 
        padding-left: 20px;   
        padding-right: 20px; /* On écrase les 82px pour éviter d'écraser le texte */
    }

    .urbiz-steps li {
        display: grid;
        gap: 10px;
        margin-left: 50px;
        padding: 30px 0;
        width: auto;
    }

    .urbiz-steps span:first-child {
        min-width: auto;
        width: 100%;
        word-wrap: break-word;
    }
    
    .urbiz-steps li::before {
        width: 40px;
        height: 40px;
        left: -50px;
        top: 20px;
    }

    .urbiz-steps li:not(:last-child)::after {
        left: -31px;
        top: 20px;
    }
}
/* ========================
   FOOTER URBIZ (VERT) - FINAL
   ======================== */

/* Conteneur Flex */
.footer-v2-main {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    padding: 50px 0;
    max-width: 1240px;
    margin: 0 auto;
    color: #356855; /* VERT PRINCIPAL */
    font-family: 'Poppins', sans-serif; /* Sécurité si Poppins est la police globale */
}

/* Gestion des colonnes */
.footer-v2-col { flex: 1; min-width: 220px; }
.footer-v2-col--info { flex: 1.3; }

/* Liens & Textes */
.footer-v2-main a {
    text-decoration: none;
    color: #356855 !important;
    transition: opacity 0.3s;
}
.footer-v2-main a:hover { opacity: 0.7; }

/* Contact Icones */
.footer-v2-contact a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
}

/* Réseaux Sociaux */
.footer-v2-social {
    margin-top: 5px;
    display: flex;
    gap: 15px;
}

/* --- TITRES (NAVIGATION, LIENS, TEXTE FORMULAIRE) --- */
/* C'est ici que j'ai appliqué tes changements de police */

.footer-v2-title,
.footer-v2-col--form .text-strong {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;        /* Medium */
    font-size: 15px;
    line-height: 100%;
    letter-spacing: 0;
    text-transform: uppercase;
    color: #BABABA !important;         
    margin-bottom: 30px;     /* Espacement sous le titre */
    display: block;
}

/* Listes */
.footer-v2-menu ul { list-style: none; padding: 0; margin: 0; }
.footer-v2-menu li {
    margin-bottom: 10px;
    font-family: Poppins;
    font-weight: 500;
    font-style: Medium;
    font-size: 15px;
    line-height: 100%;
    letter-spacing: 0%;
}

/* Formulaire */
.footer-v2-col--form input {
    background-color: #C3D3CE; 
    border: none;
    padding: 10px;
    width: 100%;
    margin-bottom: 10px;
}
.footer-v2-col--form button {
    background-color: #356855;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    width: 100%;
}
.text-code-postal {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 15px;
    line-height: 100%;
    letter-spacing: 0;
    text-transform: uppercase;
    color: #606A83 !important;      
}

.footer-v2-col--form .text-code-postal {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

/* Copyright Bar */
.footer-v2-bottom {
    background-color: #356855;
    color: white;
    text-align: center;
    padding: 15px;
}
.footer-v2-bottom p, .footer-v2-bottom a {
    color: white !important;
    margin: 0;
}

/* Mobile */
@media (max-width: 768px) {
    .footer-v2-main {
        flex-direction: column;
        padding: 40px 20px;
    }
}
/* =========================================
   FORMULAIRE FOOTER (Dimensions Exactes + Auto-Wrap)
   ========================================= */

/* 1. Alignement flexible avec retour à la ligne autorisé */
.search-box-flex {
    display: flex;
    flex-wrap: wrap; /* MAGIE : Passe à la ligne si pas de place */
    gap: 10px;       /* Espace entre input et bouton (horizontal et vertical) */
    align-items: center;
}

/* 2. Style du Champs INPUT */
.footer-v2-col--form input[name="zip"] {
    width: 245px !important;      
    height: 52px !important;      
    border-radius: 5px !important;
    background-color: #C3D3CE !important;
    border: none !important;
    padding-left: 15px !important; 
    color: #356855; 
    font-size: 15px;
    
    /* Sécurité pour ne pas dépasser la largeur de l'écran sur très petit mobile */
    max-width: 100%; 
}

/* Placeholder (ex: 1000) */
.footer-v2-col--form input[name="zip"]::placeholder {
    color: #356855;
    opacity: 0.7;
    font-style: italic;
}

/* 3. Style du BOUTON */
.footer-v2-col--form button {
    width: 136px !important;      
    height: 52px !important;      
    border-radius: 5px !important;
    background-color: #356855 !important;
    color: white !important;
    border: none !important;
    cursor: pointer;
    
    /* Centrage du texte */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 !important;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 14px;
}
/* =========================================
   ESPACEMENT DES MENUS DU FOOTER
   ========================================= */

/* Ajoute 24px d'espace sous chaque élément de la liste */
.footer-v2-menu li {
    margin-bottom: 24px !important;
}

/* Retire la marge du dernier élément pour que l'alignement reste propre */
.footer-v2-menu li:last-child {
    margin-bottom: 0 !important;
}
/* =========================================
   CAROUSEL SWIPER STYLE
   ========================================= */

/* Conteneur global */
.mls-custom-swiper {
    width: 100%;
    padding-top: 20px;
    padding-bottom: 40px; /* Espace pour la pagination */
    overflow: hidden;     /* Cache ce qui dépasse */
}

/* Configuration des slides */
.mls-custom-swiper .swiper-slide {
    /* Tes dimensions exactes */
    width: 301px !important;
    height: 326px !important;
    
    /* Esthétique */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Configuration des images */
.mls-custom-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Remplit le cadre sans déformer l'image */
    
    /* Ton arrondi */
    border-radius: 13px;
    
    /* Ombre légère pour le style (optionnel, tu peux retirer) */
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Couleur des points de pagination (optionnel) */
.mls-custom-swiper .swiper-pagination-bullet-active {
    background-color: #356855 !important; /* Vert MLS */
}
/* Conteneur principal de la carte */
.mls-pricing-card {
  width: 411px;
  padding: 55px 48px 55px 48px;
  border-radius: 24px;
  background: #C3D3CE;
  box-shadow: 4px 4px 29px 0px rgba(53, 104, 85, 0.08);
}

/* Toggle Mensuel/Annuel - Conteneur */
.period-choose {
  position: relative;
  width: 411px;
  height: 54px;
  margin-right: -97px;
  margin-bottom: 30px;
  border-radius: 150px;
  background: #FFFFFF;
  border: 1px solid #FFFFFF;
  box-shadow: 0px 4px 24px 0px rgba(0, 0, 0, 0.09);
  display: flex;
  align-items: center;
}

/* Masquer les inputs radio */
.period-choose input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

/* Curseur vert animé */
.period-choose::before {
  content: '';
  position: absolute;
  width: 205.5px;
  height: 54px;
  border-radius: 150px;
  background: #C3D3CE;
  border: 1px solid #FFFFFF;
  transition: transform 0.3s ease;
  left: 0;
  z-index: 1;
}

/* Déplacement du curseur quand Annuel est sélectionné */
.period-choose input[value="annualy"]:checked ~ label:last-of-type::before,
.period-choose input#perdioannualy_mls:checked ~ ::before {
  transform: translateX(205.5px);
}

/* Alternative plus robuste pour le déplacement du curseur */
.period-choose:has(input[value="annualy"]:checked)::before {
  transform: translateX(205.5px);
}

/* Labels du toggle */
.period-choose label {
  flex: 1;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 29px;
  letter-spacing: -0.02em;
  text-align: center;
  color: #000000;
  cursor: pointer;
  position: relative;
  z-index: 2;
  transition: font-weight 0.3s ease;
}

/* Label actif (sélectionné) */
.period-choose input[type="radio"]:checked + label {
  font-weight: 600;
}

/* Titre dans le badge vert */
.mls-pricing-card h3 {
  width: 216px;
  height: 32px;
  margin: 0 auto 25px;
  padding: 4px 16px;
  border-radius: 16px;
  background: #356855;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 23px;
  letter-spacing: 0%;
  text-align: center;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Wrapper du slider */
.mls-range-wrapper {
  margin-bottom: 20px;
  text-align: center;
}

/* Slider - Barre principale */
.mls-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 309px;
  height: 17px;
  border-radius: 16px;
  background: #FFFFFF;
  outline: none;
  margin-bottom: 10px;
}

/* Slider - Thumb (curseur) pour WebKit */
.mls-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #356855;
  cursor: pointer;
  border: none;
}

/* Slider - Thumb (curseur) pour Firefox */
.mls-slider::-moz-range-thumb {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #356855;
  cursor: pointer;
  border: none;
}

/* Texte "Nombre d'utilisateurs" */
.numberaccount {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 23px;
  letter-spacing: 0%;
  color: #000000;
  margin: 0;
}

/* Label HTVA */
.label-htva {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 20px;
  line-height: 23px;
  letter-spacing: 0%;
  text-align: center;
  color: #000000;
  margin: 20px 0 10px;
}

/* Bloc du prix */
.product-price {
  text-align: center;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

/* Montant principal et devise */
.product-price .amount,
.product-price .devise {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 40px;
  line-height: 48px;
  letter-spacing: 0%;
  color: #356855;
}

/* Période (/mois) */
.product-price .period {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 23px;
  color: #356855;
}

/* Texte promotionnel "2 mois offerts" */
.annualOffer {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 23px;
  text-align: center;
  color: #356855;
  margin: 10px 0 20px;
  transition: opacity 0.3s ease;
}

/* Section des caractéristiques */
.mls-features {
  margin-top: 25px;
}

/* Texte "Inclus :" */
.mls-features .include {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 16px;
  line-height: 23px;
  letter-spacing: 0%;
  color: #000000;
  display: block;
  margin-bottom: 10px;
}

/* Liste des fonctionnalités */
.mls-features ul {
  margin: 0;
  padding-left: 20px;
  list-style-type: disc;
}

.mls-features ul li {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 23px;
  letter-spacing: 0%;
  color: #000000;
  margin-bottom: 8px;
}

.mls-features ul li:last-child {
  margin-bottom: 0;
}

/* Couleur des puces */
.mls-features ul li::marker {
  color: #356855;
}