/* ========================================================================== 
   VARIABLES, POLICES & CONFIGURATION GENERALE 
   ========================================================================== */ 
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Poppins:wght@600;700&display=swap'); 

:root { 
    --primary: #6BC62B; 
    --primary-light: rgba(107, 198, 43, 0.15); 
    --primary-light-alt: rgba(107, 198, 43, 0.05); 
    --bg-main: #f2f2f2; 
    --bg-cat-menu : #F4F4F4;
    --bg-secondary: #4A4A4A; 
    --text-dark: #2D2D2D; 
    --bg-dark: #2D2D2D; 
    --white: #FFFFFF; 
    --border-gray: #E0E0E0; 
    --shadow-subtle: rgba(0, 0, 0, 0.05); 

    --text-sm: .875rem;
    --font-weight-semibold: 600
} 

* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
} 

body { 
    font-family: 'Inter', sans-serif; 
    font-size: 16px; 
    color: var(--text-dark); 
    background-color: var(--bg-main); 
    line-height: 1.5; 
    overflow-x: hidden; 
    padding-bottom: 70px;

    min-height: 100vh;
    position: relative;
    box-sizing: border-box;
    margin: 0;
} 

/* Typographies Spécifiées */ 
h1 { 
    font-family: 'Poppins', sans-serif; 
    font-size: 48px; 
    color: var(--primary); 
    font-weight: 700; 
    line-height: 1.2; 
} 

h2 { 
    font-family: 'Poppins', sans-serif; 
    font-size: 38px; 
    color: var(--primary); 
    font-weight: 600; 
} 

h3 { 
    font-family: 'Poppins', sans-serif; 
    font-size: 26px; 
    color: var(--text-dark); 
    font-weight: 600; 
} 

h4{
    font-family: 'Poppins', sans-serif; 
    font-size: 18px; 
    color: var(--primary); 
}

h5{
    font-family: 'Poppins', sans-serif; 
    font-size: 12px; 
    color: var(--primary); 
    font-weight: 600;
}

.in-page-sub-title {
    font-family: 'Inter', sans-serif; 
    font-size: 14px; 
    color: var(--primary); 
    font-weight: 600;
    margin-top: -20px;
}

.uppercase {
    text-transform: uppercase;
}
.text-center {
    text-align: center !important;
}

hr {
  border: none;
  height: 1px;
  background-color: #f4f4f4;
  margin: 20px 0; /* Optionnel : ajuste l'espace au-dessus et en dessous */
}

.card-title { 
    font-family: 'Poppins', sans-serif; 
    font-size: 20px; 
    font-weight: 600; 
} 

.body-large { font-size: 18px; } 
.small-text { font-size: 14px; } 
.cta-text { font-size: 16px; font-weight: 600; } 
.nav-text { font-size: 15px; } 
.h-primary-color, .text-primary { color: var(--primary) !important; } 
.text-dark { color: var(--text-dark); !important} 
.icon-primary{
   /* filter: invert(62%) sepia(82%) saturate(465%) hue-rotate(93deg) brightness(93%) contrast(89%) !important;*/
   filter: invert(43%) sepia(94%) saturate(882%) hue-rotate(61deg) brightness(132%) contrast(66%) !important;
}

.txt-primary-color { 
    color: var(--primary); 
} 

a { 
    color: var(--text-dark); 
    text-decoration: none; 
    transition: color 0.3s ease; 
} 

a:hover { 
    color: var(--primary); 
} 

img, svg { 
    max-width: 100%; 
    height: auto; 
    vertical-align: middle; 
} 

/* Classes utilitaires de centrage */ 
.container-1440 { 
    max-width: 1440px; 
    margin: 0 auto; 
    width: 100%; 
    padding: 0 20px; 
} 

.container-1280 { 
    max-width: 1280px; 
    margin: 0 auto; 
    width: 100%; 
    padding: 0 20px; 
} 

.container-1200 { 
    max-width: 1200px; 
    margin: 0 auto; 
    width: 100%; 
    padding: 0 20px; 
} 

.container-900 { 
    max-width: 900px;  
    margin: 0 auto; 
    width: 100%; 
    padding: 0 20px; 
} 

.m-auto {
    margin-left: auto;
    margin-right: auto;
}

/* Animations au Scroll */ 
.scroll-animate { 
    opacity: 0; 
    transform: translateY(30px); 
    transition: opacity 0.6s ease-out, transform 0.6s ease-out; 
} 

.scroll-animate.slide-in-left { 
    transform: translateX(-30px); 
} 

.scroll-animate.active { 
    opacity: 1; 
    transform: translateY(0) translateX(0); 
} 

/* ========================================================================== 
   HEADER COMPONENT 
   ========================================================================== */ 
.site-header { 
    background-color: var(--white); 
    border-bottom: 1px solid var(--border-gray); 
    position: relative; 
    z-index: 100; 
} 

.header-inner { 
    height: 80px; 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
} 

.header-logos { 
    display: flex; 
    align-items: center; 
    gap: 15px; 
} 

.logo-main { 
    width: 150px; 
    /*width: 192px;*/ 
    height: auto;
    margin-right: 40px;
} 

.logo-label { 
    width: 48px; 
    height: auto; 
} 

.main-nav { 
    display: flex; 
    align-items: center; 
    gap: 20px; 
    margin-left: auto; 
    margin-right: 0px; 
} 


.swisslabel-brand{
    position: absolute;
    top: 20px;
    right: 20px;
}
.swisslabel-brand img {
    max-width:35px;
    border-radius:5px;
}


.mobile-header-phone {
    display: none;
}

.main-menu { 
    display: flex; 
    list-style: none; 
    gap: 20px; 
} 

.main-menu a { 
    font-size: 15px; 
    white-space: nowrap; 
} 

.phone-container { 
    display: inline-block; 
} 

.phone-img { 
    width: 305px; 
    height: 45px; 
    object-fit: contain; 
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
    border-radius: 25px; 
} 

.phone-container:hover .phone-img { 
    transform: translateY(-2px); 
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); 
} 

.burger-btn { 
    display: none; 
    background: none; 
    border: none; 
    cursor: pointer; 
    padding: 5px; 
} 

.burger-btn span { 
    display: block; 
    width: 25px; 
    height: 3px; 
    background-color: var(--text-dark); 
    margin: 5px 0; 
    transition: 0.3s; 
} 

/* ========================================================================== 
   MENU DE CATEGORIES COMPONENT 
   ========================================================================== */ 
.category-wrapper { 
    background-color: var(--bg-cat-menu); 
    position: relative; 
    width: 100%; 
} 

.category-menu { 
    display: flex; 
    gap: 12px; 
    padding: 15px 0; 
    overflow-x: auto; 
    scrollbar-width: none; 
} 

.category-menu::-webkit-scrollbar { 
    display: none; 
} 

.category-card { 
    flex: 0 0 129px; 
    width: 130px; 
    height: 110px; 
    background-color: var(--white); 
    border-radius: 10px; 
    border: 1px solid transparent; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
    text-align: center; 
    padding: 10px; 
    cursor: pointer; 
    transition: border-color 0.3s ease, box-shadow 0.3s ease; 
} 

.category-card:hover, 
.category-card.active { 
    border-color: var(--primary); 
    box-shadow: 0 6px 12px rgba(107, 198, 43, 0.2); 
} 

.category-icon-box { 
    width: 40px; 
    height: 40px; 
    background-color: rgba(107, 198, 43, 0.15); 
    border-radius: 30%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    margin-bottom: 8px; 
    color: var(--primary); 
    padding: 12px 10px;
    justify-content: flex-start;
} 

.category-icon-box svg,
.category-icon-box img {
    filter: invert(43%) sepia(94%) saturate(882%) hue-rotate(61deg) brightness(132%) contrast(66%);
}

.category-card span { 
    font-size: 14px; 
    font-weight: 500; /* 600 */ 
    line-height: 1.2; 
    color: var(--text-dark); 

    display: block; 
    min-height: 2.4em;
} 

.icone-menu { 
    width: 20px; 
    height: 20px; 
    /*filter: invert(62%) sepia(82%) saturate(465%) hue-rotate(93deg) brightness(93%) contrast(89%); */
    filter: invert(43%) sepia(94%) saturate(882%) hue-rotate(61deg) brightness(132%) contrast(66%);
} 

/* sous menu catégories*/

.submenu-container { 
    position: absolute; 
    left: 0; 
    right: 0; 
    top: 100%; 
    background-color: var(--white); 
    border-bottom: 1px solid var(--shadow-subtle); 
    box-shadow: 0 8px 16px rgba(0,0,0,0.08); 
    display: none; 
    z-index: 90; 
} 

.submenu-container.open { 
    display: block; 
} 

/* Répartition en 3 colonnes uniquement si le sous-menu n'est pas masqué */
.submenu-inner:not([style*="display: none"]):not([style*="display:none"]) { 
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-flow: row;
    gap: 12px 40px;
    padding: 25px 20px; 
    width: 100%; 
    box-sizing: border-box; 
} 

.submenu-link { 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    font-size: 15px; 
    padding: 4px 0;
    width: 100%;
    box-sizing: border-box;
}

.submenu-link::before { 
    content: ""; 
    display: inline-block; 
    width: 6px; 
    height: 6px; 
    background-color: var(--primary); 
    border-radius: 50%; 
    flex-shrink: 0; 
}

/* /sous menu catégories*/

/* ========================================================================== 
   FOOTER COMPONENT 
   ========================================================================== */ 
.site-footer { 
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: var(--text-dark); 
    width: 100%; 
    font-size: 14px; 
    color: #ccc; 
} 

.footer-inner { 
    min-height: 70px; 
    display: flex; 
    align-items: center; 
    padding: 15px 40px; 
    width: 100%; 
    box-sizing: border-box; 
} 

.footer-inner::before { 
    content: ""; 
    flex: 1; 
} 

.footer-center-group { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 20px; 
    flex-shrink: 0; 
} 

.footer-links { 
    list-style: none; 
    padding: 0; 
    margin: 0; 
    display: flex; 
    align-items: center; 
    gap: 20px; 
} 

.footer-links a { 
    font-size: 14px; 
    text-decoration: none; 
    color: #ccc; 
    transition: color 0.3s ease; 
} 

.footer-links a:hover, 
.footer-site-name, 
.footer-site-name a { 
    color: var(--primary); 
} 

.footer-copy { 
    margin: 0 20px !important; 
    padding: 0; 
    white-space: nowrap; 
} 

.footer-socials { 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    flex-wrap: nowrap; 
} 

.footer-socials a { 
    width: 26px; 
    height: 26px; 
    background-color: rgba(255, 255, 255, 0.05); 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    transition: background-color 0.3s ease; 
    text-decoration: none; 
} 

.icone-social-footer { 
    width: 14px; 
    height: 14px; 
    object-fit: contain; 
    filter: brightness(0) invert(1); 
} 

.footer-socials a:hover { 
    background-color: var(--primary); 
} 

.developped-by { 
    flex: 1; 
    display: flex; 
    justify-content: flex-end; 
} 

.developped-by, 
.developped-by a { 
    font-size: 12px; 
    color: rgba(255, 255, 255, 0.4); 
    font-weight: 400; 
    white-space: nowrap !important; 
    text-decoration: none; 
} 

/* ========================================================================== 
   PAGE D'ACCUEIL ACCENTS & LAYOUTS 
   ========================================================================== */ 
.hero-section { 
    position: relative; 
    height: 420px; 
    width: 100%; 
    background-color: #000; 
} 

.hero-bg { 
    position: absolute; 
    top:0; 
    left:0; 
    width:100%; 
    height:100%; 
    object-fit: cover; 
    opacity: 0.6; 
    z-index: 1; 
} 

.hero-inner { 
    position: relative; 
    z-index: 2; 
    height: 100%; 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
} 

.hero-left { 
    color: var(--white); 
    max-width: 670px; 
} 

.hero-left h1 { 
    color: var(--white); 
    margin-bottom: 10px;
} 

.hero-subtitle { 
    font-size: 1.25rem; 
    font-weight: 400; 
} 

.hero-right-card { 
    background-color: var(--white); 
    width: 450px; 
    border-radius: 20px; 
    padding: 25px; 
    display: flex; 
    flex-direction: column; 
    justify-content: flex-start; 
    gap: 20px; 
    box-shadow: 0 10px 25px rgba(0,0,0,0.1); 
} 

.search-field { 
    width: 100%; 
    height: 55px; 
    padding: 0 20px; 
    border-radius: 15px; 
    border: 1px solid var(--border-gray); 
    background-color: var(--bg-main); 
    font-size: 16px; 
    outline: none; 
} 

.search-field:focus {
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.btn-submit-hero { 
    width: 100%; 
    height: 55px; 
    margin-top:20px;
    background-color: var(--primary); 
    color: var(--white); 
    border: none; 
    border-radius: 15px; 
    font-size: 16px; 
    font-weight: 600; 
    cursor: pointer; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 8px; 
    box-shadow: 0 5px 15px rgba(91, 179, 32, 0.3); 
    transition: background-color 0.3s, box-shadow 0.3s; 
} 

.btn-submit-hero:hover { 
    background-color: #5bb320; 
    box-shadow: 0 6px 20px rgba(91, 179, 32, 0.5);
} 

.hero-features { 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    gap: 20px; 
} 

.feature-item { 
    display: flex; 
    align-items: center; 
    gap: 6px; 
    font-size: 14px; 
} 

.feature-item img { 
    width: 16px; 
    height: 16px; 
    filter: invert(66%) sepia(61%) saturate(476%) hue-rotate(53deg) brightness(93%) contrast(90%); 
} 

/* Section Tout Commence Ici */ 
.section-white { 
    background-color: var(--white); 
    padding: 60px 0; 
} 

.section-title-accent { 
    color: var(--text-dark); 
    text-align: center; 
    margin-bottom: 40px; 
} 

.section-title-accent span { 
    color: var(--primary); 
} 

.grid-three-cols { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px; 
} 

.col-center-item { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    text-align: center; 
} 

.img-hover-up { 
    width: 128px; 
    height: 128px; 
    background-color: var(--primary); 
    border-radius: 50%; 
    margin-bottom: 15px; 
    transition: transform 0.3s, box-shadow 0.3s; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    overflow: hidden; 
} 

.img-hover-up img { 
    width: 56px; 
    height: 56px; 
    object-fit: contain; 
    filter: brightness(0) invert(1); 
} 

.col-center-item:hover .img-hover-up { 
    transform: translateY(-5px); 
    box-shadow: 0 8px 16px rgba(107, 198, 43, 0.3); 
} 

.img-hover-up span { 
    font-size: 26px; 
    font-weight: 600; 
    color: var(--white); 
    font-family: 'Poppins', sans-serif; 
} 

.col-center-item h4 { 
    font-size: 20px; 
    color: var(--text-dark); 
    margin-bottom: 5px; 
    font-family: 'Poppins';
} 

.col-center-item p { 
    color: var(--primary); 
    font-weight: 500; 
    max-width:260px;
} 

/* Section Contenu 2 (Immobilier) */ 
.section-gray-padding { 
    padding: 60px 0; 
    background-color: var(--bg-main); 
} 

.grid-two-cols-equal { 
    display: grid; 
    grid-template-columns: repeat(2, 1fr); 
    gap: 40px; 
    align-items: center; 
} 

.rounded-img-large { 
    width: 100%; 
    border-radius: 15px; 
    object-fit: cover; 
} 

.vertical-line-accent { 
    width: 3px; 
    height: 16px; 
    background-color: var(--primary); 
} 

.immo-img img { 
    max-height: 410px; 
} 

.icone-immo-home { 
    width: 24px; 
    height: 24px; 
    /*filter: invert(62%) sepia(82%) saturate(465%) hue-rotate(93deg) brightness(93%) contrast(89%); */
    filter: invert(43%) sepia(94%) saturate(882%) hue-rotate(61deg) brightness(132%) contrast(66%);
} 


/* S'assurer que le formulaire/conteneur de recherche sert de référence pour le positionnement */
#mod-search-form, 
.search-field-wrapper {
    position: relative;
    width: 450px;
    max-width: 100%;
    box-sizing: border-box;
}

.search-field {
    width: 100%;
    height: 55px;
    padding: 0 20px;
    border-radius: 15px;
    border: 1px solid var(--border-gray);
    background-color: var(--bg-main);
    font-size: 16px;
    outline: none;
    box-sizing: border-box;
}

.ui-autocomplete {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    float: left;
    padding: 0px;
    display: none;
    box-sizing: border-box;
    margin: -1px 0 0 0;
    list-style: none;
    background-color: #f2f2f2;
    border-color: var(--border-gray);
    border-style: solid;
    border-width: 1px;
    border-top: none;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding;
    background-clip: padding-box;
    font-size: 16px;
    overflow: hidden;
}

.ui-autocomplete li {
    padding: 12px 20px;
    height: auto;
    border-bottom: 1px dashed #E3E3E3;
    box-sizing: border-box;
}

.ui-autocomplete li:last-child {
    border-bottom: none;
    border-bottom-left-radius: 14px;
    border-bottom-right-radius: 14px;
}

.ui-autocomplete li:hover {
    background-color: var(--primary);
    color: #ffffff;
    font-weight: bold;
    cursor: pointer;
}

.ui-menu-item > a.ui-corner-all {
    display: block;
    padding: 0;
    clear: both;
    font-weight: normal;
    line-height: 24px;
    color: #333333;
    white-space: nowrap;
    text-decoration: none;
    box-sizing: border-box;
}

.ui-state-hover, .ui-state-active {
    color: #ffffff;
    text-decoration: none;
    background-color: var(--primary);
    border-radius: 0px;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    background-image: none;
}

.ui-helper-hidden-accessible { 
    display: none; 
}

/* ========================================================================== 
   SEPARATEURS ET ACCENTS HORIZONTAUX 
   ========================================================================== */ 
.sur-titre-container { 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    margin-bottom: 15px; 
    font-family: 'Poppins', sans-serif; 
    font-size: 14px; 
    font-weight: 600; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    color: var(--primary); 
} 

.sur-titre-container h2 { 
    display: inline; 
    margin: 0; 
    font-size: inherit; 
    font-weight: inherit; 
    color: inherit; 
} 

.sur-titre-container::before { 
    content: ""; 
    flex: 1; 
    height: 1px; 
    background-color: var(--primary); 
    max-width: 25px; 
} 


/* ========================================================================== 
   SEPARATEURS ET ACCENTS HORIZONTAUX SUR TITRE PRINCIPAL
   ========================================================================== */ 
.sur-titre-primary-container { 
    display: flex; 
    align-items: center; 
    gap: 15px; 
    margin-bottom: 15px; 
    font-family: 'Poppins', sans-serif; 
    font-size: 14px; 
    font-weight: 600; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    color: var(--primary); 
    width: 100%; 
} 

.sur-titre-primary-container h2 { 
    display: inline; 
    margin: 0; 
    font-size: inherit; 
    font-weight: inherit; 
    color: inherit; 
    white-space: nowrap; 
} 

.sur-titre-primary-container::before { 
    content: ""; 
    flex: 1; 
    height: 1px; 
    background-color: var(--border-gray); 
}

.sur-titre-primary-container::after { 
    content: ""; 
    flex: 1; 
    height: 1px; 
    background-color: var(--border-gray); 
}

.right-content-box h3 { margin-bottom: 10px; } 
.right-content-box > p { margin-bottom: 25px; } 

.full-width-card { 
    background-color: var(--white); 
    border-radius: 15px; 
    padding: 20px; 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    border: 1px solid transparent; 
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s; 
    cursor: pointer; 
    margin-bottom: 20px; 
} 

.full-width-card:last-child { margin-bottom: 0; } 

.card-left-flex { 
    display: flex; 
    align-items: center; 
    gap: 15px; 
} 

.round-icon-holder { 
    width: 48px; 
    height: 48px; 
    background-color: rgba(107, 198, 43, 0.1); 
    border-radius: 30%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: var(--primary); 
    flex-shrink: 0; 
} 

.in-page-round-icon-holder { 
    width: 64px; 
    height: 64px; 
    background-color: rgba(107, 198, 43, 0.1); 
    border-radius: 30%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: var(--primary); 
    flex-shrink: 0; 
    margin-bottom:20px;
} 

.full-width-card h3 { 
    font-size: 20px; 
    margin-bottom: 2px; 
} 

.full-width-card p { 
    font-size: 14px; 
    color: var(--bg-secondary); 
} 

.arrow-hover-effect { 
    transition: all 0.3s; 
    color: #D4D4D4; 
} 

.full-width-card:hover { 
    border-color: var(--primary); 
    box-shadow: 0 8px 20px rgba(107, 198, 43, 0.15); 
    transform: translateY(-3px); 
} 

.full-width-card:hover .arrow-hover-effect { 
    color: var(--primary); 
    transform: translateX(5px); 
} 

/* Section Magazine */ 
.magazine-top-bar { 
    display: flex; 
    justify-content: space-between; 
    align-items: flex-end; 
    margin-bottom: 15px; 
} 

.magazine-top-left h2 { 
    margin-top: 5px; 
    color: var(--text-dark); 
} 

.link-with-arrow { 
    display: flex; 
    align-items: center; 
    gap: 5px; 
    font-weight: 600; 
} 

.link-with-arrow svg { transition: transform 0.3s; } 
.link-with-arrow:hover { color: var(--primary); } 
.link-with-arrow:hover svg { transform: translateX(4px); fill: none; } 

.horizontal-separator { 
    height: 1px; 
    background-color: var(--border-gray); 
    margin-bottom: 30px; 
} 

.magazine-card { 
    border: 1px solid var(--border-gray); 
    border-radius: 15px; 
    overflow: hidden; 
    background-color: var(--white); 
    transition: transform 0.3s, box-shadow 0.3s; 
} 

.mag-img-container { 
    height: 270px; 
    width: 100%; 
    overflow: hidden; 
} 

.mag-img-container img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: transform 0.5s ease; 
} 

.mag-text-content { padding: 20px; } 
.mag-text-content .sur-titre { color: var(--primary); font-size: 14px; font-weight: 600; margin-bottom: 5px; } 
.mag-text-content h3 { font-size: 20px; margin-bottom: 8px; color: var(--text-dark); } 
.mag-text-content p { font-size: 16px; color: var(--text-dark); } 

.magazine-card:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 10px 20px rgba(0,0,0,0.08); 
} 

.magazine-card:hover .mag-img-container img { 
    transform: scale(1.06); 
} 

/* Pub & Médias */ 
.section-pub { 
    background-color: var(--bg-main); 
    text-align: center; 
    padding: 40px 0; 
    color: #999; 
    font-weight: 600; 
    letter-spacing: 1px;
} 

.media-row { 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    gap: 30px; 
    flex-wrap: wrap; 
    margin-top: 30px; 
} 

.media-logo { 
    max-height: 45px; 
    transition: all 0.3s; 
} 

.media-logo:hover { 
    filter: grayscale(0%); 
    opacity: 1; 
    transform: scale(1.1); 
} 

.light-zoom {
    transition: transform 0.3s ease, opacity 0.3s ease, filter 0.3s ease;
}

/* Effet au survol avec léger zoom */
.light-zoom:hover { 
    filter: grayscale(0%); 
    opacity: 1; 
    transform: scale(1.01); 
}

/* ========================================================================== 
   MODELE PAGE GENERIQUE & EQUIPE 
   ========================================================================== */ 
.generic-content-section { 
    background-color: var(--white); 
    padding: 50px 0; 
} 

.generic-content-section-gray{ 
    padding: 50px 0; 
    background-color: var(--bg-main); 
} 

.generic-text-block { 
    margin-top: 25px; 
    font-size: 16px; 
    line-height: 1.7; 
} 

.generic-text-block p { margin-bottom: 15px; } 


.generic-text-block ul {
    list-style: none;
    margin: 1em 0;
    padding-left: 1.25rem;
}

.generic-text-block ul li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.5em;
}

.generic-text-block ul li::before {
    content: "•";
    color: var(--primary);
    font-size: 1.2em;
    position: absolute;
    left: 0;
    top: 0;
    line-height: 1.4;
}


.block-quote { 
    background-color: var(--bg-main); 
    border-left: 3px solid var(--primary); 
    border-radius: 15px; 
    padding: 10px;
    margin: 30px 0;     
    

    display: flex;
    align-items: center; 
    min-height: 20px;   
}
.block-quote p{
    margin-bottom: 0px;
}

.team-section-title-box { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 15px; 
    margin-bottom: 40px; 
} 

.team-section-title-box h2 { color: var(--primary); font-size: 38px; } 
.team-line-decorator { width: 4px; height: 35px; background-color: var(--primary); } 

.sur-titre-container.team-accent { 
    display: flex !important; 
    flex-direction: row !important; 
    align-items: center !important; 
    justify-content: center !important; 
    gap: 15px !important; 
    width: 100%; 
    max-width: 400px; 
    margin: 0 auto 20px auto; 
} 

.sur-titre-container.team-accent::before, 
.sur-titre-container.team-accent::after { 
    content: "" !important; 
    display: block !important; 
    flex: 1 !important; 
    height: 2px !important; 
    background-color: #6BC62B !important; 
    min-width: 40px !important; 
} 

.sur-titre-container.team-accent h2 { 
    display: inline-block !important; 
    width: auto !important; 
    margin: 0 !important; 
    padding: 0 5px !important; 
    white-space: nowrap !important; 
    color: var(--primary); 
    font-size: 38px; 
    font-family: 'Poppins', sans-serif; 
} 

.team-grid { 
    display: grid; 
    gap: 20px; 
} 

.team-grid { 
    display: grid; 
    gap: 20px; 
} 

/* Classes de configuration des colonnes */
.team-grid-3c { grid-template-columns: repeat(3, 1fr); }
.team-grid-4c { grid-template-columns: repeat(4, 1fr); }
.team-grid-5c { grid-template-columns: repeat(5, 1fr); }
.team-grid-6c { grid-template-columns: repeat(6, 1fr); }

.team-card { 
    background-color: var(--white); 
    border-radius: 15px; 
    border: 1px solid var(--border-gray); 
    overflow: hidden; 
    box-shadow: var(--shadow-subtle); 
    transition: transform 0.3s, box-shadow 0.3s; 

    width: 185px; 
    height: 280px; 
    display: flex;
    flex-direction: column;
} 

.team-img-box { 
    width: 185px; 
    height: 185px; 
    background-color: var(--bg-main); 
    overflow: hidden; 
    margin: 0 auto; 
    flex-shrink: 0;
} 

.team-img-box img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: transform 0.4s ease; 
} 

.team-info-box { 
    padding: 15px 10px; 
    text-align: left; 
    background-color: var(--white);
    flex-grow: 1; 
} 

.team-name { font-weight: 600; font-size: 15px; color: var(--text-dark); margin-bottom: 3px;} 
.team-role { font-size: 13px; color: var(--bg-secondary); } 

.team-card:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 8px 16px rgba(0,0,0,0.1); 
} 

.team-card:hover .team-img-box img { transform: scale(1.05); } 

/* ========================================================================== 
   SECTION ETAPES & VIDEO (FOND GRIS)
   ========================================================================== */ 
.steps-video-section {
    background-color: var(--bg-main); /* Fond gris comme immobilier */
    padding: 60px 0;
}

.steps-video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 colonnes identiques */
    gap: 40px;
    align-items: center; /* Centre verticalement la vidéo par rapport aux cartes */
}

.steps-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Style de la card calqué sur immobilier */
.step-card {
    background-color: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 15px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow-subtle);
    transition: transform 0.3s, box-shadow 0.3s; 
}

.step-card:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 8px 16px rgba(0,0,0,0.1); 
} 

/* Conteneur pour l'icône et la bulle numérique */
.step-icon-wrapper {
    position: relative;
    flex-shrink: 0;
}

/* Forcer la couleur verte si le SVG est inline ou en masque, sinon l'image garde son format */
.step-svg-icon {
    width: 24px;
    height: 24px;
}

.in-page-svg-icon {
    width: 32px;
    height: 32px;
}

/* La bulle d'étape en haut à droite */
.step-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    background-color: var(--primary);
    color: var(--white);
    font-size: 11px;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

.step-content h3 {
    margin: 0 0 5px 0;
    font-size: 26px;
    font-weight: 600;
    color: var(--text-dark);
}

.step-content p {
    margin: 0;
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

/* Colonne vidéo */
.video-column {
    display: flex;
    justify-content: center;
}

.step-video-player {
    width: 550px;
    height: 310px;
    border-radius: 15px; /* Bords arrondis pour la vidéo */
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
    background-color: #000; /* Évite un flash blanc au chargement */
}

/* ========================================================================== 
   SECTION ASSISTANCE / INFO (FOND BLANC)
   ========================================================================== */ 
.support-info-section {
    background-color: var(--white);
    padding: 50px 0;
}

/* Ajustement ou création du container-900 s'il n'existe pas */
.container-900 {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.support-section-title {
    display: block;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

/* Cadre gris en deux colonnes */
.support-cta-box {
    background-color: var(--bg-main); /* Fond gris */
    border-radius: 15px;
    padding: 25px 35px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top:20px;
}

/* Colonne texte (approx 80%) */
.support-text-side {
    flex: 0 0 75%; 
}

.support-text-side strong {
    display: block;
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.support-text-side p {
    margin: 0;
    font-size: 15px;
    color: #555;
}

/* Colonne bouton verte centrée verticalement */
.support-btn-side {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.btn-support-green {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--primary);
    color: var(--white) !important;
    text-decoration: none;
    padding: 12px 22px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    white-space: nowrap;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-support-green:hover {
    background-color: #5bb324; /* Version un poil plus sombre du vert au survol */
    transform: translateY(-2px);
}

.btn-icon-white {
    width: 16px;
    height: 16px;
    filter: brightness(0) invert(1); /* Force l'icône SVG à devenir blanche */
}


/* ========================================================================== 
   SECTION INSTRUCTIONS & OFFRES PRO (FOND GRIS)
   ========================================================================== */ 
.pro-benefits-section {
    background-color: var(--bg-main); /* Même fond gris */
    padding: 60px 0;
}

.pro-benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 colonnes identiques */
    gap: 40px;
    align-items: center; /* Centrage vertical des deux colonnes */
    align-items: flex-start;
}

/* --- COLONNE DE GAUCHE --- */
.pro-instructions-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pro-instruction-text {
    margin: 0;
    font-size: 15px;
    color: var(--text-dark);
    line-height: 1.5;
}

.mini-cards-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px; /* Espace entre les mini cards */
}

/* La mini card stricte de 52px de haut */
.pro-mini-card {
    background-color: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 15px;
    height: 52px;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
    
    /* Centrage vertical et alignement à gauche parfait */
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Pastille verte calquée sur tes sous-catégories */
.green-dot-marker {
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: var(--primary);
    border-radius: 50%;
    flex-shrink: 0;
}

.pro-mini-card-text {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
}

/* --- COLONNE DE DROITE --- */
.pro-cards-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pro-cards-column .round-icon-holder {
    align-self: flex-start; 
    margin-top: 2px; 
}

.pro-cards-column .step-card {
    align-items: flex-start; 
}


/* ========================================================================== 
   ELEMENTS DE FORMULAIRE CENTRALISÉS & GENÉRIQUES 
   ========================================================================= */ 
#form-ads-bloc, #form-end-ads-bloc{
    display:none;
}

.form-group-custom { margin-bottom: 20px; } 

.form-label-custom { 
    display: block; 
    font-size: 15px; 
    font-weight: 500; 
    color: var(--text-dark); 
    margin-bottom: 6px; 
} 

.form-label-custom span {
    color: var(--primary); 
}

.form-input-custom, 
.form-textarea-custom, 
.form-select-custom { 
    width: 100%; 
    border: 1px solid var(--border-gray); 
    border-radius: 10px; 
    font-size: 15px; 
    font-family: 'Inter', sans-serif; 
    color: var(--text-dark); 
    outline: none; 
    transition: border-color 0.3s; 
} 

.form-input-custom, 
.form-select-custom { 
    height: 42px; 
    padding: 0 16px; 
} 

.form-textarea-custom { 
    padding: 12px 16px; 
    min-height: 120px; 
    resize: vertical; 
} 

.input-bg-gray { background-color: var(--bg-main); } 
.input-bg-white { background-color: var(--white); } 

.form-input-custom:focus, 
.form-textarea-custom:focus, 
.form-select-custom:focus { 
    border-color: var(--primary); 
} 

.input-width-small { max-width: 100px; } 


.form-info-text {
    display: block;
    font-size: 13px;
    color: #888888;
    margin-top: 4px;
}

.form-interactive-block {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.radio-custom-group {
    display: flex;
    gap: 10px;
}

.radio-custom-label input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.radio-custom-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    padding: 0 24px;
    background-color: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.radio-custom-label:hover .radio-custom-button {
    border-color: var(--primary);
}

.radio-custom-label input[type="radio"]:checked + .radio-custom-button {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.file-upload-container {
    animation: fadeIn 0.2s ease;
}


.file-input-padding {
    padding: 8px 16px;
    line-height: 24px;
}

/* Cache l'input natif mais le laisse accessible pour le clic via le label */
.file-custom-dropzone input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    opacity: 0;
    overflow: hidden;
}

/* Le conteneur cliquable stylisé */
.file-custom-dropzone {
    display: block;
    cursor: pointer;
    width: 100%;
}

/* Le faux bouton (hauteur alignée sur 42px comme tes inputs et select) */
.file-custom-trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 42px;
    padding: 0 16px;
    background-color: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 10px;
    font-size: 14px;
    color: #666;
    transition: border-color 0.3s, background-color 0.3s;
    box-sizing: border-box;
}

/* Effet de survol */
.file-custom-dropzone:hover .file-custom-trigger {
    border-color: var(--primary);
    background-color: var(--bg-main);
}

/* Icône SVG verte */
.file-icon {
    width: 16px;
    height: 16px;
    color: var(--primary);
    flex-shrink: 0;
}

/* Style du texte quand un fichier est chargé */
.file-custom-trigger.file-loaded {
    color: var(--text-dark);
    font-weight: 500;
    border-color: var(--primary);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

.btn-form-submit { 
    background-color: var(--primary); 
    color: var(--white); 
    border: none; 
    border-radius: 10px; 
    padding: 12px 32px; 
    font-size: 16px; 
    font-weight: 600; 
    cursor: pointer; 
    display: inline-block; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08); 
    transition: background-color 0.3s, box-shadow 0.3s, transform 0.3s; 
}

.btn-form-submit:hover { 
    background-color: #5bb320; 
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.12); 
    transform: translateY(-1px); 
}


/* Alignements des actions dans le formulaire */
.form-actions-right {
    display: flex;
    justify-content: flex-end;
    margin-top: 30px;
}

.form-actions-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
}

/* Bouton Retour secondaire */
.btn-form-secondary {
    background: none;
    border: 1px solid var(--border-gray);
    color: #666;
    border-radius: 10px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-form-secondary:hover {
    background-color: var(--bg-main);
    color: var(--text-dark);
}

/* Texte CGU en petit et gris */
.form-terms-notice {
    font-size: 14px;
    color: #888888;
    margin-top: 20px;
    text-align: left;
}

/* Intégration Custom de intl-tel-input pour l'aligner sur tes 42px */
.iti-phone-wrapper {
    width: 100%;
}

.iti {
    width: 100% !important;
}

/* Ajustement pour que l'input garde la bonne hauteur et le bon comportement visuel */
.iti input[type="tel"] {
    padding-left: 52px !important; /* Laisse la place pour le drapeau */
}


/* success formulaire*/
.form-success-message {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: var(--text-sm);
    color: var(--text-dark);
    font-weight: var(--font-weight-semibold);
}

.form-success-message .icon-success {
    width: 16px;
    height: 16px;
    background-color: var(--primary);
    -webkit-mask-image: url('/templates/devis2026/images/icones/contact/icone_demandes_qualifiees.svg');
    mask-image: url('/templates/devis2026/images/icones/contact/icone_demandes_qualifiees.svg');
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    flex-shrink: 0;
}

/* fin formulaire - choix express*/

/* page fin formulaire*/
.form-success-end-container {
    width: 100%;
}

.form-success-end-cards {
    display: flex;
    gap: 10px;
}

.form-success-end-card {
    flex: 1;
    background-color: var(--bg-main);
    border: 1px solid var(--primary);
    border-radius: 8px;
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.form-success-end-badge {
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: var(--white, #ffffff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 12px;
    flex-shrink: 0;
}

.form-success-end-card-text {
    margin: 0;
    padding: 0;
    font-weight: normal;
    font-style: normal;
    text-decoration: none;
    color: inherit;
    font-size: 14px;
    line-height: 1.4;
}

.form-success-end-info {
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
}

.form-success-end-support {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.5;
}

/* Regroupement inséparable Icône + Numéro */
.form-success-end-phone-group {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    vertical-align: middle;
}

/* Masque CSS pour forcer la couleur --primary */
.form-success-end-icon {
    display: inline-block;
    height: 16px;
    width: 16px;
    background-color: var(--primary);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
    vertical-align: middle;
    flex-shrink: 0;
}

.form-success-end-icon-email {
    -webkit-mask-image: url('/templates/devis2026/images/icones/contact/icone-lettre.svg');
    mask-image: url('/templates/devis2026/images/icones/contact/icone-lettre.svg');
}

.form-success-end-icon-phone {
    -webkit-mask-image: url('/templates/devis2026/images/icones/contact/icone_telephone3.svg');
    mask-image: url('/templates/devis2026/images/icones/contact/icone_telephone3.svg');
}

.form-success-end-phone {
    color: var(--primary);
    font-weight: bold;
    text-decoration: none;
}

.form-success-end-phone:hover {
    text-decoration: underline;
}

.form-success-end-other-requests {
    width: 100%;
    margin-top: 30px;
    margin-bottom: 40px;
}

.form-success-end-title {
    font-size: 1.25rem;
    font-weight: var(--font-weight-bold, 700);
    margin-bottom: 10px;
}

.form-success-end-divider {
    border: 0;
    border-top: 1px solid var(--border-gray, #e5e7eb);
    margin: 0 0 20px 0;
}

.form-success-end-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.form-success-end-grid-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-gray, #e5e7eb);
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.form-success-end-grid-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.form-success-end-card-img-wrap {
    width: 100%;
    height: 245px;
    overflow: hidden;
    background-color: #f3f4f6;
}

.form-success-end-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.form-success-end-card-content {
    height: 80px;
    background-color: var(--white, #ffffff);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 15px;
    gap: 8px;
    font-size: var(--text-sm, 14px);
    color: var(--text-dark, #1f2937);
    font-weight: var(--font-weight-semibold, 600);
    line-height: 1.3;
}

/* Container parent à 100% centrant les éléments */
.form-end-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

/* Base de chaque box (lien) */
.form-end-card {
    width: 100%;
    max-width: 380px;
    min-height: 180px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    
    /* Centrage du contenu interne */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    
    /* Transitions pour le survol/relief */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
}

/* Couleurs de fond dynamiques */
.form-end-card--primary {
    background-color: var(--primary);
}

.form-end-card--dark {
    background-color: var(--bg-dark);
}

/* Effet de relief au survol */
.form-end-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Cercle avec opacité légère (fond semi-transparent uniquement sur le cercle) */
.form-end-icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

/* Icône SVG purement blanche via masque CSS */
.form-end-icon {
    width: 28px;
    height: 28px;
    background: #ffffff !important; /* Couleur de remplissage du SVG */
    border: none;
    border-radius: 0;
    display: block;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
}

/* Chemin SVG Icône Fichier */
.form-end-icon--file {
    -webkit-mask-image: url('/templates/devis2026/images/icones/divers/file.svg');
    mask-image: url('/templates/devis2026/images/icones/divers/file.svg');
}

/* Chemin SVG Icône Téléphone */
.form-end-icon--phone {
    -webkit-mask-image: url('/templates/devis2026/images/icones/homepage/icone_telephone.svg');
    mask-image: url('/templates/devis2026/images/icones/homepage/icone_telephone.svg');
}

/* Texte sous l'icône */
.form-end-text {
    color: var(--white, #ffffff);
    font-size: inherit;
    font-weight: var(--font-weight-semibold);
    text-align: center;
}

/* ========================================================================== 
   PAGE CONTACT ARCHITECTURE 
   ========================================================================== */ 
.contact-page a{
    color: var(--primary); 
    text-decoration: none;
}
.contact-page a:hover{
    text-decoration: underline;
}

.card-contact-info img{
    width: 18px;
    height: 18px;
}

.contact-grid { 
    display: grid; 
    grid-template-columns: 760px 1fr; 
    gap: 20px; 
    margin-top: 30px; 
} 

.contact-left-box, .simple-central-box { 
    background-color: var(--white); 
    border: 1px solid var(--border-gray); 
    border-radius: 15px; 
    padding: 20px; 
} 

.contact-info-banner { 
    background-color: var(--bg-main); 
    border-radius: 15px; 
    height: 70px; 
    padding: 20px; 
    display: flex; 
    align-items: center; 
    /*justify-content: center; */
    text-align: left; 
    margin-top: 20px; 
} 

.contact-right-box { 
    display: flex; 
    flex-direction: column; 
    gap: 20px; 
} 

.card-contact-info { 
    background-color: var(--white); 
    border: 1px solid var(--border-gray); 
    border-radius: 15px; 
    padding: 20px; 
} 

.card-contact-info h1 { margin-bottom: 20px; } 

.info-line-icon { 
    display: flex; 
    gap: 12px; 
    align-items: center;
    margin-bottom: 15px; 
} 

.info-line-icon img.icon-primary {
    width: 18px; 
    height: 18px;
    flex-shrink: 0;
    align-self: flex-start; 
    margin-top: 3px; 
}

.info-line-icon svg { 
    color: var(--primary); 
    flex-shrink: 0; 
    align-self: flex-start;
    margin-top: 3px;
}

.map-card { 
    background-color: var(--white); 
    border: 1px solid var(--border-gray); 
    border-radius: 15px; 
    overflow: hidden; 
    height: 100%; 
    min-height: 250px; 
} 

.map-card iframe { 
    width: 100%; 
    height: 100%; 
    border: none; 
    display: block; 
} 

/* ========================================================================== 
   PAGE DE RÉSULTAT DE RECHERCHE  / CATÉGORIE
   ========================================================================== */ 

  /* 1. Joli card de titre pour les catégories parentes */
    .Cat_parent_first, 
    .Cat_parent {
        background-color: var(--bg-cat-menu);
        color: var(--text-dark);
        padding: 10px 15px;
        margin: 15px 0 8px 0;
        border-left: 4px solid var(--primary);
        border-radius: 10px;
        font-size: 14px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    }

    .Cat_parent_first:first-child {
        margin-top: 0;
    }

    /* 2. Masquer le caractère > de categoriearrow */
    span.categoriearrow {
        display: none;
    }

    /* Neutraliser les retours à la ligne générés pour structurer les liens en blocs */
    .Cat_parent_first ~ br,
    .Cat_parent ~ br {
        display: none;
    }

    /* 3. Jolie mise en forme des liens de catégories */
    .Cat_parent_first ~ a,
    .Cat_parent ~ a {
        display: block;
        padding: 8px 12px 8px 24px;
        margin: 4px 0;
        color: var(--text-dark);
        text-decoration: none;
        background-color: var(--white);
        border: 1px solid var(--border-gray);
        border-radius: 10px;
        transition: all 0.2s ease;
        position: relative;
    }

    /* Ajout d'une jolie puce discrète à la place de l'ancienne flèche */
    .Cat_parent_first ~ a::before,
    .Cat_parent ~ a::before {
        content: "›";
        position: absolute;
        left: 10px;
        color: var(--primary);
        font-weight: bold;
    }

    /* Effet au survol des liens */
    .Cat_parent_first ~ a:hover,
    .Cat_parent ~ a:hover {
        background-color: var(--white);
        border: 1px solid var(--primary);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    }

/* ========================================================================== 
   PAGE DE FORMULAIRE METIER (2 COLONNES ASYMÉTRIQUES) 
   ========================================================================== */ 
.form-page-grid { 
    display: grid; 
    grid-template-columns: 865px 1fr; 
    gap: 20px; 
    align-items: stretch; 
} 

.form-main-container { 
    background-color: var(--white); 
    border: 1px solid var(--border-gray); 
    border-radius: 15px; 
    padding: 30px; 
    box-sizing: border-box; 
    width: 100%; 
}

.form-main-container h1 { margin-bottom: 8px; } 
.form-main-container .subtitle-bold { font-weight: 500; margin-bottom: 25px; } 
.form-main-container h3 { margin: 25px 0 20px 0; border-bottom: 1px solid var(--bg-main); padding-bottom: 8px;} 

.form-row-2cols { 
    display: grid; 
    grid-template-columns: 250px 1fr; 
    gap: 20px; 
    margin-bottom: 20px; 
    align-items: start; 
} 

.form-row-2cols .form-label-custom { margin-bottom: 0; padding-top: 10px; } 
.form-actions-right { display: flex; justify-content: flex-end; margin-top: 30px; } 

.form-sidebar { 
    display: flex !important; 
    flex-direction: column !important; 
    gap: 24px !important; /* Force un espacement vertical de 24px net entre chaque carte */
    width: 100%;
    box-sizing: border-box;
}

.sidebar-card { 
    background-color: var(--white); 
    border: 1px solid var(--border-gray); 
    border-radius: 15px; 
    padding: 20px; 
    box-sizing: border-box;
} 

/* 3. Card Image d'illustration spécifique (160px) */
.sidebar-card-image {
    width: 100%;
    height: 160px;
    background-size: cover;
    background-position: center;
    border: 1px solid var(--border-gray);
    border-radius: 15px;
    box-sizing: border-box;
}

.sidebar-card h2 { 
    font-size: 20px; /* Ajusté légèrement pour fitter harmonieusement dans 320px */
    margin-top: 0;
    margin-bottom: 20px; 
} 

.sidebar-row-item { 
    display: flex; 
    gap: 12px; 
    align-items: center; /* Centrage aligné sur une seule ligne */
    margin-bottom: 15px; 
} 

.sidebar-row-item:last-child {
    margin-bottom: 0; /* Nettoyage de la marge sur le dernier item */
}

.sidebar-row-item svg { 
    flex-shrink: 0; 
    color: var(--primary); 
} 

.step-circle-icon { 
    width: 26px; 
    height: 26px; 
    background-color: var(--primary); 
    color: var(--white); 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 13px; 
    font-weight: 600; 
    flex-shrink: 0; 
} 

.card-basic-center { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    text-align: center; 
    padding: 30px 20px; 
} 

.card-basic-center img { 
    max-width: 100px; 
    margin-bottom: 15px; 
}

/* card de recherche */

.sidebar-card-search {
    width: 100%;
    height: 160px;
    background-size: cover;
    background-position: center;
    border: 1px solid var(--border-gray);
    border-radius: 15px;
    box-sizing: border-box;
}

.rightSideBarSearch_card { 
    background-color: var(--white); 
    width: 100%; 
    border-radius: 20px; 
    padding: 25px; 
    display: flex; 
    flex-direction: column; 
    justify-content: flex-start; 
    gap: 20px; 
    box-shadow: 0 10px 25px rgba(0,0,0,0.1); 
    box-sizing: border-box;
} 

.rightSideBarSearch_card h3 {
    font-size:20px;
}

.rightSideBarSearch_field { 
    width: 100%; 
    height: 55px; 
    padding: 0 20px; 
    border-radius: 15px; 
    border: 1px solid var(--border-gray); 
    background-color: var(--bg-main); 
    font-size: 16px; 
    outline: none; 
    box-sizing: border-box;
} 

.rightSideBarSearch_field:focus {
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.rightSideBarSearch_submit, .article_btnvert { 
    width: 100%; 
    height: 55px; 
    margin-top: 20px;
    background-color: var(--primary); 
    color: var(--white); 
    border: none; 
    border-radius: 15px; 
    font-size: 16px; 
    font-weight: 600; 
    cursor: pointer; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 8px; 
    box-shadow: 0 5px 15px rgba(91, 179, 32, 0.3); 
    transition: background-color 0.3s, box-shadow 0.3s; 
} 

.article_btnvert_100pc {
    height: 55px;
    padding: 0 24px; /* Ajuste l'espace à gauche et à droite du texte */
    margin-top: 20px;
    background-color: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 15px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex; /* S'adapte au contenu au lieu d'occuper 100 % de la largeur */
    width: fit-content; /* Sécurité supplémentaire si un parent force la largeur */
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 5px 15px rgba(91, 179, 32, 0.3);
    transition: background-color 0.3s, box-shadow 0.3s;
}

.rightSideBarSearch_submit:hover, .article_btnvert:hover { 
    background-color: #5bb320; 
    box-shadow: 0 6px 20px rgba(91, 179, 32, 0.5);
}

/* Badge circulaire vert pour les 10 ans */
.badge-years-circle {
    width: 100px;
    height: 100px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    
    /* Centrage et disposition en colonne */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    
    /* Marges et espacements */
    margin-bottom: 15px;
    padding: 10px;
    box-sizing: border-box;
    
    /* Typographie */
    font-size: 12px;
    line-height: 1.2;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
    text-align: center;
}

/* Style spécifique pour le chiffre "10" */
.badge-years-circle .badge-years-number {
    font-size: 24px;
    font-weight: 800; /* Gras marqué */
    line-height: 1;
    margin: 2px 0;
}

/* Card spécifique pour la publicité */
.sidebar-card-ad {
    position: relative;
    height: 160px; /* Aligné sur la hauteur de la carte image */
    background-color: var(--bg-main); /* Fond gris clair discret */
    border: 1px dashed var(--border-gray); /* Bordure en pointillés pour l'aspect zone pub */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    overflow: hidden;
}

/* Tag "Publicité" en haut à droite */
.ad-tag {
    position: absolute;
    top: 10px;
    right: 12px;
    font-size: 11px;
    font-weight: 500;
    color: #888888; /* Gris discret */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    user-select: none;
}

/* Texte central "Espace publicité" */
.ad-content {
    font-size: 15px;
    font-weight: 600;
    color: #555555;
    text-align: center;
    letter-spacing: 0.5px;
}

/* Card Google Review limitée à 60px max */
.google-review-card {
    background-color: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 15px;
    height: 60px;
    max-height: 60px;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
    
    /* Centrage parfait des éléments en ligne */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

/* Typographie et couleurs du logo Google */
.google-logo {
    font-family: 'Product Sans', 'Arial', sans-serif;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: -0.5px;
    user-select: none;
}
.google-logo .g-blue { color: #4285F4; }
.google-logo .g-red { color: #EA4335; }
.google-logo .g-yellow { color: #FBBC05; }
.google-logo .g-green { color: #34A853; }

/* Étoiles jaunes officielles Google */
.google-stars {
    display: flex;
    gap: 2px;
}
.google-stars svg {
    width: 18px;
    height: 18px;
    color: #F4B400; /* Jaune or officiel Google Review */
    flex-shrink: 0;
}

/* Texte du nombre d'avis en gris */
.google-review-count {
    font-size: 14px;
    font-weight: 500;
    color: #70757a; /* Gris neutre Google */
    font-family: 'Inter', sans-serif;
}

/* Card générique Swiss Made (Hauteur min 60px adaptable) */
.swiss-made-card {
    background-color: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 15px;
    
    /* Hauteur minimale de 60px, s'agrandit si le contenu déborde */
    min-height: 60px; 
    height: auto;
    width: 100%;
    padding: 12px 20px; /* Padding vertical léger pour laisser respirer si agrandissement */
    box-sizing: border-box;
    
    /* Centrage parfait horizontal et vertical */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Gestion du comportement de l'image */
.swiss-logo-img {
    max-height: 40px; /* Laisse 10px de marge en haut/bas sur les 60px minimum */
    max-width: 100%;
    object-fit: contain;
    display: block;
    border-radius: 5px;
}

.sidebar-card h2 { font-size: 24px; margin-bottom: 20px; } 
.sidebar-row-item { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 15px; } 
.sidebar-row-item svg { flex-shrink: 0; color: var(--primary); } 

.step-circle-icon { 
    width: 26px; 
    height: 26px; 
    background-color: var(--primary); 
    color: var(--white); 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 13px; 
    font-weight: 600; 
    flex-shrink: 0; 
} 

.card-basic-center { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    text-align: center; 
    padding: 30px 20px; 
} 

.card-basic-center img { max-width: 100px; margin-bottom: 15px; } 

/* ========================================================================== 
   COMPOSANT MODAL 
   ========================================================================== */ 
.modal-overlay { 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background-color: rgba(45, 45, 45, 0.6); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    z-index: 1000; 
    opacity: 0; 
    pointer-events: none; 
    transition: opacity 0.3s ease; 
} 

.modal-overlay.open { 
    opacity: 1; 
    pointer-events: auto; 
} 

.modal-content { 
    background-color: var(--white); 
    padding: 30px; 
    border-radius: 15px; 
    width: 100%; 
    max-width: 500px; 
    position: relative; 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); 
    text-align: center; 
    margin: 0 20px; 
    transform: translateY(-20px); 
    transition: transform 0.3s ease; 
} 

.modal-overlay.open .modal-content { transform: translateY(0); } 

.modal-close-btn { 
    position: absolute; 
    top: 15px; 
    right: 20px; 
    background: none; 
    border: none; 
    font-size: 28px; 
    color: var(--text-dark); 
    cursor: pointer; 
    line-height: 1; 
} 

.modal-close-btn:hover { color: var(--primary); } 
.modal-title { font-family: 'Poppins', sans-serif; font-size: 20px; color: var(--text-dark); margin-bottom: 15px; text-align: left; } 
.modal-text { font-size: 15px; color: var(--text-dark); margin-bottom: 25px; line-height: 1.6; text-align: left; } 
.modal-actions { display: flex; justify-content: center; gap: 15px; } 

.btn-modal-cancel { 
    background-color: var(--bg-main); 
    color: var(--text-dark); 
    border: none; 
    border-radius: 10px; 
    padding: 12px 24px; 
    font-size: 15px; 
    font-weight: 600; 
    cursor: pointer; 
    transition: background-color 0.2s; 
} 

.btn-modal-cancel:hover { background-color: #E5E5E5; } 

.btn-modal-confirm { 
    background-color: var(--primary); 
    color: var(--white); 
    border: none; 
    border-radius: 10px; 
    padding: 12px 24px; 
    font-size: 15px; 
    font-weight: 600; 
    cursor: pointer; 
    transition: background-color 0.2s; 
    display: inline-block; 
} 

.btn-modal-confirm:hover { background-color: #5bb320; color: var(--white); } 

/* ========================================================================== 
   MEDIA QUERIES COMPLETS 
   ========================================================================== */ 
@media (max-width: 1400px) { 
    .contact-grid { grid-template-columns: 1fr; } 
    .form-page-grid { grid-template-columns: 1fr; } 
    .team-grid { grid-template-columns: repeat(4, 1fr); } 
} 

@media (max-width: 1024px) { 
    h1 { font-size: 38px; } 
    h2 { font-size: 30px; } 
    h3 { font-size: 22px; } 
    .grid-three-cols { grid-template-columns: repeat(2, 1fr); } 
    .grid-two-cols-equal { grid-template-columns: 1fr; } 
    .team-grid { grid-template-columns: repeat(3, 1fr); } 


    .mobile-header-phone {
        display: flex;
        align-items: center;
        text-decoration: none;
        margin-left: auto;
        /*margin-right: 70px;*/ /* si label swiss visible*/
        margin-right: 15px;
    }

    .header-phone-box {
        width: 40px;
        height: 40px;
        background-color: var(--primary-light);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .header-phone-box img,
    .header-phone-box svg {
        width: 20px;
        height: 20px;
        filter: invert(43%) sepia(94%) saturate(882%) hue-rotate(61deg) brightness(132%) contrast(66%);
    }
    
    .burger-btn { display: block; } 
    
    main{
        margin-bottom: 195px;
    }
    .main-nav { 
        display: none; 
        position: absolute; 
        top: 80px; 
        left: 0; 
        width: 100%; 
        background-color: var(--white); 
        flex-direction: column; 
        padding: 20px; 
        box-shadow: 0 4px 10px rgba(0,0,0,0.05); 
        margin: 0; 
    } 


    
    .main-nav.open { display: flex; } 
    .main-menu { flex-direction: column; width: 100%; text-align: left; } 
    .phone-container { margin-top: 15px; width: 100%; text-align: center; } 
    

    .swisslabel-brand{
        right: 70px;
        display:none;
    }
    /* CORRECTION ICI : Nettoyage du conflit de grille pour laisser agir le colonnage */
    .submenu-inner { 
        display: grid;
        grid-template-columns: repeat(2, 1fr); 
        grid-auto-flow: column; 
        grid-template-rows: repeat(3, auto); /* 3 lignes de haut */
        gap: 12px 30px;
    }
    
    .hero-inner { flex-direction: column; justify-content: center; gap: 30px; padding: 40px 20px;} 
    .hero-section { height: auto; padding: 40px 0; } 
    .hero-right-card { width: 100%; max-width: 450px; height: auto; gap: 20px; } 

    /* home hide in mobile*/
    #category-bar, #txt-home-scenario, #home-section-immobilier, #home-section-magazine, #home-section-publicite, .form-sidebar{
        display:none !important;
    }
    

    .hero-features {
        gap:15px;
    }
        .feature-item {
        font-size: 12px;
    }

    /* form hide right bar */

    /* sucess process */
    .form-success-end-cards {
        display: flex;
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .form-success-end-card {
        flex: 1;
        background-color: var(--bg-main);
        border: 1px solid var(--primary);
        border-radius: 8px;
        padding: 20px 15px;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .form-success-end-card-img-wrap {
        height: 50px;
    }

} 

/* ========================================================================== 
   RESPONSIVE ACCORDÉON (TABLETTE / MOBILE)
   ========================================================================== */ 
@media (max-width: 992px) {
    .steps-video-grid {
        grid-template-columns: 1fr; /* Passe sur une seule colonne */
        gap: 30px;
    }
    .step-video-player {
        width: 100%; /* La vidéo prend toute la largeur disponible sur petit écran */
        max-width: 550px;
    }
    .support-cta-box {
        flex-direction: column; /* Le bouton passe en dessous sur mobile */
        text-align: center;
        padding: 20px;
    }
    .support-text-side {
        flex: 1 1 100%;
    }
    .support-btn-side {
        justify-content: center;
        width: 100%;
    }
        .pro-benefits-grid {
        grid-template-columns: 1fr; /* Bascule sur 1 seule colonne sur tablette/mobile */
        gap: 30px;
    }
}

@media (max-width: 768px) { 
    .grid-three-cols { grid-template-columns: 1fr; } 

    .team-grid-3c,
    .team-grid-4c,
    .team-grid-5c,
    .team-grid-6c { 
        grid-template-columns: repeat(2, 1fr); 
    }
    
    /* Aligne le sous-menu sur une seule colonne verticale ordonnée pour mobile */
    .submenu-inner { 
        display: grid;
        grid-template-columns: 1fr; 
        grid-auto-flow: row; /* Repasse en mode normal */
        grid-template-rows: none; 
        gap: 12px 0;
        padding: 15px;
    }
    
    .team-grid { grid-template-columns: repeat(2, 1fr); } 
    .form-row-2cols { grid-template-columns: 1fr; gap: 5px; } 
    .form-row-2cols .form-label-custom { padding-top: 0; } 
    
    .footer-inner { 
        position: static; 
        flex-direction: column; 
        justify-content: center; 
        align-items: center; 
        gap: 20px; 
        padding: 25px 15px; 
        text-align: center; 
    } 
    
    .footer-inner::before {
        display: none;
    }
    
    .footer-center-group { 
        flex-direction: column; 
        gap: 20px; 
        width: 100%; 
    } 
    
    .footer-links { 
        flex-direction: row; 
        flex-wrap: wrap; 
        justify-content: center; 
        width: 100%; 
        overflow-x: visible; 
        gap: 15px 20px; 
    } 
    
    .footer-links li { white-space: normal; } 
    
    .footer-copy { 
        order: 2; 
        font-size: 13px; 
        width: 100%; 
        margin: 0 !important; 
        white-space: normal !important; 
        overflow-wrap: break-word; 
        padding: 0 10px; 
        box-sizing: border-box; 
    } 
    
    .footer-socials { order: 3; justify-content: center; } 
    
    .developped-by { 
        order: 4; 
        width: 100%; 
        justify-content: center; 
        margin-top: 15px; 
        flex: none; 
    } 
    
    .developped-by, 
    .developped-by a { 
        white-space: nowrap !important; 
        display: inline-block !important; 
    } 
} 

@media (max-width: 480px) { 
    h1 { font-size: 32px; } 
    h2 { font-size: 28px; } 
    h3 { font-size: 22px; } 

    .team-grid-3c,
    .team-grid-4c,
    .team-grid-5c,
    .team-grid-6c { 
        grid-template-columns: repeat(2, 1fr); 
        justify-items: center;
    }
    .team-card{
        width: 160px;
        height: 265px;
    }
    .btn-modal-confirm{
        padding: 12px;
        font-size:14px;
    }
    .team-name{
        font-size:14px;
    }
    .team-role{
        font-size:12px;
    }
    .logo-main { width: 140px; } 
    .phone-img { width: 100%; max-width: 280px; } 
}

@media (max-width: 360px) { 
    .team-grid { grid-template-columns: 1fr; } 
}