:root {
  --bleu-nuit: #0b2545;
  --bleu-fonce: #13315c;
  --bleu-clair: #1f6feb;
  --or: #d4a54a;
  --gris-clair: #f4f6fa;
  --texte: #23272f;
  --font-titre: 'Poppins', sans-serif;
  --font-texte: 'Inter', sans-serif;
}

* { scroll-behavior: smooth; }

body {
  font-family: var(--font-texte);
  color: var(--texte);
  background-color: #ffffff;
}

h1, h2, h3, h4, h5, .navbar-brand, .btn {
  font-family: var(--font-titre);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--or);
  color: #000;
  padding: 8px 16px;
  z-index: 2000;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ===== Header / Navbar ===== */
.site-header {
  background: linear-gradient(90deg, var(--bleu-nuit), var(--bleu-fonce));
  position: sticky;
  top: 0;
  z-index: 1030;
  box-shadow: 0 2px 12px rgba(0,0,0,.15);
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.3rem;
  color: #fff !important;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.navbar-brand i { color: var(--or); font-size: 1.5rem; }
.navbar-brand strong { color: var(--or); }

.navbar-nav .nav-link {
  color: rgba(255,255,255,.85) !important;
  font-weight: 500;
  padding: .5rem 1rem !important;
  position: relative;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #fff !important;
}
.navbar-nav .nav-link.active::after {
  content: "";
  position: absolute;
  left: 1rem; right: 1rem; bottom: 0;
  height: 2px;
  background: var(--or);
}

.btn-signaler {
  background: var(--or);
  color: #1a1a1a !important;
  font-weight: 600;
  border-radius: 30px;
  padding: .5rem 1.2rem !important;
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn-signaler:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(212,165,74,.4);
  color: #1a1a1a;
}

/* ===== Hero / Carousel ===== */
.hero-carousel .carousel-item {
  height: 78vh;
  min-height: 460px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.hero-carousel .carousel-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,37,69,.75), rgba(11,37,69,.55));
}
.hero-slide-1 { background-image: linear-gradient(120deg, #0b2545, #1f6feb); }
.hero-slide-2 { background-image: linear-gradient(120deg, #13315c, #2c4d7a); }
.hero-slide-3 { background-image: linear-gradient(120deg, #0b2545, #16406e); }

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  max-width: 720px;
}
.hero-content .eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .85rem;
  color: var(--or);
  font-weight: 600;
  margin-bottom: 1rem;
}
.hero-content h1 {
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.2rem;
}
.hero-content p { font-size: 1.15rem; color: rgba(255,255,255,.9); }

.carousel-indicators [data-bs-target] { background-color: var(--or); }

/* ===== Sections générales ===== */
.section-padding { padding: 5rem 0; }
.bg-soft { background-color: var(--gris-clair); }

.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .8rem;
  font-weight: 700;
  color: var(--bleu-clair);
}
.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--bleu-nuit);
  margin-bottom: 1rem;
}

/* ===== Cards ===== */
.icon-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem 1.6rem;
  height: 100%;
  box-shadow: 0 6px 24px rgba(11,37,69,.06);
  border: 1px solid rgba(11,37,69,.06);
  transition: transform .25s ease, box-shadow .25s ease;
}
.icon-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(11,37,69,.12);
}
.icon-card .icon-wrap {
  width: 58px; height: 58px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--bleu-clair), var(--bleu-nuit));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.5rem;
  margin-bottom: 1.2rem;
}

.stat-block { text-align: center; }
.stat-block .stat-number {
  font-family: var(--font-titre);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--bleu-nuit);
}
.stat-block .stat-label { color: #6c7787; font-weight: 500; }

/* ===== Process steps ===== */
.step-item { position: relative; padding-left: 3.5rem; margin-bottom: 2rem; }
.step-item .step-num {
  position: absolute; left: 0; top: 0;
  width: 2.6rem; height: 2.6rem;
  border-radius: 50%;
  background: var(--bleu-nuit);
  color: var(--or);
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-titre);
}

/* ===== CTA ===== */
.cta-band {
  background: linear-gradient(120deg, var(--bleu-nuit), var(--bleu-fonce));
  color: #fff;
  border-radius: 24px;
  padding: 3.5rem 2.5rem;
}
.btn-or {
  background: var(--or);
  border: none;
  color: #1a1a1a;
  font-weight: 600;
  padding: .7rem 1.8rem;
  border-radius: 30px;
}
.btn-or:hover { background: #c69739; color: #1a1a1a; }

.btn-outline-light-custom {
  border: 1px solid rgba(255,255,255,.5);
  color: #fff;
  font-weight: 600;
  border-radius: 30px;
  padding: .7rem 1.8rem;
}
.btn-outline-light-custom:hover { background: rgba(255,255,255,.1); color: #fff; }

/* ===== Testimonials carousel ===== */
.testimonial-card {
  background: #fff;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 6px 24px rgba(11,37,69,.08);
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.testimonial-card i.bi-quote { font-size: 2rem; color: var(--or); }

/* ===== Forms ===== */
.form-card {
  background: #fff;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 10px 40px rgba(11,37,69,.08);
}
.form-label { font-weight: 600; color: var(--bleu-nuit); }
.form-control:focus, .form-select:focus {
  border-color: var(--bleu-clair);
  box-shadow: 0 0 0 .2rem rgba(31,111,235,.15);
}

/* ===== Footer : partenaires ===== */
.partner-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.8rem;
}
.partner-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  padding: .8rem 1.2rem;
  height: 104px;
  transition: background .2s ease, transform .2s ease, border-color .2s ease;
}
.partner-logo:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(212,165,74,.5);
  transform: translateY(-3px);
}
.partner-logo img {
  max-height: 56px;
  max-width: 170px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.partner-logo:hover img {
  filter: grayscale(0) brightness(1) invert(0) opacity(1);
}

/* ===== Footer ===== */
.site-footer {
  background: var(--bleu-nuit);
  color: rgba(255,255,255,.85);
  padding: 4rem 0 1.5rem;
}
.site-footer h6 { color: #fff; font-weight: 700; margin-bottom: 1rem; }
.footer-brand {
  font-family: var(--font-titre);
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}
.footer-brand strong { color: var(--or); }
.footer-brand i { color: var(--or); margin-right: .4rem; }
.footer-links a {
  color: rgba(255,255,255,.7);
  text-decoration: none;
  line-height: 2.1;
}
.footer-links a:hover { color: var(--or); }
.footer-divider { border-color: rgba(255,255,255,.15); margin: 2rem 0 1.2rem; }
.text-light-50 { color: rgba(255,255,255,.6); }

/* ===== Page interne (bandeau titre) ===== */
.page-banner {
  background: linear-gradient(120deg, var(--bleu-nuit), var(--bleu-fonce));
  color: #fff;
  padding: 4rem 0 3rem;
}
.page-banner h1 { font-weight: 700; }
.page-banner .breadcrumb a { color: rgba(255,255,255,.7); }
.page-banner .breadcrumb-item.active { color: var(--or); }

/* ===== Accordéon statuts ===== */
.accordion-button:not(.collapsed) {
  background-color: rgba(31,111,235,.08);
  color: var(--bleu-nuit);
}
.accordion-button:focus { box-shadow: none; }

@media (max-width: 767px) {
  .hero-content h1 { font-size: 2rem; }
  .section-title { font-size: 1.6rem; }
}