/* ============================================================
   EPNB — Feuille de styles principale
   Refonte 2026 — Alpine Blanc / Editorial Light
   ============================================================ */

/* ============================================================
   VARIABLES
   ============================================================ */
:root {
  /* Brand */
  --red:        #cd0507;
  --red-deep:   #a00405;
  --red-glow:   rgba(205, 5, 7, 0.12);
  --red-faint:  rgba(205, 5, 7, 0.06);

  /* Ink */
  --ink:        #101010;
  --ink-2:      #1e1e1e;

  /* Paper palette */
  --canvas:     #ffffff;
  --paper:      #f9f8f5;
  --paper-2:    #f2f0ec;
  --paper-3:    #ebe9e4;

  /* Grays */
  --g70:        #484848;
  --g50:        #727272;
  --g30:        #b0afab;
  --g15:        #dcdad5;
  --g08:        #eceae6;

  /* Typography */
  --font-serif: 'Didot', 'Bodoni MT', 'Bodoni 72 OldStyle', 'Book Antiqua', Palatino, 'Palatino Linotype', Georgia, serif;
  --font-sans:  'Helvetica Neue', Helvetica, 'Arial Nova', Arial, sans-serif;

  /* Layout */
  --nav-h:    72px;
  --max-w:    1200px;
  --pad-x:    clamp(1.5rem, 5vw, 4rem);
  --sec-y:    clamp(5rem, 10vw, 8rem);

  /* Motion */
  --ease:     cubic-bezier(0.4, 0, 0.2, 1);
  --spring:   cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  background: var(--canvas);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

/* ============================================================
   SHARED LAYOUT
   ============================================================ */
.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--sec-y) var(--pad-x);
}

/* Section headers */
.sec-head {
  display: flex;
  align-items: flex-end;
  gap: 1.5rem;
  padding-bottom: 2rem;
  margin-bottom: clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--g08);
}
.sec-head--alt { border-bottom-color: var(--g15); }

.sec-num {
  font-family: var(--font-serif);
  font-size: clamp(4.5rem, 9vw, 7rem);
  font-weight: 400;
  color: var(--g08);
  line-height: 1;
  letter-spacing: -0.05em;
  user-select: none;
}
.sec-num--red { color: var(--red-faint); }

.sec-title {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--ink);
}
.sec-sub {
  font-size: 0.875rem;
  color: var(--g50);
  margin-top: 0.4rem;
  letter-spacing: 0.02em;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.875rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background var(--ease) 0.22s,
              color var(--ease) 0.22s,
              border-color var(--ease) 0.22s,
              box-shadow var(--ease) 0.22s,
              transform var(--ease) 0.22s;
}

.btn--red {
  background: var(--red);
  color: #fff;
}
.btn--red:hover {
  background: var(--red-deep);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(205,5,7,0.22);
}

/* Outline on light background */
.btn--outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--g15);
}
.btn--outline:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

/* Outline on dark footer */
.btn--outline-light {
  background: transparent;
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.2);
}
.btn--outline-light:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}

.btn--full { width: 100%; }
.btn__ico { width: 15px; height: 15px; flex-shrink: 0; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 900;
  transition: background var(--ease) 0.3s,
              box-shadow var(--ease) 0.3s,
              border-color var(--ease) 0.3s;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--g08);
  box-shadow: 0 1px 24px rgba(0,0,0,0.06);
}

.nav__container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.2em;
  z-index: 10;
  font-family: var(--font-serif);
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}
.nav__logo-icon {
  color: var(--red);
  flex-shrink: 0;
  margin-bottom: 0.05em;
}
.nav__logo-text { color: var(--ink); }

/* Links */
.nav__links {
  display: flex;
  align-items: center;
  gap: 0.125rem;
}

.nav__link {
  padding: 0.5rem 0.875rem;
  color: var(--g70);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
  transition: color var(--ease) 0.2s;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0.875rem; right: 0.875rem;
  height: 1.5px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--ease) 0.25s;
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after { transform: scaleX(1); }

.nav__link--cta {
  background: var(--red);
  color: #fff !important;
  padding: 0.5rem 1.125rem;
  transition: background var(--ease) 0.22s !important;
}
.nav__link--cta::after { display: none; }
.nav__link--cta:hover { background: var(--red-deep) !important; }

/* Active state */
.nav__link.active:not(.nav__link--cta) { color: var(--ink); }
.nav__link.active:not(.nav__link--cta)::after { transform: scaleX(1); }

/* Hamburger */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  z-index: 10;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  transition: transform var(--ease) 0.3s, opacity var(--ease) 0.3s;
}
.nav__toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.active span:nth-child(2) { opacity: 0; }
.nav__toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO — Editorial light
   ============================================================ */
.hero {
  min-height: 100vh;
  background: var(--canvas);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Subtle warm dot grid */
.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, var(--g15) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.6;
}
.hero__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 60% 60% at 70% 30%,
    rgba(205,5,7,0.05) 0%,
    transparent 65%
  );
}

/* Large decorative year — right side watermark */
.hero__year-mark {
  position: absolute;
  right: var(--pad-x);
  bottom: 3rem;
  font-family: var(--font-serif);
  font-size: clamp(6rem, 14vw, 12rem);
  font-weight: 400;
  color: var(--g08);
  line-height: 1;
  letter-spacing: -0.05em;
  user-select: none;
  pointer-events: none;
  z-index: 0;
}

/* Hero layout */
.hero__container {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  padding: calc(var(--nav-h) + 5rem) var(--pad-x) 6rem;
  display: grid;
  grid-template-columns: 1fr 200px;
  align-items: center;
  gap: 3rem;
  position: relative;
  z-index: 1;
  flex: 1;
}

/* Red left rule */
.hero__content {
  position: relative;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.95s var(--ease), transform 0.95s var(--ease);
}
.hero__content.loaded { opacity: 1; transform: translateY(0); }

.hero__content::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 1rem;
  bottom: 1rem;
  width: 3px;
  background: linear-gradient(to bottom, var(--red) 0%, transparent 100%);
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 2rem;
  color: var(--g50);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.hero__eyebrow-line {
  display: block;
  width: 28px;
  height: 1.5px;
  background: var(--red);
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin-bottom: 1.75rem;
}
.hero__title-top,
.hero__title-bottom { display: block; }
.hero__title-em {
  display: block;
  font-style: italic;
  color: var(--red);
}

.hero__kicker {
  position: relative;
  padding-left: 3rem;
  font-size: clamp(0.75rem, 1.25vw, 0.9375rem);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--g50);
  margin-bottom: 0.875rem;
}
.hero__kicker::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 2rem; height: 1px;
  background: var(--g30);
}

.hero__desc {
  font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
  color: var(--g70);
  line-height: 1.85;
  margin-bottom: 2.5rem;
}

.hero__ctas {
  display: flex;
  gap: 0.875rem;
  flex-wrap: wrap;
}

/* Hero stats — card on right */
.hero__aside {
  background: var(--paper);
  border: 1px solid var(--g08);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding: 2.25rem 1.5rem;
  position: relative;
  opacity: 0;
  transition: opacity 0.9s var(--ease) 0.4s;
}
.hero__aside.loaded { opacity: 1; }
.hero__aside::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--red), transparent);
}

.hero__stat { text-align: center; }
.hero__stat-n {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.04em;
  line-height: 1;
}
.hero__stat-l {
  display: block;
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--g50);
  margin-top: 0.4rem;
}

.hero__stat-divider {
  width: 32px;
  height: 1px;
  background: var(--g15);
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 2.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  z-index: 1;
}
.hero__scroll-label {
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--g30);
}
.hero__scroll-bar {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, var(--g30), transparent);
  animation: scBar 2.2s ease-in-out infinite;
}
@keyframes scBar {
  0%, 100% { opacity: 0.35; transform: scaleY(0.85); }
  50%       { opacity: 0.8;  transform: scaleY(1.1); }
}

/* ============================================================
   SERVICES
   ============================================================ */
.services { background: var(--paper); }

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
}

.svc {
  background: var(--canvas);
  border: 1px solid var(--g08);
  padding: 2.5rem 2.25rem;
  position: relative;
  overflow: hidden;
  transition: transform var(--ease) 0.28s,
              box-shadow var(--ease) 0.28s,
              border-color var(--ease) 0.28s;
  cursor: default;
}
.svc::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--red-faint);
  opacity: 0;
  transition: opacity var(--ease) 0.28s;
}
.svc::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--red);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform var(--ease) 0.35s;
  z-index: 1;
}
.svc:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.07);
  border-color: var(--g15);
}
.svc:hover::before { transform: scaleY(1); }
.svc:hover::after  { opacity: 1; }

.svc__icon {
  width: 44px;
  height: 44px;
  color: var(--red);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
  transition: transform var(--spring) 0.3s;
}
.svc:hover .svc__icon { transform: scale(1.08); }

.svc__title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 0.75rem;
  line-height: 1.3;
  position: relative;
  z-index: 1;
}

.svc__desc {
  font-size: 0.875rem;
  color: var(--g50);
  line-height: 1.75;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.svc__link {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
}

.svc__arrow {
  display: inline-block;
  color: var(--red);
  font-size: 1rem;
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity var(--ease) 0.25s, transform var(--ease) 0.25s;
  position: relative;
  z-index: 1;
}
.svc:hover .svc__arrow { opacity: 1; transform: translateX(0); }

/* Featured card — Sports & Loisirs */
.svc--featured {
  background: var(--paper);
  border-color: var(--g15);
}
.svc--featured::after {
  background: linear-gradient(135deg, var(--red-faint), transparent);
}

.svc__badge {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.25rem 0.625rem;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}

/* Carte pleine largeur — Conseil et direction technique */
.svc--wide {
  grid-column: 1 / -1;
  padding: 1.75rem 2.25rem;
  background: var(--paper);
}
.svc--wide .svc__title { margin-bottom: 0.35rem; }
.svc--wide .svc__desc { margin-bottom: 0.5rem; }

/* ============================================================
   EXPERTISE DÉTAILLÉE — tabs
   ============================================================ */
.expertise { background: var(--canvas); }

.exp__layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0;
  border: 1px solid var(--g08);
}

/* Sidebar */
.exp__tabs {
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--g08);
  background: var(--paper);
}

.exp__tab {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1.125rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--g08);
  transition: background var(--ease) 0.2s, color var(--ease) 0.2s;
  cursor: pointer;
  position: relative;
}
.exp__tab:last-child { border-bottom: none; }
.exp__tab::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--red);
  transform: scaleY(0);
  transition: transform var(--ease) 0.25s;
}
.exp__tab:hover { background: var(--paper-2); }
.exp__tab.active {
  background: var(--canvas);
  border-right: 1px solid var(--canvas);
  margin-right: -1px;
  z-index: 1;
}
.exp__tab.active::before { transform: scaleY(1); }

.exp__tab-num {
  font-family: var(--font-serif);
  font-size: 0.75rem;
  color: var(--g30);
  font-weight: 400;
  flex-shrink: 0;
  letter-spacing: 0.04em;
  transition: color var(--ease) 0.2s;
}
.exp__tab.active .exp__tab-num { color: var(--red); }

.exp__tab-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--g70);
  line-height: 1.3;
  transition: color var(--ease) 0.2s;
}
.exp__tab:hover .exp__tab-label,
.exp__tab.active .exp__tab-label { color: var(--ink); }

/* Panels */
.exp__panels { position: relative; min-height: 520px; }

.exp__panel {
  display: none;
  padding: 3rem;
  animation: fadePanel 0.35s var(--ease);
}
.exp__panel.active { display: block; }

@keyframes fadePanel {
  from { opacity: 0; transform: translateX(10px); }
  to   { opacity: 1; transform: translateX(0); }
}

.exp__panel-icon {
  width: 52px;
  height: 52px;
  color: var(--red);
  margin-bottom: 1.5rem;
}

.exp__panel-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.exp__panel-intro {
  font-size: 1rem;
  color: var(--g70);
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 640px;
}

/* Feature list */
.exp__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.625rem 2rem;
  margin-bottom: 2rem;
}

.exp__feature {
  display: flex;
  align-items: baseline;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--g70);
  line-height: 1.5;
}
.exp__feature strong { color: var(--ink); font-weight: 600; }

.exp__feature-dot {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
  margin-top: 0.45rem;
}

/* Callout */
.exp__callout {
  background: var(--paper);
  border-left: 3px solid var(--red);
  padding: 1.25rem 1.5rem;
  max-width: 640px;
}
.exp__callout-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.5rem;
}
.exp__callout p:last-child {
  font-size: 0.9rem;
  color: var(--g70);
  line-height: 1.7;
  font-style: italic;
}

/* Mobile accordion */
@media (max-width: 860px) {
  .exp__layout {
    grid-template-columns: 1fr;
    border: none;
  }
  .exp__tabs {
    border-right: none;
    border: 1px solid var(--g08);
    background: var(--paper);
  }
  .exp__tab.active {
    border-right: none;
    margin-right: 0;
  }
  .exp__panels {
    border: 1px solid var(--g08);
    border-top: none;
    min-height: auto;
  }
  .exp__panel { padding: 2rem 1.5rem; }
  .exp__features { grid-template-columns: 1fr; }
}

/* ============================================================
   ABOUT / LA SOCIÉTÉ
   ============================================================ */
.about { background: var(--canvas); }

.about__layout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(3rem, 8vw, 7rem);
  align-items: start;
}

.about__visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.about__year-bg {
  font-family: var(--font-serif);
  font-size: clamp(5rem, 10vw, 9rem);
  font-weight: 400;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.05em;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  user-select: none;
}
.about__badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--red);
  color: #fff;
  padding: 0.75rem 1rem;
  text-align: center;
  line-height: 1.45;
}
.about__badge span {
  display: block;
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.75;
}
.about__badge strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.about__lead {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.25vw, 1.5rem);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 1.375rem;
}
.about__body p {
  font-size: 0.9375rem;
  color: var(--g50);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.about__body strong { color: var(--ink-2); font-weight: 600; }

.about__pills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 2rem;
}
.about__pill {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink);
}
.about__pill svg { width: 17px; height: 17px; color: var(--red); flex-shrink: 0; }

/* ============================================================
   RÉFÉRENCES — light grid
   ============================================================ */
.references { background: var(--paper-2); }

.refs__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--g15);
  border: 1px solid var(--g15);
}

.ref {
  background: var(--paper-2);
  transition: background var(--ease) 0.28s;
}
.ref:hover { background: var(--canvas); }

.ref__inner {
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  min-height: 160px;
  text-align: center;
}

.ref__logo {
  max-width: 120px;
  max-height: 48px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.55;
  transition: filter var(--ease) 0.28s, opacity var(--ease) 0.28s;
}
.ref:hover .ref__logo { filter: grayscale(0); opacity: 1; }

.ref__name {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 400;
  color: var(--g30);
  letter-spacing: -0.01em;
  transition: color var(--ease) 0.28s;
}
.ref:hover .ref__name { color: var(--ink); }

.ref__project {
  font-size: 0.78rem;
  color: var(--g50);
  line-height: 1.4;
  margin-bottom: 0.5rem;
  transition: color var(--ease) 0.28s;
}
.ref:hover .ref__project { color: var(--g70); }

.ref__sector {
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--g30);
  transition: color var(--ease) 0.28s;
}
.ref:hover .ref__sector { color: var(--red); }

/* Appel aux clients — dernière case de la grille des références */
.ref--cta .ref__inner { text-decoration: none; height: 100%; }
.ref--cta .ref__name { color: var(--red); }
.ref--cta:hover .ref__name { color: var(--red-deep); }

/* Encarts successifs dans un panneau d'expertise */
.exp__callout + .exp__callout { margin-top: 1rem; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--paper); }

.contact__layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(3rem, 8vw, 6rem);
  align-items: start;
}

.contact__loc {
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
  margin-bottom: 2.5rem;
}
.contact__loc-ico { width: 22px; height: 22px; color: var(--red); flex-shrink: 0; margin-top: 0.1rem; }
.contact__loc strong { display: block; font-size: 0.9375rem; font-weight: 600; margin-bottom: 0.2rem; }
.contact__loc p { font-size: 0.85rem; color: var(--g50); }

.contact__quote {
  font-family: var(--font-serif);
  font-size: clamp(1.125rem, 1.75vw, 1.375rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.6;
  letter-spacing: -0.015em;
  color: var(--ink);
  padding-left: 1.5rem;
  border-left: 2px solid var(--red);
}

/* Form */
.fgrp { margin-bottom: 1.125rem; }
.flabel {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--g50);
  margin-bottom: 0.45rem;
}
.finput,
.ftarea {
  width: 100%;
  padding: 0.8125rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--ink);
  background: var(--canvas);
  border: 1px solid var(--g15);
  border-radius: 0;
  outline: none;
  transition: border-color var(--ease) 0.2s, box-shadow var(--ease) 0.2s;
  appearance: none;
  -webkit-appearance: none;
}
.finput:focus,
.ftarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-glow);
}
.finput.error,
.ftarea.error {
  border-color: var(--red);
  animation: shake 0.4s var(--ease);
}
.ftarea { resize: vertical; min-height: 130px; }

.form-ok {
  display: none;
  margin-top: 1rem;
  padding: 0.875rem 1rem;
  background: rgba(16,150,72,0.07);
  border: 1px solid rgba(16,150,72,0.18);
  color: #166534;
  font-size: 0.875rem;
  text-align: center;
}
.form-ok.show { display: block; }

/* Formulaire Bee (bee.epnb.net) — le widget gère l'envoi, EPNB conserve
   l'habillage et l'accessibilité du formulaire dans le style du site. */
.contact__form .epnbee-form-wrapper { width: 100%; }
.contact__form .epnbee-form { display: grid; gap: 1.125rem; }
.contact__form .epnbee-group { display: grid; gap: 0.45rem; }
.contact__form .epnbee-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--g50);
}
.contact__form .epnbee-input {
  box-sizing: border-box;
  width: 100%;
  padding: 0.8125rem 1rem;
  font: inherit;
  font-size: 0.9375rem;
  color: var(--ink);
  background: var(--canvas);
  border: 1px solid var(--g15);
  border-radius: 0;
  outline: none;
  transition: border-color var(--ease) 0.2s, box-shadow var(--ease) 0.2s;
}
.contact__form .epnbee-input:focus { border-color: var(--red); box-shadow: 0 0 0 3px var(--red-glow); }
.contact__form .epnbee-textarea { min-height: 130px; resize: vertical; }
.contact__form .epnbee-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3.1rem;
  padding: 0.85rem 1.5rem;
  color: #fff;
  background: var(--red);
  border: 1px solid var(--red);
  border-radius: 0;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--ease) 0.2s;
}
.contact__form .epnbee-btn:hover { background: var(--red-deep); }
.contact__form .epnbee-btn:disabled { cursor: wait; opacity: 0.65; }
.contact__form .epnbee-status { margin-top: 1rem; padding: 0.875rem 1rem; font-size: 0.875rem; text-align: center; }
.contact__form .epnbee-status:empty { display: none; }
.contact__form .epnbee-status.success { color: #166534; background: rgba(16,150,72,0.07); border: 1px solid rgba(16,150,72,0.18); }
.contact__form .epnbee-status.error { color: var(--red-deep); background: var(--red-glow); border: 1px solid rgba(205,5,7,0.18); }

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%       { transform: translateX(-6px); }
  40%       { transform: translateX(6px); }
  60%       { transform: translateX(-4px); }
  80%       { transform: translateX(4px); }
}

/* ============================================================
   FOOTER — seul élément sombre, ancre la page
   ============================================================ */
.footer { background: var(--ink-2); color: rgba(255,255,255,0.4); }

.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 3rem var(--pad-x) 1.75rem;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

/* Footer logo — inversé */
.footer__logo { font-size: 1.5rem; }
.footer__logo .nav__logo-text { color: rgba(255,255,255,0.85); }
.footer__logo .nav__logo-icon { color: var(--red); }

.icon-mtn {
  display: inline;
  vertical-align: middle;
  position: relative;
  top: -0.05em;
}

.footer__tag {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.28);
  margin-top: 0.5rem;
  letter-spacing: 0.02em;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
  justify-content: flex-end;
}
.footer__link {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  transition: color var(--ease) 0.2s;
}
.footer__link:hover { color: #fff; }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer__copy,
.footer__geo {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.06em;
}

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); }

.services__grid .reveal:nth-child(2) { transition-delay: 0.07s; }
.services__grid .reveal:nth-child(3) { transition-delay: 0.14s; }
.services__grid .reveal:nth-child(4) { transition-delay: 0.21s; }
.services__grid .reveal:nth-child(5) { transition-delay: 0.28s; }
.services__grid .reveal:nth-child(6) { transition-delay: 0.35s; }
.services__grid .reveal:nth-child(7) { transition-delay: 0.42s; }
.services__grid .reveal:nth-child(8) { transition-delay: 0.49s; }
.services__grid .reveal:nth-child(9) { transition-delay: 0.56s; }

.refs__grid .reveal:nth-child(2)  { transition-delay: 0.05s; }
.refs__grid .reveal:nth-child(3)  { transition-delay: 0.10s; }
.refs__grid .reveal:nth-child(4)  { transition-delay: 0.15s; }
.refs__grid .reveal:nth-child(5)  { transition-delay: 0.20s; }
.refs__grid .reveal:nth-child(6)  { transition-delay: 0.25s; }
.refs__grid .reveal:nth-child(7)  { transition-delay: 0.30s; }
.refs__grid .reveal:nth-child(8)  { transition-delay: 0.35s; }
.refs__grid .reveal:nth-child(9)  { transition-delay: 0.40s; }
.refs__grid .reveal:nth-child(10) { transition-delay: 0.45s; }

/* ============================================================
   RESPONSIVE — Tablet 960px
   ============================================================ */
@media (max-width: 960px) {
  .hero__container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero__aside {
    flex-direction: row;
    justify-content: space-around;
    padding: 1.75rem;
  }
  .hero__aside::before { top: 0; right: 0; bottom: auto; width: 100%; height: 3px;
    background: linear-gradient(to right, var(--red), transparent); }
  .hero__stat-divider { width: 1px; height: 40px; }
  .hero__content::before { display: none; }

  .about__layout { grid-template-columns: 1fr; gap: 3rem; }
  .about__visual {
    flex-direction: row;
    align-items: center;
    gap: 2rem;
  }
  .about__year-bg {
    writing-mode: horizontal-tb;
    transform: none;
    font-size: clamp(4rem, 10vw, 6rem);
  }
  .about__badge { position: static; align-self: flex-start; }

  .contact__layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .refs__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__nav { justify-content: flex-start; }
  .hero__year-mark { display: none; }
}

/* ============================================================
   RESPONSIVE — Mobile 600px
   ============================================================ */
@media (max-width: 600px) {
  .nav__links {
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,0.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--ease) 0.3s;
  }
  .nav__links.open { opacity: 1; pointer-events: all; }
  .nav__link {
    font-size: 1.125rem;
    color: var(--ink);
    padding: 0.75rem 1.5rem;
  }
  .nav__link--cta { margin-top: 0.5rem; padding: 0.75rem 2rem; }
  .nav__toggle { display: flex; }
  /* Hamburger lines dark on light bg */
  .nav__toggle span { background: var(--ink); }

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

  .sec-num { font-size: 3.5rem; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 0; }

  .hero__ctas { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  .nav, .hero__scroll, .hero__bg, .hero__year-mark { display: none; }
  .hero { min-height: auto; padding-top: 2rem; }
}

/* ============================================================
   BLOG HUGO
   ============================================================ */
.blog { padding: calc(var(--nav-h) + 4rem) 0 var(--sec-y); background: var(--canvas); }
.blog__hero { max-width: 900px; margin-bottom: 4rem; min-height: min(560px, calc(100vh - var(--nav-h) - 5rem)); display: flex; flex-direction: column; justify-content: center; }
.blog__eyebrow, .blog-card__date { color: var(--red); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.blog__hero h1, .blog-post h1, .blog-card h2 { font-family: var(--font-serif); font-weight: 400; color: var(--ink); }
.blog__hero h1 { font-size: clamp(2.75rem, 6vw, 5rem); line-height: 1; margin: 0.75rem 0 1.5rem; }
.blog__intro, .blog__empty, .blog-card p, .blog-post__lead, .blog-post__content { color: var(--g70); line-height: 1.75; }
.blog__scroll { display: inline-flex; align-items: center; gap: 1rem; width: fit-content; margin-top: 2.5rem; padding: 0.85rem 1rem 0.85rem 1.15rem; color: var(--ink); border: 1px solid var(--g08); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; transition: border-color var(--ease) 0.2s, color var(--ease) 0.2s; }
.blog__scroll span:last-child { display: grid; place-items: center; width: 1.8rem; height: 1.8rem; color: #fff; background: var(--red); font-size: 1.1rem; line-height: 1; }
.blog__scroll:hover { color: var(--red); border-color: var(--red); }
.blog__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.blog-card { border: 1px solid var(--g08); padding: 1.75rem; display: flex; min-height: 260px; flex-direction: column; align-items: flex-start; }
.blog-card h2 { font-size: 1.7rem; line-height: 1.15; margin: 1rem 0 0.75rem; }
.blog-card h2 a { color: inherit; }
.blog-card__link { margin-top: auto; color: var(--red); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.blog-post { max-width: 760px; }
.blog-post__back { display: inline-block; color: var(--red); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 3rem; }
.blog-post h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1.05; margin: 1rem 0; }
.blog-post__lead { font-size: 1.2rem; margin-bottom: 3rem; }
.blog-post__content h2 { font-family: var(--font-serif); color: var(--ink); font-weight: 400; font-size: 2rem; margin: 2.5rem 0 1rem; }
.blog-post__content p { margin: 0 0 1.25rem; }
.blog-post__content h2#aller-plus-loin {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--g08);
}
.blog-post__content h2#aller-plus-loin + ul {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.blog-post__content h2#aller-plus-loin + ul li { margin: 0; }
.blog-post__content h2#aller-plus-loin + ul a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--g08);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  transition: border-color var(--ease) 0.2s, color var(--ease) 0.2s, transform var(--ease) 0.2s;
}
.blog-post__content h2#aller-plus-loin + ul a::after {
  content: '→';
  color: var(--red);
  font-size: 1.15rem;
  flex: 0 0 auto;
}
.blog-post__content h2#aller-plus-loin + ul a:hover {
  border-color: var(--red);
  color: var(--red);
  transform: translateX(4px);
}
@media (max-width: 860px) { .blog__hero { min-height: auto; } .blog__list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .blog { padding-top: calc(var(--nav-h) + 2.5rem); } .blog__list { grid-template-columns: 1fr; } }

/* Compteurs du hero sur petit écran (3 chiffres) */
@media (max-width: 600px) {
  .hero__aside { padding: 1.5rem 0.75rem; }
  .hero__stat-l { letter-spacing: 0.08em; }
}

/* ============================================================
   PAGES INTÉRIEURES — en-tête, prestations, FAQ, bandeau
   ============================================================ */
.sec-cta { margin-top: 2.5rem; text-align: center; }
.sec-cta--left { text-align: left; }
.contact__loc { margin-bottom: 1.75rem; }
.contact__loc a { color: var(--red); }

.page-hero { background: var(--paper); border-bottom: 1px solid var(--g08); }
.page-hero .wrap {
  padding-top: calc(var(--nav-h) + clamp(3rem, 7vw, 5.5rem));
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
.page-hero__eyebrow {
  color: var(--red);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.page-hero__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0.75rem 0 1.25rem;
  max-width: 900px;
}
.page-hero__lead { max-width: 720px; color: var(--g70); line-height: 1.8; font-size: 1.0625rem; }

.presta-toc { display: flex; flex-wrap: wrap; gap: 0.625rem; margin-top: 2rem; }
.presta-toc a {
  padding: 0.6rem 1rem;
  border: 1px solid var(--g15);
  background: var(--canvas);
  color: var(--g70);
  font-size: 0.8125rem;
  text-decoration: none;
  transition: border-color var(--ease) 0.2s, color var(--ease) 0.2s;
}
.presta-toc a:hover { border-color: var(--red); color: var(--red); }

.presta-sec { background: var(--canvas); scroll-margin-top: var(--nav-h); }
.presta-sec:nth-of-type(odd) { background: var(--paper); }
.presta {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.presta__icon { width: 48px; height: 48px; color: var(--red); margin-bottom: 1.25rem; }
.presta__tagline {
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0.5rem 0 1.25rem;
}
.presta__lead { color: var(--g70); line-height: 1.8; margin-bottom: 2rem; max-width: 680px; }
.presta__aside { display: grid; gap: 1rem; }
.presta__aside .exp__callout { max-width: none; background: var(--canvas); }
.presta-sec:nth-of-type(even) .presta__aside .exp__callout { background: var(--paper); }
.exp__features--single { grid-template-columns: 1fr; }
.exp__feature a { color: inherit; }

.faq { background: var(--canvas); }
.faq__list { display: grid; gap: 0; border-top: 1px solid var(--g08); max-width: 900px; }
.faq__item { border-bottom: 1px solid var(--g08); }
.faq__item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.25rem 2.5rem 1.25rem 0;
  position: relative;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--ink);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+';
  position: absolute;
  right: 0.25rem;
  top: 1.1rem;
  color: var(--red);
  font-family: var(--font-sans);
  font-size: 1.25rem;
}
.faq__item[open] summary::after { content: '–'; }
.faq__item p { padding: 0 0 1.5rem; color: var(--g70); line-height: 1.8; max-width: 760px; }
.faq__item a { color: var(--red); }

@media (max-width: 860px) {
  .presta { grid-template-columns: 1fr; }
  .presta__aside { padding-top: 0; }
}
@media (max-width: 600px) {
  .exp__features { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .refs__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ref__inner { padding: 2rem 1rem; overflow-wrap: anywhere; }
  .ref__sector { letter-spacing: 0.1em; }
}

/* ============================================================
   AJUSTEMENTS — bloc 2009, logos, illustrations, grille
   ============================================================ */
/* Le badge ne recouvre plus le « 2009 » vertical */
.about__badge { position: static; margin-top: 1.5rem; }

/* Logos peu lisibles à la taille standard */

/* Illustrations des prestations (unDraw, recolorées #cd0507) */
.presta__illus { display: block; width: 100%; max-width: 380px; height: auto; margin: 0 auto 0.5rem; }

/* Grille de références : traits portés par les cases, pas de case grise vide */
.refs__grid { background: transparent; gap: 0; border: none; border-top: 1px solid var(--g15); border-left: 1px solid var(--g15); }
.ref { border-right: 1px solid var(--g15); border-bottom: 1px solid var(--g15); }

/* ============================================================
   PIED DE PAGE — bandeau d'appel + colonnes
   ============================================================ */
.footer-cta { background: var(--paper-3); border-top: 1px solid var(--g15); }
.footer-cta__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(2.75rem, 6vw, 4rem) var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 3rem;
  flex-wrap: wrap;
}
.footer-cta__title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.2;
  color: var(--ink);
}
.footer-cta__text { margin-top: 0.5rem; color: var(--g70); max-width: 620px; line-height: 1.7; }

.footer__inner { padding-top: clamp(3rem, 6vw, 4.5rem); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr 1.1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 1.5rem;
}
.footer__pitch { margin-top: 1rem; font-size: 0.875rem; line-height: 1.7; color: rgba(255,255,255,0.55); max-width: 340px; }
.footer__tag { margin-top: 0.875rem; color: rgba(255,255,255,0.4); }
.footer__col-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.1rem;
}
.footer__list { list-style: none; display: grid; gap: 0.6rem; font-size: 0.875rem; line-height: 1.5; color: rgba(255,255,255,0.55); }
.footer__list a, .footer__bottom a { color: rgba(255,255,255,0.55); text-decoration: none; transition: color var(--ease) 0.2s; }
.footer__list a:hover, .footer__bottom a:hover { color: #fff; }
.footer__copy { color: rgba(255,255,255,0.35); }

@media (max-width: 960px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .footer__grid { grid-template-columns: 1fr; }
  .footer-cta .btn { width: 100%; }
}

/* ============================================================
   REVUE DU 20/10 — bouton Contact, références, encarts, FAQ, footer
   ============================================================ */
/* Bouton Contact du menu : contour rouge, distinct des CTA pleins de la page */
.nav__link--cta {
  background: transparent;
  color: var(--red) !important;
  border: 1px solid var(--red);
  transition: background var(--ease) 0.22s, color var(--ease) 0.22s !important;
}
.nav__link--cta:hover,
.nav__link--cta:focus-visible,
.nav__link--cta.active { background: var(--red) !important; color: #fff !important; }

/* Références : logos dans une boîte commune, secteur aligné en bas */
.ref__inner { justify-content: flex-start; height: 100%; }
.ref__logo {
  width: 150px;
  height: 56px;
  max-width: 100%;
  max-height: none;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.ref__name { min-height: 56px; display: flex; align-items: center; justify-content: center; }
.ref__sector { margin-top: auto; padding-top: 0.5rem; }
.ref--cta .ref__inner { justify-content: center; }
.ref--cta .ref__name { min-height: 0; }

/* Encarts de références (page Prestations) */
.exp__refs { list-style: none; display: grid; gap: 0.5rem; font-size: 0.875rem; color: var(--g70); line-height: 1.5; }
.exp__refs strong { color: var(--ink); font-weight: 600; }
.exp__callout-more {
  display: inline-block;
  margin-top: 0.875rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--red);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.exp__callout-more:hover { border-bottom-color: currentColor; }

/* FAQ : question en H3 dans <summary> */
.faq__q { display: inline; font: inherit; color: inherit; margin: 0; }

/* Pied de page : nos logiciels */
.footer__list--products li { display: grid; gap: 0.15rem; }
.footer__list--products strong { color: #fff; font-weight: 600; }
.footer__list--products span { font-size: 0.8rem; color: rgba(255,255,255,0.4); }
.footer__grid { grid-template-columns: 1.7fr 1fr 1.3fr 1.1fr; }

/* Pied de page : le texte de présentation ne dépasse plus sur les petits écrans */
.footer__pitch { max-width: min(340px, 100%); }
.footer__grid > * { min-width: 0; }

/* Amélioration progressive : sans JavaScript, contenu et compteurs visibles d'emblée */
html:not(.js) .reveal,
html:not(.js) .hero__content,
html:not(.js) .hero__aside { opacity: 1; transform: none; }

/* ============================================================
   AJUSTEMENTS 08/11/2026 — frise, références, marque blanche
   ============================================================ */
/* Chapeau de la page Société : la règle .about__body p écrasait sa taille */
.about__body .about__lead {
  font-size: clamp(1.25rem, 2.25vw, 1.5rem);
  color: var(--ink);
  line-height: 1.5;
}

/* Frise « Nos repères » */
.milestones {
  margin-top: clamp(4rem, 8vw, 6rem);
  padding-top: 3rem;
  border-top: 1px solid var(--g15);
}
.milestones__title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 2.5rem;
}
.milestones__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}
.milestones__list::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--g15);
}
.milestone { position: relative; padding-top: 2rem; }
.milestone::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--canvas);
  border: 2px solid var(--red);
  box-sizing: border-box;
}
.milestone:last-child::before { background: var(--red); }
.milestone__year {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 0.75rem;
}
.milestone__label {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 0.5rem;
}
.milestone__text {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--g50);
  margin: 0;
}
@media (max-width: 900px) {
  .milestones__list { grid-template-columns: 1fr; gap: 1.75rem; padding-left: 2rem; }
  .milestones__list::before { top: 0; bottom: 0; left: 6px; right: auto; width: 1px; height: auto; }
  .milestone { padding-top: 0; }
  .milestone::before { left: -2rem; top: 0.35rem; }
  .milestone__year { font-size: 2rem; margin-bottom: 0.5rem; }
}

/* Références : en-tête et intro chiffrée */
.refs__head { align-items: flex-end; gap: 2rem; flex-wrap: wrap; margin-bottom: clamp(2rem, 4vw, 2.75rem); }
.refs__intro {
  max-width: 26rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--g50);
  margin: 0;
}

/* Références : cartes plus compactes, toutes visibles dès l'arrivée
   (plus d'animation d'apparition : la ligne coupée en bas d'écran
   montre que la liste continue) */
.refs__grid .ref__inner { padding: 1.75rem 1.25rem 1.5rem; gap: 0.5rem; }
.refs__grid .ref__logo { height: 48px; }
.refs__grid .ref__name { min-height: 48px; }

/* Dégradé collant : estompe la ligne coupée tant que la grille
   continue sous l'écran ; au bout de la liste, il reprend sa place
   sous la dernière ligne et se fond dans le fond de la section. */
.refs__fade {
  position: sticky;
  bottom: 0;
  z-index: 2;
  height: 110px;
  margin-top: -110px;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(242, 240, 236, 0), var(--paper-2) 88%);
}
.refs__grid { position: relative; margin-bottom: 72px; }
.refs__fade { height: 72px; margin-top: -72px; }

/* Marque blanche + carte de couverture : bloc encadré, texte et carte
   séparés par un filet vertical (horizontal sur mobile) */
.coverage {
  display: grid;
  grid-template-columns: 1fr minmax(0, 480px);
  align-items: center;
  background: var(--canvas);
  border: 1px solid var(--g15);
  border-top: 3px solid var(--red);
}
.coverage__body { padding: clamp(2rem, 4vw, 3.5rem); }
.coverage__eyebrow {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 1rem;
}
.coverage__title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 1.25rem;
}
.coverage__body p:not(.coverage__eyebrow) {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--g50);
  margin: 0 0 1rem;
}
.coverage__more {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--red);
  text-decoration: none;
}
.coverage__more:hover { color: var(--red-deep); }
.coverage__map {
  margin: 0;
  align-self: stretch;
  display: flex;
  align-items: center;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-left: 1px solid var(--g15);
  background: var(--paper);
}
.coverage__svg { display: block; width: 100%; height: auto; }
.coverage__svg .cov-light-c path { fill: var(--red); fill-opacity: 0.2; stroke: var(--paper); stroke-width: 1; }
.coverage__svg .cov-deps path { fill: var(--canvas); stroke: var(--g15); stroke-width: 0.6; stroke-linejoin: round; }
.coverage__svg .cov-deps .is-client { fill: var(--red); fill-opacity: 0.85; stroke: var(--canvas); }
.coverage__svg .cov-deps .is-client-light { fill: var(--red); fill-opacity: 0.28; stroke: var(--canvas); }
.coverage__svg .cov-fr { fill: none; stroke: var(--g30); stroke-width: 0.9; stroke-linejoin: round; }
.coverage__svg .cov-base circle { fill: var(--canvas); stroke: var(--red); stroke-width: 2; }
.coverage__svg .cov-base .cov-base__halo { fill: var(--canvas); stroke: none; }
.coverage__svg .cov-base .cov-base__c { fill: var(--ink); stroke: none; }
@media (max-width: 900px) {
  .coverage { grid-template-columns: 1fr; }
  .coverage__map { border-left: 0; border-top: 1px solid var(--g15); justify-content: center; }
  .coverage__svg { max-width: 420px; margin: 0 auto; }
}
@media (max-width: 600px) {
  .refs__head { align-items: flex-start; gap: 1rem; }
}

/* Blog : encadrés (blockquote), sous-titres, code — 08/11/2026 */
.blog-post__content h3 { font-size: 1.125rem; font-weight: 700; color: var(--ink); margin: 2rem 0 0.75rem; }
.blog-post__content ul, .blog-post__content ol { margin: 0 0 1.25rem; padding-left: 1.25rem; }
.blog-post__content li { margin-bottom: 0.4rem; }
.blog-post__content blockquote {
  margin: 0 0 2rem;
  padding: 1.25rem 1.5rem;
  background: var(--paper);
  border-left: 3px solid var(--red);
  font-size: 0.9375rem;
}
.blog-post__content blockquote p:last-child { margin-bottom: 0; }
.blog-post__content code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.875em;
  background: var(--paper-2);
  padding: 0.1em 0.35em;
  border-radius: 3px;
  overflow-wrap: anywhere;
}
.blog-post__content pre {
  margin: 0 0 1.5rem;
  padding: 1rem 1.25rem;
  background: var(--ink-2);
  color: #f2f0ec;
  border-radius: 4px;
  overflow-x: auto;
  font-size: 0.8125rem;
  line-height: 1.6;
}
.blog-post__content pre code { background: none; padding: 0; color: inherit; font-size: inherit; overflow-wrap: normal; }
.blog-post__content table { width: 100%; border-collapse: collapse; margin: 0 0 1.5rem; font-size: 0.9375rem; }
.blog-post__content th, .blog-post__content td { text-align: left; padding: 0.5rem 0.75rem; border-bottom: 1px solid var(--g15); }
.blog-post__content ul { list-style: disc; }
.blog-post__content ol { list-style: decimal; }
.blog-post__content p a, .blog-post__content li a { color: var(--red); text-decoration: underline; text-underline-offset: 2px; }
.blog-post__content p a:hover, .blog-post__content li a:hover { color: var(--red-deep); }
.blog-post__content h2#aller-plus-loin + ul { list-style: none; }
.blog-post__content h2#aller-plus-loin + ul li a { text-decoration: none; }
