/********** Template CSS **********/
:root {
    --primary: #B50717;
    --secondary: #F6F6F6;
    --light: #FFFFFF;
    --dark: #152440;
    --main-red: #B50717;
    --main-black: #111111;
    --light-bg: #f8f9fa;
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}


/* Styles généraux */
.section-title {
  color: var(--main-black);
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 1px;
  position: relative;
  margin-bottom: 1rem;
}
.section-title .underline {
  width: 60px;
  height: 4px;
  background: var(--main-red);
  margin: 8px auto 0;
  border-radius: 2px;
}

.underline {
  width: 60px;
  height: 4px;
  background: var(--main-red);
  margin: 8px auto 0;
  border-radius: 2px;
}

.department-menu li {
  font-size: 1.15rem;
  padding: 12px 0 12px 8px;
  color: var(--main-black);
  cursor: pointer;
  border-left: 3px solid transparent;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  display: flex;
  align-items: center;
  gap: 10px;
}
.department-menu li.active,
.department-menu li:hover {
  color: var(--main-red);
  border-left: 3px solid var(--main-red);
  background: rgba(181,7,23,0.07);
  font-weight: bold;
}

.department-content {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  padding: 32px 28px;
  min-height: 280px;
  animation-duration: 0.8s;
  color: #222;
}

.department-content em {
  color: #666;
  font-size: 1.08rem;
  display: block;
  margin-bottom: 14px;
}

.department-content p {
  font-size: 1.08rem;
  line-height: 1.5;
}

/* Responsive */

/* Tablettes et petits écrans */
@media (max-width: 991.98px) {
  .department-content {
    padding: 24px 20px;
    min-height: auto;
  }
  .department-menu li {
    font-size: 1.1rem;
    padding: 10px 0 10px 6px;
  }
  .section-title {
    font-size: 2rem;
  }
}

/* Petits écrans / mobiles */
@media (max-width: 767.98px) {
  /* .row {
    flex-direction: column;
  } */
  .col-md-3,
  .col-md-9 {
    max-width: 100%;
    flex: 0 0 100%;
  }
  .department-menu {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #ddd;
    position: relative;
  }
  /* Indicateur visuel à droite du menu scrollable */
  .department-menu::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 100%;
    pointer-events: none;
    background: linear-gradient(to left, rgba(181,7,23,0.15), transparent);
    transition: opacity 0.3s;
  }
  .department-menu.scrolled-end::after {
    opacity: 0;
  }

  .department-menu li {
    flex: 0 0 auto;
    border-left: none;
    border-bottom: 3px solid transparent;
    padding: 8px 16px;
    font-size: 1rem;
    white-space: nowrap;
  }
  .department-menu li.active,
  .department-menu li:hover {
    border-left: none;
    border-bottom: 3px solid var(--main-red);
    background: transparent;
  }
  .department-content {
    padding: 20px 16px;
    min-height: auto;
  }
  .department-content em,
  .department-content p {
    font-size: 1rem;
  }
  .department-content img {
    max-width: 80%;
    margin: 16px 0 0 0 !important;
  }
  .department-content > div {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center;
  }
}

/* Très petits écrans */
@media (max-width: 479.98px) {
  .section-title {
    font-size: 1.75rem;
  }
  .department-menu li {
    font-size: 0.95rem;
    padding: 6px 12px;
  }
  .department-content em,
  .department-content p {
    font-size: 0.95rem;
  }
}




.pSlider{
  font-size: 40px;
}

@media (max-width: 768px) {
  .pSlider {
    font-size: 28px;
  }
}

@media (max-width: 576px) {
  .pSlider {
    font-size: 20px;
  }
}

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

h3,
h4,
.font-weight-semi-bold {
    font-weight: 600 !important;
}

h5,
h6,
.font-weight-medium {
    font-weight: 500 !important;
}

.pt-6 {
    padding-top: 90px;
}

.pb-6 {
    padding-bottom: 90px;
}

.py-6 {
    padding-top: 90px;
    padding-bottom: 90px;
}

.btn {
    font-family: 'Barlow', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.btn-primary {
    color: #FFFFFF;
}

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

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

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

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

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

.top-shape::before {
    position: absolute;
    content: "";
    width: 35px;
    height: 100%;
    top: 0;
    left: -17px;
    background: var(--primary);
    transform: skew(40deg);
}

.navbar-light .navbar-nav .nav-link {
    font-family: 'Barlow', sans-serif;
    padding: 35px 15px;
    font-size: 18px;
    text-transform: uppercase;
    color: var(--dark);
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 15px;
}

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

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link  {
        padding: 10px 0;
    }
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(21, 36, 64, .7);
    z-index: 1;
}

@media (max-width: 576px) {
    .carousel-caption h5 {
        font-size: 14px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 30px;
        font-weight: 600 !important;
    }
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

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

.service-item {
    position: relative;
    overflow: hidden;
    height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: .3s;
}

.service-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 50px;
    bottom: -50px;
    left: 0;
    background: var(--light);
    border-radius: 100% 100% 0 0;
    box-shadow: 0px -10px 5px #EEEEEE;
    transition: .5s;
}

.service-item:hover::after {
    bottom: -25px;
}

.service-item p {
    transition: .3s;
}

.service-item:hover p {
    margin-bottom: 25px !important;
}

.team-item img {
    transform: scale(1.15);
    margin-left: -30px;
    transition: .5s;
}

.team-item:hover img {
    margin-left: 0;
}

.team-item .team-text {
    left: -100%;
    transition: .5s;
}

.team-item .team-text::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    top: 50%;
    right: -60px;
    margin-top: -30px;
    border: 30px solid;
    border-color: transparent transparent transparent var(--primary);
}

.team-item:hover .team-text {
    left: 0;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
    justify-content: start;
}

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

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}

.testimonial-carousel .owl-item img {
    width: 90px;
    height: 90px;
}

.blog-item img {
    transition: .5s;
}

.blog-item:hover img {
    transform: scale(1.1);
}


.gradient-custom {
  background: radial-gradient(50% 123.47% at 50% 50%, #00ff94 0%, #720059 100%),
    linear-gradient(121.28deg, #669600 0%, #ff0000 100%),
    linear-gradient(360deg, #0029ff 0%, #8fff00 100%),
    radial-gradient(100% 164.72% at 100% 100%, #6100ff 0%, #00ff57 100%),
    radial-gradient(100% 148.07% at 0% 0%, #fff500 0%, #51d500 100%);
  background-blend-mode: screen, color-dodge, overlay, difference, normal;
}
.carousel-indicators {
  border-radius: 50%;
  width: 10px;
  height: 10px;
}


    /* Bloc principal animé */
    .animate-fade-in {
        animation: fadeInUp 1s cubic-bezier(.23,1.02,.74,1.01);
    }
    @keyframes fadeInUp {
        from { opacity: 0; transform: translateY(40px);}
        to { opacity: 1; transform: translateY(0);}
    }

    /* Ligne de badges */
    

    /* Badge individuel */
    .gdb-badge {
        background: #fff;
        border-radius: 50%;
        box-shadow: 0 4px 16px rgba(181,7,23,0.13);
        width: 160px;
        height: 160px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.22s, box-shadow 0.22s;
        margin: 0 10px;
        position: relative;
        overflow: hidden;
    }
    .gdb-badge img {
        width: 150px;
        height: 150px;
        object-fit: contain;
        transition: transform 0.22s;
        filter: drop-shadow(0 2px 6px rgba(0,0,0,0.07));
    }
    .gdb-badge:hover {
        transform: scale(1.08) rotate(-2deg);
        box-shadow: 0 8px 32px rgba(181,7,23,0.22);
    }
    .gdb-badge:hover img {
        transform: scale(1.13) rotate(3deg);
    }

    /* Animation d’apparition individuelle */
    .animate-bounce-in {
        opacity: 0;
        animation: bounceIn 0.8s forwards;
    }
    .gdb-badge:nth-child(1) { animation-delay: 0s; }
    .gdb-badge:nth-child(2) { animation-delay: 0.1s; }
    .gdb-badge:nth-child(3) { animation-delay: 0.2s; }
    .gdb-badge:nth-child(4) { animation-delay: 0.3s; }
    .gdb-badge:nth-child(5) { animation-delay: 0.4s; }

    @keyframes bounceIn {
        0% { opacity: 0; transform: scale(0.7) translateY(50px);}
        60% { opacity: 1; transform: scale(1.15) translateY(-10px);}
        100% { opacity: 1; transform: scale(1) translateY(0);}
    }

    /* Responsive */
    @media (max-width: 991px) {
        .gdb-badges-row {
            flex-wrap: wrap;
            justify-content: center;
            gap: 24px;
            padding: 28px 10px;
        }
        .gdb-badge {
            width: 250px;
            height: 250px;
            margin: 0 6px 14px 6px;
        }
        .gdb-badge img {
            width: 220px;
            height: 220px;
        }
    }
    @media (max-width: 600px) {
        .gdb-badges-row {
            flex-direction: column;
            gap: 16px;
            padding: 18px 4px;
        }
        .gdb-badge {
            width: 250px;
            height: 250px;
            margin: 0 auto 10px auto;
        }
        .gdb-badge img {
            width: 220px;
            height: 220px;
        }
    }



  /* Icon cercle rouge */
    .expertise-item p {
        color: #333 !important;
        flex-grow: 1;
        margin-bottom: 0;
    }


  .icon-circle {
    width: 70px;
    height: 70px;
    background: #B50717;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: #fff;
    box-shadow: 0 4px 12px rgba(181,7,23,0.5);
    transition: background-color 0.3s, box-shadow 0.3s;
  }
  .expertise-item:hover .icon-circle {
    background-color: #8c0612;
    box-shadow: 0 6px 20px rgba(140,6,18,0.7);
  }

  /* Expertise item : même taille */
  .expertise-item {
    cursor: default;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    background: #fff;
    border-radius: 12px;
  }
  .expertise-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
  }

  /* Texte */
  .expertise-item h6 {
    margin-bottom: 0.5rem;
  }
  .expertise-item p {
    flex-grow: 1;
    color: #666;
  }

  /* Animations fade up */
  .animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation-fill-mode: forwards;
    animation-name: fadeUp;
    animation-duration: 0.6s;
    animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  }
  .animate-fade-up:nth-child(1) { animation-delay: 0s; }
  .animate-fade-up:nth-child(2) { animation-delay: 0.1s; }
  .animate-fade-up:nth-child(3) { animation-delay: 0.2s; }
  .animate-fade-up:nth-child(4) { animation-delay: 0.3s; }
  .animate-fade-up:nth-child(5) { animation-delay: 0.4s; }

  @keyframes fadeUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Responsive */
  @media (max-width: 576px) {
    .icon-circle {
      width: 60px;
      height: 60px;
    }
    .icon-circle i {
      font-size: 1.5rem !important;
    }
  }









:root {
  --primary-red: #B50717;
  --primary-black: #000000;
  --text-color: #333333;
  --bg-light: #fff;
  --shadow-light: rgba(181,7,23,0.1);
  --font-family: "Century Gothic", CenturyGothic, AppleGothic, sans-serif;
}

body {
  font-family: var(--font-family);
  color: var(--text-color);
  background-color: var(--bg-light);
  line-height: 1.6;
}

.values-missions-section {
  padding: 70px 15px;
  background-color: var(--bg-light);
}

.container {
  max-width: 1140px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}



.section-title::after {
  content: "";
  position: absolute;
  width: 70px;
  height: 4px;
  background-color: var(--primary-red);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.intro-text {
  font-size: 1.1rem;
  max-width: auto;
  text-align: justify;
  color: var(--text-color);
}

.intro-emphasized {
  font-style: italic;
  font-weight: 600;
  color: var(--primary-red);
  max-width: 650px;
  margin: 0 auto;
  font-size: 1.1rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.value-card {
  background: var(--bg-light);
  border: 1px solid var(--shadow-light);
  border-top: 5px solid var(--primary-red);
  border-radius: 14px;
  padding: 30px 25px;
  box-shadow: 0 8px 20px var(--shadow-light);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(181,7,23,0.25);
}

.value-icon {
  font-size: 2.8rem;
  color: var(--primary-red);
  margin-bottom: 20px;
}

.value-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-black);
  margin-bottom: 12px;
}

.value-description {
  font-size: 1rem;
  color: #555555;
}

.missions-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 30px;
  background: linear-gradient(135deg, rgba(181,7,23,0.05) 0%, rgba(181,7,23,0.01) 100%);
  border-left: 6px solid var(--primary-red);
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(181,7,23,0.1);
  text-align: center;
  transition: transform 0.3s ease;
  cursor: default;
}

.missions-section:hover {
  transform: scale(1.03);
}

.missions-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary-red);
  margin-bottom: 20px;
}

.missions-text {
  font-size: 1.15rem;
  color: var(--primary-black);
  line-height: 1.6;
}

/* Animations simples */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.values-missions-section > .container > * {
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

.values-missions-section > .container > *:nth-child(1) {
  animation-delay: 0.1s;
}

.values-missions-section > .container > *:nth-child(2) {
  animation-delay: 0.3s;
}

.values-missions-section > .container > *:nth-child(3) {
  animation-delay: 0.5s;
}

/* Responsive */

@media (max-width: 991px) {
  .section-title {
    font-size: 2.4rem;
  }
  .missions-title {
    font-size: 2rem;
  }
}

@media (max-width: 767px) {
  .values-missions-section {
    padding: 50px 15px;
  }
  .section-title {
    font-size: 2rem;
  }
  .value-card {
    padding: 25px 20px;
  }
  .missions-section {
    padding: 30px 20px;
  }
  .missions-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.8rem;
  }
  .intro-text,
  .intro-emphasized,
  .missions-text {
    font-size: 1rem;
  }
}





