:root {
  --primary: #3b5bdb;
  --accent: #fdc010;
  --navy: #101a33;
  --dark: #0c1428;
  --muted: #6a748a;
  --soft: #f4f7fc;
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  color: #121a2d;
  background: #fff;
}

h1,
h2,
h3 {
  font-family: "Inter Tight", "Inter", sans-serif;
}

.brand-logo-img {
  height: auto;
  max-height: 52px;
  width: auto;
  max-width: min(220px, 55vw);
  object-fit: contain;
  display: block;
}

.brand-logo-img--footer {
  max-height: 56px;
  max-width: 220px;
  background: #fff;
  padding: 0.35rem 0.5rem;
  border-radius: 0.5rem;
}

.topbar {
  background: var(--navy);
  color: #dae3ff;
}

.footer-logo-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 0.5rem;
}

.nav-link {
  color: #253152;
  font-weight: 600;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.lang-switch {
  border: 1px solid #dbe3f6;
  border-radius: 0.65rem;
  padding: 0.2rem;
}

.btn-lang {
  border: 0;
  background: transparent;
  color: #526080;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.3rem 0.55rem;
  border-radius: 0.5rem;
}

.btn-lang.active {
  background: var(--primary);
  color: #fff;
}

.btn-primary-custom {
  background: var(--primary);
  border: 1px solid var(--primary);
  color: #fff;
  border-radius: 0.75rem;
  font-weight: 600;
}

.btn-primary-custom:hover {
  background: #2d4bc2;
  border-color: #2d4bc2;
  color: #fff;
}

.btn-outline-primary-custom {
  border: 1px solid var(--primary);
  color: var(--primary);
  border-radius: 0.75rem;
  font-weight: 600;
}

.btn-outline-primary-custom:hover {
  background: var(--primary);
  color: #fff;
}

.hero-section {
  position: relative;
  min-height: 620px;
  background:
    linear-gradient(100deg, rgba(16, 26, 51, 0.88) 0%, rgba(16, 26, 51, 0.7) 55%, rgba(16, 26, 51, 0.35) 100%),
    url("../images/hero.jpg");
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
}

.py-lg-6 {
  padding-top: 7rem;
  padding-bottom: 7rem;
}

.hero-kicker,
.section-kicker {
  color: var(--accent);
  letter-spacing: 1px;
  font-weight: 700;
  font-size: 0.8rem;
}

.section-title {
  font-size: clamp(1.55rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--navy);
}

.cards-overlap {
  margin-top: -70px;
  position: relative;
  z-index: 5;
}

.feature-card {
  background: #fff;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 10px 24px rgba(14, 20, 39, 0.08);
}

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.65rem;
  color: var(--navy);
}

.feature-card p {
  color: var(--muted);
}

.feature-card.highlighted {
  background: var(--primary);
}

.feature-card.highlighted h3,
.feature-card.highlighted p {
  color: #fff;
}

.section-space {
  padding: 5rem 0;
}

.check-list li {
  margin-bottom: 0.7rem;
  color: #36415f;
  padding-left: 1.5rem;
  position: relative;
}

.check-list li::before {
  content: "➜";
  position: absolute;
  left: 0;
  color: var(--primary);
}

.about-image {
  min-height: 320px;
  background: linear-gradient(145deg, #f4f7fc 0%, #e8eef9 50%, #f8fafc 100%);
  border: 1px solid #e5e9f5;
}

.about-logo-img {
  width: 100%;
  max-width: 380px;
  height: auto;
  object-fit: contain;
}

.logos-row .logo-box {
  min-height: 84px;
  border: 1px solid #e5e9f5;
  background: #fff;
  border-radius: 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.65rem;
}

.metric {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}

.metric-label {
  font-size: 0.75rem;
  color: #7a86a6;
  text-align: center;
  margin-top: 0.2rem;
}

.section-head {
  max-width: 760px;
}

.service-tile {
  border-radius: 1rem;
  min-height: 220px;
  display: flex;
  align-items: end;
  padding: 1rem;
  color: #fff;
  font-weight: 700;
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 -90px 120px rgba(7, 12, 24, 0.45);
}

.tile-1 { background-image: linear-gradient(20deg, rgba(17, 29, 56, 0.2), rgba(17, 29, 56, 0.2)), url("../images/service-1.jpg"); }
.tile-2 { background-image: linear-gradient(20deg, rgba(17, 29, 56, 0.2), rgba(17, 29, 56, 0.2)), url("../images/service-2.jpg"); }
.tile-3 { background-image: linear-gradient(20deg, rgba(17, 29, 56, 0.2), rgba(17, 29, 56, 0.2)), url("../images/service-3.jpg"); }
.tile-4 { background-image: linear-gradient(20deg, rgba(17, 29, 56, 0.2), rgba(17, 29, 56, 0.2)), url("../images/service-4.jpg"); }

.stats-image {
  min-height: 420px;
  background:
    linear-gradient(90deg, rgba(59, 91, 219, 0.25), rgba(59, 91, 219, 0.1)),
    url("../images/stats.jpg");
  background-size: cover;
  background-position: center;
}

.stats-panel {
  background: var(--navy);
  color: #dbe3ff;
}

.stats-panel .section-title {
  color: #fff;
}

.progress {
  height: 10px;
  background: rgba(255, 255, 255, 0.18);
}

.progress-bar {
  background: var(--primary);
}

.w-95 { width: 95%; }
.w-90 { width: 90%; }

/* Section pub — vidéo */
.pub-section {
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.pub-video-wrap {
  max-width: 960px;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid #dfe6f2;
  box-shadow:
    0 4px 6px rgba(16, 26, 51, 0.04),
    0 12px 32px rgba(16, 26, 51, 0.08);
  background: #0c1428;
}

.pub-video {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.gallery-tile {
  border-radius: 1rem;
  min-height: 220px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: end;
  padding: 0.9rem;
  box-shadow: inset 0 -80px 100px rgba(9, 15, 30, 0.42);
}

.gallery-tile span {
  color: #fff;
  font-weight: 700;
}

.g-1 { background-image: url("../images/gallery-1.jpg"); }
.g-2 { background-image: url("../images/gallery-2.jpg"); }
.g-3 { background-image: url("../images/gallery-3.jpg"); }
.g-4 { background-image: url("../images/gallery-4.jpg"); }

.testimonial-card {
  border: 1px solid #e8ebf4;
  border-radius: 1rem;
  padding: 1.3rem;
  background: #fff;
}

.testimonial-card p {
  color: #475472;
}

.testimonial-card h3 {
  font-size: 1rem;
  color: var(--navy);
}

.stars {
  color: var(--accent);
  letter-spacing: 2px;
}

.cta-section {
  position: relative;
  background:
    linear-gradient(90deg, rgba(16, 26, 51, 0.92), rgba(16, 26, 51, 0.78)),
    url("../images/cta.jpg");
  background-size: cover;
  background-position: center;
}

.cta-overlay {
  position: absolute;
  inset: 0;
}

.cta-text {
  max-width: 620px;
}

.site-footer {
  background: #0b1326;
  color: #e4ebff;
}

.site-footer h3 {
  font-size: 1rem;
  margin-bottom: 0.9rem;
  color: #fff;
}

.footer-links li + li {
  margin-top: 0.45rem;
}

.footer-links a {
  color: #b9c5eb;
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
}

.social-pill {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid #24355d;
  color: #dbe5ff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}

.social-pill:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid #1a2746;
  color: #a8b5dc;
}

/* Bureaux — cartes type « card » pro : trait, ombre, coins arrondis uniformes */
.office-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1.5px solid #b3c0d9;
  border-radius: 1.125rem;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.8) inset,
    0 1px 2px rgba(16, 26, 51, 0.05),
    0 10px 28px rgba(16, 26, 51, 0.09),
    0 24px 48px rgba(16, 26, 51, 0.06);
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.22s ease;
}

.office-card:hover {
  border-color: #7b93d4;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.9) inset,
    0 2px 4px rgba(16, 26, 51, 0.06),
    0 14px 36px rgba(59, 91, 219, 0.14),
    0 28px 56px rgba(16, 26, 51, 0.1);
  transform: translateY(-3px);
}

.office-region {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1e3a8a;
  margin: 0;
  padding: 1rem 1.35rem 0.9rem;
  background: linear-gradient(180deg, #f5f8ff 0%, #eef3fb 100%);
  border-bottom: 1px solid #c9d5ea;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.office-region::after {
  content: "";
  display: block;
  margin-top: 0.65rem;
  height: 3px;
  width: 2.5rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), #f5a623);
}

.office-card-body {
  flex: 1;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #334155;
  padding: 1.25rem 1.35rem 1.4rem;
  background: #fff;
}

.office-card-body strong {
  color: #0f172a;
  font-weight: 700;
}

.office-card-body a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(59, 91, 219, 0.25);
  transition: color 0.15s ease, border-color 0.15s ease;
}

.office-card-body a:hover {
  color: #2d4bc2;
  border-bottom-color: currentColor;
}

@media (max-width: 991.98px) {
  .cards-overlap {
    margin-top: -45px;
  }

  .hero-section {
    min-height: 560px;
  }
}

@media (max-width: 767.98px) {
  .section-space {
    padding: 4rem 0;
  }

  .hero-section {
    min-height: 520px;
  }

  .py-lg-6 {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .cards-overlap {
    margin-top: -25px;
  }
}

/* =========================
   Modale : soumettre besoin
   ========================= */
.recruitment-modal .modal-header {
  background: var(--primary);
  color: #fff;
  border-bottom: 0;
}

.recruitment-modal .modal-header .btn-close {
  filter: brightness(0) invert(1);
}

.recruitment-modal .modal-title {
  font-weight: 700;
}

.recruitment-stepper {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem 0;
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  position: relative;
}

.recruitment-stepper::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: #e5e9f3;
  z-index: 0;
}

.recruitment-stepper--5::before {
  left: 3%;
  right: 3%;
}

.recruitment-stepper--6::before {
  left: 1%;
  right: 1%;
}

.recruitment-stepper .step {
  position: relative;
  z-index: 1;
  flex: 1;
  text-align: center;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
}

.recruitment-stepper .step .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #e5e9f3;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 6px;
  transition: all 0.2s ease;
}

.recruitment-stepper .step .step-label {
  display: block;
  line-height: 1.2;
}

.recruitment-stepper .step.active .step-num {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(59, 91, 219, 0.3);
}

.recruitment-stepper .step.active {
  color: var(--primary);
}

.recruitment-stepper .step.done .step-num {
  background: #e8eeff;
  border-color: var(--primary);
  color: var(--primary);
}

.recruitment-modal .form-step,
.recruitment-modal .can-form-step {
  display: none;
  animation: rcFadeIn 0.25s ease;
}

.recruitment-modal .form-step.active,
.recruitment-modal .can-form-step.active {
  display: block;
}

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

.recruitment-modal .form-step-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}

.recruitment-modal .form-label {
  font-weight: 600;
  font-size: 0.88rem;
  color: #1b2646;
  margin-bottom: 0.35rem;
}

.recruitment-modal .form-control,
.recruitment-modal .form-select {
  border-radius: 10px;
  border: 1px solid #dbe0ee;
  padding: 0.625rem 0.85rem;
  font-size: 0.95rem;
}

.recruitment-modal .form-control:focus,
.recruitment-modal .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(59, 91, 219, 0.15);
}

.recruitment-modal .req {
  color: #e03131;
}

.recruitment-modal .modal-footer {
  border-top: 1px solid #eef1f7;
  gap: 0.5rem;
}

.rc-recap-subtitle {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--primary);
  margin-bottom: 0.65rem;
}

.rc-recap-dl dt {
  font-weight: 500;
}

.rc-recap-dl dd {
  margin-bottom: 0.5rem;
}

.rc-recap-multiline {
  white-space: pre-wrap;
  word-break: break-word;
}

.recruitment-modal .success-icon {
  width: 64px;
  height: 64px;
  line-height: 64px;
  border-radius: 50%;
  background: #e6f7ec;
  color: #2b8a3e;
  font-size: 2rem;
  font-weight: 700;
  margin: 0 auto;
}

@media (max-width: 575.98px) {
  .recruitment-stepper .step-label { display: none; }
  .recruitment-stepper::before { top: 18px; }
}
