/* ═══════════════════════════════════════════════════════════════════
   sections.css — HERO + SECTION SCAFFOLDING + GRADIENT WIPES
   ═══════════════════════════════════════════════════════════════════ */

/* ─── Gradient-wipe transitions ─────────────────────────── */
.wipe-dark-to-light {
  height: 60px;
  background: linear-gradient(to bottom, var(--marine-950), var(--creme-200));
  position: relative;
  z-index: 5;
}
.wipe-light-to-dark {
  height: 60px;
  background: linear-gradient(to bottom, var(--creme-200), var(--marine-950));
  position: relative;
  z-index: 5;
}

/* ─── Section header pattern ───────────────────────────── */
.section-header {
  margin-bottom: 56px;
  max-width: 780px;
}
.section-header h2,
.section-header .h2 {
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  font-weight: var(--font-bold);
  letter-spacing: var(--tracking-tight);
  color: var(--marine-800);
  line-height: 1.05;
  margin: 14px 0 18px;
}

/* ═══════════════════════════════════════════════════════════
   HERO (DARK — ÉCLATÉ)
   ═══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  background: var(--marine-950);
  color: var(--creme-200);
  padding: 180px 0 120px;
  overflow: hidden;
  isolation: isolate;
  min-height: 92vh;
  /* Mouse-follow spotlight: unitless numbers 0–100, composed in calc()
     below. Unitless + calc avoids GSAP.quickTo unit coercion. */
  --mx: 50; --my: 30;
  --mx2: 50; --my2: 30;
}
/* Grid pattern with radial mask */
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: radial-gradient(ellipse at 50% 40%, black 30%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, black 30%, transparent 72%);
  z-index: 0;
  pointer-events: none;
}
/* Dual-layer spotlight */
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(720px circle at calc(var(--mx) * 1%) calc(var(--my) * 1%), rgba(159, 130, 196, 0.18), transparent 42%),
    radial-gradient(420px circle at calc(var(--mx2) * 1%) calc(var(--my2) * 1%), rgba(46, 122, 159, 0.22), transparent 45%);
  pointer-events: none;
  z-index: 1;
  transition: background 0.2s;
}
.hero > *:not(.hero-orb):not(.hero-beams) {
  position: relative;
  z-index: 3;
}

/* Animated SVG beams */
.hero-beams {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.9;
  width: 100%;
  height: 100%;
}

/* Concentric orb */
.hero-orb {
  position: absolute;
  right: -180px;
  top: 50%;
  transform: translateY(-50%);
  width: 720px;
  height: 720px;
  z-index: 1;
  pointer-events: none;
  opacity: 0.55;
}
.hero-orb svg { width: 100%; height: 100%; overflow: visible; }

/* Kicker double-pill */
.hero-kickers {
  display: inline-flex;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: var(--radius-full);
  padding: 9px 18px;
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.kicker-dark {
  background: rgba(0, 19, 29, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--creme-200);
}
.kicker-dark::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--mauve-400);
  box-shadow: 0 0 12px var(--mauve-500);
  animation: pulse-dot 2.2s ease-in-out infinite;
}
.kicker-muted {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--mauve-300);
}

/* HERO H1 — massive mixed weights
   SplitText by chars (applied to .h1-base in hero.js) turns each char into
   inline-block, making every letter a break opportunity. Guard with
   white-space: nowrap on .h1-line + a container wide enough for the longest
   phrase ("des communications.") to fit at any viewport. */
.hero h1 {
  font-size: clamp(3.25rem, 8.5vw, 7rem);
  line-height: 0.96;
  font-weight: var(--font-bold);
  letter-spacing: var(--tracking-tighter);
  color: var(--creme-200);
  max-width: min(92vw, 1400px);
  margin-bottom: 36px;
}
.h1-line { display: block; white-space: nowrap; }
.h1-gradient {
  font-weight: var(--font-black);
  background: linear-gradient(135deg,
    var(--mauve-300) 0%,
    var(--mauve-400) 35%,
    var(--marine-200) 65%,
    var(--mauve-400) 100%);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradient-shift 6s ease-in-out infinite;
  padding-right: 0.08em;
}
.h1-italic {
  font-weight: var(--font-light);
  font-style: italic;
  color: var(--marine-300);
}
.h1-base {
  font-weight: var(--font-bold);
  color: var(--creme-200);
}

.hero-sub {
  font-size: var(--text-xl);
  color: var(--kaki-300);
  max-width: 680px;
  margin-bottom: 40px;
  line-height: 1.55;
  font-weight: var(--font-normal);
}
.hero-sub strong { color: var(--mauve-300); font-weight: var(--font-medium); }

.hero-ctas {
  display: flex;
  gap: 14px;
  margin-bottom: 72px;
  flex-wrap: wrap;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 920px;
}

/* ═══════════════════════════════════════════════════════════
   INNER-PAGE LIGHT HERO (shared pattern)
   ═══════════════════════════════════════════════════════════ */
.page-hero {
  position: relative;
  padding: 160px 0 80px;
  background: var(--creme-200);
  overflow: hidden;
  isolation: isolate;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(159, 130, 196, 0.14), transparent 50%),
    radial-gradient(circle at 10% 90%, rgba(46, 122, 159, 0.10), transparent 55%);
  z-index: 0;
}
.page-hero > * { position: relative; z-index: 1; }
.page-hero h1 {
  font-size: clamp(2.75rem, 6vw, 5rem);
  font-weight: var(--font-black);
  letter-spacing: var(--tracking-tighter);
  color: var(--marine-900);
  line-height: 1.02;
  margin: 18px 0 20px;
  max-width: 1000px;
}
.page-hero .hero-sub-light {
  font-size: var(--text-xl);
  color: var(--ardoise-500);
  max-width: 640px;
  line-height: 1.55;
}

/* ═══════════════════════════════════════════════════════════
   HOME SECTION 1 — NOS SERVICES (numbered 01→05, light)
   ═══════════════════════════════════════════════════════════ */
.services-numbered {
  background: var(--creme-200);
  padding: var(--section-py) 0;
  position: relative;
}
.services-numbered .section-head-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  margin-bottom: 72px;
  align-items: end;
}
.services-numbered .title-block .small-label {
  display: block;
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  color: var(--mauve-600);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  margin-bottom: 12px;
}
.services-numbered .title-block .big-word {
  display: block;
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: var(--font-black);
  letter-spacing: var(--tracking-tighter);
  line-height: 0.95;
  color: var(--marine-900);
}
.services-numbered .intro-block p {
  font-size: var(--text-lg);
  color: var(--ardoise-500);
  line-height: 1.6;
  margin-bottom: 24px;
}
.services-list {
  list-style: none;
  border-top: 1px solid var(--kaki-200);
}
.services-list li {
  --row-accent: var(--mauve-500); /* fallback; home.js overrides per-row */
  border-bottom: 1px solid var(--kaki-200);
  padding: 32px 0;
  display: grid;
  grid-template-columns: 80px 1fr 2fr auto;
  gap: 32px;
  align-items: center;
  transition: padding 0.35s var(--ease-out);
  position: relative;
}
/* Ambient gradient tint — tied to per-row accent */
.services-list li::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0; bottom: 0;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--row-accent) 8%, transparent), transparent);
  opacity: 0;
  transition: opacity 0.35s var(--ease-out);
  pointer-events: none;
}
/* scaleY accent bar on the left — slides in from top on hover */
.services-list li::after {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--row-accent);
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform 0.4s var(--ease-out);
  pointer-events: none;
}
.services-list li:hover::before { opacity: 1; }
.services-list li:hover::after { transform: scaleY(1); }
.services-list li:hover { padding-left: 20px; }
.services-list .num {
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: var(--row-accent);
  font-variant-numeric: tabular-nums;
  letter-spacing: var(--tracking-tight);
  transition: color 0.3s var(--ease-out), transform 0.35s var(--ease-out);
}
.services-list li:hover .num { transform: translateY(-2px) scale(1.04); }
.services-list .name {
  font-size: clamp(1.5rem, 2.8vw, 2.25rem);
  font-weight: var(--font-bold);
  color: var(--marine-900);
  letter-spacing: var(--tracking-tight);
  line-height: 1.1;
  transition: color 0.3s var(--ease-out);
}
.services-list li:hover .name { color: var(--row-accent); }
.services-list .desc {
  font-size: var(--text-base);
  color: var(--ardoise-500);
  line-height: 1.55;
  max-width: 52ch;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.services-list li:hover .desc { opacity: 1; transform: translateX(0); }
.services-list .arrow {
  width: 42px; height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--kaki-300);
  color: var(--marine-800);
  transition: background 0.3s var(--ease-out), color 0.3s var(--ease-out), border-color 0.3s var(--ease-out), transform 0.4s var(--ease-out);
}
.services-list li:hover .arrow {
  background: var(--row-accent);
  color: #fff;
  border-color: var(--row-accent);
  transform: translateX(8px);
}
.services-numbered .cta-row {
  margin-top: 48px;
}

/* ═══════════════════════════════════════════════════════════
   HOME SECTION 2 — SECTEURS (2x3 grid, light)
   ═══════════════════════════════════════════════════════════ */
.sectors {
  background: var(--creme-100);
  padding: var(--section-py) 0;
  border-top: 1px solid var(--kaki-200);
  border-bottom: 1px solid var(--kaki-200);
}
/* Editorial bento — 6 cols x 3 rows = 18 cells, zero empty by construction
   xl (3x2=6 cells) Santé FEATURE · w (3x1=3) x2 · s (2x1=2) x3 = 18 */
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(0, 1fr);
  grid-auto-flow: dense;
  gap: clamp(12px, 1.2vw, 20px);
  aspect-ratio: 6 / 3.2;
  max-width: 1200px;
  margin: 0 auto;
}
.sector-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--kaki-200);
  border-radius: 14px;
  padding: clamp(24px, 2vw, 36px);
  overflow: hidden;
  isolation: isolate;
  display: flex;
  transition: transform 0.4s var(--ease-out),
              box-shadow 0.4s var(--ease-out),
              border-color 0.3s var(--ease-out),
              background 0.3s var(--ease-out);
  text-decoration: none;
  color: inherit;
}
.sector-card[data-span="xl"] { grid-column: span 3; grid-row: span 2; }
.sector-card[data-span="w"]  { grid-column: span 3; grid-row: span 1; }
.sector-card[data-span="s"]  { grid-column: span 2; grid-row: span 1; }

.sector-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -12px rgba(159, 130, 196, 0.28),
              0 6px 16px rgba(10, 95, 134, 0.15);
  border-color: var(--mauve-300);
}
.sector-card .sector-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  color: var(--mauve-500);
  transition: color 0.3s var(--ease-out), transform 0.4s var(--ease-out);
}
.sector-card .sector-icon svg { width: 100%; height: 100%; }
.sector-card:hover .sector-icon { transform: translateY(-2px); }

.sector-card .sector-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.sector-card h3 {
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: var(--marine-900);
  letter-spacing: var(--tracking-tight);
  line-height: 1.18;
  margin: 0;
}
.sector-card p {
  font-size: var(--text-sm);
  color: var(--ardoise-500);
  line-height: 1.55;
  margin: 10px 0 0;
}
.sector-card .sector-arrow {
  flex-shrink: 0;
  width: 22px; height: 22px;
  color: var(--mauve-400);
  align-self: flex-start;
  margin-left: 16px;
  transition: transform 0.35s var(--ease-out), color 0.3s;
}
.sector-card .sector-arrow svg { width: 100%; height: 100%; }
.sector-card:hover .sector-arrow {
  transform: translate(6px, -2px);
  color: var(--mauve-600);
}

/* Landscape cards (w, s): icon LEFT, body flows right, arrow tail */
.sector-card[data-span="w"],
.sector-card[data-span="s"] {
  flex-direction: row;
  align-items: center;
  gap: clamp(16px, 1.4vw, 22px);
}
.sector-card[data-span="s"] p { display: none; }
.sector-card[data-span="s"] h3 { font-size: var(--text-base); line-height: 1.25; }
.sector-card[data-span="s"] .sector-icon { width: 32px; height: 32px; }

/* FEATURE card (xl, Santé) — dark ardoise anchor with ambient icon */
.sector-card[data-span="xl"] {
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(160deg, var(--ardoise-900) 0%, var(--marine-900, var(--ardoise-950)) 100%);
  border-color: var(--ardoise-800);
  gap: 20px;
  min-height: 0;
}
.sector-card[data-span="xl"]:hover {
  border-color: var(--mauve-500);
  box-shadow: 0 30px 60px -16px rgba(0, 0, 0, 0.5),
              0 0 0 1px rgba(159, 130, 196, 0.3) inset;
}
.sector-card[data-span="xl"] .sector-icon {
  width: 44px; height: 44px;
  color: var(--mauve-300);
  position: relative;
  z-index: 2;
}
.sector-card[data-span="xl"] .sector-body {
  position: relative;
  z-index: 2;
}
.sector-card[data-span="xl"] h3 {
  font-size: clamp(1.75rem, 2.2vw, 2.5rem);
  color: var(--creme-100);
  letter-spacing: var(--tracking-tight);
  line-height: 1.08;
  max-width: 18ch;
}
.sector-card[data-span="xl"] p {
  font-size: var(--text-base);
  color: rgba(250, 250, 246, 0.72);
  line-height: 1.55;
  margin-top: 14px;
  max-width: 42ch;
}
.sector-card[data-span="xl"] .sector-eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--mauve-400);
  margin-bottom: 14px;
}
.sector-card[data-span="xl"] .sector-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  letter-spacing: var(--tracking-wide);
  color: var(--mauve-300);
  text-transform: uppercase;
  margin-top: 20px;
  transition: color 0.3s, transform 0.35s var(--ease-out);
}
.sector-card[data-span="xl"] .sector-cta svg {
  width: 18px; height: 18px;
  transition: transform 0.35s var(--ease-out);
}
.sector-card[data-span="xl"]:hover .sector-cta { color: var(--mauve-200); }
.sector-card[data-span="xl"]:hover .sector-cta svg { transform: translateX(6px); }

/* Ambient icon — large decorative copy of the icon, bottom-right */
.sector-card[data-span="xl"] .sector-ambient {
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 280px;
  height: 280px;
  color: var(--mauve-500);
  opacity: 0.12;
  z-index: 1;
  transition: opacity 0.5s var(--ease-out), transform 0.6s var(--ease-out);
}
.sector-card[data-span="xl"] .sector-ambient svg {
  width: 100%; height: 100%;
  stroke-width: 0.5 !important;
}
.sector-card[data-span="xl"]:hover .sector-ambient {
  opacity: 0.22;
  transform: rotate(-8deg) scale(1.05);
}

/* Tablet: 4 col, repack spans */
@media (max-width: 991px) {
  .sectors-grid {
    grid-template-columns: repeat(4, 1fr);
    aspect-ratio: auto;
  }
  .sector-card[data-span="xl"] { grid-column: span 4; grid-row: span 1; min-height: 280px; }
  .sector-card[data-span="w"]  { grid-column: span 2; }
  .sector-card[data-span="s"]  { grid-column: span 2; }
}

/* Mobile: single column flow */
@media (max-width: 640px) {
  .sectors-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .sector-card[data-span="xl"],
  .sector-card[data-span="w"],
  .sector-card[data-span="s"] { grid-column: span 1; grid-row: span 1; }
  .sector-card[data-span="xl"] { min-height: 240px; }
  .sector-card[data-span="xl"] .sector-ambient { width: 200px; height: 200px; right: -40px; bottom: -40px; }
}

/* ═══════════════════════════════════════════════════════════
   HOME SECTION 3 — V+N+C SIGNATURE (dark, boss fight)
   ═══════════════════════════════════════════════════════════ */
.signature {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--marine-950);
  color: var(--creme-200);
  overflow: hidden;
  isolation: isolate;
  padding: var(--section-py) 0;
}
.signature-mesh {
  position: absolute;
  inset: 0;
  z-index: 0;
  --m1x: 20%; --m1y: 30%;
  --m2x: 80%; --m2y: 70%;
  --m3x: 60%; --m3y: 20%;
  --m4x: 30%; --m4y: 85%;
  background:
    radial-gradient(circle at var(--m1x) var(--m1y), rgba(159, 130, 196, 0.32), transparent 45%),
    radial-gradient(circle at var(--m2x) var(--m2y), rgba(10, 95, 134, 0.40), transparent 50%),
    radial-gradient(circle at var(--m3x) var(--m3y), rgba(46, 122, 159, 0.28), transparent 48%),
    radial-gradient(circle at var(--m4x) var(--m4y), rgba(130, 100, 176, 0.25), transparent 42%);
  filter: blur(8px);
}
.signature::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 80%);
  z-index: 1;
}
.signature > .container {
  position: relative;
  z-index: 2;
  text-align: center;
}
.signature .eyebrow {
  color: var(--mauve-300);
  justify-content: center;
  display: inline-flex;
  margin-bottom: 24px;
}
.signature .eyebrow::before { background: var(--mauve-300); }
.formula {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vw, 32px);
  margin: 48px 0;
  flex-wrap: wrap;
  perspective: 1200px;
}
.formula-word {
  font-size: clamp(3rem, 9vw, 7.5rem);
  font-weight: var(--font-black);
  letter-spacing: var(--tracking-tighter);
  line-height: 0.95;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.formula-word.w1 { background-image: linear-gradient(135deg, var(--marine-200), var(--mauve-400)); }
.formula-word.w2 { background-image: linear-gradient(135deg, var(--mauve-300), var(--marine-300)); }
.formula-word.w3 { background-image: linear-gradient(135deg, var(--mauve-400), var(--marine-200), var(--mauve-300)); }
.formula-plus {
  width: clamp(40px, 5vw, 72px);
  height: clamp(40px, 5vw, 72px);
  flex-shrink: 0;
}
.formula-plus svg { width: 100%; height: 100%; overflow: visible; }
.formula-plus line {
  stroke: var(--mauve-400);
  stroke-width: 4;
  stroke-linecap: round;
  filter: drop-shadow(0 0 10px var(--mauve-500));
}
.signature-caption {
  font-size: var(--text-xl);
  color: var(--kaki-300);
  max-width: 720px;
  margin: 0 auto;
  font-style: italic;
  font-weight: var(--font-light);
  line-height: 1.55;
}

/* ═══════════════════════════════════════════════════════════
   HOME SECTION 4 — ÉQUIPE TEASER (light, avatar row)
   ═══════════════════════════════════════════════════════════ */
.team-teaser {
  background: linear-gradient(180deg, var(--creme-100), var(--creme-200));
  padding: var(--section-py) 0;
}
.team-teaser .team-head {
  text-align: center;
  margin-bottom: 48px;
}
.team-teaser .team-head h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: var(--font-black);
  letter-spacing: var(--tracking-tight);
  color: var(--marine-900);
  margin: 14px 0 16px;
  line-height: 1.02;
}
.team-teaser .team-head h2 .counter-wrap {
  color: var(--mauve-500);
  font-weight: var(--font-black);
}
.team-teaser .team-head p {
  font-size: var(--text-lg);
  color: var(--ardoise-500);
  max-width: 56ch;
  margin: 0 auto;
}
/* Bento mosaic — 6 cols x auto rows, grid-flow: dense, zero empty cells by construction
   Tile spans: xl = 2x2 (anchor), w = 2x1 (landscape), s = 1x1 (square)
   10 tiles = 18 cells total = 3 rows exactly */
.team-mosaic {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(0, 1fr);
  grid-auto-flow: dense;
  gap: clamp(8px, 1vw, 14px);
  aspect-ratio: 6 / 3;
  max-width: 1100px;
  margin: 0 auto;
  padding: 8px 0 40px;
}
.mosaic-tile {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 4px;
  background: var(--ardoise-900);
  isolation: isolate;
  text-decoration: none;
  transform: translateZ(0);
  will-change: transform;
}
.mosaic-tile[data-span="xl"] { grid-column: span 2; grid-row: span 2; }
.mosaic-tile[data-span="w"]  { grid-column: span 2; grid-row: span 1; }
.mosaic-tile[data-span="s"]  { grid-column: span 1; grid-row: span 1; }

.mosaic-tile img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  /* Portrait photos (~0.85 ratio) in landscape/square tiles — bias crop
     toward the top so heads stay in frame. Landscape tiles need stronger
     top-bias than square tiles. */
  object-position: 50% 20%;
  display: block;
  filter: grayscale(0.75) contrast(1.05) brightness(0.96);
  transform: scale(1.02);
  transition: filter 0.6s var(--ease-out), transform 0.7s var(--ease-out);
}
/* Wide 2x1 tiles squash vertically — move focal point higher */
.mosaic-tile[data-span="w"] img { object-position: 50% 15%; }
/* Square 1x1 tiles close to photo aspect — softer bias */
.mosaic-tile[data-span="s"] img { object-position: 50% 22%; }
/* 2x2 anchors close to square — modest bias */
.mosaic-tile[data-span="xl"] img { object-position: 50% 25%; }
.mosaic-tile::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(26, 32, 36, 0) 0%,
    rgba(26, 32, 36, 0) 45%,
    rgba(26, 32, 36, 0.55) 85%,
    rgba(26, 32, 36, 0.85) 100%);
  opacity: 0.7;
  transition: opacity 0.5s var(--ease-out);
  z-index: 1;
  pointer-events: none;
}
.mosaic-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: clamp(12px, 1.4vw, 20px);
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: var(--creme-100);
  z-index: 2;
  transform: translateY(18%);
  opacity: 0;
  transition: transform 0.5s var(--ease-out), opacity 0.4s var(--ease-out);
}
.mosaic-name {
  font-size: clamp(0.875rem, 1vw, 1.0625rem);
  font-weight: var(--font-black);
  letter-spacing: var(--tracking-tight);
  line-height: 1.15;
}
.mosaic-role {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: rgba(250, 250, 246, 0.78);
  line-height: 1.25;
}
.mosaic-tile[data-span="xl"] .mosaic-name { font-size: clamp(1rem, 1.3vw, 1.35rem); }
.mosaic-tile[data-span="s"]  .mosaic-role { display: none; }

.mosaic-tile:hover img,
.mosaic-tile:focus-visible img {
  filter: grayscale(0) contrast(1.08) brightness(1);
  transform: scale(1.06);
}
.mosaic-tile:hover::after,
.mosaic-tile:focus-visible::after {
  opacity: 1;
}
.mosaic-tile:hover .mosaic-caption,
.mosaic-tile:focus-visible .mosaic-caption {
  transform: translateY(0);
  opacity: 1;
}
.mosaic-tile:focus-visible {
  outline: 2px solid var(--mauve-400);
  outline-offset: 3px;
}

.team-teaser .team-cta {
  text-align: center;
  margin-top: clamp(24px, 3vw, 40px);
}

/* Tablet: collapse to 4 cols, re-pack spans so grid stays gapless */
@media (max-width: 991px) {
  .team-mosaic {
    grid-template-columns: repeat(4, 1fr);
    aspect-ratio: 4 / 4;
    max-width: 720px;
  }
  .mosaic-tile[data-span="xl"] { grid-column: span 2; grid-row: span 2; }
  .mosaic-tile[data-span="w"]  { grid-column: span 2; grid-row: span 1; }
}

/* Mobile: 2 cols, anchors become full-width hero tiles, singles tile evenly */
@media (max-width: 640px) {
  .team-mosaic {
    grid-template-columns: repeat(2, 1fr);
    aspect-ratio: auto;
    gap: 10px;
  }
  .mosaic-tile {
    aspect-ratio: 1 / 1;
  }
  .mosaic-tile[data-span="xl"] {
    grid-column: span 2;
    grid-row: span 1;
    aspect-ratio: 16 / 10;
  }
  .mosaic-tile[data-span="w"] {
    grid-column: span 2;
    grid-row: span 1;
    aspect-ratio: 16 / 9;
  }
  .mosaic-caption { transform: translateY(0); opacity: 1; }
  .mosaic-tile::after { opacity: 1; }
  .mosaic-tile img { filter: grayscale(0.35) contrast(1.05); }
}

@media (prefers-reduced-motion: reduce) {
  .mosaic-tile img,
  .mosaic-tile::after,
  .mosaic-caption { transition: none; }
}

/* ═══════════════════════════════════════════════════════════
   HOME SECTION 5 — ACTUALITÉS TEASER (light, 3 cards)
   ═══════════════════════════════════════════════════════════ */
.actu-teaser {
  background: var(--creme-200);
  padding: var(--section-py) 0;
}
.actu-teaser .section-header { margin-bottom: 48px; }
.actu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.actu-card {
  background: #fff;
  border: 1px solid var(--kaki-200);
  border-radius: 14px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  min-height: 260px;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s, border-color 0.3s;
  text-decoration: none;
  color: inherit;
}
.actu-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -12px rgba(10, 95, 134, 0.2);
  border-color: var(--mauve-300);
}
.actu-card .actu-date {
  font-size: var(--text-xs);
  color: var(--mauve-600);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  font-weight: var(--font-semibold);
}
.actu-card h3 {
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: var(--marine-900);
  letter-spacing: var(--tracking-tight);
  line-height: 1.25;
  flex: 1;
}
.actu-card .read-link {
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--marine-500);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.actu-card:hover .read-link { color: var(--mauve-600); }

/* ═══════════════════════════════════════════════════════════
   HOME SECTION 6 — DESIGN ET WEB ? (3×2 bento, dark text + image)
   ═══════════════════════════════════════════════════════════ */
.design-web {
  background: var(--creme-200);
  padding: var(--section-py) 0;
  position: relative;
  overflow: hidden;
}
.design-web::after {
  content: "";
  position: absolute;
  top: 0; right: -120px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, color-mix(in oklch, var(--mauve-500) 18%, transparent), transparent 70%);
  z-index: 0;
  pointer-events: none;
}
.design-web .dw-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, minmax(220px, auto));
  grid-auto-flow: dense;
  gap: 24px;
  position: relative;
  z-index: 1;
}
.design-web .dw-text-tile {
  grid-column: 1 / span 2;
  grid-row: 1 / span 2;
  background: var(--ardoise-900);
  color: var(--creme-200);
  border: 1px solid var(--ardoise-800);
  border-radius: var(--radius-lg, 16px);
  padding: clamp(32px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  position: relative;
  overflow: hidden;
}
.design-web .dw-text-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 15%, color-mix(in oklch, var(--mauve-500) 22%, transparent), transparent 55%);
  pointer-events: none;
  opacity: 0.8;
}
.design-web .dw-text-tile > * { position: relative; z-index: 1; }
.design-web .small-label {
  display: inline-block;
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  color: var(--mauve-400);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  margin: 0;
}
.design-web h2 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: var(--font-black);
  letter-spacing: var(--tracking-tighter);
  line-height: 0.95;
  color: var(--creme-200);
  margin: 4px 0 12px;
}
.design-web h2 .dw-accent {
  background: linear-gradient(135deg, var(--mauve-400), var(--marine-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.design-web .dw-text-tile p {
  font-size: var(--text-lg);
  color: color-mix(in oklch, var(--creme-200) 85%, var(--ardoise-500));
  line-height: 1.6;
  margin: 0 0 8px;
  max-width: 58ch;
}
.design-web .dw-text-tile .btn {
  align-self: flex-start;
  margin-top: 16px;
}
.design-web .dw-image-tile {
  grid-column: 3 / span 1;
  grid-row: 1 / span 2;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg, 16px);
  border: 1px solid var(--kaki-200);
  background: var(--ardoise-900);
  display: block;
  min-height: 440px;
  text-decoration: none;
}
.design-web .dw-image-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.7) brightness(0.96) contrast(1.04);
  transform: scale(1.02);
  transition: filter 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.design-web .dw-image-tile:hover img {
  filter: grayscale(0.1);
  transform: scale(1.06);
}
.design-web .dw-image-badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 8px 14px;
  border-radius: 999px;
  background: color-mix(in oklch, var(--ardoise-900) 70%, transparent);
  color: var(--creme-200);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  letter-spacing: var(--tracking-wide);
  backdrop-filter: blur(8px);
  border: 1px solid color-mix(in oklch, var(--creme-200) 20%, transparent);
  z-index: 2;
}

@media (max-width: 991px) {
  .design-web .dw-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }
  .design-web .dw-text-tile,
  .design-web .dw-image-tile {
    grid-column: 1 / -1;
    grid-row: auto;
  }
  .design-web .dw-image-tile {
    min-height: 320px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .design-web .dw-image-tile img {
    transition: none;
  }
  .design-web .dw-image-tile:hover img {
    transform: scale(1.02);
  }
}

/* ═══════════════════════════════════════════════════════════
   HOME SECTION 7 — CTA BAND (dark, meteors)
   ═══════════════════════════════════════════════════════════ */
.cta-band {
  position: relative;
  padding: 140px 0;
  text-align: center;
  background: var(--marine-950);
  color: var(--creme-200);
  overflow: hidden;
  isolation: isolate;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 85%);
  z-index: 0;
}
.cta-band::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 50% 30%, rgba(159, 130, 196, 0.18), transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(46, 122, 159, 0.20), transparent 45%);
  z-index: 0;
}
.cta-noise {
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: 0.05;
  z-index: 1;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
.cta-band > .container { position: relative; z-index: 2; }
.meteors { position: absolute; inset: 0; pointer-events: none; z-index: 1; overflow: hidden; }
.meteor {
  position: absolute;
  top: -40px;
  width: 1px; height: 90px;
  background: linear-gradient(180deg, transparent, var(--mauve-300), transparent);
  transform: rotate(215deg);
  opacity: 0;
}
.cta-band h2 {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: var(--font-black);
  letter-spacing: var(--tracking-tighter);
  margin-bottom: 20px;
  color: var(--creme-200);
  line-height: 1.02;
}
.cta-band .cta-sub {
  color: var(--kaki-300);
  font-size: var(--text-xl);
  margin-bottom: 40px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}
.cta-offices {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 720px;
  margin: 48px auto;
  text-align: left;
}
.cta-office h4 {
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: var(--mauve-300);
  margin-bottom: 8px;
}
.cta-office address {
  font-style: normal;
  font-size: var(--text-sm);
  color: var(--kaki-300);
  line-height: 1.6;
}
.cta-office a { color: var(--mauve-300); }
.cta-office a:hover { color: var(--mauve-200); }
.cta-contact-row {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  font-size: var(--text-sm);
  color: var(--kaki-300);
}
.cta-contact-row a { color: var(--mauve-300); transition: color 0.2s; }
.cta-contact-row a:hover { color: var(--mauve-200); }
.cta-contact-divider { color: var(--ardoise-600); }

/* ═══════════════════════════════════════════════════════════
   INNER PAGE — ADN
   ═══════════════════════════════════════════════════════════ */
.adn-section {
  padding: var(--section-py) 0;
  position: relative;
}
.adn-section .section-header h2,
.adn-section h2 {
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  font-weight: var(--font-black);
  letter-spacing: var(--tracking-tight);
  color: var(--marine-900);
  line-height: 1.05;
  margin-bottom: 20px;
}
.adn-section .lead {
  font-size: var(--text-xl);
  color: var(--ardoise-500);
  line-height: 1.6;
  max-width: 72ch;
}
.adn-mission, .adn-vision {
  background: var(--creme-200);
}
.adn-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}
/* ═══════════════════════════════════════════════════════════
   ADN — Valeurs editorial bento (6×2 = 12 cells gapless)
   xl Proximité = 4×2 (8 cells) · s Excellence = 2×1 · s Créativité = 2×1
   Per-card --val-accent: marine / mauve / kaki
   ═══════════════════════════════════════════════════════════ */
.adn-values {
  background: var(--creme-100);
  border-top: 1px solid var(--kaki-200);
  border-bottom: 1px solid var(--kaki-200);
}
.adn-values-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(0, 1fr);
  grid-auto-flow: dense;
  gap: clamp(12px, 1.2vw, 20px);
  aspect-ratio: 6 / 2.4;
  max-width: 1200px;
  margin: 48px auto 0;
}
.adn-value-card {
  --val-accent: var(--mauve-500); /* default fallback; overridden by inline style */
  position: relative;
  background: #fff;
  border: 1px solid var(--kaki-200);
  border-radius: 14px;
  padding: clamp(24px, 2vw, 36px);
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  transition: transform 0.35s var(--ease-out),
              box-shadow 0.4s var(--ease-out),
              border-color 0.35s var(--ease-out);
}
.adn-value-card[data-span="xl"] { grid-column: span 4; grid-row: span 2; }
.adn-value-card[data-span="s"]  { grid-column: span 2; grid-row: span 1; }
.adn-value-card:hover {
  transform: translateY(-4px);
  border-color: var(--val-accent);
  box-shadow: 0 20px 40px -14px color-mix(in oklch, var(--val-accent) 38%, transparent),
              0 6px 14px rgba(10, 95, 134, 0.12);
}
.adn-value-eyebrow {
  font-size: var(--text-xs);
  color: var(--val-accent);
  font-weight: var(--font-semibold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.adn-value-eyebrow::before {
  content: "";
  width: 24px; height: 1px;
  background: var(--val-accent);
}
.adn-value-title {
  font-size: var(--text-3xl);
  font-weight: var(--font-bold);
  color: var(--marine-900);
  letter-spacing: var(--tracking-tight);
  line-height: 1.1;
  margin: 0;
}
.adn-value-desc {
  font-size: var(--text-base);
  color: var(--ardoise-500);
  line-height: 1.6;
  margin: 0;
  position: relative;
  z-index: 1;
}

/* xl FEATURE variant (Proximité) — dark ardoise anchor with ambient letter */
.adn-value-card[data-span="xl"] {
  background: linear-gradient(160deg, var(--ardoise-900) 0%, #0e141a 100%);
  border-color: #2a3138;
  justify-content: flex-end;
  padding: clamp(32px, 2.6vw, 48px);
}
.adn-value-card[data-span="xl"] .adn-value-title {
  font-size: clamp(1.75rem, 2.4vw, 2.75rem);
  color: var(--creme-100);
  max-width: 18ch;
}
.adn-value-card[data-span="xl"] .adn-value-desc {
  color: rgba(250, 250, 246, 0.72);
  max-width: 48ch;
}
.adn-value-card[data-span="xl"] .adn-value-eyebrow {
  color: color-mix(in oklch, var(--val-accent) 70%, white 30%);
}
.adn-value-card[data-span="xl"] .adn-value-eyebrow::before {
  background: color-mix(in oklch, var(--val-accent) 70%, white 30%);
}
.adn-value-card[data-span="xl"] .adn-value-cta {
  display: inline-block;
  margin-top: 18px;
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: color-mix(in oklch, var(--val-accent) 60%, white 40%);
  transition: transform 0.35s var(--ease-out), color 0.3s var(--ease-out);
}
.adn-value-card[data-span="xl"]:hover {
  border-color: var(--val-accent);
  box-shadow: 0 30px 60px -18px rgba(0, 0, 0, 0.55),
              0 0 0 1px color-mix(in oklch, var(--val-accent) 40%, transparent) inset;
}
.adn-value-card[data-span="xl"]:hover .adn-value-cta {
  color: #fff;
  transform: translateX(6px);
}
.adn-value-card[data-span="xl"] .adn-value-ambient {
  position: absolute;
  right: -20px;
  bottom: -80px;
  font-size: clamp(18rem, 28vw, 30rem);
  font-weight: var(--font-black);
  line-height: 0.8;
  color: var(--val-accent);
  opacity: 0.10;
  letter-spacing: -0.08em;
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
  transform-origin: bottom right;
}
.adn-value-card[data-span="xl"]:hover .adn-value-ambient {
  opacity: 0.18;
  transform: scale(1.05);
}

/* s ACCENT variant (Excellence, Créativité) — light with badge letter */
.adn-value-card[data-span="s"] {
  justify-content: flex-start;
  gap: 14px;
}
.adn-value-card[data-span="s"] .adn-value-title {
  font-size: var(--text-2xl);
  line-height: 1.15;
}
.adn-value-card[data-span="s"] .adn-value-desc {
  font-size: var(--text-sm);
  line-height: 1.55;
}
.adn-value-card[data-span="s"] .adn-value-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: color-mix(in oklch, var(--val-accent) 14%, white 86%);
  color: var(--val-accent);
  font-size: 1.6rem;
  font-weight: var(--font-black);
  line-height: 1;
  letter-spacing: -0.04em;
  align-self: flex-start;
  transition: background 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}
.adn-value-card[data-span="s"]:hover .adn-value-badge {
  background: var(--val-accent);
  color: #fff;
  transform: scale(1.06);
}

/* Responsive ─ tablet: 4 cols × 3 rows (xl=4×2, each s=4×1) */
@media (max-width: 991px) {
  .adn-values-grid {
    grid-template-columns: repeat(4, 1fr);
    aspect-ratio: auto;
  }
  .adn-value-card[data-span="xl"] { grid-column: span 4; grid-row: span 2; min-height: 340px; }
  .adn-value-card[data-span="s"]  { grid-column: span 4; grid-row: span 1; min-height: 180px; }
}
/* Responsive ─ mobile: single column stack */
@media (max-width: 640px) {
  .adn-values-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .adn-value-card[data-span="xl"] { grid-column: 1 / -1; grid-row: auto; min-height: 320px; }
  .adn-value-card[data-span="s"]  { grid-column: 1 / -1; grid-row: auto; min-height: 160px; }
  .adn-value-card[data-span="xl"] .adn-value-ambient { opacity: 0.06; font-size: 14rem; }
}
/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .adn-value-card,
  .adn-value-card[data-span="xl"] .adn-value-ambient,
  .adn-value-card[data-span="xl"] .adn-value-cta,
  .adn-value-card[data-span="s"] .adn-value-badge {
    transition: none !important;
  }
  .adn-value-card:hover { transform: none; }
  .adn-value-card[data-span="xl"]:hover .adn-value-cta { transform: none; }
  .adn-value-card[data-span="s"]:hover .adn-value-badge { transform: none; }
  .adn-value-card[data-span="xl"]:hover .adn-value-ambient { transform: none; }
}
.adn-approach {
  background: var(--creme-200);
  position: relative;
  overflow: hidden;
}
.adn-quote-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 32px;
  text-align: center;
  position: relative;
}
.adn-quote-mark {
  position: absolute;
  font-family: Georgia, serif;
  font-size: 12rem;
  line-height: 1;
  color: var(--mauve-300);
  opacity: 0.28;
  pointer-events: none;
  font-weight: var(--font-bold);
}
.adn-quote-mark.open { top: -40px; left: 0; }
.adn-quote-mark.close { bottom: -80px; right: 0; transform: scaleX(-1); }
.adn-quote {
  font-size: clamp(1.5rem, 3vw, 3rem);
  font-style: italic;
  font-weight: var(--font-normal);
  line-height: 1.35;
  color: var(--marine-800);
  letter-spacing: var(--tracking-tight);
}
.adn-timeline {
  background: var(--creme-100);
  border-top: 1px solid var(--kaki-200);
}
/* Timeline — thick rail with per-year accent markers. Each .timeline-item
   sets its own --ty-accent via inline style from adn.js. */
.timeline-list {
  display: grid;
  gap: clamp(40px, 4vw, 64px);
  margin-top: 56px;
  position: relative;
  max-width: 940px;
  margin-left: auto;
  margin-right: auto;
  padding: 8px 0;
}
/* Vertical rail — thick gradient, fades at both ends.
   Position: 140px (year col) + gap + 18.5px (half marker col 40 minus half
   rail width 1.5) — stays centered on the marker as the gap scales. */
.timeline-list::before {
  content: "";
  position: absolute;
  left: calc(140px + clamp(18px, 1.8vw, 28px) + 18.5px);
  top: 24px; bottom: 24px;
  width: 3px;
  background: linear-gradient(180deg,
    transparent 0%,
    var(--mauve-400) 8%,
    var(--marine-300) 45%,
    var(--mauve-400) 82%,
    transparent 100%);
  border-radius: 2px;
  opacity: 0.7;
}
.timeline-item {
  display: grid;
  grid-template-columns: 140px 40px 1fr;
  column-gap: clamp(18px, 1.8vw, 28px);
  align-items: start;
  position: relative;
}
/* Marker column — concentric dot + accent ring + ambient pulse */
.timeline-marker {
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
}
.timeline-dot {
  position: relative;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ty-accent, var(--mauve-500));
  box-shadow:
    0 0 0 5px var(--creme-100),
    0 0 0 6px var(--ty-accent, var(--mauve-500)),
    0 0 20px color-mix(in srgb, var(--ty-accent, var(--mauve-500)) 45%, transparent);
  z-index: 2;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.timeline-item:hover .timeline-dot {
  transform: scale(1.15);
  box-shadow:
    0 0 0 5px var(--creme-100),
    0 0 0 7px var(--ty-accent, var(--mauve-500)),
    0 0 28px color-mix(in srgb, var(--ty-accent, var(--mauve-500)) 65%, transparent);
}
.timeline-pulse {
  position: absolute;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--ty-accent, var(--mauve-500));
  opacity: 0;
  z-index: 1;
  animation: none;
}
.timeline-item.is-current .timeline-pulse {
  opacity: 0.5;
  animation: timeline-pulse 2.6s ease-out infinite;
}
@keyframes timeline-pulse {
  0%   { transform: scale(0.6); opacity: 0.6; }
  100% { transform: scale(1.8); opacity: 0; }
}
/* Year column — larger, per-accent color, "Aujourd'hui" chip for current */
.timeline-year {
  font-size: clamp(2.25rem, 3vw, 3rem);
  font-weight: var(--font-black);
  color: var(--ty-accent, var(--mauve-600));
  letter-spacing: var(--tracking-tighter);
  line-height: 0.95;
  padding-top: 2px;
  font-variant-numeric: tabular-nums;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.timeline-today {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: var(--font-semibold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--ty-accent, var(--mauve-500));
  padding: 4px 10px;
  border: 1px solid currentColor;
  border-radius: var(--radius-full);
  line-height: 1;
}
.timeline-body {
  padding-top: 4px;
  border-left: 2px solid transparent;
  padding-left: 0;
  transition: border-color 0.4s var(--ease-out), padding-left 0.4s var(--ease-out);
}
.timeline-item:hover .timeline-body {
  border-left-color: var(--ty-accent, var(--mauve-500));
  padding-left: 16px;
}
.timeline-body h4 {
  font-size: clamp(1.25rem, 1.4vw, 1.5rem);
  font-weight: var(--font-bold);
  color: var(--marine-900);
  margin: 0 0 10px;
  letter-spacing: var(--tracking-tight);
  line-height: 1.2;
}
.timeline-body p {
  font-size: var(--text-base);
  color: var(--ardoise-500);
  line-height: 1.65;
  margin: 0;
  max-width: 52ch;
}

/* Tablet: tighten year column, reduce rail offset */
@media (max-width: 767px) {
  .timeline-item {
    grid-template-columns: 100px 32px 1fr;
    column-gap: 16px;
  }
  .timeline-list::before { left: calc(100px + 16px + 14.5px); }
  .timeline-year { font-size: clamp(1.75rem, 7vw, 2.25rem); }
  .timeline-marker { width: 32px; height: 32px; }
  .timeline-dot { width: 18px; height: 18px; }
  .timeline-pulse { width: 32px; height: 32px; }
}

/* Mobile ≤ 480: rail hidden, each item is a simple card */
@media (max-width: 480px) {
  .timeline-list::before { display: none; }
  .timeline-item {
    grid-template-columns: 1fr;
    row-gap: 6px;
    padding-left: 16px;
    border-left: 3px solid var(--ty-accent, var(--mauve-500));
  }
  .timeline-marker { display: none; }
  .timeline-year { flex-direction: row; align-items: center; gap: 12px; }
}
/* ═══════════════════════════════════════════════════════════
   ADN — Regional editorial marquee (12 regions × 2 copies = 24 labels)
   Infinite CSS loop, pause on hover, edge-fade mask, reduced-motion fallback
   ═══════════════════════════════════════════════════════════ */
.adn-regional {
  background: var(--creme-200);
  padding: var(--section-py) 0;
  overflow: hidden;
}
.adn-regional .section-header { margin-bottom: 56px; }

.regional-marquee {
  width: 100%;
  overflow: hidden;
  /* edge fade — labels materialize/dissolve at viewport margins */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.regional-track {
  display: flex;
  width: max-content;
  gap: clamp(40px, 5vw, 72px);
  animation: regional-scroll 40s linear infinite;
  will-change: transform;
}
.regional-track-span {
  display: flex;
  align-items: center;
  gap: clamp(40px, 5vw, 72px);
  width: max-content;
  flex: 0 0 auto;
}
.regional-label {
  display: inline-block;
  font-size: clamp(1.75rem, 3.5vw, 3.25rem);
  font-weight: var(--font-semibold);
  color: var(--marine-800);
  letter-spacing: var(--tracking-tight);
  line-height: 1;
  white-space: nowrap;
}
.regional-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--mauve-500);
  opacity: 0.7;
  flex: 0 0 auto;
}
.regional-marquee:hover .regional-track {
  animation-play-state: paused;
}

@keyframes regional-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Mobile: shrink type + gap, keep 40s duration (track narrower → slower perceived) */
@media (max-width: 768px) {
  .regional-label {
    font-size: clamp(1.25rem, 6vw, 2rem);
  }
  .regional-track,
  .regional-track-span {
    gap: 36px;
  }
  .regional-dot {
    width: 8px;
    height: 8px;
  }
}

/* Reduced motion: stop the scroll; show 12 regions as wrapped static list */
@media (prefers-reduced-motion: reduce) {
  .regional-marquee {
    -webkit-mask-image: none;
            mask-image: none;
  }
  .regional-track {
    animation: none;
    transform: none;
    flex-wrap: wrap;
    justify-content: center;
    width: auto;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
  }
  .regional-track-span {
    flex-wrap: wrap;
    justify-content: center;
  }
  /* Hide the duplicate span so only 12 labels are shown (not 24) */
  .regional-track-span[aria-hidden="true"] {
    display: none;
  }
  .regional-label {
    font-size: clamp(1.1rem, 2.4vw, 1.75rem);
  }
}

/* ═══════════════════════════════════════════════════════════
   FILTER BAR (shared: actualités only — équipe uses rail filters)
   ═══════════════════════════════════════════════════════════ */
.actu-filter-bar {
  background: rgba(244, 244, 238, 0.92);
  border-bottom: 1px solid var(--kaki-200);
  padding: 18px 0;
}
.actu-empty {
  text-align: center;
  padding: 80px 0;
  font-size: var(--text-lg);
  color: var(--ardoise-500);
}
.filter-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.filter-chip {
  padding: 10px 20px;
  background: #fff;
  border: 1px solid var(--kaki-300);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--marine-800);
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
}
.filter-chip:hover {
  border-color: var(--mauve-400);
  background: var(--mauve-50);
}
.filter-chip.is-active {
  background: var(--marine-800);
  border-color: var(--marine-800);
  color: var(--creme-200);
}
.filter-chip .count {
  opacity: 0.65;
  margin-left: 6px;
  font-variant-numeric: tabular-nums;
}
/* ═══════════════════════════════════════════════════════════
   INNER PAGE — ÉQUIPE (editorial two-column layout)
   Left rail: sticky hero + vertical filters. Right flow: card grid.
   ═══════════════════════════════════════════════════════════ */
.equipe-layout {
  background: var(--creme-100);
  padding: clamp(56px, 7vw, 112px) 0 clamp(40px, 5vw, 80px);
}
.equipe-grid-wrapper {
  display: grid;
  grid-template-columns: 35fr 65fr;
  gap: clamp(32px, 4vw, 72px);
  align-items: start;
}

/* LEFT RAIL — sticky on desktop */
.equipe-rail {
  position: sticky;
  top: clamp(84px, 10vh, 120px);
  align-self: start;
}
.equipe-rail-inner {
  display: flex;
  flex-direction: column;
}
.equipe-rail .eyebrow {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 16px;
}
.equipe-display {
  font-size: clamp(2rem, 4.2vw, 3.75rem);
  font-weight: var(--font-black);
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--ardoise-900);
  margin: 0 0 20px;
  text-wrap: balance;
}
.equipe-lead {
  font-size: clamp(0.9375rem, 1.05vw, 1.0625rem);
  line-height: 1.55;
  color: var(--ardoise-600);
  max-width: 46ch;
  margin: 0 0 32px;
}

/* FILTERS — vertical list with active-state accent line */
.equipe-filters {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--kaki-200);
}
.equipe-filter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--kaki-200);
  color: var(--ardoise-500);
  font-size: var(--text-base);
  font-family: inherit;
  cursor: pointer;
  text-align: left;
  position: relative;
  transition: color 0.25s var(--ease-out), padding-left 0.3s var(--ease-out);
}
.equipe-filter::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 18px;
  height: 1.5px;
  background: var(--ardoise-900);
  transform: translateY(-50%) scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s var(--ease-out);
}
.equipe-filter:hover {
  color: var(--ardoise-900);
}
.equipe-filter.is-active {
  color: var(--ardoise-900);
  font-weight: var(--font-semibold);
  padding-left: 28px;
}
.equipe-filter.is-active::before {
  transform: translateY(-50%) scaleX(1);
}
.equipe-filter .filter-label {
  letter-spacing: -0.005em;
}
.equipe-filter .filter-count {
  font-variant-numeric: tabular-nums;
  color: var(--ardoise-400);
  font-size: var(--text-sm);
}
.equipe-filter.is-active .filter-count {
  color: var(--mauve-500);
}

.equipe-meta {
  margin: 20px 0 0;
  font-size: var(--text-sm);
  color: var(--ardoise-500);
  font-variant-numeric: tabular-nums;
}
.equipe-meta-sep {
  margin: 0 5px;
  color: var(--ardoise-300);
}
.equipe-meta-total {
  color: var(--ardoise-700);
}

/* RIGHT FLOW — 2-col card grid */
.equipe-flow {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 2.2vw, 36px) clamp(14px, 1.6vw, 26px);
  align-content: start;
}

.equipe-figure {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.04);
  text-decoration: none;
  transition: transform 0.35s var(--ease-out),
              box-shadow 0.35s var(--ease-out),
              border-color 0.25s var(--ease-out);
  --accent: var(--mauve-500);
}
.equipe-figure[data-group="direction"] { --accent: var(--mauve-500); }
.equipe-figure[data-group="affaires"]  { --accent: var(--marine-500); }
.equipe-figure[data-group="creation"]  { --accent: var(--kaki-500); }

.equipe-figure:hover,
.equipe-figure:focus-within {
  transform: translateY(-4px) !important;
  box-shadow:
    0 2px 4px -2px color-mix(in srgb, var(--accent) 18%, transparent),
    0 24px 44px -20px color-mix(in srgb, var(--accent) 38%, transparent);
  border-color: color-mix(in srgb, var(--accent) 22%, transparent);
}

.equipe-figure-photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--kaki-100);
  position: relative;
}
.equipe-figure-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  display: block;
  transition: transform 0.7s var(--ease-out);
}
.equipe-figure:hover .equipe-figure-photo img {
  transform: scale(1.04);
}

/* Direction: slightly taller photo (showcase leadership) */
.equipe-figure.is-featured .equipe-figure-photo {
  aspect-ratio: 3 / 4;
}

.equipe-figure-caption {
  padding: clamp(14px, 1.4vw, 20px) clamp(16px, 1.6vw, 22px) clamp(18px, 1.8vw, 24px);
  display: flex;
  flex-direction: column;
}

.equipe-figure-group {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.6875rem;
  font-weight: var(--font-bold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
  background: color-mix(in srgb, var(--accent) 13%, transparent);
  color: var(--accent);
  line-height: 1.2;
  margin: 0 0 10px;
}

.equipe-figure-name {
  font-size: clamp(1.0625rem, 1.25vw, 1.3125rem);
  font-weight: var(--font-bold);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ardoise-900);
  margin: 0 0 4px;
  text-wrap: balance;
}
.equipe-figure.is-featured .equipe-figure-name {
  font-size: clamp(1.1875rem, 1.5vw, 1.5rem);
}

.equipe-figure-role {
  font-size: var(--text-sm);
  color: var(--ardoise-500);
  line-height: 1.45;
  margin: 0;
}

/* Tablet ≤ 991: rail stacks above flow, flow stays 2-col */
@media (max-width: 991px) {
  .equipe-grid-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .equipe-rail {
    position: static;
    top: auto;
    max-width: 680px;
  }
  .equipe-lead {
    max-width: 60ch;
  }
}

/* Mobile ≤ 640: single column flow, landscape photo for density */
@media (max-width: 640px) {
  .equipe-layout {
    padding: clamp(40px, 6vw, 64px) 0 clamp(32px, 4vw, 48px);
  }
  .equipe-flow {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .equipe-figure-photo,
  .equipe-figure.is-featured .equipe-figure-photo {
    aspect-ratio: 4 / 3;
  }
  .equipe-figure-photo img {
    object-position: 50% 18%;
  }
}

/* Reduced motion — disable transitions */
@media (prefers-reduced-motion: reduce) {
  .equipe-figure,
  .equipe-figure-photo img,
  .equipe-filter,
  .equipe-filter::before {
    transition: none;
  }
}

/* ═══════════════════════════════════════════════════════════
   INNER PAGE — SERVICES
   ═══════════════════════════════════════════════════════════ */
.services-list-page {
  padding: var(--section-py) 0;
  display: grid;
  gap: 80px;
}
.service-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 48px 40px;
  background: #fff;
  border: 1px solid var(--kaki-200);
  border-radius: 18px;
  transition: box-shadow 0.35s, border-color 0.35s;
}
.service-card:hover {
  box-shadow: 0 22px 44px -14px rgba(10, 95, 134, 0.15);
  border-color: var(--mauve-300);
}
.service-card:nth-child(even) .service-body { order: -1; }
.service-icon-big {
  width: 72px; height: 72px;
  background: var(--mauve-100);
  border: 1px solid var(--mauve-200);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mauve-600);
  margin-bottom: 24px;
}
.service-icon-big svg { width: 34px; height: 34px; }
.service-body h3 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: var(--font-bold);
  color: var(--marine-900);
  letter-spacing: var(--tracking-tight);
  line-height: 1.1;
  margin-bottom: 14px;
}
.service-body .tagline {
  font-size: var(--text-lg);
  color: var(--mauve-600);
  margin-bottom: 18px;
  font-weight: var(--font-medium);
}
.service-body p {
  font-size: var(--text-base);
  color: var(--ardoise-500);
  line-height: 1.65;
  margin-bottom: 14px;
}
.service-pillars {
  list-style: none;
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.service-pillars li {
  font-size: var(--text-sm);
  color: var(--marine-800);
  font-weight: var(--font-medium);
  padding-left: 18px;
  position: relative;
  line-height: 1.4;
}
.service-pillars li::before {
  content: "+";
  position: absolute;
  left: 0; top: 0;
  color: var(--mauve-500);
  font-weight: var(--font-bold);
}
.service-card .learn-more {
  margin-top: 24px;
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--marine-500);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.service-card .learn-more:hover { color: var(--mauve-600); }
.service-visual {
  aspect-ratio: 4/3;
  border-radius: 14px;
  background:
    radial-gradient(circle at 30% 30%, rgba(159, 130, 196, 0.35), transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(46, 122, 159, 0.30), transparent 55%),
    linear-gradient(135deg, var(--marine-900), var(--marine-950));
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.service-visual::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 80%);
}
.service-visual .visual-num {
  position: absolute;
  bottom: 24px; left: 24px;
  font-size: 5rem;
  font-weight: var(--font-black);
  color: rgba(209, 196, 228, 0.35);
  line-height: 1;
  letter-spacing: var(--tracking-tighter);
}

/* ── SIGNATURE variant ── */
.service-card.is-signature {
  background: linear-gradient(135deg, var(--ardoise-900) 0%, var(--marine-950) 100%);
  border-color: var(--ardoise-800);
  position: relative;
  overflow: hidden;
}
.service-card.is-signature::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: linear-gradient(180deg, var(--mauve-400), var(--marine-300));
  z-index: 1;
}
.service-card.is-signature:hover {
  border-color: var(--mauve-500);
  box-shadow: 0 30px 60px -16px rgba(0, 0, 0, 0.4),
              0 0 0 1px rgba(159, 130, 196, 0.25) inset;
}
.service-card.is-signature .service-signature-eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--mauve-400);
  margin-bottom: 18px;
  padding: 6px 12px;
  border: 1px solid var(--mauve-600);
  border-radius: var(--radius-full);
  background: rgba(159, 130, 196, 0.08);
}
.service-card.is-signature .service-icon-big {
  background: rgba(159, 130, 196, 0.15);
  border-color: rgba(159, 130, 196, 0.35);
  color: var(--mauve-300);
}
.service-card.is-signature h3 {
  color: var(--creme-100);
}
.service-card.is-signature .tagline {
  color: var(--mauve-300);
}
.service-card.is-signature p {
  color: rgba(250, 250, 246, 0.72);
}
.service-card.is-signature .service-pillars li {
  color: var(--creme-200);
  padding: 8px 12px 8px 28px;
  border: 1px solid rgba(209, 196, 228, 0.18);
  border-radius: var(--radius-full);
  background: rgba(159, 130, 196, 0.06);
  transition: border-color 0.3s, background 0.3s;
}
.service-card.is-signature .service-pillars li::before {
  left: 12px; top: 8px;
  color: var(--mauve-300);
}
.service-card.is-signature:hover .service-pillars li {
  border-color: rgba(184, 163, 212, 0.35);
}
.service-card.is-signature .learn-more {
  color: var(--mauve-300);
}
.service-card.is-signature .learn-more:hover { color: var(--mauve-200); }
.service-card.is-signature .service-visual {
  background:
    radial-gradient(circle at 30% 30%, rgba(159, 130, 196, 0.55), transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(46, 122, 159, 0.45), transparent 55%),
    linear-gradient(135deg, var(--marine-800), var(--ardoise-900));
  border: 1px solid rgba(159, 130, 196, 0.2);
}
.service-card.is-signature .service-visual::before {
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
}
.service-card.is-signature .service-visual .visual-num {
  color: rgba(209, 196, 228, 0.55);
}

/* ═══════════════════════════════════════════════════════════
   INNER PAGE — ACTUALITÉS
   ═══════════════════════════════════════════════════════════ */
.actu-list-page {
  padding: var(--section-py) 0;
}
/* Theme accents — each actu-item exposes --actu-accent via data-theme */
.actu-item[data-theme="politique"]     { --actu-accent: var(--marine-500); }
.actu-item[data-theme="economie"]      { --actu-accent: var(--kaki-400); }
.actu-item[data-theme="international"] { --actu-accent: var(--mauve-500); }
.actu-item[data-theme="societe"]       { --actu-accent: var(--ardoise-500); }

/* Real CSS grid — preserves chronological reading order (columns:3 broke
   it by filling top-to-bottom-first). grid-auto-flow: dense + 3 spans
   (hero 2×2, side 1×1, compact 1×1) = featured-3 mode on default view. */
.actu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(220px, auto);
  grid-auto-flow: dense;
  gap: 20px;
}

/* Featured mode (default, no filter): items 0-2 span the top.
   Hero: 2 cols wide, 1 row (matches side heights). Sides: 1×1. */
.actu-grid[data-featured-mode="true"] .actu-item.is-hero {
  grid-column: span 2;
  grid-row: span 1;
}
.actu-grid[data-featured-mode="true"] .actu-item.is-side {
  grid-column: span 1;
  grid-row: span 1;
}

.actu-item {
  position: relative;
  background: #fff;
  border: 1px solid var(--kaki-200);
  border-radius: 14px;
  padding: 0;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.35s var(--ease-out),
              box-shadow 0.35s var(--ease-out),
              border-color 0.3s var(--ease-out);
}
/* Thumbnail — picsum image, grayscale default, lifts to full color + scale
   on hover. Bleeds edge-to-edge because card padding lives on .actu-content. */
.actu-thumb {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: color-mix(in srgb, var(--actu-accent, var(--mauve-500)) 18%, var(--creme-200));
  border-bottom: 1px solid var(--kaki-200);
}
.actu-thumb img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(0.7) brightness(0.96) contrast(1.04);
  transform: scale(1.02);
  transition: filter 0.6s var(--ease-out), transform 0.7s var(--ease-out);
}
.actu-thumb.is-broken img { display: none; }
.actu-thumb.is-broken::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg,
      color-mix(in srgb, var(--actu-accent, var(--mauve-500)) 35%, transparent) 0%,
      color-mix(in srgb, var(--actu-accent, var(--mauve-500)) 8%, transparent) 100%);
}
.actu-content {
  padding: 24px 28px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
/* Left accent bar — theme color, subtle on compact, bold on featured */
.actu-item::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--actu-accent, var(--mauve-500));
  opacity: 0.55;
  transition: opacity 0.3s, width 0.3s var(--ease-out);
}
.actu-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px -10px rgba(10, 95, 134, 0.18);
  border-color: var(--actu-accent, var(--mauve-300));
}
.actu-item:hover::before { opacity: 1; width: 5px; }
.actu-item:hover .actu-thumb img {
  filter: grayscale(0.1) brightness(1) contrast(1.06);
  transform: scale(1.06);
}

/* Theme tag pill (top of every card) */
.actu-theme-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.6875rem;
  font-weight: var(--font-semibold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--actu-accent, var(--mauve-600));
  padding: 4px 10px;
  border: 1px solid currentColor;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  background: color-mix(in srgb, var(--actu-accent, var(--mauve-500)) 8%, transparent);
  line-height: 1;
}
.actu-item .date {
  font-size: var(--text-xs);
  color: var(--ardoise-500);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  font-weight: var(--font-semibold);
  margin-bottom: 10px;
}
.actu-item h3 {
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  color: var(--marine-900);
  line-height: 1.3;
  margin: 0 0 14px;
  letter-spacing: var(--tracking-tight);
}
.actu-item .author {
  font-size: var(--text-xs);
  color: var(--ardoise-500);
  margin: auto 0 14px;
}
.actu-item .read {
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--actu-accent, var(--marine-500));
  margin-top: auto;
}

/* Hero feature card — dark theme, big typography, ambient tag */
.actu-grid[data-featured-mode="true"] .actu-item.is-hero {
  background: linear-gradient(160deg, var(--ardoise-900), var(--marine-950));
  border-color: var(--ardoise-800);
}
.actu-grid[data-featured-mode="true"] .actu-item.is-hero .actu-thumb {
  aspect-ratio: 3 / 1;
  max-height: 260px;
  border-bottom: none;
}
.actu-grid[data-featured-mode="true"] .actu-item.is-hero .actu-thumb img {
  filter: grayscale(0.85) brightness(0.7) contrast(1.1);
}
.actu-grid[data-featured-mode="true"] .actu-item.is-hero:hover .actu-thumb img {
  filter: grayscale(0.2) brightness(0.95) contrast(1.1);
}
.actu-grid[data-featured-mode="true"] .actu-item.is-hero .actu-content {
  padding: clamp(28px, 2.4vw, 40px);
}
.actu-grid[data-featured-mode="true"] .actu-item.is-hero::before {
  width: 4px;
  opacity: 1;
  background: linear-gradient(180deg, var(--actu-accent) 0%, transparent 100%);
}
.actu-grid[data-featured-mode="true"] .actu-item.is-hero .actu-theme-tag {
  color: var(--mauve-300);
  background: color-mix(in srgb, var(--actu-accent) 20%, transparent);
  border-color: color-mix(in srgb, var(--actu-accent) 40%, transparent);
}
.actu-grid[data-featured-mode="true"] .actu-item.is-hero .date {
  color: rgba(250, 250, 246, 0.55);
}
.actu-grid[data-featured-mode="true"] .actu-item.is-hero h3 {
  font-size: clamp(1.5rem, 2vw, 2.125rem);
  color: var(--creme-100);
  line-height: 1.15;
  max-width: 24ch;
}
.actu-grid[data-featured-mode="true"] .actu-item.is-hero .author {
  color: rgba(250, 250, 246, 0.55);
}
.actu-grid[data-featured-mode="true"] .actu-item.is-hero .read {
  color: var(--mauve-300);
  font-size: var(--text-base);
}
.actu-grid[data-featured-mode="true"] .actu-item.is-hero:hover {
  border-color: var(--actu-accent);
  box-shadow: 0 30px 60px -18px rgba(0, 0, 0, 0.4);
}
.actu-grid[data-featured-mode="true"] .actu-item.is-hero:hover .read {
  color: var(--mauve-200);
}

/* Side featured cards — elevated treatment vs compact */
.actu-grid[data-featured-mode="true"] .actu-item.is-side h3 {
  font-size: var(--text-xl);
}

/* Tablet: collapse to 2 cols, hero spans both */
@media (max-width: 991px) {
  .actu-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .actu-grid[data-featured-mode="true"] .actu-item.is-hero {
    grid-column: span 2;
    grid-row: span 1;
  }
}

/* Mobile: single column, featured treatment preserved for hero only */
@media (max-width: 640px) {
  .actu-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .actu-grid[data-featured-mode="true"] .actu-item.is-hero,
  .actu-grid[data-featured-mode="true"] .actu-item.is-side {
    grid-column: span 1;
    grid-row: span 1;
  }
  .actu-grid[data-featured-mode="true"] .actu-item.is-hero h3 {
    font-size: var(--text-xl);
  }
}
