/* Général */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    height: 100%;
    width: 100;
  }
  .page-wrapper {
    padding-left: 2rem;
    padding-right: 2rem;
    margin: 0 auto;
    background: #f8f8f8;
}

  
  /* Navbar */
  .transparent-navbar {
    background: transparent;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
  
  .transparent-navbar .navbar-brand {
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
    line-height: 1.2;
  }
  
  .transparent-navbar .navbar-nav .nav-link {
    color: #d2e1f3;
    margin: 0 10px;
    font-weight: 500;
    position: relative;
  }
  
  .transparent-navbar .nav-link.active::after {
    content: "";
    display: block;
    width: 20px;
    border-bottom: 2px solid white;
    margin-top: 5px;
  }
  .navbar.scrolled {
    background-color: #222222 !important;
    transition: background-color 0.3s ease;
  }
  
  
  /* Carousel */
  header {
    height: 100vh;
    position: relative;
  }
  
  .hero-section {
    background-image: url('/mnt/data/A_high-resolution_digital_photograph_depicts_a_mod.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    padding-top: 120px;
    padding-bottom: 120px;
    position: relative;
    z-index: 1;
  }
  
  .hero-section::after {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    /*background-color: rgba(0, 0, 0, 0.6);  overlay sombre */
    z-index: -1;
  }
  
  
  .read-more-link {
    color: #a3c3e7;
    text-decoration: none;
    padding-bottom: 2px;
    transition: 0.3s;
  }
  
  .read-more-link:hover {
    color: white;
    border-color: white;
  }
  .slide-index {
    display: flex;
    align-items: flex-end;
    gap: 1rem;
  }
  
  .slide-btn {
    font-size: 1.2rem;
    font-weight: 600;
    color: #d2e1f3;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
    padding-bottom: 4px;
    line-height: 1;
    display: inline-block;
  }
  
  .slide-btn.active {
    font-size: 2rem;
    color: #ffffff;
    font-weight: 700;
    border-bottom: 2px solid white;
  }
  
/* ========== SLIDE INDEX BUTTONS ========== */
.slide-index {
    align-items: flex-end; /* aligne tous les boutons sur le bas */
  }
  
  .slide-btn {
    font-size: 1.2rem;
    font-weight: 600;
    color: #d2e1f3;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
    padding-bottom: 4px;
    display: inline-block;
    transform: translateY(0); /* important pour alignement */
  }
  
  .slide-btn.active {
    font-size: 2rem;
    color: #ffffff;
    font-weight: 700;
    border-bottom: 2px solid white;
    transform: translateY(4px); /* compense l’agrandissement pour rester aligné */
  }
  
  /* ========== READ MORE LINK WITH ::BEFORE ========== */
  .read-more-link {
    color: #a3c3e7;
    text-decoration: none;
    position: relative;
    font-weight: 500;
    display: inline-block;
    line-height: 28px;
    padding-left: 95px;
  }
  
  .read-more-link::before {
    content: '';
    width: 75px;
    height: 5px;
    background-color: #8aafc0;
    display: inline-block;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
  }

  /* SECTION MODAL CONNEXION */
.modal-content {
    border-radius: 15px;
    padding: 20px;
  }
  
  .modal-header {
    border-bottom: none;
    justify-content: center;
  }
  
  .modal-title {
    font-weight: bold;
    font-size: 24px;
  }
  
  .modal-body {
    padding-top: 0;
  }

    .text-gris {
    text-align: center;
    font-size: 16px;
    font-weight: 100 !important;
    text-transform: uppercase;
    display: inline-block;
    margin: 40px 8px 10px 8px;
    color: #cccccc;}
  
  .form-control {
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    background-color: #f7f7f7;
    border: none;
  }
  
  .close {
    position: absolute;
    right: 15px;
    top: 15px;
    color: #696969;
    border-radius: 25%;
    opacity: 1;
    padding: 5px 10px;
    background: transparent;
    border:none;
    font-size: ;
  }
  
  .close:hover {
    color:#000;
  }
  .transparent-navbar {
    background: transparent;
    padding: 1rem;
    transition: background-color 0.3s ease;
  }
  
  /* Fond foncé seulement sur mobile */
  @media (max-width: 991.98px) {
    .transparent-navbar {
      background-color: #222; /* Foncé en mobile/tablette */
    }
  
    #navbarContent {
      display: none !important;
    }
  }
  
  /* Icône user */
  .fa-user {
    font-size: 1.5rem;
  }
  
  /* Icône menu */
  #menuIcon {
    transition: all 0.3s ease;
  }
  
  /* Offcanvas ajusté sous la navbar */
  .offcanvas {
    top: 80px;
    height: calc(100% - 80px);
    border: none;
    background-color: #222;
  }

  .slide-index {
    display: flex;
    align-items: flex-end;
  }
  
  .slide-btn {
    font-size: 1.2rem;
    font-weight: 600;
    color: #d2e1f3;
    cursor: pointer;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
  }
  
  .slide-btn.active {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    border-bottom: 2px solid white;
  }

  /* EDITION BDD CONTENU */
  .edit-wrapper {
    position: relative;
    display: inline-block;
  }

  .edit-wrapper .edit-icon {
    position: absolute;
    top: -10px;
    right: -25px;
    font-size: 1rem;
    color: #4f5795;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s ease;
  }

  .edit-wrapper:hover .edit-icon {
    opacity: 1;
  }

  .edit[contenteditable="true"] {
    border-bottom: 2px dashed #4f5795;
    padding: 2px;
  }

  /* Section et page expertises */

.hero-expertises {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background-image: url('../img/fit-back-expertises.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 60vh;
  position: relative;
}
.hero-realisations {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background-image: url('../img/bacnew-3.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 60vh;
  position: relative;
}


.hero-expertises h1 {
  font-weight: 700;
  font-size: 3rem;
  color: #fff;
}
.hero-apropos h1 {
  font-weight: 700;
  font-size: 3rem;
  color: #fff;
}
.hero-realisations h1 {
  font-weight: 700;
  font-size: 3rem;
  color: #fff;
}
.hero-apropos p {
  font-size: 1.2rem;
  color: #fff;
}
.hero-realisations p {
  font-size: 1.2rem;
  color: #fff;
}

h5 {
  padding-bottom: 15px;
}

.text-bleu-pale {
  color:#d1f9f8;
}

.hero-expertises p {
  font-size: 1.2rem;
  color: #fff;
}

.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.section-padding {
  padding: 60px 0;
  background: url('../img/bg-network.jpg') center / cover no-repeat;
  padding-top: 80px;
  color: #fff !important;
}
.section-padding-bg-white {
  padding: 60px 0;
  background: #fff;
  padding-top: 80px;
  color: #fff !important;
}
.section-padding-bg-bleu {
  padding: 60px 0;
  background: #122134;
  padding-top: 80px;
  color: #fff !important;
}
.section-padding-bg-light {
  padding: 60px 0;
  background: #d1f0f1;
  padding-top: 80px;
  color: #fff !important;
}

.section-approche {
  padding: 60px 0;
  background: #fff;
  padding-top: 80px;
  color: #3f586d !important;
}

/* accueil */
.accueil-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.accueil-header-left {
  flex: 1 1 50%;
}
.accueil-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0;
}

/* expertise */
.expertise-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.expertise-header-left {
  flex: 1 1 50%;
}
.expertise-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0;
}

.small-label {
  font-size: 0.9rem;
  color: #85a9a8 !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}
/* apropos */
.apropos-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.apropos-header-left {
  flex: 1 1 50%;
}
.apropos-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0;
}

.expertise-box {
  border-bottom: 1px solid white;
  padding: 30px 20px;
  background: transparent;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
}
.expertise-box-2 {
  border-bottom: 1px solid #3e6f85;
  padding: 30px 20px;
  background: transparent;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
}

/* realisations */
.realisations-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.realisations-header-left {
  flex: 1 1 50%;
}
.realisations-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0;
}

.expertise-box {
  border-bottom: 1px solid white;
  padding: 30px 20px;
  background: transparent;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
}

.expertise-box img {
  display: block;
  margin: 0 auto;
}

.border-fit {
  border-left: 3px solid #7a9f9e;
  padding-left: 1rem;
}

.expertise-box:hover {
  /*box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);*/
}

.blockquote-footer {
  color: #84a8a7;
}

.fit-marquee {
  overflow: hidden;
  background: #fff;
  padding: 20px 0;
  white-space: nowrap;
  position: relative;
}

.fit-marquee-track {
  display: inline-flex;
  animation: marquee 60s linear infinite;
}

.fit-marquee h1 {
  font-size: 4rem;
  font-weight: 900;
  color: #85a9a8;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-right: 3rem;
  white-space: nowrap;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .expertise-header {
    flex-direction: column;
    text-align: left;
  }

  .expertise-header-left {
    width: 100%;
  }
}


/* === Page À propos === */

.text-bleu-4 {
  color: #3d6f83;
}

/* Hero à propos */
.hero-apropos {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background-image: url('../img/fit-back-apropos.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 60vh;
  position: relative;
  padding: 0 15px;
}

.hero-apropos h1,
.hero-apropos p {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

/* Bloc texte sur image */
.fit-app-section {
  width: 100%;
  padding: 0px 0px 50px 0px;
}

.fit-app-img img {
  height: 100%;
  min-height: 400px;
  object-fit: cover;
}

.fit-app-text {
  position: relative;
  left: -60px; /* chevauchement visuel */
  z-index: 2;
  background: #fff;
  transition: transform 0.3s ease;
}

.fit-app-text:hover {
  transform: translateX(-10px);
}

/* Couleur texte spécifique mission */
.text-mission {
  color: #84a8a7;
  font-weight: bold;
}

/* Responsive mobile */
@media (max-width: 768px) {
  .fit-app-text {
    position: static;
    left: 0;
    margin-top: 30px;
    padding: 2rem;
    max-width: 100%;
    text-align: center;
  }
}


/* page index home page */
.list-group-item {
  cursor: pointer;
  padding: 1rem;
  border: none !important;
  border-radius: 0 !important; 
  background-color: rgb(243, 243, 243);
  transition: all 0.3s ease;
}

.list-group-item.active {
  background-color: #003B73;
  color: white;
  border-color: #003B73;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  transform: scale(1.06) translateY(0px);
  z-index: 2;
  position: relative;
  border-radius: 0 !important; 
}


.list-group-item.active img {
  filter: brightness(100);
}

div#expertiseContent {
    padding: 0px 25px 0px 25px;
}
.expertise-text {
  transition: opacity 0.3s ease;
}
.expertise-image-box {
  background: url('../img/bac.jpg') no-repeat center center;
  background-size: cover;
  border-radius: 12px;
  min-height: 400px;
  padding: 40px;
  position: relative;
}
.expertise-image-box::before {
  content: "";
  background: rgba(0, 0, 0, 0.6);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 12px;
}
.expertise-image-text {
  position: relative;
  color: #fff;
  max-width: 400px;
  z-index: 1;
}
.fit-section {
  position: relative;
 /* min-height: 900px;
  padding-bottom: 150px;*/
  background-color: #000;
}

.fit-lines {
  top: 180px;
  pointer-events: none;
}

.fit-line {
  position: absolute;
  top: 0;
  left: 20px;
  width: 2px;
  height: calc(100% - 180px);
  background-color: white;
  z-index: 0;
}

.fit-circle {
  width: 12px;
  height: 12px;
  background-color: white;
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: 14px;
  z-index: 1;
}


.fit-circle {
  width: 12px;
  height: 12px;
  background-color: white;
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: 14px;
  z-index: 1;
}

.fit-icon {
  color: white;
}

/*.fit-box {
  background-color: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(2px);
  border-left: 2px solid #fff;
  z-index: 2;
}*/

.img-fluid {
  width: 100%;
  height: auto;
}
video.no-shadow {
  box-shadow: none !important;
}
.text-bleu {color: #3f6e83}
.timeline-service {
position: relative;
padding-left: 40px;
border-left: 2px solid #3f6e83;
}

.timeline-icon {
width: 40px;
height: 40px;
background-color: #3f6e83;
color: white;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
margin-right: 15px;
flex-shrink: 0;
font-size: 16px;
}

.timeline-item {
position: relative;
}
.since-wrapper {
display: flex;
align-items: center;
justify-content: center;
gap: 20px;
margin-top: 30px;
}
.line {
flex: 1;
height: 1px;
background: #ccc;
max-width: 150px;
}
.since-text {
font-size: 1rem;
color: #666;
text-align: center;
font-style: italic;
}
.fit-process {
  display: flex;
  height: 100vh;
  overflow: hidden;
}
.circle-side {
  flex: 1;
  position: relative;
  overflow: hidden;
}
svg.circle-svg {
  position: absolute;
  width: 900px;
  height: 900px;
  top: 50%;
  left: -200px;
  transform: translateY(-50%) rotate(-110deg);
}
.segment {
  fill: none;
  stroke: #444;
  stroke-width: 35;
  cursor: pointer;
  transition: stroke 0.3s ease;
}
.segment.active {
  stroke: #0046c8;
}
.step-number {
  fill: white;
  font-size: 18px;
  font-weight: bold;
  text-anchor: middle;
  dominant-baseline: middle;
  transform: rotate(110deg);
  pointer-events: none;
}
.text-side {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
}
.text-side h4 {
  text-transform: uppercase;
  font-size: 0.9rem;
  color: #ccc;
  margin-bottom: 10px;
}
.text-side h2 {
  font-size: 3rem;
  margin-bottom: 20px;
}
.text-side p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #e0e0e0;
}
@media (max-width: 768px) {
  .fit-process { flex-direction: column; height: auto; }
  .circle-side { height: 400px; }
  .text-side { padding: 20px; }
  svg.circle-svg { width: 700px; height: 700px; left: -150px; }
}

.fit-process {
  display: flex;
  height: 100vh;
  overflow: hidden;
  margin: 0;
  background: #3a6b81;
  color: white;
  font-family: Arial, sans-serif;
}

.circle-side {
  flex: 1;
  position: relative;
}

.circle-image {
  position: absolute;
  top: 50%;
  left: -180px;
  width: 700px;
  height: 700px;
  transform: translateY(-50%);
  background: url('../img/logo-icon-blanc.png') no-repeat center center;
  background-size: 350px 350px;
  opacity: 0.2;
  z-index: 0;
  pointer-events: none;
}

svg.circle-svg {
  position: absolute;
  width: 700px;
  height: 700px;
  top: 50%;
  left: -180px;
  transform: translateY(-50%);
  z-index: 1;
}

.segment {
  fill: none;
  stroke: #52859d;
  stroke-width: 40;
  cursor: pointer;
  transition: stroke 0.3s ease;
}

.segment.active {
  stroke:#93bfc1;
}

.step-numbero {
  fill: white;
  font-size: 18px;
  /*font-weight: bold;*/
  text-anchor: middle;
  dominant-baseline: central;
  alignment-baseline: middle;
  pointer-events: none;
}

.text-side {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
}

.text-side h4 {
  text-transform: uppercase;
  font-size: 0.9rem;
  color: #ccc;
  margin-bottom: 10px;
}

.text-side h2 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.text-side p {
  font-size: 1.2rem;
  color: #ffffff;
}

.text-side .nav-buttons {
  margin-top: 30px;
  display: flex;
  gap: 15px;
}

.text-side button {
  background: none;
  border: 1px solid #ccc;
  color: white;
  padding: 12px 24px;
  cursor: pointer;
  /*font-weight: bold;*/
  border-radius: 10px;
}

/* CENTRE (mobile/tablette) */
.hover-center-text {
  display: none;
}

@media (max-width: 1024px) {
  .fit-process {
    flex-direction: column;
    height: auto;
    min-height: 100dvh;
  }

  .text-side {
    display: none;
  }

  .hover-center-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    transform: translate(-50%, -50%);
    z-index: 5;
    color: white;
    padding: 1rem;
  }

  .hover-center-text h2 {
    font-size: 1.6rem;
    margin-bottom: 10px;
  }

  .hover-center-text p {
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 20px;
  }

  .hover-center-text .nav-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
  }

  .hover-center-text .nav-buttons button {
    background: none;
    border: 1px solid #ccc;
    color: white;
    padding: 8px 12px;
    cursor: pointer;
    font-weight: bold;
  }
}
.text-bleu-3 {
color: #DBFAFC;
}
.text-bleu-4 {
color: #3d6f83;
}
h2#step-title {
color:#DBFAFC;
}

.fit-global-message {
  background-color: #111;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  min-height: 400px; /* Ajuste selon ton design */
}

.fit-global-message .container {
  z-index: 2;
  position: relative;
}

.text-highlight {
  color: #DBFAFC;
  font-weight: 700;
}

.cityline {
  position: absolute;
  inset: 0; /* top: 0; right: 0; bottom: 0; left: 0 */
  z-index: 1;
}

.cityline img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.8;
}

/* page realisations */
.section-padding.text-center.bg-fit {
  position: relative;
  background: #7ca09e url('../img/bacnew-1.png') no-repeat center center;
  background-size: cover;
  overflow: hidden;
  color: white;
}

.section-padding.text-center.bg-fit::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #132235;
  opacity: 0.8;/* Ajuste selon besoin */
  z-index: 0;
}

.section-padding.text-center.bg-fit > * {
  position: relative;
  z-index: 1;
}

/* STYLE FAQ */
.faq-section {
  background-color: #f8f9fa;
}

.faq-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #3f586d;
}

.faq-item {
  border: none;
  background: #fff;
  margin-bottom: 1rem;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.faq-question {
  font-weight: bold;
  color: #3f6e83;
  cursor: pointer;
  padding: 1.2rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1rem;
  transition: background 0.3s;
}

.faq-question.active {
  background-color: #3f6e83;
  color: #eef4f5;
}

.faq-question:hover {
  background-color: #3f6e83;
  color: #eef4f5;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-item.open .faq-answer {
  max-height: 500px; /* Ajuste selon le contenu si besoin */
}


.faq-answer {
  display: none;
  padding: 1rem 1.5rem;
  border-top: 1px solid #e2e2e2;
  color: #444;
  font-size: 1rem;
  background: #fff;
}

.faq-icon {
  transition: transform 0.3s ease;
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}
