/* ==========================================================================
   MENU RESPONSIVE
   ========================================================================== */

/* --- Éléments de base du menu mobile (cachés sur bureau) --- */
.nav__toggle,
.nav__close,
.nav__btn--mobile {
    display: none;
}
.nav__logo--mobile {
    display: none;
}

/* ==========================================================================
   BREAKPOINT : Tablettes et grands téléphones (jusqu'à 1180px)
   ========================================================================== */
@media screen and (max-width: 1180px) {
    .nav__menu .nav__list {
        display: none;
        margin-top: 100px;
    }
    .btn--desktop {
        display: none;
    }

    .nav__toggle {
        display: block;
        color: var(--white-color);
        font-size: 1.5rem;
        cursor: pointer;
        margin: 0 1rem;
    }


    .nav__menu {
        position: fixed;
        top: 0;
        left: -100%; 
        width: 100%;
        height: 100%;
        background-color: var(--black-color);
        z-index: 101;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: left 0.6s cubic-bezier(0.77, 0, 0.175, 1);
    }


    .nav__menu.show-menu {
        left: 0; 
    }

   
    .nav__menu .nav__list {
        display: flex;
        flex-direction: column;
        text-align: center;
        gap: 1rem; 
    }

    .nav__link {
        font-size: 2.5rem; 
    }
    

    .nav__btn--mobile {
        display: block;
        margin-top: 4rem;
    }

    .nav__close {
        display: block;
        position: absolute;
        top: 2rem;
        right: 2rem;
        font-size: 2rem;
        color: var(--white-color);
        cursor: pointer;
    }
     .nav__logo--mobile {
        display: block;
        position: absolute;
        top: 2rem;  
        left: 2rem; 
    }
}

/* ==========================================================================
   BREAKPOINT : Petits écrans (jusqu'à 767px)
   ========================================================================== */
@media screen and (max-width: 767px) {
    .nav__link {
        font-size: 2rem; 
    }
    .nav.container {
        border-bottom: none; 
    }
}

.body-no-scroll {
    overflow: hidden;
}
/* ==========================================================================
   PAGE ACCUEIL - RESPONSIVE
   ========================================================================== */

/* ==========================================================================
   BREAKPOINT : Grandes tablettes (de 901px à 1180px)
   ========================================================================== */
@media screen and (max-width: 1180px) {
    .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .hero__title {
        font-size: 64px; 
        line-height: 1.2;
    }

    .intro__title {
        font-size: 40px; 
    }
    .intro__description {
        font-size: 24px; 
        padding: 0 2rem;
    }

    .expertise .section__bg-text,
    .sectors .section__bg-text {
        font-size: 25vw; 
        transform: translateX(-24%);
        top: -22px;
    }

    .expertise .container,
    .sectors .section__header--left {
        top: auto; 
        bottom: auto;
    }
    
    .expertise .section__header--left,
    .sectors .section__header--left {
        margin-bottom: 3rem;
    }

     .sectors .section__bg-text,
    .sectors .section__bg-text {
        font-size: 25vw; 
        transform: translateX(-5%);
        top: 140px;
    }
}

/* ==========================================================================
   BREAKPOINT : Tablettes (de 768px à 900px)
   ========================================================================== */
@media screen and (max-width: 900px) {
    .sectors {
        margin-top: -170px;
    }
    .section {
        padding: 7rem 0;
        
    }

    .hero__title {
        font-size: 56px; 
    }
    .hero__content {
        padding-top: 150px;
    }
    
    .intro__title {
        font-size: 36px; 
    }
    .intro__description {
        font-size: 20px;
    }
    .intro__image-container img {
        width: 80%;
        height: auto;
    }
    
    .expertise .section__header--left,
    .sectors .section__header--left {
        padding: 0 2rem;
    }

    .section__header--left .section__title {
        font-size: 40px; 
    }
    br.separator {
        display: none;
    }
    
    /* La grille des secteurs passe à 2 colonnes */
    .sectors__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta__container {
        margin-right: 0;
        padding: 0 2rem;
    }
}

/* ==========================================================================
   BREAKPOINT : Mobiles (jusqu'à 767px)
   ========================================================================== */
@media screen and (max-width: 767px) {
    .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .hero__title {
        font-size: 40px; 
        line-height: 1.3;
    }
    
    .intro {
        padding-top: 4rem;
    }
    .intro__title {
        font-size: 32px; 
        line-height: 1.3;
    }
    .intro__description {
        font-size: 18px; 
        padding: 0;
    }
    .intro__image-container img {
        width: 100%;
    }
    .intro__image-caption {
        font-size: 1.5rem; 
    }
    
    .expertise .section__header--left,
    .sectors .section__header--left {
        padding: 0 1.5rem;
        margin-top: 50px;
    }

    .section__header--left .section__title {
        font-size: 24px; 
    }

    .section__header--left .section__description {
        font-size: 16px; 
        margin-bottom: -100px;
    }
    .sectors .section__header--left .section__title {
        font-size: 24px; 
    }
    
    .sectors__grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .cta {
        padding: 4rem 1.5rem;
    }
    .cta__title {
        font-size: 28px;
        line-height: 1.3;
    }
       .cta__description {
        font-size: 12px;
        line-height: 20px;
    }
}

/* ==========================================================================
   PAGE THE TOUCHÉ WAY - RESPONSIVE
   ========================================================================== */

/* ==========================================================================
   BREAKPOINT : Grandes tablettes (de 901px à 1180px)
   ========================================================================== */
@media screen and (max-width: 1180px) {
    .page-hero {
        min-height: 500px; 
    }
    .hero-way__title {
        font-size: 80px; /* 80px */
    }
    .hero-way__text-content {
        top: 250px;
        max-width: 70%;
    }
    
    .manifesto-content__grid {
        gap: 2rem;
    }

    .manifesto-content__text p {
        font-size: 20px;
    }

    .journey__letter img {
        height: 350px; /* On réduit la taille de la lettre SVG */
    }
    .journey__content {
        left: 100px;
    }
    .journey__grid {
        gap: 5px;
    }
    .journey__card {
        height: 400px;
        background-size: cover;
    }
 
}


/* ==========================================================================
   BREAKPOINT : Tablettes (de 768px à 900px)
   ========================================================================== */
@media screen and (max-width: 900px) {
    .page-hero {
        background-position: 70% center; /* On décale l'image de fond pour mieux voir le texte */
    }
    .hero-way__title {
        font-size: 4rem; /* 64px */
    }
    .hero-way__text-content {
        top: 200px;
        max-width: 80%;
    }
    .process-way {
        margin-top: -140px;
    }
    
    /* Le manifeste passe en une seule colonne */
    .manifesto-content__grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .manifesto-content__image img {
        margin-top: 0;
    }

    .process-content__title,
    .manifesto-content__title {
        font-size: 40px; 
    }

    /* Le parcours reste en une colonne mais on ajuste les styles */
    .journey__letter img {
        height: 300px;
    }
    .journey__content {
        max-width: 60%;
        left: 80px;
    }
    .journey__content h3 {
        font-size: 28px; 
    }
    .journey__content p {
        font-size: 16px; 
        line-height: 1.6;
    }
    .journey__card {
        height: 400px;
        background-size: cover;
    }
}


/* ==========================================================================
   BREAKPOINT : Mobiles (jusqu'à 767px)
   ========================================================================== */
@media screen and (max-width: 767px) {
    .page-hero {
        min-height: 400px;
        background-color: var(--black-color);
        align-items: center;
    }
    .hero-way__text-content {
      
        transform: none;
        max-width: 100%;
        padding: 0 1.5rem;
    }
    .hero-way__title {
        font-size: 40px; 
    }
    .hero-way__description {
        font-size: 16px; 
    }
      .hero-way__text-content {
        top: 350px;
      }
    .manifesto-content__title {
        font-size: 32px; 
        line-height: 1.3;
    }
    .manifesto-content__text h3 {
        font-size: 24px;
    }
    .manifesto-content__text p {
        font-size: 20px;
    }

    .process-content__title {
        font-size: 36px; 
    }

    br.separator {
        display: none;
    }
    .journey__card {
        height: 400px;
        background-size: cover;
    }
    .journey__content {
        position: static;
        max-width: 100%;
        margin-top: 0;
        left: 0;
        text-align: left;
        padding: 1.5rem;
    }
    .journey__card::after {
       
        opacity: 0;
        
    }
    .journey__card.white::after {
        opacity: 1;
    }
}


/* ==========================================================================
   PAGE EXPERTISES - RESPONSIVE
   ========================================================================== */

/* ==========================================================================
   BREAKPOINT : Grandes tablettes (de 901px à 1180px)
   ========================================================================== */
@media screen and (max-width: 1180px) {
    .expertise-details__title {
        font-size: 2.75rem; 
    }
    .expertise-details__grid {
        gap: 2rem;
    }
    .service-item h3 {
        font-size: 1.5rem; 
    }
}


/* ==========================================================================
   BREAKPOINT : Tablettes (de 768px à 900px)
   ========================================================================== */
@media screen and (max-width: 900px) {
    .expertise-details__grid {
        grid-template-columns: 1fr;
    }

    .expertise-details__image-collage img {
        width: 80%;
        margin: 0 auto 3rem auto; 
        padding-right: 0;
    }
    .expertise-details__image-collage::before {
        display: none;
    }

    .expertise-details__services {
        padding-left: 0; 
    }
}


/* ==========================================================================
   BREAKPOINT : Mobiles (jusqu'à 767px)
   ========================================================================== */
@media screen and (max-width: 767px) {
    .expertise-details {
        padding: 4rem 0;
    }
    .expertise-details__title {
        font-size: 2rem; 
    }
    .expertise-details__image-collage img {
        width: 100%;
    }
    .service-item h3 {
        font-size: 1.25rem;
    }
    .service-item p {
        font-size: 1rem; 
        line-height: 1.6;
    }
.expertise-details .section__header--left {
    margin-bottom: -60px;
}
    .autres-expertises .expertise-details__title {
        text-align: left;
    }
    .autres-expertises__description {
        text-align: left;
        margin-bottom: 3rem;
        font-size: 16px;
    }
    .autres-expertises .expertise__card {
        width: 320px;
        height: 420px;
    }
}


/* ==========================================================================
   PAGE SECTEURS - RESPONSIVE
   ========================================================================== */

/* ==========================================================================
   BREAKPOINT : Grandes tablettes (de 901px à 1180px)
   ========================================================================== */
@media screen and (max-width: 1180px) {
      .sector-list .section__header--left {
        top: 0;
        text-align: left;
        margin-bottom: 100px;
    }
    
    .sector-list__title-default {
        font-size: 40px; 
        width: 70%;
    }
    .sector-list__title-hover {
        font-size: 24px; 
    }
    .sector-list__description {
        font-size: 16px;
        max-width: 80%;
    }
    .intro__breadcrumb {
        justify-content: center;
    }
      .methodologie .section__header--left {
        padding: 0 1.5rem;
        margin-bottom: -160px;
    }
    
    /* --- Section Méthodologie --- */
    .methodologie .section__bg-text {
        font-size: 25vw;
    }
    .methodologie .section__header--left {
        top: 0;
    }
}


/* ==========================================================================
   BREAKPOINT : Tablettes (de 768px à 900px)
   ========================================================================== */
@media screen and (max-width: 900px) {
    /* --- Section Liste des secteurs --- */
    .sector-list .section__header--left {
        top: 0;
        text-align: left;
        margin-bottom: 100px;
    }
    .sector-list__title-default {
        font-size: 32px; 
    }
    
    /* --- Section Méthodologie --- */
    .methodologie .section__header--left {
        padding: 0 2rem;
    }

    /* --- Section Principes (Accordéon) --- */
    .principles__grid {
        grid-template-columns: 1fr; 
    }
    .principles__image-collage img {
        width: 80%;
        margin: 0 auto 3rem auto;
        padding-right: 0;
    }
    .principles__image-collage::before {
        display: none; 
    }
}


/* ==========================================================================
   BREAKPOINT : Mobiles (jusqu'à 767px)
   ========================================================================== */
@media screen and (max-width: 767px) {
    /* --- Section Liste des secteurs --- */
    .sector-list .section__header--left {
        padding: 0 1.5rem;
        text-align: center;
    }
    .sector-list{
        margin-top: -50px;
    }
    .sector-list__title-default {
        font-size: 28px;
        line-height: 29px;
        width: 80%;
    }
    .sector-list__content-hover {
        padding: 20px;
    }
    .sector-list__description {
        font-size: 10px;
        line-height: 15px;
        max-width: 100%;
    }
        .sector-list__title-hover {
        font-size: 18px;
        line-height: 20px;
    }
    /* --- Section Méthodologie --- */
   
    .methodologie .section__header--left {
        padding: 0 1.5rem;
        margin-bottom: -160px;
    }
.methodologie {
    margin-top: -100px;
}
    /* --- Section Principes (Accordéon) --- */
    .principles__header h2 {
        font-size: 30px;
    }
    .principles__image-collage img {
        width: 100%;
    }
    .principles__header {
        padding-left: 0;
        text-align: center;
    }
    .principles__header .text-block__bracket {
        display: none; 
    }
    .accordion-title {
        font-size: 18px;
    }
    .accordion-content p {
        padding: 0 0 1.5rem 0; /* On simplifie le padding */
        font-size: 18px;
    }
    .cta-secteurs {
        margin-top: -80px;

    }
}

/* ==========================================================================
   PAGE CASE STUDIES - RESPONSIVE
   ========================================================================== */

/* ==========================================================================
   BREAKPOINT : Grandes tablettes (de 901px à 1180px)
   ========================================================================== */
@media screen and (max-width: 1180px) {
    /* --- Section Intro --- */
    .case-study__title {
        font-size: 40px;
    }
    .case-study__subtitle {
        font-size: 20px; 
        line-height: 1.5;
    }

    /* --- Grille Solution --- */
    .solution__text-content {
        padding: 4rem; 
    }
    .solution__text-content h3 {
        font-size: 40px; 
    }
}

/* ==========================================================================
   BREAKPOINT : Tablettes (de 768px à 900px)
   ========================================================================== */
@media screen and (max-width: 900px) {
    /* --- Grille Solution : on passe en une seule colonne --- */
    .case-study__solution-grid {
        flex-direction: column;
    }
     .solution-swiper {
        width: 100%; 
        flex: none;  
        aspect-ratio: 4 / 5;
    }
    .project-gallery{
        margin-bottom: 10px;
        text-align: left;
    }
    .case-study-content {
        margin-bottom: -260px;
        margin-top: -40px;
    }

    /* La grille des résultats passe à 2 colonnes */
    .results__grid {
        gap: 2rem;
    }
    .result-card {
        flex-basis: calc(50% - 1rem); /
    }

    /* La galerie passe à une seule colonne */
    .project-gallery__set--layout-4,
    .project-gallery__set--layout-3 {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   BREAKPOINT : Mobiles (jusqu'à 767px)
   ========================================================================== */
@media screen and (max-width: 767px) {
    /* --- Section Intro & Challenge --- */
    .case-study__intro {
        margin-bottom: 3rem;
    }
    .case-study__title {
        font-size: 32px;
        line-height: 40px;
    }
    .case-study__subtitle {
        font-size: 18px;
    }
    .case-study__challenge h2 {
        font-size: 2rem;
    }
    .case-study__challenge p {
        font-size: 1rem;
    }
br.separator {
    display: none;
}
    /* --- Grille Solution --- */
    .solution__text-content {
        padding: 3rem 1.5rem; /* Padding réduit pour mobile */
    }
    .solution__text-content h3 {
        font-size: 2rem;
    }
    .solution__text-content p,
    .solution__text-content span {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    /* --- Section Résultats : on passe en une seule colonne --- */
    .results__grid {
        flex-direction: column;
    }
    .result-card {
        flex-basis: 100%;
    }

    /* --- Navigation des projets --- */
    .project-nav {
        gap: 20px;
    }
    .project-nav__btn {
        font-size:  19px;; 
        gap: 10px;
    }

    /* --- Autres projets --- */
    .other-projects {
        margin-top: -70px;
    }
    .other-projects .section__header--left {
        margin-top: 3rem;
        text-align: left;
    }
    .other-projects__scroller {
        margin-top: 2rem;
    }
    .other-projects__card {
        width: 300px; 
        height: 400px;
    }
    .cta-way {
        margin-top: -10px;
    }
}


/* ==========================================================================
   PAGE TEAM - RESPONSIVE
   ========================================================================== */

/* ==========================================================================
   BREAKPOINT : Grandes tablettes (de 901px à 1180px)
   ========================================================================== */
@media screen and (max-width: 1180px) {
    
    .team-intro {
        right: 0; 
    }
    .team-intro__content {
        margin-left: 0;
        padding: 0 2rem;
        max-width: 60%;
    }

   
    .team-grid__container {
        max-width: 90%; 
    }
}

/* ==========================================================================
   BREAKPOINT : Tablettes (de 768px à 900px)
   ========================================================================== */
@media screen and (max-width: 900px) {
    /* --- Section Intro --- */
    .team-intro.section {
        margin-top: 0; 
        padding: 6rem 0;
    }
    .team-intro__content {
        max-width: 80%;
    }

    /* --- Grille de l'équipe : on passe en 1 seule colonne --- */
    .team-grid__container {
        flex-direction: column;
        align-items: center;
        gap: 3rem;
    }
    .team-card {
        flex: 0 1 80%; 
        max-width: 400px;
    }

    /* --- Modale --- */
    .team-modal {
        flex-direction: column; 
        width: 90%;
        max-width: 7680px;
        top: 92%;
        
    }
    .modal-image {
        flex: 0 0 250px; 
    }
    .modal-content {
        padding: 2rem;
        padding-bottom: 546px;
    }
}

/* ==========================================================================
   BREAKPOINT : Mobiles (jusqu'à 767px)
   ========================================================================== */
@media screen and (max-width: 767px) {
    /* --- Section Intro --- */
    .hero--team .hero-way__title {
        font-size: 40px;
    }
    br.separator {
    display: none;
}
    .team-intro__content {
        max-width: 100%;
        padding: 0 1.5rem;
    }
    .team-intro__title {
        font-size: 30px; 
        line-height: 1.3;
    }
    .team-intro__description {
        font-size: 16px; 
    }
    
    
    /* --- Grille de l'équipe --- */
    .team-grid {
        padding: 4rem 0;
    }
    .team-card {
        flex-basis: 100%;
        max-width: 350px;
    }
    .team-card__name {
        font-size: 24px;
    }

    /* --- Modale --- */
    .team-modal {
        top: 74%;
    }
    .modal-content {
        padding: 1.5rem;
        padding-bottom: 160px;

    }
    .modal-name {
        font-size: 1.5rem;
    }
    .modal-details {
        font-size: 1rem;
    }
}

/* ==========================================================================
   PAGE COLLABORATION - RESPONSIVE
   ========================================================================== */

/* ==========================================================================
   BREAKPOINT : Grandes tablettes (de 901px à 1180px)
   ========================================================================== */
@media screen and (max-width: 1180px) {
    .collaboration-form__content {
        padding: 4rem 3rem; 
    }

    .contact-form input,
    .contact-form textarea {
        width: 100%; 
    }
}


/* ==========================================================================
   BREAKPOINT : Tablettes (de 768px à 900px)
   ========================================================================== */
@media screen and (max-width: 900px) {
  
    .collaboration-form__grid {
        flex-direction: column;
    }
    
    .collaboration-form__image {
  
        flex-basis: auto;
    }

    .collaboration-form__content {
        padding: 4rem 2rem;
    }
    
    .collaboration-form__title {
        font-size: 2.5rem; 
    }
}


/* ==========================================================================
   BREAKPOINT : Mobiles (jusqu'à 767px)
   ========================================================================== */
@media screen and (max-width: 767px) {
   
    .collaboration-form__content {
        padding: 3rem 1.5rem;
    }
    
    .collaboration-form__title {
        font-size: 2rem; 
    }

    .form-group label {
        font-size: 1rem; 
    }
    .contact-form input,
    .contact-form textarea {
        font-size: 1rem;
    }
}
/* ==========================================================================
   FOOTER RESPONSIVE
   ========================================================================== */

/* ==========================================================================
   BREAKPOINT : Grandes tablettes (jusqu'à 1180px)
   ========================================================================== */
@media screen and (max-width: 1180px) {
    .footer__container {
        gap: 2rem;
    }
    .footer__left {
        max-width: 50%; 
    }
    .results__grid {
        gap: 61px;
    }
    
}

/* ==========================================================================
   BREAKPOINT : Tablettes et petits écrans (jusqu'à 900px)
   ========================================================================== */
@media screen and (max-width: 900px) {
 
    .footer__container {
        flex-direction: column;
        gap: 3rem;
    }

    .footer__left {
        max-width: 100%; 
    }
    .footer__right {
        grid-template-columns: 1fr; 
        gap: 2.5rem; 
        width: 100%;
    }
    .footer__checkbox {
        grid-column: auto;
    }
    .hero--team .hero-way__title {
    font-size: 78px;
    letter-spacing: -1.8px;
}
.team-intro__title {
    
    font-size: 52px;
}
br.separator {
    display: none;
}
    .expertise-details__title {
        font-size: 35px;
    }
     .sectors .section__header--left .section__title {
    font-size: 50px;
   }
}

/* ==========================================================================
   BREAKPOINT : Mobiles (jusqu'à 767px)
   ========================================================================== */
@media screen and (max-width: 767px) {
    .footer {
        padding-top: 3rem;
        background-position: center; 
    }
    .footer__container {
        padding-bottom: 2rem;
    }

    .footer__logo {
        display: block;
        margin: 0 auto 0 auto; 
    }
    .footer__button {
        margin: 0 auto; 
    }
    .footer__left,
    .footer__right {
        text-align: left;
    }

    .footer__socials {
        justify-content: left;
    }

    .footer__form {
        gap: 1rem;
    }
    .footer__list {
        align-items: left;
    }

    .footer__checkbox {
        justify-content: left;
    }
    
    .footer__bottom {
        font-size: var(--small-font-size);
    }
  
}

@media screen and (max-width: 600px) {
    
        .team-intro__title {
        font-size: 30px;
    }
        .hero--team .hero-way__title {
        font-size: 40px;
        letter-spacing: -1.8px;
    }
    .hero__title {
        font-size: 26px;
        line-height: 30px;
    }
        .intro__title {
        font-size: 20px;
        line-height: 26px;
    }
        .section__header--left .section__title {
        font-size: 23px;
    }
        .sectors .section__header--left .section__title {
        font-size: 22px;
    }
    .sectors {
        margin-top: -170px;
    }
    .button {
        font-size: 14px;
    }
        .cta__title {
        font-size: 22px;
        line-height: 25px;
    }
    .button--outline {
        margin-left: 0px;
    }
    br.separator {
    display: none;
    }
        .manifesto-content__title {
         font-size: 20px;
        line-height: 26px;
    }
    .section {
        margin-top: -20px;
    }
    .manifesto-content__text h3 {
        font-size: 18px;
    }
    .manifesto-content__text p {
        font-size: 16px;
    }
    .journey__content h3 {
        font-size: 20px;
    }
    .journey__content p {
        font-size: 14px;
        line-height: 22px;
    }
    .section__header--left .section__title {
        font-size: 22px;
    }
}

@media screen and (max-width: 360px)  {
        .sectors .section__header--left .section__title {
        font-size: 21px;
    }
        .process-content__title {
        font-size: 34px;
    }
    .project-nav__btn {
        font-size: 18px;
    }
}
@media screen and (max-width: 1024px)  {
      br.separator {
    display: none;
    }
    
    .team-modal {
            left: 4.3%;
    }
     .accordion-title {
        font-size: 18px;
     }
    .cta__container{
        margin-right: auto;
    }
    .team-intro__title {
        font-size: 50px;
    }
}

@media screen and (max-width: 390px) {
    .sectors {
        margin-top: -200px;
    }
    .card-category {
        font-size: 18px;

    }
    .card-title {

        font-size: 22px;
    }
    .project-gallery {
        padding-top: 200px;
    }
        .sector-list__content-hover {
        padding: 40px;
    }
}

