/* ========================================================================== 
   TH3REALFR 6.7.1.598.31 — HEADER PC GLOBAL FINALISÉ
   Header identique partout + mega menus + recherche globale.
   ========================================================================== */
.th3pc-global-header-shell-v59830{display:none}
@media (min-width:1041px){
  body.th3-global-header-v59830-enabled{padding-top:0!important}
  body.th3-global-header-v59830-enabled #th3UniverseHeader{display:none!important}
  .th3pc-global-header-shell-v59830{
    position:relative!important;z-index:214748100!important;display:block!important;
    width:100%!important;max-width:none!important;margin:0!important;padding:0!important;overflow:visible!important;
    background:#02070d!important;
  }
  .th3pc-header-v59827{
    position:relative!important;z-index:214748101!important;display:block!important;
    width:100%!important;height:76px!important;min-height:76px!important;margin:0!important;padding:0!important;
    overflow:visible!important;box-sizing:border-box!important;
    background:linear-gradient(180deg,#02070d 0%,#030b13 100%)!important;
    border-top:1px solid rgba(228,178,77,.12)!important;
    border-bottom:1px solid rgba(228,178,77,.15)!important;
    box-shadow:0 12px 34px rgba(0,0,0,.24)!important;
  }
  .th3pc-header-inner-v59827{
    display:grid!important;grid-template-columns:minmax(230px,23%) minmax(610px,1fr) minmax(330px,23%)!important;
    align-items:center!important;width:100%!important;height:100%!important;margin:0!important;padding:0 26px!important;box-sizing:border-box!important;
  }
  .th3pc-brand-v59827{
    display:flex!important;align-items:center!important;justify-content:flex-start!important;width:max-content!important;max-width:240px!important;height:100%!important;text-decoration:none!important;
  }
  .th3pc-brand-v59827 img{display:block!important;width:auto!important;height:60px!important;max-width:236px!important;object-fit:contain!important;object-position:left center!important}

  .th3pc-nav-v59827,.th3pc-nav-v59829{
    display:flex!important;align-items:stretch!important;justify-content:center!important;gap:clamp(20px,1.75vw,36px)!important;height:100%!important;min-width:0!important;overflow:visible!important;
  }
  .th3pc-nav-item-v59829{position:relative!important;display:flex!important;align-items:stretch!important;height:100%!important;min-width:0!important}
  .th3pc-nav-item-v59829>a,.th3pc-nav-v59827>a{
    position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;height:100%!important;padding:0 2px!important;
    color:rgba(242,244,246,.88)!important;font-size:clamp(12px,.72vw,15px)!important;font-weight:720!important;letter-spacing:.002em!important;line-height:1!important;text-decoration:none!important;white-space:nowrap!important;
  }
  .th3pc-nav-item-v59829>a:hover,.th3pc-nav-item-v59829>a.is-active,.th3pc-nav-v59827>a:hover,.th3pc-nav-v59827>a.is-active{color:#e4b24d!important}
  .th3pc-nav-item-v59829>a.is-active::after,.th3pc-nav-v59827>a.is-active::after{
    content:""!important;position:absolute!important;left:-4px!important;right:-4px!important;bottom:0!important;height:2px!important;background:#e4b24d!important;box-shadow:0 0 12px rgba(228,178,77,.26)!important;
  }
  .th3pc-nav-item-v59829>a::before{content:"";position:absolute;left:-14px;right:-14px;top:70%;height:27px}

  .th3pc-actions-v59827,.th3pc-actions-v59829{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:14px!important;height:100%!important;min-width:0!important}
  .th3pc-actions-v59827 a,.th3pc-actions-v59827 button{
    appearance:none!important;-webkit-appearance:none!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;
    height:42px!important;padding:0 21px!important;border-radius:999px!important;border:1px solid rgba(228,178,77,.28)!important;
    background:rgba(4,16,26,.64)!important;color:#edf1f4!important;font-family:inherit!important;font-size:clamp(12px,.69vw,14px)!important;font-weight:680!important;line-height:1!important;text-decoration:none!important;white-space:nowrap!important;box-sizing:border-box!important;cursor:pointer!important;
    transition:border-color .18s ease,background .18s ease,color .18s ease,box-shadow .18s ease!important;
  }
  .th3pc-actions-v59827 .is-search{min-width:134px!important}
  .th3pc-actions-v59827 .is-login{min-width:142px!important;color:#e4b24d!important;border-color:rgba(228,178,77,.48)!important}
  .th3pc-actions-v59827 a:hover,.th3pc-actions-v59827 button:hover{border-color:rgba(228,178,77,.72)!important;background:rgba(228,178,77,.055)!important;box-shadow:0 0 24px rgba(228,178,77,.055)!important}
  .th3pc-search-icon-v59827{position:relative!important;display:inline-block!important;width:15px!important;height:15px!important;flex:0 0 15px!important;border:2px solid #d5a746!important;border-radius:50%!important;box-sizing:border-box!important}
  .th3pc-search-icon-v59827::after{content:""!important;position:absolute!important;width:6px!important;height:2px!important;right:-5px!important;bottom:-2px!important;border-radius:2px!important;background:#d5a746!important;transform:rotate(45deg)!important;transform-origin:left center!important}
  .th3pc-user-icon-v59827{position:relative!important;display:inline-block!important;width:16px!important;height:17px!important;flex:0 0 16px!important}
  .th3pc-user-icon-v59827::before{content:""!important;position:absolute!important;left:50%!important;top:0!important;width:6px!important;height:6px!important;border:1.8px solid #e4b24d!important;border-radius:50%!important;transform:translateX(-50%)!important;box-sizing:border-box!important}
  .th3pc-user-icon-v59827::after{content:""!important;position:absolute!important;left:50%!important;bottom:0!important;width:13px!important;height:8px!important;border:1.8px solid #e4b24d!important;border-radius:8px 8px 3px 3px!important;transform:translateX(-50%)!important;box-sizing:border-box!important}

  /* Mega menus — disponibles sur toutes les pages, pas seulement la Home. */
  .th3pc-nav-popover-v59829{
    position:absolute!important;left:50%!important;top:calc(100% - 4px)!important;z-index:999!important;display:flex!important;flex-direction:column!important;
    width:320px!important;min-width:320px!important;padding:18px!important;border:1px solid rgba(228,178,77,.22)!important;border-radius:15px!important;
    background:radial-gradient(circle at 50% -30%,rgba(76,147,204,.10),transparent 38%),linear-gradient(180deg,rgba(7,19,31,.995),rgba(2,8,14,.99))!important;
    box-shadow:0 26px 70px rgba(0,0,0,.58),0 0 0 1px rgba(255,255,255,.018) inset!important;
    opacity:0!important;visibility:hidden!important;pointer-events:none!important;transform:translate(-50%,10px)!important;transition:opacity .16s ease,transform .16s ease,visibility .16s ease!important;box-sizing:border-box!important;
  }
  .th3pc-nav-item-v59829:hover .th3pc-nav-popover-v59829,.th3pc-nav-item-v59829:focus-within .th3pc-nav-popover-v59829{opacity:1!important;visibility:visible!important;pointer-events:auto!important;transform:translate(-50%,0)!important}
  .th3pc-nav-popover-v59829::before{content:"";position:absolute;left:0;right:0;top:-13px;height:14px}
  .th3pc-nav-popover-v59829>small{display:block!important;margin:0 0 5px!important;color:#d5a746!important;font-size:9px!important;font-weight:850!important;letter-spacing:.16em!important;line-height:1.2!important}
  .th3pc-nav-popover-v59829>strong{display:block!important;margin:0 0 12px!important;color:#f4f6f8!important;font-size:15px!important;font-weight:820!important;line-height:1.2!important}
  .th3pc-nav-popover-v59829>p{margin:0 0 13px!important;color:#9aa9b7!important;font-size:12px!important;font-weight:500!important;line-height:1.5!important}
  .th3pc-nav-popover-v59829 a{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;width:100%!important;height:auto!important;min-height:0!important;padding:9px 10px!important;margin:0!important;border-radius:8px!important;color:#d8e0e7!important;background:transparent!important;font-size:11px!important;font-weight:650!important;line-height:1.25!important;text-align:left!important;white-space:normal!important;text-decoration:none!important;box-sizing:border-box!important}
  .th3pc-nav-popover-v59829 a::after,.th3pc-nav-popover-v59829 a::before{display:none!important}
  .th3pc-nav-popover-v59829 a:hover,.th3pc-nav-popover-v59829 a:focus-visible{color:#fff!important;background:rgba(228,178,77,.085)!important;outline:none!important}
  .th3pc-nav-popover-v59829 a span{color:#d5a746!important;flex:0 0 auto!important}
  .th3pc-nav-popover-v59829 a.is-all{margin-top:8px!important;padding-top:12px!important;border-top:1px solid rgba(171,198,222,.10)!important;border-radius:0 0 8px 8px!important;color:#e4b24d!important}
  .th3pc-nav-empty-v59829{display:block;padding:10px;color:#8496a7;font-size:11px}

  /* Recherche globale. */
  .th3pc-search-modal-v59829{position:fixed!important;inset:0!important;z-index:2147482000!important;display:flex!important;align-items:flex-start!important;justify-content:center!important;padding:96px 24px 40px!important;box-sizing:border-box!important}
  .th3pc-search-modal-v59829[hidden]{display:none!important}
  .th3pc-search-backdrop-v59829{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:rgba(0,4,9,.80)!important;backdrop-filter:blur(12px)!important;-webkit-backdrop-filter:blur(12px)!important;cursor:default!important}
  .th3pc-search-panel-v59829{position:relative!important;z-index:2!important;width:min(900px,calc(100vw - 48px))!important;max-height:calc(100vh - 132px)!important;overflow:auto!important;padding:30px!important;border:1px solid rgba(228,178,77,.28)!important;border-radius:20px!important;background:radial-gradient(circle at 50% -20%,rgba(76,147,204,.17),transparent 40%),radial-gradient(circle at 82% 0,rgba(143,90,216,.08),transparent 34%),linear-gradient(180deg,#07131f 0%,#02080e 100%)!important;box-shadow:0 36px 100px rgba(0,0,0,.68)!important;color:#fff!important;box-sizing:border-box!important}
  .th3pc-search-panel-v59829>small{display:block!important;margin:0 0 8px!important;color:#d5a746!important;font-size:10px!important;font-weight:850!important;letter-spacing:.18em!important}
  .th3pc-search-panel-v59829 h2{margin:0!important;color:#fff!important;font-size:clamp(25px,2vw,34px)!important;font-weight:850!important;letter-spacing:-.035em!important;line-height:1.05!important}
  .th3pc-search-panel-v59829>p{margin:10px 0 22px!important;color:#9aa9b7!important;font-size:13px!important;line-height:1.55!important}
  .th3pc-search-close-v59829{position:absolute!important;top:16px!important;right:16px!important;display:flex!important;align-items:center!important;justify-content:center!important;width:36px!important;height:36px!important;padding:0!important;border:1px solid rgba(171,198,222,.13)!important;border-radius:50%!important;background:rgba(255,255,255,.035)!important;color:#fff!important;font:400 27px/1 Arial,sans-serif!important;cursor:pointer!important}
  .th3pc-search-field-v59829{display:flex!important;align-items:center!important;gap:13px!important;width:100%!important;height:58px!important;padding:0 17px!important;border:1px solid rgba(228,178,77,.34)!important;border-radius:13px!important;background:#020912!important;box-shadow:0 0 0 1px rgba(255,255,255,.015) inset!important;box-sizing:border-box!important}
  .th3pc-search-field-v59829:focus-within{border-color:rgba(228,178,77,.78)!important;box-shadow:0 0 0 3px rgba(228,178,77,.07)!important}
  .th3pc-search-field-v59829 input{flex:1 1 auto!important;min-width:0!important;height:100%!important;padding:0!important;border:0!important;outline:0!important;background:transparent!important;color:#fff!important;font-size:15px!important;font-weight:600!important;box-shadow:none!important}
  .th3pc-search-field-v59829 input::placeholder{color:#697b8d!important}
  .th3pc-search-field-v59829 kbd{display:inline-flex!important;align-items:center!important;height:25px!important;padding:0 8px!important;border:1px solid rgba(171,198,222,.13)!important;border-radius:6px!important;background:#0b1824!important;color:#8395a6!important;font-size:9px!important;font-family:inherit!important}
  .th3pc-search-state-v59829{min-height:18px!important;margin:14px 2px 10px!important;color:#8798a8!important;font-size:11px!important;line-height:1.4!important}
  .th3pc-search-results-v59829{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  .th3pc-search-result-v59829{display:grid!important;grid-template-columns:54px minmax(0,1fr) auto!important;gap:12px!important;align-items:center!important;min-height:76px!important;padding:10px!important;border:1px solid rgba(171,198,222,.10)!important;border-radius:11px!important;background:rgba(7,19,31,.68)!important;color:inherit!important;text-decoration:none!important;box-sizing:border-box!important}
  .th3pc-search-result-v59829:hover,.th3pc-search-result-v59829:focus-visible{border-color:rgba(228,178,77,.36)!important;background:rgba(228,178,77,.055)!important;outline:none!important}
  .th3pc-search-result-thumb-v59829{display:flex!important;align-items:center!important;justify-content:center!important;width:54px!important;height:54px!important;overflow:hidden!important;border-radius:8px!important;background:linear-gradient(145deg,#142a3d,#07131f)!important;color:#d5a746!important;font-size:20px!important;font-weight:900!important}
  .th3pc-search-result-thumb-v59829 img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important}
  .th3pc-search-result-copy-v59829{min-width:0!important}.th3pc-search-result-copy-v59829 small{display:block!important;margin:0 0 4px!important;color:#d5a746!important;font-size:8px!important;font-weight:850!important;letter-spacing:.11em!important;text-transform:uppercase!important}.th3pc-search-result-copy-v59829 strong{display:block!important;overflow:hidden!important;color:#f3f5f7!important;font-size:12px!important;font-weight:800!important;line-height:1.25!important;text-overflow:ellipsis!important;white-space:nowrap!important}.th3pc-search-result-copy-v59829 span{display:block!important;overflow:hidden!important;margin-top:5px!important;color:#7f93a5!important;font-size:9px!important;line-height:1.35!important;text-overflow:ellipsis!important;white-space:nowrap!important}.th3pc-search-result-arrow-v59829{color:#d5a746!important;font-size:16px!important}
  body.th3pc-search-open-v59829{overflow:hidden!important}
}
@media(max-width:1040px){.th3pc-global-header-shell-v59830,.th3pc-search-modal-v59829{display:none!important}}
@media(max-width:1280px) and (min-width:1041px){
  .th3pc-header-inner-v59827{grid-template-columns:190px minmax(550px,1fr) 290px!important;padding:0 18px!important}
  .th3pc-brand-v59827 img{height:52px!important;max-width:196px!important}
  .th3pc-nav-v59827,.th3pc-nav-v59829{gap:18px!important}
  .th3pc-actions-v59827{gap:10px!important}
  .th3pc-actions-v59827 a,.th3pc-actions-v59827 button{padding:0 15px!important}
}

/* ========================================================================== 
   TH3REALFR 6.7.1.598.33 — HEADER / SUPPRESSION DU TRAIT HORIZONTAL BAS
   Le soulignement de l'onglet actif est conservé. Seul le filet global sous
   le header est retiré pour que le Hero touche directement la navigation.
   ========================================================================== */
@media (min-width:1041px){
  .th3pc-global-header-shell-v59830{
    border-bottom:0!important;
    box-shadow:none!important;
  }
  .th3pc-global-header-shell-v59830 .th3pc-header-v59827{
    border-bottom:0!important;
    box-shadow:none!important;
  }
  body.th3-universe-home-page .th3pc-homeframe-v59827{
    margin-top:0!important;
  }
  body.th3-universe-home-page .th3pc-hero-v59827{
    margin-top:0!important;
  }
}

/* ========================================================================== 
   TH3REALFR 6.7.1.598.34 — HOME PC / SUPPRESSION DU JOUR ENTRE HEADER + HERO
   Le header global est injecté via wp_body_open alors que le Hero reste dans
   le conteneur de page du thème. Certains wrappers du thème gardent un espace
   vertical d'environ 8px : on le neutralise uniquement sur la Home PC.
   ========================================================================== */
@media (min-width:1041px){
  body.th3-universe-home-page .th3pc-global-header-shell-v59830{
    margin-bottom:-8px!important;
  }
  body.th3-universe-home-page .th3pc-homeframe-v59827,
  body.th3-universe-home-page .th3pc-hero-v59827{
    margin-top:0!important;
    padding-top:0!important;
  }
  body.th3-universe-home-page .th3pc-hero-v59827{
    position:relative!important;
    z-index:1!important;
  }
}
