/* ──────────────────────────────────────────────
   Fiscadirect — main.css
   All base styles extracted from index.html
────────────────────────────────────────────── */

/* ── Palette & tokens ── */
:root {
  /* Palette logo */
  --navy-900: #14293a;
  --navy-800: #1f3a4d;
  --navy-700: #2c4a5e;
  --navy-600: #3c5d72;
  --navy-300: #9fb2bd;
  --gold:     #e5b73b;
  --gold-600: #c99c23;
  --sky:      #b9c9d3;
  --paper:    #f7f6f2;
  --paper-2:  #eeece4;
  --white:    #ffffff;
  --ink:      #14293a;
  --ink-soft: #556877;
  --line:     rgba(31, 58, 77, 0.12);
  --line-soft: rgba(31, 58, 77, 0.07);

  /* Tokens thème (surchargés dynamiquement par le Customizer) */
  --color-primary:   #e5b73b;
  --color-secondary: #1f3a4d;
  --color-accent:    #b9c9d3;
  --color-bg:        #f7f6f2;
  --color-text:      #14293a;
  --font-heading:    'Manrope', system-ui, sans-serif;
  --font-body:       'Manrope', system-ui, sans-serif;
  --font-mono:       'Geist Mono', ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { touch-action: manipulation; }

html, body {
  background: var(--color-bg, var(--paper));
  color: var(--color-text, var(--ink));
  font-family: var(--font-body, 'Manrope', system-ui, sans-serif);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

html, body { width: 100%; }
html { overflow-x: clip; }
body { overflow-x: clip; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
* { min-width: 0; }
::selection { background: var(--gold); color: var(--navy-900); }

/* ── Scroll reveal ── */
@keyframes reveal-up   { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: none; } }
@keyframes reveal-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes reveal-left { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }

.reveal {
  opacity: 0;
  transform: translateY(32px);
}
.reveal.is-visible {
  animation: reveal-up .65s cubic-bezier(.22,.68,0,1.2) both;
}
.reveal-fade { opacity: 0; }
.reveal-fade.is-visible {
  animation: reveal-fade .7s ease both;
}
/* Délais de stagger */
.reveal[data-delay="1"] { animation-delay: .10s; }
.reveal[data-delay="2"] { animation-delay: .20s; }
.reveal[data-delay="3"] { animation-delay: .30s; }
.reveal[data-delay="4"] { animation-delay: .40s; }
.reveal[data-delay="5"] { animation-delay: .50s; }
.reveal[data-delay="6"] { animation-delay: .60s; }
.reveal-fade[data-delay="1"] { animation-delay: .10s; }
.reveal-fade[data-delay="2"] { animation-delay: .20s; }
.reveal-fade[data-delay="3"] { animation-delay: .30s; }

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-fade { opacity: 1 !important; transform: none !important; animation: none !important; }
}

/* ── Layout ── */
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.mono {
  font-family: var(--font-mono, 'Geist Mono', ui-monospace, monospace);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 22px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
  border: 1.5px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
}
.btn svg { width: 14px; height: 14px; flex-shrink: 0; transition: transform .2s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary  { background: var(--color-primary, var(--gold)); color: var(--navy-900); }
.btn-primary:hover { background: var(--gold-600); color: var(--white); }
.btn-navy  { background: var(--color-secondary, var(--navy-800)); color: var(--white); }
.btn-navy:hover { background: var(--navy-900); }
.btn-ghost { color: var(--color-secondary, var(--navy-800)); border-color: var(--color-secondary, var(--navy-800)); background: transparent; }
.btn-ghost:hover { background: var(--color-secondary, var(--navy-800)); color: var(--white); }
.btn-outline-light { color: var(--white); border-color: rgba(255,255,255,.5); background: transparent; }
.btn-outline-light:hover { background: var(--white); color: var(--navy-900); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 12px; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

/* ── Nav ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow .3s ease, background .3s ease;
}
.nav.is-scrolled {
  box-shadow: 0 4px 24px -8px rgba(20,41,58,.14);
}
:root { --nav-h: 92px; --admin-bar-h: 0px; --clients-h: 196px; }
.nav.is-scrolled { --nav-h: 72px; }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 40px;
  transition: height .3s ease;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
/* Toutes les variantes logo : ACF img, custom_logo <a> + img — hauteur fixe, largeur auto */
.brand-logo,
.brand .custom-logo-link img,
.brand .custom-logo {
  display: block;
  height: 40px !important;
  width: auto !important;
  max-width: 200px !important;
  max-height: 40px !important;
  object-fit: contain;
}
/* Le <a> wrapper généré par the_custom_logo() */
.brand .custom-logo-link { display: flex; align-items: center; line-height: 0; }
.brand-text {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -.02em;
  color: var(--navy-800);
  position: relative;
  padding-bottom: 6px;
}
.brand-text::after {
  content: "";
  position: absolute;
  left: -4px; right: -12px; bottom: -1px;
  height: 8px;
  background: linear-gradient(100deg, var(--sky) 0 60%, transparent 60% 63%, var(--gold) 63% 100%);
  clip-path: polygon(0 40%, 100% 0, 100% 55%, 0 100%);
  opacity: .95;
}
.nav-links { display: flex; gap: 34px; font-size: 14px; font-weight: 600; color: var(--navy-800); }
.nav-links a {
  position: relative;
  display: inline-block;
  padding: 6px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  height: 2px;
  width: 100%;
  background: var(--gold);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .4s cubic-bezier(.34,1.56,.64,1);
}
.nav-links a:hover::after {
  transform: scaleX(1);
}
.nav-links a.active {
  font-weight: 700;
}
.nav-links a.active::after {
  transform: scaleX(1);
  transition: none;
}
.nav-cta { display: flex; gap: 10px; align-items: center; }
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--navy-800);
  position: relative;
  z-index: 101;
  transition: color .2s;
}
.nav-hamburger[aria-expanded="true"] { color: var(--navy-800); }

/* Mobile menu — panneau sous la nav avec animation clip-path */
@keyframes mobile-menu-in {
  from { clip-path: inset(0 0 100% 0); opacity: 0; }
  to   { clip-path: inset(0 0 0% 0);   opacity: 1; }
}
@keyframes mobile-menu-out {
  from { clip-path: inset(0 0 0% 0);   opacity: 1; }
  to   { clip-path: inset(0 0 100% 0); opacity: 0; }
}
@keyframes mobile-item-in {
  from { opacity: 0; transform: translateX(-14px); }
  to   { opacity: 1; transform: none; }
}

.mobile-menu {
  display: none;
  position: fixed;
  top: calc(var(--admin-bar-h) + var(--nav-h));
  left: 0;
  right: 0;
  height: auto;
  max-height: calc(100dvh - var(--admin-bar-h) - var(--nav-h));
  background: var(--navy-900);
  z-index: 100;
  overflow-y: auto;
  overscroll-behavior: contain;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: visibility 0s .25s, opacity .25s ease;
}

@media (max-width: 960px) {
  .mobile-menu { display: block; }
}
.mobile-menu.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition: visibility 0s 0s, opacity .28s ease;
}
.mobile-menu-inner {
  padding-top: 28px;
  padding-bottom: 0;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
}
.mobile-nav-list li { border: none; }

.mobile-menu.is-open .mobile-nav-list li:nth-child(1) a { animation: mobile-item-in .28s .06s both; }
.mobile-menu.is-open .mobile-nav-list li:nth-child(2) a { animation: mobile-item-in .28s .12s both; }
.mobile-menu.is-open .mobile-nav-list li:nth-child(3) a { animation: mobile-item-in .28s .18s both; }
.mobile-menu.is-open .mobile-nav-list li:nth-child(4) a { animation: mobile-item-in .28s .24s both; }
.mobile-menu.is-open .mobile-nav-list li:nth-child(5) a { animation: mobile-item-in .28s .30s both; }
.mobile-menu.is-open .mobile-nav-list li:nth-child(6) a { animation: mobile-item-in .28s .36s both; }

.mobile-nav-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  font-size: 20px;
  font-weight: 700;
  color: rgba(255,255,255,.80);
  letter-spacing: -.01em;
}
.mobile-nav-list li + li:not([style*="display: none"]) a {
  border-top: 1px solid rgba(255,255,255,.08);
}
.mobile-nav-list li a::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid rgba(255,255,255,.30);
  border-top: 2px solid rgba(255,255,255,.30);
  transform: rotate(45deg);
  flex-shrink: 0;
}
.mobile-nav-list li.current-menu-item > a,
.mobile-nav-list li.current_page_item > a,
.mobile-nav-list li a.active {
  color: var(--gold);
  font-weight: 800;
}
.mobile-nav-list li.current-menu-item > a::after,
.mobile-nav-list li.current_page_item > a::after,
.mobile-nav-list li a.active::after {
  border-color: var(--gold);
}

/* Masque le lien Contact dans la liste mobile (remplacé par le bouton CTA) */
.mobile-nav-list li:has(a[href*="/contact"]) {
  display: none;
}
/* Supprime la bordure du dernier li visible */
.mobile-nav-list li:last-child,
.mobile-nav-list li:nth-last-child(2):has(~ li:has(a[href*="/contact"])) {
  border-bottom: none;
}

/* CTA bas du menu */
.mobile-menu-cta {
  margin-top: 28px;
  padding-bottom: 28px;
}
.mobile-menu-cta .btn {
  width: 100%;
  justify-content: center;
  height: 52px;
  font-size: 14px;
}

/* ── Hero ── */
.hero {
  position: relative;
  background: var(--navy-900);
  color: var(--white);
  overflow: hidden;
  /* Hero occupe l'espace restant pour que nav + hero + clients = 100vh */
  min-height: calc(100vh - var(--admin-bar-h) - var(--nav-h) - var(--clients-h));
  display: flex;
  align-items: center;
  padding: clamp(60px, 7vh, 110px) 0;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(20,41,58,.92) 0%, rgba(20,41,58,.78) 50%, rgba(20,41,58,.55) 100%),
    radial-gradient(ellipse at 70% 30%, rgba(229,183,59,.18), transparent 60%),
    var(--hero-bg, linear-gradient(140deg, #0f2030 0%, #1f3a4d 60%, #2c4a5e 100%));
  background-size: cover, auto, cover;
  background-position: center, center, center;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(90deg, transparent 0%, black 30%, black 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 30%, black 70%, transparent 100%);
  z-index: 0;
}
.hero > .wrap { position: relative; z-index: 2; width: 100%; }
.hero-grid { display: grid; grid-template-columns: 1fr; align-items: center; }
.hero-grid--full .hero-content { max-width: 820px; }

.crumb { display: inline-flex; align-items: center; gap: 10px; color: var(--sky); font-size: 13px; }
.crumb .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

/* Hero — entrée staggerée */
@keyframes hero-in { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.hero .crumb    { animation: hero-in .6s ease both; animation-delay: .05s; }
.hero .h1       { animation: hero-in .7s cubic-bezier(.22,.68,0,1.1) both; animation-delay: .18s; }
.hero .hero-lede { animation: hero-in .6s ease both; animation-delay: .34s; }
.hero .hero-ctas { animation: hero-in .6s ease both; animation-delay: .48s; }
.hero .hero-card { animation: hero-in .7s ease both; animation-delay: .60s; }

.h1 { font-size: clamp(36px, 4.8vw, 72px); line-height: 1.02; letter-spacing: -.02em; font-weight: 800; margin-top: clamp(14px, 2vh, 22px); font-family: var(--font-heading, 'Manrope', sans-serif); }
.h1 em { font-style: normal; color: var(--gold); position: relative; }
.h1 em::after { content: ""; position: absolute; left: -2px; right: -4px; bottom: -2px; height: 6px; background: var(--gold); opacity: .2; border-radius: 2px; }

.hero-lede { color: #cfd8de; font-size: clamp(15px, 1.5vw, 18px); line-height: 1.6; margin-top: clamp(16px, 2vh, 26px); max-width: 560px; }
.hero-lede strong { color: var(--white); font-weight: 700; }
.hero-ctas { display: flex; gap: 12px; margin-top: clamp(20px, 2.5vh, 34px); flex-wrap: wrap; }

.hero-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 8px;
  padding: 28px;
}
.hero-card h3 { font-size: 14px; font-weight: 700; color: var(--gold); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 20px; }
.kpi-list { display: flex; flex-direction: column; gap: 18px; }
.kpi { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 16px; border-bottom: 1px dashed rgba(255,255,255,.15); }
.kpi:last-child { border-bottom: none; padding-bottom: 0; }
.kpi .lbl { color: var(--sky); font-size: 13px; flex: 1 1 0; min-width: 0; }
.kpi .val { font-size: clamp(22px, 3.5vw, 34px); font-weight: 800; letter-spacing: -.02em; color: var(--white); white-space: nowrap; flex-shrink: 0; margin-left: 12px; }
.kpi .val i { font-style: normal; color: var(--gold); font-weight: 600; }

/* ── Stats bar ── */
.stats-bar { background: var(--navy-900); color: var(--white); padding: 46px 0; border-top: 1px solid rgba(255,255,255,.08); margin-top: -1px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: center; }
.stats-grid--1 { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; }
.stats-grid--2 { grid-template-columns: repeat(2, 1fr); max-width: 640px; margin: 0 auto; }
.stats-grid--3 { grid-template-columns: repeat(3, 1fr); }
.sb { text-align: center; padding: 10px 20px; border-right: 1px solid rgba(255,255,255,.12); }
.sb:last-child { border-right: none; }
.sb .n { font-size: 40px; font-weight: 800; letter-spacing: -.02em; }
.sb .l { font-size: 12px; color: var(--sky); margin-top: 6px; }

/* ── Section base ── */
:root {
  --section-y: 100px;   /* rythme vertical standard */
  --section-y-sm: 60px; /* bandeaux compacts */
}
section { padding: var(--section-y) 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--gold-600); font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 30px; height: 2px; background: var(--gold); }
h1.title, h2.title { font-size: clamp(32px, 4vw, 52px); line-height: 1.08; letter-spacing: -.02em; font-weight: 800; color: var(--navy-900); margin-top: 18px; font-family: var(--font-heading, 'Manrope', sans-serif); }
h1.title em, h2.title em { font-style: normal; color: var(--gold-600); }
.sub { color: var(--ink-soft); font-size: 17px; line-height: 1.6; max-width: 100%; margin-top: 16px; margin-bottom: 0; }
.enjeux .sub { margin-top: 0; }
.sub p { margin-bottom: 1em; }
.sub p:last-child { margin-bottom: 0; }
.sec-head { display: grid; grid-template-columns: 1fr auto; gap: 60px; align-items: end; margin-bottom: 50px; }

/* ── Argument ── */
.argument { background: var(--paper); }

.argument--has-bg {
  position: relative;
  isolation: isolate;
}
.argument--has-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--arg-bg-url);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center top;
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 20%, rgba(0,0,0,.6) 50%, rgba(0,0,0,.15) 75%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 0%, black 20%, rgba(0,0,0,.6) 50%, rgba(0,0,0,.15) 75%, transparent 100%);
  opacity: .13;
  pointer-events: none;
}
.argument--has-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    to bottom,
    rgba(247,246,242,.18) 0%,
    rgba(247,246,242,.55) 50%,
    rgba(247,246,242,.92) 78%,
    rgba(247,246,242,1)   100%
  );
  backdrop-filter: blur(2px) saturate(1.1);
  -webkit-backdrop-filter: blur(2px) saturate(1.1);
  pointer-events: none;
}
.argument--has-bg > .wrap { position: relative; z-index: 1; }
.arg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.arg-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: calc(var(--admin-bar-h) + var(--nav-h) + 40px);
  align-self: start;
}
.arg-kpis--stack { display: flex; flex-direction: column; gap: 14px; }

/* Cartelettes glassmorphism */
.arg-kpi {
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 12px;
  padding: 28px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow:
    0 2px 0 rgba(255,255,255,.8) inset,
    0 8px 24px rgba(31,58,77,.07),
    0 2px 6px rgba(31,58,77,.05);
  /* entrée décalée */
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s ease, transform .5s ease,
              box-shadow .25s ease;
}
.arg-kpi.is-visible {
  opacity: 1;
  transform: none;
}
.arg-kpi:nth-child(1) { transition-delay: .0s; }
.arg-kpi:nth-child(2) { transition-delay: .12s; }
.arg-kpi:nth-child(3) { transition-delay: .24s; }
.arg-kpi:hover {
  box-shadow:
    0 2px 0 rgba(255,255,255,.8) inset,
    0 16px 40px rgba(31,58,77,.11),
    0 4px 10px rgba(31,58,77,.07);
  transform: translateY(-2px);
}
/* Icône accent or à gauche */
.arg-kpi::before {
  content: '';
  flex-shrink: 0;
  width: 4px;
  height: 40px;
  border-radius: 4px;
  background: linear-gradient(to bottom, var(--gold), rgba(229,183,59,.35));
}
.arg-kpi-body { display: flex; flex-direction: column; }
.arg-kpi-val {
  font-size: clamp(28px, 3.5vw, 38px);
  font-weight: 800;
  color: var(--navy-900);
  letter-spacing: -.03em;
  line-height: 1;
}
.arg-kpi-lbl {
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 5px;
  line-height: 1.35;
  font-weight: 500;
}
@media (prefers-reduced-motion: reduce) {
  .arg-kpi { opacity: 1 !important; transform: none !important; transition: none !important; }
}
.arg-list { display: flex; flex-direction: column; gap: 14px; font-size: 14px; color: var(--ink-soft); margin-top: 28px; list-style: none; }
.arg-list li { display: grid; grid-template-columns: 18px 1fr; gap: 0 12px; align-items: start; }
.arg-list li .bx { margin-top: 2px; }
.arg-list li strong { color: var(--navy-900); }
.arg-list .bx { width: 18px; height: 18px; border-radius: 3px; background: var(--gold); flex-shrink: 0; display: grid; place-items: center; color: var(--navy-900); font-weight: 900; font-size: 11px; margin-top: 2px; }

/* ── Listes à puces globales (wysiwyg, sub, coll-bottom-text, etc.) ── */
.sub ul, .coll-bottom-text ul, .wysiwyg ul,
.wp-kses-post ul, .entry-content ul,
.meth-text ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 14px 0;
  padding: 0;
}
.sub ul li, .coll-bottom-text ul li, .wysiwyg ul li,
.wp-kses-post ul li, .entry-content ul li,
.meth-text ul li {
  display: block;
  position: relative;
  padding-left: 28px;
  line-height: 1.55;
}
.sub ul li::before, .coll-bottom-text ul li::before, .wysiwyg ul li::before,
.wp-kses-post ul li::before, .entry-content ul li::before,
.meth-text ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 3px;
  background: var(--gold);
  color: var(--navy-900);
  font-weight: 900;
  font-size: 11px;
  display: grid;
  place-items: center;
}

/* ── Méthodologie ── */
.methodologie {
  color: var(--white);
  position: relative;
}
.methodologie::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(20,41,58,.97) 0%, rgba(20,41,58,.93) 50%, rgba(31,58,77,.95) 100%),
    radial-gradient(ellipse at 70% 20%, rgba(229,183,59,.08), transparent 55%),
    var(--mission-bg, var(--navy-900));
  background-size: cover, auto, cover;
  background-position: center, center, center;
  background-attachment: scroll, scroll, scroll;
  z-index: 0;
}
.methodologie > .wrap {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
}
.methodologie > .wrap > * { position: relative; z-index: 1; }
.methodologie .eyebrow { color: var(--gold); }
.methodologie .eyebrow::before { background: var(--gold); }
.methodologie h2.title { color: var(--white); }
.methodologie h2.title em { color: var(--gold); }
.meth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; position: relative; z-index: 1; }
.meth-left { position: sticky; top: calc(var(--admin-bar-h) + var(--nav-h) + 40px); align-self: start; }
.meth-left-inner { display: flex; flex-direction: column; }
.meth-text { color: #cfd8de !important; }
.meth-text p { margin-bottom: 16px; }
.meth-text strong { color: var(--white); font-weight: 700; }
.meth-text ul { list-style: none; margin: 16px 0; display: flex; flex-direction: column; gap: 10px; }
.meth-text ul li { display: block; position: relative; padding-left: 28px; color: #cfd8de; }
.meth-text ul li::before {
  content: '✓';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 3px;
  background: var(--gold);
  color: var(--navy-900);
  font-weight: 900;
  font-size: 11px;
  display: grid;
  place-items: center;
  margin-top: 2px;
}
.meth-left .btn { margin-top: 28px; align-self: flex-start; }
/* ── Étapes méthodologie ── */
.meth-steps {
  display: flex;
  flex-direction: column;
  position: relative;
  padding-left: 28px;
}
/* Ligne verticale continue */
.meth-steps::before {
  content: '';
  position: absolute;
  left: 17px;
  top: 20px;
  bottom: 20px;
  width: 2px;
  background: rgba(255,255,255,.1);
  border-radius: 2px;
}
.meth-step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 24px 0 24px 16px;
  position: relative;
}
/* Cercle-numéro */
.meth-step-num {
  position: absolute;
  left: -29px;
  top: 26px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--gold);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  font-family: var(--font-mono, 'Geist Mono', monospace);
  letter-spacing: .05em;
  color: var(--navy-900);
  z-index: 1;
}
.meth-step-body { padding-left: 12px; }
.meth-step-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -.01em;
  line-height: 1.25;
  margin-bottom: 8px;
}
.meth-step-text {
  font-size: 14px;
  color: var(--sky);
  line-height: 1.6;
}

/* ── Mission (legacy — garde les styles .mh pour d'autres usages potentiels) ── */
.mh { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-left: 3px solid var(--gold); padding: 22px 26px; border-radius: 4px; }
.mh h4 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.mh p { color: var(--sky); font-size: 14px; line-height: 1.55; }

/* ── Clients ── */
.clients {
  padding: 36px 0;
  background: var(--white);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.clients-head {
  text-align: center;
  margin-bottom: 28px;
}
.clients-head .mono {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--navy-300);
}
.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, black 12%, black 88%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 12%, black 88%, transparent 100%);
}
.marquee-track {
  display: flex;
  gap: 0;
  animation: marquee-scroll 40s linear infinite;
  align-items: center;
  width: max-content;
}
@keyframes marquee-scroll { to { transform: translateX(-50%); } }
.logo-chip {
  flex-shrink: 0;
  height: 88px;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--line-soft);
  opacity: .5;
  transition: opacity .25s ease;
}
.logo-chip:last-child { border-right: none; }
.logo-chip img {
  height: 44px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  display: block;
  filter: grayscale(1);
}
@media (hover: hover) and (pointer: fine) {
  .logo-chip { transition: opacity .25s ease; }
  .logo-chip:hover { opacity: 1; }
  .logo-chip img { transition: filter .25s ease; }
  .logo-chip:hover img { filter: grayscale(0); }
}
/* Fallback texte */
.logo-chip-text {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy-700);
  letter-spacing: -.01em;
  white-space: nowrap;
}
.logo-chip-text .mk {
  font-size: 8px;
  color: var(--gold);
}

/* ── Enjeux ── */
.enjeux { background: var(--paper); }
.enjeux-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 50px; }
.enjeux-grid--1 { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
.enjeux-grid--2 { grid-template-columns: repeat(2, 1fr); max-width: 800px; margin-left: auto; margin-right: auto; }
.enjeux-grid--3 { grid-template-columns: repeat(3, 1fr); }
.enj-card { background: var(--white); border-radius: 8px; padding: 32px 28px; border-top: 4px solid var(--navy-800); transition: transform .25s ease, box-shadow .25s ease, border-top-color .25s ease; display: flex; flex-direction: column; gap: 16px; }
.enj-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -16px rgba(20,41,58,.2), 0 0 0 1px rgba(229,183,59,.15); border-top-color: var(--gold); }
.enj-card h3 { font-size: 19px; font-weight: 800; color: var(--navy-900); letter-spacing: -.01em; line-height: 1.25; }
.enj-card p { color: var(--ink-soft); font-size: 14px; line-height: 1.55; flex: 1; }
.enj-card .lnk { color: var(--gold-600); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; display: inline-flex; align-items: center; gap: 6px; }
/* ── Secteurs (remplace clients-types) ── */
.sectors { margin-top: 70px; }
.sectors-head { text-align: center; margin-bottom: 32px; }
.sectors-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  color: var(--navy-900);
  letter-spacing: -.02em;
  margin-top: 12px;
  line-height: 1.15;
}
.sectors-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.sector-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 36px 40px;
  cursor: default;
  transition: transform .3s cubic-bezier(.22,.68,0,1.1), box-shadow .3s ease;
}
a.sector-card { cursor: pointer; text-decoration: none; }
.sector-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 56px -20px rgba(20,41,58,.3);
}
.sector-card-bg {
  position: absolute;
  inset: 0;
  background-image: var(--sector-bg-img, var(--sector-gradient, linear-gradient(135deg, #1f3a4d 0%, #2c4a5e 100%)));
  background-size: cover;
  background-position: center;
  transition: transform .6s cubic-bezier(.22,.68,0,1.1);
}
.sector-card:hover .sector-card-bg { transform: scale(1.04); }
/* Voile global léger (surtout utile avec image de fond) */
.sector-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20,41,58,.18);
  border-radius: inherit;
  z-index: 1;
  transition: opacity .35s ease;
}
/* Overlay bas concentré pour la lisibilité du titre */
.sector-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20,41,58,.85) 0%, rgba(20,41,58,.40) 45%, transparent 100%);
  border-radius: inherit;
  z-index: 1;
  transition: opacity .35s ease;
}
.sector-card:hover::before { opacity: .85; }
.sector-card:hover::after  { opacity: 1; }
/* Icône et titre au-dessus de l'overlay */
.sector-icon {
  position: absolute;
  top: 32px;
  right: 36px;
  width: 72px;
  height: 72px;
  opacity: .72;
  color: var(--white);
  z-index: 2;
  stroke-width: 1.2;
}
.sector-card h3 {
  position: relative;
  z-index: 2;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.02em;
  line-height: 1.1;
  margin: 0;
}

/* ── Engagement ── */
.engagement { background: var(--sky); color: var(--navy-900); padding: var(--section-y-sm) 0; }
.eng-grid {
  display: grid;
  gap: 40px;
  align-items: center;
  grid-template-columns: 1.2fr 1fr 1fr 1fr; /* défaut : titre + 3 stats */
}
.eng-grid--2 { grid-template-columns: 1.2fr 1fr 1fr; }
.eng-grid--4 { grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr; }
.eng-title h2, #eng-title { font-size: 28px; font-weight: 800; letter-spacing: -.01em; line-height: 1.15; margin: 0; color: var(--navy-900); font-family: var(--font-heading, 'Manrope', sans-serif); }
.eng-title em { font-style: normal; color: var(--navy-800); display: block; font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; }
.eng-stat { text-align: center; }
.eng-stat .n { font-size: 52px; font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.eng-stat .n i { font-style: normal; color: var(--gold-600); }
.eng-stat .l { font-size: 13px; margin-top: 4px; color: var(--navy-700); }

/* ── Collectivités ── */
.collectivites { background: var(--paper); }

/* Background image : dégradé visible→invisible, voile glassmorphique très léger */
.collectivites--has-bg {
  position: relative;
  isolation: isolate;
}
.collectivites--has-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--coll-bg-url);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center top;
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 20%, rgba(0,0,0,.6) 50%, rgba(0,0,0,.15) 75%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 0%, black 20%, rgba(0,0,0,.6) 50%, rgba(0,0,0,.15) 75%, transparent 100%);
  opacity: .13;
  pointer-events: none;
}
/* Voile glassmorphique : infime teinte paper + flou très doux */
.collectivites--has-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    to bottom,
    rgba(247,246,242,.18) 0%,
    rgba(247,246,242,.55) 50%,
    rgba(247,246,242,.92) 78%,
    rgba(247,246,242,1)   100%
  );
  backdrop-filter: blur(2px) saturate(1.1);
  -webkit-backdrop-filter: blur(2px) saturate(1.1);
  pointer-events: none;
}
.collectivites--has-bg > .wrap { position: relative; z-index: 1; }
.process-box { background: var(--white); border-radius: 8px; padding: 50px; border: 1px solid var(--line-soft); margin-top: 20px; }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; }
.process-grid::before { content: ""; position: absolute; left: 8%; right: 8%; top: 46px; height: 2px; background: linear-gradient(90deg, var(--navy-800) 0%, var(--gold) 50%, var(--sky) 100%); z-index: 0; }
.process-step { position: relative; z-index: 1; }
.process-step:nth-child(1) { padding-right: 20px; }
.process-step:nth-child(2) { padding: 0 20px; }
.process-step:nth-child(3) { padding-left: 20px; }
.step-num { width: 90px; height: 90px; border-radius: 50%; display: grid; place-items: center; font-size: 26px; font-weight: 800; border: 6px solid var(--white); box-shadow: 0 0 0 1px var(--line); }
.step-num-1 { background: var(--navy-800); color: var(--white); }
.step-num-2 { background: var(--gold); color: var(--navy-900); }
.step-num-3 { background: var(--sky); color: var(--navy-900); }
.step-label { font-family: var(--font-mono, 'Geist Mono', monospace); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-600); margin-top: 20px; }
.step-title { font-size: 22px; font-weight: 800; color: var(--navy-900); margin-top: 8px; letter-spacing: -.01em; }
.step-body { color: var(--ink-soft); font-size: 14px; margin-top: 10px; line-height: 1.55; }
.process-divider { border: none; border-top: 1px solid var(--line-soft); margin: 50px 0; }
.process-features { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.feat { display: flex; gap: 16px; align-items: flex-start; }
.feat-icon { width: 40px; height: 40px; border-radius: 4px; display: grid; place-items: center; flex-shrink: 0; }
.feat-icon-gold { background: var(--gold); }
.feat-icon-navy { background: var(--navy-800); color: var(--white); }
.feat h4 { font-size: 17px; font-weight: 700; color: var(--navy-900); }
.feat p { color: var(--ink-soft); font-size: 14px; margin-top: 4px; }

/* ── Collectivités : coches + bottom text ── */
.coll-checks { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line-soft); }
.coll-checks-card {
  background: rgba(247,246,242,.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(229,183,59,.25);
  border-radius: 12px;
  padding: 28px 32px;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 2px 0 0 rgba(229,183,59,.35) inset,
    0 24px 64px -16px rgba(20,41,58,.14),
    0 4px 16px -4px rgba(20,41,58,.07);
}
.coll-checks-card::before {
  content: "";
  position: absolute;
  top: -40px; left: -40px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(229,183,59,.1), transparent 70%);
  pointer-events: none;
}
.coll-checks-eyebrow { display: flex; margin-bottom: 14px; }
.coll-checks .arg-list { margin-top: 0; font-size: 16px; }
.coll-bottom { margin-top: 36px; }
.coll-bottom > .eyebrow { display: flex; margin-bottom: 14px; }
.coll-bottom-title {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  color: var(--navy-900);
  letter-spacing: -.02em;
  line-height: 1.25;
  margin-bottom: 14px;
}
.coll-bottom-title em { font-style: normal; color: var(--gold-600); }
.coll-bottom-text { color: var(--ink-soft); font-size: 16px; line-height: 1.65; margin-top: 12px; }
.coll-bottom-text p { margin: 0 0 1em; }
.coll-bottom-text p:last-child { margin-bottom: 0; }

/* ── Entreprises : carrousel secteurs ── */
.ent-sectors { background: var(--white); }
.ent-sectors-head { margin-bottom: 40px; }
.ent-sectors-intro { margin-top: 40px; }
.ent-sectors-intro-title { font-size: clamp(21px, 2.2vw, 32px); font-weight: 500; color: var(--navy-900); letter-spacing: -.015em; line-height: 1.35; margin-bottom: 16px; }
.ent-sectors-intro-title em { font-style: normal; color: var(--gold-600); }
.ent-sectors-intro-text { color: var(--ink-soft); font-size: 15px; line-height: 1.7; margin-bottom: 0; }
.ent-sectors-highlight {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  background: rgba(247,246,242,.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(229,183,59,.25);
  border-radius: 16px;
  padding: 36px 40px;
  margin-top: 40px;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 2px 0 0 rgba(229,183,59,.35) inset,
    0 24px 64px -16px rgba(20,41,58,.14),
    0 4px 16px -4px rgba(20,41,58,.07);
}
/* Lueur gold très subtile en haut à gauche */
.ent-sectors-highlight::before {
  content: "";
  position: absolute;
  top: -40px; left: -40px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(229,183,59,.12), transparent 70%);
  pointer-events: none;
}
.ent-sh-icon-wrap {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(229,183,59,.2), rgba(229,183,59,.08));
  border: 1px solid rgba(229,183,59,.35);
  box-shadow: 0 4px 12px -4px rgba(229,183,59,.2);
  display: grid;
  place-items: center;
}
.ent-sh-icon {
  width: 26px;
  height: 26px;
  color: var(--gold-600);
  stroke-width: 1.6;
}
.ent-sh-body { position: relative; z-index: 1; flex: 1; }
.ent-sh-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-600);
  background: rgba(229,183,59,.1);
  border: 1px solid rgba(229,183,59,.25);
  border-radius: 100px;
  padding: 3px 10px;
  margin-bottom: 12px;
}
.ent-sh-text {
  font-size: 15px;
  color: var(--navy-800);
  font-weight: 400;
  line-height: 1.75;
}
.ent-sh-text em { font-style: normal; color: var(--gold-600); font-weight: 600; }
.ent-sh-text strong { color: var(--navy-900); font-weight: 700; }
.ent-sh-text a { color: var(--gold-600); text-decoration: underline; text-underline-offset: 3px; }
/* Outer layout: full-width breakout, arrows + clip */
.ent-sectors-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  /* Break out of .wrap to use full viewport width */
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding: 0 40px;
}
/* Clip: overflow hidden + padding trick for shadows */
.ent-sectors-clip {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  padding: 60px 0;
  margin: -60px 0;
}
.ent-sectors-carousel {
  position: relative;
}
.ent-sectors-track {
  display: flex;
  gap: 20px;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.ent-sc-card {
  position: relative;
  flex: 0 0 var(--esc-w, 220px);
  width: var(--esc-w, 220px);
  height: 280px;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 32px 28px;
  cursor: default;
  text-decoration: none;
  transition: transform .3s cubic-bezier(.22,.68,0,1.1), box-shadow .3s ease;
  background: linear-gradient(135deg,#1f3a4d,#2c4a5e);
}
a.ent-sc-card { cursor: pointer; }
.ent-sc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 56px -20px rgba(20,41,58,.5);
}
.ent-sc-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20,41,58,.15);
  z-index: 1;
  transition: opacity .35s ease;
}
.ent-sc-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20,41,58,.85) 0%, rgba(20,41,58,.35) 50%, transparent 100%);
  z-index: 1;
  transition: opacity .35s ease;
}
.ent-sc-card:hover::before { opacity: .7; }
.ent-sc-card:hover::after  { opacity: 1; }
.ent-sc-icon {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  opacity: .25;
  color: var(--white);
  z-index: 2;
  stroke-width: 1.2;
}
.ent-sc-title {
  position: relative;
  z-index: 2;
  font-size: clamp(16px, 1.6vw, 22px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.02em;
  line-height: 1.15;
  margin: 0;
}
/* Flèches de navigation — en dehors du clip, dans le flex wrapper */
.ent-sc-arrow {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--gold);
  color: var(--navy-900);
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 10;
  transition: background .2s;
  box-shadow: 0 4px 16px -4px rgba(20,41,58,.3);
}
.ent-sc-arrow:hover { background: var(--gold-600); color: var(--white); }
.ent-sc-arrow:disabled { opacity: .3; cursor: default; pointer-events: none; }

/* ── Testimonial ── */
.testi { background: var(--paper); }
.testi-intro { margin-top: -40px; margin-bottom: 30px; padding-bottom: 10px; }
.testi-intro-title { font-size: clamp(21px, 2.2vw, 32px); font-weight: 500; color: var(--navy-800); letter-spacing: -.015em; line-height: 1.35; margin-bottom: 16px; }
.testi-intro-title em { font-style: normal; color: var(--gold-600); }
.testi-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 36px; }
.testi-head .eyebrow { margin: 0; }
.testi-nav { display: flex; gap: 8px; }
.testi-arrow { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--line); background: var(--white); color: var(--navy-800); display: grid; place-items: center; cursor: pointer; transition: border-color .2s, background .2s, color .2s; flex-shrink: 0; }
.testi-arrow:hover { border-color: var(--gold); background: var(--gold); color: var(--navy-900); }
.testi-arrow:disabled { opacity: .3; cursor: default; }
.testi-clip {
  overflow: hidden;
  padding: 30px;
  margin: -30px;
  mask-image: linear-gradient(to right, transparent 0%, black 80px, black calc(100% - 80px), transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 80px, black calc(100% - 80px), transparent 100%);
}
.testi-track { display: flex; gap: 24px; align-items: stretch; transition: transform .55s cubic-bezier(.4,0,.2,1); }
.t-card { background: var(--white); border-radius: 8px; padding: 22px 22px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 4px 24px -6px rgba(20,41,58,.12), 0 1px 4px -1px rgba(20,41,58,.06); flex: 0 0 calc((100% - 48px) / 3); min-width: 0; transition: box-shadow .25s ease; }
.t-card:hover { box-shadow: 0 8px 32px -8px rgba(20,41,58,.18), 0 2px 8px -2px rgba(20,41,58,.08); }
.t-quote { font-size: 14px; line-height: 1.65; color: var(--navy-900); font-weight: 400; font-style: italic; flex: 1; }
.t-quote em { font-style: normal; color: var(--gold-600); font-weight: 700; }
.t-by { display: flex; flex-direction: column; gap: 1px; }
.t-by .name { font-weight: 700; color: var(--navy-900); font-size: 13px; line-height: 1.25; }
.t-by .role { color: var(--ink-soft); font-size: 12px; line-height: 1.4; }
.t-savings-wrap { padding-top: 14px; border-top: 1px solid var(--line-soft); }
.t-savings { display: inline-flex; align-items: center; gap: 10px; background: rgba(229,183,59,.13); border-radius: 8px; padding: 7px 14px; }
.t-savings-icon { display: none; }
.t-savings-amount { font-size: 15px; font-weight: 800; color: var(--gold-600); letter-spacing: -.01em; line-height: 1; }
.t-savings-label { font-size: 13px; font-weight: 400; color: var(--ink-soft); }
.t-dots { display: flex; gap: 8px; margin-top: 32px; justify-content: center; }
.testi-cta { display: flex; justify-content: center; margin-top: 36px; }
.t-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line); border: none; cursor: pointer; transition: background .2s, width .2s, border-radius .2s; padding: 0; }
.t-dot.on { background: var(--gold); width: 24px; border-radius: 4px; }

/* ── Blog ── */
.blog { background: var(--white); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 50px; }
.blog-grid .post { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; transition: box-shadow .25s ease; display: flex; flex-direction: column; box-shadow: 0 4px 16px -6px rgba(20,41,58,.1); }
.blog-grid .post:hover { box-shadow: 0 20px 40px -16px rgba(20,41,58,.2); }
.post-card-link { position: absolute; inset: 0; z-index: 1; }
.post-img { aspect-ratio: 16 / 10; position: relative; overflow: hidden; }
.post-img img { transition: transform .5s cubic-bezier(.22,.68,0,1.1); }
.blog-grid .post:hover .post-img img { transform: scale(1.05); }
.post-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(20,41,58,.60) 0%, rgba(31,58,77,.30) 100%); pointer-events: none; transition: opacity .3s ease; }
.blog-grid .post:hover .post-img::after { opacity: .8; }
.post-tag { position: absolute; top: 16px; left: 16px; background: rgba(255,255,255,.18); backdrop-filter: blur(10px) saturate(180%); -webkit-backdrop-filter: blur(10px) saturate(180%); border: 1px solid rgba(255,255,255,.35); color: #fff; padding: 5px 12px; border-radius: 4px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; z-index: 2; text-shadow: 0 1px 3px rgba(20,41,58,.4); }
.post-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-meta-top { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.post-cat-label { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-600); }
.post-sep { font-size: 10px; color: var(--navy-300); margin: 0 1px; }
.post-read { font-size: 10px; color: var(--ink-soft); font-weight: 600; }
.post-date { font-size: 10px; color: var(--ink-soft); }
.post h3 { font-size: 16px; font-weight: 700; color: var(--navy-900); letter-spacing: -.01em; line-height: 1.3; flex: 1; }
.post h3 a { color: inherit; position: relative; z-index: 2; }
.post-footer { padding-top: 14px; border-top: 1px solid var(--line-soft); }
.post-footer .arr { display: inline-flex; align-items: center; gap: 6px; color: var(--navy-800); font-weight: 700; font-size: 11px; letter-spacing: .05em; text-transform: uppercase; transition: color .2s; position: relative; z-index: 2; }
.post-footer .arr svg { width: 13px; height: 13px; transition: transform .2s; }
.blog-grid .post:hover .post-footer .arr { color: var(--gold-600); }
.blog-grid .post:hover .post-footer .arr svg { transform: translateX(3px); }

/* ── Archive / blog index ── */
.archive-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-bottom: 70px; }
.archive-item { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: grid; grid-template-columns: 180px 1fr; transition: box-shadow .25s ease; cursor: pointer; }
.archive-item:hover { box-shadow: 0 16px 40px -12px rgba(20,41,58,.2); }
.archive-card-link { position: absolute; inset: 0; z-index: 1; }
.archive-img { height: 100%; min-height: 140px; position: relative; overflow: hidden; background: var(--paper); }
.archive-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s cubic-bezier(.22,.68,0,1.1); }
.archive-img-fallback { position: absolute; inset: 0; background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); }
.archive-item:hover .archive-img img { transform: scale(1.06); }
.archive-body { padding: 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.archive-meta-top { display: flex; align-items: center; gap: 8px; }
.archive-cat { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-600); }
.archive-cat a { color: inherit; }
.archive-date { font-size: 11px; color: var(--ink-soft); }
.archive-read { font-size: 11px; color: var(--ink-soft); font-weight: 600; }
.archive-sep { font-size: 11px; color: var(--navy-300); margin: 0 2px; }
.archive-title { font-size: 16px; font-weight: 700; color: var(--navy-900); letter-spacing: -.02em; line-height: 1.3; flex: 1; }
.archive-title a { color: inherit; transition: color .2s; }
.archive-title a:hover { color: var(--gold-600); }
.archive-excerpt { font-size: 13px; line-height: 1.6; color: var(--ink-soft); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.archive-read-more { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--navy-800); margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line-soft); transition: color .2s; }
.archive-read-more svg { transition: transform .2s; }
.archive-item:hover .archive-read-more { color: var(--gold-600); }
.archive-item:hover .archive-read-more svg { transform: translateX(3px); }

/* ── Blog pagination ── */
.navigation.pagination { margin-bottom: 70px; }
.navigation.pagination .nav-links { display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; }
.navigation.pagination .nav-links a,
.navigation.pagination .nav-links span { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 10px; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--navy-800); border: 1px solid var(--line); background: var(--white); transition: background .2s, color .2s, border-color .2s; text-decoration: none !important; letter-spacing: 0; line-height: 1; }
.navigation.pagination .nav-links a:hover { background: var(--paper); border-color: var(--navy-800); color: var(--navy-900); }
.navigation.pagination .nav-links a::after { display: none !important; }
.navigation.pagination .nav-links span.current { background: var(--navy-900); color: var(--white); border-color: var(--navy-900); }
.navigation.pagination .nav-links span.dots { border-color: transparent; background: transparent; color: var(--ink-soft); cursor: default; }
.navigation.pagination .nav-links a.prev,
.navigation.pagination .nav-links a.next { gap: 6px; padding: 0 16px; font-size: 13px; }

/* ── FAQ ── */
.faq { background: var(--paper); border-top: 1px solid var(--line-soft); }
.faq-head { margin-bottom: 50px; }
.faq-list { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy-900);
  transition: color .2s;
}
.faq-q:hover { color: var(--gold-600); }
.faq-q[aria-expanded="true"] { color: var(--gold-600); }
.faq-icon { flex-shrink: 0; transition: transform .25s ease; color: var(--navy-300); }
.faq-q[aria-expanded="true"] .faq-icon { transform: rotate(180deg); color: var(--gold-600); }
.faq-a { padding: 0 0 22px; }
.faq-a p { font-size: 15px; line-height: 1.7; color: var(--ink-soft); }

/* ── CTA band ── */
.cta-band { background: var(--navy-900); color: var(--white); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, rgba(20,41,58,1) 0%, rgba(20,41,58,.85) 50%, rgba(31,58,77,.7) 100%), radial-gradient(ellipse at 80% 50%, rgba(229,183,59,.2), transparent 55%); }
.cta-band > .wrap { position: relative; z-index: 2; }
.cta-grid { display: grid; grid-template-columns: 1.3fr auto; gap: 60px; align-items: center; }
.cta-band h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.1; letter-spacing: -.02em; font-weight: 800; margin-top: 18px; }
.cta-band h2 em { font-style: normal; color: var(--gold); }
.cta-band p { color: var(--sky); margin-top: 14px; font-size: 16px; max-width: 620px; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; }

/* ── Entreprises — section CTA fond bleu ── */
.ent-cta-bleu {
  background: var(--navy-900);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
/* Motif de fond : grille de points */
.ent-cta-bleu::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 70% 40%, rgba(229,183,59,.13), transparent 55%),
    radial-gradient(ellipse at 20% 70%, rgba(31,58,77,.6), transparent 50%),
    radial-gradient(circle, rgba(185,201,211,.12) 1px, transparent 1px);
  background-size: auto, auto, 28px 28px;
  pointer-events: none;
}
.ent-cta-bleu > .wrap { position: relative; z-index: 1; max-width: 780px; text-align: center; }
.ent-cta-bleu-title {
  font-size: clamp(26px, 3.5vw, 46px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
}
.ent-cta-bleu-title em { font-style: normal; color: var(--gold); }
.ent-cta-bleu-title strong { color: var(--gold); }
/* Séparateur décoratif sous le titre */
.ent-cta-bleu-title::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin: 24px auto 0;
}
.ent-cta-bleu-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-top: 56px;
}
.ent-cta-bleu-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1 1 200px;
  max-width: 240px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 32px 24px 28px;
  position: relative;
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}
.ent-cta-bleu-step:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,.07);
  border-color: rgba(229,183,59,.3);
}
/* Trait doré en haut de chaque carte */
.ent-cta-bleu-step::before {
  content: "";
  position: absolute;
  top: 0; left: 24px; right: 24px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  border-radius: 0 0 2px 2px;
  opacity: 0;
  transition: opacity .3s ease;
}
.ent-cta-bleu-step:hover::before { opacity: 1; }
.ent-cta-bleu-step-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #c99c23);
  box-shadow: 0 8px 24px -8px rgba(229,183,59,.5);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 800;
  font-family: var(--font-mono, 'Geist Mono', monospace);
  letter-spacing: .05em;
  color: var(--navy-900);
  margin-bottom: 20px;
  flex-shrink: 0;
  transition: transform .3s ease, box-shadow .3s ease;
}
.ent-cta-bleu-step:hover .ent-cta-bleu-step-num {
  transform: scale(1.08);
  box-shadow: 0 12px 32px -8px rgba(229,183,59,.65);
}
.ent-cta-bleu-step-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -.01em;
  line-height: 1.3;
  margin-bottom: 10px;
}
.ent-cta-bleu-step-title em { font-style: normal; color: var(--gold); }
.ent-cta-bleu-step-text {
  font-size: 13px;
  color: var(--sky);
  line-height: 1.7;
  opacity: .8;
}

/* ── Footer ── */
footer { background: #0c1d2c; color: var(--sky); padding: 80px 0 30px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 50px; }
footer h5 { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; font-weight: 700; }
footer ul { list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
footer ul a:hover { color: var(--white); transition: color .2s; }
.foot-brand .fm { font-size: 34px; font-weight: 800; color: var(--white); letter-spacing: -.02em; line-height: 1; }
.foot-brand .fm::after { content: ""; display: block; width: 80px; height: 4px; margin-top: 8px; background: linear-gradient(100deg, var(--sky) 0 60%, transparent 60% 63%, var(--gold) 63% 100%); clip-path: polygon(0 40%, 100% 0, 100% 55%, 0 100%); }
.foot-brand p { color: var(--sky); margin-top: 20px; max-width: 320px; font-size: 14px; line-height: 1.5; }
.foot-logo-link { display: inline-block; line-height: 0; }
.foot-logo { height: 40px; width: auto; max-width: 200px; object-fit: contain; }
.foot-address { color: var(--sky); font-size: 13px; line-height: 1.6; margin-top: 16px; font-style: normal; }
.foot-socials { display: flex; gap: 14px; margin-top: 20px; }
.foot-socials a { color: var(--sky); transition: color .2s; display: flex; align-items: center; }
.foot-socials a:hover { color: var(--white); }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 30px; margin-top: 50px; border-top: 1px solid rgba(255,255,255,.1); font-size: 12px; }
.foot-links { display: flex; gap: 20px; }
.foot-links a:hover { color: var(--white); }

/* ── Page hero (template-full-width & inner pages) ── */
.page-hero {
  position: relative;
  overflow: hidden;
}
.page-hero--plain,
.page-hero--image {
  padding: 80px 0 100px;
  background-image:
    linear-gradient(100deg, rgba(238,236,228,.95) 0%, rgba(230,228,220,.85) 55%, rgba(220,218,210,.65) 100%),
    var(--page-hero-bg, linear-gradient(140deg, var(--paper) 0%, var(--paper-2) 100%));
  background-size: cover;
  background-position: center;
  color: var(--navy-900);
}
.page-hero-inner { position: relative; z-index: 2; }
.page-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
  font-size: 12px;
  color: var(--navy-600);
  margin-bottom: 20px;
  font-family: var(--font-mono, 'Geist Mono', monospace);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.page-breadcrumb a { color: var(--navy-600); transition: color .2s; }
.page-breadcrumb a:hover { color: var(--gold-600); }
.page-breadcrumb span[aria-current] { color: var(--gold-600); }
.page-hero-title {
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.05;
  color: var(--navy-700);
  max-width: 800px;
  font-family: var(--font-heading, 'Manrope', sans-serif);
  margin-top: 0;
}
.eyebrow + .page-hero-title { margin-top: 18px; }

/* ── Page article (full-width content) ── */
.page-article { padding: 70px 0 100px; }
.page-article-inner { max-width: 820px; }
.entry-content { font-size: 17px; line-height: 1.75; color: var(--ink-soft); }
.entry-content h2 {
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 800;
  color: var(--navy-900);
  margin: 56px 0 18px;
  letter-spacing: -.025em;
  line-height: 1.1;
  font-family: var(--font-heading, 'Manrope', sans-serif);
  padding-bottom: 14px;
  border-bottom: 2px solid var(--line-soft);
}
.entry-content h2 em { font-style: normal; color: var(--gold-600); }
.entry-content h3 {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 700;
  color: var(--navy-900);
  margin: 40px 0 12px;
  letter-spacing: -.015em;
  line-height: 1.2;
  font-family: var(--font-heading, 'Manrope', sans-serif);
  padding-left: 14px;
  border-left: 3px solid var(--gold);
}
.entry-content h3 em { font-style: normal; color: var(--gold-600); }
.entry-content h4 {
  font-size: clamp(17px, 1.8vw, 20px);
  font-weight: 700;
  color: var(--navy-800);
  margin: 32px 0 10px;
  letter-spacing: -.01em;
}
.entry-content p { margin-bottom: 1em; }
.entry-content ul, .entry-content ol { padding-left: 26px; margin-bottom: 20px; }
.entry-content li { margin-bottom: 8px; }

/* ── Single post ── */
.single-hero-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 13px;
  font-family: var(--font-mono, 'Geist Mono', monospace);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.single-content-wrap { padding-top: 64px; padding-bottom: 100px; }
.single-entry { max-width: 740px; margin: 0 auto; font-size: 18px; line-height: 1.78; }
.single-nav-wrap { padding-bottom: 80px; max-width: 740px; margin: 0 auto; }

/* ── Single: share bar ── */
.single-share {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 740px;
  margin: 48px auto 0;
  padding-top: 32px;
  border-top: 1px solid var(--line-soft);
}
.single-share-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--navy-600);
}
.single-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 14px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.single-share-btn--linkedin {
  background: #0a66c2;
  color: #fff;
}
.single-share-btn--linkedin:hover { background: #004182; color: #fff; }

/* ── Single: related articles ── */
.single-related-wrap {
  padding: 56px 0 72px;
  border-top: 1px solid var(--line-soft);
}
.single-eyebrow::before { display: none; }

.single-related-title {
  font-size: clamp(16px, 1.6vw, 20px);
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 24px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-family: var(--font-mono);
}
.related-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.related-list .archive-item { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
.related-list .archive-img { height: 140px; min-height: unset; }
.related-list .archive-excerpt { display: none; }

.entry-content blockquote {
  border-left: 4px solid var(--gold);
  padding: 20px 24px;
  margin: 32px 0;
  color: var(--navy-800);
  font-size: 18px;
  font-weight: 500;
  background: var(--paper-2);
  border-radius: 0 6px 6px 0;
}
.entry-content a { color: var(--gold-600); text-decoration: underline; text-underline-offset: 3px; }
.entry-content a:hover { color: var(--navy-800); }
.entry-content img { border-radius: 8px; margin: 28px 0; max-width: 100%; }
.entry-content strong { color: var(--navy-900); font-weight: 700; }
.entry-content hr { border: none; border-top: 2px solid var(--line-soft); margin: 40px 0; }
/* Wrapper scroll horizontal sur mobile */
.entry-content .wp-block-table,
.entry-content table { overflow-x: auto; display: block; width: 100%; margin: 32px 0; -webkit-overflow-scrolling: touch; }
.entry-content table { border-collapse: collapse; font-size: 15px; min-width: 500px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.entry-content thead th { background: var(--navy-900); color: var(--white); padding: 13px 18px; text-align: left; font-weight: 700; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.entry-content tbody tr { border-bottom: 1px solid var(--line-soft); transition: background .15s; }
.entry-content tbody tr:last-child { border-bottom: none; }
.entry-content tbody tr:nth-child(even) { background: var(--paper); }
.entry-content tbody tr:hover { background: rgba(229,183,59,.06); }
.entry-content td { padding: 12px 18px; vertical-align: top; line-height: 1.55; color: var(--ink-soft); font-size: 15px; }
.entry-content td strong { color: var(--navy-900); }
.entry-content th { padding: 13px 18px; text-align: left; font-weight: 700; font-size: 12px; letter-spacing: .06em; background: var(--paper-2); color: var(--navy-800); border-bottom: 2px solid var(--line); }

/* ── Shortcodes inline ── */
.sc-cta-box {
  background: var(--navy-900);
  color: var(--white);
  border-radius: 8px;
  padding: 36px 40px;
  margin: 40px 0;
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.sc-cta-box p { color: var(--sky); margin: 8px 0 0; font-size: 15px; }
.sc-cta-box strong { color: var(--white); font-size: 20px; font-weight: 800; display: block; }
.sc-highlight {
  background: var(--paper-2);
  border-left: 4px solid var(--gold);
  border-radius: 0 6px 6px 0;
  padding: 20px 24px;
  margin: 28px 0;
}
.sc-highlight p { margin: 0; color: var(--navy-800); font-weight: 500; }

/* ── Expertises (template-expertises) ── */
.expertises { background: var(--paper); }
.exp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 50px;
}
.exp-card {
  background: var(--white);
  border-radius: 8px;
  padding: 32px 28px;
  border-top: 4px solid var(--navy-800);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .25s ease, box-shadow .25s ease, border-top-color .25s ease;
}
.exp-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -16px rgba(20,41,58,.2); border-top-color: var(--gold); }
.exp-icon { width: 52px; height: 52px; border-radius: 4px; display: grid; place-items: center; flex-shrink: 0; color: var(--white); }
.exp-card:nth-child(1) .exp-icon { background: var(--navy-800); }
.exp-card:nth-child(2) .exp-icon { background: var(--gold); color: var(--navy-900); }
.exp-card:nth-child(3) .exp-icon { background: var(--navy-700); }
.exp-card:nth-child(4) .exp-icon { background: var(--sky); color: var(--navy-900); }
.exp-card:nth-child(5) .exp-icon { background: var(--navy-800); }
.exp-card:nth-child(6) .exp-icon { background: var(--gold); color: var(--navy-900); }
.exp-icon svg { width: 26px; height: 26px; stroke-width: 2; }
.exp-card h2, .exp-card h3 { font-size: 19px; font-weight: 800; color: var(--navy-900); letter-spacing: -.01em; line-height: 1.2; }
.exp-card p { color: var(--ink-soft); font-size: 14px; line-height: 1.6; flex: 1; }
.exp-lnk { color: var(--gold-600); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; display: inline-flex; align-items: center; gap: 6px; margin-top: auto; transition: gap .2s; }
.exp-card:hover .exp-lnk { gap: 10px; }

/* ── Logiciel Cmagic (section collectivites) ── */
.coll-software {
  background: var(--paper-2);
  border-top: 1px solid var(--line-soft);
  overflow: hidden;
}
.coll-software .wrap {
  position: relative;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.sw-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.sw-visual { min-height: 1px; }
/* Image positionnée depuis le bord gauche du wrap, centrée verticalement */
.sw-img,
.sw-img-placeholder {
  position: absolute;
  left: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: 62%;
  max-width: none;
  display: block;
}
.sw-img-placeholder {
  border-radius: 12px;
  overflow: hidden;
}
.sw-img-placeholder svg { width: 100%; height: auto; display: block; }
/* Badge sous l'image (centré horizontalement dans la zone image) */
.sw-badge {
  position: absolute;
  bottom: 10px;
  /* centré dans la zone image : l'image fait 62% du wrap depuis left:-40px,
     donc son centre est à (-40px + 62%/2) = 31% - 40px */
  left: calc(31% - 40px);
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 700;
  color: var(--navy-800);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 24px -8px rgba(20,41,58,.16);
  white-space: nowrap;
}
.sw-badge svg { color: var(--gold-600); flex-shrink: 0; }

.sw-content { padding-left: 10px; }
.sw-title { margin-bottom: 0; }
.sw-intro {
  font-size: 18px;
  font-weight: 600;
  color: var(--navy-800);
  line-height: 1.55;
  margin-top: 24px;
}
.sw-body {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-top: 14px;
}
.sw-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.sw-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-800);
}
.sw-chip svg { color: var(--gold-600); flex-shrink: 0; }
.sw-content .btn { margin-top: 32px; }

/* ── Page légale unifiée ── */
.legal-hero-sub {
  margin-top: 14px;
  font-size: 15px;
  color: var(--ink-soft);
  font-family: var(--font-mono, 'Geist Mono', monospace);
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* Contenu */
.legal-page { padding: 0 0 100px; }
.legal-inner { max-width: 820px; }

.legal-section {
  padding: 72px 0 56px;
  scroll-margin-top: calc(var(--legal-tabs-h, 52px) + var(--nav-offset, 0px));
}

.legal-section h2 {
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 36px;
  letter-spacing: -.025em;
  line-height: 1.1;
  font-family: var(--font-heading, 'Manrope', sans-serif);
  padding-bottom: 14px;
  border-bottom: 2px solid var(--line-soft);
}
.legal-section h3 {
  font-size: clamp(17px, 1.8vw, 22px);
  font-weight: 700;
  color: var(--navy-800);
  margin: 36px 0 10px;
  font-family: var(--font-heading, 'Manrope', sans-serif);
}
.legal-section p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.legal-section ul, .legal-section ol {
  padding-left: 22px;
  margin-bottom: 20px;
}
.legal-section li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.legal-section a { color: var(--gold-600); text-decoration: underline; }
.legal-section a:hover { color: var(--navy-800); }
.legal-section table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 24px 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; display: block; overflow-x: auto; min-width: 400px; }
.legal-section thead th { background: var(--navy-900); color: var(--white); padding: 11px 16px; text-align: left; font-weight: 700; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.legal-section tbody tr { border-bottom: 1px solid var(--line-soft); }
.legal-section tbody tr:last-child { border-bottom: none; }
.legal-section tbody tr:nth-child(even) { background: var(--paper); }
.legal-section td { padding: 11px 16px; vertical-align: top; color: var(--ink-soft); line-height: 1.55; }

.legal-divider {
  border: none;
  border-top: 1px solid var(--line);
  margin: 0;
}

.legal-cookie-btn {
  border-color: var(--navy-800);
  color: var(--navy-800);
  background: transparent;
  margin-top: 8px;
}
.legal-cookie-btn:hover {
  background: var(--navy-800);
  color: var(--white);
}

/* ── Page Contact ── */
.contact-section {
  background: var(--paper);
  padding: var(--section-y) 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: start;
}
.contact-title {
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.1;
  letter-spacing: -.02em;
  font-weight: 800;
  color: var(--navy-900);
  margin-top: 14px;
  font-family: var(--font-heading, 'Manrope', sans-serif);
}
.contact-intro {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.65;
  margin-top: 14px;
  margin-bottom: 32px;
  max-width: 580px;
}

/* ── Formulaire ── */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.contact-form-row {
  margin-bottom: 20px;
}
.contact-form-row--2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-800);
  letter-spacing: .02em;
}
.contact-field .required {
  color: var(--gold-600);
}
.contact-field input[type="text"],
.contact-field input[type="email"],
.contact-field input[type="tel"],
.contact-field select,
.contact-field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  font-size: 14px;
  font-family: inherit;
  transition: border-color .2s ease, box-shadow .2s ease;
  appearance: none;
  -webkit-appearance: none;
}
.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: var(--color-secondary, var(--navy-800));
  box-shadow: 0 0 0 3px rgba(31,58,77,.1);
}
.contact-input--error {
  border-color: #f87171 !important;
  box-shadow: 0 0 0 3px rgba(248,113,113,.15) !important;
}
.contact-field-error {
  font-size: 12px;
  color: #c0392b;
  font-weight: 500;
  margin-top: 2px;
}
.contact-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23556877' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}
.contact-field textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.6;
}
/* Checkbox RGPD */
.contact-field--checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}
.contact-field--checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 1px;
  border: 1.5px solid var(--navy-300);
  border-radius: 3px;
  appearance: none;
  -webkit-appearance: none;
  background: var(--white);
  cursor: pointer;
  transition: background .15s, border-color .15s;
  display: grid;
  place-content: center;
}
.contact-field--checkbox input[type="checkbox"]:checked {
  background: var(--color-secondary, var(--navy-800));
  border-color: var(--color-secondary, var(--navy-800));
}
.contact-field--checkbox input[type="checkbox"]:checked::before {
  content: "";
  width: 10px;
  height: 10px;
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
  background: var(--white);
  display: block;
}
.contact-field--checkbox span {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.55;
}
.contact-field--checkbox span a {
  color: var(--color-secondary, var(--navy-800));
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.contact-submit {
  align-self: flex-start;
  min-width: 220px;
  justify-content: center;
}
.contact-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* Feedback messages */
.contact-success {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #eaf7f0;
  border: 1.5px solid #5dbf88;
  border-radius: 8px;
  padding: 20px 22px;
  color: #1a6640;
  font-size: 15px;
  line-height: 1.55;
  margin-bottom: 0;
}
.contact-success svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: #2dab6b;
}
.contact-errors {
  background: #fff5f5;
  border: 1.5px solid #f87171;
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 20px;
}
.contact-errors ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact-errors li {
  font-size: 14px;
  color: #c0392b;
  padding-left: 18px;
  position: relative;
}
.contact-errors li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #f87171;
}

/* ── Cartelette coordonnées ── */
.contact-col-card {
  position: sticky;
  top: calc(var(--admin-bar-h) + var(--nav-h) + 24px);
  align-self: start;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 32px 28px;
}
.contact-card-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy-900);
  letter-spacing: -.01em;
  margin-bottom: 24px;
  font-family: var(--font-heading, 'Manrope', sans-serif);
}
.contact-card-intro {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin-bottom: 24px;
}
.contact-card-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-card-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.contact-card-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: var(--color-bg, var(--paper));
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-secondary, var(--navy-800));
  margin-top: 1px;
}
.contact-card-item > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.contact-card-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: .1em;
}
.contact-card-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy-900);
  line-height: 1.45;
}
a.contact-card-value {
  color: var(--color-secondary, var(--navy-800));
  transition: color .2s ease;
}
a.contact-card-value:hover {
  color: var(--color-primary, var(--gold-600));
}
.contact-card-note {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
}

/* ── Page 404 ── */
.error-404-wrap {
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 100px 20px;
}
.error-404 {
  text-align: center;
  max-width: 560px;
}
.error-404-code {
  font-size: clamp(72px, 15vw, 120px);
  font-weight: 800;
  line-height: 1;
  color: var(--navy-800);
  letter-spacing: -.04em;
}
.error-404-divider {
  width: 60px;
  height: 4px;
  background: var(--gold);
  margin: 20px auto;
}
.error-404-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--navy-900);
  margin-top: 24px;
}
.error-404-text {
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.6;
  margin-top: 16px;
}
.error-404-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 32px;
  flex-wrap: wrap;
}
