/* ============================================
   Qualitest ÃÂÃÂÃÂÃÂ¢ÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂ Design system premium 2025
   Palette issue du logo : #050C1C, #375CAD,
   #0090D3, #73D9FF
   ============================================ */

:root {
  --ink: #050c1c;
  --ink-soft: #0f1729;
  --slate: #3d4f6f;
  --muted: #6b7c9a;
  --line: rgba(5, 12, 28, 0.08);
  --line-strong: rgba(5, 12, 28, 0.12);
  --surface: #ffffff;
  --surface-soft: #f7f9fc;
  --surface-muted: #eef2f7;
  --surface-blue: #f0f7fc;
  --brand: #375cad;
  --brand-bright: #0090d3;
  --brand-light: #73d9ff;
  --brand-glow: rgba(0, 144, 211, 0.12);
  --accent: #0090d3;
  --success: #0d9488;
  --gradient-brand: linear-gradient(135deg, #375cad 0%, #0090d3 55%, #73d9ff 100%);
  --gradient-text: linear-gradient(135deg, #375cad 0%, #0090d3 100%);
  --gradient-hero-mesh:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(115, 217, 255, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(55, 92, 173, 0.1) 0%, transparent 50%),
    linear-gradient(180deg, #fafcfe 0%, #f4f8fc 50%, #ffffff 100%);
  --shadow-xs: 0 1px 2px rgba(5, 12, 28, 0.04);
  --shadow-sm: 0 4px 16px rgba(5, 12, 28, 0.06);
  --shadow-md: 0 12px 40px rgba(5, 12, 28, 0.08);
  --shadow-lg: 0 24px 64px rgba(5, 12, 28, 0.1);
  --shadow-glow: 0 8px 32px rgba(0, 144, 211, 0.2);
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --transition: 0.35s var(--ease);
  --header-h: 80px;
  --container: 1320px;
  --section-y: 120px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--slate);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* ---- IcÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂ´nes (sprite injectÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂ© par script.js, source : assets/icons.svg) ---- */
.icon {
  width: 1.25rem;
  height: 1.25rem;
  max-width: none;
  flex-shrink: 0;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  color: inherit;
}

.icon--sm {
  width: 1rem;
  height: 1rem;
}

.icon--lg {
  width: 1.5rem;
  height: 1.5rem;
}

.icon--xl {
  width: 2rem;
  height: 2rem;
}

.feature-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(0, 144, 211, 0.1) 0%, rgba(115, 217, 255, 0.14) 100%);
  color: var(--brand-bright);
  border: 1px solid rgba(0, 144, 211, 0.12);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.feature-card:hover .feature-card__icon {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-bright) 100%);
  color: #fff;
  border-color: transparent;
}

.feature-card__icon .icon {
  width: 24px;
  height: 24px;
}

a {
  color: var(--brand-bright);
  text-decoration: none;
  transition: color var(--transition);
}

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

ul { list-style: none; }

::selection {
  background: rgba(0, 144, 211, 0.15);
  color: var(--ink);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

.container--narrow {
  max-width: 760px;
}

.container--article {
  max-width: var(--container);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 300px);
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}

.article-layout__main > .reveal,
.article-layout__main > .entry-content,
.article-layout__main > .article-quote,
.article-layout__main > .article-footer {
  max-width: 65ch;
}

.article-aside__sticky {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.article-aside__panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
}

.article-aside__section {
  padding: 20px;
}

.article-aside__section + .article-aside__section {
  padding-top: 16px;
  padding-bottom: 16px;
  border-top: 1px solid var(--line);
}

.article-aside__section--links {
  padding-top: 16px;
  padding-bottom: 18px;
}

.article-aside .article-author {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.article-aside .article-author__photo {
  width: 64px;
  height: 64px;
  border: 2px solid var(--surface);
  box-shadow: 0 0 0 1px var(--line);
}

.article-aside .article-author__label {
  margin: 0 0 4px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.article-aside .article-author__name {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--ink);
}

.article-aside .article-author__role {
  margin: 0 0 10px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--slate);
}

.article-aside .article-author__bio {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--muted);
}

.article-aside-links {
  margin: 0;
  padding: 0;
}

.article-aside-links__label {
  margin: 0 0 10px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.article-aside-links__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.article-aside-links__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--slate);
  border-bottom: 1px solid var(--line);
  transition: color var(--transition);
}

.article-aside-links__list li:first-child a {
  padding-top: 0;
}

.article-aside-links__list li:last-child a {
  padding-bottom: 0;
  border-bottom: none;
}

.article-aside-links__list a::after {
  content: "";
  flex-shrink: 0;
  width: 0.35em;
  height: 0.35em;
  margin-left: 0.35em;
  border-right: 1.75px solid currentColor;
  border-top: 1.75px solid currentColor;
  transform: rotate(45deg) translateX(-4px);
  opacity: 0;
  color: var(--muted);
  transition: opacity var(--transition), transform var(--transition), color var(--transition);
}

.article-aside-links__list a:hover {
  color: var(--brand-bright);
}

.article-aside-links__list a:hover::after {
  opacity: 1;
  transform: rotate(45deg) translateX(0);
  color: var(--brand-bright);
}

.article-aside .article-push {
  margin: 0;
}

.article-push {
  padding: 20px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.article-push--related {
  background: var(--surface);
}

.article-push--cta {
  background: linear-gradient(145deg, var(--ink-soft) 0%, var(--ink) 100%);
  border-color: transparent;
  color: var(--surface);
  box-shadow: var(--shadow-md);
}

.article-push__title {
  margin: 0 0 12px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-bright);
}

.article-push--related .article-push__title {
  margin-bottom: 14px;
  color: var(--ink);
  letter-spacing: 0.04em;
}

.article-push--cta .article-push__title {
  margin-bottom: 10px;
  color: var(--brand-light);
}

.article-push--cta .btn--primary {
  width: 100%;
  background: var(--surface);
  color: var(--ink);
  border-color: var(--surface);
}

.article-push--cta .btn--primary:hover {
  background: var(--brand-light);
  border-color: var(--brand-light);
  color: var(--ink);
}

.article-push__text {
  margin: 0 0 14px;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
}

.article-related {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.article-related__card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 10px;
  align-items: center;
  padding: 8px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.article-related__card:not(:has(.article-related__media)) {
  grid-template-columns: 1fr;
}

.article-related__card:hover {
  border-color: rgba(0, 144, 211, 0.25);
  box-shadow: var(--shadow-sm);
}

.article-related__media {
  margin: 0;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface-muted);
}

.article-related__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.article-related__card:hover .article-related__media img {
  transform: scale(1.04);
}

.article-related__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.article-related__title {
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--transition);
}

.article-related__card:hover .article-related__title {
  color: var(--brand-bright);
}

.article-related__body time {
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--muted);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: var(--radius-full);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--ink);
  color: var(--surface);
  box-shadow: var(--shadow-sm);
}

.btn--primary:hover {
  background: var(--brand);
  color: var(--surface);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn--outline {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-xs);
}

.btn--outline:hover {
  border-color: var(--brand-bright);
  color: var(--brand-bright);
  box-shadow: var(--shadow-sm);
}

.btn--lg {
  padding: 16px 32px;
  font-size: 1rem;
}

.btn--sm {
  padding: 10px 20px;
  font-size: 0.875rem;
}

.btn--full { width: 100%; }

/* ---- Logo ---- */
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  transition: opacity var(--transition);
}

.logo:hover {
  opacity: 0.85;
}

.logo__img {
  height: 32px;
  width: auto;
  max-width: 168px;
}

.logo--footer .logo__img {
  height: 36px;
  max-width: 190px;
}

/* ---- Header ---- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  transition: all var(--transition);
}

.header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: inherit;
}

.header--scrolled::before {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-xs);
}

.header__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}

.nav {
  flex: 1;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 32px);
}

.nav__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate);
  letter-spacing: -0.01em;
  position: relative;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--gradient-brand);
  border-radius: 2px;
  transition: width var(--transition);
}

.nav__link:hover {
  color: var(--ink);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__link.is-active {
  color: var(--brand-bright);
  font-weight: 700;
}

.nav__link.is-active::after {
  width: 100%;
}

.nav__item {
  position: relative;
}

.nav__item--mega {
  position: static;
}

.nav__trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate);
  letter-spacing: -0.01em;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  transition: color var(--transition);
}

.nav__trigger::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--gradient-brand);
  border-radius: 2px;
  transition: width var(--transition);
}

.nav__trigger:hover {
  color: var(--ink);
}

.nav__trigger:hover::after,
.nav__item--mega.is-mega-hover .nav__trigger::after,
.nav__item--mega.is-open .nav__trigger::after {
  width: 100%;
}

.nav__caret {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform var(--transition);
}

.nav__item--mega.is-open .nav__caret,
.nav__item--mega.is-mega-hover .nav__caret,
.nav__item--mega:hover .nav__caret,
.nav__item--mega:focus-within .nav__caret {
  transform: rotate(225deg) translateY(1px);
}

.header__overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  background: rgba(5, 12, 28, 0.28);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition), visibility var(--transition);
}

.header__overlay.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-mega {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 1001;
  padding: 0 clamp(16px, 3vw, 32px) 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
}

.nav-mega::before {
  content: "";
  display: block;
  height: 20px;
}

.nav-mega__panel {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(200px, 240px) 1fr;
  gap: clamp(20px, 3vw, 40px);
  padding: clamp(20px, 3vw, 28px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.nav-mega__intro {
  padding-right: clamp(12px, 2vw, 24px);
  border-right: 1px solid var(--line);
}

.nav-mega__eyebrow {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-bright);
  margin-bottom: 8px;
}

.nav-mega__lead {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--slate);
  margin-bottom: 16px;
}

.nav-mega__overview {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--brand);
  transition: color var(--transition);
}

.nav-mega__overview::after {
  content: "";
  width: 0.4em;
  height: 0.4em;
  border-right: 1.75px solid currentColor;
  border-top: 1.75px solid currentColor;
  transform: rotate(45deg);
  transition: transform var(--transition);
}

.nav-mega__overview:hover {
  color: var(--brand-bright);
}

.nav-mega__overview:hover::after {
  transform: rotate(45deg) translate(1px, -1px);
}

.nav-mega__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-mega__link {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  color: var(--slate);
  text-decoration: none;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.nav-mega__link:hover {
  background: var(--brand-glow);
  color: var(--brand);
  transform: translateY(-1px);
}

.nav-mega__num {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--surface-blue);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
}

.nav-mega__copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.nav-mega__copy strong {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}

.nav-mega__copy span {
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--muted);
}

.nav-mega__link:hover .nav-mega__copy strong {
  color: var(--brand-bright);
}

.nav__cta-mobile {
  display: none;
}

.header__cta {
  flex-shrink: 0;
  background: var(--brand);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-sm);
}

.header__cta:hover {
  background: var(--brand-bright, #0090d3);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow);
}

.nav__cta-mobile .btn--primary {
  background: var(--brand);
  color: #fff;
  border-color: transparent;
}

.nav__cta-mobile .btn--primary:hover {
  background: var(--brand-bright, #0090d3);
  color: #fff;
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 10px;
}

.burger__line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all var(--transition);
}

.burger--active .burger__line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.burger--active .burger__line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.burger--active .burger__line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ---- Hero ---- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 80px) 0 140px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__mesh {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero-mesh);
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.hero__orb--1 {
  width: 480px;
  height: 480px;
  top: -120px;
  right: -80px;
  background: rgba(115, 217, 255, 0.35);
}

.hero__orb--2 {
  width: 320px;
  height: 320px;
  bottom: 0;
  left: -60px;
  background: rgba(55, 92, 173, 0.15);
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: center;
}

.hero__trust {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 28px;
  padding: 10px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-xs);
}

.hero__trust h1,
.hero__kicker {
  margin: 0;
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
}

.hero__trust-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--brand-light);
}

.hero__title {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin: 0 0 24px;
}

.hero__title em {
  font-style: normal;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 40px;
  font-weight: 400;
}

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

.hero__visual {
  position: relative;
}

.dashboard {
  background: var(--surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.dashboard::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-brand);
}

.dashboard__header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 18px 24px;
  background: var(--surface-soft);
  border-bottom: 1px solid var(--line);
}

.dashboard__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  opacity: 0.7;
}

.dashboard__dot--red { background: #f87171; }
.dashboard__dot--yellow { background: #fbbf24; }
.dashboard__dot--green { background: var(--success); }

.dashboard__title {
  margin-left: 10px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.dashboard__body {
  padding: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.dashboard__kpi {
  padding: 20px;
  background: var(--surface-soft);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
}

.dashboard__kpi-label {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.dashboard__kpi-value {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.03em;
  margin: 4px 0;
}

.dashboard__kpi-trend {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--success);
}

.dashboard__chart {
  grid-column: 1 / -1;
  padding: 20px;
  background: var(--surface-soft);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
}

.dashboard__bars {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 88px;
}

.dashboard__bar {
  flex: 1;
  height: var(--h);
  background: var(--gradient-brand);
  border-radius: 6px 6px 2px 2px;
  opacity: 0.9;
  transform-origin: bottom;
  transform: scaleY(0);
  animation: barGrow 1.4s var(--ease) forwards;
}

.dashboard__bar:nth-child(1) { animation-delay: 0.15s; }
.dashboard__bar:nth-child(2) { animation-delay: 0.25s; }
.dashboard__bar:nth-child(3) { animation-delay: 0.35s; }
.dashboard__bar:nth-child(4) { animation-delay: 0.45s; }
.dashboard__bar:nth-child(5) { animation-delay: 0.55s; }
.dashboard__bar:nth-child(6) { animation-delay: 0.65s; }

@keyframes barGrow {
  to { transform: scaleY(1); }
}

.dashboard__line-wrap {
  grid-column: 1 / -1;
  height: 64px;
  padding: 12px;
  background: var(--surface-soft);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
}

.dashboard__line {
  width: 100%;
  height: 100%;
}

.dashboard__insight {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: linear-gradient(135deg, rgba(55, 92, 173, 0.06), rgba(115, 217, 255, 0.1));
  border: 1px solid rgba(0, 144, 211, 0.15);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
}

.dashboard__insight-icon {
  width: 20px;
  height: 20px;
  color: var(--brand-bright);
  flex-shrink: 0;
}

.hero__float {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.hero__float--1 {
  width: 140px;
  height: 140px;
  top: -30px;
  right: -40px;
  border: 1px solid rgba(115, 217, 255, 0.4);
  background: rgba(115, 217, 255, 0.08);
  animation: float 7s ease-in-out infinite;
}

.hero__float--2 {
  width: 90px;
  height: 90px;
  bottom: 60px;
  left: -30px;
  border: 1px solid rgba(55, 92, 173, 0.2);
  animation: float 9s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(3deg); }
}

/* Hero V1 ÃÂÃÂÃÂÃÂ¢ÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂ SaaS marketing (index.html) */
.hero--v1 {
  padding-bottom: clamp(100px, 12vw, 160px);
}

.hero--v1 .hero__grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(55, 92, 173, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(55, 92, 173, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 65% 40%, #000 20%, transparent 75%);
}

.hero--v1 .hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  padding: 8px 16px 8px 12px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--slate);
  letter-spacing: 0.01em;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-xs);
  backdrop-filter: blur(8px);
}

.hero--v1 .hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.15);
  flex-shrink: 0;
}

.hero--v1 .hero__title {
  font-size: clamp(2.35rem, 4.8vw, 3.65rem);
  max-width: 14ch;
}

.hero--v1 .hero__subtitle {
  max-width: 34rem;
  margin-bottom: 36px;
}

.hero--v1 .hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.hero--v1 .hero__proof li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero--v1 .hero__proof strong {
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
}

.hero--v1 .hero__proof span {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted);
}

.hero-saas {
  position: relative;
  z-index: 2;
}

.hero-saas__glow {
  position: absolute;
  inset: 10% -8% -10% -8%;
  background: radial-gradient(ellipse at 50% 50%, rgba(115, 217, 255, 0.22) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.hero-saas__window {
  position: relative;
  z-index: 1;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.6) inset,
    var(--shadow-lg),
    0 40px 80px rgba(55, 92, 173, 0.12);
  overflow: hidden;
}

.hero-saas__window::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-brand);
}

.hero-saas__toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  background: var(--surface-soft);
  border-bottom: 1px solid var(--line);
}

.hero-saas__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  opacity: 0.75;
}

.hero-saas__dot--red { background: #f87171; }
.hero-saas__dot--yellow { background: #fbbf24; }
.hero-saas__dot--green { background: var(--success); }

.hero-saas__toolbar-title {
  margin-left: 8px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-saas__toolbar-pill {
  margin-left: auto;
  padding: 4px 10px;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-glow);
  border-radius: var(--radius-full);
}

.hero-saas__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-saas__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.hero-saas__metric {
  padding: 14px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.hero-saas__metric-label {
  display: block;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 6px;
}

.hero-saas__metric-value {
  display: block;
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
}

.hero-saas__metric-trend {
  display: block;
  margin-top: 4px;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--success);
}

.hero-saas__chart {
  padding: 16px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.hero-saas__chart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--slate);
}

.hero-saas__chart-badge {
  padding: 3px 8px;
  font-size: 0.625rem;
  font-weight: 700;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
}

.hero-saas__bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 96px;
}

.hero-saas__bar {
  flex: 1;
  height: var(--h);
  background: linear-gradient(180deg, rgba(115, 217, 255, 0.5) 0%, rgba(55, 92, 173, 0.35) 100%);
  border-radius: 6px 6px 2px 2px;
  transform-origin: bottom;
  transform: scaleY(0);
  animation: barGrow 1.2s var(--ease) forwards;
}

.hero-saas__bar:nth-child(1) { animation-delay: 0.1s; }
.hero-saas__bar:nth-child(2) { animation-delay: 0.18s; }
.hero-saas__bar:nth-child(3) { animation-delay: 0.26s; }
.hero-saas__bar:nth-child(4) { animation-delay: 0.34s; }
.hero-saas__bar:nth-child(5) { animation-delay: 0.42s; }
.hero-saas__bar:nth-child(6) { animation-delay: 0.5s; }
.hero-saas__bar:nth-child(7) { animation-delay: 0.58s; }

.hero-saas__bar--active {
  background: var(--gradient-brand);
  box-shadow: 0 4px 16px rgba(0, 144, 211, 0.25);
}

.hero-saas__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hero-saas__action {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: linear-gradient(135deg, rgba(55, 92, 173, 0.04), rgba(115, 217, 255, 0.08));
  border: 1px solid rgba(0, 144, 211, 0.12);
  border-radius: var(--radius-md);
  font-size: 0.8125rem;
}

.hero-saas__action-num {
  font-size: 0.6875rem;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: 0.04em;
}

.hero-saas__action-text {
  font-weight: 600;
  color: var(--ink);
}

.hero-saas__action-priority {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  white-space: nowrap;
}

.hero-saas__float {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  font-size: 0.75rem;
  line-height: 1.35;
  color: var(--muted);
  animation: float 6s ease-in-out infinite;
}

.hero-saas__float-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-saas__float-copy strong {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--ink);
}

.hero-saas__float--notify {
  top: -18px;
  right: -12px;
  animation-delay: 0.5s;
}

.hero-saas__float-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(13, 148, 136, 0.12);
  color: var(--success);
  font-size: 0.875rem;
  font-weight: 700;
  flex-shrink: 0;
}

.hero-saas__float--insight {
  bottom: 28px;
  left: -24px;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 14px 18px;
  animation-delay: 1s;
  animation-direction: reverse;
}

.hero-saas__float-value {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--brand-bright);
  line-height: 1;
}

/* Hero V4 ÃÂÃÂÃÂÃÂ¢ÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂ Minimal typographique */
.hero--v4 {
  padding-top: calc(var(--header-h) + 56px);
  padding-bottom: 80px;
}

.hero--v4 .hero__bg {
  display: none;
}

.hero--v4 .hero__grid {
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}

.hero--v4 .hero__title {
  font-size: clamp(2.5rem, 3.8vw, 3.75rem);
  line-height: 1.05;
}

.hero--v4 .hero__subtitle {
  max-width: 38rem;
  margin-bottom: 32px;
}

.hero--v4 .hero__trust {
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
  text-transform: none;
  font-size: 0.875rem;
  letter-spacing: 0;
  margin-bottom: 28px;
  color: var(--brand-bright);
  font-weight: 600;
}

.hero--v4 .hero__trust-dot {
  display: none;
}

.hero--v4 .hero__trust span:not(.hero__trust-dot) + span::before {
  content: " ÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂ· ";
  color: var(--muted);
  margin: 0 4px;
}

.hero--v4 .hero__visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero--v4 .hero__photo {
  margin: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  aspect-ratio: 16 / 9;
  max-height: clamp(140px, 20vw, 220px);
}

.hero--v4 .hero__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero--v4 .hero__insight-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

.hero--v4 .hero__insight-card {
  padding: 24px 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transform-origin: center center;
  transition:
    transform 0.85s var(--ease),
    opacity 0.85s var(--ease),
    box-shadow 0.85s var(--ease),
    border-color 0.85s var(--ease);
  will-change: transform, opacity;
}

.hero--v4 .hero__insight-num {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--brand-bright);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.hero--v4 .hero__insight-card strong {
  display: block;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.hero--v4 .hero__insight-card p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Slider vertical ÃÂÃÂÃÂÃÂ¢ÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂ scale / translateY / opacity uniquement, carte active toujours centrÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂ©e */
.hero--v4 .hero__insight-stack--slider {
  --insight-slot: 64px;
  position: relative;
  min-height: clamp(200px, 22vw, 260px);
  gap: 0;
}

.hero--v4 .hero__insight-stack--slider .hero__insight-card {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  margin: 0;
  width: 100%;
  opacity: 0.4;
  transform: translateY(-50%) scale(0.92);
  z-index: 1;
  pointer-events: none;
}

.hero--v4 .hero__insight-stack--slider .hero__insight-card[data-offset="0"] {
  opacity: 1;
  transform: translateY(-50%) scale(1.04);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 144, 211, 0.22);
  z-index: 3;
  pointer-events: auto;
}

.hero--v4 .hero__insight-stack--slider .hero__insight-card[data-offset="1"] {
  opacity: 0.58;
  transform: translateY(calc(-50% + var(--insight-slot))) scale(0.94);
  z-index: 2;
}

.hero--v4 .hero__insight-stack--slider .hero__insight-card[data-offset="2"] {
  opacity: 0.32;
  transform: translateY(calc(-50% + var(--insight-slot) * 2)) scale(0.88);
  z-index: 1;
}

.hero--v4 .hero__insight-stack--slider .hero__insight-card[data-offset="-1"] {
  opacity: 0.58;
  transform: translateY(calc(-50% - var(--insight-slot))) scale(0.94);
  z-index: 2;
}

.hero--v4 .hero__insight-stack--slider .hero__insight-card[data-offset="-2"] {
  opacity: 0.32;
  transform: translateY(calc(-50% - var(--insight-slot) * 2)) scale(0.88);
  z-index: 1;
}

/* Hero Cover ÃÂÃÂÃÂÃÂ¢ÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂ grande image de fond */
.hero--cover {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100vh;
  min-height: 100dvh;
  height: auto;
  padding: calc(var(--header-h) + clamp(24px, 4vw, 48px)) 0 clamp(20px, 3vh, 36px);
  color: #fff;
  box-sizing: border-box;
  overflow: visible;
}

.hero--cover .hero__cover {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
  pointer-events: none;
  overflow: hidden;
  border-radius: inherit;
}

.hero--cover .hero__cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
}

.hero--cover .hero__cover-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      105deg,
      rgba(5, 12, 28, 0.88) 0%,
      rgba(5, 12, 28, 0.72) 38%,
      rgba(5, 12, 28, 0.45) 62%,
      rgba(5, 12, 28, 0.55) 100%
    ),
    linear-gradient(
      180deg,
      rgba(5, 12, 28, 0.5) 0%,
      transparent 32%,
      rgba(5, 12, 28, 0.55) 100%
    );
}

.hero--cover .container {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3vh, 40px);
  justify-content: flex-end;
  align-items: stretch;
  min-height: 0;
  width: 100%;
}

.hero--cover .hero__content {
  max-width: 42rem;
  flex-shrink: 0;
  align-self: flex-start;
  text-align: left;
  width: 100%;
}

.hero--cover .hero__topics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 0;
  flex-shrink: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  overflow: hidden;
}

.hero-topic {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: clamp(20px, 2.5vw, 28px) clamp(20px, 2.8vw, 32px);
}

.hero-topic:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-topic__label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-light);
}

.hero-topic__title {
  font-size: clamp(0.9375rem, 1.4vw, 1.0625rem);
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
}

.hero-topic__desc {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.65);
}

.hero--cover .hero__title {
  font-size: clamp(3rem, 6vw, 4.75rem);
  line-height: 1.02;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.hero--cover .hero__title em {
  background: linear-gradient(135deg, #73d9ff 0%, #a8e8ff 55%, #fff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero--cover .hero__subtitle {
  color: rgba(255, 255, 255, 0.78);
  max-width: 36rem;
  margin-bottom: 32px;
}

.hero--cover .hero__trust {
  display: block;
  background: none;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  color: #fff;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 0.875rem;
  margin-bottom: 24px;
  padding: 0;
  border-radius: 0;
}

.hero--cover .hero__actions .btn--primary {
  background-color: var(--brand-bright);
  background-image: linear-gradient(135deg, #375cad 0%, #0090d3 100%);
  color: #fff;
  border: none;
  overflow: hidden;
  box-shadow: 0 4px 28px rgba(0, 144, 211, 0.5);
}

.hero--cover .hero__actions .btn--primary:hover {
  background-color: #00a0e8;
  background-image: linear-gradient(135deg, #3d66b8 0%, #00a0e8 100%);
  color: #fff;
  box-shadow: 0 8px 36px rgba(0, 144, 211, 0.6);
  transform: translateY(-2px);
}

.hero--cover .hero__actions .btn--outline {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero--cover .hero__actions .btn--outline:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: #fff;
  color: #fff;
}

.hero__scroll {
  position: relative;
  left: auto;
  bottom: auto;
  z-index: 2;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  align-self: center;
  gap: 2px;
  transform: none;
  margin-top: clamp(8px, 1.5vh, 16px);
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.hero__scroll:hover,
.hero__scroll:focus-visible {
  color: #fff;
}

.hero__scroll-icon {
  display: flex;
  animation: hero-scroll-bounce 1.8s ease-in-out infinite;
}

.hero__scroll-icon .material-symbols-outlined {
  font-size: 28px;
  line-height: 1;
}

@keyframes hero-scroll-bounce {
  0%, 100% { transform: translateY(0); opacity: 0.7; }
  50% { transform: translateY(6px); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__scroll-icon {
    animation: none;
  }
}

/* Header transparent sur hero cover (haut de page) */
body:has(.hero--cover) .header:not(.header--scrolled)::before {
  background: rgba(5, 12, 28, 0.2);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

body:has(.hero--cover) .header:not(.header--scrolled) .nav__link,
body:has(.hero--cover) .header:not(.header--scrolled) .nav__trigger {
  color: rgba(255, 255, 255, 0.88);
}

body:has(.hero--cover) .header:not(.header--scrolled) .nav__link:hover,
body:has(.hero--cover) .header:not(.header--scrolled) .nav__trigger:hover,
body:has(.hero--cover) .header:not(.header--scrolled) .nav__link.is-active,
body:has(.hero--cover) .header:not(.header--scrolled) .nav__trigger[aria-expanded="true"] {
  color: #fff;
}

body:has(.hero--cover) .header:not(.header--scrolled) .logo__img {
  filter: brightness(0) invert(1);
}

body:has(.hero--cover) .header:not(.header--scrolled) .burger {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
}

body:has(.hero--cover) .header:not(.header--scrolled) .burger__line {
  background: #fff;
}

/* ---- Sections ---- */
.section {
  padding: var(--section-y) 0;
  position: relative;
}

.section--alt {
  background: var(--surface-soft);
}

.section--blue {
  background: var(--surface-blue);
}

.section__header {
  max-width: 640px;
  margin-bottom: 64px;
}

.section__header--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-bright);
  margin-bottom: 16px;
}

.section__label::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--gradient-brand);
  border-radius: 2px;
}

.section__header--center .section__label::before {
  display: none;
}

.section__title {
  font-size: clamp(1.875rem, 3.2vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 18px;
}

.section__intro {
  font-size: 1.0625rem;
  color: var(--muted);
  line-height: 1.75;
}

/* Visuels ÃÂÃÂÃÂÃÂ¢ÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂ casser les blocs trop textuels */
.section-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  margin-bottom: 64px;
}

.section-split__content .section__title {
  margin-bottom: 18px;
}

.section-split__media {
  margin: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}

.section-split__media img {
  width: 100%;
  height: 100%;
  min-height: clamp(260px, 32vw, 380px);
  object-fit: cover;
  display: block;
}

.photo-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}

.photo-strip__item {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(5, 12, 28, 0.06);
  box-shadow: var(--shadow-xs);
}

.photo-strip__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.photo-strip__item:hover img {
  transform: scale(1.04);
}

.photo-strip--3 {
  grid-template-columns: repeat(3, 1fr);
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.section-banner {
  margin: 0 0 56px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.section-banner img {
  width: 100%;
  height: clamp(200px, 28vw, 360px);
  object-fit: cover;
  display: block;
}

.section__label--light {
  color: var(--brand-light);
}

.section__label--light::before {
  background: var(--brand-light);
}

/* ---- Cards ---- */
.cards-grid {
  display: grid;
  gap: 24px;
}

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

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

.card {
  background: var(--surface);
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0;
  background: var(--gradient-brand);
  transition: height var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 144, 211, 0.2);
}

.card:hover::after {
  height: 3px;
}

.card__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-glow);
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  color: var(--brand);
}

.card__icon svg {
  width: 26px;
  height: 26px;
}

.card__title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 12px;
}

.card__text {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.7;
}

/* Sector cards */
.sector-card {
  background: var(--surface);
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
  counter-increment: sector;
  position: relative;
}

.section--blue .sector-card,
.section--alt .sector-card {
  background: var(--surface);
}

.sector-card::before {
  content: counter(sector, decimal-leading-zero);
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--brand-light);
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

#secteurs .cards-grid {
  counter-reset: sector;
}

.sector-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.sector-tile {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  min-height: 0;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  color: var(--ink);
  transition:
    border-color var(--transition),
    box-shadow var(--transition),
    transform var(--transition),
    color var(--transition);
}

.sector-tile__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  color: var(--brand);
  background: var(--surface-blue);
  border: 1px solid rgba(0, 144, 211, 0.12);
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.sector-tile__icon .material-symbols-outlined {
  font-size: 22px;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  line-height: 1;
}

.sector-tile__title {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.sector-tile:hover {
  border-color: rgba(0, 144, 211, 0.28);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
  color: var(--brand-bright);
}

.sector-tile:hover .sector-tile__icon {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.sector-tile:hover .sector-tile__title {
  color: var(--brand-bright);
}

.section__foot {
  margin-top: 32px;
  text-align: center;
}

.section__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--brand-bright);
}

.section__link::after {
  content: "";
  width: 0.4em;
  height: 0.4em;
  border-right: 1.75px solid currentColor;
  border-top: 1.75px solid currentColor;
  transform: rotate(45deg);
  transition: transform var(--transition);
}

.section__link:hover {
  color: var(--brand);
}

.section__link:hover::after {
  transform: rotate(45deg) translate(1px, -1px);
}

#votre-projet .section-split {
  margin-bottom: 40px;
}

/* Votre projet ÃÂÃÂÃÂÃÂ¢ÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂ bleu + buste absolute ÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂ  droite */
.projets {
  --projets-person-w: clamp(260px, 34vw, 440px);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(ellipse 70% 50% at 10% 0%, rgba(115, 217, 255, 0.35) 0%, transparent 50%),
    linear-gradient(155deg, #1a3a7a 0%, #2a5fad 48%, #0084c4 100%);
}

.projets__wrap {
  position: relative;
  z-index: 1;
  min-height: clamp(520px, 70vh, 700px);
  display: flex;
  align-items: center;
}

.projets__main {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: calc(100% - var(--projets-person-w) - 32px);
  padding: clamp(8px, 2vw, 16px) 0;
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vw, 40px);
}

.projets__intro-copy .section__label {
  color: var(--brand-light);
}

.projets__intro-copy .section__title {
  color: #fff;
  max-width: 14ch;
}

.projets__intro-copy .section__intro {
  color: rgba(255, 255, 255, 0.8);
  max-width: 34rem;
  margin-bottom: 0;
}

.projets-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.projet-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
  padding: clamp(20px, 2.4vw, 26px);
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 28px rgba(5, 12, 28, 0.12);
  overflow: hidden;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.projet-card__label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-bright);
}

.projet-card__title {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: var(--ink);
  max-width: 16ch;
}

.projet-card__text {
  flex: 1;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--slate);
  max-width: 36ch;
  margin: 0;
}

.projet-card__cta {
  margin-top: 4px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition), color var(--transition);
}

.projet-card__cta::after {
  content: "";
  width: 0.4em;
  height: 0.4em;
  border-right: 1.75px solid currentColor;
  border-top: 1.75px solid currentColor;
  transform: rotate(45deg);
  transition: transform var(--transition);
}

.projet-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(5, 12, 28, 0.16);
  border-color: rgba(115, 217, 255, 0.55);
}

.projet-card:hover .projet-card__cta {
  color: var(--brand-bright);
  gap: 10px;
}

.projet-card:hover .projet-card__cta::after {
  transform: rotate(45deg) translate(2px, -2px);
}

.projet-card:focus-visible {
  outline: 2px solid var(--brand-light);
  outline-offset: 3px;
}

.projets__person {
  --projets-gutter: clamp(20px, 4vw, 40px);
  position: absolute;
  bottom: 0;
  right: calc(max(0px, (90% - var(--container)) / 2) + var(--projets-gutter));
  width: 100%;
  height: 94%;
  z-index: 0;
  pointer-events: none;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.projets__person img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  object-position: right bottom;
}

.projets .section__foot {
  margin-top: 0;
  text-align: left;
}

.projets .section__link {
  color: var(--brand-light);
}

.projets .section__link:hover {
  color: #fff;
}

.sector-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(55, 92, 173, 0.25);
}

.sector-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 10px;
}

.sector-card__text {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 20px;
}

.sector-card__link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand-bright);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition);
}

.sector-card__link:hover {
  gap: 10px;
  color: var(--brand);
}

/* Expertises ÃÂÃÂÃÂÃÂ¢ÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂ grille de cartes cliquables */
.expertises-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.expertise-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 220px;
  padding: 26px 24px 22px;
  text-decoration: none;
  color: inherit;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition),
    background var(--transition);
}

.expertise-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 144, 211, 0.22);
  background: var(--surface);
}

.expertise-card:focus-visible {
  outline: 2px solid var(--brand-bright);
  outline-offset: 3px;
}

.expertise-card__icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--brand);
  background: var(--surface-blue);
  border: 1px solid rgba(0, 144, 211, 0.12);
  border-radius: var(--radius-md);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.expertise-card__icon svg {
  width: 22px;
  height: 22px;
}

.expertise-card:hover .expertise-card__icon {
  color: var(--white);
  background: var(--gradient-brand);
  border-color: transparent;
}

.expertise-card__title {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.3;
}

.expertise-card__text {
  flex: 1;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 18px;
}

.expertise-card__cta {
  margin-top: auto;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--brand-bright);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition), color var(--transition);
}

.expertise-card__cta::after {
  content: "";
  width: 0.4em;
  height: 0.4em;
  border-right: 1.75px solid currentColor;
  border-top: 1.75px solid currentColor;
  transform: rotate(45deg);
  transition: transform var(--transition);
}

.expertise-card:hover .expertise-card__cta {
  color: var(--brand);
  gap: 10px;
}

.expertise-card:hover .expertise-card__cta::after {
  transform: rotate(45deg) translate(2px, -2px);
}

.expertises__foot {
  margin-top: 36px;
  text-align: center;
}

.expertises__all {
  display: inline-flex;
  align-items: center;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--brand);
  transition: color var(--transition);
}

.expertises__all:hover {
  color: var(--brand-bright);
}

/* ---- Stats ---- */
.stats {
  background: var(--ink);
  color: var(--surface);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.stats > .container {
  position: relative;
  z-index: 1;
}

.stats::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(ellipse 55% 45% at 18% 42%, rgba(55, 92, 173, 0.22) 0%, transparent 58%),
    radial-gradient(ellipse 50% 40% at 82% 28%, rgba(115, 217, 255, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse 40% 35% at 62% 78%, rgba(0, 144, 211, 0.1) 0%, transparent 50%);
  animation: statsMeshDrift 22s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

.stats::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    radial-gradient(circle at center, rgba(115, 217, 255, 0.22) 1px, transparent 1px);
  background-size: 48px 48px, 48px 48px, 24px 24px;
  background-position: 0 0, 0 0, 0 0;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.35) 100%);
  opacity: 0.45;
  animation: statsPatternShift 36s linear infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes statsMeshDrift {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(3%, -2%) scale(1.06);
  }
}

@keyframes statsPatternShift {
  0% {
    background-position: 0 0, 0 0, 0 0;
  }
  100% {
    background-position: 48px 48px, 48px 48px, 24px 24px;
  }
}

.stats .section__label {
  color: var(--brand-light);
}

.stats .section__label::before {
  background: var(--brand-light);
}

.stats .section__title {
  color: var(--surface);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.certifications {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: clamp(40px, 6vw, 56px);
  padding-top: clamp(32px, 5vw, 48px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
}

.certification-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 18px 28px;
  min-width: 220px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  text-align: center;
}

.certification-badge__iso {
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--brand-light);
}

.certification-badge__text {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.65);
}

.stat {
  text-align: center;
  padding: 40px 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
  transition: all var(--transition);
}

.stat:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(115, 217, 255, 0.2);
  transform: translateY(-4px);
}

.stat__number {
  display: block;
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #ffffff 0%, var(--brand-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat__label {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.45;
  font-weight: 500;
}

/* ---- Timeline ---- */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  position: relative;
}

.timeline--7 {
  grid-template-columns: repeat(4, 1fr);
  gap: 24px 20px;
}

@media (min-width: 1101px) {
  .timeline--7 {
    grid-template-columns: repeat(7, 1fr);
  }

  .timeline--7::before {
    left: 6%;
    right: 6%;
  }

  .timeline--7 .timeline__number {
    width: 52px;
    height: 52px;
    font-size: 0.875rem;
    margin-bottom: 16px;
  }

  .timeline--7 .timeline__title {
    font-size: 0.9375rem;
  }

  .timeline--7 .timeline__text {
    font-size: 0.8125rem;
  }
}

.timeline::before {
  content: "";
  position: absolute;
  top: 40px;
  left: 14%;
  right: 14%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand-light), transparent);
}

.timeline__step {
  text-align: center;
  position: relative;
}

.timeline__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  font-size: 1rem;
  font-weight: 800;
  color: var(--surface);
  background: var(--ink);
  border-radius: 50%;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
}

.timeline__step:hover .timeline__number {
  background: var(--gradient-brand);
  transform: scale(1.05);
}

.timeline__title {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 10px;
}

.timeline__text {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ---- Atouts (sous le hero) ---- */
.atouts {
  position: relative;
  z-index: 2;
  padding: clamp(40px, 5vw, 56px) 0;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.atouts__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 32px);
}

.atout {
  text-align: center;
  padding: 8px 12px;
}

.atout__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  color: var(--brand);
  background: var(--surface-blue);
  border: 1px solid rgba(0, 144, 211, 0.12);
  border-radius: var(--radius-md);
}

.atout__icon .material-symbols-outlined {
  font-size: 26px;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  line-height: 1;
}

.atout__title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 8px;
}

.atout__text {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
  max-width: 28ch;
  margin-inline: auto;
}

/* ---- Filters & Articles ---- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 48px;
}

.filter-btn {
  padding: 10px 20px;
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover {
  color: var(--ink);
  border-color: var(--brand-bright);
}

.filter-btn--active {
  background: var(--ink);
  color: var(--surface);
  border-color: var(--ink);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.article-card {
  background: var(--surface);
  padding: 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
  overflow: hidden;
}

.article-card__media {
  display: block;
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface-muted);
  color: inherit;
  text-decoration: none;
}

.article-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
  pointer-events: none;
}

.article-card:hover .article-card__media img {
  transform: scale(1.04);
}

.article-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 28px 32px 32px;
}

.article-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: rgba(55, 92, 173, 0.2);
}

.article-card.hidden {
  display: none;
}

.pagination {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.pagination[hidden] {
  display: none !important;
}

.pagination__list,
.pagination ul.page-numbers,
.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pagination ul.page-numbers li,
.pagination .nav-links .page-numbers {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Shared pill look: maquette buttons + WP paginate_links */
.pagination__btn,
.pagination a.page-numbers,
.pagination span.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  box-sizing: border-box;
  transition: background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.pagination__btn:hover:not(:disabled):not(.is-active),
.pagination a.page-numbers:hover {
  border-color: var(--brand-bright);
  color: var(--brand-bright);
}

.pagination__btn.is-active,
.pagination span.page-numbers.current {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  cursor: default;
}

.pagination__btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.pagination__ellipsis,
.pagination span.page-numbers.dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  min-height: 42px;
  padding: 0 4px;
  border: none;
  background: transparent;
  color: var(--muted);
  font-weight: 600;
  cursor: default;
}

.pagination a.prev.page-numbers,
.pagination a.next.page-numbers {
  padding-inline: 18px;
}

.pagination__meta {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--muted);
}

.blog-empty {
  margin: 24px 0 0;
  text-align: center;
  color: var(--muted);
}

.blog-empty[hidden] {
  display: none !important;
}

.filter-btn__count {
  margin-left: 4px;
  opacity: 0.65;
  font-weight: 500;
}

.article-card__category {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand);
  background: var(--brand-glow);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 0;
  width: fit-content;
  border: none;
  font-family: var(--font);
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
}

.article-card__category:hover {
  background: var(--brand);
  color: #fff;
}

.article-card__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 14px;
}

.article-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.article-card__tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--slate);
  background: var(--surface-muted, #f4f7fb);
  border: 1px solid var(--line);
  padding: 3px 9px;
  border-radius: var(--radius-full);
  font-family: var(--font);
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.article-card__tag:hover {
  border-color: var(--brand-bright);
  color: var(--brand-bright);
  background: rgba(0, 144, 211, 0.08);
}

.blog-filters {
  margin: 0 0 20px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.blog-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
}

.blog-toolbar__field {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}

.blog-toolbar__input,
.blog-toolbar__select {
  display: block;
  width: 100%;
  box-sizing: border-box;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-family: var(--font);
  font-size: 0.875rem;
  line-height: 1.3;
  appearance: auto;
  -webkit-appearance: auto;
}

.blog-toolbar__select {
  cursor: pointer;
}

.blog-toolbar__input:focus,
.blog-toolbar__select:focus {
  outline: 2px solid rgba(0, 144, 211, 0.3);
  outline-offset: 1px;
  border-color: var(--brand-bright);
}

.blog-toolbar__actions {
  display: flex;
  align-items: center;
}

.blog-toolbar__reset {
  min-height: 40px;
  padding: 0 12px;
  border: none;
  background: transparent;
  color: var(--muted);
  font-family: var(--font);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}

.blog-toolbar__reset:hover {
  color: var(--brand-bright);
}

.blog-results {
  margin: 10px 0 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
}

.page-hub--decryptages .page-hero {
  padding: calc(var(--header-h) + 20px) 0 28px;
}

.page-hub--decryptages .breadcrumb {
  margin-bottom: 14px;
}

.page-hub--decryptages .page-hero__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 10px;
}

.page-hub--decryptages .section__intro {
  margin-bottom: 0.75rem;
  font-size: 0.975rem;
  max-width: 42rem;
}

.page-hub--decryptages .section__intro:last-child {
  margin-bottom: 0;
}

.page-hub--decryptages .section--blog {
  padding-top: 28px;
  padding-bottom: clamp(48px, 7vw, 72px);
}

@media (max-width: 900px) {
  .blog-toolbar {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .blog-toolbar__reset {
    width: 100%;
    text-align: left;
    padding-left: 2px;
  }
}

.article-card__date {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-bottom: 14px;
}

.article-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.35;
  margin-bottom: 12px;
}

.article-card__title a {
  color: inherit;
  text-decoration: none;
}

.article-card__title a:hover {
  color: var(--brand-bright);
}

.article-card__excerpt {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 20px;
}

.article-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-size: 0.875rem;
  font-weight: 600;
}

.article-card__link::after {
  content: "";
  width: 0.35em;
  height: 0.35em;
  border-right: 1.75px solid currentColor;
  border-top: 1.75px solid currentColor;
  transform: rotate(45deg);
  transition: transform var(--transition);
}

.article-card__link:hover::after {
  transform: rotate(45deg) translate(1px, -1px);
}

/* ---- Page article (blog) ---- */
.page-hero.page-hero--article {
  padding: 0;
  background: var(--ink);
  border-bottom: none;
}

.article-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(420px, 72vw, 640px);
  overflow: hidden;
  color: var(--surface);
  background: var(--ink);
}

/* No featured image: solid dark hero, no empty media / squeezed layout */
.article-hero--no-media {
  min-height: auto;
  justify-content: center;
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(115, 217, 255, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(47, 107, 255, 0.22), transparent 50%),
    var(--ink);
}

.article-hero--no-media .article-hero__content {
  padding-top: calc(var(--header-h) + clamp(40px, 6vw, 72px));
  padding-bottom: clamp(40px, 6vw, 64px);
}

.article-hero-media {
  position: absolute;
  inset: 0;
  margin: 0;
  z-index: 0;
}

.article-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.article-hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(5, 12, 28, 0.45) 0%,
      rgba(5, 12, 28, 0.2) 28%,
      rgba(5, 12, 28, 0.35) 55%,
      rgba(5, 12, 28, 0.82) 100%
    ),
    linear-gradient(
      90deg,
      rgba(5, 12, 28, 0.35) 0%,
      transparent 55%
    );
}

.article-hero__content {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--header-h) + clamp(48px, 8vw, 88px));
  padding-bottom: clamp(40px, 6vw, 64px);
}

.page-hero--article .breadcrumb {
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: clamp(20px, 3vw, 28px);
}

.page-hero--article .breadcrumb a {
  color: var(--brand-light);
}

.page-hero--article .breadcrumb a:hover {
  color: #fff;
}

.page-hero--article .breadcrumb [aria-current="page"] {
  color: rgba(255, 255, 255, 0.78);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-bottom: 18px;
}

.article-meta .article-card__category {
  margin-bottom: 0;
  color: var(--ink);
  background: rgba(115, 217, 255, 0.92);
}

.article-meta__date,
.article-meta__reading {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
}

.article-meta__sep {
  color: rgba(255, 255, 255, 0.4);
}

.page-hero--article .page-hero__title {
  font-size: clamp(1.875rem, 4.5vw, 3rem);
  max-width: 22ch;
  color: #fff;
  text-wrap: balance;
  margin-bottom: 16px;
  text-shadow: 0 2px 24px rgba(5, 12, 28, 0.35);
}

.page-hero--article .page-hero__lead {
  margin-bottom: 0;
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.82);
  text-shadow: 0 1px 12px rgba(5, 12, 28, 0.25);
}

.article-hero__content--center {
  text-align: center;
}

.article-hero__content--center .breadcrumb,
.article-hero__content--center .article-meta {
  justify-content: center;
}

.page-hero--article .article-hero__content--center .page-hero__title {
  max-width: 28ch;
  margin-left: auto;
  margin-right: auto;
}

.page-hero--article .article-hero__content--center .page-hero__lead {
  margin-left: auto;
  margin-right: auto;
}

.page-realisation .container--article {
  max-width: 720px;
}

.article-body {
  padding-top: clamp(56px, 8vw, 88px);
  padding-bottom: clamp(40px, 6vw, 64px);
}

.article-body .container--article {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--slate);
}

.article-body__lead {
  font-size: clamp(1.1875rem, 2vw, 1.3125rem);
  line-height: 1.7;
  color: var(--ink-soft);
  font-weight: 500;
  margin: 0 0 clamp(36px, 5vw, 52px);
  padding-bottom: clamp(28px, 4vw, 36px);
  border-bottom: 1px solid var(--line);
  max-width: 65ch;
}

.article-layout__main h2,
.article-layout__main h3,
.article-layout__main h4,
.article-layout__main h5,
.article-layout__main h6,
.article-body .entry-content h2,
.article-body .entry-content h3,
.article-body .entry-content h4,
.article-body .entry-content h5,
.article-body .entry-content h6,
.article-body .entry-content .wp-block-heading {
  max-width: 65ch;
  background: none !important;
  background-color: transparent !important;
  background-image: none !important;
  border: none !important;
  border-width: 0 !important;
  border-style: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: none;
  padding: 0 !important;
  text-decoration: none;
}

.article-layout__main h2,
.article-body .entry-content h2 {
  font-size: clamp(1.375rem, 2.4vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.25;
  color: var(--ink);
  margin: clamp(40px, 5vw, 56px) 0 18px;
}

.article-layout__main h3,
.article-body .entry-content h3 {
  font-size: clamp(1.125rem, 1.8vw, 1.3125rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: var(--ink);
  margin: clamp(28px, 3.5vw, 40px) 0 12px;
}

.article-layout__main h4,
.article-body .entry-content h4 {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.4;
  color: var(--ink-soft);
  margin: 1.5em 0 0.55em;
}

.article-layout__main h5,
.article-layout__main h6,
.article-body .entry-content h5,
.article-body .entry-content h6 {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.4;
  color: var(--ink-soft);
  margin: 1.35em 0 0.45em;
  text-transform: none;
}

.article-layout__main h2:first-child,
.article-layout__main h3:first-child,
.article-layout__main h4:first-child,
.article-layout__main h5:first-child,
.article-layout__main h6:first-child,
.article-layout__main > .reveal > :first-child,
.article-layout__main > .entry-content > :first-child,
.article-body .entry-content > :first-child {
  margin-top: 0;
}

/* Neutralise WP utility classes on headings (fond / bordure / padding éditeur) */
.article-body .entry-content :is(h1, h2, h3, h4, h5, h6).has-background,
.article-body .entry-content :is(h1, h2, h3, h4, h5, h6)[class*="has-"],
.article-layout__main :is(h1, h2, h3, h4, h5, h6).has-background {
  background: transparent !important;
  background-color: transparent !important;
  padding: 0 !important;
  border: none !important;
}

.article-layout__main p {
  margin: 0 0 1.2em;
  color: var(--slate);
  line-height: 1.8;
  max-width: 65ch;
}

.article-layout__main a:not(.btn) {
  color: var(--brand);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.18em;
  text-decoration-color: rgba(55, 92, 173, 0.35);
  transition: color var(--transition), text-decoration-color var(--transition);
}

.article-layout__main a:not(.btn):hover {
  color: var(--brand-bright);
  text-decoration-color: rgba(0, 144, 211, 0.55);
}

.article-layout__main strong,
.article-layout__main b {
  font-weight: 700;
  color: var(--ink-soft);
}

.article-layout__main em,
.article-layout__main i {
  font-style: italic;
}

.article-layout__main mark {
  background: rgba(115, 217, 255, 0.35);
  color: var(--ink);
  padding: 0.05em 0.2em;
  border-radius: 3px;
}

.article-layout__main small {
  font-size: 0.875em;
  color: var(--muted);
}

.article-layout__main sub,
.article-layout__main sup {
  font-size: 0.75em;
  line-height: 0;
}

/* ---- Lists (classic + blocks) ----
   Scoped on .entry-content so WP the_content lists always match.
   Uses the same solid-bullet pattern as .mode-card (gradient ::before can fail to paint). */
.article-body .entry-content ul,
.article-body .entry-content ol,
.article-layout__main .entry-content ul,
.article-layout__main .entry-content ol,
.article-layout__main ul,
.article-layout__main ol {
  margin: 0 0 1.5em;
  padding: 0;
  color: var(--slate);
  line-height: 1.75;
  max-width: 65ch;
  list-style: none !important;
}

.article-body .entry-content ul ul,
.article-body .entry-content ol ol,
.article-body .entry-content ul ol,
.article-body .entry-content ol ul,
.article-layout__main ul ul,
.article-layout__main ol ol,
.article-layout__main ul ol,
.article-layout__main ol ul {
  margin: 0.55em 0 0.35em;
}

.article-body .entry-content li,
.article-layout__main .entry-content li,
.article-layout__main li {
  position: relative;
  margin: 0 0 0.75em;
  padding-left: 1.65em;
  color: var(--slate);
  line-height: 1.75;
}

.article-body .entry-content li:last-child,
.article-layout__main li:last-child {
  margin-bottom: 0;
}

.article-body .entry-content ul > li::before,
.article-layout__main .entry-content ul > li::before,
.article-layout__main ul > li::before {
  content: "" !important;
  position: absolute;
  left: 0.15em;
  top: 0.65em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-bright);
  box-shadow: 0 0 0 3px var(--brand-glow);
  display: block;
}

.article-body .entry-content ol,
.article-layout__main .entry-content ol,
.article-layout__main ol {
  counter-reset: qt-ol;
}

.article-body .entry-content ol > li,
.article-layout__main .entry-content ol > li,
.article-layout__main ol > li {
  counter-increment: qt-ol;
  padding-left: 2.35em;
}

.article-body .entry-content ol > li::before,
.article-layout__main .entry-content ol > li::before,
.article-layout__main ol > li::before {
  content: counter(qt-ol) !important;
  position: absolute;
  left: 0;
  top: 0.05em;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.65em;
  height: 1.65em;
  border-radius: 999px;
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 800;
  font-style: normal;
  letter-spacing: -0.02em;
  color: var(--brand);
  background: var(--surface-blue);
  border: 1px solid rgba(0, 144, 211, 0.22);
  line-height: 1;
  box-shadow: none;
}

.article-body .entry-content li > ul,
.article-body .entry-content li > ol,
.article-layout__main li > ul,
.article-layout__main li > ol {
  margin-top: 0.55em;
}

.article-body .entry-content .wp-block-list,
.article-layout__main .wp-block-list {
  margin: 0 0 1.5em;
  padding: 0;
  max-width: 65ch;
}

.article-layout__main dl {
  margin: 0 0 1.5em;
  max-width: 65ch;
}

.article-layout__main dt {
  font-weight: 700;
  color: var(--ink);
  margin-top: 0.85em;
}

.article-layout__main dt:first-child {
  margin-top: 0;
}

.article-layout__main dd {
  margin: 0.25em 0 0;
  padding-left: 1em;
  border-left: 2px solid rgba(0, 144, 211, 0.25);
  color: var(--slate);
}

/* ---- Blockquotes (classic + gutenberg) ---- */
.article-layout__main blockquote,
.article-layout__main .wp-block-quote,
.article-layout__main .wp-block-pullquote {
  margin: clamp(28px, 4vw, 40px) 0;
  padding: clamp(20px, 3vw, 28px) clamp(22px, 3vw, 32px);
  border-left: 3px solid var(--brand-bright);
  background: var(--surface-blue);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  max-width: 65ch;
}

.article-layout__main blockquote p,
.article-layout__main .wp-block-quote p {
  margin: 0 0 0.75em;
  max-width: none;
  font-size: 1.125rem;
  font-weight: 600;
  font-style: italic;
  line-height: 1.7;
  color: var(--ink-soft);
}

.article-layout__main blockquote p:last-child,
.article-layout__main .wp-block-quote p:last-child {
  margin-bottom: 0;
}

.article-layout__main blockquote cite,
.article-layout__main .wp-block-quote cite,
.article-layout__main .wp-block-quote__citation,
.article-layout__main .wp-block-pullquote cite,
.article-layout__main .wp-block-pullquote__citation {
  display: block;
  margin-top: 12px;
  font-size: 0.875rem;
  font-weight: 600;
  font-style: normal;
  color: var(--muted);
}

.article-layout__main .wp-block-pullquote {
  border-left: none;
  border-top: 3px solid var(--brand-bright);
  border-bottom: 3px solid var(--brand-bright);
  border-radius: var(--radius-md);
  text-align: center;
  background: var(--surface-soft);
}

.article-layout__main .wp-block-pullquote blockquote {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  border-radius: 0;
}

.article-layout__main .wp-block-quote.is-style-large p,
.article-layout__main .wp-block-quote.is-large p {
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
}

/* ---- Text alignment (classic + blocks) ---- */
.article-layout__main .alignleft,
.article-layout__main .has-text-align-left {
  text-align: left;
}

.article-layout__main .aligncenter,
.article-layout__main .has-text-align-center {
  text-align: center;
}

.article-layout__main .alignright,
.article-layout__main .has-text-align-right {
  text-align: right;
}

.article-layout__main .has-text-align-justify {
  text-align: justify;
}

.article-layout__main img.alignleft,
.article-layout__main .wp-caption.alignleft,
.article-layout__main .wp-block-image .alignleft,
.article-layout__main .wp-block-image.alignleft {
  float: left;
  margin: 0.35em 1.5em 1em 0;
  max-width: min(50%, 320px);
}

.article-layout__main img.alignright,
.article-layout__main .wp-caption.alignright,
.article-layout__main .wp-block-image .alignright,
.article-layout__main .wp-block-image.alignright {
  float: right;
  margin: 0.35em 0 1em 1.5em;
  max-width: min(50%, 320px);
}

.article-layout__main img.aligncenter,
.article-layout__main .wp-caption.aligncenter,
.article-layout__main .wp-block-image .aligncenter,
.article-layout__main .wp-block-image.aligncenter,
.article-layout__main .wp-block-image:has(img.aligncenter) {
  display: block;
  float: none;
  margin-left: auto;
  margin-right: auto;
}

.article-layout__main::after,
.article-layout__main .reveal::after {
  content: "";
  display: table;
  clear: both;
}

/* ---- Images & captions ---- */
.article-layout__main > .reveal > img,
.article-layout__main figure,
.article-layout__main .wp-block-image,
.article-layout__main .wp-caption {
  margin: 1.75em 0;
  max-width: 100%;
}

.article-layout__main img {
  height: auto;
  border-radius: var(--radius-md);
}

.article-layout__main .wp-caption,
.article-layout__main figure {
  max-width: 100%;
}

.article-layout__main .wp-caption img,
.article-layout__main figure img {
  margin: 0;
  width: 100%;
}

.article-layout__main .wp-caption-text,
.article-layout__main figcaption,
.article-layout__main .wp-element-caption {
  margin-top: 0.65em;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--muted);
  text-align: center;
}

/* ---- Galleries ---- */
.article-layout__main .gallery,
.article-layout__main .wp-block-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
  margin: 1.75em 0;
  max-width: none;
}

.article-layout__main .gallery-item,
.article-layout__main .wp-block-gallery .wp-block-image {
  margin: 0;
}

.article-layout__main .gallery-item img,
.article-layout__main .wp-block-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.article-layout__main .gallery-caption {
  margin-top: 0.4em;
  font-size: 0.8125rem;
  color: var(--muted);
  text-align: center;
}

/* ---- Tables ---- */
.article-layout__main table,
.article-layout__main .wp-block-table table {
  width: 100%;
  max-width: 65ch;
  margin: 1.75em 0;
  border-collapse: collapse;
  font-size: 0.9375rem;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
}

.article-layout__main thead {
  background: var(--ink);
  color: #fff;
}

.article-layout__main th,
.article-layout__main td {
  padding: 0.75em 1em;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.article-layout__main th {
  font-weight: 700;
  letter-spacing: -0.01em;
}

.article-layout__main tbody tr:nth-child(even) {
  background: var(--surface-soft);
}

.article-layout__main tbody tr:last-child td {
  border-bottom: none;
}

.article-layout__main .wp-block-table {
  margin: 1.75em 0;
  overflow-x: auto;
  max-width: 65ch;
}

/* ---- Code / pre ---- */
.article-layout__main code,
.article-layout__main kbd {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.875em;
  padding: 0.12em 0.4em;
  border-radius: 6px;
  background: var(--surface-muted);
  color: var(--ink-soft);
  border: 1px solid var(--line);
}

.article-layout__main pre,
.article-layout__main .wp-block-code,
.article-layout__main .wp-block-preformatted {
  margin: 1.75em 0;
  padding: 1.1em 1.25em;
  max-width: 65ch;
  overflow-x: auto;
  border-radius: var(--radius-md);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.875rem;
  line-height: 1.65;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.article-layout__main pre code,
.article-layout__main .wp-block-code code {
  padding: 0;
  border: none;
  background: none;
  color: inherit;
  font-size: inherit;
}

/* ---- Separators / HR ---- */
.article-layout__main hr,
.article-layout__main .wp-block-separator {
  border: none;
  height: 1px;
  margin: clamp(32px, 5vw, 48px) 0;
  max-width: 65ch;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}

.article-layout__main .wp-block-separator.is-style-wide,
.article-layout__main .wp-block-separator.alignwide {
  max-width: none;
}

.article-layout__main .wp-block-separator.is-style-dots {
  height: auto;
  background: none;
  text-align: center;
  line-height: 1;
  letter-spacing: 0.55em;
  color: var(--brand-bright);
}

.article-layout__main .wp-block-separator.is-style-dots::before {
  content: "Â·Â·Â·";
  font-size: 1.5rem;
  letter-spacing: 0.45em;
}

/* ---- Buttons / embeds from editor ---- */
.article-layout__main .wp-block-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 1.5em 0;
}

.article-layout__main .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7em 1.25em;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9375rem;
  text-decoration: none !important;
  background: var(--gradient-brand);
  color: #fff !important;
  transition: box-shadow var(--transition), transform var(--transition);
}

.article-layout__main .wp-block-button__link:hover {
  box-shadow: var(--shadow-glow);
  transform: translateY(-1px);
}

.article-layout__main iframe,
.article-layout__main .wp-block-embed__wrapper {
  max-width: 100%;
  border-radius: var(--radius-md);
}

.article-layout__main .wp-block-embed {
  margin: 1.75em 0;
}

/* ---- Responsive floats ---- */
@media (max-width: 720px) {
  .article-layout__main img.alignleft,
  .article-layout__main img.alignright,
  .article-layout__main .wp-caption.alignleft,
  .article-layout__main .wp-caption.alignright,
  .article-layout__main .wp-block-image.alignleft,
  .article-layout__main .wp-block-image.alignright,
  .article-layout__main .wp-block-image .alignleft,
  .article-layout__main .wp-block-image .alignright {
    float: none;
    display: block;
    margin: 1.25em auto;
    max-width: 100%;
  }
}

.article-quote {
  margin: clamp(40px, 5vw, 56px) 0;
  padding: clamp(24px, 3vw, 32px) clamp(24px, 3vw, 36px);
  border-left: 3px solid var(--brand-bright);
  background: var(--surface-blue);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.article-quote p {
  margin: 0;
  max-width: none;
  font-size: 1.125rem;
  font-weight: 600;
  font-style: italic;
  line-height: 1.7;
  color: var(--ink-soft);
}

.article-quote__cite {
  display: block;
  margin-top: 14px;
  font-size: 0.875rem;
  font-weight: 600;
  font-style: normal;
  color: var(--muted);
}

.article-takeaways {
  margin-top: clamp(48px, 6vw, 72px);
  padding: clamp(28px, 4vw, 40px);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.article-takeaways h2 {
  margin-top: 0;
  margin-bottom: 18px;
  font-size: 1.1875rem;
}

.article-takeaways ul {
  margin-bottom: 0;
  max-width: none;
}

.article-author {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(20px, 3vw, 28px);
  align-items: start;
  margin-top: clamp(40px, 5vw, 56px);
  padding: clamp(24px, 3.5vw, 32px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.article-author__photo {
  width: 88px;
  height: 88px;
  border-radius: var(--radius-full);
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--surface);
  box-shadow: 0 0 0 1px var(--line);
}

.article-author__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-author__label {
  margin: 0 0 4px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-bright);
}

.article-author__name {
  margin: 0 0 4px;
  font-size: 1.1875rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.25;
}

.article-author__role {
  margin: 0 0 12px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--slate);
}

.article-author__bio {
  margin: 0;
  max-width: none;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--muted);
}

.article-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: clamp(40px, 6vw, 64px);
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.article-footer__back {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--brand-bright);
}

.article-footer__back:hover {
  color: var(--brand);
}

@media (max-width: 1024px) {
  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-aside__sticky {
    position: static;
    gap: 12px;
    margin-top: clamp(40px, 6vw, 56px);
    padding-top: clamp(32px, 5vw, 48px);
    border-top: 1px solid var(--line);
  }

  .article-aside .article-author {
    flex-direction: row;
    align-items: start;
    gap: 16px;
  }
}

@media (max-width: 640px) {
  .article-aside .article-author {
    flex-direction: column;
  }

  .article-author {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .article-author__photo {
    width: 72px;
    height: 72px;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---- Contact ---- */
.contact {
  background: var(--ink);
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 80% at 0% 100%, rgba(115, 217, 255, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse 40% 60% at 100% 0%, rgba(55, 92, 173, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.contact__wrapper {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 64px;
  align-items: start;
}

.contact__title {
  font-size: clamp(1.875rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--surface);
  line-height: 1.15;
  margin-bottom: 20px;
}

.contact__text {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.75;
  margin-bottom: 12px;
}

.contact__note {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--brand-light);
  margin-bottom: 36px;
}

.contact__details p {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 10px;
}

.contact__details strong {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
  margin-right: 8px;
}

.contact__details a {
  color: var(--brand-light);
}

.contact__details a:hover {
  color: var(--surface);
}

.contact__form {
  background: var(--surface);
  padding: 40px;
  border-radius: var(--radius-xl);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group--full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.01em;
}

.form-group label span {
  color: var(--brand-bright);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px 18px;
  font-family: var(--font);
  font-size: 0.9375rem;
  color: var(--ink);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--muted);
  opacity: 0.7;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  background: var(--surface);
  border-color: var(--brand-bright);
  box-shadow: 0 0 0 4px var(--brand-glow);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact__form .btn--primary {
  grid-column: 1 / -1;
  background: var(--gradient-brand);
}

.contact__form .btn--primary:hover {
  background: var(--ink);
}

/* ---- FAQ ---- */
.faq {
  border-top: 1px solid var(--line);
}

.faq__item {
  border-bottom: 1px solid var(--line);
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  background: none;
  border: none;
  font-family: var(--font);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: color var(--transition);
}

.faq__question:hover {
  color: var(--brand-bright);
}

.faq__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  position: relative;
  transition: all var(--transition);
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  background: var(--brand-bright);
  border-radius: 2px;
  transition: transform var(--transition);
}

.faq__icon::before {
  width: 12px;
  height: 2px;
  top: 17px;
  left: 12px;
}

.faq__icon::after {
  width: 2px;
  height: 12px;
  top: 12px;
  left: 17px;
}

.faq__item--open .faq__icon {
  background: var(--ink);
  border-color: var(--ink);
}

.faq__item--open .faq__icon::before,
.faq__item--open .faq__icon::after {
  background: var(--surface);
}

.faq__item--open .faq__icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease), padding 0.45s var(--ease);
}

.faq__item--open .faq__answer {
  max-height: 320px;
  padding-bottom: 28px;
}

.faq__answer p {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 90%;
}

/* ---- Footer ---- */
.footer {
  background: var(--surface-soft);
  border-top: 1px solid var(--line);
  padding-top: 80px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 48px;
  padding-bottom: 56px;
}

.footer__desc {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 300px;
  margin-top: 20px;
}

.footer__heading {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.footer__nav ul li {
  margin-bottom: 10px;
}

.footer__nav a {
  font-size: 0.875rem;
  color: var(--muted);
  font-weight: 500;
}

.footer__nav a:hover {
  color: var(--brand-bright);
}

.footer__contact p {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 8px;
}

.footer__contact a {
  color: var(--slate);
  font-weight: 500;
}

.footer__contact .btn--outline {
  margin-top: 20px;
}

.footer__bottom {
  border-top: 1px solid var(--line);
  padding: 28px 0;
}

.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8125rem;
  color: var(--muted);
}

.footer__bottom nav {
  display: flex;
  gap: 28px;
}

.footer__bottom a {
  color: var(--muted);
}

.footer__bottom a:hover {
  color: var(--brand-bright);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
}

/* —— Pages légales —— */
.page-legal .legal-content {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
}

.page-legal .legal-content h2 {
  margin: 2.5rem 0 1rem;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.page-legal .legal-content h2:first-child {
  margin-top: 0;
}

.page-legal .legal-content p,
.page-legal .legal-content li {
  color: var(--muted-ink, var(--muted));
}

.page-legal .legal-content ul,
.page-legal .legal-content ol {
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
}

.page-legal .legal-content li {
  margin-bottom: 0.5rem;
}

.page-legal .legal-content a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.page-legal .legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0 1.75rem;
  font-size: 0.9375rem;
}

.page-legal .legal-content th,
.page-legal .legal-content td {
  border: 1px solid var(--line);
  padding: 0.75rem 1rem;
  text-align: left;
  vertical-align: top;
}

.page-legal .legal-content th {
  background: var(--surface-alt, var(--surface));
  font-weight: 600;
  color: var(--ink);
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
}

.legal-nav a {
  color: var(--brand);
  font-weight: 600;
}

.legal-nav a:hover {
  text-decoration: underline;
}

.page-hero--legal {
  padding-bottom: 2rem;
}

/* ---- Reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

.form-success {
  grid-column: 1 / -1;
  padding: 16px 20px;
  background: rgba(13, 148, 136, 0.08);
  border: 1px solid rgba(13, 148, 136, 0.25);
  border-radius: var(--radius-sm);
  color: var(--success);
  font-weight: 600;
  font-size: 0.9375rem;
  text-align: center;
}

/* Nav mega ÃÂÃÂÃÂÃÂ¢ÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂ desktop */
@media (min-width: 1101px) {
  .nav__list {
    position: static;
  }

  .nav-mega {
    margin-top: -18px;
    padding-top: 18px;
  }

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

  .nav__item--mega.is-mega-hover .nav-mega,
  .nav__item--mega:hover .nav-mega,
  .nav__item--mega:focus-within .nav-mega {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .header:has(.nav__item--mega.is-mega-hover) .header__overlay,
  .header:has(.nav__item--mega:hover) .header__overlay,
  .header:has(.nav__item--mega:focus-within) .header__overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: none;
  }
}

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

@media (max-width: 1100px) {
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-height: none;
    flex: none;
    justify-content: flex-start;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    padding: 8px 0 20px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 1002;
  }

  .nav--open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 0 8px;
    width: 100%;
  }

  .nav__list > li {
    border-bottom: none;
  }

  .nav__link,
  .nav__trigger {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    margin: 0;
    border-radius: 10px;
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--ink);
    text-align: left;
    background: transparent;
  }

  .nav__link:hover,
  .nav__trigger:hover {
    background: var(--surface-muted, #f4f7fb);
    color: var(--ink);
  }

  /* Pas de soulignement desktop sur mobile */
  .nav__link::after,
  .nav__trigger::after {
    display: none !important;
    width: 0 !important;
  }

  .nav__trigger {
    justify-content: space-between;
    gap: 12px;
  }

  .nav__item--mega.is-open > .nav__trigger {
    background: var(--surface-muted, #f4f7fb);
    color: var(--brand-bright);
  }

  .nav__caret {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    margin-right: 2px;
  }

  /* ---- Sous-menus : accordÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂ©on simple ---- */
  .nav-mega {
    position: static !important;
    left: auto;
    right: auto;
    top: auto;
    z-index: auto;
    display: none;
    padding: 0 6px 10px 6px !important;
    margin: 0 !important;
    border: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
  }

  .nav-mega::before {
    display: none !important;
    height: 0 !important;
  }

  .nav__item--mega.is-open .nav-mega {
    display: block;
  }

  .nav-mega__panel {
    display: block;
    max-width: none;
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    gap: 0;
  }

  /* Intro compacte : un seul lien utile */
  .nav-mega__intro {
    padding: 0 8px 8px;
    margin: 0 0 4px;
    border: none;
  }

  .nav-mega__eyebrow,
  .nav-mega__lead {
    display: none;
  }

  .nav-mega__overview {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--brand-bright);
    background: rgba(0, 144, 211, 0.08);
    text-decoration: none;
  }

  .nav-mega__overview::after {
    margin-left: auto;
  }

  .nav-mega__overview:hover {
    background: rgba(0, 144, 211, 0.12);
  }

  .nav-mega__grid,
  .nav-mega__grid--3 {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    gap: 2px !important;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .nav-mega__grid > li {
    margin: 0;
    padding: 0;
  }

  .nav-mega__link {
    display: block;
    align-items: stretch;
    gap: 0;
    padding: 12px 14px;
    border-radius: 10px;
    border: none;
    transform: none;
    color: var(--ink);
    text-decoration: none;
  }

  .nav-mega__link:hover,
  .nav-mega__link:focus-visible {
    background: var(--surface-muted, #f4f7fb);
    transform: none;
    color: var(--ink);
  }

  .nav-mega__num {
    display: none !important;
  }

  .nav-mega__copy {
    display: block;
    gap: 0;
    width: 100%;
    min-width: 0;
  }

  .nav-mega__copy strong {
    display: block;
    font-size: 0.975rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--ink);
  }

  /* Descriptions masquÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂ©es : trop denses sur mobile */
  .nav-mega__copy span {
    display: none;
  }

  .nav-mega__link:hover .nav-mega__copy strong {
    color: var(--brand-bright);
  }

  .nav__cta-mobile {
    display: block;
    margin: 12px 8px 0;
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }

  .nav__cta-mobile .btn {
    width: 100%;
    justify-content: center;
  }

  .header__cta {
    display: none;
  }

  .burger {
    display: flex;
  }

  .header__overlay.is-visible {
    pointer-events: auto;
  }
}

@media (max-width: 1100px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .hero__visual {
    max-width: 540px;
    margin: 0 auto;
  }

  .hero--v4 .hero__grid {
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: start;
  }

  .hero--v4 .hero__insight-stack--slider {
    --insight-slot: 56px;
    min-height: 240px;
  }

  .hero--cover .hero__topics {
    grid-template-columns: 1fr;
  }

  .hero-topic:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .projets__intro-copy .section__title {
    max-width: none;
  }

  .projets {
    --projets-person-w: 0px;
  }

  .projets__wrap {
    min-height: 0;
  }

  .projets__main {
    max-width: 100%;
  }

  .projets__person {
    display: none;
  }

  .projets .section__foot {
    text-align: center;
  }

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

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

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

  .timeline::before {
    display: none;
  }

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

  .section-split {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 48px;
  }

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

  .photo-strip--3 {
    max-width: none;
  }

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

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

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

@media (max-width: 768px) {
  :root {
    --header-h: 72px;
    --section-y: 80px;
  }

  .hero {
    padding-bottom: 80px;
  }

  .hero__trust {
    font-size: 0.6875rem;
    gap: 8px;
    padding: 8px 14px;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .cards-grid--3,
  .cards-grid--4,
  .expertises-grid,
  .projets-grid,
  .sector-tiles {
    grid-template-columns: 1fr;
  }

  .certification-badge {
    min-width: 0;
    flex: 1 1 calc(50% - 8px);
  }

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

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

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

  .photo-strip,
  .photo-strip--3 {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 36px;
  }

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

  .article-card__body {
    padding: 24px;
  }

  .contact__form {
    grid-template-columns: 1fr;
    padding: 28px 24px;
  }

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

  .footer__bottom-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer__bottom nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .dashboard__body {
    grid-template-columns: 1fr;
  }

  .logo__img {
    height: 28px;
  }
}

/* ---- Pages intÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂ©rieures ---- */
.page-hero {
  padding: calc(var(--header-h) + 48px) 0 clamp(56px, 8vw, 88px);
  background: var(--gradient-hero-mesh);
  border-bottom: 1px solid var(--line);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: clamp(24px, 4vw, 36px);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--brand-bright);
}

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

.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.page-hero__title {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: var(--ink);
  margin-bottom: 18px;
}

.page-hero__lead {
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  line-height: 1.7;
  color: var(--slate);
  max-width: 36rem;
  margin-bottom: 28px;
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Hero centrÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂ© sans visuel */
.page-hero__content--centered {
  max-width: 46rem;
  margin-inline: auto;
  text-align: center;
}

.page-hero__content--centered .page-hero__lead {
  margin-inline: auto;
}

.page-hero__content--centered .page-hero__actions {
  justify-content: center;
}

.page-hero__content--centered .page-hero__stats {
  max-width: 34rem;
  margin-inline: auto;
}

.page-hero__visual {
  margin: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.page-hero__visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.page-hero__visual figcaption {
  padding: 12px 16px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.page-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.page-hero__stats li {
  padding: 16px 14px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
}

.page-hero__stats strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 4px;
}

.page-hero__stats span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.35;
}

/* Cabinet ÃÂÃÂÃÂÃÂ¢ÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂ hero avec portrait marque */
.page-cabinet .page-hero--cabinet {
  padding: calc(var(--header-h) + 28px) 0 clamp(40px, 6vw, 64px);
  overflow: hidden;
}

.page-cabinet .page-hero--cabinet .breadcrumb {
  margin-bottom: clamp(18px, 2.5vw, 28px);
}

.page-cabinet .page-hero--cabinet .page-hero__grid {
  gap: clamp(28px, 4vw, 56px);
  align-items: stretch;
}

.page-cabinet .page-hero--cabinet .page-hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(8px, 2vw, 24px);
}

.page-cabinet .page-hero--cabinet .page-hero__title {
  font-size: clamp(2.15rem, 4.4vw, 3.1rem);
  margin-bottom: 16px;
  max-width: 14ch;
}

.page-cabinet .page-hero--cabinet .page-hero__lead {
  font-size: clamp(1.02rem, 1.7vw, 1.125rem);
  margin-bottom: 28px;
  max-width: 34rem;
}

.page-cabinet .page-hero--cabinet .page-hero__aside {
  position: relative;
  min-height: clamp(340px, 52vh, 520px);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 70% 15%, rgba(115, 217, 255, 0.28) 0%, transparent 55%),
    linear-gradient(160deg, #0a1428 0%, #1a3a7a 48%, #0078b8 115%);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.page-cabinet .page-hero--cabinet .page-hero__portrait {
  position: absolute;
  inset: 0 0 72px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}

.page-cabinet .page-hero--cabinet .page-hero__portrait img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center top;
}

.page-cabinet .page-hero--cabinet .page-hero__stats {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  margin: 0;
  gap: 0;
  grid-template-columns: repeat(2, 1fr);
  background: rgba(5, 12, 28, 0.58);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.page-cabinet .page-hero--cabinet .page-hero__stats li {
  padding: 16px 12px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.page-cabinet .page-hero--cabinet .page-hero__stats li:last-child {
  border-right: 0;
}

.page-cabinet .page-hero--cabinet .page-hero__stats strong {
  color: #fff;
  font-size: 1.35rem;
}

.page-cabinet .page-hero--cabinet .page-hero__stats span {
  color: rgba(255, 255, 255, 0.72);
}

/* Cabinet ÃÂÃÂÃÂÃÂ¢ÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂ engagements & ÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂ©quipe */
.cabinet-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.cabinet-split__col {
  position: relative;
  padding-left: clamp(20px, 2.5vw, 28px);
  border-left: 2px solid rgba(0, 144, 211, 0.28);
}

.cabinet-split__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  color: var(--brand-bright);
  background: rgba(0, 144, 211, 0.08);
  border-radius: var(--radius-sm);
}

.cabinet-split__icon .material-symbols-outlined {
  font-size: 24px;
  line-height: 1;
}

.cabinet-split__title {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 14px;
}

.cabinet-split__text {
  margin: 0 0 22px;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--slate);
  max-width: 36rem;
}

.cabinet-split__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cabinet-split__tags li {
  padding: 7px 12px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--brand);
  background: var(--surface);
  border: 1px solid rgba(55, 92, 173, 0.16);
  border-radius: var(--radius-sm);
}

@media (max-width: 800px) {
  .cabinet-split {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

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

.feature-card {
  padding: clamp(24px, 3vw, 32px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  transition: transform var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.feature-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--muted);
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.tag-cloud li {
  padding: 10px 18px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
}

.sector-tabs__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.sector-tabs__btn {
  padding: 10px 18px;
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}

.sector-tabs__btn:hover {
  color: var(--ink);
  border-color: var(--line-strong);
}

.sector-tabs__btn.is-active {
  color: var(--surface);
  background: var(--brand-bright);
  border-color: var(--brand-bright);
}

.sector-tabs__panel {
  padding: clamp(28px, 4vw, 40px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  animation: page-panel-in 0.4s var(--ease);
}

.sector-tabs__panel[hidden] {
  display: none;
}

.sector-tabs__panel p {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--slate);
  max-width: 52rem;
}

@keyframes page-panel-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.mode-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

.mode-card--terrain {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 32px);
  align-items: start;
}

.mode-card--terrain .mode-card__body {
  min-width: 0;
}

.mode-stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: stretch;
  min-height: 100%;
  padding: clamp(24px, 3vw, 36px);
  text-align: center;
  color: #fff;
  background: linear-gradient(145deg, var(--ink) 0%, var(--brand) 52%, var(--brand-bright) 100%);
  border-radius: calc(var(--radius-lg) - 4px);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.mode-stat::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image: radial-gradient(circle at 20% 80%, #fff 1px, transparent 1px);
  background-size: 18px 18px;
  pointer-events: none;
}

.mode-stat::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 60%;
  height: 80%;
  background: radial-gradient(circle, rgba(115, 217, 255, 0.35) 0%, transparent 70%);
  pointer-events: none;
}

.mode-stat > * {
  position: relative;
  z-index: 1;
}

.mode-stat__eyebrow {
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 10px;
}

.mode-stat__value {
  font-size: clamp(2.25rem, 4.5vw, 3.125rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 8px;
  background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0.82) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.mode-stat__unit {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 16px;
}

.mode-stat__desc {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.8125rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
}

.mode-card {
  padding: clamp(24px, 3vw, 32px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-xs);
}

.mode-card--quali {
  background: linear-gradient(160deg, #f0f7fc 0%, var(--surface) 100%);
}

.mode-card--quanti {
  background: linear-gradient(160deg, #eef2f9 0%, var(--surface) 100%);
}

.mode-card--terrain {
  background: linear-gradient(160deg, #edf8f6 0%, var(--surface) 100%);
}

.mode-card__share {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-bright);
  margin-bottom: 10px;
}

.mode-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 12px;
}

.mode-card > p {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--slate);
  margin-bottom: 16px;
}

.mode-card ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mode-card li {
  position: relative;
  padding-left: 18px;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--muted);
}

.mode-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-bright);
}


.terrain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.terrain-card {
  padding: 20px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.terrain-card h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.terrain-card p {
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--muted);
}

.office-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 720px;
  margin-inline: auto;
}

.office-card {
  padding: clamp(28px, 4vw, 36px);
  font-style: normal;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
}

.office-card__label {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-bright);
  margin-bottom: 8px;
}

.office-card h3 {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 10px;
}

.office-card p {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--slate);
}

.office-card__hint {
  color: var(--muted);
  font-size: 0.875rem;
}

.office-phone {
  margin-top: 28px;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 700;
}

.page-cta {
  padding: clamp(56px, 8vw, 80px) 0;
  background: var(--ink);
  color: var(--surface);
}

.page-cta__inner {
  text-align: center;
  max-width: 40rem;
  margin-inline: auto;
}

.page-cta__title {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.page-cta__text {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 28px;
}

.page-cta .btn--primary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--surface);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
}

.page-cta .btn--primary:hover {
  background: var(--brand-light);
  border-color: var(--brand-light);
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(115, 217, 255, 0.35);
}

.page-cta--rich {
  position: relative;
  overflow: hidden;
}

.page-cta--rich::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 85% 20%, rgba(115, 217, 255, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse 50% 60% at 10% 90%, rgba(55, 92, 173, 0.2) 0%, transparent 50%);
  pointer-events: none;
}

.page-cta--rich .page-cta__inner {
  position: relative;
  z-index: 1;
}

.page-cta--rich .section__label {
  margin-bottom: 20px;
}

.page-cta__actions {
  margin-bottom: 32px;
}

.page-cta__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(20px, 4vw, 48px);
  list-style: none;
  padding: 24px 0 0;
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.page-cta__meta li {
  text-align: center;
}

.page-cta__meta-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 6px;
}

.page-cta__meta a {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--brand-light);
}

.page-cta__meta a:hover {
  color: #fff;
}

/* ---- Landing pages secteurs ---- */
.sector-hero {
  padding: calc(var(--header-h) + 40px) 0 clamp(48px, 7vw, 72px);
  background: var(--gradient-hero-mesh);
  border-bottom: 1px solid var(--line);
}

.sector-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.sector-hero__title {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: var(--ink);
  margin-bottom: 18px;
}

.sector-hero__title em {
  font-style: normal;
  color: var(--brand);
}

.sector-hero__lead {
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  line-height: 1.7;
  color: var(--slate);
  max-width: 36rem;
  margin-bottom: 28px;
}

.sector-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.sector-hero__actions .btn--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 24px rgba(55, 92, 173, 0.28);
}

.sector-hero__actions .btn--primary:hover {
  background: var(--brand-bright);
  color: #fff;
  box-shadow: var(--shadow-glow);
}

.sector-hero__trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0;
}

.sector-hero__trust li {
  position: relative;
  padding: 0;
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--muted);
  background: none;
  border: none;
  border-radius: 0;
}

.sector-hero__trust li:not(:last-child)::after {
  content: "";
  display: inline-block;
  width: 3px;
  height: 3px;
  margin: 0 12px;
  border-radius: 50%;
  background: rgba(107, 124, 154, 0.55);
  vertical-align: middle;
}

.sector-hero__visual {
  margin: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.sector-hero__visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.section__label--light {
  color: var(--brand-light);
}

.section__label--light::before {
  background: var(--brand-light);
}

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

/* Section éditoriale */
.lp-editorial {
  padding: clamp(72px, 10vw, var(--section-y)) 0;
}

.lp-editorial__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.lp-editorial__content .section__title {
  margin-bottom: 18px;
}

.lp-audience {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin-top: 28px;
}

.lp-audience li {
  padding: 10px 16px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
}

.lp-editorial__figure {
  position: relative;
  margin: 0;
  max-width: min(100%, 400px);
  margin-left: auto;
}

.lp-editorial__figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: 300px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.lp-editorial__caption {
  position: absolute;
  left: 20px;
  bottom: 20px;
  padding: 10px 14px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #fff;
  background: rgba(5, 12, 28, 0.72);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
}

/* Parallax */
.lp-parallax {
  position: relative;
  min-height: clamp(260px, 36vh, 360px);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.lp-parallax__bg {
  position: absolute;
  inset: 0;
  background-image: var(--lp-parallax-img);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  opacity: 0.22;
  filter: saturate(0.85) contrast(1.05);
}

.lp-parallax__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(10, 28, 72, 0.82) 0%, rgba(55, 92, 173, 0.78) 50%, rgba(0, 120, 184, 0.72) 100%);
}

.lp-parallax__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-block: clamp(40px, 5vw, 56px);
}

.lp-parallax__quote {
  margin: 0 auto 28px;
  max-width: 52rem;
  border: none;
}

.lp-parallax__quote p {
  margin: 0;
  font-size: clamp(1.125rem, 2.4vw, 1.5rem);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -0.025em;
  color: #fff;
}

.lp-parallax__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  list-style: none;
}

.lp-parallax__chips li {
  padding: 9px 16px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
}

/* Bento apports secteurs */
.lp-bento {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.lp-bento__cell {
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.lp-bento__cell:hover {
  border-color: rgba(0, 144, 211, 0.22);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.lp-bento__num {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--brand-bright);
  margin-bottom: 14px;
}

.lp-bento__cell h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.lp-bento__cell p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--slate);
}

.page-sector [aria-labelledby="secteur-apports"] .section__foot {
  margin-top: clamp(28px, 4vw, 40px);
}

.page-sector [aria-labelledby="secteur-apports"] .btn--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 24px rgba(55, 92, 173, 0.28);
}

.page-sector [aria-labelledby="secteur-apports"] .btn--primary:hover {
  background: var(--brand-bright);
  color: #fff;
  box-shadow: var(--shadow-glow);
}

/* Showcase expertises */
.lp-showcase {
  padding: clamp(48px, 7vw, 80px) 0;
  background: var(--surface-soft);
}

.lp-showcase .section__header {
  margin-bottom: clamp(32px, 5vw, 56px);
}

.lp-showcase__row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 0;
  align-items: center;
  max-width: var(--container);
  margin: 0 auto 20px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.lp-showcase__row--reverse .lp-showcase__visual {
  order: 2;
}

.lp-showcase__row--reverse .lp-showcase__body {
  order: 1;
}

.lp-showcase__visual {
  overflow: hidden;
  max-height: 260px;
}

.lp-showcase__visual img {
  width: 100%;
  height: 260px;
  max-height: 260px;
  object-fit: cover;
  display: block;
}

.lp-showcase__row:last-child {
  margin-bottom: 0;
}

.lp-showcase__body {
  padding: clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.lp-showcase__tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-bright);
  margin-bottom: 12px;
}

.lp-showcase__body h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 14px;
}

.lp-showcase__body > p {
  margin-bottom: 18px;
  line-height: 1.7;
}

.lp-showcase__list {
  list-style: none;
  margin-bottom: 22px;
}

.lp-showcase__list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--slate);
}

.lp-showcase__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gradient-brand);
}

.lp-showcase__link {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--brand-bright);
}

.lp-showcase__link:hover {
  color: var(--brand);
}

/* Processus ÃÂÃÂÃÂÃÂ¢ÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂ bandeau sombre */
.lp-process {
  padding: clamp(64px, 9vw, 96px) 0;
  background: var(--ink);
  color: #fff;
}

.lp-process__head {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto clamp(36px, 5vw, 56px);
}

.lp-process__intro {
  margin-top: 14px;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
}

/* Variante claire du process (fond clair, texte lisible) */
.lp-process--light {
  background: var(--surface-soft);
  color: var(--slate);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.lp-process--light .lp-process__intro {
  color: var(--muted);
}

.lp-process--light .lp-process__step {
  background: var(--surface);
  border-color: var(--line);
  box-shadow: var(--shadow-xs);
}

.lp-process--light .lp-process__step:hover {
  background: var(--surface);
  border-color: rgba(55, 92, 173, 0.25);
  box-shadow: var(--shadow-sm);
}

.lp-process--light .lp-process__index {
  color: var(--brand-bright);
}

.lp-process--light .lp-process__step h3 {
  color: var(--ink);
}

.lp-process--light .lp-process__step p {
  color: var(--muted);
}

.lp-process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  list-style: none;
}

.lp-process__step {
  padding: 24px 20px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background var(--transition), border-color var(--transition);
}

.lp-process__step:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(115, 217, 255, 0.25);
}

.lp-process__index {
  display: block;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--brand-light);
  margin-bottom: 14px;
}

.lp-process__step h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.lp-process__step p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.68);
}

/* Grille autres secteurs */
.sector-link-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.sector-link {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 20px;
  min-height: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.sector-link:hover {
  border-color: rgba(0, 144, 211, 0.22);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
  color: var(--ink);
}

.sector-link__title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.sector-link__text {
  flex: 1;
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--muted);
}

.sector-link__cta {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--brand-bright);
  margin-top: 4px;
}

.sector-link:hover .sector-link__cta {
  color: var(--brand);
}

.sector-link-grid--center {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 960px;
  margin-inline: auto;
}

.sector-link--center {
  align-items: center;
  text-align: center;
  padding: 28px 24px;
}

.sector-link--center .sector-tile__icon {
  align-self: center;
}

.sector-link-overview {
  margin-top: 28px;
  text-align: center;
  font-size: 0.9375rem;
  font-weight: 600;
}

.sector-link-overview a {
  color: var(--brand-bright);
}

.sector-link-overview a:hover {
  color: var(--brand);
}

@media (max-width: 1100px) {
  .page-hero__grid,
  .sector-hero__grid {
    grid-template-columns: 1fr;
  }

  .lp-editorial__grid,
  .lp-showcase__row,
  .lp-showcase__row--reverse {
    grid-template-columns: 1fr;
  }

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

  .sector-link-grid--center {
    max-width: 640px;
  }

  .lp-showcase__row--reverse .lp-showcase__visual,
  .lp-showcase__row--reverse .lp-showcase__body {
    order: unset;
  }

  .lp-showcase__visual,
  .lp-showcase__visual img {
    max-height: 220px;
    height: 220px;
  }

  .lp-editorial__figure {
    max-width: 100%;
    margin-left: 0;
  }

  .lp-bento {
    grid-template-columns: 1fr 1fr;
  }

  .cross-push__grid {
    grid-template-columns: 1fr;
  }

  .sector-siblings__list {
    grid-template-columns: 1fr;
  }

  .sector-siblings__link:nth-child(odd),
  .sector-siblings__link:nth-child(even) {
    padding-left: 0;
    padding-right: 0;
    border-left: 0;
  }

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

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

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

@media (max-width: 768px) {
  .feature-grid,
  .mode-grid,
  .terrain-grid,
  .office-grid,
  .page-hero__stats,
  .lp-bento,
  .lp-process__steps,
  .sector-link-grid,
  .cross-push__grid {
    grid-template-columns: 1fr;
  }

  .lp-parallax__bg {
    background-attachment: scroll;
    inset: 0;
  }

  .lp-showcase__visual,
  .lp-showcase__visual img {
    max-height: 200px;
    height: 200px;
  }

  .mode-card--terrain {
    grid-template-columns: 1fr;
  }

  .sector-tabs__nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .xp-pillar,
  .xp-pillar--reverse {
    grid-template-columns: 1fr;
  }

  .xp-pillar--reverse .xp-pillar__visual {
    order: -1;
  }

  .xp-context__media {
    grid-template-columns: 1fr;
  }

  .xp-context__photo--secondary {
    max-width: 100%;
    margin-left: 0;
    margin-top: 0;
  }

  .xp-factors__inner {
    grid-template-columns: 1fr;
  }

  .xp-proof__grid {
    grid-template-columns: 1fr;
  }

  .xp-related__grid {
    grid-template-columns: 1fr;
  }

  .xp-hero__nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 4px;
  }
}

/* ============================================
   Pages expertises ÃÂÃÂÃÂÃÂ¢ÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂ approche ÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂ©ditoriale
   ============================================ */

.page-expertise,
.page-enjeu,
.page-accompagnement,
main.page-enjeu,
main.page-accompagnement {
  --xp-section-y: clamp(64px, 8vw, 96px);
}

.xp-hero {
  padding: calc(var(--header-h) + 28px) 0 clamp(32px, 5vw, 48px);
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.xp-hero .breadcrumb {
  margin-bottom: clamp(28px, 4vw, 40px);
}

.xp-hero__head {
  max-width: 42rem;
  padding-left: clamp(16px, 2vw, 24px);
  border-left: 4px solid var(--brand-bright);
}

.xp-hero__category {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-bright);
  margin-bottom: 12px;
}

.xp-hero__title {
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 10px;
}

.page-enjeu .xp-hero__title,
.page-accompagnement .xp-hero__title {
  font-size: clamp(1.75rem, 4.2vw, 2.75rem);
  line-height: 1.12;
  max-width: 18ch;
}

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

.page-enjeu .xp-related__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.xp-hero__subtitle {
  font-size: clamp(1.125rem, 2.2vw, 1.375rem);
  font-weight: 500;
  color: var(--muted);
  line-height: 1.5;
}

.xp-hero__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: clamp(28px, 4vw, 40px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.xp-hero__nav a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate);
  text-decoration: none;
  transition: color var(--transition);
}

.xp-hero__nav a:hover {
  color: var(--brand-bright);
}

.xp-section-head {
  margin-bottom: clamp(32px, 5vw, 48px);
}

.xp-section-head--center {
  text-align: center;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.xp-section-head__title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--ink);
}

.xp-section-head--center .section__label {
  margin-bottom: 12px;
}

.xp-context {
  padding: var(--xp-section-y, clamp(64px, 8vw, 96px)) 0;
  background: var(--surface-soft);
}

.xp-context__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.xp-context__text p {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--slate);
  margin-bottom: 1.25rem;
}

.xp-context__text--solo {
  max-width: 46rem;
}

.xp-context__text p:last-of-type {
  margin-bottom: 1.75rem;
}

.xp-context__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.xp-context__tags li {
  padding: 8px 14px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--brand);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
}

.xp-context__media {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 14px;
  align-items: start;
}

.xp-context__photo {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.xp-context__photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.xp-context__photo--secondary {
  margin-top: 2.5rem;
  max-width: 88%;
  margin-left: auto;
}

.xp-solution {
  padding: var(--xp-section-y, clamp(64px, 8vw, 96px)) 0;
  background: var(--surface);
}

.xp-solution .xp-section-head {
  margin-bottom: clamp(48px, 6vw, 72px);
}

.xp-pillar {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 5vw, 56px);
  align-items: start;
  padding: clamp(36px, 5vw, 52px) 0;
  border-top: 1px solid var(--line);
}

.xp-pillar:first-of-type {
  border-top: none;
  padding-top: 0;
}

.xp-pillar__num {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--brand-bright);
  margin-bottom: 14px;
}

.xp-pillar__content h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.625rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 1.25rem;
}

.xp-pillar__content p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--slate);
  margin-bottom: 1rem;
}

.xp-pillar__content p:last-child {
  margin-bottom: 0;
}

.xp-pillar__visual {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.xp-pillar__visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.xp-factors {
  padding: var(--xp-section-y, clamp(64px, 8vw, 96px)) 0;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.88);
}

.xp-factors__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.xp-factors__title {
  font-size: clamp(1.5rem, 3vw, 2.125rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #fff;
  margin-top: 12px;
}

.xp-factors__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.xp-factors__list li {
  position: relative;
  padding-left: 1.75rem;
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
}

.xp-factors__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-light);
  box-shadow: 0 0 12px rgba(115, 217, 255, 0.5);
}

.xp-factors__list strong {
  color: #fff;
  font-weight: 700;
}

.xp-proof {
  padding: var(--xp-section-y, clamp(64px, 8vw, 96px)) 0;
  background: var(--surface-blue);
}

.xp-proof__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
}

.xp-proof__content p {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--slate);
  margin-top: 1.25rem;
}

.xp-proof__link {
  margin-top: 1.5rem;
}

.xp-proof__link a {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--brand-bright);
}

.xp-proof__link a:hover {
  color: var(--brand);
}

.xp-proof__visual {
  position: relative;
  margin: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.xp-proof__visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.xp-proof__stat {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 24px;
  background: linear-gradient(180deg, transparent 0%, rgba(5, 12, 28, 0.88) 100%);
}

.xp-proof__stat-num {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1;
}

.xp-proof__stat-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.xp-related {
  padding: var(--xp-section-y, clamp(64px, 8vw, 96px)) 0;
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.xp-related__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.xp-related__card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 18px;
  text-decoration: none;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.xp-related__card:hover {
  border-color: rgba(0, 144, 211, 0.35);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.xp-related__card--current {
  border-color: var(--brand-bright);
  background: var(--surface-blue);
  pointer-events: none;
}

.xp-related__num {
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--brand-bright);
}

.xp-related__card strong {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}

.xp-related__card span:last-child {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.4;
}

.xp-cta {
  padding: clamp(64px, 8vw, 88px) 0;
  background: var(--gradient-brand);
  text-align: center;
}

.xp-cta__inner {
  max-width: 36rem;
  margin: 0 auto;
}

.xp-cta__title {
  font-size: clamp(1.5rem, 3.5vw, 2.125rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 14px;
}

.xp-cta__text {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 28px;
}

.xp-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}

.xp-cta .btn--outline {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
  background: transparent;
}

.xp-cta .btn--outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

.xp-cta__email a {
  font-size: 0.9375rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.xp-cta__email a:hover {
  color: #fff;
}

.page-expertise .xp-faq {
  padding-bottom: clamp(64px, 8vw, 96px);
  border-top: 1px solid var(--line);
}

@media (max-width: 1100px) {
  .xp-context__grid,
  .xp-proof__grid {
    grid-template-columns: 1fr;
  }

  .xp-pillar,
  .xp-pillar--reverse {
    grid-template-columns: 1fr;
  }

  .xp-pillar__visual {
    position: static;
  }

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

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .dashboard__bar {
    animation: none;
    transform: scaleY(1);
  }

  .hero__float {
    animation: none;
  }

  .hero--v4 .hero__insight-stack--slider {
    min-height: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .hero--v4 .hero__insight-stack--slider .hero__insight-card {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    width: auto;
    transition: none;
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .hero--v4 .hero__insight-stack--slider .hero__insight-card[data-offset="0"] {
    box-shadow: var(--shadow-sm);
  }

  .stats::before,
  .stats::after {
    animation: none;
  }

  * {
    transition-duration: 0.01ms !important;
  }
}

/* ============================================
   Qualitest V2.2 ÃÂÃÂÃÂÃÂ¢ÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂ ÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂ©ditorial & mega-menus
   ============================================ */

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

@media (max-width: 1100px) {
  .nav-mega__grid--3 {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1101px) {
  .nav-mega__grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .nav__list {
    gap: clamp(4px, 0.8vw, 14px);
  }

  .nav__link,
  .nav__trigger {
    font-size: clamp(0.75rem, 0.9vw, 0.875rem);
    padding-inline: clamp(4px, 0.5vw, 10px);
  }

  .header__cta {
    font-size: 0.8125rem;
    padding: 10px 14px;
    white-space: nowrap;
  }
}

.page-hero__content--wide {
  max-width: 46rem;
}

.editorial-body {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--slate);
}

.editorial-body p + p {
  margin-top: 1.15em;
}

.benefit-callout {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  background: var(--surface-blue, #f0f4fb);
  border-left: 3px solid var(--brand);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.benefit-callout__label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-bright);
  margin-bottom: 0.35rem;
}

.benefit-callout__text {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.5;
  margin: 0;
}

.mesh-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(20px, 3vw, 32px);
}

.mesh-block h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--ink);
}

.mesh-block ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mesh-block li + li {
  margin-top: 8px;
}

.mesh-block a {
  color: var(--brand);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9375rem;
}

.mesh-block a:hover {
  color: var(--brand-bright);
  text-decoration: underline;
}

/* Cross-push ÃÂÃÂÃÂÃÂ¢ÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂ Voir aussi (bandeau bleu, push thÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂ©matique) */
.cross-push {
  position: relative;
  padding: clamp(56px, 8vw, 88px) 0;
  background:
    radial-gradient(ellipse 70% 55% at 85% 10%, rgba(115, 217, 255, 0.22) 0%, transparent 55%),
    linear-gradient(155deg, #0f1f45 0%, #1a3a7a 48%, #0078b8 115%);
  color: #fff;
  overflow: hidden;
}

.cross-push__head {
  max-width: 40rem;
  margin-bottom: clamp(28px, 4vw, 40px);
}

.cross-push__heading {
  margin: 0 0 12px;
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #fff;
}

.cross-push__intro {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
}

.cross-push__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.cross-push__card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: start;
  padding: clamp(18px, 2.2vw, 22px);
  text-decoration: none;
  color: inherit;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.cross-push__card:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
}

.cross-push__num {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--brand-light);
  padding-top: 3px;
}

.cross-push__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.cross-push__title {
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.3;
}

.cross-push__text {
  font-size: 0.875rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.68);
}

.cross-push__cta {
  display: inline-block;
  width: 0.45em;
  height: 0.45em;
  margin-top: 0.35em;
  border-right: 2px solid var(--brand-light);
  border-top: 2px solid var(--brand-light);
  transform: rotate(45deg);
  transition: transform var(--transition);
}

.cross-push__card:hover .cross-push__cta {
  transform: rotate(45deg) translate(3px, -3px);
}

.cross-push__foot {
  margin: clamp(24px, 3vw, 32px) 0 0;
  text-align: left;
}

.cross-push__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  padding-bottom: 2px;
}

.cross-push__more::after {
  content: "";
  width: 0.4em;
  height: 0.4em;
  border-right: 1.75px solid currentColor;
  border-top: 1.75px solid currentColor;
  transform: rotate(45deg);
  transition: transform var(--transition);
}

.cross-push__more:hover {
  border-bottom-color: #fff;
}

.cross-push__more:hover::after {
  transform: rotate(45deg) translate(1px, -1px);
}

/* Autres secteurs : liste discrÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂ¨te, fond clair */
.sector-siblings {
  padding: clamp(48px, 7vw, 72px) 0;
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.sector-siblings__head {
  max-width: 36rem;
  margin: 0 auto clamp(28px, 4vw, 36px);
  text-align: center;
}

.sector-siblings__title {
  margin: 0;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
  line-height: 1.25;
}

.sector-siblings__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}

.sector-siblings__link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 4px;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid var(--line);
  transition: color var(--transition);
}

.sector-siblings__link:nth-child(odd) {
  padding-right: 20px;
}

.sector-siblings__link:nth-child(even) {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}

.sector-siblings__name {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  line-height: 1.35;
}

.sector-siblings__desc {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--muted);
}

.sector-siblings__link:hover .sector-siblings__name {
  color: var(--brand-bright);
}

.sector-siblings__overview {
  margin: 24px 0 0;
  text-align: center;
}

.sector-siblings__overview a {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand);
  text-decoration: none;
}

.sector-siblings__overview a::after {
  content: "";
  width: 0.4em;
  height: 0.4em;
  border-right: 1.75px solid currentColor;
  border-top: 1.75px solid currentColor;
  transform: rotate(45deg);
  transition: transform var(--transition);
}

.sector-siblings__overview a:hover {
  color: var(--brand-bright);
  text-decoration: underline;
}

.sector-siblings__overview a:hover::after {
  transform: rotate(45deg) translate(1px, -1px);
}

.nav-mega__link.is-current {
  background: var(--brand-glow);
}

.nav-mega__link.is-current .nav-mega__copy strong {
  color: var(--brand-bright);
}

.sector-tile__title {
  font-size: clamp(0.8125rem, 1.1vw, 0.9375rem);
  line-height: 1.35;
}

/* Accueil V2.2 ÃÂÃÂÃÂÃÂ¢ÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂ rythme visuel restaurÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂ© */
.hero--cover .hero-topic {
  text-decoration: none;
  color: inherit;
  transition: background 0.2s var(--ease);
}

.hero--cover .hero-topic:hover {
  background: rgba(255, 255, 255, 0.1);
}

.hero--cover a.hero-topic:focus-visible {
  outline: 2px solid var(--brand-light);
  outline-offset: -2px;
}

#synthese .atouts__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

#synthese .atout__text {
  max-width: 36ch;
  margin-inline: auto;
}

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

.timeline__title a {
  color: inherit;
  text-decoration: none;
}

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

.section-split__content p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--slate);
  margin-top: 1em;
}

.section-split__content .section__intro {
  margin-top: 0;
}

.section__title--verbs em {
  font-style: normal;
  background: linear-gradient(135deg, #0090d3 0%, #375cad 55%, #1a3a7a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

@media (max-width: 900px) {
  #synthese .atouts__grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 600px) {
  .sector-tiles--6 {
    grid-template-columns: 1fr;
  }

  .hero--cover .hero__topics {
    grid-template-columns: 1fr;
  }

  .hero-topic:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
}

/* Hero ÃÂÃÂÃÂÃÂ¢ÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂ ÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂ©crans bas (MacBook 13", landscape phone, etc.) */
@media (max-height: 860px) {
  .hero--cover {
    min-height: 100dvh;
    padding-top: calc(var(--header-h) + 16px);
    padding-bottom: 12px;
  }

  .hero--cover .container {
    gap: 14px;
    justify-content: flex-end;
    padding-top: 0;
  }

  .hero--cover .hero__title {
    font-size: clamp(2.5rem, 5.5vh, 3.75rem);
    margin-bottom: 12px;
  }

  .hero--cover .hero__subtitle {
    font-size: 0.9375rem;
    margin-bottom: 18px;
  }

  .hero--cover .hero__trust {
    display: block;
    margin-bottom: 14px;
    font-size: 0.8125rem;
    font-weight: 700;
    padding: 0;
  }

  .hero--cover .hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .hero--cover .hero__actions .btn--lg {
    padding: 12px 18px;
    font-size: 0.875rem;
  }

  .hero--cover .hero__actions .btn--outline {
    display: inline-flex;
  }

  .hero__scroll {
    margin-top: 4px;
  }

  .hero__scroll-icon .material-symbols-outlined {
    font-size: 22px;
  }
}

@media (max-width: 900px) {
  .hero--cover .hero__topics {
    grid-template-columns: 1fr;
  }

  .hero-topic:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
}

/* ---- WP / theme nav hardening ---- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  padding: 12px 16px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  left: 0;
}

.logo .logo__img,
.logo img {
  display: block;
  height: 31px;
  width: auto;
  max-width: 180px;
}

/* Neutralise markup WP par dÃÂÃÂÃÂÃÂ©faut si un menu classique rÃÂÃÂÃÂÃÂ©apparaÃÂÃÂÃÂÃÂ®t */
.nav .sub-menu {
  display: none;
}
.nav .menu-item-has-children:hover > .sub-menu,
.nav .menu-item-has-children:focus-within > .sub-menu {
  display: none;
}

/* Alias body/main classes (WP vs maquette) */
.page-secteur.page-sector,
main.page-secteur {
  /* keep layout hooks if old class remains */
}
body.page-sector main,
main.page-sector {
  display: block;
}

/* Paperform embed */
.contact__form--paperform {
  display: block;
  width: 100%;
  min-width: 0;
  background: var(--surface, #ffffff);
  border: 1px solid var(--line, #e2e8f0);
  border-radius: var(--radius-lg, 20px);
  box-shadow: var(--shadow-sm, 0 8px 24px rgba(15, 23, 42, 0.06));
  padding: 20px 18px 12px;
  overflow: hidden;
}
.contact__form--paperform [data-paperform-id] {
  width: 100%;
  min-height: 480px;
}

/* ——— Cartes réalisations (listing) ——— */
.realisation-card .article-card__title {
  margin-top: 0;
}
@media (min-width: 768px) {
  .contact__form--paperform {
    padding: 28px 28px 16px;
  }
}
