    /*
Theme Name: Thème Comenge Design
Description: Thème enfant de Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI:  https://pierrecommenge-design.fr
Template: salient
Version: 15.5
*/
    /*----------------------------------------------------------------------------------------------------------------------------
                                          TESTS ELEMENTS SALIENT > FANCY BOX 
-----------------------------------------------------------------------------------------------------------------------------*/
    /* Appliquer une bordure sur l’élément ou son hover + Taille texte courant*/
    .nectar-fancy-box {
      border: 1px solid #FFF !important;
      background: transparent !important;
      font-size: 15px !important;
    }
    /* Cibler uniquement les listes dans les Fancy Box */
    .container .nectar-fancy-box ul li {
      list-style-image: url(img/list-tiret-blanc.png) !important;
      margin-top: 3px !important;
    }
    /*Retour à la ligne : limiter le retour à la ligne en Ipad Pro*/
    .nectar-fancy-box[data-style=hover_desc] .hover-content {
      max-width: 90% !important;
    }
    /*Fonds couleur dégradés : Supprimer*/
    .nectar-fancy-box[data-style=hover_desc] .parallax-layer {
      display: none !important;
    }
    /*----------------------------------------------------------------------------------------------------------------------------
                                          PORTFOLIO SALIENT
-----------------------------------------------------------------------------------------------------------------------------*/
    /*.single-portfolio .row .col.section-title h1 {
    text-align: left!important;
}*/
    /* PORTFOLIO : Sidebar droite */
    .single-portfolio #sidebar {
      padding-left: 20px !important;
      margin-top: -35px !important;
    }
    @media only screen and (max-width: 768px) {
      .single-portfolio #sidebar {
        padding-left: 30px !important;
        margin-top: -15px !important;
      }
    }
    /* PORTFOLIO : hauteur du contenu des pages */
    .single-portfolio .container .row {
      padding-bottom: 180px !important;
    }
    /*Filet sous le titre : supprimer*/
    .single-portfolio .row.project-title .container .title-wrap {
      border: none !important;
    }
    /*Menu "retour au portfolio" (icône 9 petits carréen bas des référénce)*/
    #portfolio-nav ul li {
      list-style: none !important;
    }
    /*Filtre de catégories : Éviter le débordement à gauche */
    body:not(.home) .portfolio-filters-inline[data-alignment="left"] .container > ul > li:first-child {
      padding-left: 10px !important;
      overflow: visible !important;
    }
    @media only screen and (max-width: 1024px) {
      /*Filtre de catégories : Éviter le débordement à gauche */
      body:not(.home) .portfolio-filters-inline[data-alignment="left"] .container > ul > li:first-child {
        padding-left: 0px !important;
        margin-left: -40px !important;
      }
    }
    @media only screen and (max-width: 768px) {
      /*Filtre de catégories : Éviter le débordement à gauche */
      body:not(.home) .portfolio-filters-inline[data-alignment="left"] .container > ul > li:first-child {
        padding-left: 20px !important;
      }
    }
    /*Nagigation gauche/droite (en bas d'écran): supprimer*/
    .container #prev-link li, .container #next-link a {
      display: none !important;
    }
    /*----------------------------------------------------------------------------------------------------------------------------
                                          HEADER + ITRES DE PAGES (hors home !!)
-----------------------------------------------------------------------------------------------------------------------------*/
    /*HOME*/
    /* Home : Masquer le titre h1 uniquement sur la page d’accueil */
    /* Home : Masquer le header de page (H1 et son conteneur) sur la page d'accueil */
    .home #page-header-wrap {
      display: none !important;
    }
    /*AUTRES PAGES*/
    /*  Header : masquer le fond gris de l'overlay*/
    .page-header-overlay-color {
      display: none !important;
    }
    /* Titre (Deskto) */
    #page-header-wrap {
      /*Titre h1 : descendre*/
      margin-top: 150px !important;
    }
    /*Header : remonter*/
    body:not(.home) main, body:not(.home) .main-content, body:not(.home) .container-wrap {
      padding-top: 0px !important;
      margin-top: -40px !important; /* ajuste selon ton menu desktop */
    }
    /*----------------------------------------------------------------------------------------------------------------------------
                                          FORMATAGE
-----------------------------------------------------------------------------------------------------------------------------*/
    /*GRAND TIRES H2*/
    /*Typo H2 et H3 : couleur*/
    .home .container h2, .container h2, .container h4 {
      color: #009CFF !important;
    }
    .home .container h2 {
      font-size: 60px !important;
      line-height: 68px !important;
      padding-bottom: 45px !important;
      letter-spacing: -1px !important;
      word-spacing: 10px !important;
      /*      margin-top: 50px !important;
*/ margin-bottom: -40px !important;
    }
    /*FORMATAGE GENERAL*/
    /*H1
    .container h1 {
      margin-bottom: 80px !important;
    }
    @media only screen and (max-width: 1024px) {
      .home .container h1 {
      margin-bottom: 180px !important;

      }
    }

    @media only screen and (max-width: 768px) {
      .home .container h1 {
      margin-bottom: 180px !important;

      }
    }
*/
    .container h2 {
      margin-bottom: 15px !important;
    }
    @media only screen and (max-width: 1024px) {
      .home .container h2 {
        font-size: 40px !important;
        line-height: 46px !important;
        word-spacing: 5px !important;
      }
    }
    .container h3 {
      padding-top: 12px !important;
      padding-bottom: 4px !important;
    }
    .container h4 {
      padding-bottom: 8px !important;
    }
    .container p {
      padding-bottom: 12px !important;
      text-align: justify !important;
      color: #2A2A2A !important;
    }
    .container p a {
      color: #4387BB !important;
    }
    /*----------------------------------------------------------------------------------------------------------------------------
                                       TOGGLE (ACCORDEON)
-----------------------------------------------------------------------------------------------------------------------------*/
    /*Titre*/
    .toggle-title a {
      font-size: 16px !important;
      line-height: 22px !important;
    }
    /*Toggle > contenus*/
    .container .inner-toggle-wrap {
      padding-top: 15px !important;
      padding-bottom: 25px !important;
      padding-left: 25px !important;
      padding-right: 25px !important;
    }
    /*----------------------------------------------------------------------------------------------------------------
              									LISTE
-----------------------------------------------------------------------------------------------------------------*/
    .container ul li, .container ul ul li, .container ul li, .container ul ul li {
      margin-left: -8px !important;
    }
    .container ul li, .container ul ul li {
      list-style-type: none !important;
      margin-top: 8px !important;
    }
    .container ul li {
      list-style-image: url(img/list-tiret-noir.png) !important;
    }
    .container ul ul li {
      list-style-image: url(img/list-tiret-noir-niveau2.png) !important;
    }
    .container ol li {
      list-style-image: none !important;
      margin-top: 12px !important;
      list-style-position: outside !important;
      list-style-type: decimal !important;
      margin-left: -8px !important;
    }
    /*----------------------------------------------------------------------------------------------------------------------------
                                        CONTACT
-----------------------------------------------------------------------------------------------------------------------------*/
   
/* VCARD : Appliquer un style au bouton */
.vcard-button {
    display: inline-block;
    min-width: 232px;
  height: 232px;
    background-color: #009CFF;
    color: white;
    text-align: center;
    line-height: 200px; /* Centre verticalement */
    font-size: 16px;
    border-radius: 5px; /* Si vous souhaitez des bords arrondis */
    text-decoration: none; /* Supprimer le soulignement */
}

    /*----------------------------------------------------------------------------------------------------------------------------
                         HOME > BOUTON "QUELQUES REALISATIONS"
-----------------------------------------------------------------------------------------------------------------------------*/
    .wrapper-cercle {
      padding-bottom: 60px; /* remplace margin par padding */
    }
    .bouton-cercle {
      width: 180px;
      height: 180px;
      border-radius: 50%;
      border: 2px solid white;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
      color: white;
      text-decoration: none;
      font-family: 'Poppins', sans-serif;
      margin: 60px auto 0 auto; /* plus de margin-bottom ici */
      transition: all 0.3s ease;
      /*      .section-spacer}
    .bouton-cercle .ligne-haut {
      font-size: 20px;
      line-height: 1;*/
    }
    /*Texte 2ème ligne*/
    .bouton-cercle .ligne-bas {
      font-size: 30px;
      line-height: 1;
      margin-top: 4px;
      letter-spacing: 0.5px;
    }
    .bouton-cercle:hover {
      background-color: white;
      color: #111;
    }
    /* ============================================================================================================ 
                                            0) MENU PRINCIPAL PERSONNALISE
    ============================================================================================================ */
    /* ============================== */
    /* ANCRAGES : GESTION DE LA HAUTEUR DE TOUS LES ANCRAGES + SUR MOBILE 
ATTENTION : PENSER À CHANGER AUSSI LE MARGIN-TOP DE LA MEME VALEUR QUE LE HEIGHT !!!!!!!!!!!*/
    /* ============================== */
    #motiondesign::before, #webdesign::before, #logos::before, #clients::before, #contact::before {
      content: "" !important;
      display: block !important;
      height: 230px !important;
      margin-top: -230px !important;
      visibility: hidden !important;
    }
    @media (max-width: 1024px) {
      #motiondesign::before, #webdesign::before, #logos::before, #clients::before, #contact::before {
        content: "" !important;
        display: block !important;
        height: 170px !important;
        margin-top: -170px !important;
        visibility: hidden !important;
      }
    }
    /* ============================================================================================================ 
                                            1) MENU : CONTENU DE PAGE HAUTEUR
    ============================================================================================================ */
    /*HOME*/
    /*Home : hauteur de la photo : compenser avec hauteur du contenu*/
    @media (min-width: 1025px) {
      .home main, .home .main-content, .home .container-wrap {
        margin-top: 80px !important;
      }
    }
    @media (max-width: 1024px) {
      .home main, .home .main-content, .home .container-wrap {
        margin-top: 60px !important;
      }
    }
    @media (max-width: 768px) {
      .home main, .home .main-content, .home .container-wrap {
        margin-top: 50px !important;
      }
    }
    /*CONTENU DE TOUTES LES PAGES*/
    @media (min-width: 1025px) {
      main, .main-content, .container-wrap {
        margin-top: 210px !important; /* hauteur réelle de ton menu sticky */
      }
    }
    /*TITRE H1 : ESPACE AU-DESSOUS*/
    #page-header-bg {
      padding-bottom: 60px !important;
    }
    @media (max-width: 768px) {
      #page-header-bg {
        padding-bottom: 100px !important;
      }
    }
    /* ==============================
                HEADER + LOGO
     ============================== */
    /* Logo : Masquer le logo Salient + Menu header uniquement sur desktop */
    @media (min-width: 1025px) {
      #logo, #logo img {
        display: none !important;
      }
      header#top nav > ul, header#top .sf-menu {
        display: none !important;
      }
    }
    /* Logo : Garder logo visible en mobile (utile pour hamburger) */
    @media (max-width: 1024px) {
      #logo, #logo img {
        display: block !important;
      }
    }
    /* Nouveau Menu : Empêcher le menude s'étirer au-delà de 1425px sur desktop */
    @media (min-width: 1025px) {
      .section-sticky-menu {
        max-width: 1425px !important;
        margin-left: auto !important;
        margin-right: auto !important;
      }
    }
    /* ============================== */
    /* MENU : STRUCTURE FLEX
    /* ============================== */
    .menu-custom-pierre ul.menu {
      display: flex !important;
      justify-content: space-between;
      align-items: center;
      list-style: none !important;
      margin: 0 !important;
      padding: 0 !important;
      width: 100%;
    }
    .menu-custom-pierre ul.menu li {
      flex: 0 1 auto;
      text-align: center;
    }
    /* ============================================================================================================ 
                             2) MENU PRINCIPAL "STICKY" : POSITION FIXE et EFFET OMBRE QUI S'AFFICHE AU BAS DU MENU EN SURVOL (desktop & mobile) 
    ============================================================================================================ */
    /* L'ombre sous le menu qui s'affiche uniquement au scroll 
Pour définir le moment où l'ombre apparaît (Cript JS), Aller : Theme Salient > Global Sections > Logo en-tête personnalisé > Elément "html brut" > Javascript : éditer la ligne "if (window.scrollY > 10) {*/
    /* ============================== */
    /* Supprimer la marge interne WpBakery */
    .section-sticky-menu .wpb_column {
      padding-left: 0 !important;
      padding-right: 0 !important;
    }
    /* Fixer le menu en haut avec marges */
    .section-sticky-menu {
      position: fixed !important;
      top: 0 !important;
      left: 0 !important; /* Pour la marge gauche */
      right: 0 !important; /* Pour la marge droite */
      padding-top: 10px !important;
      padding-right: 60px !important;
      padding-left: 68px !important;
      padding-bottom: 10px !important;
      width: auto !important; /* Laisser la largeur automatique */
      box-sizing: border-box !important;
      z-index: 9999 !important;
    }
    /* Menu centré dans son container avec marges 0 */
    .menu-custom-pierre {
      padding-left: 0 !important;
      padding-right: 0 !important;
      margin-left: auto !important;
      margin-right: auto !important;
      max-width: 1425px !important; /* Largeur max du container */
      width: 100% !important;
      box-sizing: border-box !important;
    }
    /* Suppression des puces dans menu personnalisé */
    .container .menu-custom-pierre ul, .container .menu-custom-pierre li {
      list-style: none !important;
    }
    /*LOGO : HAUTEUR à Hamoniser avec la hauteur du contenu de page : section-spacer*/
    .logo-menu-commenge-design {
      margin-top: 60px !important;
    }
    /* CONTENU DES PAGE : POSITION HAUTEUR PAR RAPPORT AU LOGO (Bloc vide créé dans Global Sections > Menu principal) 
    .section-spacer {
      margin-top: 150px !important;
    }*/
    /*Ombre qui s'active uniquement au scroll (En lien avec le JS dans Global Sections)*/
    .section-sticky-menu.scrolled {
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07) !important;
    }
    /* ============================================================================================================ 
                                    3) MENU PRINCIPAL : STYLES et EFFET HOVER DES RUBRIQUES
    ============================================================================================================ */
    /*Effet hover "Slide des textes" 
Fonctionne avec un JS : Theme Salient > Global Sections > Logo en-tête personnalisé > Elément "html brut" > Javascript*/
    .menu-custom-pierre ul.menu li a {
      position: relative;
      display: inline-block;
      text-decoration: none;
      color: var(--nectar-menu-color, #000);
      overflow: hidden;
      height: 26px;
      font-family: 'Poppins', sans-serif;
      font-weight: 300;
      font-size: 20px;
      line-height: 26px;
      clip-path: inset(0 0 0 0);
    }
    .menu-custom-pierre ul.menu li a span {
      display: block;
      transition: transform 0.4s ease;
    }
    .menu-custom-pierre ul.menu li a::before {
      content: attr(data-text);
      position: absolute;
      left: 0;
      top: 0;
      width: 100%;
      color: var(--nectar-menu-hover-color, #000);
      transition: transform 0.4s ease;
      transform: translateY(100%);
      pointer-events: none;
    }
    .menu-custom-pierre ul.menu li a:hover span {
      transform: translateY(-100%);
    }
    .menu-custom-pierre ul.menu li a:hover::before {
      transform: translateY(0%);
    }
    /* ============================================================================================================ 
                           4)  MENU PRINCIPAL : VERSION MOBILE (≤1024px)
    ============================================================================================================ */
    /*Spécifique IPAD et 1024 (hors ipad Pro et smartphone)*/
    @media (max-width: 1024px) {
      /* Cacher menu personnalisé desktop */
      .menu-custom-pierre {
        display: none !important;
      }
      /* Masquer le logo Salient natif */
      #logo, #logo img {
        display: none !important;
      }
      /* Section sticky full largeur et fixe */
      .section-sticky-menu {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        padding: 10px 50px !important;
        background: #fff !important;
        box-sizing: border-box !important;
        z-index: 9990 !important;
      }
      /* Logo personnalisé à droite, padding droit 10px */
      .logo-menu-commenge-design {
        display: block !important;
        max-width: 180px !important; /* taille du logo */
        margin-top: 70px !important; /* distance depuis le haut */
        margin-left: auto !important; /* pousse à droite */
        margin-right: 0 !important; /* pas de marge à droite */
        padding-right: 10px !important; /* padding droit ajouté */
      }
      /* CONTENU DES PAGE : POSITION HAUTEUR PAR RAPPORT AU LOGO (Bloc vide créé dans Global Sections > Menu principal) */
      /*    .section-spacer {
      margin-top: 100px !important;
    }*/
      /* Menu mobile > Fond : supprimer bande blanche en haut pour avoir un fond couleur total */
      #header-outer, #header-outer > .container, #header-outer > .row {
        padding: 0 !important;
      }
      /* Ajustement toggle widget */
      #top .slide-out-widget-area-toggle {
        top: 25px !important;
      }
    }
    .slide-out-widget-area-toggle a > span {
      margin-right: 20px !important;
    }
    /*Spécifique IPAD PRO*/
    @media screen and (device-width: 1024px) and (device-height: 1366px) and (orientation: portrait) and (hover: none) {
      .slide-out-widget-area-toggle a > span {
        top: 20px !important;
        margin-right: 20px !important;
      }
      .logo-menu-commenge-design {
        margin-top: 100px !important; /* distance depuis le haut */
      }
    }
    /*Spécifique SMARTPHONE*/
    @media (max-width: 430px) {
      .section-sticky-menu {
        padding: 10px 20px !important;
      }
      .slide-out-widget-area-toggle a > span {
        margin-right: 10px !important;
      }
      .logo-menu-commenge-design {
        margin-bottom: -20px !important; /* distance depuis le haut */
      }
    }
    /*----------------------------------------------------------------------------------------------------------------
              									FOOTER
-----------------------------------------------------------------------------------------------------------------*/
    /*Footer + Copiright > Texte centré sinon c'est le style p qui prémpte*/
    #footer-outer #footer-widgets .col p, #footer-outer #copyright p {
      text-align: center !important;
      color: #CCCCCC !important;
    }
    /*----------------------------------------------------------------------------------------------------------------------------
                                          STYLES CUSTOM
-----------------------------------------------------------------------------------------------------------------------------*/
    /*BOUTON SOURCE ARTICLE*/
    .container .bouton-source-article a {
      transition: 0.5s !important; /*Transition hover*/
      font-size: 18px !important;
      background-color: #a5cfef;
      padding-top: 8px;
      padding-right: 24px;
      padding-bottom: 9px;
      padding-left: 24px;
      text-align: center !important;
      color: #FFF !important;
      display: block !important;
      margin-top: 15px !important;
    }
    .container .bouton-source-article a:hover {
      color: #FFFFFF !important;
      background-color: #001044;
      padding-top: 8px;
      padding-bottom: 9px;
      padding-left: 35px;
    }
    .credit-photo {
      font-size: 14px !important;
      color: #999 !important;
      text-align: left !important;
      font-style: italic !important;
      margin-top: -10px !important;
      margin-bottom: -10px !important;
    }
    /*TEXTE EXERGUE BLEU MARINE*/
    .texte-exergue-bleu-marine {
      color: #001B73 !important;
      font-weight: bold !important;
    }
    /*TEXTE EXERGUE BLEU CLAIR*/
    .texte-exergue {
      color: #64A6D7 !important;
      /*    font-weight: 900 !important;*/
    }
    #footer-widgets h3 {
      color: #5F5F5F !important;
      margin-bottom: -15px !important;
    }
    /*------------------------------------------------------------------------------------------------------------------------
                                          BOUTON BACK TO TOP (ALSACREAT)
-----------------------------------------------------------------------------------------------------------------------------*/
    body[data-button-style*="rounded"] #to-top i {
      display: none !important;
    }
    body[data-button-style*="rounded"] #to-top {
      box-shadow: none !important;
      overflow: visible !important;
      border-radius: 0 !important;
      border-left: 2rem solid #0000 !important;
      border-right: 2rem solid #0000 !important;
      /*Position largeur, pour l'avoir centré : left: 50%*/
      right: 1.8% !important;
      transform: translate(-50%, -50%) !important;
      box-sizing: content-box !important;
    }
    body[data-button-style*="rounded"] #to-top, body[data-button-style*="rounded"] #to-top.dark, body[data-button-style*="rounded"] #to-top:hover, body[data-button-style*="rounded"] #to-top.dark:hover {
      background-color: rgba(0, 0, 0, 0.15) !important;
    }
    body[data-button-style*="rounded"] #to-top::before, body[data-button-style*="rounded"] #to-top::after, body[data-button-style*="rounded"] #to-top:hover::before, body[data-button-style*="rounded"] #to-top:hover::after {
      --to-top-thickness: 2px;
      opacity: 1 !important;
      width: 100% !important;
      height: var(--to-top-thickness) !important;
      background-color: #009CFF !important;
      top: calc(50% - var(--to-top-thickness) / 2) !important;
      border-radius: 0 !important;
      transform: rotate(0deg) !important;
    }
    body[data-button-style*="rounded"] #to-top::before {
      left: -49% !important;
    }
    body[data-button-style*="rounded"] #to-top::after {
      left: 49% !important;
    }
    body[data-button-style*="rounded"] #to-top:hover::before {
      transform: translateX(25%) rotate(-60deg) !important;
    }
    body[data-button-style*="rounded"] #to-top:hover::after {
      transform: translateX(-25%) rotate(60deg) !important;
    }
    body[data-button-style*="rounded"] #to-top::before, body[data-button-style*="rounded"] #to-top::after {
      transition: all 0.3s cubic-bezier(.55, 0, .1, 1) !important;
    }