/* ==========================================================================
   Batixo — styles du site (surcouche Bootstrap 5.3)
   Équivalences Sass pour Bootscore : assets/scss/_bootscore-variables.scss
   ========================================================================== */

/* ---------- Polices auto-hébergées ---------- */
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-800.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

/* ---------- Jetons de marque ---------- */
:root {
  --bx-navy: #14294A;          /* Bleu nuit — couleur principale */
  --bx-navy-hover: #1E3B66;
  --bx-navy-800: #0F213D;
  --bx-navy-900: #0B1830;      /* Fonds très sombres (pied de page) */
  --bx-steel: #5B7C9D;         /* Bleu acier — accent décoratif */
  --bx-steel-700: #46637F;     /* Bleu acier lisible pour le petit texte */
  --bx-mist: #AFC3D8;          /* Bleu brume — accent sur fond sombre */
  --bx-ice: #EBF1F7;           /* Fond des pastilles d'icônes */
  --bx-paper: #F5F7FA;         /* Fond des sections alternées */
  --bx-ink: #0F1C2E;           /* Texte courant */
  --bx-muted: #536175;         /* Texte secondaire (contraste AA) */
  --bx-line: #DCE3EB;          /* Filets et bordures */

  --bx-font-heading: "Montserrat", ui-sans-serif, system-ui, "Segoe UI", Roboto, Arial, sans-serif;
  --bx-font-body: "Inter", ui-sans-serif, system-ui, "Segoe UI", Roboto, Arial, sans-serif;

  --bx-radius-sm: .625rem;
  --bx-radius: 1rem;
  --bx-radius-lg: 1.5rem;
  --bx-shadow-sm: 0 1px 2px rgba(15, 28, 46, .05), 0 2px 10px rgba(15, 28, 46, .05);
  --bx-shadow: 0 2px 6px rgba(15, 28, 46, .04), 0 16px 40px rgba(15, 28, 46, .08);
  --bx-shadow-lg: 0 30px 70px rgba(11, 24, 48, .20);
  --bx-section-y: clamp(4.5rem, 8vw, 7.5rem);
  --bx-ease: cubic-bezier(.2, .7, .2, 1);

  /* Variables Bootstrap */
  --bs-body-font-family: var(--bx-font-body);
  --bs-body-font-size: 1.0625rem;
  --bs-body-line-height: 1.7;
  --bs-body-color: var(--bx-ink);
  --bs-body-color-rgb: 15, 28, 46;
  --bs-body-bg: #fff;
  --bs-primary: #14294A;
  --bs-primary-rgb: 20, 41, 74;
  --bs-secondary: #5B7C9D;
  --bs-secondary-rgb: 91, 124, 157;
  --bs-secondary-color: var(--bx-muted);
  --bs-heading-color: var(--bx-navy);
  --bs-link-color: var(--bx-navy);
  --bs-link-color-rgb: 20, 41, 74;
  --bs-link-hover-color: var(--bx-steel-700);
  --bs-link-hover-color-rgb: 70, 99, 127;
  --bs-border-color: var(--bx-line);
  --bs-border-radius: var(--bx-radius-sm);
  --bs-focus-ring-color: rgba(91, 124, 157, .45);
  color-scheme: light;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4, .h1, .h2, .h3, .h4 {
  font-family: var(--bx-font-heading);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.018em;
  color: var(--bs-heading-color);
  text-wrap: balance;
}
h2, .h2 { font-size: clamp(1.875rem, 1.25rem + 2.1vw, 2.75rem); }
h3, .h3 { font-size: 1.25rem; letter-spacing: -.01em; line-height: 1.3; }
p { text-wrap: pretty; }
.lead { font-size: clamp(1.125rem, 1.05rem + .35vw, 1.3125rem); line-height: 1.65; color: var(--bx-muted); font-weight: 400; }
.text-muted-bx { color: var(--bx-muted); }
.bi { width: 1em; height: 1em; display: inline-block; vertical-align: -.125em; flex-shrink: 0; }
:focus-visible { outline: 3px solid var(--bx-steel); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--bx-mist); color: var(--bx-navy); }

.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 2000; background: var(--bx-navy); color: #fff; padding: .75rem 1.25rem; border-radius: var(--bx-radius-sm); font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 1rem; color: #fff; }

/* Surtitre : filet + capitales espacées, comme la signature du logo */
.eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  margin-bottom: 1.25rem;
  font: 600 .78rem/1.2 var(--bx-font-body);
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--bx-steel-700);
}
.eyebrow::before { content: ""; width: 2rem; height: 2px; background: currentColor; flex-shrink: 0; }
.on-dark .eyebrow { color: var(--bx-mist); }

/* ---------- Boutons ---------- */
.btn {
  --bs-btn-font-family: var(--bx-font-body);
  --bs-btn-font-weight: 600;
  --bs-btn-font-size: 1rem;
  --bs-btn-padding-y: .875rem;
  --bs-btn-padding-x: 1.5rem;
  --bs-btn-border-radius: .75rem;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  transition: color .2s, background-color .2s, border-color .2s, box-shadow .2s, transform .2s var(--bx-ease);
}
.btn .bi { width: 1.1em; height: 1.1em; transition: transform .25s var(--bx-ease); }
.btn:hover .bi-arrow-right { transform: translateX(3px); }
.btn-sm { --bs-btn-padding-y: .55rem; --bs-btn-padding-x: 1rem; --bs-btn-font-size: .9375rem; --bs-btn-border-radius: .625rem; }
.btn-primary {
  --bs-btn-bg: var(--bx-navy); --bs-btn-border-color: var(--bx-navy);
  --bs-btn-hover-bg: var(--bx-navy-hover); --bs-btn-hover-border-color: var(--bx-navy-hover);
  --bs-btn-active-bg: var(--bx-navy-800); --bs-btn-active-border-color: var(--bx-navy-800);
  --bs-btn-focus-shadow-rgb: 91, 124, 157;
  box-shadow: 0 8px 20px -8px rgba(20, 41, 74, .55);
}
.btn-outline-primary {
  --bs-btn-color: var(--bx-navy); --bs-btn-border-color: #C3CFDC;
  --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--bx-navy); --bs-btn-hover-border-color: var(--bx-navy);
  --bs-btn-active-bg: var(--bx-navy-800); --bs-btn-active-border-color: var(--bx-navy-800);
  --bs-btn-focus-shadow-rgb: 91, 124, 157;
  background: #fff;
}
.btn-light {
  --bs-btn-bg: #fff; --bs-btn-border-color: #fff; --bs-btn-color: var(--bx-navy);
  --bs-btn-hover-bg: var(--bx-ice); --bs-btn-hover-border-color: var(--bx-ice); --bs-btn-hover-color: var(--bx-navy);
}
.btn-outline-light { --bs-btn-border-color: rgba(255, 255, 255, .45); --bs-btn-hover-color: var(--bx-navy); }
@media (hover: hover) { .btn-primary:hover, .btn-light:hover { transform: translateY(-1px); } }

.link-arrow { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; text-decoration: none; color: var(--bx-navy); }
.link-arrow .bi { transition: transform .25s var(--bx-ease); }
.link-arrow:hover { color: var(--bx-steel-700); }
.link-arrow:hover .bi { transform: translateX(3px); }

/* ---------- Barre supérieure ---------- */
.topbar { background: var(--bx-navy-900); color: var(--bx-mist); font-size: .875rem; }
.topbar .container { min-height: 2.5rem; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--bx-mist); }
.topbar .bi { color: var(--bx-mist); margin-right: .4rem; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1030;
  border-bottom: 1px solid var(--bx-line);
}
/* Le flou est porté par un pseudo-élément : appliqué à l'en-tête lui-même,
   backdrop-filter enfermerait le menu mobile (position: fixed) dans l'en-tête. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: saturate(1.5) blur(14px);
  backdrop-filter: saturate(1.5) blur(14px);
}
@supports (animation-timeline: scroll()) {
  .site-header { border-bottom-color: transparent; animation: header-elevate linear both; animation-timeline: scroll(); animation-range: 0 140px; }
  @keyframes header-elevate { to { border-bottom-color: var(--bx-line); box-shadow: 0 10px 30px -12px rgba(15, 28, 46, .18); } }
}
.site-header .navbar { --bs-navbar-padding-y: .9rem; --bs-navbar-nav-link-padding-x: .85rem; --bs-navbar-color: var(--bx-ink); --bs-navbar-hover-color: var(--bx-navy); --bs-navbar-active-color: var(--bx-navy); }
.navbar-brand { padding: 0; margin-right: 2rem; }
.navbar-brand img { display: block; height: 40px; width: auto; }
.site-header .nav-link { position: relative; font-weight: 500; font-size: .98rem; }
.site-header .nav-link::after {
  content: ""; position: absolute; left: var(--bs-navbar-nav-link-padding-x); right: var(--bs-navbar-nav-link-padding-x); bottom: .15rem;
  height: 2px; background: var(--bx-steel); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--bx-ease);
}
.site-header .nav-link:hover::after, .site-header .nav-link.active::after { transform: scaleX(1); }
.site-header .nav-link, .site-header .btn { white-space: nowrap; }
@media (min-width: 992px) and (max-width: 1199.98px) { /* petits écrans d'ordinateur : menu compacté */
  .site-header .navbar { --bs-navbar-nav-link-padding-x: .55rem; }
  .site-header .nav-link { font-size: .92rem; }
  .navbar-brand { margin-right: 1rem; }
  .navbar-brand img { height: 34px; }
}
.navbar-toggler { border: 0; padding: .5rem; color: var(--bx-navy); }
.navbar-toggler .bi { width: 1.75rem; height: 1.75rem; }
.navbar-toggler:focus { box-shadow: none; }
@media (max-width: 991.98px) {
  .offcanvas { --bs-offcanvas-width: min(88vw, 380px); }
  .offcanvas .nav-link { font-size: 1.125rem; padding-block: .85rem; border-bottom: 1px solid var(--bx-line); }
  .offcanvas .nav-link::after { display: none; }
}

/* ---------- Héros ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(3rem, 6vw, 5.5rem) clamp(4rem, 7vw, 6.5rem); background: linear-gradient(180deg, var(--bx-paper) 0%, #fff 78%); }
.hero::before { /* papier millimétré, estompé */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(91, 124, 157, .13) 1px, transparent 1px), linear-gradient(90deg, rgba(91, 124, 157, .13) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 18% 35%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse 60% 70% at 18% 35%, #000 0%, transparent 70%);
}
.hero > .container { position: relative; }
/* L'accroche n'est pas le h1 (le h1 porte le mot-clé local, dans le surtitre) : on lui donne le style de titre */
.hero-title { font-family: var(--bx-font-heading); font-weight: 700; color: var(--bx-navy); text-wrap: balance; font-size: clamp(2.25rem, 1.35rem + 3.3vw, 3.85rem); line-height: 1.07; letter-spacing: -.028em; margin-bottom: 1.5rem; }
.hero-title em { font-style: normal; color: var(--bx-steel); }
.hero .lead { max-width: 36rem; margin-bottom: 2.25rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .875rem; margin-bottom: 2.75rem; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .75rem 1.75rem; font-size: .95rem; font-weight: 500; color: var(--bx-ink); }
.hero-points li { display: inline-flex; align-items: center; gap: .5rem; }
.hero-points .bi { color: var(--bx-steel); width: 1.15rem; height: 1.15rem; }

.hero-media { position: relative; max-width: 560px; margin-inline: auto; }
.hero-frame { aspect-ratio: 4 / 5; border-radius: var(--bx-radius-lg); overflow: hidden; box-shadow: var(--bx-shadow-lg); background: var(--bx-ice); }
.hero-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-rule { /* règle graduée, reprise du logo */
  position: absolute; top: 2.5rem; bottom: 2.5rem; right: -1.75rem; width: 14px; color: var(--bx-steel); opacity: .55;
  background:
    repeating-linear-gradient(180deg, currentColor 0 1.5px, transparent 1.5px 12px) left / 7px 100% no-repeat,
    repeating-linear-gradient(180deg, currentColor 0 1.5px, transparent 1.5px 60px) left / 14px 100% no-repeat;
  border-left: 1.5px solid currentColor;
}
.report-card {
  position: absolute; left: -3rem; bottom: 2.75rem; width: min(310px, 82%);
  background: #fff; border-radius: var(--bx-radius); box-shadow: var(--bx-shadow-lg); padding: 1.25rem 1.35rem 1.1rem;
}
.report-card .rc-head { display: flex; align-items: center; gap: .75rem; margin-bottom: .9rem; }
.report-card .rc-icon { width: 2.5rem; height: 2.5rem; border-radius: .7rem; display: grid; place-items: center; background: var(--bx-navy); color: #fff; }
.report-card .rc-icon .bi { width: 1.2rem; height: 1.2rem; }
.report-card .rc-kicker { font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--bx-steel-700); }
.report-card .rc-title { font-family: var(--bx-font-heading); font-weight: 700; font-size: 1rem; color: var(--bx-navy); line-height: 1.25; }
.report-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; font-size: .9rem; }
.report-card li { display: flex; align-items: center; gap: .55rem; }
.report-card li .bi { width: 1.05rem; height: 1.05rem; color: #fff; background: var(--bx-steel); border-radius: 50%; padding: .18rem; }
.report-card .rc-foot { margin-top: .95rem; padding-top: .8rem; border-top: 1px dashed var(--bx-line); display: flex; justify-content: space-between; font-size: .8rem; color: var(--bx-muted); }
/* Ordinateur : le héros tient dans la hauteur de l'écran, y compris sur portable (720–900 px) */
@media (min-width: 992px) {
  .hero { padding-block: clamp(2rem, 5.5vh, 4.5rem) clamp(2.5rem, 6.5vh, 5rem); }
  .hero .eyebrow { margin-bottom: clamp(.75rem, 2vh, 1.25rem); }
  .hero-title { font-size: min(clamp(2.5rem, 1rem + 2.6vw, 3.6rem), 7.2vh); margin-bottom: clamp(1rem, 2.6vh, 1.5rem); }
  .hero .lead { max-width: 40rem; font-size: clamp(1.0625rem, 2.5vh, 1.25rem); margin-bottom: clamp(1.5rem, 4vh, 2.25rem); }
  .hero-actions { margin-bottom: clamp(1.5rem, 4vh, 2.5rem); }
  .hero-points { gap: .75rem 1.25rem; }
  .hero-frame { aspect-ratio: auto; height: clamp(26rem, calc(100svh - 13rem), 40rem); }
  .report-card { left: -2rem; bottom: clamp(1.5rem, 4vh, 2.75rem); }
}
@media (max-width: 991.98px) {
  .hero-media { margin-top: 3rem; }
  .report-card { left: 1rem; bottom: 1rem; }
  .hero-rule { display: none; }
}

/* ---------- Bandeau « pour qui » ---------- */
.audiences { border-block: 1px solid var(--bx-line); background: #fff; }
.audiences .label { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--bx-steel-700); }
.audience { display: flex; align-items: center; gap: .75rem; font-weight: 600; color: var(--bx-navy); font-size: .98rem; }
.audience .bi { width: 1.4rem; height: 1.4rem; color: var(--bx-steel); }

/* ---------- Sections ---------- */
.section { padding-block: var(--bx-section-y); }
.section-paper { background: var(--bx-paper); }
.section-dark { background: var(--bx-navy); color: rgba(255, 255, 255, .78); --bs-heading-color: #fff; }
.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.section-head p { color: var(--bx-muted); margin-bottom: 0; }
.section-dark .section-head p { color: rgba(255, 255, 255, .72); }

/* Cartes d'expertise */
.service-card {
  position: relative; height: 100%;
  display: flex; flex-direction: column; gap: 1rem;
  padding: 2rem 1.85rem 1.75rem;
  background: #fff; border: 1px solid var(--bx-line); border-radius: var(--bx-radius);
  transition: border-color .3s, box-shadow .3s, transform .3s var(--bx-ease);
}
.service-icon { width: 3.25rem; height: 3.25rem; border-radius: .875rem; display: grid; place-items: center; background: var(--bx-ice); color: var(--bx-navy); transition: background-color .3s, color .3s; }
.service-icon .bi { width: 1.5rem; height: 1.5rem; }
.service-card h3 { margin: .25rem 0 0; }
.service-card p { margin: 0; flex-grow: 1; color: var(--bx-muted); font-size: 1rem; line-height: 1.65; }
.service-card .link-arrow { font-size: .95rem; }
.service-card .link-arrow::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
@media (hover: hover) {
  .service-card:hover { border-color: #C3D2E1; box-shadow: var(--bx-shadow); transform: translateY(-4px); }
  .service-card:hover .service-icon { background: var(--bx-navy); color: #fff; }
}

/* Le cabinet */
.cabinet-media { position: relative; }
.cabinet-media .frame { aspect-ratio: 5 / 4; border-radius: var(--bx-radius-lg); overflow: hidden; background: var(--bx-ice); }
.cabinet-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cabinet-badge {
  position: absolute; right: -1.25rem; bottom: -1.75rem; max-width: 15rem;
  background: var(--bx-navy); color: #fff; border-radius: var(--bx-radius); padding: 1.35rem 1.5rem; box-shadow: var(--bx-shadow-lg);
}
.cabinet-badge strong { display: block; font-family: var(--bx-font-heading); font-size: 2.25rem; line-height: 1; letter-spacing: -.02em; margin-bottom: .4rem; }
.cabinet-badge span { color: var(--bx-mist); font-size: .9rem; line-height: 1.45; display: block; }
@media (max-width: 575.98px) { .cabinet-badge { right: .75rem; bottom: -1.5rem; } }
.feature { display: flex; gap: 1rem; }
.feature .bi { width: 1.5rem; height: 1.5rem; color: var(--bx-steel); margin-top: .2rem; }
.feature h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.feature p { margin: 0; font-size: .97rem; color: var(--bx-muted); line-height: 1.6; }
.stats { border-top: 1px solid var(--bx-line); padding-top: 1.75rem; margin-top: 2.5rem; }
.stat strong { display: block; font-family: var(--bx-font-heading); font-weight: 700; font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem); color: var(--bx-navy); letter-spacing: -.02em; line-height: 1.1; }
.stat span { font-size: .9rem; color: var(--bx-muted); }

/* Méthode : frise graduée */
.steps { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 2.5rem; counter-reset: step; }
.step { position: relative; padding-left: 4rem; }
.steps::before { /* règle graduée verticale (mobile) */
  content: ""; position: absolute; left: 1.15rem; top: .5rem; bottom: .5rem; width: 12px; color: rgba(175, 195, 216, .55);
  background: repeating-linear-gradient(180deg, currentColor 0 1.5px, transparent 1.5px 10px) left / 6px 100% no-repeat;
  border-left: 1.5px solid currentColor;
}
.step-node {
  position: absolute; left: 0; top: 0; width: 2.5rem; height: 2.5rem; border-radius: 50%;
  display: grid; place-items: center; background: var(--bx-navy); border: 1.5px solid var(--bx-mist); color: #fff;
  font: 700 .85rem/1 var(--bx-font-heading); font-variant-numeric: tabular-nums;
}
.step h3 { color: #fff; font-size: 1.15rem; margin-bottom: .5rem; }
.step p { margin: 0; color: rgba(255, 255, 255, .72); font-size: .98rem; line-height: 1.65; }
@media (min-width: 992px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.5rem; padding-top: 4.25rem; }
  .steps::before { /* règle graduée horizontale */
    left: 0; right: 0; top: 1.2rem; bottom: auto; width: auto; height: 14px; border-left: 0; border-bottom: 1.5px solid currentColor;
    background:
      repeating-linear-gradient(90deg, currentColor 0 1.5px, transparent 1.5px 12px) bottom / 100% 7px no-repeat,
      repeating-linear-gradient(90deg, currentColor 0 1.5px, transparent 1.5px 60px) bottom / 100% 14px no-repeat;
  }
  .step { padding-left: 0; }
  .step-node { top: -4.25rem; }
}

/* Exemples de missions */
.mission-card { height: 100%; display: flex; flex-direction: column; background: #fff; border-radius: var(--bx-radius); overflow: hidden; border: 1px solid var(--bx-line); transition: box-shadow .3s, transform .3s var(--bx-ease); position: relative; }
.mission-card .media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bx-ice); }
.mission-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--bx-ease); }
.mission-card .body { padding: 1.5rem 1.6rem 1.6rem; display: flex; flex-direction: column; gap: .6rem; flex-grow: 1; }
.mission-card .tag { align-self: flex-start; font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--bx-steel-700); background: var(--bx-ice); padding: .35rem .7rem; border-radius: 999px; }
.mission-card h3 { margin: 0; font-size: 1.15rem; }
.mission-card h3 a { color: inherit; text-decoration: none; }
.mission-card h3 a::after { content: ""; position: absolute; inset: 0; }
.mission-card p { margin: 0; color: var(--bx-muted); font-size: .97rem; line-height: 1.6; }
.mission-card .meta { margin-top: auto; padding-top: .9rem; border-top: 1px solid var(--bx-line); font-size: .85rem; color: var(--bx-muted); display: flex; align-items: center; gap: .5rem; }
.mission-card .meta .bi { color: var(--bx-steel); }
@media (hover: hover) {
  .mission-card:hover { box-shadow: var(--bx-shadow); transform: translateY(-4px); }
  .mission-card:hover img { transform: scale(1.04); }
}

/* Avis */
.review { height: 100%; display: flex; flex-direction: column; gap: 1.25rem; background: #fff; border: 1px solid var(--bx-line); border-radius: var(--bx-radius); padding: 2rem 1.85rem 1.75rem; margin: 0; }
.review .bi-quote { width: 2.25rem; height: 2.25rem; color: var(--bx-mist); }
.review blockquote { margin: 0; flex-grow: 1; font-size: 1.04rem; line-height: 1.7; color: var(--bx-ink); }
.review figcaption { display: flex; align-items: center; gap: .85rem; padding-top: 1.1rem; border-top: 1px solid var(--bx-line); }
.review .avatar { width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--bx-ice); color: var(--bx-navy); display: grid; place-items: center; }
.review .avatar .bi { width: 1.25rem; height: 1.25rem; }
.review figcaption strong { display: block; color: var(--bx-navy); font-size: .97rem; }
.review figcaption span { font-size: .87rem; color: var(--bx-muted); }

/* Bandeau d'appel à l'action */
.cta-band { position: relative; isolation: isolate; overflow: hidden; color: rgba(255, 255, 255, .8); --bs-heading-color: #fff; padding-block: clamp(5rem, 9vw, 8rem); }
.cta-band picture, .cta-band .cta-bg { position: absolute; inset: 0; z-index: -2; }
.cta-band .cta-bg { width: 100%; height: 100%; object-fit: cover; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(11, 24, 48, .96) 0%, rgba(11, 24, 48, .88) 45%, rgba(20, 41, 74, .55) 100%); }
.cta-band h2 { max-width: 40rem; }
.cta-band p { max-width: 36rem; font-size: 1.125rem; }

/* Contact */
.contact-list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.25rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list .ic { width: 3rem; height: 3rem; border-radius: .875rem; background: var(--bx-ice); color: var(--bx-navy); display: grid; place-items: center; flex-shrink: 0; }
.contact-list .ic .bi { width: 1.3rem; height: 1.3rem; }
.contact-list .k { display: block; font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--bx-steel-700); }
.contact-list .v { font-weight: 600; color: var(--bx-navy); text-decoration: none; font-size: 1.05rem; }
.contact-list a.v:hover { color: var(--bx-steel-700); }
.form-card { background: #fff; border: 1px solid var(--bx-line); border-radius: var(--bx-radius-lg); padding: clamp(1.5rem, 3vw, 2.5rem); box-shadow: var(--bx-shadow); }
.form-card .form-label { font-weight: 600; font-size: .92rem; color: var(--bx-navy); margin-bottom: .4rem; }
.form-card .form-control, .form-card .form-select { padding: .8rem 1rem; border-radius: .7rem; border-color: #CBD5E1; font-size: 1rem; }
.form-card .form-control:focus, .form-card .form-select:focus { border-color: var(--bx-steel); box-shadow: 0 0 0 .25rem rgba(91, 124, 157, .2); }
.form-card .form-check-input:checked { background-color: var(--bx-navy); border-color: var(--bx-navy); }
.form-card .form-text { color: var(--bx-muted); font-size: .85rem; }
.req { color: var(--bx-steel-700); }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--bx-navy-900); color: rgba(255, 255, 255, .68); font-size: .95rem; padding-top: clamp(3.5rem, 6vw, 5rem); }
.site-footer .footer-brand img { height: 38px; width: auto; }
.site-footer h2 { font: 600 .8rem/1.2 var(--bx-font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--bx-mist); margin-bottom: 1.1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.site-footer a:not(.btn) { color: rgba(255, 255, 255, .85); text-decoration: none; }
.site-footer a:not(.btn):hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.site-footer .bi { color: var(--bx-mist); margin-right: .5rem; }
.footer-rule { height: 14px; margin-top: 3rem; color: rgba(175, 195, 216, .3); border-bottom: 1.5px solid currentColor;
  background:
    repeating-linear-gradient(90deg, currentColor 0 1.5px, transparent 1.5px 12px) bottom / 100% 7px no-repeat,
    repeating-linear-gradient(90deg, currentColor 0 1.5px, transparent 1.5px 60px) bottom / 100% 14px no-repeat; }
.footer-bottom { padding-block: 1.5rem; font-size: .85rem; color: rgba(255, 255, 255, .55); }
.footer-bottom a { color: rgba(255, 255, 255, .7); }

/* ---------- Ajustements petits écrans ---------- */
@media (max-width: 575.98px) {
  .container { --bs-gutter-x: 2.5rem; }              /* marges latérales de 20 px */
  .navbar-brand img { height: 34px; }
  .hero-actions .btn, .cta-band .btn { width: 100%; }
  .stat span { font-size: .82rem; line-height: 1.4; display: block; }
}

/* ---------- Apparition au défilement (progressive, sobre) ---------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal { animation: bx-reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
    @keyframes bx-reveal { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
