/* ==========================================================================
   DS-Consulting — production stylesheet
   Identité visuelle basée sur les couleurs officielles :
   - Bleu principal : #0172bd
   - Rouge accent   : #9a0000
   - Noir neutre    : #000000
   ========================================================================== */

:root {
  /* Branding officiel */
  --brand-blue: #0172bd;
  --brand-blue-dark: #005289;
  --brand-blue-light: #338ecb;
  --brand-red: #9a0000;
  --brand-red-dark: #770000;
  --brand-black: #000000;

  /* Variables fonctionnelles du thème */
  --navy: #0172bd;
  --navy-deep: #000000;
  --navy-surface: #021a30;
  --ochre: #9a0000;
  --ochre-dark: #770000;
  --gold: #ff4d4d;
  --blue: #0172bd;
  --maroon: #9a0000;
  --green: #0172bd;
  --purple: #9a0000;
  --cream: #F8F9FA;
  --cream-alt: #EDF2F7;
  --ink: #000000;
  --muted: #4A5568;
  --line: rgba(1, 114, 189, .14);
  --line-soft: rgba(0, 0, 0, .08);
  --radius-sm: 8px;
  --radius-md: 13px;
  --radius-lg: 16px;
  --header-h: 76px;
  --wrap-max: 1200px;
  --wrap-pad: 28px;
  --font-serif: 'Source Serif 4', Georgia, serif;
  --font-sans: 'Public Sans', system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  margin: 0;
  color: var(--brand-black);
}

p {
  margin: 0;
}

a {
  color: var(--brand-blue);
  text-decoration: none;
  transition: color .15s ease;
}

a:hover {
  color: var(--brand-red);
}

img {
  max-width: 100%;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
}

::selection {
  background: var(--brand-red);
  color: #fff;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--brand-blue);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 8px 0;
}

.skip-link:focus {
  left: 0;
}

.wrap {
  max-width: var(--wrap-max);
  margin: 0 auto;
  padding: 0 var(--wrap-pad);
}

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .11em;
  color: var(--brand-red);
  text-transform: uppercase;
  margin: 0 0 14px;
}

.eyebrow--light {
  color: #ff5252;
}

.h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.12;
  letter-spacing: -.01em;
  color: var(--brand-black);
}

.h2--light {
  color: #fff;
}

.h2--sm {
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.15;
}

.h3 {
  font-size: 22px;
  margin-bottom: 20px;
  color: var(--brand-black);
}

.lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
  margin-top: 16px;
}

.lead--light {
  color: rgba(255, 255, 255, .85);
}

.accent-text {
  color: var(--brand-blue-light);
  font-weight: 700;
}

.section {
  padding: 88px 0;
  scroll-margin-top: var(--header-h);
}

.section--alt {
  background: var(--cream-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section--dark {
  background: linear-gradient(135deg, #011b33 0%, #000000 100%);
  color: #ffffff;
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: #ffffff;
}

.section-intro {
  max-width: 720px;
  margin-bottom: 40px;
}

.section-intro--center {
  max-width: 100%;
  text-align: center;
  margin-bottom: 38px;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 26px;
  font-size: 15.5px;
  font-weight: 600;
  border-radius: 9px;
  border: none;
  transition: transform .15s, background .15s, color .15s, box-shadow .15s;
  white-space: nowrap;
}

.btn--primary {
  background: var(--brand-blue);
  color: #fff;
  box-shadow: 0 6px 20px rgba(1, 114, 189, .35);
}

.btn--primary:hover {
  background: var(--brand-blue-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(1, 114, 189, .45);
}

.btn--red,
.btn--accent {
  background: var(--brand-red);
  color: #fff;
  box-shadow: 0 6px 20px rgba(154, 0, 0, .35);
}

.btn--red:hover,
.btn--accent:hover {
  background: var(--brand-red-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(154, 0, 0, .45);
}

.btn--ghost {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .3);
  color: #fff;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, .2);
  color: #fff;
  border-color: rgba(255, 255, 255, .5);
}

.btn--outline {
  background: #fff;
  border: 1px solid rgba(1, 114, 189, .3);
  color: var(--brand-blue);
  padding: 11px 20px;
  font-size: 14px;
}

.btn--outline:hover {
  color: var(--brand-blue-dark);
  border-color: var(--brand-blue);
  background: rgba(1, 114, 189, .05);
}

.btn--block {
  width: 100%;
  justify-content: center;
  padding: 15px;
  font-size: 15.5px;
  font-weight: 700;
  border-radius: 10px;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(1, 114, 189, .08);
  transition: background .25s, box-shadow .25s, border-color .25s;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, .96);
  border-bottom-color: rgba(1, 114, 189, .15);
  box-shadow: 0 4px 20px rgba(0, 0, 0, .08);
}

.site-header__inner {
  max-width: var(--wrap-max);
  margin: 0 auto;
  padding: 0 var(--wrap-pad);
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand__logo {
  height: 52px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  padding: 9px 14px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--brand-black);
  border-radius: 7px;
  transition: background .15s, color .15s;
}

.main-nav a:hover {
  background: rgba(1, 114, 189, .08);
  color: var(--brand-blue);
}

.header-cta {
  flex-shrink: 0;
}

.menu-toggle {
  display: none;
  border: none;
  background: transparent;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--brand-black);
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  border-top: 1px solid rgba(1, 114, 189, .15);
  background: #fff;
  padding: 12px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav a {
  padding: 13px 10px;
  font-size: 16px;
  font-weight: 600;
  border-bottom: 1px solid rgba(1, 114, 189, .08);
}

.mobile-nav a:not(.btn) {
  color: var(--brand-black);
}

.mobile-nav a:not(.btn):hover {
  color: var(--brand-blue);
}

.mobile-nav__cta {
  margin-top: 12px;
  text-align: center;
  border-bottom: none;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  background: var(--brand-black);
  color: #ffffff;
  overflow: hidden;
}

.hero__viewport {
  position: relative;
  height: min(80vh, 660px);
  min-height: 500px;
  overflow: hidden;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 1;
  transition: opacity 1s ease;
}

.hero__slide.is-active {
  opacity: 1;
  z-index: 2;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero__bg--3,
.hero__bg--4 {
  background-position: center 12%;
}

.hero__bg--1 {
  background-image: radial-gradient(1100px 700px at 88% 8%, rgba(1, 114, 189, .25), transparent 60%), linear-gradient(135deg, rgba(1, 40, 75, .25), rgba(0, 0, 0, .35)), url('/assets/hero-1.jpg');
}

.hero__bg--2 {
  background-image: radial-gradient(1100px 700px at 85% 95%, rgba(154, 0, 0, .25), transparent 60%), linear-gradient(135deg, rgba(45, 0, 0, .25), rgba(0, 0, 0, .35)), url('/assets/hero-2.jpg');
}

.hero__bg--3 {
  background-image: radial-gradient(1100px 700px at 85% 5%, rgba(1, 114, 189, .25), transparent 60%), linear-gradient(135deg, rgba(1, 40, 75, .25), rgba(0, 0, 0, .35)), url('/assets/hero-3.jpg');
}

.hero__bg--4 {
  background-image: radial-gradient(1100px 700px at 85% 95%, rgba(154, 0, 0, .25), transparent 60%), linear-gradient(135deg, rgba(45, 0, 0, .25), rgba(0, 0, 0, .35)), url('/assets/hero-4.jpg');
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .65) 0%, rgba(0, 0, 0, .35) 50%, rgba(0, 0, 0, .05) 100%);
  pointer-events: none;
}

.hero__content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  pointer-events: none;
}

.hero__inner {
  max-width: var(--wrap-max);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--wrap-pad);
}

.hero__slide .hero__inner>* {
  pointer-events: auto;
}

.hero__title {
  font-size: clamp(34px, 4.4vw, 60px);
  line-height: 1.05;
  letter-spacing: -.015em;
  color: #fff;
  margin: 20px 0;
  max-width: 640px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .7);
}

.hero__lead {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .95);
  margin: 0 0 32px;
  max-width: 640px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .7);
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__controls {
  position: absolute;
  z-index: 10;
  left: 0;
  right: 0;
  bottom: 26px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.hero__arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(0, 0, 0, .3);
  color: rgba(255, 255, 255, .85);
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s ease;
}

.hero__arrow:hover {
  color: #fff;
  background: var(--brand-blue);
  border-color: var(--brand-blue);
}

.hero__dots {
  display: flex;
  gap: 10px;
  align-items: center;
}

.hero__dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 100px;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, .4);
  transition: all .3s ease;
  cursor: pointer;
}

.hero__dots .dot.is-active {
  width: 32px;
  background: var(--brand-blue);
}

/* ==========================================================================
   Stats
   ========================================================================== */
.stats {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.stats__grid {
  max-width: var(--wrap-max);
  margin: 0 auto;
  padding: 46px var(--wrap-pad);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat {
  text-align: center;
}

.stat__value {
  font-family: var(--font-serif);
  font-size: clamp(38px, 4.4vw, 52px);
  font-weight: 700;
  color: var(--brand-blue);
  line-height: 1;
}

.stat__label {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  margin-top: 8px;
  letter-spacing: .01em;
}

/* ==========================================================================
   Timeline / Values / Strategies
   ========================================================================== */
.timeline {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 44px 0 60px;
  padding: 0;
  list-style: none;
  border-top: 2px solid rgba(1, 114, 189, .2);
}

.timeline__item {
  flex: 1;
  min-width: 230px;
  padding: 24px 26px 24px 0;
  position: relative;
  display: flex;
  flex-direction: column;
}

.timeline__dot {
  position: absolute;
  top: -8px;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--brand-red);
  box-shadow: 0 0 0 4px var(--cream);
}

.timeline__year {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--brand-blue);
}

.timeline__title {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--brand-black);
  margin: 6px 0 4px;
}

.timeline__body {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

.value-card,
.strategy-card,
.formation-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.value-card:hover,
.strategy-card:hover,
.formation-card:hover {
  transform: translateY(-4px);
  border-color: rgba(1, 114, 189, .35);
  box-shadow: 0 14px 30px rgba(1, 114, 189, .12);
}

.value-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
}

.value-card__icon--ochre {
  background: rgba(154, 0, 0, .12);
  color: var(--brand-red);
}

.value-card__icon--blue {
  background: rgba(1, 114, 189, .12);
  color: var(--brand-blue);
}

.value-card__icon--green {
  background: rgba(1, 114, 189, .12);
  color: var(--brand-blue);
}

.value-card__icon--maroon {
  background: rgba(154, 0, 0, .12);
  color: var(--brand-red);
}

.value-card h4 {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--brand-black);
  margin-bottom: 6px;
}

.value-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

.strategy-card {
  border-radius: 14px;
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.strategy-card__num {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-red);
  margin-bottom: 18px;
}

.strategy-card h3 {
  font-size: 19px;
  line-height: 1.25;
  color: var(--brand-blue);
  margin-bottom: 10px;
}

.strategy-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
}

/* ==========================================================================
   Expertises accordion
   ========================================================================== */
.expertises-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 40px;
}

.expertises-head>div {
  max-width: 640px;
}

.expertises-head__hint {
  font-size: 14px;
  color: rgba(255, 255, 255, .7);
  margin: 0;
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.accordion__item {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .2s, background .2s;
}

.accordion__item.is-open {
  background: rgba(1, 114, 189, .2);
  border-color: var(--brand-blue-light);
}

.accordion__trigger {
  width: 100%;
  border: none;
  background: transparent;
  text-align: left;
  padding: 24px 26px;
  display: flex;
  align-items: center;
  gap: 22px;
  color: inherit;
}

.accordion__num {
  flex-shrink: 0;
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  color: #ff5252;
  width: 34px;
}

.accordion__label {
  flex: 1;
}

.accordion__title {
  display: block;
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}

.accordion__tagline {
  display: block;
  font-size: 14.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .75);
}

.accordion__icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--brand-blue-light);
  transition: transform .25s, color .25s, border-color .25s;
}

.accordion__item.is-open .accordion__icon {
  transform: rotate(135deg);
  color: #fff;
  border-color: #fff;
}

.accordion__panel {
  padding: 0 26px 26px 82px;
}

.accordion__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 26px;
  font-size: 14.5px;
  line-height: 1.45;
  color: rgba(255, 255, 255, .9);
}

.cta-banner {
  margin-top: 40px;
  background: linear-gradient(100deg, rgba(154, 0, 0, .3), rgba(1, 114, 189, .35));
  border: 1px solid rgba(1, 114, 189, .45);
  border-radius: 16px;
  padding: 34px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-banner__title {
  font-family: var(--font-serif);
  font-size: 23px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 6px;
}

.cta-banner__body {
  font-size: 15px;
  color: rgba(255, 255, 255, .85);
}

/* ==========================================================================
   Formations
   ========================================================================== */
.formation-card {
  display: flex;
  flex-direction: column;
  padding: 26px;
  border-radius: 14px;
}

.formation-card__num {
  font-family: ui-monospace, monospace;
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-red);
  margin-bottom: 14px;
}

.formation-card h3 {
  font-size: 19px;
  line-height: 1.25;
  color: var(--brand-blue);
  margin-bottom: 10px;
}

.formation-card p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
  margin-bottom: 20px;
  flex: 1;
}

.formation-card a {
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-blue);
}

.formation-card a:hover {
  color: var(--brand-red);
}

/* Scroll infini des formations */
.formations-scroll {
  margin-bottom: 32px;
  overflow: hidden;
  border-radius: 8px;
  position: relative;
  width: 100%;
}

.formations-scroll__track {
  display: flex;
  gap: 18px;
  animation-duration: 60s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  will-change: transform;
  --scroll-distance: 0px;
  width: fit-content;
}

.formations-scroll__track--ltr {
  animation-name: scroll-ltr;
  animation-direction: normal;
}

.formations-scroll__track--rtl {
  animation-name: scroll-rtl;
  animation-direction: normal;
}

@keyframes scroll-ltr {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(var(--scroll-distance));
  }
}

@keyframes scroll-rtl {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(var(--scroll-distance) * -1));
  }
}

.formations-scroll .formation-card {
  flex: 0 0 280px;
  min-width: 0;
  transition: transform 0.3s ease;
}

.formations-scroll .formation-card:hover {
  transform: scale(1.02);
}

.formations-scroll .formation-card:hover {
  transform: skewY(-3deg) scale(1.02);
}

/* ==========================================================================
   Réalisations
   ========================================================================== */
.realisations {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 32px;
  align-items: start;
}

.realisations__map,
.realisations__list {
  min-width: 0;
}

.realisations__map {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  position: sticky;
  top: calc(var(--header-h) + 20px);
}

.realisations__map-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-black);
  margin-bottom: 14px;
}

.realisations__map-gfx {
  position: relative;
  aspect-ratio: 1 / 1.05;
  border-radius: 12px;
  background: #F1F3F5;
  border: 1px solid rgba(1, 114, 189, .18);
  margin-bottom: 16px;
  overflow: hidden;
}

.realisations__map-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.map-dot {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: var(--dot-color, var(--brand-blue));
  box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
  transition: transform .15s, width .15s, height .15s;
  padding: 0;
  cursor: pointer;
}

.map-dot:hover,
.map-dot.is-active {
  transform: translate(-50%, -50%) scale(1.35);
  background: var(--brand-red);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.chip-row--theme {
  margin-bottom: 22px;
  gap: 8px;
}

.chip {
  padding: 6px 12px;
  font-size: 12.5px;
  font-weight: 600;
  border-radius: 100px;
  border: 1px solid rgba(1, 114, 189, .2);
  background: #fff;
  color: var(--brand-black);
  transition: all .15s ease;
  cursor: pointer;
}

.chip.is-active {
  background: var(--brand-blue);
  color: #fff;
  border-color: var(--brand-blue);
}

.chip--ochre {
  padding: 8px 15px;
  border-radius: 8px;
  font-size: 13px;
}

.chip--ochre.is-active {
  background: var(--brand-red);
  border-color: var(--brand-red);
  color: #fff;
}

.realisations__count {
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 16px;
}

.realisations__empty {
  font-size: 14px;
  color: var(--muted);
  padding: 30px 0;
  text-align: center;
}

.mission-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.mission-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(1, 114, 189, .14);
  border-color: rgba(1, 114, 189, .35);
}

.mission-card__bar {
  height: 8px;
  background: var(--accent, var(--brand-blue));
}

.mission-card__body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.mission-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 12.5px;
  color: var(--muted);
}

.mission-card__meta .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent, var(--brand-blue));
  flex-shrink: 0;
}

.mission-card__meta .sep {
  color: rgba(0, 0, 0, .25);
}

.mission-card h3 {
  font-size: 18px;
  line-height: 1.25;
  color: var(--brand-black);
  margin-bottom: 8px;
}

.mission-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  margin-bottom: 16px;
  flex: 1;
}

.mission-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mission-card .tag {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--brand-blue);
  background: rgba(1, 114, 189, .12);
  padding: 4px 10px;
  border-radius: 100px;
}

.mission-card__foot a {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--brand-blue);
}

.mission-card__foot a:hover {
  color: var(--brand-red);
}

/* ==========================================================================
   Confiance
   ========================================================================== */
.partners {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 18px;
  margin-bottom: 56px;
}

.partners__logo {
  width: 210px;
  height: 104px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .2s ease, transform .2s ease;
}

.partners__logo:hover {
  border-color: var(--brand-blue);
  transform: translateY(-2px);
}

.partners__logo img {
  max-width: 100%;
  max-height: 56px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.testimonial {
  margin: 0;
  background: linear-gradient(135deg, #01213c 0%, #000000 100%);
  color: #ffffff;
  border-radius: 16px;
  padding: 32px;
  border: 1px solid rgba(1, 114, 189, .3);
}

.testimonial blockquote {
  margin: 20px 0 20px;
  font-family: var(--font-serif);
  font-size: 19px;
  line-height: 1.5;
  font-style: italic;
  color: #fff;
}

.testimonial::before {
  content: "\201C";
  display: block;
  font-family: var(--font-serif);
  font-size: 44px;
  line-height: 0;
  color: var(--brand-red);
  height: 22px;
}

.testimonial figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: repeating-linear-gradient(120deg, rgba(255, 255, 255, .08) 0 2px, transparent 2px 10px), rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .2);
  flex-shrink: 0;
}

.testimonial__author {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.testimonial__org {
  display: block;
  font-size: 12.5px;
  color: rgba(255, 255, 255, .7);
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 52px;
  padding-top: 88px;
  padding-bottom: 88px;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 28px 0;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #ffffff;
}

.contact-link:hover {
  color: var(--brand-blue-light);
}

.contact-link__icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: rgba(255, 255, 255, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  color: #fff;
}

.contact-link__icon--whatsapp {
  background: #25D366;
  color: #000;
  font-weight: 800;
}

.contact-link__label {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, .65);
}

.contact-link__value {
  font-size: 16px;
  font-weight: 600;
}

.map-embed {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .18);
  height: 190px;
  background: rgba(255, 255, 255, .03);
}

.map-embed iframe {
  display: block;
  filter: grayscale(.15) contrast(1.05);
}

.contact-form-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 34px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .25);
  color: var(--brand-black);
  border: 1px solid rgba(1, 114, 189, .15);
}

.contact-form-card h3 {
  font-size: 21px;
  color: var(--brand-blue);
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.contact-form-card label {
  display: block;
  margin-bottom: 14px;
}

.contact-form-card label span {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--brand-black);
  margin-bottom: 6px;
}

.contact-form-card input,
.contact-form-card select,
.contact-form-card textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(0, 0, 0, .2);
  border-radius: 9px;
  font-size: 14.5px;
  font-family: inherit;
  background: #fff;
  outline: none;
  color: var(--brand-black);
  transition: border-color .15s ease, box-shadow .15s ease;
}

.contact-form-card input:focus,
.contact-form-card select:focus,
.contact-form-card textarea:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(1, 114, 189, .18);
}

.contact-form-card input.is-invalid,
.contact-form-card textarea.is-invalid {
  border-color: var(--brand-red);
}

.contact-form-card textarea {
  resize: vertical;
}

.form-note {
  font-size: 11.5px;
  color: #8a8378;
  text-align: center;
  margin: 14px 0 0;
}

.contact-form-card__success {
  text-align: center;
  padding: 40px 10px;
}

.success-check {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 20px;
}

.contact-form-card__success h3 {
  margin-bottom: 10px;
}

.contact-form-card__success p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 24px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--brand-black);
  color: rgba(255, 255, 255, .75);
}

.footer-grid {
  padding: 56px var(--wrap-pad) 30px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
}

.footer-brand__logo {
  height: 64px;
  width: auto;
  background: #ffffff;
  border-radius: 10px;
  padding: 8px;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.6;
  max-width: 300px;
}

.footer-heading {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--brand-blue-light);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}

.footer-links a {
  color: rgba(255, 255, 255, .75);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.footer-bottom__inner {
  padding: 20px var(--wrap-pad);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
}

.footer-bottom__links {
  display: flex;
  gap: 18px;
}

.footer-bottom__links a {
  color: rgba(255, 255, 255, .65);
}

.footer-bottom__links a:hover {
  color: #ffffff;
}

/* ==========================================================================
   WhatsApp float
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .5);
  transition: transform .18s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  color: #fff;
}

/* ==========================================================================
   Responsive breakpoints
   ========================================================================== */

@media (min-width: 821px) {
  .mobile-nav {
    display: none !important;
  }
}

@media (max-width: 820px) {

  .main-nav,
  .header-cta {
    display: none !important;
  }

  .menu-toggle {
    display: flex;
  }
}

@media (max-width: 1024px) {
  :root {
    --wrap-pad: 24px;
  }

  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .realisations {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .realisations__map {
    position: static;
  }

  .realisations__map-body {
    display: flex;
    gap: 26px;
    align-items: center;
  }

  .realisations__map-gfx {
    flex: 0 0 42%;
    max-width: 42%;
    margin-bottom: 0 !important;
  }

  .chip-row:not(.chip-row--theme) {
    flex: 1;
    align-content: flex-start;
  }

  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 28px;
  }
}

@media (max-width: 820px) {
  .hero__viewport {
    height: min(74vh, 560px);
    min-height: 440px;
  }

  .grid--2 {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .realisations {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .realisations__map {
    position: static;
  }

  #realisations-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .section {
    padding: 64px 0;
  }

  .hero__inner .hero__title {
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  :root {
    --wrap-pad: 18px;
  }

  .hero__viewport {
    height: min(78vh, 520px);
    min-height: 400px;
  }

  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 16px;
  }

  .grid--4,
  .grid--3 {
    grid-template-columns: 1fr;
  }

  #realisations-grid {
    grid-template-columns: 1fr;
  }

  .grid--2 {
    grid-template-columns: 1fr;
  }

  .realisations__map-body {
    display: block;
  }

  .realisations__map-gfx {
    max-width: 100% !important;
    flex: none !important;
    margin-bottom: 16px !important;
  }

  .partners {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .partners__logo {
    width: auto;
    height: 92px;
    padding: 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .section {
    padding: 52px 0;
  }

  .accordion__grid {
    grid-template-columns: 1fr;
  }

  .accordion__panel {
    padding-left: 26px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero__ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__ctas .btn {
    justify-content: center;
    text-align: center;
  }

  .timeline {
    flex-direction: column;
    border-top: none;
  }

  .timeline__item {
    min-width: 0;
    padding: 0 4px 28px 26px;
    border-left: 2px solid rgba(1, 114, 189, .2);
  }

  .timeline__item:last-child {
    border-left-color: transparent;
    padding-bottom: 0;
  }

  .timeline__dot {
    top: 2px;
    left: -8px;
  }

  .chip-row-wrap {
    position: relative;
  }

  .chip-row {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(2, auto);
    grid-auto-columns: max-content;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .chip-row::-webkit-scrollbar {
    display: none;
  }

  .chip-row__hint {
    display: none;
    position: absolute;
    top: 50%;
    right: 2px;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 1px 5px rgba(0, 0, 0, .18);
    color: var(--brand-blue);
    font-size: 15px;
    line-height: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity .25s ease;
  }

  .chip-row-wrap.is-scrollable .chip-row__hint {
    display: flex;
    opacity: 1;
    animation: chip-hint-nudge 1.6s ease-in-out infinite;
  }

  @keyframes chip-hint-nudge {
    0%, 100% { transform: translateY(-50%) translateX(0); }
    50% { transform: translateY(-50%) translateX(3px); }
  }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}