/* =========================================================
   NEXIO GROUP — Luxe silencieux
   OBJECTIF FINAL:
   - Contenu (sections) en BLANC / IVOIRE (comme Training)
   - HEADER + FOOTER en BRUN FONCÉ + micro-grain ultra discret
   - OR champagne uniquement pour accents (hover, petits titres, séparateurs)
   - SUPPRESSION du grain global + suppression du "FORCE GOLD" global
========================================================= */

/* ====== Palette / Variables ====== */
:root{
  /* ADN Nexio */
  --nx-brown: #2B1E17;
  --nx-brown-2: #241813;
  --nx-gold: #C9A25D;
  --nx-gold-2: #B8954E;
  --nx-ivory: #E6E1DC;
  --nx-muted: #6B6B6B;     /* contenu */
  --nx-dark:  #1C1C1C;     /* contenu */

  /* Mapping Bootstrap (on garde PRIMARY = brun, SECONDARY = or) */
  --bs-primary: var(--nx-brown);
  --bs-secondary: var(--nx-gold);
  --bs-white: #FFFFFF;
  --bs-dark: var(--nx-dark);
}

/* =========================================================
   BASE
========================================================= */
html, body{ height: 100%; }

body{
  background: #FFFFFF;           /* contenu blanc */
  color: var(--nx-dark);
  font-family: 'Poppins', sans-serif;
}

/* Liens dans le contenu */
a{ color: var(--nx-dark); }
a:hover{ color: var(--nx-gold); }

/* =========================================================
   Spinner
========================================================= */
#spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s ease-out, visibility 0s linear .5s;
  z-index: 99999;
}
#spinner.show {
  transition: opacity .5s ease-out, visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

/* Back to top */
.back-to-top{
  position: fixed;
  right: 30px;
  bottom: 30px;
  display: flex;
  width: 45px;
  height: 45px;
  align-items: center;
  justify-content: center;
  transition: 0.5s;
  z-index: 99;
}

/* =========================================================
   BUTTONS (sobre, premium)
========================================================= */
.btn{ font-weight: 600; transition: .5s; }

.btn-square{ width: 32px; height: 32px; }
.btn-sm-square{ width: 34px; height: 34px; }
.btn-md-square{ width: 44px; height: 44px; }
.btn-lg-square{ width: 56px; height: 56px; }

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square{
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
  border-radius: 50%;
}

/* Bouton principal (sur fond blanc) */
.btn.btn-primary{
  background: var(--nx-brown) !important;
  color: #FFFFFF !important;
  border: 1px solid var(--nx-brown) !important;
  font-weight: 500;
}
.btn.btn-primary:hover{
  background: #1E1410 !important;
  border-color: #1E1410 !important;
}

/* Bouton secondaire (outline or) */
.btn.btn-secondary{
  background: transparent !important;
  color: var(--nx-gold) !important;
  border: 1px solid rgba(201,162,93,.55) !important;
  font-weight: 500;
}
.btn.btn-secondary:hover{
  background: rgba(201,162,93,.12) !important;
  color: var(--nx-dark) !important;
}

/* =========================================================
   SECTION TITLES (dans le contenu blanc)
   -> titres en noir (classe), accents or seulement sur sous-titre / traits
========================================================= */
.section-title{
  max-width: 900px;
  text-align: center;
  margin: 0 auto;
}

.section-title h1,
.section-title h2,
.section-title h3,
.section-title h4{
  color: var(--nx-dark);
  letter-spacing: 0.06em;
}

.section-title .sub-style{
  position: relative;
  display: inline-block;
  text-transform: uppercase;
  color: var(--nx-gold);
  letter-spacing: .10em;
}

.section-title .sub-style::before{
  content:"";
  width: 100px;
  position: absolute;
  bottom: 50%;
  left: 0;
  transform: translateY(-50%);
  margin-bottom: -6px;
  margin-left: -100px;
  border: 1px solid rgba(201,162,93,.45);
}

.section-title .sub-style::after{
  content:"";
  width: 50px;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  margin-top: -8px;
  margin-left: -50px;
  border: 1px solid rgba(201,162,93,.25);
}

.sub-title{
  position: relative;
  display: inline-block;
  text-transform: uppercase;
  color: var(--nx-gold);
  letter-spacing: .10em;
}

.sub-title::before{
  content:"";
  width: 100px;
  position: absolute;
  bottom: 50%;
  right: 0;
  transform: translateY(-50%);
  margin-bottom: -8px;
  margin-right: -100px;
  border: 1px solid rgba(201,162,93,.45);
}

.sub-title::after{
  content:"";
  width: 50px;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  margin-top: -6px;
  margin-right: -50px;
  border: 1px solid rgba(201,162,93,.25);
}

/* =========================================================
   TOPBAR — Discrétion luxe (au-dessus du logo)
========================================================= */

.topbar a,
.topbar a i{
  color: rgba(230,225,220,.55) !important;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.03em;
  transition: 0.4s ease;
}

.topbar a:hover,
.topbar a:hover i{
  color: var(--nx-gold) !important;
}

/* HEADER wrapper brun */
header,
.sticky-top,
.navbar{
  background-color: var(--nx-brown) !important;
  position: relative;
  z-index: 50;
}

/* =========================================================
   FIX TOPBAR — suppression fond BLEU
========================================================= */

.topbar,
.topbar.bg-light,
.topbar.bg-primary,
.topbar.bg-secondary{
  background: transparent !important;
  background-color: transparent !important;
}


/* Micro-grain SUR HEADER uniquement */
header::before,
.navbar::before,
.sticky-top::before{
  content:"";
  position:absolute;
  inset:0;
  background-image: url("../img/grain-ultra-fin.png");
  background-repeat: repeat;
  background-size: 1400px 1400px;
  opacity: 0.05;
  filter: blur(0.7px) contrast(0.9);
  pointer-events:none;
}

/* Voile sombre pour calmer le grain */
header::after,
.navbar::after,
.sticky-top::after{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.30);
  pointer-events:none;
}

header > *,
.navbar > *,
.sticky-top > *{
  position: relative;
  z-index: 1;
}

/* Topbar texte */
.topbar a,
.topbar a i{
  transition: 0.5s;
  color: rgba(230,225,220,.85) !important;
}
.topbar a:hover,
.topbar a i:hover{
  color: var(--nx-gold) !important;
}

/* Navbar links */
.navbar-light .navbar-nav .nav-link{
  font-family: 'Poppins', sans-serif;
  position: relative;
  margin-right: 25px;
  padding: 35px 0;
  color: var(--nx-ivory) !important;
  font-size: 17px;
  font-weight: 400;
  outline: none;
  transition: .5s;
}

.sticky-top .navbar-light .navbar-nav .nav-link{
  padding: 20px 0;
  color: var(--nx-ivory) !important;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active{
  color: var(--nx-gold) !important;
}

/* Navbar logo */
.navbar-light .navbar-brand img{
  max-height: 60px;
  transition: .5s;
}
.sticky-top .navbar-light .navbar-brand img{ max-height: 45px; }

/* Dropdown */
.navbar .dropdown-toggle::after{
  border: none;
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-weight: 600;
  vertical-align: middle;
}

@media (min-width: 1200px){
  .navbar .nav-item .dropdown-menu{
    display:block;
    visibility:hidden;
    top:100%;
    transform: rotateX(-75deg);
    transform-origin: 0% 0%;
    border:0;
    border-radius: 10px;
    transition: .5s;
    opacity:0;
  }
}

.dropdown .dropdown-menu{
  background: rgba(20,14,10,.92) !important;
  border: 1px solid rgba(201,162,93,.18);
  backdrop-filter: blur(6px);
}

.dropdown .dropdown-menu a{
  color: var(--nx-ivory) !important;
}
.dropdown .dropdown-menu a:hover{
  background: rgba(201,162,93,.10) !important;
  color: var(--nx-gold) !important;
}

.navbar .nav-item:hover .dropdown-menu{
  transform: rotateX(0deg);
  visibility: visible;
  transition: .5s;
  opacity: 1;
}

/* Mobile navbar */
@media (max-width: 991.98px){
  .sticky-top{
    position: relative;
  }

  .navbar.navbar-expand-lg .navbar-toggler{
    padding: 10px 20px;
    border: 1px solid rgba(201,162,93,.45) !important;
    color: var(--nx-gold);
    background: rgba(0,0,0,.20);
  }

  .navbar-light .navbar-collapse{
    margin-top: 15px;
    border-top: 1px solid rgba(255,255,255,.10);
  }

  .navbar-light .navbar-nav .nav-link,
  .sticky-top .navbar-light .navbar-nav .nav-link{
    padding: 10px 0;
    margin-left: 0;
    color: var(--nx-ivory) !important;
  }

  .navbar-light .navbar-brand img{
    max-height: 45px;
  }
}

/* Traits discrets sur hover (desktop) */
@media (min-width: 991.98px){
  .navbar-light .navbar-nav .nav-link:after,
  .navbar-light .navbar-nav .nav-link::before{
    position:absolute;
    content:"";
    top: 30px;
    bottom: 30px;
    left: 0px;
    width: 100%;
    height: 2px;
    background: rgba(201,162,93,.45);
    opacity: 0;
    transition: all 0.5s;
  }
  .navbar-light .navbar-nav .nav-link:before{ bottom:auto; }
  .navbar-light .navbar-nav .nav-link:after{ top:auto; }

  .navbar-light .navbar-nav .nav-link:hover:before,
  .navbar-light .navbar-nav .nav-link.active:before{
    top: 20px;
    opacity: 1;
  }

  .navbar-light .navbar-nav .nav-link:hover::after,
  .navbar-light .navbar-nav .nav-link.active::after{
    bottom: 20px;
    opacity: 1;
  }
}

#searchModal .modal-content{
  background: rgba(20,14,10,0.72);
  border: 1px solid rgba(201,162,93,.18);
  backdrop-filter: blur(10px);
}

/* =========================================================
   BREADCRUMB / HERO (sur contenu blanc : on enlève l’effet “bleu”)
========================================================= */
.bg-breadcrumb{
  background:
    linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.35)),
    url(../img/breadcrumb.png);
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: initial;
  background-size: cover;
  padding: 100px 0 60px 0;
  color: #FFFFFF;
}
.bg-breadcrumb h1,
.bg-breadcrumb h2,
.bg-breadcrumb p{ color: #FFFFFF; }

/* =========================================================
   CAROUSEL (garde overlay sombre, accents discrets)
========================================================= */
.carousel-header .carousel-control-prev .carousel-control-prev-icon,
.carousel-header .carousel-control-next .carousel-control-next-icon{
  width: 4rem;
  height: 4rem;
  margin-left: -60px;
  border-radius: 50%;
  background-size: 60% 60%;
  transition: 0.5s;
}

.carousel-header .carousel-control-next .carousel-control-next-icon{
  margin-left: 0;
  margin-right: -60px;
}

.carousel-header .carousel .carousel-indicators{ padding-bottom: 0; transition: 0.5s; }

.carousel-header .carousel .carousel-indicators li{
  width: 8px;
  height: 8px;
  border: 8px solid rgba(0,0,0,.18);
  border-radius: 50%;
  margin-right: 30px;
  transition: 0.5s;
}
.carousel-header .carousel .carousel-indicators li.active{
  border: 8px solid rgba(201,162,93,.55);
}

.carousel-header .carousel-inner .carousel-item{
  position: relative;
  min-height: 100vh;
}
.carousel-header .carousel-inner .carousel-item img{
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.carousel-header .carousel-inner .carousel-item .carousel-caption{
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  background: linear-gradient(rgba(0, 0, 0, .72), rgba(0, 0, 0, 0.72));
  background-size: cover;
}

@media (max-width: 768px){
  .carousel-header{ height: 700px !important; }
  .carousel-header .carousel-control-prev .carousel-control-prev-icon,
  .carousel-header .carousel-control-next .carousel-control-next-icon{ margin-top: 500px; }
  .carousel-header .carousel-control-prev .carousel-control-prev-icon{ margin-left: 0px; }
  .carousel-header .carousel-control-next .carousel-control-next-icon{ margin-right: 0px; }
  .carousel-header .carousel .carousel-indicators{ padding: 0; }
}

/* =========================================================
   COUNTER FACTS (dans contenu blanc -> cartes propres)
========================================================= */
.counter-facts{
  background: #FFFFFF;
}

.counter-facts .counter{
  position: relative;
  text-align:center;
  width: 200px;
  min-height: 215px;
  padding: 10px 15px;
  margin: 0 auto;
  border-radius: 100px;
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
  background: #FFFFFF;
  border: 1px solid rgba(0,0,0,.06);
}

.counter-facts .counter:before{
  content:"";
  position:absolute;
  height: 105px;
  width: 100%;
  left:0;
  top:0;
  border-radius: 10px 10px 0 0;
  background-color: rgba(0,0,0,.02);
}

.counter-facts .counter .counter-icon{
  position: relative;
  width: 120px;
  height: 100px;
  margin: 0 auto 10px;
  border-radius: 10px 10px 0 0;
  transform: translateY(-20px);
  font-size: 50px;
  line-height: 90px;
  color: var(--nx-gold);
  background: rgba(201,162,93,.14);
  clip-path: polygon(0% 0%, 100% 0, 100% 70%, 50% 100%, 0 70%);
}
.counter-facts .counter h3{
  color: var(--nx-dark);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0 0 5px 0;
}
.counter-facts .counter .counter-value{
  font-size: 30px;
  font-weight: 700;
  display:block;
  color: var(--nx-dark);
}

@media screen and (max-width: 1200px){
  .counter-facts .counter{ margin-bottom: 40px; }
}

/* =========================================================
   SERVICE / FEATURES / TESTIMONIAL / CONTACT
   -> on revient sur du blanc premium (pas de noir sur tout)
========================================================= */
.service .service-item{ position: relative; overflow: hidden; }

.service .service-item .service-inner .service-title{
  position: relative;
  margin-top: -30px;
  text-align:center;
  transition: 0.5s;
}

.service .service-item .service-inner .service-title .service-content{
  position: absolute;
  bottom: -100%;
  left: 0;
  margin-left: 30px;
  margin-right: 30px;
  text-align: center;
  border-radius: 10px;
  background: rgba(43,30,23,.92);
  border: 1px solid rgba(201,162,93,.18);
  opacity: 0;
  transition: 0.5s;
}
.service .service-item:hover .service-inner .service-title .service-content{
  bottom: 0;
  opacity: 1;
}
.service .service-item .service-inner .service-title .service-content a h4{
  border-bottom: 1px solid rgba(255,255,255,.12);
  color: var(--nx-gold);
}

.features .feature-item{
  position: relative;
  box-shadow: 0 12px 35px rgba(0,0,0,.10);
  border-radius: 10px;
  background: #FFFFFF;
  border: 1px solid rgba(0,0,0,.06);
}

.features .feature-item .feature-icon{
  width: 120px;
  height: 120px;
  border-radius: 10px;
  display: inline-flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  background: rgba(0,0,0,.03);
  transition: 0.5s;
}
.features .feature-item .feature-icon i{ color: var(--nx-gold); }
.features .feature-item:hover .feature-icon{
  border-radius: 50%;
  background: rgba(201,162,93,.12) !important;
}

.testimonial .owl-carousel.testimonial-carousel .testimonial-item .testimonial-content{
  border-radius: 10px;
  background: #FFFFFF;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 12px 35px rgba(0,0,0,.08);
  color: var(--nx-dark);
}

.contact .office .office-item{
  text-align:center;
  border-radius: 10px;
  box-shadow: 0 12px 35px rgba(0,0,0,.10);
  background: #FFFFFF;
  border: 1px solid rgba(0,0,0,.06);
  transition: 0.5s;
}
.contact .office .office-item:hover{
  box-shadow: 20px 20px 35px rgba(0,0,0,.12);
}

/* =========================================================
   TRAINING (on garde proche de ton rendu)
========================================================= */
.training .training-item:hover .training-inner .training-title-name{
  background: rgba(0,0,0,0.70);
}

/* =========================================================
   FOOTER brun foncé + micro-grain (UNIQUEMENT ici)
========================================================= */
.footer{
  position: relative;
  background-color: var(--nx-brown-2) !important;
  overflow: hidden;
  color: var(--nx-ivory);
}

/* Grain ultra discret footer */
.footer::before{
  content:"";
  position:absolute;
  inset:0;
  background-image:url("../img/grain-ultra-fin.png");
  background-repeat:repeat;
  background-size:1400px 1400px;
  opacity:0.05;
  filter: blur(0.7px) contrast(0.9);
  pointer-events:none;
}
.footer::after{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.35);
  pointer-events:none;
}
.footer > *{ position: relative; z-index: 1; }

.footer .footer-item a{
  line-height: 30px;
  color: var(--nx-ivory);
  transition: 0.5s;
}
.footer .footer-item p{
  line-height: 30px;
  color: rgba(230,225,220,.82);
}
.footer .footer-item a:hover{
  letter-spacing: 2px;
  color: var(--nx-gold);
}
.footer h4, .footer h5{ color: var(--nx-gold); }

/* =========================================================
   COPYRIGHT (dans footer)
========================================================= */
.copyright{
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  background: transparent !important;
  color: rgba(230,225,220,.78);
}
.copyright a{ color: var(--nx-ivory); }
.copyright a:hover{ color: var(--nx-gold); }

/* =========================================================
   OVERRIDES — Remplacement ROSE -> GOLD/CUIVRE
   (à coller TOUT EN BAS du fichier)
========================================================= */

/* 1) TEXTE "Nexio-Group" (selon le template, c'est souvent h1/h2 dans .navbar-brand) */
.navbar .navbar-brand,
.navbar .navbar-brand h1,
.navbar .navbar-brand h2,
.navbar .navbar-brand span,
.navbar .navbar-brand .logo-text{
  color: var(--nx-gold) !important;
}

/* Si le template met une classe type text-primary / text-danger sur le logo */
.navbar .navbar-brand .text-primary,
.navbar .navbar-brand .text-danger,
.navbar .navbar-brand .text-secondary{
  color: var(--nx-gold) !important;
}

/* Option luxe : léger dégradé or (si tu veux, sinon supprime ce bloc) */
.navbar .navbar-brand .logo-text,
.navbar .navbar-brand h1{
  background: linear-gradient(135deg, #E6D3A3, #C9A25D, #9F7E3A);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* 2) FLECHES DU CAROUSEL (les ronds roses) */
.carousel-header .carousel-control-prev-icon,
.carousel-header .carousel-control-next .carousel-control-next-icon,
.carousel-header .carousel-control-next-icon{
  /* le “rond” */
  background-color: rgba(201,162,93,.18) !important;
  border: 1px solid rgba(201,162,93,.45) !important;
  box-shadow: 0 10px 25px rgba(0,0,0,.35);
}

/* Hover premium */
.carousel-header .carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-header .carousel-control-next:hover .carousel-control-next-icon{
  background-color: rgba(201,162,93,.30) !important;
  border-color: rgba(201,162,93,.65) !important;
  box-shadow: 0 0 18px rgba(201,162,93,.25);
}

/* 3) Si le template colore le fond du bouton (pas l’icône) */
.carousel-header .carousel-control-prev,
.carousel-header .carousel-control-next{
  opacity: 1;
}

/* 4) Nettoyage : si quelque chose utilise “danger/rose” du template */
.btn-danger, .bg-danger, .text-danger{
  background: rgba(201,162,93,.12) !important;
  border-color: rgba(201,162,93,.45) !important;
  color: var(--nx-gold) !important;
}

/* =========================================================
   TOPBAR — icônes & textes en BRUN (plus de blanc)
========================================================= */

.topbar a,
.topbar a i,
.topbar .btn,
.topbar span{
  color: rgba(43,30,23,.75) !important; /* brun Nexio */
  opacity: 1;
  transition: color .4s ease, opacity .4s ease;
}

/* Hover très premium */
.topbar a:hover,
.topbar a:hover i{
  color: var(--nx-gold) !important;
}

/* Icônes sociales encore plus discrètes */
.topbar .btn i{
  font-size: 14px;
}

/* =========================================================
   FIX GLOBAL — topbar jamais bleue (toutes pages) 07/01/2026
========================================================= */
.topbar,
.topbar[class*="bg-"],
.header-top,
.header-topbar{
  background: transparent !important;
  background-color: transparent !important;
}

/* Si tu veux au contraire topbar brun (recommandé) :
.topbar,
.topbar[class*="bg-"]{
  background: rgba(43,30,23,.85) !important;
  background-color: rgba(43,30,23,.85) !important;
}
*/

.hero-text{
  margin-bottom: 0 !important;   /* supprime mb-4 / mb-md-5 */
  line-height: 1.45;
}

.hero-text .lang{
  display: block;  /* retour à la ligne */
  margin: 0;
  padding: 0;
}

/* Marron ADN Nexio (identique au header) */
.nx-title-brown{
  color: var(--nx-brown) !important;
}

/* === Icônes Nexio (remplacement Font Awesome) === */
.nx-icon{
  width: 88px;
  height: 88px;
  object-fit: contain;
}
.nx-icon{
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
}

:root{
  --nx-brown:#5b3a29;
  --nx-ivory:#e9e3dc;
}
.nx-text-brown{color:var(--nx-brown);}
.nx-bg-ivory{background:var(--nx-ivory);}

.nx-bg-ivory{
  min-height: 260px;        /* agrandit le ticket */
  padding: 1.5rem 1rem;    /* plus d’air en haut/bas */
  display: flex;
  flex-direction: column;
  justify-content: center; /* centre le contenu verticalement */
}

@media (max-width:576px){
  .nx-phone-number{
    font-size: 1rem;
    letter-spacing: 1px;
  }
}

.nx-phone-number{
  white-space: nowrap;
  letter-spacing: 2px;
}
:root {
  --nx-ivory: #E6E1DC;
}
.nx-text-ivory {
  color: var(--nx-ivory) !important;
}
.bg-breadcrumb-contact {
  background:
    linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
    url("../img/breadcrumb-contact.png") center center / cover no-repeat;
}
.bg-breadcrumb,
.bg-breadcrumb-contact {
  min-height: 520px;
  display: flex;
  align-items: center;
}
@media (max-width: 768px) {
  .bg-breadcrumb,
  .bg-breadcrumb-contact {
    min-height: 300px;
  }
}
.nx-btn-ivory{
  background: var(--nx-ivory);
  border: 1px solid rgba(43,30,23,.25);
}

.nx-card-paragraph{
  background: #fff;
  border: 1px solid rgba(43,30,23,.15);
  border-radius: 12px;
  padding: 18px;
}

.nx-icon-box{
  background: var(--nx-ivory);
}

.nx-icon-brown{
  color: var(--nx-brown);
}
.navbar .nav-link {
  position: relative;
  padding: 8px 12px;
}

.navbar .nav-link.active {
  color: var(--nx-brown);
  font-weight: 500;
}

.navbar .nav-link.active::before,
.navbar .nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--nx-brown);
}

.navbar .nav-link.active::before {
  top: 0;
}

.navbar .nav-link.active::after {
  bottom: 0;
}

/* ===== Breadcrumb Header Background ===== */
.bg-breadcrumble {
  position: relative;
  background: url("../img/breadcrumble.jpg") center center / cover no-repeat;
  min-height: 380px; /* ajuste si besoin : 420 / 480 */
  display: flex;
  align-items: center;
}

/* Overlay sombre pour lisibilité du texte */
.bg-breadcrumble::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45); /* luxe discret */
  z-index: 1;
}

/* S'assurer que le contenu reste au-dessus */
.bg-breadcrumble .container {
  position: relative;
  z-index: 2;
}
.logo-404-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
}

.logo-404 {
  width: 140px;
  height: auto;

  /* Rotation douce */
  animation: nexio-rotate 18s linear infinite;

  /* Rendu premium */
  filter: drop-shadow(0 10px 25px rgba(201, 162, 39, 0.25));
  opacity: 0.96;
}

/* Animation */
@keyframes nexio-rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.logo-404-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
}

.logo-404 {
  width: 140px;
  height: auto;

  /* Rotation douce */
  animation: nexio-rotate 18s linear infinite;

  /* Rendu premium */
  filter: drop-shadow(0 10px 25px rgba(201, 162, 39, 0.25));
  opacity: 0.96;
}

/* Animation */
@keyframes nexio-rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

-----------------------------------------
**FOCUS GET A QUOTE**
-----------------------------------------
#quoteForm:target {
  outline: 2px solid rgba(201, 168, 120, 0.55);
  border-radius: 16px;
  padding: 12px;
  scroll-margin-top: 120px;
}

/* Breadcrumb Download — image dédiée */
.bg-breadcrumb-wwa{
  position: relative;
  background:
    linear-gradient(rgba(18,12,9,.68), rgba(18,12,9,.68)),
    url("../img/breadcrumb-wwa.jpg") center/cover no-repeat;
}
.bg-breadcrumb-wwa::after{
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(circle at 30% 20%, rgba(245,240,232,.10), transparent 55%);
  pointer-events:none;
}
/* +30% hauteur (ajuste la valeur si besoin) */
.bg-breadcrumb-download {
  min-height: 520px; /* exemple */
  display: flex;
  align-items: center;
}
/* Carousel: overlay moins opaque pour mieux voir l'image */
.carousel-header .carousel-caption{
  background: rgba(0,0,0,.22) !important; /* avant souvent .45/.60 */
  backdrop-filter: blur(1.5px);          /* léger, optionnel */
}

/* Si ton template ajoute un voile via ::before */
.carousel-header .carousel-item::before{
  background: rgba(0,0,0,.18) !important;
}

/* Carousel: overlay moins opaque pour mieux voir l'image */
.carousel-header .carousel-caption{
  background: rgba(0,0,0,.22) !important; /* avant souvent .45/.60 */
  backdrop-filter: blur(1.5px);          /* léger, optionnel */
}

/* Si ton template ajoute un voile via ::before */
.carousel-header .carousel-item::before{
  background: rgba(0,0,0,.18) !important;
}

.nx-cookie {
  position: fixed; left: 0; right: 0; bottom: 18px;
  z-index: 9999;
  display: flex; justify-content: center;
  padding: 0 16px;
}
.nx-cookie__box {
  width: min(1100px, 100%);
  background: rgba(26, 18, 13, 0.92);
  border: 1px solid rgba(245,240,232,.14);
  border-radius: 18px;
  padding: 16px 18px;
  display: flex; gap: 16px;
  align-items: center;
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 50px rgba(0,0,0,.35);
}
.nx-cookie__text { color: rgba(245,240,232,.86); font-size: .98rem; line-height: 1.35; }
.nx-cookie__text strong { color: #f5f0e8; }
.nx-cookie__link { color: #f5f0e8; text-decoration: underline; }

.nx-cookie__actions { display: flex; gap: 10px; margin-left: auto; flex-wrap: wrap; }
.nx-cookie__btn {
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 600;
  border: 1px solid rgba(245,240,232,.22);
}
.nx-cookie__btn--ghost { background: transparent; color: #f5f0e8; }
.nx-cookie__btn--solid { background: #f5f0e8; color: #4a2b1d; border-color: rgba(245,240,232,.35); }

.nx-cookie-modal {
  position: fixed; inset: 0;
  z-index: 10000;
  background: rgba(0,0,0,.55);
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
}
.nx-cookie-modal__card{
  width: min(560px, 100%);
  background: #1a120d;
  border: 1px solid rgba(245,240,232,.14);
  border-radius: 18px;
  padding: 18px;
  color: #f5f0e8;
}
.nx-switch { display:flex; gap:10px; align-items:center; margin: 10px 0; color: rgba(245,240,232,.85); }
.nx-switch input { transform: scale(1.1); }

.is-static-links a {
  pointer-events: none;
  cursor: default;
}

