/********** Template CSS **********/
:root {
    --primary: #E5530F;
    --secondary: #E93C05;
    --tertiary: #6B7280;
    --light: #bbbaba;
    --dark: #011A41;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

body {
    font-size: .90rem;
    color: #6B7280;
}

h1,
.h1,
h2,
.h2,
.fw-bold {
    font-weight: 700 !important;
}

h3,bouton-home
.h3,
h4,
.h4,
.fw-medium {
    font-weight: 600 !important;
}

h5,
.h5,
h6,
.h6,
.fw-semi-bold {
    font-weight: 500 !important;
}

.col-lg-8 h2 {
    color: #FFFFFF;
    font-size: 4.5rem;
}


/*** 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;
}

.col-lg-6 small {
    color: #FFFFFF;
  }

/*** Button ***/
.btn {
    transition: .5s;
    font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
    color: var(--light);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

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


/*** Navbar ***/
.fixed-top {
    transition: .5s;
}

.top-bar {
    height: 45px;
    border-bottom: 1px solid rgba(53, 94, 252, .07);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
    padding: 25px 15px;
    color: var(--tertiary);
    font-weight: 40;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav {
        background: #FFFFFF;
        font-size: 1rem;
        padding-bottom: 1.5rem !important;
    }

    .navbar .navbar-nav .nav-link {
        padding: 10px 0;
        border-bottom: 1px solid #e5e7eb;
        margin-left: 20px;
        margin-right: 20px;
    }
}

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

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

    .col-lg-8, .col-lg-7 {
        flex: 0 0 auto;
        width: 100%;

    }

    .col-lg-9 {
        flex: 0 0 auto;
        width: 60%;
    }
}




/*** Header ***/

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}


.carousel-control-prev,
.carousel-control-next {
    width: 3rem;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--primary);
    border: 10px solid var(--primary);
}

.carousel-control-prev-icon {
    border-radius: 0 3rem 3rem 0;
}

.carousel-control-next-icon {
    border-radius: 3rem 0 0 3rem;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 665px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .page-header {
        padding-top: 6rem !important;
    }
    #service {
        margin-top: 10px;
    }

    .skill {
        display: none;
    }
}



@media (min-width: 1200px) {
    .display-1 {
        font-size: 4.5rem;
    }   
}

.page-header {
    padding-top: 12rem;
    background: url(../img/header.webp) no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-weight: 500;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--tertiary);
}


/*** Facts ***/
.facts {
    background: #011A41;
}


/*** Callback ***/
.callback {
    position: relative;
}

.callback::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 50%;
    top: 0;
    left: 0;
    background: linear-gradient(#011A41, #011A41), url(../img/bg.png);
    z-index: -1;
}


/*** Feature ***/
.feature .feature-box,
.feature .feature-box * {
    transition: .5s;
}




/*** Service ***/
.service .nav .nav-link {
    transition: .5s;
}

.service .nav .nav-link.active {
    border-color: var(--primary) !important;
    background: var(--primary);
}

.service .nav .nav-link.active h5 {
    color: #FFFFFF !important;
}

.service .nav .nav-link.active h5 i {
    color: #FFFFFF !important;
}


/*** Project ***/
.project-item,
.project-item .project-img {
    position: relative;
}

.project-item .project-img a {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, .5);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    opacity: 0;
    transition: .5s;
}

.project-item:hover .project-img a {
    opacity: 1;
}

.project-item .project-title {
    position: absolute;
    top: 3rem;
    right: 0;
    bottom: 0;
    left: 3rem;
    border: 1px solid var(--light);
    border-radius: 8px;
    display: flex;
    align-items: flex-end;
    padding: 18px;
    z-index: -1;
    transition: .5s;
}

.project-item:hover .project-title {
    background: var(--primary);
    border-color: var(--primary);
}

.project-item .project-title h4 {
    transition: .5s;
}

.project-item:hover .project-title h4 {
    color: #FFFFFF;
}

.project-carousel .owl-nav {
    margin-top: 25px;
    display: flex;
    justify-content: center;
}

.project-carousel .owl-nav .owl-prev,
.project-carousel .owl-nav .owl-next {
    margin: 0 12px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: var(--light);
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.project-carousel .owl-nav .owl-prev:hover,
.project-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    color: var(--light);
}


/*** Team ***/
.team-item {
    position: relative;
   
}

.team-item img {
    position: relative;
    z-index: 2;
}

.team-item .team-text {
    position: absolute;
    top: 0;
    right: 3rem;
    bottom: 0;
    left: 3rem;
    padding: 15px;
    cursor: pointer;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    transition: .5s;
    z-index: 1;
}

.team-item:hover .team-text {
    background: var(--primary);
    border-color: var(--primary);
}

.team-item .team-text h4 {
    transition: .5s;
}

.team-item:hover .team-text h4 {
    color: #FFFFFF;
}

.team-item .team-social .btn {
    background: var(--light);
    color: var(--primary);
}

.team-item:hover .team-social .btn {
    background: #FFFFFF;
}

.team-item .team-social .btn:hover {
    background: var(--primary);
    color: var(--light);
}


/*** Testimonial ***/
.testimonial-item {
    position: relative;
    text-align: center;
    padding-top: 30px;
}

.testimonial-item .testimonial-text {
    position: relative;
    text-align: center;
}

.testimonial-item .testimonial-text .btn-square {
    position: absolute;
    width: 60px;
    height: 60px;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
}

.testimonial-item .testimonial-text::before {
    position: absolute;
    content: "";
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    border: 30px solid;
    border-color: var(--light) transparent transparent transparent;
}

.testimonial-item .testimonial-text::after {
    position: absolute;
    content: "";
    bottom: -59px;
    left: 50%;
    transform: translateX(-50%);
    border: 30px solid;
    border-color: #FFFFFF transparent transparent transparent;
}

.testimonial-carousel .owl-item img {
    margin: 0 auto;
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-dots {
    margin-top: 25px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 30px;
    height: 30px;
    border: 1px solid var(--light);
    border-radius: 30px;
    transition: .5s;
}

.testimonial-carousel .owl-dot::after {
    position: absolute;
    content: "";
    width: 16px;
    height: 16px;
    top: 6px;
    left: 6px;
    border-radius: 16px;
    background: var(--light);
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    border-color: var(--primary);
}

.testimonial-carousel .owl-dot.active::after {
    background: var(--primary);
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--light);
    font-weight: normal;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    color: var(--light);
    background: #000B1C;
}

.copyright a {
    color: var(--light);
}

.copyright a:hover {
    color: var(--primary);
}


/*** MODIF ***/

.text-primary {
    color: #E5530F !important;
}



nav {
    top: 0;
    width: 100%;
    backdrop-filter: blur(10px); /* Effet de flou */
    -webkit-backdrop-filter: blur(10px); /* Compatibilité Safari */
    background: rgba(255, 255, 255, 0.7); /* Fond blanc semi-transparent */
    border-bottom: 1px solid #e5e7eb;
    z-index: 999;
}

.container-fluid.fixed-top {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    will-change: transform;
    transform: translateZ(0);
}




.navbar {
    min-height: 4rem;
    display: flex;
    align-items: center;
}

/* NAVBAR SECONDAIRE */
.sub-navbar {
    background: #011a41; /* bleu foncé comme ton exemple */
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
}

/* Container interne */
.sub-navbar-container {
    display: flex;
    align-items: center;
    padding: 10px 5%;
    gap: 25px;
}

/* Liens */
.sub-navbar a {
    color: #fff;
    font-size: 14px;
    word-spacing: 2rem;
    margin-left: auto;
    margin-right: auto;
    text-decoration: none;
    white-space: nowrap;
    opacity: 0.9;
    transition: 0.3s;
}

.sub-navbar a:hover {
    opacity: 1;
}

/* Scroll propre mobile */
.sub-navbar::-webkit-scrollbar {
    display: none;
}

.sub-navbar a {
    position: relative;
}

.sub-navbar a::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0%;
    height: 1px;
    background: #fff;
    transition: 0.3s;
}

.sub-navbar a:hover::after {
    width: 100%;
}

/* Animation fluide */
.sub-navbar {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Cachée */
.sub-navbar.hide {
    transform: translateY(-100%);
    opacity: 0;
}

/* Navbar principale au-dessus */
.navbar {
    position: relative;
    z-index: 2;
    top: 0 !important;
}

/* Sub-navbar en dessous */
.sub-navbar {
    position: relative;
    z-index: 1;
}



.btn-light {
    background: #FFFFFF !important;
}

.d-none small {
    color: #FFFFFF;
}

.col-lg-6 a {
    color: #FFFFFF;
}

.nav-link, .nav-link:focus {
    color: #E5530F;
}
.nav-link:hover {
    color: #E5530F;
}


.bg-primary {
    background: #E5530F !important;
}

.btn-primary {
    color: #fff !important;
    background-color: #E5530F !important;
    border-color: #E5530F;
    transition: .3s ease-in-out;
}

.btn-primary:hover {
    color: #E5530F !important;
    background-color: #FFF !important;
    border-color: #E5530F;
}

.copy {
    font-family: Helvetica, sans-serif;
    font-weight: lighter!important;
    font-size: 13px;
}

.copy img {
    padding-right: 10px;
}

.btn-special {
    color: #FFFFFF;
    background: #E5530F;
}

@media screen and (min-width:1001px) {
    .display-4 img {
        display: none;
    }
    
}

@media screen and (max-width:1000px) {
    .display-5 img {
        display: none;
    }
    h4 {
        font-size: 1.3em;
    }
    .col-lg-8 h1,  .col-lg-8 h2{
        font-size: 2em;
    }
    .down h2 {
        letter-spacing: none;
        font-size: 1em;
    }
    .skill {
        max-width: 50%;
        margin-left: 2.3em;
    }

    
    
    
}

.row2 p {
    text-align: center;
}

.py-4 {
    padding-bottom: .1em !important;
}

fieldset label {
    font-size: .7em;
}

.border-end {
    margin-left: 1.5em;
}

.w-100 img {
    background-size: !important cover;
}

.display-3 {
    padding-bottom: .5em;
}

.start {
    text-align: start;
}

.start a {
    color: #555555;
    text-decoration: underline;
}

.start p {
    padding-bottom: 1em;
}

.skill {
    max-width: 75%;
}

.setting {

    animation: rotateAnimation 4s linear infinite; /* Appliquer l'animation */

    }

@keyframes rotateAnimation {
    from {
      transform: rotate(0deg); /* Angle de départ */
    }
    to {
      transform: rotate(360deg); /* Angle d'arrivée (une rotation complète) */
    }
  }




  /* ***************** NAVBAR ******************* */

  
  nav.isOpen {
    transform: translateX(0%);
    -webkit-transform: translateX(0%);
  }

  
  .btn_nav {
    position: fixed;
    right: 30px;
    top: 25px;
    z-index: 20;
    cursor: pointer;
  }
  
  .btn_nav .barre {
    width: 25px;
    height: 1.7px;
    background: #606060;
    border-radius: 10px;
    margin-top: 10px;
    transition: all .5s ease-in-out;
  }
  
  .btn_nav .barre::before, 
  .btn_nav .barre::after {
      content: '';
      position: absolute;
      background: #606060;
      border-radius: 10px;
      width: 15px;
      height: 1.7px;
      transition: all .5s ease-in-out;
  }
  
  .btn_nav .barre::before {
      transform: translateY(-9px);
  }
  
  .btn_nav .barre::after {
      transform: translateY(9px);
  }
  
  
  
    /*ANIMATION BTN BURGER*/
  
  .btn_nav.open .barre {
      transform: translateX(-50px);
      background: transparent;
  }  
  
  .btn_nav.open .barre::before {
      transform: rotate(45deg) translate(35px, -35px);
  }
  
  .btn_nav.open .barre::after {
      transform: rotate(-45deg) translate(35px, 35px);
  }

  

  @media screen and (min-width:1000px) {
    .btn_nav{
        display: none;
    }
    
}


/* Optionnel : Augmentez la marge entre le texte et le checkbox si nécessaire */
.check {
    display: inline;
}

fieldset a {
    color: #555555 !important;
    text-decoration: underline;
}

fieldset label {
    color: #555555;
}

fieldset a:hover {
    color: #E5530F;
    transition: ease-in-out .3s;
}

.ligne {
    width: auto;
    height: .5px;
    background: #959595;
    opacity: 50%;
    margin: 8px;
}

#service {
    background: #FFFFFF !important;
    color: #E5530F !important;
}

#service:hover {
    background: #faf3f0 !important;
}

#services:hover {
    background: #c8470c !important;
    color: #FFFFFF !important;
}

.bouton-nav a {
    padding: 10px !important;
    width: 10rem;
    font-size: 1rem !important;
    }

.boutoncall {
    padding: 10px !important;
    width: 20rem;
    font-size: 1rem !important;
}


.line {
    height: 1px;
    width: auto;
    background: #e5e7eb;
    margin-top: 40px;
}

#about .py-5 {
    padding-top: 1rem !important;

}

.top-barre {
    width: 100%;
    background: #011A41;
}

@media (min-width: 992px) {
  .px-lg-5 {
    padding-left: 5rem !important;
    padding-right: 5rem !important;
  }
  .bouton-home {
    margin-right: 1rem;
  }
}

.container-xxl {
    margin-top: 120px;
}

.delete {
width: 100%;
padding-right: var(--bs-gutter-x, .75rem);
padding-left: var(--bs-gutter-x, .75rem);
margin-right: auto;
margin-left: auto;
}

@media (max-width: 900px) {
  .text-home,
  .text-bottom {
    text-align: center !important;
  }
  .text-home {
    font-size: 3rem !important;
  }
  .bouton-home {
    width: 20rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
  .bouton-nav a .navbar .navbar-nav .nav-link {
    font-size: 10rem;
  }
  .img-back {
    display: none;
  }
}

.text-home {
    font-size: 2.5rem;
}

.text-bar {
    padding: 0px !important;
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
}






.logo-slider {
  width: 100%;
  overflow: hidden;
  position: relative; /* IMPORTANT */
}

/* Fade gauche + droite */
.logo-slider::before,
.logo-slider::after {
  content: "";
  position: absolute;
  top: 0;
  width: 120px; /* ajuste selon ton design */
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

/* Gauche */
.logo-slider::before {
  left: 0;
  background: linear-gradient(to right, #fff, transparent);
}

/* Droite */
.logo-slider::after {
  right: 0;
  background: linear-gradient(to left, #fff, transparent);
}

.slide-track {
  display: flex;
  align-items: center;
  gap: 120px;
  width: max-content;
  animation: scroll 40s linear infinite;
}

.slide {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide img {
  height: 35px;
  width: auto;
  object-fit: contain;
  filter: brightness(0);
  transition: transform 0.3s ease;
}

.slide img:hover {
  transform: scale(1.1);
}

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

/* Responsive */
@media (max-width: 1024px) {
  .slide-track {
    gap: 80px;
    animation-duration: 30s;
  }
  .slide img {
    height: 40px;
  }
}

@media (max-width: 600px) {
  .slide-track {
    gap: 60px;
    animation-duration: 35s;
  }
  .slide img {
    height: 30px;
  }
}

.border-end {
    border-right: 1px solid #e5e7eb !important;
}

.border {
    border: none !important;
}



.shadow {
    box-shadow: none !important;
}

.baton {
    height: 1rem;
    width: 1px;
    background: #ffffff;
    opacity: 20%;
    border-radius: 30%;
}




@media (min-width: 992px){
.col-lg-10 {
width: 80%;
}
.article img {
    width: 80%;
    height: 80%;
}
.nav1, .nav-tabs, .tab-content, .display-5 {
    width: 80%;
}
.about {
    margin-top: 4rem;
}
.valeur {
    margin-top: 0;
}
.display-5 {
    font-size : 2.87rem;
}
}


@media (max-width: 900px){
.col-lg-10 {
width: 100%;
}
.article img {
    width: 100%;
    height: 100%;
}
.nav1, .nav-tabs {
    width: 100%;
}
.bouton-nav a {
    margin-left: 20px;
}
.page-header {
    margin-top: 3rem;
}
.micro {
    margin-top: -5rem;
    margin-bottom: -2rem;
}
.bloc-form {
    display: none;
}
.display-5 {
    font-size : 1.90rem;
}

}

.share {
    margin-left: auto;
}

#nav-story-tab1 {
    cursor: pointer;
}


.gras {
  position: relative;
  display: inline-block;
  z-index: 1;
}

.gras::after {
  content: "";
  position: absolute;
  left: -10px;
  right: -10px;
  top: 50%;
  height: 120%;
  transform: translateY(-50%);
  z-index: -1;

  background: no-repeat center / 100% 100%;
  
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 40 C 20 5, 180 5, 190 40 C 180 75, 20 75, 10 40 Z' fill='none' stroke='%23ff7a00' stroke-width='6' stroke-linecap='round'/%3E%3C/svg%3E");
}

.img-fluid {
max-width: 90%;
height: auto;
}

.mb-0 {
    font-weight: bold;
}

.citation {
    font-style: italic;
}

.source {
    color: #bbbaba;
}

.text-bottom {
    font-size: .93rem;
}

.underline-brush {
  position: relative;
  display: inline-block;
}

.underline-brush::after {
  content: "";
  position: absolute;
  left: -5px;
  right: -5px;
  bottom: -10px;
  height: 20px;

  background-repeat: no-repeat;
  background-size: 100% 100%;
  
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 300 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 25 C 40 35, 260 5, 290 20' stroke='%23ff7a00' stroke-width='10' stroke-linecap='round' fill='none'/%3E%3Cellipse cx='15' cy='25' rx='12' ry='8' fill='%23ff7a00'/%3E%3C/svg%3E");
}

.img-about {
    max-width: 60%;
    margin-left: 5rem;
    height: auto;
}

.anonymous-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f3f3f3;
  padding: 20px;
  border-radius: 12px;
  max-width: 98.9%;
}

.anonymous-option h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.anonymous-option p {
  margin: 5px 0 0;
  font-size: 14px;
  color: #555;
}

/* Toggle switch */
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 28px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  background-color: #ccc;
  border-radius: 34px;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: 0.3s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: 0.3s;
}

input:checked + .slider {
  background-color: #4caf50;
}

input:checked + .slider:before {
  transform: translateX(22px);
}

.img-form {
    max-width: 70%;
    height: auto;
    border-radius: 8px;
}

.formu {
    margin-top: 0rem;
}

.navig {
    padding-bottom: 1rem;
}

.breadcrumb-item {
    margin-left: 1rem;
    margin-right: 1rem;
}

.link a {
    color: #6B7280 !important;
}

.inspeerant a {
    color: #011A41;
}

.portrait {
    margin-top: 1rem;
}

.news h2 {
    margin-left: auto;
    margin-right: auto;
}

.center {
    margin: none;
    padding: none;
}

.call-to-action {
    border: 1px solid #DFE4FD;
    border-radius: 15px;
    padding: 20px ;
    margin: 4rem;
}

.welcome {
    text-align: center;
    font-size: 3rem;
}


