* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body.background {
  min-height: 100vh;
  background-color: #040407;
  color: #ffffff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.page-wrapper {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 20px 16px 40px;
}

.barre {
  width: 100%;
  background-color: #f5f5f5;
  border-radius: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  align-items: center;
  padding: 10px 14px;
}

.b_accueil {
  background-color: #f5f5f5;
  border-radius: 9999px;
  border: none;
  padding: 8px 14px;
  cursor: pointer;
  font-size: 0.95rem;
}

.b_accueil:hover {
  background-color: #e4e4e4;
}

.txt_header {
  color: #111111;
  font-size: 14px;
  font-weight: 700;
}

.space_header_contain {
  background-color: #f5f5f5;
  width: 8px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.space_header {
  color: #111111;
  font-size: 20px;
  font-weight: 900;
  margin: 0;
}

.navbar_header {
  background-color: #e0e0e0;
  border-radius: 9999px;
  border: none;
  padding: 8px 14px;
  min-width: 140px;
  flex: 1 1 200px;
  max-width: 280px;
}

.navbar_header::placeholder {
  color: #555555;
}

.navbar_header:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(100, 150, 255, 0.25);
}

.content {
  margin-top: 30px;
}

.hero-row {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 100%;
}

.hero-text {
  min-width: 0;
}

.categorie {
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 800;
  margin: 0 0 16px;
}

.hero-description {
  margin: 0;
  max-width: 760px;
  color: #d8d8d8;
  line-height: 1.7;
}

.section {
  margin-top: 32px;
}

.section-title {
  font-size: clamp(1.8rem, 2.4vw, 2.6rem);
  margin: 0 0 18px;
}

.carousel {
  width: 100%;
}

.carousel__viewport {
  width: 100%;
  overflow: hidden;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.carousel__track {
  display: flex;
  gap: 24px;
  transition: transform 0.45s ease;
  will-change: transform;
  padding: 24px;
}

.carousel__slide {
  flex: 0 0 calc((100% - 48px) / 3);
  min-height: 220px;
  padding: 24px;
  border-radius: 22px;
  background-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.16);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-width: 0;
}

.carousel__slide h2 {
  margin: 0 0 14px;
  font-size: clamp(1.5rem, 2vw, 2rem);
}

.carousel__slide p {
  margin: 0;
  line-height: 1.7;
  color: #d8d8d8;
}

.carousel__controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.carousel__button {
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background-color: #ffffff;
  color: #111111;
  font-size: 1.35rem;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease, background-color 0.2s ease;
}

.carousel__button:hover:not(:disabled) {
  transform: scale(1.05);
  background-color: #f1f1f1;
}

.carousel__button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.carousel__pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.carousel__dot {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 20px;
  background-color: #757575;
  cursor: pointer;
  transition: width 0.2s ease, background-color 0.2s ease;
}

.carousel__dot--active {
  width: 26px;
  background-color: #ffffff;
}

.carousel-card {
  width: 100%;
  height: 100%;
  padding: 24px;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 18px;
  min-height: 220px;
  color: #ffffff;
}

.carousel-card img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.carousel-card h3 {
  margin: 0;
  font-size: 1.8rem;
}

.carousel-card.lang-blue {
  background: linear-gradient(180deg, #1a1a1d 0%, #0d0d10 100%);
}

.carousel-card.lang-yellow {
  background: linear-gradient(180deg, #1a1a1d 0%, #0d0d10 100%);
  color: #ffffff;
}

.carousel-card.lang-orange {
  background: linear-gradient(180deg, #1a1a1d 0%, #0d0d10 100%);
}

.carousel-card.lang-blue-light {
  background: linear-gradient(180deg, #1a1a1d 0%, #0d0d10 100%);
}

.carousel-card.lang-red {
  background: linear-gradient(180deg, #1a1a1d 0%, #0d0d10 100%);
}

.carousel-card.lang-violet {
  background: linear-gradient(180deg, #1a1a1d 0%, #0d0d10 100%);
}

.carousel-card.lang-green {
  background: linear-gradient(180deg, #1a1a1d 0%, #0d0d10 100%);
}

.carousel-card.lang-teal {
  background: linear-gradient(180deg, #1a1a1d 0%, #0d0d10 100%);
}

.carousel-card.lang-gray {
  background: linear-gradient(180deg, #1a1a1d 0%, #0d0d10 100%);
}

.carousel-card.lang-blue-dark {
  background: linear-gradient(180deg, #1a1a1d 0%, #0d0d10 100%);
}

@media (max-width: 760px) {
  .hero-row {
    flex-direction: column;
  }

  .barre {
    justify-content: center;
  }

  .navbar_header {
    max-width: 100%;
  }
}

@media screen and (max-width: 600px) {
  .carousel {
    width: 90%;
    margin-top: 30px;
    margin-bottom: 30px;
  }

  .carousel__track {
    gap: 14px;
  }

  .carousel__slide {
    flex-basis: 100%;
    min-height: 240px;
    padding: 24px;
  }

  .carousel__slide h2 {
    font-size: 1.6rem;
  }

  .carousel__controls {
    gap: 14px;
  }

  .carousel__button {
    width: 42px;
    height: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .carousel__track,
  .carousel__button,
  .carousel__dot {
    transition: none;
  }
}


#introduction { scroll-margin-top: 24px; }
.intro-step { position: relative; overflow: hidden; }
.intro-step__link { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; text-align: left; color: inherit; text-decoration: none; }
.intro-step__number { color: #868686; font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.intro-step h2 { margin: 10px 0 12px; }
.intro-step__status { position: absolute; top: 18px; right: 18px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #39d36d; color: #071009; font-weight: 900; opacity: 0; transform: scale(.55); }
.intro-step__progress { width: 100%; height: 2px; margin-top: 22px; border-radius: 999px; overflow: hidden; background: rgba(255,255,255,.1); }
.intro-step__progress span { display: block; width: var(--step-progress, 0%); height: 100%; background: #d8d8d8; transition: width .4s ease; }
.intro-step.is-complete { border-color: rgba(57,211,109,.55); background: rgba(57,211,109,.08); animation: step-validated .7s cubic-bezier(.2,.9,.25,1); }
.intro-step.is-complete .intro-step__status { opacity: 1; transform: scale(1); transition: opacity .2s ease, transform .5s cubic-bezier(.2,.9,.25,1); }
.intro-step.is-complete .intro-step__progress span { background: #39d36d; }
@keyframes step-validated { 0%{transform:scale(1)} 38%{transform:scale(1.045) translateY(-4px)} 70%{transform:scale(.99)} 100%{transform:scale(1)} }


/* Verrouillage séquentiel des étapes */
.intro-step.is-locked { opacity: .42; }
.intro-step.is-locked .intro-step__link { cursor: not-allowed; }
.intro-step.is-locked::after { content: "Verrouillée"; position: absolute; top: 18px; right: 18px; padding: 6px 9px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; color: #b8b8b8; font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; }
.intro-step.is-complete::after { content: none; }

.barre a{text-decoration:none}.home-hero{padding:70px 0 30px}.sector-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.sector-card{min-height:300px;padding:30px;border:1px solid rgba(255,255,255,.12);border-radius:24px;background:rgba(255,255,255,.05);color:#fff;text-decoration:none;display:flex;flex-direction:column;transition:transform .25s ease,background .25s ease}.sector-card:hover:not(.is-disabled){transform:translateY(-5px);background:rgba(255,255,255,.09)}.sector-card span{color:#8a8a8a;font-size:.75rem}.sector-card h2{font-size:2rem;margin:40px 0 14px}.sector-card p{color:#c7c7c7;line-height:1.7}.sector-card strong{margin-top:auto}.sector-card.is-disabled{opacity:.48}.carousel-card p{font-size:.9rem}.carousel-card h3{font-size:1.45rem}@media(max-width:800px){.sector-grid{grid-template-columns:1fr}.sector-card{min-height:230px}}

.intro-step{padding:0}.intro-step__link{width:100%;min-height:220px;padding:24px;color:inherit;text-decoration:none;display:flex;flex-direction:column;justify-content:center;align-items:center}.intro-step__progress{width:100%;height:2px;margin-top:22px;border-radius:999px;overflow:hidden;background:rgba(255,255,255,.1)}.intro-step__progress span{display:block;width:var(--step-progress,0%);height:100%;background:#fff;transition:width .4s ease}.intro-step.is-complete{background:#173f26;animation:stepValidated .55s ease}.intro-step.is-complete .intro-step__progress span{background:#7ee2a0}.intro-step.is-locked{opacity:.38}@keyframes stepValidated{50%{transform:scale(1.04)}}

/* Cybersecurity page additions */
.section-intro {
  max-width: 820px;
  margin: -6px 0 20px;
  color: #bdbdc3;
  line-height: 1.75;
}

.carousel-card--course {
  align-items: flex-start;
  text-align: left;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.035));
  border: 1px solid rgba(255,255,255,.08);
}

.carousel-card--course h3 {
  font-size: 1.55rem;
  line-height: 1.15;
}

.carousel-card--course p {
  color: #c9c9ce;
}

.card-kicker {
  display: inline-flex;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  color: #d6d6da;
  font-size: .76rem;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 4px;
}

.card-meta span {
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  color: #d7d7db;
  font-size: .78rem;
}

.pathway-map {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 24px;
  background: rgba(255,255,255,.035);
}

.pathway-step {
  min-width: 0;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255,255,255,.06);
}

.pathway-step span {
  display: block;
  margin-bottom: 8px;
  color: #8f8f96;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.pathway-step strong {
  display: block;
  font-size: 1.08rem;
}

.pathway-step p {
  margin: 8px 0 0;
  color: #bdbdc3;
  line-height: 1.55;
  font-size: .92rem;
}

@media (max-width: 900px) {
  .pathway-map { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .pathway-map { grid-template-columns: 1fr; }
  .carousel { width: 100%; }
}

/* Experiences page */
.experiences-page { padding-bottom: 20px; }
.experiences-hero { padding: 54px 0 24px; }
.experience-list { display: grid; gap: 24px; margin-top: 28px; }
.experience-card {
  position: relative;
  display: block;
  min-height: clamp(260px, 34vw, 390px);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 28px;
  color: #fff;
  text-decoration: none;
  background: #111;
  isolation: isolate;
  box-shadow: 0 24px 70px rgba(0,0,0,.24);
}
.experience-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.001);
  transition: transform .7s cubic-bezier(.2,.8,.2,1), filter .5s ease;
}
.experience-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.16) 42%, rgba(0,0,0,.58) 100%);
  z-index: 1;
  transition: background .35s ease;
}
.experience-card__topline {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: clamp(22px, 3vw, 34px);
}
.experience-card h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.4rem);
  line-height: .95;
  letter-spacing: -.045em;
}
.experience-tag {
  flex: 0 0 auto;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 999px;
  background: rgba(0,0,0,.28);
  color: #f2f2f2;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.experience-card__arrow {
  position: absolute;
  right: clamp(22px, 3vw, 34px);
  bottom: clamp(20px, 3vw, 30px);
  z-index: 2;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 50%;
  background: rgba(0,0,0,.24);
  font-size: 1.25rem;
  backdrop-filter: blur(8px);
  transition: transform .25s ease, background .25s ease;
}
.experience-card:hover img { transform: scale(1.045); filter: contrast(1.05); }
.experience-card:hover .experience-card__shade { background: linear-gradient(180deg, rgba(0,0,0,.52) 0%, rgba(0,0,0,.1) 42%, rgba(0,0,0,.48) 100%); }
.experience-card:hover .experience-card__arrow { transform: translate(3px,-3px); background: rgba(255,255,255,.14); }
.experience-card:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
@media (max-width: 620px) {
  .experiences-hero { padding-top: 38px; }
  .experience-card { min-height: 250px; border-radius: 22px; }
  .experience-card__topline { flex-direction: column; align-items: flex-start; }
  .experience-card h2 { font-size: clamp(2.2rem, 11vw, 3.7rem); }
}
@media (prefers-reduced-motion: reduce) {
  .experience-card img,
  .experience-card__arrow { transition: none; }
}


/* V10: photographic experiences, language logos and certifications */
.experience-card img { filter: saturate(1.18) contrast(1.04) brightness(.93); }
.experience-card:hover img { filter: saturate(1.28) contrast(1.08) brightness(1); }
.experience-card__shade { background: linear-gradient(180deg, rgba(0,0,0,.54), rgba(0,0,0,.07) 48%, rgba(0,0,0,.56)); }
.language-logo { width: 76px; height: 76px; object-fit: contain; margin-bottom: 4px; filter: drop-shadow(0 10px 18px rgba(0,0,0,.28)); }
.certification-card { color: #fff; text-decoration: none; transition: transform .22s ease, border-color .22s ease, background .22s ease; }
.certification-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.22); background: linear-gradient(180deg,rgba(255,255,255,.105),rgba(255,255,255,.045)); }
.certification-page { max-width: 900px; margin: 0 auto; padding: 54px 0; }
.certification-eyebrow { color:#96969d; font-size:.78rem; font-weight:800; letter-spacing:.12em; text-transform:uppercase; }
.cert-modules { display:grid; gap:12px; margin-top:38px; }
.cert-module { display:grid; grid-template-columns:52px 1fr; gap:18px; align-items:start; padding:22px; border:1px solid rgba(255,255,255,.1); border-radius:20px; background:rgba(255,255,255,.045); }
.cert-module > span { display:grid; place-items:center; width:42px; height:42px; border-radius:50%; background:#fff; color:#111; font-weight:850; }
.cert-module h2 { margin:0 0 8px; font-size:1.2rem; }
.cert-module p { margin:0; color:#bdbdc3; line-height:1.6; }
.cert-note { margin-top:22px; padding:22px; border-radius:20px; background:rgba(255,255,255,.07); }
.cert-note p { margin:8px 0 0; color:#c8c8cd; line-height:1.6; }
@media(max-width:600px){.language-logo{width:64px;height:64px}.certification-page{padding-top:38px}.cert-module{grid-template-columns:1fr}.cert-module>span{width:36px;height:36px}}

/* V11 database logos and linked cards */
.database-logo{width:74px;height:74px}.carousel-card--link{color:inherit;text-decoration:none;cursor:pointer;transition:transform .22s ease,background .22s ease,border-color .22s ease}.carousel-card--link:hover{transform:translateY(-4px);background:rgba(255,255,255,.11);border-color:rgba(255,255,255,.2)}.carousel-card--link:active{transform:translateY(-1px) scale(.985)}.carousel-card--link:focus-visible{outline:2px solid rgba(255,255,255,.82);outline-offset:4px}

/* Progression des modules longs */
.module-progress{margin-top:auto;padding-top:15px}.module-progress__meta{display:flex;justify-content:space-between;gap:10px;margin-bottom:7px;color:#9a9aa2;font-size:.7rem}.module-progress__track{height:5px;border-radius:999px;background:rgba(255,255,255,.08);overflow:hidden}.module-progress__bar{display:block;height:100%;width:var(--module-progress,0%);border-radius:inherit;background:#f2f2f2;transition:width .35s ease}.carousel-card[data-module]{transition:transform .2s ease,border-color .25s ease,background .25s ease}.carousel-card[data-module].is-module-complete{border-color:rgba(74,222,128,.5);background:rgba(34,197,94,.1);animation:moduleDone .65s ease both}.carousel-card[data-module].is-module-complete .module-progress__bar{background:#22c55e}@keyframes moduleDone{0%{transform:scale(.985)}55%{transform:scale(1.025)}100%{transform:scale(1)}}.availability-badge{display:inline-flex;width:max-content;margin-top:10px;padding:5px 9px;border-radius:999px;border:1px solid rgba(255,255,255,.1);color:#8f8f98;font-size:.62rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;background:rgba(255,255,255,.045)}
