/* ================================
   VARIABLES GLOBALES
================================ */
:root {
  /* Couleurs bleues */
  --blue-0: #E9EDF9;
  --blue-1: #6587FF;
  --blue-2: #0038FD;

  /* Couleurs roses */
  --pink-0: #FEE6F3;
  --pink-1: #FDB5DA;
  --pink-2: #E2308B;

  /* Neutres */
  --grey-1: #F9F7F8;
  --black-1: #212123;
  --white-1: #FFFFFF;

  --all-in-1: #CCDFFF;
  --all-in-2: #2E7DFF;
  --all-in-3: #FFD3CC;
  --all-in-4: #FD482B;

  /* Typographie */
  --font-brockman: 'Brockman', serif;
  --font-bricolage: 'Bricolage Grotesque', sans-serif;
}

/* ================================
   IMPORT POLICES
================================ */

/* BROCKMANN */
@font-face {
  font-family: 'Brockman';
  src: url('../fonts/brockmann/brockmann-regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Brockman';
  src: url('../fonts/brockmann/brockmann-medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'Brockman';
  src: url('../fonts/brockmann/brockmann-semibold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
}

/* BRICOLAGE GROTESQUE */
@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('../fonts/bricolage_grotesque/BricolageGrotesque-VariableFont_opsz,wdth,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
}

/* ================================
   RESET / BASE
================================ */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-brockman);
  background-color: var(--blue-1);
  color: var(--black-1);
  line-height: 1.5;
}

.page-content {
    position: relative;
    z-index: 10; 
    background: var(--grey-1); 
    border-bottom-left-radius: 5vw;
    border-bottom-right-radius: 5vw;
}


/* ================================
   TYPOGRAPHIE DESKTOP
================================ */

/* ---- H1 ---- */
.h1-desktop {
  font-family: var(--font-brockman);
  font-weight: 600;
  font-size: 3rem; /* 84px */
  line-height: 100%;
  color: var(--black-1);
}

.h1-bold-desktop {
  font-family: var(--font-bricolage);
  font-weight: 600;
  font-size: 3rem;
  color: var(--all-in-3);
}

.h1-strong-desktop {
  font-family: var(--font-brockman);
  font-weight: 600;
  font-size: 3rem;
  color: rgba(101,135,255,0.9);
  position: relative;
}

.h1-strong-desktop::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 20px;
  background: var(--all-in-3);
  bottom: 0;
  left: 0;
  z-index: -1;
}

/* ---- H2 ---- */
.h2-desktop {
  font-family: var(--font-brockman);
  font-weight: 600;
  font-size: 3rem; /* 64px */
  color: var(--black-1);
  line-height: 1;
}

.h2-bold-desktop {
  font-family: var(--font-bricolage);
  font-weight: 600;
  font-size: 3rem; /* 48px */
  color: var(--all-in-4);
}

.h2-strong-desktop {
  font-family: var(--font-brockman);
  font-weight: 600;
  font-size: 3rem;
  color: rgba(101,135,255,0.9);
  position: relative;
}

.h2-strong-desktop::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 16px;
  background: var(--all-in-3);
  bottom: 0;
  left: 0;
  z-index: -1;
}

/* ---- H3 ---- */
.h3-desktop-1 {
  font-family: var(--font-brockman);
  font-weight: 600;
  font-size: 1.5rem; /* 24px */
  color: var(--black-1);
}

.h3-bold-desktop-1 {
  font-family: var(--font-bricolage);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--all-in-3);
}

.h3-desktop-2 {
  font-family: var(--font-brockman);
  font-weight: 600;
  font-size: 2rem; /* 32px */
  color: var(--black-1);
  line-height: 1;
}

.h3-bold-desktop-2 {
  font-family: var(--font-bricolage);
  font-weight: 600;
  font-size: 2rem;
  color: var(--all-in-3);
  line-height: 1;
}

.h3-strong-desktop-2 {
  font-family: var(--font-brockman);
  font-weight: 600;
  font-size: 2rem;
  color: rgba(101,135,255,0.9);
  position: relative;
  line-height: 1;
}

.h3-strong-desktop-2::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 12px;
  background: var(--all-in-3);
  bottom: 0;
  left: 0;
  z-index: -1;
  line-height: 1;
}

/* ---- Paragraphes ---- */
.p-desktop-1 {
    font-family: var(--font-brockman);
    font-weight: 400;
    font-size: 1rem; /* 1px */
    line-height: 110%;
    color: var(--black-1);
    text-align: left;
}

.p-desktop-2 {
  font-family: var(--font-brockman);
  font-weight: 400;
  font-size: 1rem; /* 16px */
  line-height: 110%;
  color: var(--black-1);
}

.p-strong-desktop-1 {
  font-family: var(--font-brockman);
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 110%;
  color: var(--black-1);
}

.p-strong-desktop-2 {
  font-family: var(--font-brockman);
  font-weight: 600;
  font-size: 1rem;
  line-height: 110%;
  color: var(--black-1);
}

/* ---- Span ---- */
span-desktop-1 {
  font-family: var(--font-brockman);
  font-weight: 400;
  font-size: 1.125rem; /* 18px */
  color: var(--all-in-3);
}

span-desktop-2 {
  font-family: var(--font-brockman);
  font-weight: 400;
  font-size: 1rem; /* 16px */
  color: var(--all-in-3);
}

span-desktop-3 {
  font-family: var(--font-brockman);
  font-weight: 500; /* medium */
  font-size: 1.25rem; /* 20px */
  line-height: 110%;
  color: var(--black-1);
}

/* ================================
   TYPOGRAPHIE MOBILE
================================ */
@media (max-width: 768px) {
  /* H1 Mobile */
  .h1-mobile {
    font-family: var(--font-brockman);
    font-weight: 600;
    font-size: 2rem; /* 32px */
    line-height: 100%;
    color: var(--black-1);
  }

  .h1-bold-mobile {
    font-family: var(--font-bricolage);
    font-weight: 600;
    font-size: 2rem;
    color: var(--all-in-3);
  }

  .h1-strong-mobile {
    font-family: var(--font-brockman);
    font-weight: 600;
    font-size: 2rem;
    color: rgba(101, 135, 255, 0.9);
    position: relative;
  }
  .h1-strong-mobile::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 12px;
    background: var(--all-in-3);
    bottom: 0;
    left: 0;
    z-index: -1;
  }

  /* H2 Mobile */
  .h2-mobile {
    font-family: var(--font-brockman);
    font-weight: 600;
    font-size: 1.75rem; /* 28px */
    color: var(--black-1);
  }

  .h2-bold-mobile {
    font-family: var(--font-bricolage);
    font-weight: 600;
    font-size: 1.75rem;
    color: var(--all-in-3);
  }

  .h2-strong-mobile {
    font-family: var(--font-brockman);
    font-weight: 600;
    font-size: 1.75rem;
    color: rgba(101,135,255,0.9);
    position: relative;
  }
  .h2-strong-mobile::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 10px;
    background: var(--all-in-3);
    bottom: 0;
    left: 0;
    z-index: -1;
  }

  /* H3 Mobile */
  .h3-mobile {
    font-family: var(--font-brockman);
    font-weight: 600;
    font-size: 1.5rem; /* 24px */
    color: var(--black-1);
  }

  .h3-bold-mobile {
    font-family: var(--font-bricolage);
    font-weight: 600;
    font-size: 1.5rem;
    color: var(--all-in-3);
  }

  .h3-strong-mobile {
    font-family: var(--font-brockman);
    font-weight: 600;
    font-size: 1.5rem;
    color: rgba(101,135,255,0.9);
    position: relative;
  }
  .h3-strong-mobile::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 8px;
    background: var(--all-in-3);
    bottom: 0;
    left: 0;
    z-index: -1;
  }

  /* Paragraphes Mobile */
  .p-mobile {
    font-family: var(--font-brockman);
    font-weight: 400;
    font-size: 1rem; /* 16px */
    line-height: 110%;
    color: var(--black-1);
  }

  .p-strong-mobile {
    font-family: var(--font-brockman);
    font-weight: 600;
    font-size: 1rem;
    line-height: 110%;
    color: var(--black-1);
  }

  /* Span Mobile */
  .span-mobile-1 {
    font-family: var(--font-brockman);
    font-weight: 400;
    font-size: 0.875rem; /* 14px */
    color: var(--all-in-3);
  }

  .span-mobile-2 {
    font-family: var(--font-brockman);
    font-weight: 500; /* medium */
    font-size: 0.875rem; /* 14px */
    line-height: 110%;
    color: var(--black-1);
  }
}



html {
  scroll-behavior: smooth;
}


* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Sections - couleurs temporaires repérage */
.section-1 {
  height: 100vh;
  background-color: #FF6B6B; /* rouge */
  display: flex; justify-content: center; align-items: center;
  font-size: 2rem; color: white;
}

.section-3 {
  height: 110vh;
  max-height: 1400px;
  background-color: #556270; /* gris foncé */
  display: flex; justify-content: center; align-items: center;
  font-size: 2rem; color: white;
}

.section-4 {
  height: 40vh;
  max-height: 550px;
  background-color: #C7F464; /* vert clair */
  display: flex; justify-content: center; align-items: center;
  font-size: 2rem; color: white;
}



.section-6 {
  height: 45vh;
  background-color: #4ECDC4; /* turquoise */
  display: flex; justify-content: center; align-items: center;
  font-size: 2rem; color: white;
}

.section-7 {
  height: 100vh;
  background-color: #556270; /* gris foncé */
  display: flex; justify-content: center; align-items: center;
  font-size: 2rem; color: white;
}

.container {
  /*max-width: 1440px;*/
  margin: 0 auto;
  width: 90%;
  height: 100%;
  background: var(--grey-1);
}









/* =====================================
   HERO GLOBAL
===================================== */

.hero {
  min-height: 85vh;
  padding: clamp(20px, 3vw, 40px);
  background: var(--grey-1);
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-conteneur {
    height: 80vh;
    width: 100%;
    background: #ffffff;
    border-radius: 32px;
    padding: 2vw 4vw; /* Réduit le padding vertical */
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Meilleure distribution */
    align-items: center;
}

/* =====================================
   NAV
===================================== */

.hero-nav {
  display: flex;
  justify-content: center;
  gap: clamp(20px, 4vw, 60px);
  font-weight: 500;
  background-image: url("../images/autres/fond_nav.png");
  background-position: center 0;
  background-size: 100%;
  width: 60%;
  height: 7vh;
  position: absolute;
  top: 0;
  background-repeat: no-repeat;
}

.hero-nav a {
  text-decoration: none;
  color: var(--black-1);
  font-family: var(--font-brockman);
  font-size: 1.1vw;
  font-weight: 400;
}

/* =====================================
   TITRE
===================================== */

.hero-titre {
  max-width: 1000px;
  line-height: 1.05;
  text-align: left;
}

.hero-highlight {
  position: relative; 
  display: inline-block;
  color: var(--all-in-4);
  border: 3px solid var(--all-in-4);
  background-color: var(--all-in-3);
  padding: 0.1em 0.4em;
  transform: rotate(2deg);
  transform: rotate(-1deg);
  margin-top: -0.2em;
  margin-bottom: -0.2em;
}

/* Style commun aux 4 points */
.dot {
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: var(--all-in-3);
  border: 3px solid var(--all-in-4);
  /* On centre le point exactement sur l'angle */
}

.dot-rose {
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: var(--all-in-1);
  border: 3px solid var(--all-in-2);
}

/* Positionnement aux 4 coins */
.tl { top: -12px; left: -12px; }    /* Top Left */
.tr { top: -12px; right: -12px; }   /* Top Right */
.bl { bottom: -12px; left: -12px; } /* Bottom Left */
.br { bottom: -12px; right: -12px; }/* Bottom Right */




/* "alternance." */
.hero-accent {
  color: var(--all-in-2);
  font-family: var(--font-bricolage);
}


.groupe-boutons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.bouton-blanc {
    background-color: #ffffff;
    color: #011627;
    text-decoration: none;
    padding: 10px 22px;
    border-radius: 12px; 
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.bouton-blanc:hover {
    transform: translateY(-2px); 
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    color: #6587FF;
}

.separateur {
    font-size: 1.6rem;
    color: #000000;
    font-weight: 300;
}

.hero-titre {
    max-width: 80vw;
}


/* =====================================
   MOBILE
===================================== */

@media (max-width: 768px) {

  .hero-conteneur {
    border-radius: 24px;
  }

  .hero-nav {
    display: none;
  }

  .hero-titre {
    font-size: 2rem;
  }

  .hero-cartes {
    height: 340px;
  }

  .carte {
    width: 130px;
  }

}


@media (min-width: 3500px) {


  .hero-nav {
    height: 8vh;
    width: 50%;
    gap: clamp(20px, 4vw, 100px);
  }

  .hero-cartes {
    width: 50vw;
  }

  .hero-nav a {
    font-size: 0.9vw;
  }

}



.infosproj {
    width: 85vw;
    height: 75vh;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5vw;
}


.infoshero {
    width: 50vw;
    height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.imagehero {
    width: 30vw;
    height: 50vh;
}



.imghero {
    width: 35vw;
    height: 35vw;
    max-width: 50vh;
    max-height: 50vh;
    border-radius: 1rem;
    border: 4px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}



/* =====================================
   BOUTONS
===================================== */

.hero-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.btn {
  padding: 8px 20px;
  border-radius: 50px;
  font-family: var(--font-brockman);
  text-decoration: none;
  font-weight: 500;
}

.btn-primaire {
  background: var(--all-in-1);
  color: var(--all-in-2);
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px solid var(--all-in-1);
  gap: 1vw;
}

.btn-primaire:hover {
    background: white;
    color: var(--all-in-2);
    transition: all 0.3s ease-in-out;
    border: 2px solid var(--all-in-2);
}

.btn-secondaire {
  border: 2px solid var(--all-in-4);
  color: var(--all-in-4);
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1vw;
}

.btn-secondaire:hover {
    background: var(--all-in-4);
    color: white;
    transition: all 0.3s ease-in-out;
}

.icon-arrow {
    display: inline-block;
    width: 0.9vw;
    height: 0.9vw;
    background-color: currentColor;
    -webkit-mask: url("../images/autres/arrow-projet.svg") no-repeat center;
    mask: url("../images/autres/arrow-projet.svg") no-repeat center;
    -webkit-mask-size: contain;
    mask-size: contain;
}


/* =====================================
   FIN DE SECTION 1 ACCUEIL - DÉBUT SECTION 2
===================================== */

.section2 {
    height: 95vh;
    background-color: var(--grey-1);
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: clamp(20px, 3vw, 40px);
    gap: 5vh;
}

.h2-centre {
    text-align: center;
    width: 60vw;
}

.conteneurprojets {
    height: 65vh;
    width: 100%;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}


.partietexte {
    width: 45vw;
    height: 63vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #FFFFFF;
    border-radius: 15px;
    padding: 2vw;
    text-align: left;
}


.partieimages {
    width: 38vw;
    height: 63vh;
    border-radius: 15px;
    background-size: cover;
    background-position: center;
    transition: background-image 0.5s ease-in-out;
}

.slidenavigation {
    width: 5.5vw;
    height: 63vh;
    display: flex;
    align-items: center;
}



/* NAVIGATION BOUTONS */ 
.s2-nav {
    background-color: #FBFBFB;
    width: 5vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: auto;
    border-radius: 3vw;
    padding-top: 0.6vw;
    padding-right: 0.6vw;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.nav-arrow {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s;
  display: flex;
  align-items: center;
}

.nav-arrow img {
  width: 6vw;
  height: auto;
  transform: rotate(90deg);
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.05));
}

.nav-arrow:hover {
  transform: scale(1.05);
}

.nav-arrow:active {
  transform: scale(0.95);
}

.s2-slider-area {
  scroll-behavior: smooth;
}

/* --- TEXTE (GAUCHE) --- */


.texte-haut h3 {
    font-size: 1.8rem;
    margin-bottom: 1vw;
    color: var(--black-1);
    line-height: 1;
}

.s2-tags {
    display: flex;
    gap: 0.5vw;
    margin-bottom: 1.5vw;
    flex-wrap: wrap;
}

.s2-tags span {
    border: 1px solid var(--all-in-2);
    color: var(--all-in-2);
    padding: 0.3vw 0.8vw;
    border-radius: 2vw;
    font-size: 1vw;
    text-transform: lowercase;
}

.texte-haut p {
    font-size: 1vw;
    line-height: 1.5;
    color: #444;
}

/* --- VIGNETTES ÉTAPES (Navigation basse) --- */
.s2-vignettes-wrapper {
    width: 100%;
    overflow-x: auto; 
    scrollbar-width: none;
}
.s2-vignettes-wrapper::-webkit-scrollbar { display: none; }

.s2-vignettes-flux {
    margin-top: 1vw;
    display: flex;
    gap: 1vw;
    width: max-content;
}

.vignette-etape {
    width: 10vw;
    height: 10vw;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    display: flex;
    align-items: flex-end;
    padding: 0.5vw;
    cursor: pointer;
    transition: 0.3s ease;
    position: relative; 
    overflow: hidden;
}

.vignette-etape.active {
    filter: grayscale(0);
   box-shadow: inset 0 0 0 2px var(--all-in-2);
    transform: translateY(-5px);
}

.vignette-etape.active span{
    color: var(--all-in-2);
}

.vignette-etape span {
    background: rgba(255, 255, 255, 0.9);
    font-size: 1.2vw;
    padding: 0.4vw 0.8vw;
    border-radius: 5px;
    color: var(--black-1);
    z-index: 2;
}

.vignette-etape::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); 
    transition: opacity 0.3s ease;
    z-index: 1;
}

.vignette-etape.active::before {
    opacity: 0;
}

.rotation-bulle {
    transform: rotate(2deg) !important;
}








/* FOOTER */

/* 1. SECTION CTA (Le bloc blanc qui remonte) */
.cta-section {
    position: relative;
    z-index: 2; /* Passe par-dessus le footer */
    background: #fff;
    padding: 80px 5% 120px;
    border-radius: 0 0 50px 50px; /* Arrondi bas pour l'effet de décollement */
}

.contact-card {
    width: 100%;
    margin: 0 auto;
    text-align: center;
    padding: 60px 30px;
    box-shadow: 0 3px 12px rgba(0, 18, 81, 0.2);
    transition: box-shadow 0.3s ease;
    border-radius: 40px;
    background: #fff;
}

.cta-title { 
    font-size: clamp(22px, 4vw, 45px); 
    margin: 25px 0; 
    line-height: 1.2;
}

.pink-box {
    position: relative; /* Indispensable pour que les points se calent dessus */
    display: inline-block;
    background-color: var(--pink-0);
    padding: 0.1em 0.4em;
    transform: rotate(1.5deg);
    color: var(--pink-2);
    border: 2px solid var(--pink-2);
    padding: 0 15px;
    display: inline-block;
}

.txt-blue {
    font-family: var(--font-bricolage);
    font-weight: 600;
    color: var(--blue-2);
}

/* DOTS (Carrés 12px fixés) */
.dot-blue, .dot-rose {
    position: absolute;
    width: 16px;
    height: 16px;
    z-index: 5;
    border: 2px solid;
}
.dot-blue { background: var(--blue-0); border-color: var(--blue-2); }
.dot-rose { background: var(--pink-0); border-color: var(--pink-2); }

/* Positionnement précis pour chevaucher l'angle de la bordure */
.tl-proj { top: -8px; left: -8px; }
.tr-proj { top: -8px; right: -8px; }
.bl-proj { bottom: -8px; left: -8px; }
.br-proj { bottom: -8px; right: -8px; }




.cta-grid {
    display: flex;
    justify-content: center;
    gap: 28px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    font-weight: 500;
}

.cta-item {
    display: flex;
    align-items: center; 
    gap: 8px; 
}

.cta-item img {
    width: 24px;   
    height: 24px; 
    object-fit: contain; 
}

.curseurnolan {
  position: absolute;
  bottom: 17vh;
  width: 7vw;
}


.btn-outline {
    display: inline-block;
    padding: 14px 30px;
    border: 2px solid var(--blue-2);
    color: var(--blue-2);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
}

.btn-outline:hover {
    border: 2px solid var(--blue-2);
    color: white;
    background-color: var(--blue-2);
    transition: all 0.3s ease-in-out;
}

/* 2. FOOTER REVEAL (La zone bleue en dessous) */
.footer-reveal {
    position: sticky;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20vw; 
    z-index: 1; 
    background: var(--blue-1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.footer-content {
    text-align: center;
    position: relative;
    z-index: 3;
    margin-top: -7vw;
}

.giant-txt {
    position: absolute;
    bottom: -21vw;
    transform: translateX(-50%);
    font-size: 15.3vw;
    font-weight: 900;
    opacity: 0.15;
    white-space: nowrap;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .footer-reveal { height: 300px; position: relative; z-index: 3; } /* On désactive l'effet sur mobile pour la fluidité */
    .cta-section { border-radius: 0; padding-bottom: 60px; }
}

