/* --- RESETS DE BASE --- */
html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  font-family: sans-serif;
  height: 100%;
}

body {
  color: #333;
  background-color: #fff;
  min-height: 100%;
  margin: 0;
  font-family: Arial, sans-serif;
  font-size: 14px;
  line-height: 20px;
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
  display: block;
}

a {
  background-color: #0000;
}

a:active, a:hover {
  outline: 0;
}

b, strong {
  font-weight: bold;
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 10px;
  font-weight: bold;
}

h1 { margin-top: 20px; font-size: 38px; line-height: 44px; }
h2 { margin-top: 20px; font-size: 32px; line-height: 36px; }
h3 { margin-top: 20px; font-size: 24px; line-height: 30px; }

p {
  margin-top: 0;
  margin-bottom: 10px;
}

img {
  vertical-align: middle;
  max-width: 100%;
  display: inline-block;
  border: 0;
}

* {
  box-sizing: border-box;
}

/* --- ICONS WEBFLOW UTILISÉES --- */
@font-face {
  font-family: webflow-icons;
  src: url("data:application/x-font-ttf;charset=utf-8;base64,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") format("truetype");
  font-weight: normal;
  font-style: normal;
}

[class^="w-icon-"], [class*=" w-icon-"] {
  font-variant: normal;
  text-transform: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  font-family: webflow-icons !important;
}

.w-icon-slider-right:before { content: ""; }
.w-icon-slider-left:before { content: ""; }

/* --- CLASSES OUTILS WEBFLOW --- */
.w-inline-block {
  max-width: 100%;
  display: inline-block;
}

.w-list-unstyled {
  padding-left: 0;
  list-style: none;
}

.w-button {
  color: #fff;
  line-height: inherit;
  cursor: pointer;
  background-color: #3898ec;
  border: 0;
  border-radius: 0;
  padding: 9px 15px;
  text-decoration: none;
  display: inline-block;
}

/* --- MENU (NAV) --- */
.w-nav {
  z-index: 1000;
  background: #ddd;
  position: relative;
}

.w-nav:after {
  content: " ";
  grid-area: 1 / 1 / 2 / 2;
  display: table;
  clear: both;
}

.w-nav-brand {
  float: left;
  color: #333;
  text-decoration: none;
  position: relative;
}

.w-nav-menu {
  float: right;
  position: relative;
}

.w-nav-overlay {
  width: 100%;
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  overflow: hidden;
}

.w-nav-button {
  float: right;
  cursor: pointer;
  padding: 18px;
  font-size: 24px;
  display: none;
  position: relative;
}

@media screen and (max-width: 991px) {
  .w-nav[data-collapse="medium"] .w-nav-menu { display: none; }
  .w-nav[data-collapse="medium"] .w-nav-button { display: block; }
}
@media screen and (max-width: 767px) {
    .nav-menu { flex-direction: column; padding-bottom: 30px; padding-left: 0; }
    .nav-link { padding-top: 10px; padding-bottom: 10px; display: inline-block; }

    /* Accueil — navbar ne se superpose plus */
    .accueil { padding: 80px 15px 60px; margin-top: -60px; }

    .projet { padding: 60px 15px; }

    /* Compétences — 1 seule colonne sur mobile */
    .competences-wrapper-modern { flex-direction: column; }
    .competences-intro { max-width: 100%; margin-bottom: 20px; }
    .competences-grid-modern {
        grid-template-columns: 1fr !important;
    }
    .skill-card { padding: 15px 20px; }

    /* Certifications — 1 colonne */
    .certif-grid { grid-template-columns: 1fr; }
    .certifications-section { padding: 60px 20px; border-radius: 0; }

    /* Titre certif qui déborde */
    .titre_certif {
        font-size: 34px !important;
        line-height: 1.2 !important;
        word-break: break-word;
    }

    /* Timeline */
    .timeline-center-wrapper::before { left: 20px; }
    .timeline-row { width: 100%; padding-left: 50px !important; padding-right: 0 !important; }
    .timeline-row:nth-child(odd),
    .timeline-row:nth-child(even) { align-self: flex-start; text-align: left; }
    .timeline-row:nth-child(odd) .timeline-marker-center,
    .timeline-row:nth-child(even) .timeline-marker-center { left: 10px; right: auto; }
    .timeline-row:nth-child(odd) .card-center::after,
    .timeline-row:nth-child(even) .card-center::after { left: -7px; right: auto; transform: rotate(45deg); }

    /* Collaborations */
    .collaborations { padding: 60px 15px; }
    .testimonial-slide-wrapper { max-width: 100%; margin-right: 0; }
    .testimonial-card { margin-left: 10px; margin-right: 10px; }
    .testimonial-slider-left { left: -10px; }
    .testimonial-slider-right { right: -10px; }

    /* Titres */
    .titre_projet { font-size: 46px; line-height: 36px; }
    .titre-projet-sae102 { line-height: 38px; }
    .sous-titre-sae102 { padding-left: 40px; }
    .paragraphe-sae102 { padding-left: 40px; padding-right: 40px; line-height: 22px; }
    .liste-sae102 { padding-left: 60px; padding-right: 60px; }
    .div-image-sae102 { padding-left: 10px; padding-right: 10px; }
}

/* --- SLIDER --- */
.w-slider {
  text-align: center;
  clear: both;
  background: #ddd;
  height: 300px;
  position: relative;
}

.w-slider-mask {
  z-index: 1;
  white-space: nowrap;
  height: 100%;
  display: block;
  position: relative;
  left: 0;
  right: 0;
  overflow: hidden;
}

.w-slide {
  vertical-align: top;
  white-space: normal;
  text-align: left;
  width: 100%;
  height: 100%;
  display: inline-block;
  position: relative;
}

.w-slider-nav {
  z-index: 2;
  text-align: center;
  height: 40px;
  margin: auto;
  padding-top: 10px;
  position: absolute;
  inset: auto 0 0;
}

.w-slider-nav.w-round>div { border-radius: 100%; }

.w-slider-dot {
  cursor: pointer;
  background-color: #fff6;
  width: 1em;
  height: 1em;
  margin: 0 3px .5em;
  display: inline-block;
  position: relative;
}

.w-slider-dot.w-active { background-color: #fff; }

.w-slider-arrow-left, .w-slider-arrow-right {
  cursor: pointer;
  color: #fff;
  width: 80px;
  margin: auto;
  font-size: 40px;
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.w-slider-arrow-left { z-index: 3; right: auto; }
.w-slider-arrow-right { z-index: 4; left: auto; }

/* --- CLASSES PERSONNALISÉES (MELIK INCE) --- */

.navbar {
  z-index: 50;
  background-color: #b4b4b499;
  position: sticky;
  top: 0;
  transition: transform 0.3s ease-in-out;
}

.navbar.nav-up {
  transform: translateY(-100%);
}

.navbar_container {
  z-index: 5;
  background-color: #0000;
  width: 100%;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding: 20px;
}

.container_interne {
  width: 100%;
  max-width: 1260px;
  min-height: 30px;
  margin-left: auto;
  margin-right: auto;
}

.navbar-wrapper {
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.nav-menu {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0;
  padding-bottom: 0;
  padding-left: 0;
  display: flex;
}

.nav-link {
  color: #273747;
  letter-spacing: .25px;
  margin-left: 5px;
  margin-right: 5px;
  padding: 5px 10px;
  font-family: Plus Jakarta Sans, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  text-decoration: none;
}

.nav-link:hover, .nav-link.w--current:hover {
  color: #648db6;
}

.navbar_text_logo {
  color: #2c3e50;
  font-family: Playball, sans-serif;
  font-size: 58px;
}

.accueil {
  background-color: #f5f7fa;
  background-image: url("../images/background_accueil.png");
  background-position: 0 0;
  background-repeat: repeat;
  background-size: cover;
  background-attachment: fixed;
  border-bottom: 1px solid #e4ebf3;
  margin-top: -100px;
  padding: 130px 30px 70px;
  position: relative;
}

.accueil_presentation {
  grid-column-gap: 20px;
  grid-row-gap: 20px;
  flex-flow: column;
  justify-content: flex-start;
  align-items: stretch;
  width: 100%;
  max-width: 77%;
  margin-left: auto;
  margin-right: auto;
  display: flex;
}

.hero-wrapper {
  flex-flow: row;
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.hero_plit_text {
  flex-flow: column;
  justify-content: flex-start;
  align-items: flex-start;
  min-width: 80px;
  max-width: 100%;
  display: flex;
}

.titre_accueil {
  text-align: center;
  margin-bottom: 16px;
}

.titre_accueil.margin-bottom-32px {
  color: #2c3e50;
  text-align: left;
  margin-top: 10px;
  margin-bottom: 10px;
  font-family: Playfair Display, sans-serif;
  font-size: 38px;
  line-height: 40px;
}

.sous-titre_accueil {
  color: #5d6d7e;
  margin-bottom: 10px;
  font-family: Nunito, sans-serif;
  font-size: 20px;
  font-weight: 500;
}

.texte_accueil {
  color: #6e7c89;
  margin-bottom: 10px;
  font-family: Nunito, sans-serif;
  font-size: 15px;
}

.div_accueil_icon {
  grid-column-gap: 15px;
  grid-row-gap: 15px;
  justify-content: flex-start;
  align-items: center;
  display: flex;
}

.lien_image_accueil {
  max-width: 50px;
  max-height: 50px;
}

.image {
  border: 1px #000;
  max-width: 100%;
  max-height: 100%;
}

.image-2 {
  max-width: 100%;
  max-height: 100%;
}

.boutton_cv {
  color: #ecf0f1;
  background-color: #2c3e50;
  background-image: linear-gradient(313deg, #2c3e50, #648db6);
  border-radius: 10px;
  outline: 1px solid #000;
  box-shadow: 5px 5px #2c3e50;
}

.boutton_cv:hover {
  box-shadow: none;
  border: 1px solid #000;
  transform: translate(5px, 5px);
}

.hero_plit_image {
  flex-flow: column;
  justify-content: center;
  align-items: center;
  max-width: 80%;
  display: flex;
}

.shadow-two {
  min-width: 80%;
  max-width: 90%;
  display: block;
  box-shadow: none;
}

.projet {
  background-color: #2c3e50;
  background-image: linear-gradient(45deg, #2c3e50, #648db6);
  border-bottom: 1px solid #e4ebf3;
  border-radius: 20px;
  margin-top: -10px;
  padding: 60px 30px;
  display: block;
  position: relative;
}

.titre_projet {
  color: #ecf0f1;
  text-align: center;
  margin-top: 0;
  margin-bottom: 20px;
  font-family: Playfair Display, sans-serif;
  font-size: 50px;
  font-weight: 500;
}

.projets_grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.projet-card {
  background-color: #dde1e6;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.projet-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.projet-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 2px solid #2c3e50;
}

.projet-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.titre_sae_projet {
  color: #2c3e50;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 28px;
  line-height: 1.3;
  font-weight: 700;
  margin-bottom: 5px;
}

.sous_titre_sae_projet {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  color: #5d6d7e;
  font-weight: 600;
  margin-bottom: 15px;
}

.testimonial-quote {
  color: #4a5568;
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 25px;
}

.competences-modern {
  padding: 80px 30px;
  background-color: #fff;
  background-image: url("../images/background_accueil.png");
  background-position: 0 0;
  background-repeat: repeat;
  background-size: cover;
  background-attachment: fixed;
  position: relative;
  border-bottom: 1px solid #e4ebf3;
}

.titre_competences {
  color: #2c3e50;
  text-align: center;
  margin-bottom: 40px;
  font-family: Playfair Display, sans-serif;
  font-size: 50px;
  font-weight: 500;
}

.competences_wrapper_modern {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.competences_intro {
  flex: 1;
  min-width: 300px;
  max-width: 400px;
}

.clients-dividerr_dessus {
  background-color: #677586;
  width: 90%;
  height: 1px;
  margin-top: 20px;
  margin-bottom: 10px;
}

.clients-quote-two {
  margin-top: 0;
  font-family: Plus Jakarta Sans, sans-serif;
  font-size: 30px;
  font-weight: 500;
  line-height: 40px;
}

.clients-divider {
  background-color: #677586;
  width: 90%;
  height: 1px;
  margin-top: 10px;
  margin-bottom: 20px;
}

.competences_grid_modern {
  flex: 2;
  min-width: 300px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.skill-card {
  background-color: #fff;
  border: 1px solid #e4ebf3;
  border-radius: 12px;
  padding: 20px 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(56, 152, 236, 0.15);
  border-color: #3898ec;
}

.skill-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.skill-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #2c3e50;
}

.skill-level-text {
  font-family: 'Nunito', sans-serif;
  font-size: 12px;
  color: #6e7c89;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.progress-bg {
  width: 100%;
  height: 8px;
  background-color: #eff3f6;
  border-radius: 4px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #2c3e50, #3898ec);
  border-radius: 4px;
  transition: width 1s ease-in-out;
}

.certifications-section {
  padding: 80px 30px;
  background-color: #2c3e50; 
  background-image: linear-gradient(45deg, #2c3e50, #648db6);
  border-radius: 20px; 
  margin-top: -25px; 
  position: relative;
  z-index: 5;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.titre_certif {
  color: #ecf0f1; 
  font-family: 'Playfair Display', sans-serif;
  font-size: 42px;
  font-weight: 600;
  margin-bottom: 50px;
}

.text-center {
  text-align: center;
}

.certif-grid {
  display: grid;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  grid-template-columns: repeat(2, 1fr);
}

.certif-card {
  background-color: #fff;
  border: 1px solid #e4ebf3;
  border-radius: 16px;
  padding: 25px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.certif-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(100, 141, 182, 0.4); 
  border-color: #3898ec;
}

.certif-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.certif-badge-icon {
  width: 60px;
  height: 60px;
  background-color: #f9fbfd;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  border: 1px solid #eff3f6;
}

.certif-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.certif-status {
  background-color: #e6f6ec;
  color: #00b862;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

.certif-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #2c3e50;
  margin-top: 0;
  margin-bottom: 8px;
}

.certif-issuer {
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  color: #6e7c89;
  margin-bottom: 0;
}

.parcours-timeline-center {
  padding: 80px 20px;
  background-color: #f9fbfd;
  background-image: url("../images/background_accueil.png");
  background-position: 0 0;
  background-repeat: repeat;
  background-size: cover;
  background-attachment: fixed;
  position: relative;
  border-bottom: 1px solid #e4ebf3;
  overflow: hidden;
}

.titre_parcours {
  margin-bottom: 40px;
  font-family: Playfair Display, sans-serif;
  font-size: 50px;
}

.timeline-center-wrapper {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.timeline-center-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background-color: #e4ebf3;
  margin-left: -2px;
  border-radius: 2px;
}

.timeline-row {
  width: 50%;
  position: relative;
  margin-bottom: 40px;
  box-sizing: border-box;
}

.timeline-row:nth-child(odd) {
  align-self: flex-start;
  padding-right: 40px;
  text-align: right;
}

.timeline-row:nth-child(odd) .card-center {
  text-align: left; 
}

.timeline-row:nth-child(even) {
  align-self: flex-end;
  padding-left: 40px;
}

.timeline-marker-center {
  position: absolute;
  top: 20px;
  width: 16px;
  height: 16px;
  background-color: #fff;
  border: 4px solid #2c3e50;
  border-radius: 50%;
  z-index: 2;
  transition: all 0.3s ease;
}

.timeline-row:nth-child(odd) .timeline-marker-center { right: -10px; }
.timeline-row:nth-child(even) .timeline-marker-center { left: -10px; }

.timeline-row:hover .timeline-marker-center {
  background-color: #3898ec;
  border-color: #3898ec;
  transform: scale(1.3);
  box-shadow: 0 0 0 6px rgba(56, 152, 236, 0.2);
}

.card-center {
  background-color: #fff;
  border: 1px solid #e4ebf3;
  border-radius: 12px;
  padding: 20px 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.timeline-row:hover .card-center {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(56, 152, 236, 0.15);
  border-color: #3898ec;
}

.card-center::after {
  content: '';
  position: absolute;
  top: 24px;
  width: 12px;
  height: 12px;
  background-color: #fff;
  border-bottom: 1px solid #e4ebf3;
  border-left: 1px solid #e4ebf3;
  transition: border-color 0.3s ease;
}

.timeline-row:hover .card-center::after { border-color: #3898ec; }
.timeline-row:nth-child(odd) .card-center::after { right: -7px; transform: rotate(-135deg); }
.timeline-row:nth-child(even) .card-center::after { left: -7px; transform: rotate(45deg); }

.timeline-date {
  display: inline-block;
  background-color: #eff6fc;
  color: #3898ec;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.timeline-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 600;
  color: #2c3e50;
  margin: 0 0 8px 0;
}

.timeline-desc {
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  color: #6e7c89;
  margin: 0;
  line-height: 1.5;
}

.collaborations {
  background-image: linear-gradient(90deg, #2c3e50, #648db6);
  border-radius: 20px;
  margin-top: -25px;
  margin-bottom: 0;
  padding: 60px 15px;
  position: relative;
}

.testimonial_container {
  width: 100%;
  max-width: 940px;
  margin-left: auto;
  margin-right: auto;
}

.centered-heading-2 {
  color: #ecf0f1;
  text-align: center;
  margin-bottom: 20px;
  font-family: Playfair Display, sans-serif;
  font-size: 50px;
  font-weight: 600;
}

.centered-subheading {
  color: #cde7ee;
  text-align: center;
  margin-bottom: 0;
  font-family: Plus Jakarta Sans, sans-serif;
  font-size: 20px;
  font-weight: 500;
}

.testimonial-slider {
  background-color: #0000;
  max-width: 800px;
  height: auto;
  margin-top: 50px;
  margin-left: auto;
  margin-right: auto;
}

.testimonial-slide-wrapper {
  max-width: 48%;
  margin-right: 4%;
}

.testimonial-card {
  background-color: #dde1e6d9;
  border-radius: 20px;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
  display: flex;
}

.paragraph {
  margin-bottom: 0;
  font-family: Plus Jakarta Sans, sans-serif;
}

.testimonial-info {
  align-self: stretch;
  align-items: center;
  margin-top: 0;
  display: flex;
}

.testimonial-author {
  margin-bottom: 2px;
  margin-right: 10px;
  font-size: 20px;
  line-height: 28px;
}

.tagline {
  margin-bottom: 10px;
  font-size: 12px;
  line-height: 16px;
}

.testimonial-slider-left {
  justify-content: center;
  align-items: center;
  width: 40px;
  display: flex;
  left: -70px;
}

.slider-arrow-embed {
  color: #1a1b1f;
}

.testimonial-slider-right {
  justify-content: center;
  align-items: center;
  width: 40px;
  display: flex;
  right: -70px;
}

.testimonial-slide-nav {
  display: none;
}

.footer {
  background-color: #2c3e50;
  background-image: linear-gradient(45deg, #2c3e50, #648db6);
  border-bottom: none;
  margin-top: -10px;
  padding: 0 0 20px;
  position: relative;
}

.footer-divider {
  background-color: rgba(255,255,255,0.15);
  width: 100%;
  height: 1px;
  margin-top: 0;
  margin-bottom: 20px;
}

.footer a i,
.footer-copyright-center {
  color: rgba(255,255,255,0.75) !important;
}

.footer a i:hover {
  color: #fff !important;
  transition: color 0.2s ease;
}

.footer-copyright-center {
  text-align: center;
  font-size: 14px;
  line-height: 16px;
}

/* --- CLASSES SAE-102 --- */

.titre_projet_sae102 {
  color: #2c3e50;
  text-align: center;
  margin-top: 40px;
  margin-bottom: 30px;
  font-family: Playfair Display, sans-serif;
  font-size: 38px;
  font-weight: 600;
  line-height: 30px;
}

.tag {
  background-color: #e6f6ec;
  color: #00b862;
  padding: 6px 14px;
  border-radius: 20px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.sous_titre_sae102 {
  color: #004d7a;
  margin: 20px auto 10px;
  padding-left: 60px;
  font-family: Plus Jakarta Sans, sans-serif;
  font-size: 26px;
  font-weight: 500;
  line-height: 26px;
}

.paragraphe_sae102 {
  color: #000;
  margin-left: auto;
  margin-right: auto;
  padding-left: 60px;
  padding-right: 60px;
  font-family: Nunito, sans-serif;
  font-size: 16px;
}

.liste_sae102 {
  color: #000;
  margin: 10px auto;
  padding-left: 80px;
  font-family: Nunito, sans-serif;
  font-size: 16px;
  line-height: 25px;
}

.div_image_sae102 {
  grid-column-gap: 5px;
  grid-row-gap: 5px;
  background-color: #07c;
  background-image: linear-gradient(280deg, #2c3e50, #648db6);
  border-radius: 20px;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  margin: 10px 60px;
  padding-top: 20px;
  padding-bottom: 20px;
  display: flex;
}

.image-3 {
  vertical-align: baseline;
  border-radius: 20px;
  width: 700px;
  max-width: 80%;
  max-height: 80%;
  margin-left: auto;
  margin-right: auto;
  position: static;
}

.description_image_sae102 {
  color: #ecf0f1;
  margin-bottom: 0;
}

.italic-text {
  color: #ecf0f1;
}

.image-4 {
  border-radius: 20px;
  width: auto;
  max-width: 80%;
  height: 600px;
  max-height: 80%;
}

.image-5 {
  border-radius: 20px;
  max-width: 90%;
}

.image-6 {
  border-radius: 0;
  width: auto;
  height: 100%;
}

/* --- RESPONSIVE GENERAL --- */

@media screen and (min-width: 1100px) {
  .certif-grid { grid-template-columns: repeat(4, 1fr); }
}

@media screen and (min-width: 1920px) {
  .accueil_presentation { max-width: 60%; }
  .titre_accueil.margin-bottom-32px { font-size: 50px; }
  .hero-wrapper { grid-column-gap: 0px; grid-row-gap: 0px; }
  .hero_plit_image { margin-left: 0; }
  .sous-titre_accueil { font-size: 24px; }
  .texte_accueil { font-size: 16px; }
}

@media screen and (max-width: 991px) {
  .nav-menu-wrapper { background-color: #0000; }
  .nav-menu { background-color: #fff; flex-wrap: wrap; justify-content: space-around; align-items: center; padding-left: 0; display: flex; }
  .accueil_presentation { max-width: 728px; }
  .hero-wrapper { flex-direction: column; justify-content: flex-start; align-items: flex-start; margin-bottom: -40px; }
  .hero_plit_image { max-width: 100%; margin-bottom: 40px; }
  .hero_plit_text { max-width: 100%; margin-bottom: 40px; }
  .testimonial_container { max-width: 728px; }
  .testimonial-slider-left { left: -20px; }
  .testimonial-slider-right { right: -20px; }
  .titre_projet_sae102 { font-size: 38px; line-height: 34px; }
  .image-4 { width: auto; height: 100%; }
}

@media screen and (max-width: 767px) {
  .nav-menu { flex-direction: column; padding-bottom: 30px; padding-left: 0; }
  .nav-link { padding-top: 10px; padding-bottom: 10px; display: inline-block; }
  .accueil { padding: 60px 15px; }
  .projet { padding: 60px 15px; }
  .competences_wrapper_modern { flex-direction: column; }
  .competences_intro { max-width: 100%; margin-bottom: 20px; }
  .skill-card { padding: 15px 20px; }
  .certif-grid { grid-template-columns: 1fr; }
  .certifications-section { padding: 60px 20px; border-radius: 0; }
  .timeline-center-wrapper::before { left: 20px; }
  .timeline-row { width: 100%; padding-left: 50px !important; padding-right: 0 !important; }
  .timeline-row:nth-child(odd), .timeline-row:nth-child(even) { align-self: flex-start; text-align: left; }
  .timeline-row:nth-child(odd) .timeline-marker-center, .timeline-row:nth-child(even) .timeline-marker-center { left: 10px; right: auto; }
  .timeline-row:nth-child(odd) .card-center::after, .timeline-row:nth-child(even) .card-center::after { left: -7px; right: auto; transform: rotate(45deg); }
  .collaborations { padding: 60px 15px; }
  .testimonial-slide-wrapper { max-width: 100%; margin-right: 0%; }
  .testimonial-card { margin-left: 10px; margin-right: 10px; }
  .testimonial-slider-left { left: -10px; }
  .testimonial-slider-right { right: -10px; }
  .titre_projet { font-size: 46px; line-height: 36px; }
  .titre_projet_sae102 { line-height: 38px; }
  .sous_titre_sae102 { padding-left: 40px; }
  .paragraphe_sae102 { padding-left: 40px; padding-right: 40px; line-height: 22px; }
  .liste_sae102 { padding-left: 60px; padding-right: 60px; }
  .div_image_sae102 { padding-left: 10px; padding-right: 10px; }
}

@media screen and (max-width: 767px) {
    .competences_grid_modern {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
    }
}

/* ═══ FIXES RESPONSIVE MOBILE ═══ */

/* Fix navbar qui se superpose au titre */
@media screen and (max-width: 991px) {
    .accueil {
        margin-top: 0 !important;
        padding-top: 30px !important;
    }
}

/* Fix stats bar qui dépasse */
@media screen and (max-width: 600px) {
    .hero-stats {
        width: calc(100% - 0px) !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 10px 6px !important;
        justify-content: space-between !important;
        gap: 0 !important;
        overflow: hidden !important;
    }

    .hero-stat {
        flex: 1 !important;
        padding: 0 4px !important;
        min-width: 0 !important;
    }

    .hero-stat-number {
        font-size: 1rem !important;
        white-space: nowrap !important;
    }

    .hero-stat-label {
        font-size: 0.55rem !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        max-width: 100% !important;
    }

    .hero-stat-divider {
        height: 20px !important;
        flex-shrink: 0 !important;
    }
}

@media screen and (max-width: 479px) {
    .accueil_presentation { max-width: none; }
    .titre_accueil { margin-bottom: 24px; }

    /* Hero stats — pleine largeur et plus compact */
    .hero-stats {
        width: 100%;
        box-sizing: border-box;
        padding: 10px 8px;
        justify-content: space-around;
        gap: 0;
    }
    .hero-stat { padding: 0 6px; }
    .hero-stat-number { font-size: 1.1rem; }
    .hero-stat-label { font-size: 0.6rem; }
    .hero-stat-divider { height: 22px; }

    /* Titres */
    .titre_projet { font-size: 42px; }
    .sous-titre-sae-projet { font-size: 22px; }
    .titre_competences { font-size: 42px; line-height: 36px; }
    .titre-projet-sae102 { margin-top: 20px; font-size: 34px; }
    .sous-titre-sae102 { padding-left: 20px; font-size: 24px; }
    .paragraphe-sae102 { padding-left: 20px; padding-right: 20px; font-size: 15px; }
    .liste-sae102 { padding-left: 40px; padding-right: 40px; }
    .div-image-sae102 { margin-left: 10px; margin-right: 10px; }

    /* Contact responsive */
    .contact-wrapper { grid-template-columns: 1fr; gap: 30px; }
    .form-row { grid-template-columns: 1fr; }
    .contact-title { font-size: 1.5rem; }
    .contact-form-wrap { box-shadow: 3px 3px #2c3e50; }
}

/* ═══════════════════════════════════════════════════════
   DARK MODE — Style inversé
═══════════════════════════════════════════════════════ */

body.dark-mode {
    background-color: #0b1623;
    color: #e2e8f0;
}

/* ── Navbar ── */
body.dark-mode .navbar,
body.dark-mode .navbarcontainer {
    background-color: rgba(10, 20, 35, 0.95);
    border-bottom: 1px solid #1e2d3d;
}
body.dark-mode .nav-link,
body.dark-mode .navbar_text_logo,
body.dark-mode #theme-toggle { color: #e2e8f0; }
body.dark-mode .nav-link:hover { color: #648db6; }

/* ── ACCUEIL → fond sombre avec background image ── */
body.dark-mode .accueil {
    background-color: #0b1623;
    background-image: url("../images/background_accueil_sombre2.png");
    background-position: 0 0;
    background-repeat: repeat;
    background-size: cover;
    background-attachment: fixed;
    border-bottom: 1px solid #1e2d3d;
    margin-top: -100px;
    padding: 130px 30px 70px;
    position: relative;
}
body.dark-mode .titre_accueil.margin-bottom-32px {
    color: #f0f6ff;
    text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
body.dark-mode .sous-titre_accueil { color: #94a3b8; }
body.dark-mode .texte_accueil { color: #cbd5e1; }

/* Badge alternance */
body.dark-mode .badge-alternance {
    background: rgba(46, 125, 50, 0.2);
    border-color: #388e3c;
    color: #81c784;
}
body.dark-mode .badge-alternance:hover {
    background: rgba(46, 125, 50, 0.35);
}

/* ── PROJETS → dégradé bleu profond ── */
body.dark-mode .projet {
    background-color: #0e1f35;
    background-image: linear-gradient(45deg, #0e1f35, #1e4976);
    border-bottom: 1px solid #1e2d3d;
}
body.dark-mode .titre_projet { color: #e8f0fe; }
body.dark-mode .projet-card {
    background-color: #112240;
    border: 1px solid #1e3a5f;
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}
body.dark-mode .projet-content .titre_sae_projet { color: #e8f0fe; }
body.dark-mode .projet-content .sous_titre_sae_projet { color: #90caf9; }
body.dark-mode .projet-content .testimonial-quote { color: #94a3b8; }

/* ── COMPÉTENCES → fond foncé ── */
body.dark-mode .competences-modern {
    background-color: #0b1623;
    background-image: url("../images/background_accueil_sombre2.png");
    background-position: 0 0;
    background-repeat: repeat;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    border-bottom: 1px solid #1e2d3d;
}
body.dark-mode .titre_competences,
body.dark-mode .clients-quote-two { color: #f0f6ff; }
body.dark-mode .skill-name { color: #e2e8f0; }
body.dark-mode .skill-level-text { color: #648db6; }
body.dark-mode .skill-card {
    background-color: #112240;
    border: 1px solid #1e3a5f;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
body.dark-mode .progress-bg { background: #1e2d3d; }
body.dark-mode .clients-dividerr_dessus,
body.dark-mode .clients-divider { background-color: #1e3a5f; }

/* ── CERTIFICATIONS → dégradé bleu profond ── */
body.dark-mode .certifications-section {
    background-color: #0e1f35;
    background-image: linear-gradient(45deg, #0e1f35, #1e4976);
}
body.dark-mode .certif-card {
    background-color: #112240;
    border: 1px solid #1e3a5f;
    box-shadow: 0 4px 15px rgba(0,0,0,0.35);
}
body.dark-mode .certif-title { color: #e8f0fe; }
body.dark-mode .certif-issuer { color: #90caf9; }
body.dark-mode .certif-status { background: #1e3a5f; color: #90caf9; }

/* ── PARCOURS → fond foncé ── */
body.dark-mode .parcours-timeline-center {
    background-color: #0b1623;
    background-image: url("../images/background_accueil_sombre2.png");
    background-position: 0 0;
    background-repeat: repeat;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    border-bottom: 1px solid #1e2d3d;
}
body.dark-mode .titre_parcours { color: #f0f6ff; }
body.dark-mode .card-center {
    background-color: #112240;
    border: 1px solid #1e3a5f;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
body.dark-mode .timeline-title { color: #e8f0fe; }
body.dark-mode .timeline-desc { color: #94a3b8; }
body.dark-mode .timeline-date { color: #648db6; }
body.dark-mode .card-center::after {
    background-color: #112240;
    border-color: #1e3a5f;
}
body.dark-mode .timeline-center-wrapper::before { background-color: #1e3a5f; }
body.dark-mode .timeline-marker-center {
    background-color: #0b1623;
    border-color: #648db6;
}

/* ── COLLABORATIONS → dégradé bleu profond ── */
body.dark-mode .collaborations {
    background-image: linear-gradient(90deg, #0e1f35, #1e4976);
}
body.dark-mode .testimonial-card {
    background-color: #112240;
    border: 1px solid #1e3a5f;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
body.dark-mode .testimonial-card p,
body.dark-mode .testimonial-author { color: #e8f0fe; }
body.dark-mode .tagline { color: #90caf9; }
body.dark-mode .testimonial-info > div:first-child { background-color: #1e3a5f !important; }
body.dark-mode .testimonial-info > div:first-child i { color: #90caf9 !important; }
body.dark-mode .centered-heading-2 { color: #e8f0fe; }
body.dark-mode .centered-subheading { color: #90caf9; }

/* ── FOOTER → fond foncé ── */
body.dark-mode .footer {
  background-color: #0e1f35;
  background-image: linear-gradient(45deg, #0e1f35, #1e4976);
  border-top: none;
}
body.dark-mode .footer-divider {
  background-color: rgba(255,255,255,0.08);
}

body.dark-mode .footer a i,
body.dark-mode .footer-copyright-center {
  color: rgba(255,255,255,0.6) !important;
}

/* ── MODAL dark mode ── */
body.dark-mode .modal-projet { background: #0f1e30; }
body.dark-mode .modal-header {
    background: linear-gradient(135deg, #0e1f35 0%, #1e4976 100%);
}
body.dark-mode .modal-section { border-left-color: #1e3a5f; }
body.dark-mode .modal-section.modal-competences {
    background: #0a1628;
    border-left-color: #648db6;
}
body.dark-mode .modal-section-title { color: #e8f0fe; }
body.dark-mode .modal-section p,
body.dark-mode .modal-list li { color: #94a3b8; }
body.dark-mode .modal-close { background: #1e3a5f; color: #e2e8f0; }

/* ── Pages SAE (sous-pages) ── */
body.dark-mode .titre_projet_sae102 { color: #f0f6ff; }
body.dark-mode .sous_titre_sae102 { color: #90caf9; }
body.dark-mode .paragraphe_sae102,
body.dark-mode .liste_sae102 { color: #94a3b8; }

/* ── Badge alternance ── */
    .badge-alternance {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: #e8f5e9;
        color: #2e7d32;
        border: 1.5px solid #a5d6a7;
        border-radius: 999px;
        padding: 8px 18px;
        font-size: 0.92rem;
        font-weight: 600;
        text-decoration: none;
        margin-bottom: 12px;
        transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
        box-shadow: 0 2px 8px rgba(46,125,50,0.10);
        cursor: pointer;
    }
    .badge-alternance:hover {
        background: #c8e6c9;
        box-shadow: 0 4px 16px rgba(46,125,50,0.18);
        transform: translateY(-2px);
        text-decoration: none;
    }
    .badge-dot {
        width: 9px;
        height: 9px;
        border-radius: 50%;
        background: #43a047;
        display: inline-block;
        animation: pulse-dot 1.8s ease-in-out infinite;
        flex-shrink: 0;
    }
    @keyframes pulse-dot {
        0%, 100% { box-shadow: 0 0 0 0 rgba(67,160,71,0.5); }
        50%       { box-shadow: 0 0 0 6px rgba(67,160,71,0); }
    }

    /* ── Progress bars ── */
    .progress-bar {
        width: 0% !important;
        transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .progress-bar.animated {
        width: var(--target-width) !important;
    }

    /* ═══════════ MODAL PROJET ═══════════ */
    .modal-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.65);
        backdrop-filter: blur(4px);
        z-index: 1000;
        animation: fadeIn 0.2s ease;
    }
    .modal-overlay.active { display: block; }

    .modal-projet {
        display: none;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -48%) scale(0.96);
        width: min(780px, 94vw);
        max-height: 88vh;
        background: #fff;
        border-radius: 20px;
        box-shadow: 0 24px 80px rgba(0,0,0,0.22);
        z-index: 1001;
        overflow: hidden;
        opacity: 0;
        transition: transform 0.28s cubic-bezier(0.34,1.56,0.64,1), opacity 0.22s ease;
    }
    .modal-projet.active {
        display: flex;
        flex-direction: column;
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    .modal-inner {
        display: flex;
        flex-direction: column;
        max-height: 88vh;
        overflow-y: auto;
        scroll-behavior: smooth;
    }
    .modal-inner::-webkit-scrollbar { width: 6px; }
    .modal-inner::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }

    /* Close button */
    .modal-close {
        position: absolute;
        top: 14px;
        right: 18px;
        background: rgba(255,255,255,0.9);
        border: none;
        border-radius: 50%;
        width: 36px;
        height: 36px;
        font-size: 22px;
        line-height: 1;
        cursor: pointer;
        color: #475569;
        z-index: 10;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 8px rgba(0,0,0,0.12);
        transition: background 0.15s, transform 0.15s;
    }
    .modal-close:hover { background: #f1f5f9; transform: scale(1.1); }

    /* Header */
    .modal-header {
        display: flex;
        gap: 20px;
        align-items: center;
        padding: 28px 28px 20px;
        background: linear-gradient(135deg, #2c3e50 0%, #3d5a74 100%);
        color: #fff;
        flex-shrink: 0;
    }
    .modal-img-wrap {
        width: 110px;
        height: 80px;
        border-radius: 12px;
        overflow: hidden;
        flex-shrink: 0;
        background: rgba(255,255,255,0.1);
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .modal-img { width: 100%; height: 100%; object-fit: cover; }
    .modal-title {
        font-size: 1.15rem;
        font-weight: 700;
        color: #fff;
        margin: 0 0 10px 0;
        line-height: 1.3;
    }
    .modal-tags { display: flex; flex-wrap: wrap; gap: 6px; }

    /* Body */
    .modal-body { padding: 24px 28px 28px; display: flex; flex-direction: column; gap: 20px; }
    .modal-section { border-left: 3px solid #e2e8f0; padding-left: 14px; }
    .modal-section.modal-competences { border-left-color: #2c3e50; background: #f8fafc; border-radius: 0 10px 10px 0; padding: 12px 14px; }
    .modal-section-title { font-size: 0.95rem; font-weight: 700; color: #2c3e50; margin: 0 0 8px 0; }
    .modal-section p { font-size: 0.88rem; color: #475569; line-height: 1.6; margin: 0; }
    .modal-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 5px; }
    .modal-list li { font-size: 0.87rem; color: #475569; line-height: 1.5; }

    /* Dark mode */
    .dark-mode .modal-projet { background: #1e293b; }
    .dark-mode .modal-section { border-left-color: #334155; }
    .dark-mode .modal-section.modal-competences { background: #0f172a; border-left-color: #64748b; }
    .dark-mode .modal-section-title { color: #e2e8f0; }
    .dark-mode .modal-section p,
    .dark-mode .modal-list li { color: #94a3b8; }
    .dark-mode .modal-close { background: #334155; color: #e2e8f0; }

    @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

    @media (max-width: 600px) {
        .modal-header { flex-direction: column; align-items: flex-start; padding: 20px 18px 16px; }
        .modal-img-wrap { width: 100%; height: 120px; }
        .modal-body { padding: 18px; }
        .modal-title { font-size: 1rem; }
    }

/* ═══ COMPÉTENCES AMÉLIORÉES ═══ */
.skill-category-label {
    grid-column: 1 / -1;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #2c3e50;
    padding: 6px 0 2px;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 4px;
}
body.dark-mode .skill-category-label {
    color: #90caf9;
    border-bottom-color: #1e3a5f;
}
.skill-icon { margin-right: 8px; color: #2c3e50; font-size: 1rem; }
body.dark-mode .skill-icon { color: #90caf9; }

.skill-badge {
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    padding: 3px 10px !important;
    border-radius: 999px !important;
    white-space: nowrap;
}
.skill-badge.confirmed   { background: #e8f5e9; color: #2e7d32; }
.skill-badge.intermediate{ background: #e3f2fd; color: #1565c0; }
.skill-badge.beginner    { background: #fff8e1; color: #f57f17; }
.skill-badge.learning    { background: #fce4ec; color: #c62828; }
body.dark-mode .skill-badge.confirmed   { background: rgba(46,125,50,0.2);  color: #81c784; }
body.dark-mode .skill-badge.intermediate{ background: rgba(21,101,192,0.2); color: #90caf9; }
body.dark-mode .skill-badge.beginner    { background: rgba(245,127,23,0.2); color: #ffcc02; }
body.dark-mode .skill-badge.learning    { background: rgba(198,40,40,0.2);  color: #ef9a9a; }

.skill-modal-trigger {
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.skill-modal-trigger:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(44,62,80,0.13);
}

/* Header modal compétence */
.skill-modal-header { gap: 20px; align-items: center; }
.skill-modal-icon-big {
    width: 72px; height: 72px;
    border-radius: 16px;
    background: rgba(255,255,255,0.15);
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; color: #fff; flex-shrink: 0;
}
.skill-level-bar-wrap {
    margin-top: 10px;
    display: flex; align-items: center; gap: 10px;
}
.skill-modal-level { font-size: 0.82rem; font-weight: 600; color: rgba(255,255,255,0.85); white-space: nowrap; }
.skill-modal-bar {
    flex: 1; height: 7px;
    background: rgba(255,255,255,0.2);
    border-radius: 999px; overflow: hidden;
}
.skill-modal-bar-fill {
    height: 100%;
    background: rgba(255,255,255,0.85);
    border-radius: 999px;
    width: 0%;
    transition: width 0.9s cubic-bezier(0.4,0,0.2,1) 0.15s;
}

/* ═══ PARCOURS AMÉLIORÉ ═══ */
.parcours-category-label {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #2c3e50;
    padding: 6px 0 2px;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 20px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}
body.dark-mode .parcours-category-label {
    color: #90caf9;
    border-bottom-color: #1e3a5f;
}
.parcours-icon { margin-right: 8px; color: #2c3e50; }
body.dark-mode .parcours-icon { color: #90caf9; }

.parcours-trigger { cursor: pointer; transition: transform 0.18s ease, box-shadow 0.18s ease; }
.parcours-trigger:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(44,62,80,0.13); }
body.dark-mode .parcours-trigger:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.35); }

.parcours-more-hint {
    display: inline-block;
    margin-top: 8px;
    font-size: 0.78rem;
    color: #648db6;
    font-weight: 600;
    letter-spacing: 0.03em;
}
body.dark-mode .parcours-more-hint { color: #90caf9; }

/* ═══ CERTIFICATIONS CATÉGORIES ═══ */
.certif-category-label {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #ecf0f1;
    padding: 6px 0 2px;
    border-bottom: 2px solid rgba(255,255,255,0.2);
    margin-bottom: 20px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

/* Badge "En cours" */
.certif-status-en-cours {
    background: rgba(245, 127, 23, 0.25) !important;
    color: #ffcc02 !important;
    border: 1px solid rgba(245,127,23,0.4) !important;
}

/* ═══ HERO STATS ═══ */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(149, 185, 218, 0.05);
  backdrop-filter: blur(8px);
  border: 2px solid #2c3e50;
  border-radius: 14px;
  padding: 12px 20px;
  margin-top: 24px;
  width: fit-content;
  box-shadow: 4px 4px #2c3e50;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
  cursor: default;
}

.hero-stats:hover {
  box-shadow: none;
  transform: translate(4px, 4px);
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 18px;
}

.hero-stat-number {
  font-size: 1.4rem;
  font-weight: 700;
  color: #2c3e50;
  font-family: 'Playfair Display', sans-serif;
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.68rem;
  color: #8a9bb0;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-top: 3px;
}

.hero-stat-divider {
  width: 1px;
  height: 28px;
  background: rgba(44, 62, 80, 0.15);
  flex-shrink: 0;
}

/* Dark mode */
body.dark-mode .hero-stats {
  background: rgba(17, 34, 64, 0.6);
  border-color: #90caf9;
  box-shadow: 4px 4px #90caf9;
}
body.dark-mode .hero-stats:hover {
  box-shadow: none;
}
body.dark-mode .hero-stat-number { color: #e8f0fe; }
body.dark-mode .hero-stat-label { color: #64748b; }
body.dark-mode .hero-stat-divider { background: #1e3a5f; }

@media (max-width: 600px) {
  .hero-stats { padding: 10px 12px; }
  .hero-stat { padding: 0 10px; }
  .hero-stat-number { font-size: 1.1rem; }
}

/* ═══ BOUTONS SOCIAUX CIRCULAIRES ═══ */
.btn-social-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid #2c3e50;
  color: #2c3e50;
  font-size: 1.1rem;
  text-decoration: none;
  background: transparent;
  box-shadow: 3px 3px #2c3e50;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.btn-social-circle:hover {
  box-shadow: none;
  transform: translate(3px, 3px);
}

/* Dark mode */
body.dark-mode .btn-social-circle {
  border-color: #90caf9;
  color: #90caf9;
  box-shadow: 3px 3px #90caf9;
}
body.dark-mode .btn-social-circle:hover {
  box-shadow: none;
}

/* ═══════════════════════ SECTION CONTACT ═══════════════════════ */
.contact-section {
  padding: 80px 30px;
  background-image: url("../images/background_accueil.png");
  background-position: 0 0;
  background-repeat: repeat;
  background-size: cover;
  background-attachment: fixed;
  border-bottom: 1px solid #e4ebf3;
  position: relative;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

/* ── Colonne gauche ── */
.contact-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(46, 125, 50, 0.08);
  border: 1px solid rgba(46, 125, 50, 0.3);
  color: #2e7d32;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.badge-dot {
  width: 8px; height: 8px;
  background: #4caf50;
  border-radius: 50%;
  animation: pulse 1.8s infinite;
}

.contact-title {
  font-family: 'Playfair Display', sans-serif;
  font-size: 2.2rem;
  font-weight: 600;
  color: #2c3e50;
  margin: 0 0 16px;
  line-height: 1.2;
}

.contact-desc {
  font-size: 0.92rem;
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 30px;
}

.contact-cards { display: flex; flex-direction: column; gap: 12px; }

.contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 3px 3px #2c3e50;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.contact-card:hover {
  box-shadow: none;
  transform: translate(3px, 3px);
}
.contact-card-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: #f1f5f9;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  color: #2c3e50;
  flex-shrink: 0;
}
.contact-card-info {
  display: flex; flex-direction: column; flex: 1;
}
.contact-card-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94a3b8;
}
.contact-card-value {
  font-size: 0.88rem;
  font-weight: 600;
  color: #2c3e50;
}
.contact-card-arrow { color: #94a3b8; font-size: 0.85rem; }

/* ── Colonne droite : formulaire ── */
.contact-form-wrap {
  background: #fff;
  border: 2px solid #2c3e50;
  border-radius: 20px;
  box-shadow: 6px 6px #2c3e50;
  overflow: hidden;
}
.contact-form-header {
  background: linear-gradient(135deg, #2c3e50, #648db6);
  color: #fff;
  padding: 18px 24px;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}
.contact-form { padding: 24px; display: flex; flex-direction: column; gap: 16px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-label { font-size: 0.78rem; font-weight: 700; color: #475569; text-transform: uppercase; letter-spacing: 0.05em; }

.form-input {
  padding: 10px 14px;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  font-size: 0.88rem;
  color: #2c3e50;
  background: #f8fafc;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  font-family: inherit;
}
.form-input:focus {
  border-color: #648db6;
  box-shadow: 0 0 0 3px rgba(100,141,182,0.15);
  background: #fff;
}
.form-textarea { min-height: 100px; resize: vertical; }
.form-select { cursor: pointer; }

.form-submit {
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
}

.form-success {
  margin: 0 24px 20px;
  padding: 12px 16px;
  background: #e8f5e9;
  border: 1px solid #a5d6a7;
  border-radius: 10px;
  color: #2e7d32;
  font-size: 0.88rem;
  font-weight: 600;
}

/* ── Dark mode section contact ── */
body.dark-mode .contact-section {
  background-color: #0b1623;
  background-image: url("../images/background_accueil_sombre2.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  border-bottom: 1px solid #1e2d3d;
}

body.dark-mode .contact-title { color: #f0f6ff; }
body.dark-mode .contact-desc { color: #94a3b8; }
body.dark-mode .contact-badge {
  background: rgba(46, 125, 50, 0.2);
  border-color: #388e3c;
  color: #81c784;
}

body.dark-mode .contact-card {
  background: #112240;
  border-color: #1e3a5f;
  box-shadow: 3px 3px #90caf9;
}
body.dark-mode .contact-card:hover { box-shadow: none; }
body.dark-mode .contact-card-icon { background: #1e3a5f; color: #90caf9; }
body.dark-mode .contact-card-label { color: #648db6; }
body.dark-mode .contact-card-value { color: #e8f0fe; }
body.dark-mode .contact-card-arrow { color: #648db6; }

body.dark-mode .contact-form-wrap {
  background: rgba(11, 22, 35, 0.85);
  border-color: #90caf9;
  box-shadow: 6px 6px #90caf9;
  backdrop-filter: blur(10px);
}
body.dark-mode .contact-form-header {
  background: linear-gradient(135deg, #0e1f35 0%, #1e4976 100%);
}
body.dark-mode .form-label { color: #90caf9; }
body.dark-mode .form-input {
  background: #0e1f35;
  border-color: #1e3a5f;
  color: #e8f0fe;
}
body.dark-mode .form-input::placeholder { color: #475569; }
body.dark-mode .form-input:focus {
  border-color: #90caf9;
  box-shadow: 0 0 0 3px rgba(144,202,249,0.15);
  background: #112240;
}
body.dark-mode .form-success {
  background: rgba(46,125,50,0.15);
  border-color: #388e3c;
  color: #81c784;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .contact-wrapper { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-title { font-size: 1.7rem; }
}

/* ═══ HAMBURGER & MENU MOBILE ═══ */
.nav-mobile-right {
    display: none;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    padding-left: 15px;
}

.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #2c3e50;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Croix quand ouvert */
.hamburger.open span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
    opacity: 0;
}
.hamburger.open span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Menu déroulant mobile */
.mobile-menu {
    display: none;
    flex-direction: column;
    background: #0000;
}
.mobile-menu.open {
    display: flex;
}
.mobile-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.mobile-nav-link {
    display: block;
    padding: 13px 24px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #2c3e50;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
}
.mobile-nav-link:hover {
    background: #f8fafc;
    color: #648db6;
}

/* Affichage selon taille écran */
@media screen and (max-width: 991px) {
    .nav-menu-wrapper { display: none !important; }
    .nav-mobile-right { display: flex !important; }
}

/* Dark mode hamburger */
body.dark-mode .hamburger span { background-color: #e2e8f0; }
body.dark-mode .mobile-menu {
    background: #0000;
    border-top-color: #1e2d3d;
}
body.dark-mode .mobile-nav-link {
    color: #e2e8f0;
    border-bottom-color: #1e2d3d;
}
body.dark-mode .mobile-nav-link:hover {
    background: #112240;
    color: #90caf9;
}