/* Carrière — inner layout + hero cyber + split + offres d’emploi */
/* --------------------------------------------------------------------------
   Inner pages — header shared
   -------------------------------------------------------------------------- */

.page-sub {
  background-color: #eef3f8;
  color: #1a1f26;
}

.page-header {
  background-color: #ffffff;
  border-bottom: 1px solid rgba(5, 10, 16, 0.08);
}

.page-header__brand {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--bitcrew-primary);
  text-decoration: none;
}

.page-header__brand:hover {
  color: #3a6b92;
}

.page-header__link {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  color: #2b333d;
  text-decoration: none;
}

.page-header__link:hover {
  color: var(--bitcrew-primary);
}

/* --------------------------------------------------------------------------
   Page Capacité à la demande
   -------------------------------------------------------------------------- */

.page-capacite {
  background-color: #ffffff;
  color: #1a1f26;
}

.page-hero-stack {
  overflow: visible;
}

.page-hero--capacite {
  position: relative;
  min-height: min(38vh, 360px);
  padding: 0;
  background-color: #1a3a52;
  background-image: url("../images/background.jpg");
  background-size: cover;
  background-position: center;
}

.page-hero--capacite .page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    165deg,
    rgba(10, 35, 55, 0.55) 0%,
    rgba(5, 20, 35, 0.82) 100%
  );
  pointer-events: none;
}


.page-hero__container {
  position: relative;
  z-index: 1;
  min-height: min(38vh, 360px);
  display: flex;
  align-items: flex-end;
  padding-bottom: 0;
}

.page-hero__title-card {
  position: relative;
  z-index: 2;
  max-width: 26rem;
  margin-bottom: -3.25rem;
  padding: 1.35rem 1.75rem;
  background: linear-gradient(135deg, #5eb8e8 0%, #42a5d9 100%);
  border-radius: 10px;
  box-shadow: 0 14px 40px rgba(5, 10, 16, 0.28);
}

.page-hero__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.45rem, 3.2vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin: 0;
}

.page-main--capacite {
  background-color: #ffffff;
  padding-top: 5rem;
}

.page-intro {
  padding-bottom: 0.5rem;
}

.page-intro__tagline {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  line-height: 1.45;
  color: var(--bitcrew-primary);
  margin-bottom: 1.25rem;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.page-intro__text {
  font-size: 1rem;
  line-height: 1.75;
  color: #2b333d;
  max-width: 42rem;
}

.page-feature-card {
  height: 100%;
  padding: clamp(1.75rem, 4vw, 2.25rem);
  border-radius: 20px;
  box-shadow: 0 12px 36px rgba(5, 10, 16, 0.1);
}

.page-feature-card--deep {
  background: linear-gradient(160deg, #4a86b8 0%, #3d6d95 100%);
  color: #ffffff;
}

.page-feature-card--sky {
  background: linear-gradient(160deg, #a8d8f0 0%, #87c5eb 100%);
  color: #0a0a0a;
}

.page-feature-card__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.35rem, 2.5vw, 1.6rem);
  margin-bottom: 1.25rem;
  text-align: left;
  color: #ffffff;
}

.page-feature-card__title--dark {
  color: #0a0a0a;
}

.page-feature-card__intro {
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  text-align: left;
}

.page-feature-card__list {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: left;
}

.page-feature-card__list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.85rem;
  line-height: 1.55;
  font-size: 0.95rem;
}

.page-feature-card__list li:last-child {
  margin-bottom: 0;
}

.page-feature-card__list--check-light li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  font-size: 0.95rem;
  color: #ffffff;
}

.page-feature-card__list--check-dark li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  font-size: 0.95rem;
  color: #0a0a0a;
}

.page-methode {
  margin-top: 0.5rem;
}

.page-methode__heading {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  color: var(--bitcrew-primary);
  margin-bottom: 2rem;
}

.page-method-card {
  height: 100%;
  padding: 1.5rem 1.25rem;
  text-align: center;
  background: linear-gradient(165deg, #4a86b8 0%, #3d6d95 100%);
  color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(5, 10, 16, 0.12);
  min-height: 100%;
}

.page-method-card__num {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.85rem, 3.2vw, 2.35rem);
  line-height: 1;
  color: rgba(255, 255, 255, 0.98);
  margin-bottom: 0.65rem;
}

.page-method-card__head {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
  line-height: 1.35;
}

.page-method-card__desc {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
}

.page-outro__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  color: var(--bitcrew-primary);
  margin-bottom: 1rem;
}

.page-outro__text {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1rem, 1.8vw, 1.125rem);
  line-height: 1.65;
  color: var(--bitcrew-primary);
  max-width: 40rem;
}

.page-capacite__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--btn-min-height);
  padding: var(--btn-padding-y) clamp(1.5rem, 4vw, 2.25rem);
  font-family: var(--font-body);
  font-size: var(--btn-font-size);
  font-weight: var(--btn-font-weight);
  border-radius: var(--btn-radius);
  color: #ffffff;
  background: linear-gradient(165deg, #4a86b8 0%, #3d6d95 100%);
  border: 2px solid transparent;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(61, 109, 149, 0.35);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.page-capacite__cta:hover {
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(61, 109, 149, 0.45);
}

.page-capacite__cta:focus-visible {
  outline: 2px solid var(--bitcrew-primary);
  outline-offset: 3px;
}

@media (max-width: 991.98px) {
  .page-hero__title-card {
    margin-bottom: -2.5rem;
    max-width: 100%;
  }

  .page-main--capacite {
    padding-top: 4rem;
  }
}

@media (max-width: 575.98px) {
  .page-hero__title-card {
    margin-bottom: -2rem;
    padding: 1.15rem 1.35rem;
  }

  .page-main--capacite {
    padding-top: 3.25rem;
  }
}

/* Cybersécurité — hero plus sombre (fond réseau / tech) */
.page-hero--cyber .page-hero__overlay {
  background:
    radial-gradient(ellipse 80% 60% at 85% 35%, rgba(66, 180, 230, 0.12) 0%, transparent 55%),
    linear-gradient(165deg, rgba(6, 22, 42, 0.75) 0%, rgba(2, 12, 28, 0.92) 100%);
}

/* --------------------------------------------------------------------------
   Page Cybersécurité — blocs carte + visuel (chevauchement)
   -------------------------------------------------------------------------- */

.section-cyber-split {
  overflow-x: clip;
}

.section-cyber-split--muted {
  background-color: #eef3f8;
  border-radius: 12px;
  padding-left: clamp(0.75rem, 2vw, 1.25rem);
  padding-right: clamp(0.75rem, 2vw, 1.25rem);
}

.cyber-split {
  position: relative;
  width: 100%;
}

.cyber-split__inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0;
  position: relative;
  width: 100%;
}

.cyber-split__card-wrap {
  position: relative;
  z-index: 2;
  flex: 1 1 auto;
  width: 100%;
  text-align: left;
}

.cyber-split__visual-wrap {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
}

/* Fond unique type maquette : bloc bleu très clair, plat, image centrée */
.cyber-visual-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 0;
  pointer-events: none;
  background-color: #e6f0f7;
  box-shadow: none;
}

.cyber-visual {
  position: relative;
  z-index: 1;
  padding: clamp(1.5rem, 4vw, 2.75rem);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}

/* Même cadre d’affichage pour les trois visuels */
.cyber-visual__img {
  display: block;
  width: min(100%, 520px);
  height: 400px;
  max-width: 100%;
  margin-inline: auto;
  object-fit: contain;
  object-position: center center;
}

.cyber-card__kicker {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1rem, 1.85vw, 1.125rem);
  line-height: 1.4;
  color: #5b8fb9;
  margin: 0.35rem 0 1rem;
}

@media (min-width: 992px) {
  .cyber-split--card-left .cyber-split__inner {
    flex-direction: row-reverse;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 0;
  }

  .cyber-split--card-left .cyber-split__card-wrap {
    flex: 1 1 50%;
    max-width: 50%;
    margin-right: -120px;
  }

  .cyber-split--card-left .cyber-split__visual-wrap {
    flex: 0 0 50%;
    width: 50%;
    max-width: 50%;
  }

  .cyber-split--visual-left .cyber-split__inner {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 0;
  }

  .cyber-split--visual-left .cyber-split__card-wrap {
    flex: 1 1 50%;
    max-width: 50%;
    margin-left: -120px;
  }

  .cyber-split--visual-left .cyber-split__visual-wrap {
    flex: 0 0 50%;
    width: 50%;
    max-width: 50%;
  }

  .cyber-split--card-left .cyber-visual {
    min-height: min(440px, 58vh);
    border-radius: 0;
  }

  .cyber-split--card-left .cyber-visual-bg {
    border-radius: 0;
  }

  .cyber-split--visual-left .cyber-visual {
    min-height: min(440px, 58vh);
    border-radius: 0;
  }

  .cyber-split--visual-left .cyber-visual-bg {
    border-radius: 0;
  }
}

@media (max-width: 991.98px) {
  .cyber-split__inner {
    gap: 0;
  }

  .cyber-split__visual-wrap {
    width: 100%;
    max-width: 100%;
    z-index: 1;
  }

  .cyber-visual {
    justify-content: center;
    min-height: 240px;
    padding: 1.25rem 1.25rem 2.5rem;
    border-radius: 12px 12px 0 0;
  }

  .cyber-visual-bg {
    border-radius: 12px 12px 0 0;
  }

  .cyber-visual__img {
    width: 100%;
    height: min(320px, 52vh);
    object-position: center center;
  }

  .cyber-split__card-wrap {
    margin-right: 0 !important;
    margin-left: 0 !important;
    margin-top: -2.5rem;
    max-width: 100%;
    z-index: 2;
    padding: 0 0.25rem;
  }

  .section-cyber-split .about-card {
    border-radius: 22px 22px 14px 14px;
    box-shadow:
      0 -6px 28px rgba(5, 10, 16, 0.06),
      0 16px 40px rgba(5, 10, 16, 0.1);
    padding: 1.5rem 1.35rem;
  }
}

/* --------------------------------------------------------------------------
   Carrière — liste d’offres
   -------------------------------------------------------------------------- */

.career-offers {
  padding: 0.5rem 0 2.5rem;
}

.career-offers__heading {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.1rem, 2.1vw, 1.35rem);
  text-align: center;
  color: #7eb8e0;
  margin-bottom: 1.75rem;
  letter-spacing: -0.02em;
}

.career-offers__list {
  max-width: 52rem;
  margin: 0 auto;
}

.career-offer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem 1.5rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid #b8d4e8;
}

.career-offer-row:first-child {
  border-top: 1px solid #b8d4e8;
}

.career-offer__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.05rem, 1.9vw, 1.2rem);
  color: #3d6d95;
  margin: 0;
  line-height: 1.35;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
}

.career-offer__badge {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  line-height: 1.2;
  vertical-align: middle;
}

.career-offer__badge--closed {
  color: #5c6b78;
  background: rgba(92, 107, 120, 0.12);
  border: 1px solid rgba(92, 107, 120, 0.22);
}

.career-offer__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--btn-min-height);
  padding: var(--btn-padding-y) clamp(1.25rem, 3vw, 1.75rem);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--btn-radius);
  color: #ffffff;
  background: linear-gradient(165deg, #4a86b8 0%, #3d6d95 100%);
  border: 2px solid transparent;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(61, 109, 149, 0.3);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
  flex-shrink: 0;
  white-space: nowrap;
}

button.career-offer__btn {
  font: inherit;
  cursor: pointer;
}

.career-offer__btn--disabled,
.career-offer__btn:disabled {
  cursor: not-allowed;
  opacity: 0.72;
  color: rgba(255, 255, 255, 0.92);
  background: linear-gradient(165deg, #9aa8b4 0%, #7a8a96 100%);
  box-shadow: 0 2px 8px rgba(45, 55, 65, 0.15);
  transform: none;
}

.career-offer__btn--disabled:hover,
.career-offer__btn:disabled:hover {
  color: rgba(255, 255, 255, 0.92);
  transform: none;
  box-shadow: 0 2px 8px rgba(45, 55, 65, 0.15);
}

.career-offer__btn:hover {
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(61, 109, 149, 0.4);
}

.career-offer__btn:focus-visible {
  outline: 2px solid var(--bitcrew-primary);
  outline-offset: 3px;
}
