.topsection {
    padding: 149px 0;
}

.itroduction {
    width: var(--rn-width1);
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.title {
    font-size: var(--titleSize);
    font-family: "PoppinsBold";
    text-align: center;
}
.title.left {
    text-align: left;
}
.content {
    font-size: 18px;
    font-family: "PoppinsRegular";
    /* text-align: center; */
}
.content span {
    color: var(--red);
}

/***
=============================================
Intro Cards
=============================================
***/
.introCard {
    flex: 0 0 calc(22% - 42px);
}


/***
=============================================
Leaders
=============================================
***/
.leaders {
    width: var(--rn-width1);
    margin: auto;
    display: flex;
    flex-direction: column;
}
.membersZone {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.memberCard {
    flex: 0 0 calc(28% - 50px);
    position: relative;
    padding-bottom: 90px;
}
.memberCard img {
    border: 3px solid transparent;
    width: 100%;
    cursor: pointer;
    transition: border 0.4s ease;
}
.memberCard img:hover {
    border: 3px solid var(--red);
}
.memberName {
    font-family: "PoppinsBold";
    font-size: 20px;
}
.memberRole {
    font-size: 18px;
    font-family: "PoppinsRegular";
}
.arrow-circle-inhover {
    font-family: "PoppinsSemiBold";
    font-size: var(--linksSize);
    position: absolute;
    bottom: 7%;
    left: 0%;
    display: block;
    cursor: pointer;
}
.arrow-circle-inhover::after {
    content: "";
    position: absolute;
    z-index: 2;
    left: 145%;
    top: 46%;
    margin: -7px 0 0 -14px;
    width: 28px;
    height: 20px;
    transform: rotate(0deg);
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0nNDEnIGhlaWdodD0nMTcnIHZpZXdCb3g9JzAgMCA0MSAxNycgZmlsbD0nbm9uZScgeG1sbnM9J2h0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnJz48cGF0aCBkPSdNMS4zOTk4NSA4LjI4OTk5SDM5LjQyMDJNMzkuNDIwMiA4LjI4OTk5TDMyLjIzODEgMS4wMjg4MU0zOS40MjAyIDguMjg5OTlMMzIuMjM4MSAxNS40OTk4JyBzdHJva2U9JyMwMDc3QjUnIHN0cm9rZS13aWR0aD0nMS41JyBzdHJva2UtbGluZWNhcD0ncm91bmQnIHN0cm9rZS1saW5lam9pbj0ncm91bmQnLz48L3N2Zz4K)
        100% 50% no-repeat;
    transition: width 0.7s ease;
}

.popUp {
    width: var(--rn-width1);
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 6px 20px rgba(0, 0, 0, 0.1); /* Box shadow */
}
.popUp.show {
    display: block;
    opacity: 1;
    z-index: 22;
}
#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 20;
    display: none;
}
#overlay.show {
    display: block;
}
.close {
    margin: 20px 20px -50px 0;
    text-align: right;
    font-family: "PoppinsBold";
    font-size: 22px;
    color: var(--red);
    z-index: 2;
    position: relative;
    display: flex;
    justify-content: flex-end;
}
#close {
    width: fit-content;
    padding: 0px 11px;
    cursor: pointer;
}
.detailsPopUp {
    display: flex;
}
.detailsPopUp .left {
    padding: 60px 0 60px 60px;
    width: 100%;
}
.detailsPopUp .right {
    padding: 60px;
}
.detailsPopUp .right .about {
    font-family: "PoppinsSemiBold";
    font-size: 18px;
}
.detailsPopUp .right .disc {
    font-family: "PoppinsRegular";
    margin: 10px 0;
    font-size: 20px;
}
.memberCard .linkedinLink {
    position: absolute;
    bottom: -12px;
    left: 39%;
}

.impact-results-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 60px;
    max-width: 1200px;
    margin: auto;
    padding: 60px;
}

.impact-column,
.results-column {
    flex: 1;
    min-width: 320px;
    max-width: 500px;
}

.intro {
    margin-bottom: 20px; /* Margin below paragraph */
    color: #fffefe; /* Text color */
    overflow-wrap: break-word; /* Enable breaking of words */
    word-wrap: break-word; /* Legacy support */
    white-space: normal; /* Normal whitespace rules */
    display: block; /* Ensure it behaves like a block element */
}

.checkbox-list {
    list-style: none;
    padding: 0;
}

.checkbox-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    line-height: 1.6;
}

.checkbox-list li::before {
    content: "☑";
    position: absolute;
    left: 0;
    color: var(--red);
    font-size: 16px;
}
.impact-results-container::before {
    content: "";
    margin: 20px;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1px;
    background-color: #000000;
    transform: translate(-50%, -50%);
}
.blue {
    color: var(--blue);
}
.mission .red {
    color: var(--red);
}
.pulse-animation a {
    color: white;
    text-decoration: none;

    transition: background-color 0.6s ease;
}

/* pour la section references */
        .references-section {
            width: var(--rn-width1);
            margin: 40px auto;
            text-align: center;
            /*margin-top: -130px;*/
        }

.section-subtitle {
    color: #a8a8a8;
    font-size: var(--discrSize);
    letter-spacing: 2px;
    /* text-transform: uppercase; */
    margin-bottom: 20px;
}



.logos-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 60px 40px;
    align-items: center;
    margin-bottom: 20px;
}

.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.logo-item:hover {
    opacity: 1;
}

.logo-item img {
    max-height: 60px;
    max-width: 180px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.logo-item:hover img {
    filter: grayscale(0%);
}

.logo-text {
    font-size: 24px;
    color: #999;
    font-weight: normal;
}

/* Navigation arrows */
.navigation {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 40px;
}

.nav-arrow {
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: white;
    transition: all 0.3s ease;
}

.nav-arrow:hover {
    background: #f0f0f0;
    border-color: #ccc;
}

.nav-arrow.active {
    background: var(--red);
    border-color: var(--red);
    color: white;
}

.nav-arrow svg {
    width: 16px;
    height: 16px;
}

/* Responsive */
@media (min-width: 700px) {
    .logo-wrapper {
          margin-top: 10px;

    }
}
@media (max-width: 1024px) {
    .logos-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 40px 30px;
    }
}

@media (max-width: 768px) {
    .logos-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px 20px;
    }

    .section-title {
        font-size: 28px;
        /* margin-bottom: 60px; */
    }
}

@media (max-width: 480px) {
    .logos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 15px;
    }

    .section-title {
        font-size: var(--titleSize);
    }
}

/* Logo specific styles */
/* .brand-logo.gray-active,
.brand-logo.gray-active .cls-1-eqdom,
.brand-logo.gray-active .cls-1-agenz,
.brand-logo.gray-active .cls-1-soge,
.brand-logo.gray-active .cls-1-07,
.brand-logo.gray-active .cls-1-mm,
.brand-logo.gray-active .cls-1-vc,
.brand-logo.gray-active .cls-1-bc,
.brand-logo.gray-active .cls-1-or,
.brand-logo.gray-active .cls-2-redal,.brand-logo.gray-active .cls-3-redal,
.brand-logo.gray-active .cls-2-marjane,.brand-logo.gray-active .cls-3-marjane,
.brand-logo.gray-active .cls-1-saham,.brand-logo.gray-active .cls-3-saham,
.brand-logo.gray-active .cls-1-mauto, .brand-logo.gray-active .cls-2-mauto, .brand-logo.gray-active .cls-3-mauto,
.brand-logo.gray-active .cls-1-cimr, .brand-logo.gray-active .cls-2-cimr, .brand-logo.gray-active .cls-3-cimr,
.brand-logo.gray-active .cls-1-cfc, .brand-logo.gray-active .cls-2-cfc, .brand-logo.gray-active .cls-4-cfc,
.brand-logo.gray-active .cls-6-sg, .brand-logo.gray-active .cls-1-sg, .brand-logo.gray-active .cls-2-sg, .brand-logo.gray-active .cls-3-sg, .brand-logo.gray-active .cls-4-sg
.brand-logo.gray-active .cls-1-daa, .brand-logo.gray-active .cls-3-daa, .brand-logo.gray-active .cls-2-daa, .brand-logo.gray-active .cls-4-daa, .brand-logo.gray-active .cls-5-daa, .brand-logo.gray-active .cls-6-daa,
.brand-logo.gray-active .cls-10-daa, .brand-logo.gray-active .cls-11-daa, .brand-logo.gray-active .cls-13-daa, .brand-logo.gray-active .cls-9-daa
{
    fill: rgb(174, 174, 174);
    transition: fill 0.3s ease;
} */

/* On hover: back to original red */
.logo-wrapper:hover {
    fill: unset;
}

/* White areas: add drop shadow on hover */
.logo-wrapper:hover .brand-logo {
    filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.3));
    transition: filter 0.3s ease;
}


/* Carrousel scrollable */
.logos-grid.scroll-mode {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 40px;
  scroll-snap-type: x mandatory;
  padding: 10px 0;
}

.logo-wrapper {
  flex: 0 0 auto;
  scroll-snap-align: start;
}

.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.logo-item:hover {
  opacity: 1;
}

.logo-item img {
  max-height: 60px;
  max-width: 180px;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.logo-item:hover img {
  filter: grayscale(0%);
}



.casablanca-text {
    color: #999;
    font-size: 12px;
}

.navigation-container {
    display: flex;
    gap: 10px;
}

.nav-button {
    width: 50px;
    height: 50px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 18px;
    /* color: #666; */
    text-decoration: none;
}

.nav-button:hover {
    border-color: #ff6b6b;
    background-color: #fff5f5;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.nav-button.active {
    border-color: #ff6b6b;
    background-color: #fff5f5;
    color: #ff6b6b;
}

.nav-button.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.nav-button.disabled:hover {
    border-color: #e0e0e0;
    background-color: #ffffff;
    transform: none;
    box-shadow: none;
}

/* Flèches personnalisées */
.arrow-left::before {
    content: "‹";
}

.arrow-right::before {
    content: "›";
}

/* end references */

/* team */

        .team-section {
            /* background-color: #f8f9fa; */
            padding: 80px 20px 120px 20px;
        }

        .header-container {
                        width: var(--rn-width1);
            margin: 40px auto;
                        /* margin: 0 auto 60px auto; */
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            /* gap: 20px; */
        }

        .content {
            /* max-width: 600px; */
        }

        .subtitle {
            color: #B3B3B3;
            font-size: 16px;
            margin-bottom: 10px;
            font-weight: 500;


        }

        .pageTitles {
            font-size: 36px;
            font-weight: 700;
            color: #212529;
            line-height: 1.2;
            margin-bottom: 5px;
        }


        .slider-container {
            /* max-width: 1200px; */
            margin: auto;
            position: relative;
            overflow: hidden;
            width: var(--rn-width1);
            margin: 40px auto;
        }
        .swiper{
                        width: var(--rn-width1);
            margin: 40px auto;
        }
        .slider-wrapper .mySwiperTeam {
            display: flex;
            transition: transform 0.5s ease-in-out;
            width: 100%;
        }

        .slider-slide {
            flex: 0 0 100%;
            display: flex;
            justify-content: center;
            padding: 0 10px;
        }

        .profile-container {
            width: 100%;
            max-width: 320px;
            background: transparent;
            position: relative;
        }

        .image-card {
            background: white;
            border-radius: 15px;
            /* box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1); */
            overflow: hidden;
            /* width: 100%; */
            height: 350px;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .image-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
        }

        .profile-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease;
        }

        .profile-container:hover .profile-image {
            transform: scale(1.05);
        }

        .info-card {
            background: white;
            border-radius: 12px;
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
            padding: 20px;
            position: absolute;
            bottom: -30px;
            left: -10px;
            /* width: 220px; */
            transition: transform 0.3s ease;
            font-family: 'poppinsBold';
        }

        .profile-container:hover .info-card {
            transform: translateY(-5px);
        }

        .name {
            font-size: 16px;
            font-weight: 700;
            color: #2c3e50;
            margin-bottom: 6px;
        }

        .role {
            font-size: 14px;
            color: #e74c3c;
            font-weight: 500;
        }



        .nav-btn {
            margin: 10px;
            /* background: #dc3545; */
            color: white;
            border: none;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            font-size: 18px;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .nav-btn:hover:not(:disabled) {
            /* background: #c82333; */
            transform: scale(1.1);
        }

        .nav-btn:disabled {
            background: #6c757d;
            cursor: not-allowed;
            opacity: 0.5;
        }





        @media (max-width: 768px) {
            .team-section {
                padding: 60px 15px 80px 15px;
            }

            .info-card {
                width: 90%;
                left: 5%;
                bottom: -20px;
            }

            .image-card {
                height: 320px;
            }

            .name {
                font-size: 18px;
            }

            .role {
                font-size: 12px;
            }

            .pageTitles {
                font-size: 24px;
            }

            .slider-controls {
                margin-top: 40px;
            }

            .nav-btn {
                width: 45px;
                height: 45px;
                font-size: 16px;
            }
        }

.slider-container {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease;
}

.slider-slide {
    min-width: 200px; /* largeur d'un seul élément */
    flex-shrink: 0;
    margin-right: 20px;
}

        /* Par défaut (mobile) : 1 carte par slide */
.slider-slide {
  flex: 0 0 100%;
  display: flex;
  justify-content: center;
   padding: 0 10px;
}

/* Tablette : 2 cartes visibles */
 @media (min-width: 768px) {
   .slider-slide {
    flex: 0 0 30%;
  }
}

/* Desktop : 4 cartes visibles */
 @media (min-width: 1024px) {
  .slider-slide {
    flex: 1 0 30%;
  }
}
/* Desktop : 4 cartes visibles */
@media (min-width: 1300px) {
  .slider-slide {
    flex: 1 0 22.5%;
  }
}
@media (max-width: 400px) {
.swiper-android .swiper-slide, .swiper-ios .swiper-slide, .swiper-wrapper  {
    transform: translate3d(-15px, 0, 0) ;
}
}
.slider-nav {
  display: flex;
  gap: 10px;
    justify-content: right;
  align-items: center;
  margin-top: 42px;
}

.nav-btn {
  width: 50px;
  height: 50px;
  border: 2px solid #ddd;
  background-color: #fff;
  border-radius: 8px;
  font-size: 24px;
  font-weight: bold;
  color: #666;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  user-select: none;
}

.nav-btn:hover {
  background-color: #f8f9fa;
  border-color: #ff002b;
  /* color: #ff002b; */
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(255, 60, 0, 0.2);
}

.nav-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(219, 38, 6, 0.3);
}

.nav-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background-color: #f8f9fa;
  color: #ccc;
  border-color: #e9ecef;
}

.nav-btn:disabled:hover {
  transform: none;
  box-shadow: none;
  background-color: #f8f9fa;
  border-color: #e9ecef;
  color: #ccc;
}

/* Style pour le bouton précédent */
#prevBtn {
  margin-right: 5px;
}

/* Style pour le bouton suivant */
#nextBtn {
  margin-left: 5px;
}

/* Variante avec style plus moderne */
.slider-nav.modern .nav-btn {
  border-radius: 50%;
  background: linear-gradient(145deg, #ffffff, #f0f0f0);
  box-shadow: 5px 5px 10px #d1d1d1, -5px -5px 10px #ffffff;
  border: none;
}

.slider-nav.modern .nav-btn:hover {
  background: linear-gradient(145deg, #f0f0f0, #ffffff);
  box-shadow: inset 2px 2px 5px #d1d1d1, inset -2px -2px 5px #ffffff;
}
         /* Version Mobile - CSS uniquement */
/* Tablettes et petits écrans */
/* end team */

/* no promess */
.promises-section {
    display: flex;
    grid-template-columns: 1fr 1fr;
    /* gap: 80px; */
    align-items: start;
    width: var(--rn-width1);
    margin: 40px auto;
}

.left-content {
    padding-right: 20px;
    width: 155%;
    margin-right: 20px;
}

.promises-section h2 {
    font-size: var(--titleSize);
    margin-bottom: 30px;
    color: #1a1a1a;
}

.promises-section h2::after {
    content: ".";
    color: #e53e3e;
}

.description {
    /* font-size: 1.1rem; */
    /* color: #666; */
    margin-bottom: 25px;
    /* line-height: 1.7; */
}

.expertise-text {
    font-size: 1rem;
    /* color: #666; */
    margin-bottom: 40px;
    line-height: 1.7;
}


.arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.cta-button:hover .arrow {
    transform: translateX(3px);
}

.promises-grid {
    display: grid;
    grid-template-columns: 1.5fr 1.7fr;
    /* gap: 25px; */
}

.promise-item {
    display: flex
;
    gap: 20px;
    align-items: flex-start;
    padding: 6px;
    /* background: white; */
    border-radius: 16px;
    /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); */
    transition: all 0.3s ease;
}code
.promise-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.promise-icon {
    width: 60px;
    height: 60px;
    background-color: #e53e3e;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.5rem;
}

.promise-content {
    flex: 1;
}

.promise-content p {
    line-height: 1.5;
}

@media (max-width: 1024px) {
    /* nos promis*/
    .promise-content p{
        font-size: 14px;
    }
    .description{
        font-size: 14px;
    }
    .left-content {
        padding-right: 7px;
        width: 100%;
    }
    .promise-icon {
        width: 50px;
        height: 50px;
    }
}
@media (max-width: 768px) {
    .promise-content p{
        margin-top: 10px;
    }
    .promises-section {
        grid-template-columns: 1fr;
        gap: 50px;
        display: block;
    }

    .promises-section h2 {
        font-size: var(--titleSize);
    }

    .promises-grid {
        margin-top: 10px;
        grid-template-columns: 1fr;
    }

    .container {
        padding: 40px 15px;
    }

    .left-content {
        padding-right: 0;
    }
    .left-content{
        width: 100%;
    }
    .left-content .thm-btn.red.bgw{
        width:198px
    }
}

@media (max-width: 480px) {
    .promise-item {
        padding: 20px;
        gap: 15px;
    }

    .promise-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .cta-button {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
}
/* end no promess */

/* mission */

.mission-vision-section {
    background: #f5f5f7;
    border-radius: 24px;
    padding: 60px 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: var(--rn-width1);
    margin: 40px auto;
}

.content-area {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.section-block h2 {
    font-size: 2.5rem;
    color: #1a1a1a;
    margin-bottom: 20px;
    /* width: 50%; */
}

        .section-block h2 {
            font-size: 2.5rem;
            color: #1a1a1a;
            margin-bottom: 20px;
        }

.visual-area {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 400px;
}

.person-container {
    position: relative;
}

.person-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    position: relative;
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
}

        .person-image {
            width: 200px;
            height: 200px;
            border-radius: 50%;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.2rem;
            position: relative;
            box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
        }

.experience-badge {
    position: absolute;
    top: -20px;
    right: -20px;
    background: #e74c3c;
    color: white;
    padding: 15px 20px;
    border-radius: 12px;
    font-size: 1.1rem;
    box-shadow: 0 10px 25px rgba(231, 76, 60, 0.3);
    transform: rotate(5deg);
}

        .experience-badge {
            position: absolute;
            top: -20px;
            right: -20px;
            background: #e74c3c;
            color: white;
            padding: 15px 20px;
            border-radius: 12px;
            font-size: 1.1rem;
            box-shadow: 0 10px 25px rgba(231, 76, 60, 0.3);
            transform: rotate(5deg);
        }

.analytics-text {
    color: white;
    text-align: center;
    font-size: 0.8rem;
}

        .analytics-text {
            color: white;
            text-align: center;
            font-size: 0.8rem;
        }

.label {
    position: absolute;
    color: #666;
    font-size: 0.8rem;
    background: white;
    padding: 4px 8px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

        .label {
            position: absolute;
            color: #666;
            font-size: 0.8rem;
            background: white;
            padding: 4px 8px;
            border-radius: 6px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }

/* Responsive */
@media (max-width: 768px) {
    .mission-vision-section {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 20px;
        text-align: center;
    }

    .section-block h2 {
        font-size: 2rem;
        font-family: 'PoppinsBold';
    }

    .visual-area {
        height: 300px;
    }

    .person-image {
        width: 150px;
        height: 150px;
    }

    .person-image::before {
        font-size: 3rem;
    }

    .analytics-circle {
        width: 100px;
        height: 100px;
        top: -20px;
        left: -40px;
    }

    .experience-badge {
        font-size: 0.9rem;
        padding: 10px 15px;
    }
}
/* end mission*/

/* a propos */

.hero-section {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
    min-height: 500px;
    width: var(--rn-width1);
    margin: 40px auto;
}

.hero-image {
    flex: 1;
    position: relative;
}

.image-container {
    border-radius: 45px;
    position: relative;
    background-image: url("images/agence/firstagency.webp");
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.person-image {
    width: 280px;
    height: 350px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 280 350"><rect width="280" height="350" fill="%23ddd"/><text x="50%" y="50%" text-anchor="middle" dy=".3em" font-size="20" fill="%23999">Femme avec tablette</text></svg>');
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    position: relative;
    z-index: 2;
}

.rating-badge {
    position: absolute;
    top: -20px;
    right: -30px;
    background: white;
    padding: 15px 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 3;
}

.rating-profiles {
    display: flex;
    margin-bottom: 8px;
    align-items: center;
    gap: 10px;
}

.profile-pic {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(45deg, #e74c3c, #f39c12);
    border: 2px solid white;
}

        .rating-number {
            font-size: 24px;
            color: #333;
        }

.rating-text {
    font-size: 12px;
    /* color: #666; */
    margin-bottom: 5px;
}

.stars {
    color: #e74c3c;
    font-size: 14px;
}

.rating-score {
    font-size: 11px;
    color: #999;
}

.hero-content {
    flex: 1;
}

.section-label {
    color: #bbb;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

        .hero-title {
            font-size: 48px;
            color: #333;
            margin-bottom: 40px;
            line-height: 1.2;
        }

.hero-text {
    margin-bottom: 30px;
    text-align: justify;
}

        .brand-highlight {
            color: #e74c3c;
        }

.stats-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    margin-top: 60px;
    width: var(--rn-width1);
    margin: 40px auto;
}

        .stat-card {
            background: #333;
            color: white;
            padding: 40px 30px;
            border-radius: 30px;
            text-align: left;
            transition: transform 0.3s ease;
        }

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card:nth-child(2) {
    background: white;
    color: #333;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

        .stat-number {
            font-size: 42px;
            margin-bottom: 15px;
            display: block;
            font-family: 'PoppinsBold';
        }

.stat-card:nth-child(4) .stat-number {
    color: #ffffff;
}

.stat-label {
    font-size: 16px;
    opacity: 0.9;
}

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

.hero-section,
.stats-section {
    animation: fadeInUp 1s ease-out;
}

/* mobile tablete */
/* MOBILE LARGE (481px - 768px) */
@media (max-width: 768px){
    .container {
        padding: 25px 20px;
    }

    .hero-section {
        flex-direction: column;
        text-align: center;
        gap: 35px;
        margin-bottom: 50px;
    }
    .hero-image {
        order: 1;
        width: 100%;
    }
    .hero-content {
        order: 2;
    }
    .titleTopSection {
        font-size: 23px;
    }
    .container .underTitle {
        font-family: "PoppinsRegular";
        font-size: 14px;
    }

    .person-image {
        width: 200px;
        height: 260px;
    }

    .rating-badge {
        position: relative;
        top: 15px;
        right: 0;
        margin: 15px auto 0;
        padding: 12px 16px;
    }

    .rating-number {
        font-size: 20px;
    }

    .profile-pic {
        width: 25px;
        height: 25px;
    }

    .hero-title {
        font-size: 36px;
        margin-bottom: 30px;
    }

    .hero-text {
        font-size: 15px;
        margin-bottom: 25px;
        text-align: left;
    }

    .section-label {
        font-size: 13px;
        margin-bottom: 15px;
    }

    .stats-section {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-top: 40px;
    }

    .stat-card {
        padding: 30px 20px;
        border-radius: 15px;
    }

    .stat-number {
        font-size: 32px;
        margin-bottom: 12px;
    }

    .stat-label {
        font-size: 14px;
    }
}

/* MOBILE SMALL (320px - 480px) */
@media (max-width: 480px) {
    .container {
        padding: 20px 15px;
    }

    .hero-section {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        margin-bottom: 40px;
    }

    .hero-content {
        order: 2;
    }

    .image-container {
        height: 250px;
    }

    .person-image {
        width: 170px;
        height: 220px;
    }

    .rating-badge {
        position: relative;
        top: 10px;
        right: 0;
        margin: 10px auto 0;
        padding: 10px 12px;
        border-radius: 12px;
    }

    .rating-profiles {
        gap: 8px;
        margin-bottom: 6px;
    }

    .profile-pic {
        width: 22px;
        height: 22px;
    }

    .rating-number {
        font-size: 18px;
    }

    .rating-text {
        font-size: 11px;
    }

    .stars {
        font-size: 12px;
    }

    .rating-score {
        font-size: 10px;
    }

    .section-label {
        font-size: 12px;
        margin-bottom: 12px;
        letter-spacing: 1px;
    }

    .hero-title {
        font-size: 28px;
        margin-bottom: 25px;
        line-height: 1.3;
    }

    .hero-text {
        font-size: 14px;
        margin-bottom: 20px;
        text-align: left;
        line-height: 1.6;
    }

    .stats-section {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 35px;
    }

    .stat-card {
        padding: 25px 20px;
        border-radius: 12px;
    }

    .stat-number {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .stat-label {
        font-size: 13px;
    }
}

/* MOBILE EXTRA SMALL (moins de 320px) */
@media (max-width: 319px) {
    .container {
        padding: 15px 10px;
    }

    .hero-title {
        font-size: 24px;
    }

    .hero-text {
        font-size: 13px;
    }

    .image-container {
        height: 220px;
    }

    .person-image {
        width: 150px;
        height: 190px;
    }

    .stat-card {
        padding: 20px 15px;
    }

    .stat-number {
        font-size: 24px;
    }

    .stat-label {
        font-size: 12px;
    }
}

/* AMÉLIORATIONS RESPONSIVE SPÉCIFIQUES */

/* Ajustement de l'espacement vertical sur mobile */
@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
    }

    /* Optimisation du badge rating pour mobile */
    .rating-badge {
        transform: none;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    }

    /* Amélioration de la lisibilité du texte */
    .hero-text {
        max-width: none;
    }

    /* Animation adaptée mobile */
    @keyframes fadeInUpMobile {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .hero-section,
    .stats-section {
        animation: fadeInUpMobile 0.8s ease-out;
    }
}

/* ORIENTATION LANDSCAPE MOBILE */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        flex-direction: row;
        align-items: center;
        text-align: left;
        gap: 30px;
    }

    .hero-content {
        order: 1;
    }

    .hero-image {
        order: 2;
    }

    .person-image {
        width: 140px;
        height: 180px;
    }

    .hero-title {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .hero-text {
        font-size: 12px;
        margin-bottom: 15px;
    }

    .stats-section {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
    }

    .stat-number {
        font-size: 20px;
    }

    .stat-label {
        font-size: 11px;
    }
}

/* ÉTATS DE HOVER DÉSACTIVÉS SUR MOBILE */
@media (hover: none) {
    .stat-card:hover {
        transform: none;
    }
}

/* AMÉLIORATIONS TACTILES */
@media (max-width: 768px) {
    .stat-card {
        cursor: default;
        transition: none;
         padding: 20px 10px;
    }
    .rating-badge {
        min-height: 44px; 
    }
}
/* end a propos */

/* top section */

.topsection {
    justify-content: center;
    display: flex;
    color: white;
    text-align: center;
    padding: 148px 0;
}

.main-title {
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
    color: white;
    display: flex;
    justify-content: center;
}

.highlight {
    color: #ff4444;
}

.red-accent {
    width: 250px;
    height: 60px;
    margin: 2rem auto;
    position: relative;
}

.red-accent::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 60px;
    border: 3px solid transparent;
    border-bottom: 3px solid #ff4444;
    border-radius: 0 0 200px 200px;
    animation: glowSmile 2s infinite alternate;
}

@keyframes glowSmile {
    0% {
        border-bottom-color: #ff4444;
        filter: drop-shadow(0 0 5px rgba(255, 68, 68, 0.3));
    }
    100% {
        border-bottom-color: #ff6666;
        filter: drop-shadow(0 0 15px rgba(255, 68, 68, 0.6));
    }
}

@keyframes glowSmile {
    0% {
        border-bottom-color: #ff4444;
        filter: drop-shadow(0 0 5px rgba(255, 68, 68, 0.3));
    }
    100% {
        border-bottom-color: #ff6666;
        filter: drop-shadow(0 0 15px rgba(255, 68, 68, 0.6));
    }
}

/* Effet de particules en arrière-plan */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(255, 68, 68, 0.3);
    border-radius: 50%;
    animation: float 6s infinite ease-in-out;
}

.particle:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}
.particle:nth-child(2) {
    top: 60%;
    left: 20%;
    animation-delay: 1s;
}
.particle:nth-child(3) {
    top: 40%;
    left: 80%;
    animation-delay: 2s;
}
.particle:nth-child(4) {
    top: 80%;
    left: 70%;
    animation-delay: 3s;
}
.particle:nth-child(5) {
    top: 10%;
    left: 90%;
    animation-delay: 4s;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0px) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-20px) scale(1.2);
        opacity: 0.6;
    }
}

/* Animation de fondu au chargement */
.fade-in {
    animation: fadeIn 1.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Effet de hover subtil sur le texte */
.container:hover .main-title {
    transform: translateY(-2px);
    transition: transform 0.3s ease;
}

.background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; /* PREND la hauteur du parent */
  object-fit: cover;
  z-index: 0;
  opacity: 0.5; /* Rends la vidéo discrète */
  pointer-events: none; /* Important pour que clics passent au texte */
}

.topsection .container {
  position: relative;
  z-index: 1;
  text-align: center;
  color: white;
}

.video-overlay {

  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* pour assombrir un peu */
  z-index: 1; /* ENTRE vidéo et texte */
}


.topsection .container {
    position: relative;
    z-index: 2;
    width: var(--rn-width1);
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
}

/* -------- Responsive -------- */
@media (max-width: 1300px) {
    .memberName {
        font-size: 16px;
    }
    .memberRole {
        font-size: 14px;
    }
    .detailsPopUp .right {
        padding: 30px;
    }
    .memberCard {
        flex: 0 0 calc(29% - 50px);
    }
    .arrow-circle-inhover::after {
        width: 20px;
        height: 18px;
    }
    .detailsPopUp .right .disc {
        font-size: 14px;
    }
    .detailsPopUp .right {
        padding: 20px;
    }
    .detailsPopUp .left {
        padding: 35px 0 55px 25px;
        width: 80%;
    }
    .linkedinLink svg {
        width: 20px;
    }

    .image-container {
      height: 330px;
        width: 100%;
    }
    .hero-title {
        font-size: 36px;
    }
    .titleTopSection {
        font-size: 28px;
    }
    .container .underTitle {
        font-size: 17px;
    }
}
@media (max-width: 900px) {
    .content {
        font-size: 14px;
    }

    /*** Intro Cards ***/
    .introCard {
        flex: 0 0 calc(53% - 50px);
    }

    /*** members ***/
    .memberCard {
        flex: 0 0 calc(39% - 50px);
        padding-bottom: 60px;
    }
}
@media (max-width: 700px) {
    /*** members ***/
    .memberCard {
        flex: 0 0 calc(56% - 50px);
    }
    .detailsPopUp .left {
        width: 100%;
    }
    .detailsPopUp {
        flex-direction: column;
    }
    .popUp.show {
        overflow-x: hidden;
        height: 500px;
        overflow-y: scroll;
    }
}
@media (max-width: 500px) {
    /*** members ***/
    .memberCard {
        flex: 86%;
        width: 85%;
    }
    .close {
        margin: 6px 0px 6px 0;
    }
    .detailsPopUp .left {
        padding: 0px 0px 30px 0px;
    }
    .memberCard .linkedinLink {
        bottom: -7px;
        left: 49%;
    }
}
@media (max-width: 768px) {
    .topsection {
        padding: 135px 0 100px 0;
    }

    .hero-section {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    .hero-title {
        font-size: 36px;
    }
    .titleTopSection {
        font-size: 28px;
    }
    .container .underTitle {
        font-size: 14px;
    }

    .stats-section {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }

    .rating-badge {
        position: relative;
        top: 20px;
        right: 0;
        margin: 20px auto;
    }

    .hero-image .image-container {
        height: auto;
        margin: 0 auto;
    }

    .person-image {
        width: 220px;
        height: 280px;
    }
}

@media (max-width: 768px) {
  .slider-slide {
    min-width: 100%;
  }
  #prevBtn,
  #nextBtn {
    padding: 8px;
  }

  .hero-section {
        padding: 1rem;
    }

    .main-title {
        margin-bottom: 1.5rem;
    }

    .red-accent {
        width: 200px;
        height: 50px;
        margin: 1.5rem auto;
    }

    .red-accent::before {
        width: 160px;
        height: 50px;
    }
}

@media (max-width: 425px) {
  .slider-slide {
    min-width: 100%;
  }

  .indicator {
    width: 8px;
    height: 8px;
  }

  #prevBtn,
  #nextBtn {
    padding: 6px;
    font-size: 14px;
  }
}
