/* ============ RESET & TOKENS ============ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
ul { list-style: none; }

:root {
  --bg: #ffffff;
  --bg-muted: #f5f7fb;
  --bg-dark: #0b1220;
  --ink: #0f172a;
  --ink-soft: #475569;
  --ink-mute: #64748b;
  --line: #e2e8f0;
  --brand: #0b3d91;
  --brand-2: #1e40af;
  --accent: #facc15;
  --accent-2: #f59e0b;
  --ok: #10b981;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(15,23,42,.06), 0 2px 8px rgba(15,23,42,.04);
  --shadow-md: 0 8px 24px rgba(15,23,42,.08);
  --shadow-lg: 0 24px 60px rgba(15,23,42,.18);
  --container: 1180px;
}

/* ============ LAYOUT ============ */
.container { width: min(var(--container), 100% - 2.5rem); margin-inline: auto; }
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section--muted { background: var(--bg-muted); }
.section--dark { background: var(--bg-dark); color: #e2e8f0; }
.section__head { max-width: 720px; margin: 0 auto 3rem; text-align: center; }
.section__head p { color: var(--ink-soft); margin-top: .75rem; }
.section--dark .section__head p { color: #94a3b8; }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand);
  background: rgba(11,61,145,.08);
  padding: .35rem .75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.eyebrow--light { color: var(--accent); background: rgba(250,204,21,.12); }

h1, h2, h3, h4 { color: inherit; line-height: 1.2; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: .75rem; }
h3 { font-size: 1.15rem; }
.section--dark h1, .section--dark h2 { color: #fff; }

.lead { font-size: 1.1rem; color: var(--ink-soft); max-width: 56ch; }
.accent { color: var(--brand); }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
@media (max-width: 880px) { .grid-2 { grid-template-columns: 1fr; } }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 6px 18px rgba(11,61,145,.28);
}
.btn--primary:hover { background: var(--brand-2); transform: translateY(-1px); box-shadow: 0 10px 26px rgba(11,61,145,.36); }
.btn--ghost { color: var(--ink); border: 1px solid var(--line); background: #fff; }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn--block { width: 100%; }
.btn--cta {
  background: linear-gradient(180deg, #2563eb, #1e40af);
  color: #fff;
  border-radius: 0;
  padding: 1rem 1.75rem;
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  align-self: stretch;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  box-shadow: none;
}
.btn--cta:hover { background: linear-gradient(180deg, #1e40af, #1e3a8a); transform: none; }

/* ============ TOP BAR ============ */
.topbar {
  background: #0f172a;
  color: #cbd5e1;
  font-size: .85rem;
  border-bottom: 3px solid #38bdf8;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 38px;
  flex-wrap: wrap;
  padding: .35rem 0;
}
.topbar__hours {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: #1e3a8a;
  color: #fff;
  padding: .35rem .9rem;
  border-radius: 4px;
  font-weight: 500;
}
.topbar__contact { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: #e2e8f0;
  transition: color .15s ease;
}
.topbar__item:hover { color: var(--accent); }
.topbar__social {
  width: 26px; height: 26px;
  background: #0a66c2;
  border-radius: 4px;
  justify-content: center;
  color: #fff;
}
.topbar__social:hover { background: #084e94; color: #fff; }

@media (max-width: 600px) {
  .topbar__contact { gap: .75rem; }
  .topbar__item { font-size: .8rem; }
}

/* ============ HEADER ============ */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(15,23,42,.02);
}
.header.is-scrolled { box-shadow: 0 4px 18px rgba(15,23,42,.08); }

.header__brand {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 2rem;
  padding: 1rem 0 .75rem;
}
.header__brand .logo { grid-column: 1; }
.brand-block {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  font-size: .92rem;
  line-height: 1.25;
}
.brand-block strong { display: block; color: var(--ink); font-weight: 700; }
.brand-block span { display: block; color: var(--ink-soft); font-style: italic; font-size: .88rem; }
.brand-block__ok { color: #10b981 !important; font-style: normal !important; font-weight: 600 !important; }
.cert-stamp { transform: rotate(-6deg); }

.header__nav-wrap {
  border-top: 1px solid var(--line);
  background: #fff;
}

.header__inner {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 56px;
}
.logo { display: inline-flex; align-items: center; gap: .55rem; font-weight: 800; font-size: 1.6rem; letter-spacing: -.02em; color: var(--brand); }
.logo em { font-style: normal; color: var(--ink); font-weight: 800; }
.logo--light { color: #fff; font-size: 1.15rem; }
.logo--light em { color: #fff; }
.logo img { display: block; height: auto; max-width: 100%; }
.logo--brand img { width: 200px; }
.logo--light img { width: 170px; }
@media (max-width: 600px) {
  .logo--brand img { width: 160px; }
}

@media (max-width: 980px) {
  .header__brand { grid-template-columns: 1fr; gap: 1rem; padding: 1rem 0; text-align: left; }
  .header__brand .brand-block { justify-content: flex-start; }
}
.nav {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex: 1;
}
.nav a {
  font-weight: 600;
  color: var(--ink);
  font-size: .88rem;
  letter-spacing: .02em;
  text-transform: uppercase;
  position: relative;
  padding: 1rem 0;
  transition: color .15s ease;
}
.nav a::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -1px;
  height: 3px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .2s ease;
}
.nav a:hover { color: var(--brand); }
.nav a:hover::after { transform: scaleX(1); }

.burger { display: none; width: 40px; height: 40px; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.burger span { display: block; width: 22px; height: 2px; background: var(--ink); transition: transform .25s ease, opacity .2s ease; }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 980px) {
  .header__cta { display: none; }
  .burger { display: flex; }
  .header__inner { min-height: 56px; align-items: center; }
  .nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    padding: .5rem 1.5rem 1rem;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-12px);
    opacity: 0; pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
    z-index: 30;
  }
  .nav a { padding: .85rem 0; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: 0; }
  .nav a::after { display: none; }
  .nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .header__nav-wrap { position: relative; }
}

@media (max-width: 600px) {
  .topbar__hours { font-size: .8rem; padding: .25rem .6rem; }
}

/* ============ HERO ============ */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 9vw, 7rem) 0 clamp(4rem, 9vw, 6rem);
}

/* Full-image hero variant */
.hero--image {
  min-height: 700px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  padding: 0;
}
.hero--image .hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(11,18,32,.78), rgba(30,58,138,.55));
  z-index: 0;
}
.hero__inner--center { position: relative; z-index: 1; width: 100%; padding: 4rem 0; }
.hero__content--center { text-align: center; max-width: 1000px; margin: 0 auto; color: #fff; }
.hero__title-display {
  font-family: 'Teko', 'Bebas Neue', Impact, sans-serif;
  font-weight: 500;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: .01em;
  color: #fff;
  margin-bottom: 2.5rem;
}
.btn--hero {
  background: rgba(30, 64, 175, .85);
  color: #fff;
  padding: 1.2rem 2.4rem;
  border-radius: 0;
  font-size: .85rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,.15);
  transition: background .25s, border-color .25s, transform .15s;
  white-space: normal;
  max-width: 220px;
}
.btn--hero:hover { background: rgba(30, 64, 175, 1); border-color: #fff; }
.hero__arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  background: transparent;
  color: #fff;
  font-size: 3rem;
  line-height: 1;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  z-index: 2;
  opacity: .55;
  transition: opacity .2s;
  font-weight: 300;
}
.hero__arrow:hover { opacity: 1; }
.hero__arrow--left { left: 1rem; }
.hero__arrow--right { right: 1rem; }

/* ============ PAGE BANNER (subpages) ============ */
.page-banner {
  min-height: 280px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}
.page-banner__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(11,18,32,.85), rgba(30,58,138,.6));
  z-index: 0;
}
.page-banner .container { position: relative; z-index: 1; padding: 3rem 1rem; }
.page-banner h1 {
  font-family: 'Teko', 'Bebas Neue', Impact, sans-serif;
  font-weight: 500;
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  text-transform: capitalize;
  color: #fff;
  margin-bottom: .75rem;
  line-height: 1.05;
  letter-spacing: .01em;
}
.page-banner h1 .accent { color: #38bdf8; }
.breadcrumb {
  font-size: .95rem;
  color: rgba(255,255,255,.85);
}
.breadcrumb a { color: #fff; transition: color .2s; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .current { color: #38bdf8; font-weight: 500; }
.breadcrumb .sep { margin: 0 .35rem; color: rgba(255,255,255,.5); }

/* ============ DIRECTOR / ABOUT PAGE ============ */
.director-section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.director-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (max-width: 880px) { .director-grid { grid-template-columns: 1fr; } }

.framed-photo {
  position: relative;
  padding: 1.5rem 2rem 1.5rem 1.5rem;
  display: inline-block;
  width: 100%;
}
.framed-photo::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 80%; height: 95%;
  border: 6px solid var(--brand);
  z-index: 0;
}
.framed-photo::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 60%; height: 70%;
  border: 6px solid var(--brand);
  z-index: 0;
}
.framed-photo img {
  position: relative;
  width: 100%;
  z-index: 1;
  display: block;
}

.director-content .eyebrow-blue {
  color: var(--brand);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .04em;
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: .75rem;
}
.director-content .eyebrow-blue::after {
  content: '';
  width: 32px; height: 2px;
  background: var(--brand);
  display: inline-block;
}
.director-content h2 {
  font-family: 'Teko', 'Bebas Neue', sans-serif;
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3.2rem);
  text-transform: capitalize;
  color: #1e3a8a;
  margin-bottom: 1.5rem;
  line-height: 1.05;
}
.director-content h3 {
  font-family: 'Teko', 'Bebas Neue', sans-serif;
  font-weight: 500;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  text-transform: capitalize;
  color: var(--brand);
  margin: 1.75rem 0 1rem;
}
.director-content p {
  margin-bottom: 1rem;
  color: #475569;
}
.advantages-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.advantages-list li {
  font-family: 'Teko', sans-serif;
  font-size: 1.3rem;
  font-weight: 500;
  color: #1e3a8a;
  padding: .5rem 0;
  display: flex;
  align-items: center;
  gap: .75rem;
}
.advantages-list li::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--brand);
  display: inline-block;
}
.signature {
  margin-top: 2rem;
  font-weight: 600;
  color: var(--ink);
}
.signature span {
  display: block;
  font-weight: 400;
  color: var(--ink-soft);
  font-size: .95rem;
  margin-top: .25rem;
}

/* ============ DEPARTEMENTS PAGE ============ */
.dept-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.5rem;
}
.dept-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 2rem 1.75rem 1.5rem;
  position: relative;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.dept-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(11,61,145,.2);
}
.dept-card__num {
  position: absolute;
  top: .5rem; right: 1.25rem;
  font-family: 'Teko', 'Bebas Neue', sans-serif;
  font-size: 6rem;
  color: #e2e8f0;
  font-weight: 600;
  line-height: 1;
  z-index: 0;
  user-select: none;
}
.dept-card__icon {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  color: var(--brand);
  margin-bottom: 1.5rem;
}
.dept-card__icon svg { width: 100%; height: 100%; }
.dept-card h3 {
  font-family: 'Teko', 'Bebas Neue', sans-serif;
  font-weight: 500;
  font-size: 1.7rem;
  text-transform: capitalize;
  color: #1e3a8a;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}
.dept-card p {
  color: var(--ink-soft);
  font-size: .92rem;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
}
.dept-card__link {
  color: var(--ink-soft);
  font-weight: 500;
  font-size: .9rem;
  position: relative;
  z-index: 1;
  display: block;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
  transition: color .2s, border-color .2s;
}
.dept-card__link:hover { color: var(--brand); border-color: var(--brand); }

/* ============ POLITIQUE QUALITÉ ============ */
.qualite-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (max-width: 880px) { .qualite-grid { grid-template-columns: 1fr; } }

.qualite-content p {
  margin-bottom: 1rem;
  color: #475569;
  line-height: 1.65;
}
.qualite-content .bullet-disc {
  list-style: disc inside;
  margin: .5rem 0 1rem 1rem;
  color: #475569;
}
.qualite-content .bullet-disc li { margin-bottom: .35rem; }

.check-engagements { list-style: none; padding: 0; margin: 1rem 0; }
.check-engagements li {
  position: relative;
  padding: .65rem 0 .65rem 2rem;
  color: var(--ink);
  line-height: 1.5;
}
.check-engagements li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: .65rem;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  color: var(--brand);
  font-weight: 700;
  font-size: 1rem;
}

.cert-frame {
  position: relative;
  padding: 14px;
  border: 4px solid var(--brand);
  background: #fff;
  box-shadow: 0 12px 32px rgba(11,61,145,.18);
}
.cert-frame__inner {
  background: linear-gradient(180deg, #fdfdfd, #f5f7fb);
  padding: 1.5rem 1.25rem;
  text-align: center;
  border: 1px solid #e2e8f0;
  font-family: Georgia, 'Times New Roman', serif;
  color: #1f2937;
}
.cert-frame__crest {
  width: 72px; height: 72px;
  margin: 0 auto .5rem;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0%, #f1f5f9 100%);
  border: 3px double #1e3a8a;
  display: grid;
  place-items: center;
  color: #1e3a8a;
  font-family: Georgia, serif;
  font-weight: 700;
  font-size: .65rem;
  line-height: 1.05;
  text-align: center;
  letter-spacing: .04em;
}
.cert-frame h3 {
  font-family: 'Allura', 'Brush Script MT', cursive, serif;
  font-style: italic;
  font-weight: 400;
  color: #1e3a8a;
  font-size: 2rem;
  margin: .25rem 0 1rem;
  line-height: 1;
}
.cert-frame__note { font-size: .8rem; color: #64748b; margin-bottom: .75rem; }
.cert-frame__org {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: .04em;
  font-size: .95rem;
  color: #0f172a;
  margin-bottom: .25rem;
}
.cert-frame__addr {
  font-size: .75rem;
  color: #475569;
  font-family: 'Inter', sans-serif;
  margin-bottom: .85rem;
  line-height: 1.4;
}
.cert-frame__std {
  display: inline-block;
  padding: .35rem 1rem;
  border: 1.5px solid #1e3a8a;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: .9rem;
  color: #1e3a8a;
  letter-spacing: .05em;
  margin: .25rem 0 .85rem;
}
.cert-frame__scope {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: .8rem;
  color: #1f2937;
  margin-bottom: 1rem;
  line-height: 1.4;
}
.cert-frame__seals {
  display: flex;
  justify-content: center;
  gap: .75rem;
  padding-top: .5rem;
  border-top: 1px solid #e2e8f0;
}
.cert-frame__seal {
  width: 38px; height: 38px;
  border-radius: 4px;
  background: #1e3a8a;
  color: #fff;
  display: grid;
  place-items: center;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: .55rem;
  letter-spacing: .04em;
}
.cert-frame__seal--alt { background: #dc2626; }
.cert-frame__seal--ok { background: #0f766e; }

/* ============ NOS PRODUITS (gallery) ============ */
.gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 2rem 0 2.5rem;
  border-bottom: 0;
}
.gallery-tab {
  background: none;
  border: 0;
  padding: .5rem 0;
  font-family: 'Teko', 'Bebas Neue', sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--ink-soft);
  cursor: pointer;
  letter-spacing: .03em;
  position: relative;
  transition: color .2s;
}
.gallery-tab::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .2s;
}
.gallery-tab:hover { color: var(--brand); }
.gallery-tab.is-active { color: var(--brand); }
.gallery-tab.is-active::after { transform: scaleX(1); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  padding-bottom: 3rem;
}
.gallery-item {
  background: #fff;
  overflow: hidden;
  cursor: pointer;
  transition: transform .25s, box-shadow .25s;
}
.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.gallery-item__img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
}
.gallery-item__title {
  font-family: 'Teko', 'Bebas Neue', sans-serif;
  font-size: 1.3rem;
  font-weight: 500;
  color: #1e3a8a;
  padding: 1rem 1.25rem 1.25rem;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.gallery-item.is-hidden { display: none; }

/* ============ DEPARTEMENT DETAIL ============ */
.dept-detail { padding: clamp(3rem, 6vw, 5rem) 0; }
.dept-detail__grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 880px) { .dept-detail__grid { grid-template-columns: 1fr; gap: 1.5rem; } }

.dept-sidebar {
  display: flex;
  flex-direction: column;
  background: #050a13;
  border-radius: 2px;
  overflow: hidden;
}
.dept-sidebar a {
  display: block;
  padding: 1.1rem 1.5rem;
  font-family: 'Teko', 'Bebas Neue', sans-serif;
  font-size: 1.3rem;
  font-weight: 500;
  text-transform: capitalize;
  color: #fff;
  border-top: 1px solid rgba(255,255,255,.06);
  background: #0b1220;
  transition: background .2s, color .2s;
  letter-spacing: .02em;
}
.dept-sidebar a:first-child {
  border-top: 0;
  background: #1e3a8a;
  font-weight: 600;
}
.dept-sidebar a:hover { background: #1e293b; }
.dept-sidebar a.active {
  background: var(--brand);
  color: #fff;
}

.dept-content { padding-top: .5rem; }
.dept-bullet-list { list-style: none; padding: 0; margin: 0; }
.dept-bullet-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  color: var(--ink);
  line-height: 1.6;
  font-size: 1rem;
}
.dept-bullet-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .65rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
}

/* ============ CONTACT PAGE ============ */
.contact-page {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: var(--bg-muted);
}
.contact-page__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 880px) { .contact-page__grid { grid-template-columns: 1fr; } }
.contact-page h2 {
  font-family: 'Teko', 'Bebas Neue', sans-serif;
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 2.8rem);
  text-transform: capitalize;
  color: #1e3a8a;
  margin-bottom: 1.5rem;
  line-height: 1.05;
}
.contact-page .eyebrow-blue {
  color: var(--brand);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .04em;
  margin-bottom: .75rem;
  display: inline-flex;
  align-items: center;
  gap: .75rem;
}
.contact-page .eyebrow-blue::after {
  content: '';
  width: 32px; height: 2px;
  background: var(--brand);
  display: inline-block;
}
.simple-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.simple-form input,
.simple-form textarea {
  width: 100%;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 0;
  font: inherit;
  color: var(--ink);
}
.simple-form input::placeholder,
.simple-form textarea::placeholder { color: #94a3b8; }
.simple-form input:focus,
.simple-form textarea:focus {
  outline: 2px solid var(--brand);
  outline-offset: -2px;
  border-color: transparent;
}
.simple-form textarea { min-height: 120px; resize: vertical; }
.simple-form button {
  background: var(--brand);
  color: #fff;
  padding: .95rem 2.5rem;
  font-weight: 500;
  letter-spacing: .04em;
  align-self: flex-start;
  border: 0;
  cursor: pointer;
  transition: background .2s;
  margin-top: .5rem;
}
.simple-form button:hover { background: var(--brand-2); }
.contact-info-card {
  background: #0b1220;
  color: #cbd5e1;
  padding: 2.5rem;
  position: relative;
  background-image:
    radial-gradient(circle at 80% 30%, rgba(255,255,255,.05) 1px, transparent 1px),
    radial-gradient(circle at 30% 70%, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 8px 8px, 12px 12px;
}
.contact-info-card .info-row { margin-bottom: 1.5rem; }
.contact-info-card .info-row:last-child { margin-bottom: 0; }
.contact-info-card .info-label {
  display: block;
  color: var(--brand);
  text-transform: lowercase;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .02em;
  margin-bottom: .35rem;
}
.contact-info-card .info-value {
  font-size: 1rem;
  color: #fff;
}
.contact-info-card .info-value a { color: #fff; transition: color .2s; }
.contact-info-card .info-value a:hover { color: var(--accent); }

/* ============ NAV SUB-MENU ============ */
.nav__has-sub { position: relative; }
.nav__has-sub > a::after {
  content: ' ▾';
  font-size: .7rem;
  opacity: .6;
}
.nav__sub {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  min-width: 200px;
  list-style: none;
  padding: .5rem 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity .2s, transform .2s;
  z-index: 60;
}
.nav__sub li { margin: 0; padding: 0; }
.nav__sub a {
  display: block;
  padding: .65rem 1.25rem;
  color: var(--ink);
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .02em;
  font-weight: 500;
}
.nav__sub a::after { display: none !important; }
.nav__sub a:hover { background: var(--bg-muted); color: var(--brand); }
.nav__has-sub:hover .nav__sub {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 85% 0%, rgba(250,204,21,.18), transparent 60%),
    radial-gradient(800px 600px at 0% 100%, rgba(11,61,145,.12), transparent 60%),
    linear-gradient(180deg, #fafbff, #fff 70%);
  z-index: -1;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero__content h1 { margin: .25rem 0 1.25rem; }
.hero__actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.75rem; }

.hero__stats {
  display: flex; gap: 2.5rem; margin-top: 2.5rem;
  padding-top: 1.75rem; border-top: 1px solid var(--line);
}
.hero__stats li { display: flex; flex-direction: column; }
.hero__stats strong { font-size: 1.6rem; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.hero__stats span { color: var(--ink-mute); font-size: .85rem; }

@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { order: -1; max-width: 480px; margin: 0 auto; }
  .hero__stats { gap: 1.5rem; flex-wrap: wrap; }
}

/* Hero visual */
.hero__visual { position: relative; min-height: 380px; }
.card-stack { position: relative; height: 100%; }
.card {
  position: absolute;
  background: #fff;
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  box-shadow: var(--shadow-md);
  width: 280px;
  border: 1px solid var(--line);
}
.card__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--brand); display: inline-block; margin-bottom: .5rem; }
.card__dot--alt { background: var(--accent-2); }
.card__dot--ok { background: var(--ok); }
.card__title { font-weight: 700; font-size: .95rem; }
.card__meta { color: var(--ink-mute); font-size: .8rem; margin-top: .25rem; }

.card--1 { top: 0; right: 0; transform: rotate(2deg); }
.card--2 { top: 110px; left: 10px; transform: rotate(-3deg); }
.card--3 { bottom: 0; right: 20px; transform: rotate(1deg); }

.bars { display: flex; gap: 4px; align-items: end; height: 28px; margin-top: .75rem; }
.bars span { display: block; width: 8px; background: linear-gradient(180deg, var(--brand-2), var(--brand)); border-radius: 2px; }
.bars span:nth-child(1) { height: 60%; }
.bars span:nth-child(2) { height: 90%; }
.bars span:nth-child(3) { height: 75%; }
.bars span:nth-child(4) { height: 100%; }

.gauge { height: 8px; background: var(--bg-muted); border-radius: 999px; margin-top: .8rem; overflow: hidden; }
.gauge__fill { height: 100%; width: 98%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); border-radius: 999px; }

/* ============ TRUST ============ */
.trust { padding: 2rem 0 0; }
.trust__label { text-align: center; color: var(--ink-mute); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1.25rem; }
.trust__logos {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 2.5rem 3rem; padding: 1rem 0;
  font-weight: 700; color: var(--ink-mute); letter-spacing: .04em;
  opacity: .8;
}
.trust__logos span { font-size: 1.05rem; transition: color .2s ease, opacity .2s ease; }
.trust__logos span:hover { color: var(--ink); opacity: 1; }

/* ============ ABOUT ============ */
.check-list { margin-top: 1.25rem; display: flex; flex-direction: column; gap: .6rem; }
.check-list li {
  position: relative;
  padding-left: 1.75rem;
  color: var(--ink-soft);
}
.check-list li::before {
  content: '';
  position: absolute; left: 0; top: .5rem;
  width: 18px; height: 18px;
  background: var(--brand);
  border-radius: 50%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}

.about__visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.stat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.stat-card--alt { background: linear-gradient(160deg, var(--brand), var(--brand-2)); color: #fff; border-color: transparent; }
.stat-card--alt .stat-card__label { color: rgba(255,255,255,.85); }
.stat-card__num { font-size: 2.2rem; font-weight: 800; letter-spacing: -.02em; }
.stat-card__label { color: var(--ink-soft); font-size: .92rem; margin-top: .25rem; }

/* ============ SERVICES ============ */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}
.service {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(11,61,145,.25); }
.service__icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(11,61,145,.08);
  color: var(--brand);
  display: grid; place-items: center;
  margin-bottom: 1rem;
}
.service__icon svg { width: 24px; height: 24px; }
.service h3 { margin-bottom: .4rem; }
.service p { color: var(--ink-soft); font-size: .95rem; }

/* ============ WHY US ============ */
.why {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.why__item {
  padding: 1.5rem;
  border-left: 3px solid var(--accent);
  background: linear-gradient(180deg, #fff, #fcfcfd);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow-sm);
}
.why__num {
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .15em;
  color: var(--brand);
  margin-bottom: .5rem;
}
.why__item h3 { margin-bottom: .35rem; }
.why__item p { color: var(--ink-soft); font-size: .95rem; }

/* ============ PROJECTS ============ */
.projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.5rem;
}
.project {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.project:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.project__media {
  height: 180px;
  background: linear-gradient(135deg, #1e3a8a, #0b3d91);
  position: relative;
  overflow: hidden;
}
.project__media::after {
  content: '';
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,.06) 0 8px, transparent 8px 18px);
}
.project__media--1 { background: linear-gradient(135deg, #0b3d91, #1e40af); }
.project__media--2 { background: linear-gradient(135deg, #f59e0b, #b45309); }
.project__media--3 { background: linear-gradient(135deg, #0f766e, #115e59); }
.project__body { padding: 1.5rem; }
.tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand);
  background: rgba(11,61,145,.08);
  padding: .25rem .6rem;
  border-radius: 999px;
  margin-bottom: .75rem;
}
.project h3 { margin-bottom: .4rem; }
.project p { color: var(--ink-soft); font-size: .95rem; }

/* ============ TESTIMONIAL ============ */
.testimonial figure { max-width: 760px; margin: 0 auto; text-align: center; }
.testimonial .quote { width: 36px; height: 36px; color: var(--accent); margin: 0 auto 1rem; }
.testimonial blockquote {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.5;
  margin-bottom: 1rem;
}
.testimonial figcaption { color: var(--ink-mute); font-size: .92rem; }

/* ============ CONTACT ============ */
.contact__info { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.contact__info li { display: flex; flex-direction: column; gap: .15rem; }
.contact__info strong { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: #94a3b8; }
.contact__info a, .contact__info span { color: #e2e8f0; font-weight: 500; transition: color .2s ease; }
.contact__info a:hover { color: var(--accent); }

.form {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.form label { display: flex; flex-direction: column; gap: .35rem; font-size: .85rem; color: #cbd5e1; font-weight: 500; }
.form input, .form select, .form textarea {
  background: rgba(15,23,42,.6);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  padding: .75rem .9rem;
  color: #fff;
  transition: border-color .15s ease, background .15s ease;
  resize: vertical;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(15,23,42,.85);
}
.form select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'><polyline points='6 9 12 15 18 9'/></svg>"); background-repeat: no-repeat; background-position: right .9rem center; background-size: 16px; padding-right: 2.5rem; }
.form__status { font-size: .9rem; min-height: 1.2rem; color: var(--ok); }
.form__status.is-error { color: #f87171; }

/* ============ FOOTER V2 (with map) ============ */
.footer--v2 {
  background: #0b1220;
  color: #94a3b8;
  padding: 4rem 0 0;
}
.footer__grid-v2 {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  padding-bottom: 3rem;
  align-items: start;
}
@media (max-width: 880px) { .footer__grid-v2 { grid-template-columns: 1fr; gap: 2rem; } }

.footer__logo-wrap {
  display: flex;
  align-items: baseline;
  gap: .5rem;
  margin-bottom: 1.25rem;
}
.footer__logo-wrap img { width: 200px; height: auto; display: block; }
.footer__logo-sub {
  color: #94a3b8;
  font-size: .8rem;
  font-style: italic;
  letter-spacing: .05em;
}

.footer--v2 .footer__about {
  margin-bottom: 1.75rem;
  max-width: 380px;
  font-size: .92rem;
  line-height: 1.6;
  color: #cbd5e1;
}

.footer__contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.footer__contact-list li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  color: #cbd5e1;
  font-size: .92rem;
  line-height: 1.4;
}
.footer__icon {
  width: 18px; height: 18px;
  color: var(--brand);
  flex-shrink: 0;
  margin-top: 2px;
}
.footer__contact-list a { color: inherit; transition: color .2s; }
.footer__contact-list a:hover { color: var(--accent); }

.footer__map-title {
  font-family: 'Teko', 'Bebas Neue', sans-serif;
  color: var(--brand);
  font-size: 1.7rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
  text-transform: capitalize;
  letter-spacing: .01em;
}
.footer__map {
  width: 100%;
  height: 300px;
  overflow: hidden;
  background: #1e293b;
  border: 1px solid rgba(255,255,255,.08);
}
.footer__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: contrast(1.05);
}

.footer__bottom-v2 {
  background: #050a13;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255,255,255,.06);
  font-size: .85rem;
}
.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  color: #64748b;
}
.brand-text { color: var(--brand); font-weight: 600; letter-spacing: .04em; }

/* ============ FOOTER (legacy) ============ */
.footer { background: #07101e; color: #94a3b8; padding: 4rem 0 1.5rem; }
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
@media (max-width: 780px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__about { max-width: 320px; margin-top: .75rem; font-size: .92rem; }
.footer h4 { color: #fff; font-size: .9rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1rem; }
.footer ul { display: flex; flex-direction: column; gap: .55rem; font-size: .92rem; }
.footer a:hover { color: var(--accent); }
.footer__bottom {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding-top: 1.5rem;
  font-size: .85rem;
  color: #64748b;
}

/* ============ PHOTO COLLAGE (about) ============ */
.photo-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 220px 220px;
  gap: 1rem;
  position: relative;
}
.photo-collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 4px solid #fff;
}
.photo-collage img:nth-child(1) {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
  height: 100%;
}
.photo-collage img:nth-child(2) {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
  align-self: end;
  margin-left: -2rem;
  z-index: 2;
}
@media (max-width: 880px) {
  .photo-collage { grid-template-rows: 200px; grid-template-columns: 1fr 1fr; }
  .photo-collage img:nth-child(1), .photo-collage img:nth-child(2) {
    grid-row: 1; height: 100%; margin: 0;
  }
  .photo-collage img:nth-child(2) { grid-column: 2; }
}

/* ============ TITRES BLEUS (Wiringtek style) ============ */
.title-blue { color: #016fbe; }
.sub-blue { color: #016fbe; margin-top: 1.25rem; margin-bottom: .5rem; font-size: 1.15rem; }

/* ============ CHIFFRES CLÉS (figures) ============ */
.figures {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: clamp(4rem, 7vw, 6rem) 0;
  color: #fff;
}
.figures__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(11,18,32,.92), rgba(30,58,138,.88));
  z-index: 0;
}
.figures .container { position: relative; z-index: 1; }
.figures .section__head { margin-bottom: 2rem; }
.figures__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  text-align: center;
}
.figure-item {
  padding: 1.5rem 1rem;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}
.figure-item:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,.08);
  border-color: var(--accent);
}
.figure-item strong {
  display: block;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -.02em;
  line-height: 1;
}
.figure-item span {
  display: block;
  margin-top: .5rem;
  color: #cbd5e1;
  font-size: .92rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ============ REVEAL ANIMATIONS ============ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
