/* ================================
   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;
  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: 98vh;
  padding: clamp(20px, 3vw, 40px);
  background: var(--grey-1);
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-conteneur {
    height: 90vh;
    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: 0.9;
}

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


.s3-sub {
    font-size: 0.9vw;
    letter-spacing: 0.1vw;
    color: var(--black-1);
    opacity: 0.8;
    margin-top: 8.5vw; 
}

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


.hero-cartes {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2vw;
    width: 100%; /* Utilise toute la largeur du container parent */
    margin-top: 2vw;
}

.carte {
    background: #F8F8F8;
    border-radius: 1.8vw;
    padding: 2vw 0 0 0; /* IMPORTANT : 0 padding sur les côtés et le bas */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 18vw;
    border: 1px solid rgba(0,0,0,0.03);
    transition: all 0.3s ease;
    cursor: pointer;
}

/* On centre le contenu texte puisqu'il n'y a plus de padding latéral sur la carte */
.badge, .h3-titre {
    padding-left: 1vw;
    padding-right: 1vw;
}

.h3-titre {
    font-size: 1.4vw;
    margin-top: 0.5vw;
    margin-bottom: auto; /* Pousse le texte vers le haut */
    padding-bottom: 2vw;
}

.img-logos {
    width: 100%;
    height: auto;
    display: block;
    margin-top: auto; /* Colle l'image en bas */
    border-bottom-left-radius: 1.8vw; /* Pour épouser l'arrondi de la carte */
    border-bottom-right-radius: 1.8vw;
}

/* Survol & État actif */
.carte:hover {
    transform: translateY(-5px);
    background: #F3F3F3;
}

.carte-bleue {
    border: 2px solid var(--blue-2);
    background: #F4F7FF; /* Un fond très légèrement bleuté pour la sélection */
}

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

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

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

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

}


/* BOUTONS DE FILTRE */
/* =====================================
   GRILLE DES CARTES (UNITÉS VW)
===================================== */
.hero-cartes {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5vw;
    width: 85vw; /* Ajuste la largeur globale du bloc */
    margin: 4vw auto 2vw auto;
}

.carte {
    background: #F4F4F4;
    border-radius: 1.5vw;
    /* On retire le padding bas pour que l'image touche le bord */
    padding: 1.8vw 1vw 0 1vw; 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between; /* Pousse l'image tout en bas */
    min-height: 13vw;
    position: relative;
    overflow: hidden; /* Coupe l'image si elle dépasse légèrement */
    border: 0.1vw solid rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

/* Bordure spécifique pour la carte active */
.carte-bleue {
    border: 0.2vw solid var(--blue-2);
}

/* Badges (Texte au-dessus) */
.badge {
    font-size: 0.7vw;
    text-transform: uppercase;
    color: #888;
    background: white;
    padding: 0.3vw 0.8vw;
    border-radius: 2vw;
    margin-bottom: 0.8vw;
    font-weight: 500;
}

/* Titres des cartes */
.h3-titre {
    text-align: center;
    font-size: 1.5vw;
    line-height: 1.2;
    font-family: var(--font-brockman);
    font-weight: 600;
}

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

/* L'IMAGE UNIQUE DE LOGOS */
.img-logos {
    width: 115%;
    display: block; /* Retire l'espace vide sous l'image */
    margin-top: auto; /* Force la position basse */
    object-fit: cover; /* S'assure que l'image remplit bien la zone */
}

/* Responsive : passage en 2x2 sur tablettes */
@media (max-width: 1024px) {
    .hero-cartes {
        grid-template-columns: repeat(2, 1fr);
        width: 90vw;
        gap: 3vw;
    }
    .h3-titre { font-size: 3vw; }
    .badge { font-size: 1.5vw; }
    .carte { min-height: 30vw; border-radius: 3vw; }
}


/*  SECTIONS LES PROJETS */

/* =====================================
   SECTION PROJETS
===================================== */
:root {
    /* Couleurs Thèmes Projets */
    --allin: #2E7DFF;
    --stmc: #FF8A00;
    --happy: #EB000C;
    --mediaclinic: #00B9FF;
    --bourg: #7EA1CE;
    --itsf: #920060;
    --oopsi: #FF9EEE;
    --adresseparfaite: #52888C;
    --lego: #E4111C;
    --greenwaash: #00BAC1;
    --tristan: #00DF00;
    --avbfs: #CB453A;
    --morpho: #D8835D;
    --frigio: #1F5720;
    --ddpq: #E0B56D;
    --lexi: #A1351A;
}

.projects-section {
    padding: 6vw 5vw;
    background: var(--grey-1);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3vw;
}



/* Style pour la carte de filtre active */
.carte.active {
    border: 2px solid var(--blue-2);
    background: #F4F7FF;
    box-shadow: 0 10px 20px rgba(0, 56, 253, 0.1);
    transform: translateY(-5px);
}

/* Animation de sortie des projets */
.project-card {
    transition: all 0.4s ease;
}

.project-card.hidden {
    display: none;
    opacity: 0;
    transform: scale(0.9);
}


/* CARTE PROJET */
.project-card {
    background: #fff;
    padding: 1.5vw;
    position: relative;
    border: 0.15vw solid transparent;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1vw 3vw rgba(0,0,0,0.05);
}

.card-inner {
    display: flex;
    align-items: center;
    gap: 2vw;
    height: 100%;
}

.card-image-box {
    flex: 0 0 40%;
    aspect-ratio: 1 / 1;
    border-radius: 0.8vw;
    overflow: hidden;
    background: #f4f4f4;
}

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

.card-text-box { flex: 1; display: flex; flex-direction: column; }

.card-title {
    font-size: 1.4vw;
    font-family: var(--font-brockman);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.8vw;
    color: var(--black-1);
}

.card-desc {
    font-size: 0.9vw;
    color: #555;
    line-height: 1.4;
    margin-bottom: 1.5vw;
}

/* TAGS BULLS */
.tags { display: flex; gap: 0.5vw; margin-bottom: 1vw; }
.tag {
    font-size: 0.7vw;
    padding: 0.4vw 1vw;
    border-radius: 5vw;
    font-weight: 600;
    text-transform: uppercase;
    border: 0.1vw solid transparent; /* Épaisseur fixée en vw */
}

/* BOUTON AVEC ICON MASK */
.btn-view-project {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8vw;
    padding: 0.6vw 1.5vw;
    border-radius: 5vw;
    text-decoration: none;
    font-weight: 600;
    font-size: 1vw;
    width: 100%;
    transition: 0.3s;
    border: 0.1vw solid transparent;
}

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

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

/* =====================================
   LOGIQUE DE COULEURS PAR PROJET
===================================== */
/* Mixin-style pour automatiser les 16 thèmes */
[class*="project-"] .project-title-accent { font-family: var(--font-bricolage); }

.project-allin { border-color: var(--allin); }
.project-allin .project-title-accent, .project-allin .tag, .project-allin .btn-view-project { color: var(--allin); border-color: var(--allin); }
.project-allin .btn-view-project:hover { background: var(--allin); color: #fff; }
.dot-allin { background: white; border-color: var(--allin); }

.project-stmc { border-color: var(--stmc); }
.project-stmc .project-title-accent, .project-stmc .tag, .project-stmc .btn-view-project { color: var(--stmc); border-color: var(--stmc); }
.project-stmc .btn-view-project:hover { background: var(--stmc); color: #fff; }
.dot-stmc { background: white; border-color: var(--stmc); }

.project-happy { border-color: var(--happy); }
.project-happy .project-title-accent, .project-happy .tag, .project-happy .btn-view-project { color: var(--happy); border-color: var(--happy); }
.project-happy .btn-view-project:hover { background: var(--happy); color: #fff; }
.dot-happy { background: white; border-color: var(--happy); }

.project-mediaclinic { border-color: var(--mediaclinic); }
.project-mediaclinic .project-title-accent, .project-mediaclinic .tag, .project-mediaclinic .btn-view-project { color: var(--mediaclinic); border-color: var(--mediaclinic); }
.project-mediaclinic .btn-view-project:hover { background: var(--mediaclinic); color: #fff; }
.dot-mediaclinic { background: white; border-color: var(--mediaclinic); }

.project-bourg { border-color: var(--bourg); }
.project-bourg .project-title-accent, .project-bourg .tag, .project-bourg .btn-view-project { color: var(--bourg); border-color: var(--bourg); }
.project-bourg .btn-view-project:hover { background: var(--bourg); color: #fff; }
.dot-bourg { background: white; border-color: var(--bourg); }

.project-itsf { border-color: var(--itsf); }
.project-itsf .project-title-accent, .project-itsf .tag, .project-itsf .btn-view-project { color: var(--itsf); border-color: var(--itsf); }
.project-itsf .btn-view-project:hover { background: var(--itsf); color: #fff; }
.dot-itsf { background: white; border-color: var(--itsf); }

.project-oopsi { border-color: var(--oopsi); }
.project-oopsi .project-title-accent, .project-oopsi .tag, .project-oopsi .btn-view-project { color: var(--oopsi); border-color: var(--oopsi); }
.project-oopsi .btn-view-project:hover { background: var(--oopsi); color: #fff; }
.dot-oopsi { background: white; border-color: var(--oopsi); }

.project-adresseparfaite { border-color: var(--adresseparfaite); }
.project-adresseparfaite .project-title-accent, .project-adresseparfaite .tag, .project-adresseparfaite .btn-view-project { color: var(--adresseparfaite); border-color: var(--adresseparfaite); }
.project-adresseparfaite .btn-view-project:hover { background: var(--adresseparfaite); color: #fff; }
.dot-adresseparfaite { background: white; border-color: var(--adresseparfaite); }

.project-lego { border-color: var(--lego); }
.project-lego .project-title-accent, .project-lego .tag, .project-lego .btn-view-project { color: var(--lego); border-color: var(--lego); }
.project-lego .btn-view-project:hover { background: var(--lego); color: #fff; }
.dot-lego { background: white; border-color: var(--lego); }

.project-greenwaash { border-color: var(--greenwaash); }
.project-greenwaash .project-title-accent, .project-greenwaash .tag, .project-greenwaash .btn-view-project { color: var(--greenwaash); border-color: var(--greenwaash); }
.project-greenwaash .btn-view-project:hover { background: var(--greenwaash); color: #fff; }
.dot-greenwash { background: white; border-color: var(--greenwaash); }

.project-tristan { border-color: var(--tristan); }
.project-tristan .project-title-accent, .project-tristan .tag, .project-tristan .btn-view-project { color: var(--tristan); border-color: var(--tristan); }
.project-tristan .btn-view-project:hover { background: var(--tristan); color: #fff; }
.dot-tristan { background: white; border-color: var(--tristan); }

.project-avbfs { border-color: var(--avbfs); }
.project-avbfs .project-title-accent, .project-avbfs .tag, .project-avbfs .btn-view-project { color: var(--avbfs); border-color: var(--avbfs); }
.project-avbfs .btn-view-project:hover { background: var(--avbfs); color: #fff; }
.dot-avbfs { background: white; border-color: var(--avbfs); }

.project-morpho { border-color: var(--morpho); }
.project-morpho .project-title-accent, .project-morpho .tag, .project-morpho .btn-view-project { color: var(--morpho); border-color: var(--morpho); }
.project-morpho .btn-view-project:hover { background: var(--morpho); color: #fff; }
.dot-morpho { background: white; border-color: var(--morpho); }

.project-frigio { border-color: var(--frigio); }
.project-frigio .project-title-accent, .project-frigio .tag, .project-frigio .btn-view-project { color: var(--frigio); border-color: var(--frigio); }
.project-frigio .btn-view-project:hover { background: var(--frigio); color: #fff; }
.dot-frigio { background: white; border-color: var(--frigio); }

.project-ddpq { border-color: var(--ddpq); }
.project-ddpq .project-title-accent, .project-ddpq .tag, .project-ddpq .btn-view-project { color: var(--ddpq); border-color: var(--ddpq); }
.project-ddpq .btn-view-project:hover { background: var(--ddpq); color: #fff; }
.dot-ddpq { background: white; border-color: var(--ddpq); }

.project-lexi { border-color: var(--lexi); }
.project-lexi .project-title-accent, .project-lexi .tag, .project-lexi .btn-view-project { color: var(--lexi); border-color: var(--lexi); }
.project-lexi .btn-view-project:hover { background: var(--lexi); color: #fff; }
.dot-lexi { background: white; border-color: var(--lexi); }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .projects-grid { grid-template-columns: 1fr; gap: 6vw; }
    .card-title { font-size: 4.5vw; }
    .card-desc { font-size: 2.5vw; }
    .tag { font-size: 2vw; padding: 0.8vw 2.5vw; border-width: 0.2vw; }
    .btn-view-project { font-size: 3vw; padding: 2.5vw 4vw; }
    .icon-arrow { width: 2.5vw; height: 2.5vw; }
}












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

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

