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

  /* 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: 5.25rem; /* 84px */
  line-height: 100%;
  color: var(--black-1);
}

.h1-bold-desktop {
  font-family: var(--font-bricolage);
  font-weight: 600;
  font-size: 5.25rem;
  color: var(--blue-1);
}

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

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

/* ---- H2 ---- */
.h2-desktop {
  font-family: var(--font-brockman);
  font-weight: 600;
  font-size: 4rem; /* 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(--blue-1);
}

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

.h2-strong-desktop::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 16px;
  background: var(--blue-0);
  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(--blue-1);
}

.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(--blue-1);
  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(--blue-0);
  bottom: 0;
  left: 0;
  z-index: -1;
  line-height: 1;
}

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

.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(--blue-1);
}

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

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(--blue-1);
  }

  .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(--blue-0);
    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(--blue-1);
  }

  .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(--blue-0);
    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(--blue-1);
  }

  .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(--blue-0);
    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(--blue-1);
  }

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








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

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

.section-3 {
  height: 110vh;
  max-height: 1400px;
  display: flex; justify-content: center; align-items: center;
  font-size: 2rem; color: white;
}

.section-4 {
  height: 40vh;
  max-height: 550px;
  display: flex; justify-content: center; align-items: center;
  font-size: 2rem; color: white;
}



.section-6 {
  height: 45vh;
  display: flex; justify-content: center; align-items: center;
  font-size: 2rem; color: white;
}

.section-7 {
  height: 100vh;
  display: flex; justify-content: center; align-items: center;
  font-size: 2rem; color: white;
}

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









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

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

.hero-conteneur {
  height: 95vh;
  width: 100%;
  background: #ffffff;
  border-radius: 32px;
  padding: clamp(24px, 4vw, 60px);
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  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: 950px;
  line-height: 0.9;
  margin-top: 2vw;
}


.hero-highlight {
  position: relative; /* Indispensable pour que les points se calent dessus */
  display: inline-block;
  color: var(--blue-2);
  border: 3px solid var(--blue-2);
  background-color: var(--blue-0);
  padding: 0.15em 0.3em;
  transform: rotate(2deg);
  margin-top: -0.2em;
  margin-bottom: -0.2em;
}

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

.dot-rose {
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: var(--pink-0);
  border: 3px solid var(--pink-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(--pink-2);
  font-family: var(--font-bricolage);
}

/* =====================================
   CARTES PROJETS
===================================== */

.hero-cartes {
  position: relative;
  height: clamp(180px, 28vh, 410px);
  width: 90vw;
}

/* style commun */
.carte {
  position: absolute;
  width: clamp(120px, 12vw, 280px);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 20px;
  background: white;
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

/* Positionnement desktop */
.carte-1 { left: 6%;  top: 17%; transform: rotate(-12deg); }
.carte-2 { left: 18%; top: 17%; transform: rotate(-6deg); }
.carte-3 { left: 30%; top: 17%;  transform: rotate(4deg); }
.carte-4 { left: 42%; top: 17%; transform: rotate(8deg); }
.carte-5 { left: 54%; top: 17%; transform: rotate(12deg); }
.carte-6 { left: 66%; top: 17%; transform: rotate(-2deg); }
.carte-7 { left: 78%; top: 17%; transform: rotate(2deg); }


.carte {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    cursor: pointer;
}

.carte:hover {
    transform: scale(1.1) translateY(-5px); 
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    z-index: 10;
}



/* =====================================
   DESCRIPTION
===================================== */


.infoshero {
  height: clamp(0px, 15vh, 130px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}


.hero-description {
  max-width: 800px;
}

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

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

.btn {
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--font-brockman);
  text-decoration: none;
  font-weight: 500;
}

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

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

.btn-secondaire {
  border: 2px solid var(--blue-2);
  color: var(--blue-2);
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1vw;
}
.btn-secondaire:hover {
    background: var(--blue-2);
    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;
}

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

  /* Repositionnement mobile */
  .carte-1 { left: 5%;  top: 50%; }
  .carte-2 { left: 20%; top: 10%; }
  .carte-3 { left: 45%; top: 0%; }
  .carte-4 { left: 60%; top: 20%; }
  .carte-5 { left: 35%; top: 55%; }
  .carte-6 { left: 70%; top: 55%; }
  .carte-7 { left: 60%; top: 65%; }

}


@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;
  }

}



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

/* =====================================
   LAYOUT SECTION 2
===================================== */
.section-2 {
  height: 120vh;
  background-color: var(--grey-1);
  display: flex;
  align-items: center;
}

.container-s2 {
  width: 100%;
  /*max-width: 1440px;*/
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

/* --- BLOC TEXTE (30vh) --- */
.s2-top-text {
  height: 40vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 1vw;
  padding: 0 5vw;
}


.s2-highlight {
  display: inline-block;
  color: var(--pink-2);
  border: 3px solid var(--pink-2);
  background-color: var(--pink-0);
  padding: 0.1em 0.2em;
  transform: rotate(2deg);
}



.s2-sub {
  font-size: clamp(0.7rem, 1.5vw, 1.9rem);
  font-weight: 500;
  margin-bottom: 1.5vh;
  color: black;
}

.s2-title-wrapper {
  position: relative;
  display: inline-block;
}

.s2-intro {
  max-width: 750px;
  margin-top: 2vh;
  opacity: 0.8;
  line-height: 1.3;
}

/* --- ZONE CARTES (50vh) --- */
.s2-slider-area {
  height: clamp(400px, 80vh, 550px);;
  width: 100%;
  overflow-x: auto; /* Scroll horizontal si pas de JS slider */
  scrollbar-width: none; /* Cache scrollbar Firefox */
  display: flex;
  align-items: center;
  padding: 0 2vw;
}
.s2-slider-area::-webkit-scrollbar { display: none; }

.s2-cards-track {
  display: flex;
  gap: 2vw;
  height: 90%; /* Pour laisser respirer les dots */
}

.s2-card {
  position: relative;
  flex: 0 0 clamp(280px, 36vw, 400px);
  height: 100%;
  background: white;
  padding: 0.8rem;
  padding-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  border: 2px solid;
  transition: transform 0.3s ease;
}

/* Thèmes Couleurs */
.pink-theme { border-color: var(--pink-2); color: var(--black-1); transform: rotate(-1deg);}
.blue-theme { border-color: var(--blue-2); color: var(--black-1); transform: rotate(1deg);}

.card-img {
  width: 100%;
  height: 60%;
  border-radius: 12px;
  margin-bottom: 1.5rem;
}
.pink-bg { background-color: var(--pink-0); }
.blue-bg { background-color: var(--blue-1); }

.card-content h3 {
  font-size: clamp(1.1rem, 1.5rem, 2rem);
  line-height: 1.1;
  margin: 1rem 0;
  font-family: var(--font-brockman);
}

.card-content p {
  font-size: 1rem;
  line-height: 1.4;
  opacity: 0.9;
}

.tag {
  font-size: 0.9rem;
  padding: 4px 12px;
  border: 1px solid;
  border-radius: 99px;
  display: inline-block;
  font-weight: 500;
}
.pink-theme .tag, .pink-theme .accent { color: var(--pink-2); border-color: var(--pink-2); }
.blue-theme .tag, .blue-theme .accent { color: var(--blue-2); border-color: var(--blue-2); }

/* --- DOTS REUTILISABLES --- */
.s2-card .dot {
  position: absolute;
  width: 12px;
  height: 12px;
  background: white;
  border: 2px solid;
}
.pink-theme .dot { border-color: var(--pink-2); }
.blue-theme .dot { border-color: var(--blue-2); }

.tl-card { top: -7px; left: -7px; }
.tr-card { top: -7px; right: -7px; }
.bl-card { bottom: -7px; left: -7px; }
.br-card { bottom: -7px; right: -7px; }






/* --- NAVIGATION --- */
.s2-nav {
    background-color: #FBFBFB;
    width: 11vw;
    display: flex;
    justify-content: center;
    height: 5vw;
    border-radius: 3vw;
    padding: 1vw;
    padding-right: 0vw;
    padding-bottom: 0.7vw;
    padding-left: 0.3vw;
}

.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;
  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);
}

/* On s'assure que le scroll est fluide pour le JS */
.s2-slider-area {
  scroll-behavior: smooth;
}



/* Helpers */
.text-blue { color: var(--blue-2); font-family: var(--font-bricolage);}
.hero-highlight.pink { 
  border-color: var(--pink-2); 
  background-color: var(--pink-0); 
  color: var(--pink-2);
  border-radius: 4px;
}


@media (min-width: 2100px) {

  .section-2 {
    height: 80vh;
  }

  .s2-top-text{
    height: 33vh;
  }

  .s2-nav {
    width: 5.5vw;
    height: 2.5vw;
    border-radius: 1.5vw;
    padding: 0.5vw;
    padding-right: 0vw;
    padding-bottom: 0.35vw;
    padding-left: 0.15vw;
}

.nav-arrow img {
  width: 3vw;
}

}







.section-3 {
    padding: 10vh 0;
    background-color: var(--grey-1);
    text-align: center;
}

.container-s3 {
    width: 90%;
    /*max-width: 1440px;*/
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

/* Header */
.s3-header { margin-bottom: 6vh; }
.s3-sub { 
    font-size: clamp(0.7rem, 1.5vw, 1.9rem);
    font-weight: 500;
    margin-bottom: 1.5vh;
    color: black;
}

.s3-highlight.blue {
    display: inline-block;
    color: var(--blue-2);
    border: 3px solid var(--blue-2);
    background-color: var(--blue-0);
    padding: 0.1em 0.2em;
    transform: rotate(-2deg);
}

/* Navigation Tabs */
.s3-tabs-nav {
    display: flex;
    justify-content: center;
    gap: 1vw;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    width: 100%;
}
.s3-tabs-nav::-webkit-scrollbar { display: none; }

.tab-btn {
    padding: 1vw 1.35vw;
    padding-top: clamp(0.2rem, 1vw, 0.8rem);
    padding-bottom: clamp(0.2rem, 1vw, 0.8rem);
    padding-left: clamp(0.2rem, 1.35vw, 1.2rem);
    padding-right: clamp(0.2rem, 1.35vw, 1.2rem);
    border-radius: 99px;
    border: 1px solid #E0E0E0;
    background: transparent;
    font-family: var(--font-brockman);
    font-size: clamp(0.5rem, 1.1vw, 1.2rem);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.tab-btn.active {
    background: var(--blue-2);
    color: white;
    border-color: var(--blue-2);
}

/* Contenu */
.s3-content-wrapper {
    margin-top: 2vh;
    height: clamp(350px, 60vh, 800px);
    background-color: #FFFFFF;
    border-radius: 24px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
}

.tab-content { display: none; width: 100%; animation: fadeIn 0.4s ease; }
.tab-content.active { display: block; }

.placeholder-box {
    border: 2px dashed #ccc;
    padding: 60px;
    color: #888;
    border-radius: 16px;
}

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

/* Couleurs Spécifiques */
.text-pink { color: var(--pink-2); font-family: var(--font-bricolage); }

@media (max-width: 768px) {
    .s3-tabs-nav { justify-content: flex-start; } /* Scroll à gauche sur mobile */
}


.section-4-magic {
    height: 60vh;
    max-height: 550px;
    background-color: var(--grey-1);
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.magic-carousel-container {
    position: relative;
    width: 100%;
    height: 350px;
    display: flex;
}

.magic-pane {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
}

/* Correction décalage : On colle les wrappers au bord gauche de leur pane respective */
.pane-left { left: 0; }
.pane-right { left: 50%; } /* Utiliser left 50% au lieu de right 0 facilite la synchro */

.magic-track-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    height: 100%;
    width: max-content;
}

/* On force le wrapper de droite à commencer AVANT son conteneur pour s'aligner sur la gauche */
.pane-right .magic-track-wrapper {
    margin-left: -50vw;
}

.magic-track {
    display: flex;
    gap: 30px;
    width: max-content;
    /* On part de -33.33% pour revenir à 0 pour un loop parfait sans saut */
    animation: magicInfiniteScroll 30s linear infinite;
}

@keyframes magicInfiniteScroll {
    from { transform: translateX(-33.3333%); }
    to { transform: translateX(0); }
}

/* Style des tags (inchangé mais vérifie les variables) */
.m-tag {
    padding: 12px 28px;
    border-radius: 99px;
    font-family: var(--font-brockman);
    font-size: 1.1rem;
    white-space: nowrap;
    border: 1.5px solid;
    display: flex;
    align-items: center;
}

.pane-left .m-tag { background: #EAEAEA; border-color: #D1D1D1; color: #888; }
.pane-right .m-tag { background: var(--blue-0); border-color: var(--blue-2); color: var(--blue-2); }
.pane-right .m-tag::before { content: '→'; margin-right: 8px; }

.magic-divider-wrapper {
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    height: 120%; z-index: 10;
    pointer-events: none;
    display: flex; justify-content: center; align-items: center;
}
.magic-line { height: 100%; width: auto; z-index: 2; }
.magic-shadow { position: absolute; height: 150%; opacity: 0.6; z-index: 1; }






/* section 5 */
/* --- SECTION 5 : CONFIGURATION DES TAILLES --- */
.section-5 {
    /*padding: 80px 0;*/
    display: flex;
    justify-content: center;
    --blue-project: #2E7DFF;
    --orange-project: #FFA500;
    background-color: var(--grey-1);
}

.container-s5 {
    width: 90%;
    /*max-width: 1440px;*/
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

/* HEADER STYLE */
.s5-header { text-align: center; margin-bottom: 50px; }
.s5-subtitle { 
    font-size: clamp(0.7rem, 1.5vw, 1.9rem);
    font-weight: 500;
    margin-bottom: 1.5vh;
    color: black;
}
.text-blue { color: var(--blue-2); }
.highlight-pink {
    display: inline-block;
    color: var(--pink-2);
    border: 3px solid var(--pink-2);
    background-color: var(--pink-0);
    padding: 0.1em 0.2em;
    transform: rotate(2deg);
}


/* SLIDER */
.s5-slider {
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    align-items: center;
    gap: 30px;
    padding: 1vw;
}

/* CARTE : Verrouillage à 682px / 45vw */
.project-card {
    flex: 0 0 clamp(320px, 42rem, 1000px);
    background: #fff;
    padding: 24px;
    position: relative;
    border: 1.5px solid;
}

.card-blue { border-color: var(--blue-project); }
.card-orange { border-color: var(--orange-project); }
.card-mediaclinic { border-color: #00B9FF; }
.card-itsf { border-color: #920060; }

.card-inner {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Pour garantir l'écart de 10% */
    height: 100%;
}

/* ZONE IMAGE : Verrouillage à 35% et CARRE */
.card-image-box {
    flex: 0 0 40%; 
    aspect-ratio: 1 / 1; /* Force le format carré */
    border-radius: 10px;
    overflow: hidden;
    background: #f4f4f4;
}

.card-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ZONE TEXTE : Verrouillage à 55% */
.card-text-box {
    flex: 0 0 55%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* TYPOGRAPHIE ET ELEMENTS INTERNES */
.tags { margin-bottom: 12px; }
.tag {
    font-size: 12px;
    padding: 3px 12px;
    border-radius: 20px;
    border: 1px solid;
    margin-right: 6px;
}
.tag-blue { color: var(--blue-project); border-color: var(--blue-project); }
.tag-orange { color: var(--orange-project); border-color: var(--orange-project); }
.tag-mediaclinic { color: #00B9FF; border-color: #00B9FF; }
.tag-itsf { color: #920060; border-color: #920060; }

.card-title { font-size: 1.25rem; font-weight: 700; line-height: 1.3; margin-bottom: 12px; }
.card-desc { font-size: 0.9rem; color: #555; line-height: 1.5; margin-bottom: 18px; }

/* BOUTON VOIR LE PROJET */
.btn-view-project {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 30px;
    border: 1px solid;
    text-decoration: none;
    font-weight: 600;
    width: 100%;
}
.btn-blue { color: var(--blue-project); border-color: var(--blue-project); }
.project-allin .btn-view-project:hover { background: var(--blue-project); color: #fff; }
.btn-orange { color: var(--orange-project); border-color: var(--orange-project); }
.project-stmc .btn-view-project:hover { background: var(--orange-project); color: #fff; }
.btn-mediaclinic { color: #00B9FF; border-color: #00B9FF; }
.project-mediaclinic .btn-view-project:hover { background: #00B9FF; color: #fff; }
.btn-itsf { color: #920060; border-color: #920060; }
.project-itsf .btn-view-project:hover { background: #920060; color: #fff; }


.btn-view-project {
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: scale(1.01);
    transition: all 0.3s ease-in-out;
}





/* FOOTER ET NAV */
.s5-controls {
    margin-top: 40px;
    display: flex;
    width: 40vw;
    flex-direction: row;
    align-items: center;
    gap: 25px;
    justify-content: center;
}

.btn-all-projects {
    padding: 14px 35px;
    background-color: #FFFFFF;
    border: 2px solid var(--pink-2);
    color: var(--pink-2);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1vw;
}


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

.dot-project-1 {
    position: absolute;
    border: 2px solid #2E7DFF;
    background-color: white;
    width: 16px;
    height: 16px;
}

.dot-project-2 {
    position: absolute;
    border: 2px solid #FE9A02;
    background-color: white;
    width: 16px;
    height: 16px;
}

.dot-project-3 {
    position: absolute;
    border: 2px solid #00B9FF;
    background-color: white;
    width: 16px;
    height: 16px;
}

.dot-project-4 {
    position: absolute;
    border: 2px solid #920060;
    background-color: white;
    width: 16px;
    height: 16px;
}


.p1-accueil {
  transform: rotate(-1deg);
}

.p2-accueil {
  transform: rotate(1deg);
}

.p3-accueil {
  transform: rotate(-1deg);
}

.p4-accueil {
  transform: rotate(1deg);
}

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

/* RESPONSIVE : On passe en vertical sur mobile */
@media (max-width: 900px) {
    .project-card { flex: 0 0 85vw; }
    .card-inner { flex-direction: column; gap: 20px; }
    .card-image-box, .card-text-box { flex: 0 0 100%; text-align: center; }
    .btn-view-project { margin: 0 auto; }
}


/* section 6 */

/* --- SECTION 6 : LOGO SLIDER INFINI --- */
.section-6 {
    height: 60vh;
    padding: 100px 0;
    background-color: var(--grey-1);
    overflow: hidden; 
}

.container-s6 {
    width: 90%;
}

/* Header */
.s6-header {
    text-align: center;
    margin-bottom: 60px;
}

.s6-subtitle {
    font-size: 14px;
    letter-spacing: 1px;
    font-weight: 600;
    color: #000;
    margin-bottom: 20px;
    text-transform: uppercase;
}

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

/* Slider Configuration */
.logo-slider {
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
}

.logo-track {
    display: flex;
    width: max-content; /* S'adapte à la largeur totale des logos multipliée par 2 */
    gap: 80px; /* Espace entre les logos */
    animation: scroll-infinite 40s linear infinite; /* 40s pour une vitesse fluide, ajustable */
}

.logo-item {
    width: 150px; /* Taille moyenne d'un logo */
    height: 80px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(0); /* On garde les couleurs originales selon ta maquette */
    transition: transform 0.3s ease;
}

.logo-item img:hover {
    transform: scale(1.1); /* Petit effet au survol */
}

/* L'ANIMATION MAGIQUE */
@keyframes scroll-infinite {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%); /* On décale de la moitié exacte (la première série) */
    }
}

/* Pause au survol (Optionnel) */
.logo-slider:hover .logo-track {
    animation-play-state: paused;
}

/* Mobile : on réduit la taille des logos et l'écart */
@media (max-width: 768px) {
    .logo-track { gap: 40px; }
    .logo-item { width: 100px; }
    .s6-subtitle { font-size: 12px; padding: 0 20px; }
}




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

.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; }
}



/* LES ONGLETS DE LA SECTION 3 */


/* SECTION 1 : cv vidéo  */
#video {
    padding: 0 !important; /* On supprime le padding pour que l'image colle aux bords */
    overflow: hidden;
    border-radius: 24px; /* Pour matcher avec ton design actuel */
}

.video-hero {
    position: relative;
    width: 100%;
    height: 65vh;
    background-image: url('../images/autres/COVER-CV-VIDEO.webp');
    background-size: cover; /* L'image couvre tout sans déformation */
    background-position: center; /* Toujours centré sur toi */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Optionnel : Assombrit légèrement le fond pour faire ressortir le bouton */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;    
    height: 60vh;
    background: rgba(0, 0, 0, 0.2); 
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-badge {
    background: #fff;
    color: #2E7DFF; /* Ton bleu projet 1 */
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: clamp(14px, 1.2vw, 18px); /* S'adapte à l'écran */
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border: 2px solid #2E7DFF;
    text-align: center;
    z-index: 10;
}


/* --- LA SLIDE 2 (PRESENTATION) --- */
.s3-content-wrapper {
    position: relative;
    overflow: hidden;
}

.slide-inner {
    position: relative;
    width: 100%;
    height: 60vh;
    padding: 40px;
    display: flex;
    align-items: center;
}

/* --- DÉCOR (Z-index bas) --- */
.deco-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1;
    pointer-events: none;
}

.deco-name {
    position: absolute;
    bottom: 2vw;
    right: 2vw;
    z-index: 2;
    text-align: right;
    line-height: 0.8;
}
.deco-name span {
    display: block;
    font-size: clamp(40px, 7vw, 170px);
    font-weight: 900;
    color: var(--blue-2);
}

/* --- LE PORTRAIT (Centrage parfait) --- */
.portrait-nolan {
    position: absolute;
    left: 82%;
    bottom: -5vh;
    height: 60vh;
    z-index: 4;
}

/* --- CONTENU TEXTE (Z-index haut) --- */
.slide-content {
    position: relative;
    z-index: 10;
    width: 40vw;
    height: 60vh;
    padding-top: 2vw;
    display: flex;
    align-items: flex-start;
}

.col-text {
    width: 45%; /* Prend 45% de la largeur max */
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    width: 14vw;
    height: 16vh;
    background: #fff;
    padding: clamp(15px, 1vw, 30px);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}

.i-large {
    width: 40vw;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1vw; 
}

.p-gauche {
  text-align: left;
}

.card-tag {
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.p-perso {
  font-size: 1vw;
}

.tag-label {
  color: black;
  font-size: 0.8vw;
}

.metrics-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2vw;
}

.pink-num, .pink-stat { color: var(--pink-2); font-weight: 900; }
.pink-num { font-size: 3vw; }
.pink-stat { font-size: 3vw; }

/* --- RESPONSIVE MOBILE / TABLETTE --- */
@media (max-width: 1024px) {
    .s3-content-wrapper { height: auto; }
    .slide-inner { flex-direction: column; padding: 20px; }
    .col-text { width: 100%; order: 2; }
    .portrait-nolan { 
        position: relative; 
        left: 0; 
        transform: none; 
        max-height: 300px; 
        order: 1; 
        margin: 0 auto 20px auto; 
    }
    .deco-name { display: none; } /* On cache le nom géant sur mobile pour la clarté */
}


/* ONGLET 3 : MEMORY MES COMPÉTENCES */
/* ============================================================
   SLIDE 2 : MÉMORY DES COMPÉTENCES
   ============================================================ */

.memory-container {
    display: flex;
    align-items: center; 
    justify-content: flex-start;
    gap: 3vw;
    width: 100%;
    height: 100%;
    padding: 40px;
}

.memory-info {
    width: 25vw; /* Ta largeur demandée */
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start; 
    gap: 24px;
}

/* --- BOUTON STYLISÉ (Marque Nolan) --- */
.btn-memory {
    padding: 12px 30px;
    border: 2px solid var(--blue-1); /* Bleu de ta charte */
    background: transparent;
    color: var(--blue-1);
    border-radius: 50px;
    font-family: var(--font-brockman);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.btn-memory:hover {
    background: var(--blue-1);
    color: var(--white-1);
    box-shadow: 0 5px 15px rgba(101, 135, 255, 0.3);
}

/* --- GRILLE DE JEU VERSION FLEX --- */
.memory-game {
    width: 51vw;
    height: 50vh;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    gap: 20px;
    perspective: 1000px;
}

/* --- LA CARTE (Taille dynamique) --- */
.memory-card {
    position: relative;
    width: calc(14.4% - 18px);
    aspect-ratio: 1 / 1.6;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.memory-card.flipped {
    transform: rotateY(180deg);
}

/* --- LES FACES --- */
.card-face {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 10px;
    object-fit: contain;
    /* On garde ton drop-shadow sur l'image */
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.12));
}

.card-front {
    transform: rotateY(180deg);
}

/* État matché */
.memory-card.matched .card-face {
    filter: drop-shadow(0 0 10px var(--blue-1));
}

/* --- ÉTAT MATCHÉ (Validation) --- */
.memory-card.matched {
    pointer-events: none;
}

.memory-card.matched .card-face {
    /* L'ombre devient bleue et plus intense sur l'image validée */
    filter: drop-shadow(0 0 10px var(--blue-1));
}




@media (min-width: 2000px) {
  .memory-game {
    width: 45vw;
    height: 53vh;
  }
}

/* SLIDE 4 PARCOURS */

/* --- CONTENEUR DE LA TAB --- */
#parcours.tab-content {
    width: 100%;
    height: 100%; /* S'adapte au s3-content-wrapper */
    padding: 40px;
}

.parcours-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    gap: 30px;
}

/* --- LE TITRE INTERNE --- */
.position-h3 {
  position: relative;
  top: 8vh;
}

/* --- LA FRISE (IMAGE) --- */
.frise-container {
    flex: 1;
    position: relative;
    bottom: -5vh;
    width: 101vw;
    display: flex;
    align-items: center;
    justify-content: center;
}

.frise-img {
    max-width: 100%;
    max-height: 100%; /* Empêche de déborder comme sur ta capture */
    object-fit: contain; /* Garde les proportions sans déformer */
}

/* --- DOTS ET HIGHLIGHT POUR LA FRISE --- */
.s3-highlight.pink {
    display: inline-block;
    color: var(--pink-2);
    border: 2px solid var(--pink-2);
    background-color: var(--pink-0);
    padding: 0 10px;
    transform: rotate(2deg);
    position: relative;
    border-radius: 4px;
}

/* Animation d'apparition */
#parcours.active .parcours-inner {
    animation: fadeInSlide 0.5s ease forwards;
}

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





/* SECTION MES PASSIONS */
#passions.tab-content {
    height: 100%;
    width: 100%;
    align-items: center;
    justify-content: center;
}

.passions-static-container {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 3vh 0;
}

/* --- LE TITRE --- */
.p-titre-slide {
    text-align: center;
    margin-top: 2vh;
}

/* --- LA LIGNE DE CARTES (FLEX + ROTATIONS) --- */
.passions-cards-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8vw;
    width: 100%;
    height: 40vh;
}

.passion-card {
    position: relative;
    width: 12vw; 
    height: 12vw;
    cursor: pointer;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.passion-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- L'EFFET D'OPACITÉ NOIRE (Voile) --- */
.card-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Voile noir initial */
    transition: opacity 0.5s ease;
    opacity: 1; /* Visible par défaut */
}

/* --- LOGIQUE DE POSITIONNEMENT (FIDÈLE À LA MAQUETTE) --- */

/* --- ÉTAT CLIQUÉ / ACTIF (Babyfoot par défaut) --- */
.passion-card.active {
    transform: scale(1.1); /* S'agrandit, face à nous */
    z-index: 10; /* Passe devant les autres */
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

/* Retire le voile noir sur la carte active */
.passion-card.active .card-overlay {
    opacity: 0;
}

/* --- ZONE DE TEXTE DYNAMIQUE --- */
.passion-text-zone {
    text-align: center;
    max-width: 700px;
    margin-bottom: 3vh;
}

#passion-title {
    font-weight: 600;
    margin-bottom: 1.5vh;
}

#passion-desc {
    line-height: 1.3;
}


.cp1 { transform: rotate(-30deg) translateY(12vw) scale(0.8); }
.cp1.active {
    transform: rotate(-30deg) translateY(12vw) scale(1.1);
}

.cp2 { transform: rotate(-15deg) translateY(4vw) scale(0.9); }
.cp2.active {
    transform: rotate(-15deg) translateY(4vw) scale(1.1);
}

.cp3 { transform: rotate(0deg) translateY(0) scale(0.9); }
.cp3.active {
    transform: rotate(0deg) translateY(0vw) scale(1.1);
}

.cp4 { transform: rotate(15deg) translateY(4vw) scale(0.9); }
.cp4.active {
    transform: rotate(15deg) translateY(4vw) scale(1.1);
}

.cp5 { transform: rotate(30deg) translateY(12vw) scale(0.8); }
.cp5.active {
    transform: rotate(30deg) translateY(12vw) scale(1.1);
}