/**
 * sedabox.css — Feuille de style unifiée SEDABox - Mintika
 * Base : MyResume template (BootstrapMade) + personnalisations Mintika
 * Remplace : style.css et NewStyle.css
 */
body {
  font-family: "Open Sans", sans-serif;
  color: #272829;
}



/* Pour gérer les schémas */
html,body {
  height: 100%;
  margin: 0;
  padding: 0;
  padding: 1px;
  box-sizing: border-box;
}

body {
  font-family: Arial;
  color: #333333;
}

  
#chart-container {
  position: relative;
  height: 420px;
  border: 1px solid #aaa;
  margin: 0.5rem;
  overflow: auto;
  text-align: center;
}



td, tr {  
  word-break: break-all; /* 4. */
}

.oc-export-btn {
    display: block;
    width:130px;
    margin:10px auto;
    padding:7px 13px;
    text-align:center;
    background:#0563bb;
    color:#fff;
    white-space: nowrap;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    border-radius: 50px;
}


/* Pour gérer les inputs */
input:required {
  border: 1px dashed #0563bb;
}


.exemple2 {
   width:200px;
   clip-path:ellipse(50% 50%);
}

/*p * {
  display: block;
}*/

input[type=email]{
  -webkit-appearance: none;

  width: 100%;
  border: 1px solid #333;
  margin: 0;

  font-family: inherit;
  font-size: 90%;

  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

/* Voici notre composition pour les champs invalides */
input:invalid{
  border-color: #900;
  background-color: #FDD;
}

input:focus:invalid {
  outline: none;
}

/* Voici la mise en forme pour les erreurs */
.error {
  width  : 100%;
  padding: 0;
 
  font-size: 80%;
  color: white;
  background-color: #900;
  border-radius: 0 0 5px 5px;
 
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.error.active {
  padding: 0.3em;
}


/* Pour gérer les radios */

.switch-field {
	display: flex;
	margin: 0 auto;
	overflow: hidden;
}

.switch-field input {
	position: absolute !important;
	clip: rect(0, 0, 0, 0);
	height: 1px;
	width: 1px;
	border: 0;
	overflow: hidden;
}

.switch-field label {
	background-color: #eef7ff;
	color: rgba(0, 0, 0, 0.6);
	font-size: 14px;
	line-height: 1;
	text-align: center;
	padding: 8px 16px;
	margin-right: -1px;
	border: 1px solid rgba(0, 0, 0, 0.2);
	box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px rgba(255, 255, 255, 0.1);
	transition: all 0.1s ease-in-out;
        color : black;
}

.switch-field label:hover {
	cursor: pointer;
}

.switch-field input:checked + label {
	background-color: #0563bb;
	box-shadow: none;
        color : white;
}

.switch-field label:first-of-type {
	border-radius: 4px 0 0 4px;
}

.switch-field label:last-of-type {
	border-radius: 0 4px 4px 0;
}

/* Fin des radios */

a {
  color: #0563bb;
}

a:hover {
  color: #067ded;
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Raleway", sans-serif;
}

#sidebar { width: 250px; position: fixed; right: 15px; bottom: 15px; margin: 0 0 0 110px; z-index: 1000;

/*background: #f3f3f3;

border:1px solid #4A80C0;
arrondir les coins en haut à gauche et en bas à droite
-moz-border-radius:20px 0;
-webkit-border-radius:20px 0;
border-radius:20px 0;*/ }

#sidebar ul { background: white; padding: 10px; }




/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  overflow: hidden;
  background: #fff;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #0563bb;
  border-top-color: #fff;
  border-bottom-color: #fff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  -webkit-animation: animate-preloader 1s linear infinite;
  animation: animate-preloader 1s linear infinite;
}

@-webkit-keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
/* ============================================================
   NAVIGATION LATÉRALE — hover expand
   Repos : 56px (icônes seules)
   Hover : 260px (icônes + labels + sous-menus)
   ============================================================ */
/* ============================================================
   NAVIGATION LATÉRALE — rail fixe + flyout sous-menus
   ============================================================
   Principe :
   - Rail toujours visible : 220px, icône + label sur une ligne
   - Groupes : titre cliquable, sous-menu en panneau flottant
     positionné à droite du rail (left: 220px), CSS pur
   - Aucun changement de taille du rail → page stable
   ============================================================ */

/* ============================================================
   NAVIGATION — burger universel
   Fermée par défaut (translateX -100%), ouverte au clic burger
   Overlay semi-transparent derrière
   ============================================================ */

#header {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 270px;
  z-index: 9997;
  padding: 64px 12px 20px;   /* 64px : espace sous le burger */
  overflow-y: auto;
  overflow-x: hidden;
  background: #fff;
  border-right: 1px solid #e0eaf5;
  box-shadow: 4px 0 20px rgba(5,99,187,.12);
  transform: translateX(-100%);
  transition: transform 0.28s cubic-bezier(.4,0,.2,1);
}

/* Nav ouverte */
#header.nav-open {
  transform: translateX(0);
}

/* #main : pas de margin — pleine largeur tout le temps */
#main {
  margin-left: 0;
}

/* ── Overlay ────────────────────────────────────────────────── */
#nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(1,41,112,.25);
  backdrop-filter: blur(2px);
  z-index: 9996;
  animation: overlayIn .22s ease;
}

#nav-overlay.active {
  display: block;
}

@keyframes overlayIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */
.nav-menu * {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu > ul {
  padding: 4px 0;
}

.nav-menu > ul > li {
  position: relative;
}

/* ── Lien simple ────────────────────────────────────────────── */
.nav-menu a {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #4a5568;
  padding: 9px 12px;
  margin-bottom: 2px;
  transition: background 0.15s, color 0.15s;
  font-size: 13.5px;
  font-weight: 500;
  border-radius: 8px;
  background: transparent;
  width: 100%;
  text-decoration: none;
  white-space: nowrap;
}

.nav-menu a i {
  font-size: 18px;
  flex-shrink: 0;
  width: 20px;
  text-align: center;
  color: #8492a6;
  transition: color 0.15s;
}

.nav-menu a span {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-menu a:hover {
  background: #eef7ff;
  color: #0563bb;
}

.nav-menu a:hover i { color: #0563bb; }

.nav-menu .active > a {
  background: #0563bb;
  color: #fff;
  font-weight: 600;
}

.nav-menu .active > a i { color: #fff; }
.nav-menu .active > a span { color: #fff; }
/* Mobile Navigation */
/* ── Burger universel ───────────────────────────────────────── */
.nav-burger {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(5,99,187,.15);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s, box-shadow .15s;
  padding: 0;
}

.nav-burger:hover {
  background: #eef7ff;
  box-shadow: 0 3px 14px rgba(5,99,187,.22);
}

/* Icône hamburger SVG dessinée en CSS — 3 barres */
.nav-burger-icon {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 20px;
}

.nav-burger-icon span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: #0563bb;
  transition: transform .22s cubic-bezier(.4,0,.2,1),
              opacity   .18s ease,
              width     .18s ease;
  transform-origin: center;
}

/* Animation → croix quand ouvert */
.nav-open .nav-burger-icon span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-open .nav-burger-icon span:nth-child(2) {
  opacity: 0;
  width: 0;
}
.nav-open .nav-burger-icon span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Ancien toggle mobile — masqué */
.mobile-nav-toggle { display: none; }

/*--------------------------------------------------------------
# Home Section
--------------------------------------------------------------*/
#home {
  width: 100%;
  height: 100vh;
  background: url("../img/home-bg.jpg") top right no-repeat;
  background-size: cover;
  position: relative;
}

@media (min-width: 992px) {
  #home {
    padding-left: 160px;
  }
}

#home:before {
  content: "";
  
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
}

#home h1 {
  margin: 0;
  font-size: 64px;
  font-weight: 700;
  line-height: 56px;
  color: #fff;
}

#home p {
  color: #45505b;
  margin: 15px 0 0 0;
  font-size: 26px;
  font-family: "Poppins", sans-serif;
}

#home p span {
  color: #0563bb;
  letter-spacing: 1px;
}

#home .social-links {
  margin-top: 30px;
}

#home .social-links a {
  font-size: 24px;
  display: inline-block;
  color: #45505b;
  line-height: 1;
  margin-right: 20px;
  transition: 0.3s;
}

#home .social-links a:hover {
  color: #0563bb;
}

@media (max-width: 992px) {
  #home {
    text-align: center;
  }
  #home h1 {
    font-size: 32px;
    line-height: 36px;
  }
  #home p {
    margin-top: 10px;
    font-size: 20px;
    line-height: 24px;
  }
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  padding: 60px 0;
  overflow: hidden;
}

.section-title {
  text-align: left;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid #eef3f9;
  margin-bottom: 1.6rem;
}

.section-title h2 {
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: .3rem;
  padding-bottom: 0;
  position: relative;
  color: #013a6b;
  padding-left: 1rem;
}

.section-title h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: .1em;
  bottom: .1em;
  width: 4px;
  background: #0563bb;
  border-radius: 4px;
}

.section-title h2::after { display: none; }

.section-title p {
  margin-bottom: 0;
  font-size: .88rem;
  color: #666;
  padding-left: 1rem;
}

/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/
.about .content h3 {
  font-weight: 700;
  font-size: 26px;
  color: #728394;
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  padding-bottom: 10px;
}

.about .content ul i {
  font-size: 20px;
  padding-right: 2px;
  color: #0563bb;
}

.about .content p:last-child {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Facts
--------------------------------------------------------------*/
.facts .count-box {
  padding: 30px 30px 25px 30px;
  margin-top: 30px;
  width: 100%;
  position: relative;
  text-align: center;
  background: #fff;
}

.facts .count-box i {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 24px;
  background: #0563bb;
  padding: 12px;
  color: #fff;
  border-radius: 50px;
}

.facts .count-box span {
  font-size: 36px;
  display: block;
  font-weight: 600;
  color: #011426;
}

.facts .count-box p {
  padding: 0;
  margin: 0;
  font-family: "Raleway", sans-serif;
  font-size: 14px;
}

/*--------------------------------------------------------------
# Akills
--------------------------------------------------------------*/
.skills .progress {
  height: 50px;
  display: block;
  background: none;
}

.skills .progress .skill {
  padding: 10px 0;
  margin: 0 0 6px 0;
  text-transform: uppercase;
  display: block;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
  color: #45505b;
}

.skills .progress .skill .val {
  float: right;
  font-style: normal;
}

.skills .progress-bar-wrap {
  background: #f2f3f5;
}

.skills .progress-bar {
  width: 1px;
  height: 10px;
  transition: .9s;
  background-color: #0563bb;
}

/*--------------------------------------------------------------
# Resume
--------------------------------------------------------------*/
.resume .resume-title {
  font-size: 26px;
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 20px;
  color: #45505b;
}

.resume .resume-item {
  padding: 0 0 20px 20px;
  margin-top: -2px;
  border-left: 2px solid #0563bb;
  position: relative;
}

.resume .resume-item h4 {
  line-height: 18px;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  font-family: "Poppins", sans-serif;
  color: #0563bb;
  margin-bottom: 10px;
}

.resume .resume-item h5 {
  font-size: 16px;
  background: #f7f8f9;
  padding: 5px 15px;
  display: inline-block;
  font-weight: 600;
  margin-bottom: 10px;
}

.resume .resume-item ul {
  padding-left: 20px;
}

.resume .resume-item ul li {
  padding-bottom: 10px;
}

.resume .resume-item:last-child {
  padding-bottom: 0;
}

.resume .resume-item::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50px;
  left: -9px;
  top: 0;
  background: #fff;
  border: 2px solid #0563bb;
}

/*--------------------------------------------------------------
# Portfolio
--------------------------------------------------------------*/
.portfolio .portfolio-item {
  margin-bottom: 30px;
}

.portfolio #portfolio-flters {
  padding: 0;
  margin: 0 auto 25px auto;
  list-style: none;
  text-align: center;
  background: #fff;
  border-radius: 50px;
  padding: 2px 15px;
}

.portfolio #portfolio-flters li {
  cursor: pointer;
  display: inline-block;
  padding: 10px 15px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  color: #272829;
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
}

.portfolio #portfolio-flters li:hover, .portfolio #portfolio-flters li.filter-active {
  color: #0563bb;
}

.portfolio #portfolio-flters li:last-child {
  margin-right: 0;
}

.portfolio .portfolio-wrap {
  transition: 0.3s;
  position: relative;
  overflow: hidden;
  z-index: 1;
  background: rgba(69, 80, 91, 0.8);
}

.portfolio .portfolio-wrap::before {
  content: "";
  background: rgba(255, 255, 255, 0.7);
  position: absolute;
  left: 30px;
  right: 30px;
  top: 30px;
  bottom: 30px;
  transition: all ease-in-out 0.3s;
  z-index: 2;
  opacity: 0;
}

.portfolio .portfolio-wrap .portfolio-info {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  text-align: center;
  z-index: 3;
  transition: all ease-in-out 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.portfolio .portfolio-wrap .portfolio-info::before {
  display: block;
  content: "";
  width: 48px;
  height: 48px;
  position: absolute;
  top: 35px;
  left: 35px;
  border-top: 3px solid #d7dce1;
  border-left: 3px solid #d7dce1;
  transition: all 0.5s ease 0s;
  z-index: 9994;
}

.portfolio .portfolio-wrap .portfolio-info::after {
  display: block;
  content: "";
  width: 48px;
  height: 48px;
  position: absolute;
  bottom: 35px;
  right: 35px;
  border-bottom: 3px solid #d7dce1;
  border-right: 3px solid #d7dce1;
  transition: all 0.5s ease 0s;
  z-index: 9994;
}

.portfolio .portfolio-wrap .portfolio-info h4 {
  font-size: 20px;
  color: #45505b;
  font-weight: 600;
}

.portfolio .portfolio-wrap .portfolio-info p {
  color: #45505b;
  font-size: 14px;
  text-transform: uppercase;
  padding: 0;
  margin: 0;
}

.portfolio .portfolio-wrap .portfolio-links {
  text-align: center;
  z-index: 4;
}

.portfolio .portfolio-wrap .portfolio-links a {
  color: #45505b;
  margin: 0 2px;
  font-size: 28px;
  display: inline-block;
  transition: 0.3s;
}

.portfolio .portfolio-wrap .portfolio-links a:hover {
  color: #148af9;
}

.portfolio .portfolio-wrap:hover::before {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 1;
}

.portfolio .portfolio-wrap:hover .portfolio-info {
  opacity: 1;
}

.portfolio .portfolio-wrap:hover .portfolio-info::before {
  top: 15px;
  left: 15px;
}

.portfolio .portfolio-wrap:hover .portfolio-info::after {
  bottom: 15px;
  right: 15px;
}

/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/
.services .icon-box {
  text-align: center;
  padding: 70px 20px 80px 20px;
  transition: all ease-in-out 0.3s;
  background: #fff;
  box-shadow: 0px 5px 90px 0px rgba(110, 123, 131, 0.05);
}

.services .icon-box .icon {
  margin: 0 auto;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: ease-in-out 0.3s;
  position: relative;
}

.services .icon-box .icon i {
  font-size: 36px;
  transition: 0.5s;
  position: relative;
}

.services .icon-box .icon svg {
  position: absolute;
  top: 0;
  left: 0;
}

.services .icon-box .icon svg path {
  transition: 0.5s;
  fill: #f5f5f5;
}

.services .icon-box h4 {
  font-weight: 600;
  margin: 10px 0 15px 0;
  font-size: 22px;
}

.services .icon-box h4 a {
  color: #45505b;
  transition: ease-in-out 0.3s;
}

.services .icon-box p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.services .icon-box:hover {
  border-color: #fff;
  box-shadow: 0px 0 35px 0 rgba(0, 0, 0, 0.08);
}

.services .iconbox-blue i {
  color: #47aeff;
}

.services .iconbox-blue:hover .icon i {
  color: #fff;
}

.services .iconbox-blue:hover .icon path {
  fill: #47aeff;
}

.services .iconbox-green i {
  color: #4be04b;
}

.services .iconbox-green:hover .icon i {
  color: #fff;
}

.services .iconbox-green:hover .icon path {
  fill: #4be04b;
}

.services .iconbox-orange i {
  color: #ffa76e;
}

.services .iconbox-orange:hover .icon i {
  color: #fff;
}

.services .iconbox-orange:hover .icon path {
  fill: #ffa76e;
}

.services .iconbox-pink i {
  color: #e80368;
}

.services .iconbox-pink:hover .icon i {
  color: #fff;
}

.services .iconbox-pink:hover .icon path {
  fill: #e80368;
}

.services .iconbox-yellow i {
  color: #ffbb2c;
}

.services .iconbox-yellow:hover .icon i {
  color: #fff;
}

.services .iconbox-yellow:hover .icon path {
  fill: #ffbb2c;
}

.services .iconbox-red i {
  color: #ff5828;
}

.services .iconbox-red:hover .icon i {
  color: #fff;
}

.services .iconbox-red:hover .icon path {
  fill: #ff5828;
}

.services .iconbox-violet i {
  color: #4A6CF7;
}

.services .iconbox-violet:hover .icon i {
  color: #fff;
}

.services .iconbox-violet:hover .icon path {
  fill: #4A6CF7;
}

.services .iconbox-fushia i {
  color: #db5774ff;
}

.services .iconbox-fushia:hover .icon i {
  color: #fff;
}

.services .iconbox-fushia:hover .icon path {
  fill: #db5774ff;
}

.services .iconbox-teal i {
  color: #11dbcf;
}

.services .iconbox-teal:hover .icon i {
  color: #fff;
}

.services .iconbox-teal:hover .icon path {
  fill: #11dbcf;
}

.services .iconbox-purple i {
  color: #9b11db;
}

.services .iconbox-purple:hover .icon i {
  color: #fff;
}

.services .iconbox-purple:hover .icon path {
  fill: #9b11db;
}

.services .iconbox-black i {
  color: #000000;
}

.services .iconbox-black:hover .icon i {
  color: #fff;
}

.services .iconbox-black:hover .icon path {
  fill: #000000;
}

/*--------------------------------------------------------------
# Testimonials
--------------------------------------------------------------*/
.testimonials .section-header {
  margin-bottom: 40px;
}

.testimonials .testimonial-item {
  text-align: center;
}

.testimonials .testimonial-item .testimonial-img {
  width: 120px;
  border-radius: 50%;
  border: 4px solid #fff;
  margin: 0 auto;
}

.testimonials .testimonial-item h3 {
  font-size: 20px;
  font-weight: bold;
  margin: 10px 0 5px 0;
  color: #111;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: #999;
  margin: 0 0 15px 0;
}

.testimonials .testimonial-item .quote-icon-left, .testimonials .testimonial-item .quote-icon-right {
  color: #90c8fc;
  font-size: 26px;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 0 auto 15px auto;
}

.testimonials .owl-nav, .testimonials .owl-dots {
  margin-top: 5px;
  text-align: center;
}

.testimonials .owl-dot {
  display: inline-block;
  margin: 0 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ddd !important;
}

.testimonials .owl-dot.active {
  background-color: #0563bb !important;
}

@media (min-width: 992px) {
  .testimonials .testimonial-item p {
    width: 80%;
  }
}

/*--------------------------------------------------------------
# Traitement
--------------------------------------------------------------*/
.traitement .info {
  width: 100%;
  background: #fff;
  border: 1px solid #e2eaf3;
  border-radius: 16px;
  padding: 1.8rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 2px solid #b8d9f5;
}

/* Chaque étape : layout horizontal, séparateur entre items */
.traitement .info .address,
.traitement .info .email,
.traitement .info .phone {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
  background: transparent;
  border: none;
  border-bottom: 1px solid #f0f4f9;
  border-radius: 0;
  padding: .85rem 0;
  margin: 0;
  transition: none;
}

.traitement .info .address:last-child,
.traitement .info .email:last-child,
.traitement .info .phone:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.traitement .info .address:first-child {
  padding-top: 0;
}

.traitement .info .address:hover,
.traitement .info .email:hover,
.traitement .info .phone:hover {
  border-color: #f0f4f9;
  box-shadow: none;
}

.traitement .info i {
  font-size: 1.15rem;
  color: #0563bb;
  float: none;
  width: 38px;
  height: 38px;
  min-width: 38px;
  background: #eef7ff;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  transition: background .18s, color .18s;
}

.traitement .info .address:hover i,
.traitement .info .email:hover i,
.traitement .info .phone:hover i {
  background: #0563bb;
  color: #fff;
}

.traitement .info h4 {
  padding: 0;
  font-size: .88rem;
  font-weight: 700;
  margin-bottom: .1rem;
  color: #013a6b;
}

.traitement .info p {
  padding: 0;
  margin-bottom: 0;
  font-size: .8rem;
  color: #666;
  line-height: 1.4;
}

.traitement .info div {
  flex: 1;
  min-width: 0;
}

.traitement .php-email-form {
  width: 100%;
  background: #fff;
}

.traitement .php-email-form .form-group {
  padding-bottom: 8px;
}

.php-email-form .messages {
  display: none;
  color: red;
  margin: 0 0 15px 0;
  font-weight: 400;
  font-size: 13px;
}

.php-email-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  font-weight: 600;
}

.traitement .php-email-form .error-message br + br {
  margin-top: 25px;
}

.traitement .php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.traitement .php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
}

.traitement .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  -webkit-animation: animate-loading 1s linear infinite;
  animation: animate-loading 1s linear infinite;
}

.traitement .php-email-form input, .traitement .php-email-form textarea {
  border-radius: 4px;
  box-shadow: none;
  font-size: 14px;
}

.traitement .php-email-form input {
  height: 44px;
}

.traitement .php-email-form textarea {
  padding: 10px 12px;
}

/* ── Défilement progressif pour toutes les ancres ─────── */
html {
    scroll-behavior: smooth;
}

/* ── Ancres de navigation multi-services ─────────────── */
.service-nav {
    display: flex;
    justify-content: flex-end;
    gap: .6rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}
.service-nav a {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .4rem 1rem;
    border-radius: 10px;
    border: 1px solid #c8dff2;
    color: #0563bb;
    background: #fff;
    box-shadow: 0 2px 8px rgba(5,99,187,.08);
    font-size: .82rem;
    font-weight: 600;
    text-decoration: none;
    transition: background .18s, box-shadow .18s, color .18s;
}
.service-nav a:hover {
    background: #eef7ff;
    box-shadow: 0 3px 12px rgba(5,99,187,.15);
    text-decoration: none;
    color: #013a6b;
}
.service-nav a .service-nav__num {
    width: 1.3rem;
    height: 1.3rem;
    border-radius: 6px;
    background: #0563bb;
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ── Séparateur entre deux services sur une même page ── */
.service-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: .9rem 2rem;
    background: #f4f8fd;
    border-top: 1px solid #c8dff2;
    border-bottom: 1px solid #c8dff2;
}
.service-divider::before,
.service-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #c8dff2;
}
.service-divider span {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #fff;
    white-space: nowrap;
    background: #0563bb;
    border-radius: 20px;
    padding: .3rem .9rem;
}

/* Pour gérer le bouton de téléchargement */
#button {
    display: block;
    width:230px;
    margin:10px auto;
    padding:7px 13px;
    text-align:center;
    background:#0563bb;
    color:#fff;
    white-space: nowrap;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    border-radius: 50px;

}

#button:active {
    vertical-align: top;
    padding: 8px 13px 6px;
}

.one a {
    text-decoration: none;
}


@-webkit-keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Portfolio Details
--------------------------------------------------------------*/
.portfolio-details {
  padding: 40px 0;
}

.portfolio-details .portfolio-title {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.portfolio-details .portfolio-details-carousel .owl-nav, .portfolio-details .portfolio-details-carousel .owl-dots {
  margin-top: 5px;
  text-align: center;
}

.portfolio-details .portfolio-details-carousel .owl-dot {
  display: inline-block;
  margin: 0 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ddd !important;
}

.portfolio-details .portfolio-details-carousel .owl-dot.active {
  background-color: #0563bb !important;
}

.portfolio-details .portfolio-info {
  padding-top: 45px;
}

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 20px;
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.portfolio-details .portfolio-info ul li + li {
  margin-top: 10px;
}

.portfolio-details .portfolio-info p {
  font-size: 15px;
  padding: 15px 0 0 0;
}

@media (max-width: 992px) {
  .portfolio-details .portfolio-info {
    padding-top: 20px;
  }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  background: #f7f8f9;
  color: #45505b;
  font-size: 14px;
  text-align: center;
  padding: 30px 0;
}

#footer h3 {
  font-size: 36px;
  font-weight: 700;
  position: relative;
  font-family: "Poppins", sans-serif;
  padding: 0;
  margin: 0 0 15px 0;
}

#footer p {
  font-size: 15;
  font-style: italic;
  padding: 0;
  margin: 0 0 40px 0;
}

#footer .social-links {
  margin: 0 0 40px 0;
}

#footer .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #0563bb;
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

#footer .social-links a:hover {
  background: #0678e3;
  color: #fff;
  text-decoration: none;
}

#footer .copyright {
  margin: 0 0 5px 0;
}

#footer .credits {
  font-size: 13px;
}



/* ============================================================
   COMPOSANTS MINTIKA — COLONNE INFO + NAVIGATION
   ============================================================ */
/* === Personnalisation Mintika : modernisation colonne d'infos === */

.info {
  background: linear-gradient(135deg, #0563bb, #0678e3);
  border-radius: 16px;
  padding: 30px 20px;
  color: #fff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.info .address,
.info .email {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 18px;
  text-align: center;
  transition: all 0.3s ease;
}

.info .address:hover,
.info .email:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.info i {
  font-size: 36px;
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  width: 68px;
  height: 68px;
  line-height: 68px;
  display: inline-block;
  margin-bottom: 10px;
  transition: all 0.3s ease;
}

.info .address:hover i,
.info .email:hover i {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}


.info h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.info p {
  font-size: 14px;
  color: #f0f0f0;
  margin: 0;
}
  


/* === Cartes de sélection unifiées Mintika === */

.switch-group, .version-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Style de base partagé */
.switch-card, .version-card {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  /*border: 2px solid #0563bb;*/
  border-radius: 10px;
  background: #fff;
  color: #0563bb;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  user-select: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* Masquer les inputs natifs */
.switch-input, .card-input {
  display: none;
}

/* Hover */
.switch-card:hover, .version-card:hover {
  background: # ;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Sélectionné */
.switch-input:checked + .switch-text,
.card-input:checked + .card-content {
  background: #0563bb;
  color: #fff;
  border-color: #034f94;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  border-radius: 8px;
  padding: 12px 20px;
}

/* Pour une animation fluide */
.switch-text, .card-content {
  transition: all 0.3s ease;
}

/* Variante : petit effet d’encadrement dynamique */
.switch-card::before, .version-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 10px;
  border: 2px solid transparent;
  transition: border-color 0.3s ease;
}

.switch-card:hover::before, .version-card:hover::before {
  border-color: #0563bb;
}


/*   */
/* bascule par classe au lieu de display inline */
.system-options {
  display: none;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease, opacity 0.28s ease;
  opacity: 0;
}
.system-options.visible {
  display: block;
  max-height: 1000px; /* assez grand pour contenir le contenu */
  opacity: 1;
}

/* petites tuiles */
.version-card, .format-card, .switch-card {
  display: inline-flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 8px 12px;
  margin: 6px;
  cursor: pointer;
  user-select: none;
}
.version-card input, .format-card input, .switch-card input {
  margin-right: 8px;
}

/* état désactivé */
.disabled {
  opacity: 0.45;
  pointer-events: none;
}
.system-choice .system-button {
  margin-right: 8px;
}




/* ============================================================
   COMPOSANTS MINTIKA — BOUTONS, TUILES, FORMULAIRES
   (Version finale "BAPTISTE" — seule version à maintenir)
   ============================================================ */
/*BAPTISTE*/
/* ==========================================
   HARMONISATION MINTIKA - BOUTONS ET TUILES
   ========================================== */

/* Boutons de sélection de version/système */
.system-button {
  background: #fff;
  color: #444 !important;
  border: 1.5px solid #d1dce8;
  border-radius: 9px;
  padding: .45rem 1rem;
  font-size: .84rem;
  font-weight: 600;
  margin: 0 6px 10px 0;
  cursor: pointer;
  box-shadow: none;
  transition: background .18s, border-color .18s, color .18s;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}

.system-button:hover {
  background: #eef7ff;
  color: #0563bb !important;
  border-color: #0563bb;
  transform: none;
  box-shadow: none;
}

.system-button:focus,
.system-button:focus-visible {
  outline: none;
  border-color: #0563bb;
}

.system-button.active {
  background: #0563bb;
  color: #fff !important;
  border-color: #0563bb;
  box-shadow: 0 2px 8px rgba(5,99,187,.2);
}

.system-button.active:hover {
  background: #044d91;
  border-color: #044d91;
  transform: none;
  box-shadow: 0 2px 8px rgba(5,99,187,.2);
}

/* Groupes d’options (affichage conditionnel) */
.system-options {
  display: none;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  border-top: 1px solid #e0e0e0;
  margin-top: 20px;
  padding-top: 20px;
  transition: max-height 0.3s ease, opacity 0.3s ease;
}
.system-options.visible {
  display: block;
  max-height: 800px;
  opacity: 1;
}

/* Groupes de tuiles (switches, versions, formats) */
.switch-group,
.version-group,
.format-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
}

/* Style unifié des cartes (Labels parents) */
.switch-card,
.version-card,
.format-card {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  border-radius: 9px;
  background: transparent;
  cursor: pointer;
  transition: background .18s;
  user-select: none;
  min-width: 0;
  text-align: center;
}

/* Masquer les inputs natifs */
.switch-input,
.card-input {
  display: none;
}

/* Supprimer outline natif */
.switch-card:focus,
.version-card:focus,
.format-card:focus,
.switch-card:focus-within,
.version-card:focus-within,
.format-card:focus-within {
  outline: none;
}

/* Hover */
.switch-card:hover,
.version-card:hover,
.format-card:hover {
    background: transparent;
    transform: none;
}

/* État sélectionné */
.switch-input:checked + .switch-text,
.card-input:checked + .card-content {
  background: #0563bb;
  color: #fff;
  padding: .45rem 1rem;
  border-color: #0563bb;
  border-radius: 9px;
  box-shadow: 0 2px 8px rgba(5,99,187,.2);
}

/* Contenu de la carte (état normal) */
.switch-text,
.card-content {
  border: 1.5px solid #d1dce8;
  border-radius: 9px;
  padding: .45rem 1rem;
  font-size: .84rem;
  font-weight: 600;
  color: #444;
  transition: background .18s, border-color .18s, color .18s;
  display: block;
  width: 100%;
}

/* Hover sur le contenu de la carte */
.switch-card:hover .switch-text,
.version-card:hover .card-content,
.format-card:hover .card-content {
  background: #eef7ff;
  border-color: #0563bb;
  color: #0563bb;
}

/* État désactivé */
.disabled {
  opacity: 0.45;
  pointer-events: none;
}

/* Sous-options affichées après un choix */
.sub-options {
    display: none;
    margin-top: 20px;
    border-top: 1px solid #e0e0e0;
}
.sub-options h4 {
  margin-top: 10px;
    margin-bottom: 10px;
    color: #292929; /* <--- MODIFIÉ : Passe du bleu (#034f94) au noir (#292929) */
}

/* Harmonisation générale des boutons du site */
button,
input[type="button"],
input[type="submit"],
.modern-button,
.oc-export-btn,
.back-to-top {
  background: linear-gradient(135deg, #0563bb, #0678e3);
  color: #fff !important;
  border: none;
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
  display: inline-block;
  text-align: center;
}

button:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
.modern-button:hover,
.oc-export-btn:hover,
.back-to-top:hover {
  background: linear-gradient(135deg, #0678e3, #0563bb);
  transform: translateY(-2px);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

.oc-export-btn,
.back-to-top {
  border-radius: 50px;
  padding: 10px 20px;
}

.back-to-top {
  width: 48px;
  height: 48px;
  font-size: 20px;
  padding: 0;
  line-height: 48px;
}


/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
/* === Bouton Retour en haut (Mintika) === */
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0563bb, #0678e3);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
  z-index: 999;
}

/* Icône bien centrée et équilibrée */
.back-to-top i {
  display: block;
  line-height: 1;
  font-size: 22px;
  margin-top: 1px; /* ajuste le centrage vertical finement */
}

/* Survol */
.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.25);
}


/* ============================================================
   BOUTON UNIFIÉ sb-btn
   Usage : <button class="sb-btn">Convertir</button>
   Identique visuellement au .system-button actif Mintika
   ============================================================ */
.sb-btn {
  background: #0563bb;
  color: #fff !important;
  border: none;
  border-radius: 9px;
  padding: .5rem 1.3rem;
  font-size: .88rem;
  font-weight: 600;
  min-width: 0;
  cursor: pointer;
  transition: background .18s, transform .15s, box-shadow .18s;
  box-shadow: 0 2px 8px rgba(5,99,187,.18);
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  text-align: center;
  text-decoration: none;
}

.sb-btn:hover {
  background: #044d91;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(5,99,187,.25);
  color: #fff !important;
  text-decoration: none;
}

.sb-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(5,99,187,.18);
}

.sb-btn--outline {
  background: transparent;
  color: #0563bb !important;
  border: 1.5px solid #0563bb;
  box-shadow: none;
}

.sb-btn--outline:hover {
  background: #eef7ff;
  color: #013a6b !important;
  transform: translateY(-1px);
  box-shadow: none;
}

.sb-btn--active {
  background: #0563bb !important;
  color: #fff !important;
  border: none !important;
  box-shadow: 0 2px 8px rgba(5,99,187,.18);
}

/* ============================================================
   Navigation accordéon — groupes latéraux
   ============================================================ */

/* Titre de groupe */
/* ── Groupes nav inline hover ───────────────────────────────── */
/*
   Architecture :
   - Le titre du groupe = même hauteur que les liens simples
   - Le sous-menu est dans le flux (pas de flyout)
   - max-height anime de 0 → valeur auto simulée (400px max)
   - Délai à l'entrée (0.08s) évite les ouvertures accidentelles
   - Délai à la sortie (0.12s) évite la fermeture brutale quand
     la souris glisse du titre vers les enfants
*/

.nav-menu .nav-group {
  position: relative;
  margin-bottom: 2px;
}

/* Titre */
.nav-menu .nav-group > a.nav-group-toggle {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 12px;
  color: #4a5568;
  font-size: 13.5px;
  font-weight: 500;
  border-radius: 8px;
  background: transparent;
  width: 100%;
  text-decoration: none;
  cursor: default;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}

.nav-menu .nav-group > a.nav-group-toggle i.bx:not(.nav-group-arrow) {
  font-size: 18px;
  flex-shrink: 0;
  width: 20px;
  text-align: center;
  color: #8492a6;
  transition: color 0.15s;
}

.nav-menu .nav-group > a.nav-group-toggle > span {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-group-arrow {
  flex-shrink: 0;
  font-size: 14px;
  color: #b0bac9;
  transition: transform 0.22s ease, color 0.15s;
}

/* Hover + groupe actif : titre */
.nav-menu .nav-group:hover > a.nav-group-toggle,
.nav-menu .nav-group.active-group > a.nav-group-toggle {
  background: #eef7ff;
  color: #0563bb;
}

.nav-menu .nav-group:hover > a.nav-group-toggle i,
.nav-menu .nav-group:hover > a.nav-group-toggle .nav-group-arrow,
.nav-menu .nav-group.active-group > a.nav-group-toggle i,
.nav-menu .nav-group.active-group > a.nav-group-toggle .nav-group-arrow {
  color: #0563bb;
}

/* Flèche pivote quand ouvert */
.nav-menu .nav-group:hover .nav-group-arrow,
.nav-menu .nav-group.active-group .nav-group-arrow {
  transform: rotate(90deg);
}

/* ── Sous-menu inline ───────────────────────────────────────── */
.nav-menu .nav-group-children {
  list-style: none;
  margin: 2px 0 3px 0;
  padding: 0;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  /* La transition max-height est pilotée en JS avec la vraie hauteur */
  transition: max-height 0.32s cubic-bezier(.4,0,.2,1),
              opacity    0.24s ease;
}

.nav-menu .nav-group.active-group .nav-group-children {
  /* Le groupe actif s'ouvre sans attendre le JS */
  max-height: 400px;
  opacity: 1;
}

/* Ligne guide verticale */
.nav-menu .nav-group-children::before {
  content: '';
  display: block;
  position: absolute;
  left: 21px;
  width: 1px;
  background: #e4e8f5;
  top: 0;
  bottom: 0;
  pointer-events: none;
}

.nav-menu .nav-group-children li {
  position: relative;
  margin: 1px 0;
  /* Stagger : chaque enfant glisse depuis le haut avec un léger décalage */
  transform: translateY(-6px);
  opacity: 0;
  transition: transform 0.22s ease, opacity 0.20s ease;
}

/* Quand le sous-menu est ouvert, les enfants apparaissent en cascade */
.nav-menu .nav-group.open .nav-group-children li,
.nav-menu .nav-group.active-group .nav-group-children li {
  transform: translateY(0);
  opacity: 1;
}

/* Délais en cascade — nth-child jusqu'à 8 enfants */
.nav-menu .nav-group.open .nav-group-children li:nth-child(1),
.nav-menu .nav-group.active-group .nav-group-children li:nth-child(1) { transition-delay: 0.04s; }
.nav-menu .nav-group.open .nav-group-children li:nth-child(2),
.nav-menu .nav-group.active-group .nav-group-children li:nth-child(2) { transition-delay: 0.08s; }
.nav-menu .nav-group.open .nav-group-children li:nth-child(3),
.nav-menu .nav-group.active-group .nav-group-children li:nth-child(3) { transition-delay: 0.12s; }
.nav-menu .nav-group.open .nav-group-children li:nth-child(4),
.nav-menu .nav-group.active-group .nav-group-children li:nth-child(4) { transition-delay: 0.16s; }
.nav-menu .nav-group.open .nav-group-children li:nth-child(5),
.nav-menu .nav-group.active-group .nav-group-children li:nth-child(5) { transition-delay: 0.20s; }
.nav-menu .nav-group.open .nav-group-children li:nth-child(6),
.nav-menu .nav-group.active-group .nav-group-children li:nth-child(6) { transition-delay: 0.24s; }
.nav-menu .nav-group.open .nav-group-children li:nth-child(7),
.nav-menu .nav-group.active-group .nav-group-children li:nth-child(7) { transition-delay: 0.28s; }
.nav-menu .nav-group.open .nav-group-children li:nth-child(8),
.nav-menu .nav-group.active-group .nav-group-children li:nth-child(8) { transition-delay: 0.32s; }

.nav-menu .nav-group-children li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px 7px 34px;   /* indent pour ligne guide */
  font-size: 13px;
  font-weight: 400;
  color: #4a5568;
  background: transparent;
  border-radius: 7px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
  margin-bottom: 0;
  width: 100%;
}

.nav-menu .nav-group-children li a i {
  font-size: 14px;
  color: #8492a6;
  flex-shrink: 0;
  transition: color 0.15s;
}

.nav-menu .nav-group-children li a:hover {
  background: #eef7ff;
  color: #0563bb;
}

.nav-menu .nav-group-children li a:hover i {
  color: #0563bb;
}

.nav-menu .nav-group-children li.active > a {
  background: #0563bb;
  color: #fff;
  font-weight: 600;
}

.nav-menu .nav-group-children li.active > a i {
  color: #fff;
}


/* ============================================================
   Feedback upload (customFileUpload.js)
   ============================================================ */
.sb-file-feedback {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-top: .4rem;
    font-size: .82rem;
    border-radius: 6px;
    padding: .3rem .7rem;
    min-height: 1.8rem;
}
.sb-file-feedback--ok    { background: #e8f5e9; color: #2e7d32; }
.sb-file-feedback--error { background: #fdecea; color: #c62828; }
.sb-file-feedback i      { font-size: 1rem; flex-shrink: 0; }


/* ============================================================
   MODERNISATION PAGES FORMULAIRES — 2026
   ============================================================ */

/* ── Section traitement : espacement ─────────────────────── */
.traitement {
    padding: 2rem 0;
}

/* ── Numérotation automatique des étapes .info ───────────── */
.traitement .info {
    counter-reset: step;
}
.traitement .info .address::before,
.traitement .info .email::before,
.traitement .info .phone::before {
    content: counter(step);
    counter-increment: step;
    min-width: 22px;
    height: 22px;
    background: #0563bb;
    color: #fff;
    border-radius: 50%;
    font-size: .7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    align-self: flex-start;
    margin-top: .6rem;
}

/* ── Labels de champs ────────────────────────────────────── */
.form-group label,
.form-row label {
    font-size: .82rem;
    font-weight: 600;
    color: #013a6b;
    margin-bottom: .35rem;
    display: block;
}
.form-group label i,
.form-row label i {
    color: #0563bb;
    margin-right: .3rem;
}

/* ── Inputs et selects ───────────────────────────────────── */
.form-control {
    border: 1px solid #d1dce8;
    border-radius: 8px;
    font-size: .86rem;
    color: #333;
    padding: .5rem .85rem;
    height: auto;
    transition: border-color .18s, box-shadow .18s;
    background: #fff;
}
.form-control:focus {
    border-color: #0563bb;
    box-shadow: 0 0 0 3px rgba(5,99,187,.1);
    outline: none;
}

/* ── Colonne droite formulaire : carte blanche ───────────── */
.traitement .col-lg-8 form,
.traitement .col-lg-8 > div {
    background: #fff;
    border: 1px solid #e2eaf3;
    border-radius: 16px;
    padding: 1.8rem 2rem;
    border-top: 2px solid #b8d9f5;
  }

/* Titre optionnel dans la carte gauche */
.traitement .info > h5 {
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: #0563bb;
    margin: 0 0 .8rem 0;
    padding-bottom: .5rem;
    border-bottom: 1px solid #e2eaf3;
}

/* ── Alertes ─────────────────────────────────────────────── */
.alert-info {
    background: #eef7ff;
    border: 1px solid #b8d9f5;
    color: #013a6b;
    border-radius: 10px;
    font-size: .84rem;
}
.alert-danger {
    border-radius: 10px;
    font-size: .84rem;
}
.alert-success {
    border-radius: 10px;
    font-size: .84rem;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 992px) {
    .traitement .col-lg-4 {
        margin-bottom: 1.5rem;
    }
}
@media (max-width: 576px) {
    .traitement .info {
        padding: 1.2rem 1rem;
    }
    .traitement .col-lg-8 form,
    .traitement .col-lg-8 > div {
        padding: 1.2rem 1rem;
    }
}

/* ============================================================
   BULLES D'AIDE CONTEXTUELLES — sb-help
   Usage :
     <span class="sb-help" data-help="Votre texte d'aide ici">
         <i class="bx bx-info-circle"></i>
     </span>
   ============================================================ */
.sb-help {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 17px;
    height: 17px;
    min-width: 17px;
    border-radius: 50%;
    background: #e6f1fb;
    color: #185fa5;
    font-size: .72rem;
    font-weight: 700;
    cursor: pointer;
    flex-shrink: 0;
    vertical-align: middle;
    margin-left: .3rem;
    transition: background .15s, color .15s;
    position: relative;
    user-select: none;
    line-height: 1;
}

.sb-help i {
    font-size: .8rem;
    pointer-events: none;
    line-height: 1;
}
.sb-help.open {
    background: #013a6b;
    color: #fff;
}

/* Conteneur label + bulle d'aide — utilisé dans les formulaires */
.sb-label {
    display: flex;
    align-items: center;
    gap: .3rem;
    margin-bottom: .35rem;
}
.sb-label label {
    display: inline !important;
    margin: 0 !important;
    font-size: .82rem;
    font-weight: 600;
    color: #013a6b;
}
/* h4 avec bulle inline */
h4 .sb-help,
h3 .sb-help,
p .sb-help {
    vertical-align: middle;
    position: relative;
    top: -1px;
}

/* La bulle elle-même — injectée en JS dans le DOM */
.sb-help-popover {
    position: absolute; /* positionné par JS via top/left dans le body */
    background: #013a6b;
    color: #d6eaf8;
    font-size: .8rem;
    font-weight: 400;
    line-height: 1.55;
    padding: .65rem .9rem;
    border-radius: 10px;
    width: 240px;
    white-space: normal;
    z-index: 9999;
    pointer-events: none;
    box-shadow: 0 4px 16px rgba(1,58,107,.25);
}
.sb-help-popover strong {
    color: #fff;
    font-weight: 600;
    display: block;
    margin-bottom: .25rem;
}
/* Flèche vers le bas (bulle au-dessus) */
.sb-help-popover::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #013a6b;
}
/* Flèche vers le haut (bulle en dessous) */
.sb-help-popover--below::after {
    top: auto;
    bottom: 100%;
    border-top-color: transparent;
    border-bottom-color: #013a6b;
}
