/* ============================================
   RGPD.re 2026 - Système de design éditorial
   ============================================ */

:root {
  /* Palette */
  --ink: #0B1F3A;
  --ink-90: #142a48;
  --ink-70: #3a4a66;
  --ink-50: #6b7891;
  --cream: #F6F2EA;
  --cream-deep: #ECE5D4;
  --paper: #FDFBF6;
  --white: #FFFFFF;
  --lava: #C1462F;
  --lava-bright: #E0532F;
  --lava-soft: #F0EDE5;
  --moss: #3A5A40;
  --line: rgba(11, 31, 58, 0.14);
  --line-strong: rgba(11, 31, 58, 0.28);

  /* Typographie */
  --font-display: "Fraunces", "Cormorant Garamond", Georgia, serif;
  --font-body: "Manrope", "Helvetica Neue", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  /* Rythme */
  --max-w: 1320px;
  --gutter: clamp(1.25rem, 3.5vw, 3rem);
  --section-y: clamp(4rem, 9vw, 8rem);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

/* ============================================
   Typographie
   ============================================ */
.display, h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 50;
  letter-spacing: -0.02em;
  line-height: 1.02;
  color: var(--ink);
}
h1 { font-size: clamp(2.5rem, 7vw, 5.75rem); font-weight: 420; }
h2 { font-size: clamp(2rem, 4.5vw, 3.5rem); font-weight: 430; }
h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); font-weight: 500; line-height: 1.15; }
h4 { font-size: 1.1rem; font-weight: 500; letter-spacing: -0.01em; line-height: 1.2; }

.serif-italic { font-family: var(--font-display); font-style: italic; font-weight: 340; }

p { font-size: clamp(0.98rem, 1.1vw, 1.05rem); color: var(--ink-90); }
.lead { font-size: clamp(1.1rem, 1.4vw, 1.3rem); line-height: 1.5; color: var(--ink-90); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-70);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--lava);
}
.eyebrow.no-line::before { display: none; }

.marker {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--ink-70);
  text-transform: uppercase;
}

/* ============================================
   Layout
   ============================================ */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section { padding: var(--section-y) 0; }

.grid { display: grid; gap: 2.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-12 { grid-template-columns: repeat(12, 1fr); gap: 2rem; }

@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-12 { grid-template-columns: 1fr; gap: 2rem; }
}

/* ============================================
   Navigation (dark)
   ============================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 31, 58, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(246, 242, 234, 0.08);
  color: var(--cream);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.1rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.logo {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--cream);
  line-height: 1;
}
.logo img {
  display: block;
  height: 38px;
  width: auto;
}
.logo-mark {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--lava-bright);
  margin-right: 0.65rem;
  transform: translateY(-2px);
}
.logo-dot {
  color: var(--lava-bright);
  font-style: italic;
  font-weight: 400;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}
.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(246, 242, 234, 0.75);
  position: relative;
  padding: 0.3rem 0;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--lava-bright); }
.nav-links a.active {
  color: var(--cream);
}
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--lava-bright);
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.25rem;
  background: var(--lava);
  color: var(--cream);
  font-size: 0.88rem;
  font-weight: 500;
  border-radius: 2px;
  transition: background 0.2s, transform 0.2s;
}
.nav-cta:hover { background: var(--lava-bright); transform: translateY(-1px); }
.nav-cta .arrow { display: inline-block; transition: transform 0.2s; }
.nav-cta:hover .arrow { transform: translateX(3px); }

.nav-toggle { display: none; }

@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    padding: 4px;
    z-index: 2;
  }
  .nav-toggle span {
    display: block;
    width: 100%;
    height: 1.5px;
    background: var(--cream);
    transition: transform 0.25s, opacity 0.25s;
  }
  .nav.is-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav.is-open .nav-inner {
    flex-wrap: wrap;
    padding-bottom: 1.75rem;
  }
  .nav.is-open .nav-links {
    display: flex;
    flex-basis: 100%;
    order: 3;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.75rem 0 0.5rem;
    gap: 1.2rem;
    border-top: 1px solid rgba(246, 242, 234, 0.08);
    margin-top: 1.25rem;
  }
  .nav.is-open .nav-links a { font-size: 1.15rem; }
  .nav.is-open .nav-cta {
    display: inline-flex;
    flex-basis: 100%;
    order: 4;
    justify-content: center;
    margin-top: 0.75rem;
  }
}

/* ============================================
   Top CTA box (in a container, after page-hero)
   ============================================ */
.cta-top-section {
  padding: clamp(2rem, 4vw, 3rem) 0;
}
.cta-top-box {
  background: var(--ink);
  color: var(--cream);
  padding: clamp(1.75rem, 3vw, 2.25rem) clamp(1.5rem, 3vw, 2.5rem);
  border-radius: 4px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-top-box::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -8%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(193, 70, 47, 0.22) 0%, transparent 65%);
  pointer-events: none;
}
.cta-top-box > * { position: relative; z-index: 1; }

.cta-top-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 450;
  letter-spacing: -0.015em;
  color: var(--cream);
  line-height: 1.15;
  font-variation-settings: "opsz" 144;
  white-space: nowrap;
}
.cta-top-text {
  font-size: 0.92rem;
  color: rgba(246, 242, 234, 0.78);
  line-height: 1.5;
  max-width: 60ch;
}
.cta-top-box .btn-cta-top {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  background: var(--lava);
  color: var(--cream);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 2px;
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s;
}
.cta-top-box .btn-cta-top:hover {
  background: var(--lava-bright);
  transform: translateY(-1px);
}
.cta-top-box .btn-cta-top .arrow { transition: transform 0.2s; }
.cta-top-box .btn-cta-top:hover .arrow { transform: translateX(3px); }

@media (max-width: 1100px) {
  .cta-top-box { grid-template-columns: 1fr auto; gap: 1.5rem; }
  .cta-top-title { grid-column: 1 / -1; white-space: normal; }
  .cta-top-text { grid-column: 1; }
  .cta-top-box .btn-cta-top { grid-column: 2; }
}
@media (max-width: 640px) {
  .cta-top-section { padding: 1.5rem 0 0.5rem; }
  .cta-top-box {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    padding: 1.5rem 1.25rem;
  }
  .cta-top-box::before { width: 240px; height: 240px; right: -30%; }
  .cta-top-title { font-size: 1.2rem; }
  .cta-top-text { font-size: 0.88rem; }
  .cta-top-box .btn-cta-top {
    grid-column: 1;
    justify-self: stretch;
    justify-content: center;
    margin-top: 0.25rem;
  }
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 2px;
  transition: all 0.25s ease;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--ink);
  color: var(--cream);
}
.btn-primary:hover {
  background: var(--lava);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn-outline:hover {
  background: var(--ink);
  color: var(--cream);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  padding-left: 0;
  padding-right: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
}
.btn-ghost:hover { color: var(--lava); border-color: var(--lava); }

.btn .arrow { transition: transform 0.2s; }
.btn:hover .arrow { transform: translateX(4px); }

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  padding: clamp(3rem, 8vw, 7rem) 0 clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}
.hero-title {
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 380;
  line-height: 0.96;
  letter-spacing: -0.03em;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}
.hero-title em {
  font-style: italic;
  font-weight: 340;
  color: var(--lava);
  font-variation-settings: "opsz" 144, "SOFT" 100;
}
.hero-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 2rem 0 1.25rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.5rem;
}
.hero-meta .marker { color: var(--ink-70); }

.hero-side {
  padding-bottom: 1rem;
}
.hero-side p {
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink-90);
  margin-bottom: 1.5rem;
  max-width: 38ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Hero decorative corner */
.hero-corner {
  position: absolute;
  top: 2rem;
  right: var(--gutter);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--ink-70);
  text-transform: uppercase;
  text-align: right;
  line-height: 1.8;
}
.hero-corner .dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lava);
  margin-right: 0.5rem;
  animation: pulse 2s ease-in-out infinite;
  transform: translateY(-1px);
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ============================================
   Index bar
   ============================================ */
.index-bar {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 1rem 0;
  background: var(--cream);
}
.index-bar-inner {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
}
.index-item {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-70);
}
.index-item .num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 430;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
}

/* ============================================
   Section headers
   ============================================ */
.section-head {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 3rem;
  align-items: baseline;
  padding-bottom: 3rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--line);
}
.section-head .marker-col { padding-top: 0.5rem; }
.section-head h2 { max-width: 18ch; }
@media (max-width: 760px) {
  .section-head { grid-template-columns: 1fr; gap: 1rem; padding-bottom: 2rem; margin-bottom: 2rem; }
}

/* ============================================
   Pourquoi agir - ornaments
   ============================================ */
.why-num {
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 380;
  line-height: 0.9;
  color: var(--ink);
  opacity: 0.14;
  font-variation-settings: "opsz" 144;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}
.why-stat {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.why-stat .num {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 430;
  color: var(--lava);
  line-height: 1;
  font-variation-settings: "opsz" 144;
  letter-spacing: -0.02em;
}
.why-stat .label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-70);
  line-height: 1.5;
}

/* ============================================
   Cards
   ============================================ */
.offer-card {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  background: var(--paper);
  border: 1px solid var(--line);
  transition: all 0.3s ease;
  position: relative;
  height: 100%;
}
.offer-card:hover {
  border-color: var(--ink);
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -20px rgba(11, 31, 58, 0.15);
}
.offer-card .marker {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.offer-card h3 { margin-bottom: 0.8rem; }
.offer-card p {
  font-size: 0.93rem;
  line-height: 1.55;
  color: var(--ink-90);
  flex-grow: 1;
}
.offer-card .tag {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.3rem 0.7rem;
  background: var(--lava-soft);
  color: var(--ink);
  font-size: 0.72rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 2px;
  align-self: flex-start;
}
.offer-card.featured {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}
.offer-card.featured h3, .offer-card.featured .marker { color: var(--cream); }
.offer-card.featured p { color: rgba(246, 242, 234, 0.85); }
.offer-card.featured .tag {
  background: var(--lava);
  color: var(--cream);
}

/* ============================================
   Team
   ============================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
@media (max-width: 900px) { .team-grid { grid-template-columns: 1fr; } }

.team-card {
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  transition: background 0.3s;
}
.team-card:last-child { border-right: none; }
@media (max-width: 900px) {
  .team-card { border-right: none; }
}
.team-card:hover { background: var(--cream-deep); }
.team-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.team-card:nth-child(2) .team-avatar { background: var(--lava); }
.team-card:nth-child(3) .team-avatar { background: var(--moss); }
.team-card h3 { margin-bottom: 0.3rem; }
.team-card .role {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--lava);
  margin-bottom: 1.2rem;
}
.team-card p {
  font-size: 0.93rem;
  line-height: 1.55;
  color: var(--ink-90);
  margin-bottom: 1.5rem;
}
.team-card .expertise {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.team-card .expertise span {
  font-size: 0.72rem;
  padding: 0.3rem 0.6rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink-90);
}

/* ============================================
   Methodology timeline
   ============================================ */
.method-list {
  border-top: 1px solid var(--ink);
}
.method-item {
  display: grid;
  grid-template-columns: 100px 1fr 1fr;
  gap: 3rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
  transition: padding 0.3s;
  position: relative;
}
.method-item:hover {
  padding-left: 1rem;
}
.method-item:hover::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2.5rem;
  width: 3px;
  height: calc(100% - 5rem);
  background: var(--lava);
}
.method-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 380;
  line-height: 1;
  color: var(--lava);
  font-variation-settings: "opsz" 144;
}
.method-title h3 { margin-bottom: 0.5rem; }
.method-title .step-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-70);
}
.method-desc p {
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--ink-90);
}
@media (max-width: 900px) {
  .method-item { grid-template-columns: 1fr; gap: 1rem; padding: 2rem 0; }
  .method-num { font-size: 2.5rem; }
}

/* ============================================
   References
   ============================================ */
/* ============================================
   References - row-based listing
   ============================================ */
.ref-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-bottom: 2rem;
  padding: 0;
  border-bottom: 1px solid var(--line);
}
.ref-filter {
  position: relative;
  padding: 0.85rem 1.5rem 0.85rem 0;
  margin-right: 1.25rem;
  border: none;
  border-bottom: 2px solid transparent;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-70);
  letter-spacing: -0.005em;
  border-radius: 0;
  transition: color 0.18s, border-color 0.18s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.ref-filter:hover { color: var(--ink); }
.ref-filter.active {
  color: var(--ink);
  border-bottom-color: var(--lava);
  background: transparent;
}
.ref-filter .fcount {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 0.4rem;
  border-radius: 999px;
  background: var(--cream-deep);
  color: var(--ink-70);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.ref-filter.active .fcount {
  background: var(--ink);
  color: var(--cream);
}

/* Header row */
.ref-table {
  margin-top: 0.5rem;
  border-top: 1px solid var(--line);
}
.ref-thead {
  display: grid;
  grid-template-columns: 1fr 180px 200px 80px;
  gap: 1.5rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--ink);
}
.ref-thead .th {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-70);
}
.ref-thead .th-right { text-align: right; }

/* Reference row */
.ref-row {
  display: grid;
  grid-template-columns: 1fr 180px 200px 80px;
  gap: 1.5rem;
  padding: 0 1.25rem;
  border-bottom: 1px solid var(--line);
  align-items: center;
  min-height: 84px;
}
.ref-row.dim {
  min-height: 64px;
}
.ref-row.hidden { display: none; }

/* Cell: name with logo */
.rr-name {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1rem 0;
  min-width: 0;
}
.rr-logo {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.ref-row.dim .rr-logo {
  width: 44px;
  height: 44px;
}
.rr-logo svg, .rr-logo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}
.rr-info { min-width: 0; flex: 1; }
.rr-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.015em;
  line-height: 1.2;
  font-variation-settings: "opsz" 144;
}
.ref-row.dim .rr-title {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-90);
  letter-spacing: 0;
}
.rr-client {
  font-size: 0.82rem;
  color: var(--ink-70);
  margin-top: 0.2rem;
  font-style: italic;
}
.ref-row.dim .rr-client {
  font-size: 0.76rem;
  margin-top: 0.1rem;
}

/* Cell: sector badge */
.rr-sector { display: flex; align-items: center; }
.rr-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.75rem;
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.badge-public {
  background: rgba(11, 31, 58, 0.08);
  color: var(--ink);
}
.badge-prive {
  background: var(--lava-soft);
  color: var(--lava);
}
.badge-association {
  background: rgba(58, 90, 64, 0.12);
  color: var(--moss);
}
.ref-row.dim .rr-badge { opacity: 0.55; }

/* Cell: activity */
.rr-activity {
  font-size: 0.86rem;
  color: var(--ink-90);
  display: flex;
  align-items: center;
  line-height: 1.4;
}
.ref-row.dim .rr-activity {
  font-size: 0.78rem;
  color: var(--ink-70);
  opacity: 0.85;
}

/* Cell: year */
.rr-year {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  text-align: right;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  font-variation-settings: "opsz" 144;
}
.ref-row.dim .rr-year {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-70);
}

/* No-results */
.ref-empty {
  padding: 4rem 2rem;
  text-align: center;
  display: none;
}
.ref-empty.visible { display: block; }
.ref-empty .glyph {
  font-size: 2rem;
  opacity: 0.25;
  margin-bottom: 0.75rem;
  font-family: var(--font-display);
  color: var(--ink);
}
.ref-empty .label {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-70);
}

/* ============================================
   Offer catalog page
   ============================================ */
.catalog-section {
  padding: var(--section-y) 0;
  border-bottom: 1px solid var(--line);
}
.catalog-section:last-of-type { border-bottom: none; }
.catalog-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  margin-bottom: 3rem;
  align-items: start;
}
@media (max-width: 900px) { .catalog-head { grid-template-columns: 1fr; gap: 1.5rem; } }
.catalog-head .step-num {
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 7rem);
  font-weight: 380;
  line-height: 0.9;
  color: var(--ink);
  font-variation-settings: "opsz" 144;
}
.catalog-head .step-num em {
  font-style: italic;
  color: var(--lava);
  font-variation-settings: "opsz" 144, "SOFT" 100;
}
.catalog-head h2 { margin-bottom: 1rem; }
.catalog-head p { max-width: 54ch; }

.offer-group { margin-bottom: 3rem; }
.offer-group:last-child { margin-bottom: 0; }
.offer-group-label {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--ink);
}
.offer-group-label h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 450;
}
.offer-group-label .count {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--ink-70);
  text-transform: uppercase;
}

.offer-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.offer-list:has(> :only-child) {
  grid-template-columns: 1fr;
  max-width: 780px;
}
@media (max-width: 900px) { .offer-list { grid-template-columns: 1fr; } }

/* ============================================
   Contact
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
  align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; } }

.contact-info {
  border-top: 1px solid var(--ink);
  padding-top: 2rem;
}
.contact-block { padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.contact-block:last-child { border-bottom: none; }
.contact-block .label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-70);
  margin-bottom: 0.5rem;
}
.contact-block .value {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 430;
  color: var(--ink);
}
.contact-block .value a { transition: color 0.2s; }
.contact-block .value a:hover { color: var(--lava); }
.contact-block .sub {
  font-size: 0.9rem;
  color: var(--ink-70);
  margin-top: 0.3rem;
}

.form {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}
.form-row { margin-bottom: 1.5rem; }
.form-row.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 600px) { .form-row.split { grid-template-columns: 1fr; } }
.form label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-70);
  margin-bottom: 0.5rem;
}
.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  transition: border-color 0.2s, background 0.2s;
}
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: var(--white);
}
.form textarea { min-height: 140px; resize: vertical; }
.form-consent {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.82rem;
  color: var(--ink-70);
  margin-top: 1rem;
  line-height: 1.5;
}
.form-consent input { width: auto; margin-top: 0.2rem; }
.form-consent a { text-decoration: underline; }
.form button[type="submit"] {
  margin-top: 1.5rem;
  width: 100%;
  justify-content: center;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--ink);
  color: var(--cream);
  padding: 5rem 0 2rem;
}
.footer a { color: var(--cream); transition: color 0.2s; }
.footer a:hover { color: var(--lava-bright); }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(246, 242, 234, 0.18);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand .logo { color: var(--cream); }
.footer-brand p {
  margin-top: 1.5rem;
  color: rgba(246, 242, 234, 0.75);
  font-size: 0.92rem;
  max-width: 40ch;
}
.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(246, 242, 234, 0.6);
  margin-bottom: 1.25rem;
  font-weight: 500;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col a { font-size: 0.93rem; }
.footer-bottom {
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: rgba(246, 242, 234, 0.6);
}
.footer-bottom a { color: rgba(246, 242, 234, 0.75); }

/* ============================================
   Background motifs
   ============================================ */
.bg-dotted {
  background-image: radial-gradient(circle, var(--line-strong) 1px, transparent 1px);
  background-size: 22px 22px;
  background-position: center;
}

.divider-band {
  padding: 1.5rem 0;
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
}
.divider-band-track {
  display: flex;
  gap: 3rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 380;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
  font-variation-settings: "opsz" 144;
}
.divider-band-track span {
  display: inline-flex;
  align-items: center;
  gap: 3rem;
}
.divider-band-track em {
  font-style: italic;
  color: var(--lava-bright);
  font-weight: 340;
}
.divider-band-track .dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lava-bright);
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================
   CTA banner
   ============================================ */
.cta-banner {
  padding: clamp(3rem, 8vw, 6rem) 0;
  background: var(--ink);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(193, 70, 47, 0.25) 0%, transparent 65%);
  pointer-events: none;
}
.cta-banner-inner {
  position: relative;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 900px) { .cta-banner-inner { grid-template-columns: 1fr; gap: 2rem; } }
.cta-banner h2 {
  color: var(--cream);
  font-size: clamp(2rem, 5vw, 3.75rem);
  line-height: 1;
}
.cta-banner h2 em { color: var(--lava-bright); font-style: italic; }
.cta-banner .cta-text p { color: rgba(246, 242, 234, 0.8); margin-top: 1rem; max-width: 50ch; }
.cta-banner .btn-primary {
  background: var(--lava);
  color: var(--cream);
}
.cta-banner .btn-primary:hover { background: var(--lava-bright); }

/* ============================================
   Trust row (logos) - legacy static
   ============================================ */
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border: 1px solid var(--line);
  background: var(--paper);
}
.trust-item {
  flex: 1 1 200px;
  padding: 2rem 1.5rem;
  text-align: center;
  border-right: 1px solid var(--line);
  transition: background 0.2s;
}
.trust-item:last-child { border-right: none; }
.trust-item:hover { background: var(--cream-deep); }
.trust-item .name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 450;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.trust-item .type {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-70);
  margin-top: 0.4rem;
}

/* ============================================
   Clients marquee (scrolling band)
   ============================================ */
.clients-marquee {
  margin-top: 2rem;
  padding: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  overflow: hidden;
  position: relative;
}
.clients-marquee::before,
.clients-marquee::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.clients-marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--paper), transparent);
}
.clients-marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--paper), transparent);
}
.clients-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: clients-scroll 80s linear infinite;
}
.clients-marquee:hover .clients-track { animation-play-state: paused; }
.clients-track > div {
  display: flex;
  gap: 0;
}
.client-chip {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 2rem;
  border-right: 1px solid var(--line);
  min-width: 260px;
  flex-shrink: 0;
  background: var(--paper);
  transition: background 0.2s;
}
.client-chip:hover { background: var(--cream-deep); }
.client-logo {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.client-logo svg { width: 100%; height: 100%; }
.client-chip .name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 450;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.client-chip .type {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-70);
  margin-top: 0.3rem;
}
@keyframes clients-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================
   Reference card logos
   ============================================ */
.ref-card {
  position: relative;
}
.ref-logo {
  width: 56px;
  height: 56px;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ref-logo svg {
  width: 100%;
  height: 100%;
  display: block;
}
.ref-logo-label {
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-70);
  opacity: 0.5;
}

/* ============================================
   Veille / Actus
   ============================================ */
.news-list {
  border-top: 1px solid var(--ink);
}
.news-item {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 2rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
  transition: padding 0.2s;
}
.news-item:hover { padding-left: 0.5rem; }
.news-item .date {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--ink-70);
  text-transform: uppercase;
}
.news-item .topic {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 450;
  color: var(--ink);
  transition: color 0.2s;
}
.news-item:hover .topic { color: var(--lava); }
.news-item .tag {
  font-size: 0.72rem;
  padding: 0.25rem 0.7rem;
  background: var(--lava-soft);
  color: var(--ink);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
@media (max-width: 700px) {
  .news-item { grid-template-columns: 1fr; gap: 0.5rem; }
  .news-item .tag { justify-self: start; }
}

/* ============================================
   Reveal animations
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ============================================
   Page hero (interior)
   ============================================ */
.page-hero {
  padding: clamp(4rem, 10vw, 8rem) 0 clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.page-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
}
@media (max-width: 900px) { .page-hero-grid { grid-template-columns: 1fr; gap: 1.5rem; } }

.breadcrumb {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-70);
  margin-bottom: 2rem;
}
.breadcrumb a:hover { color: var(--lava); }
.breadcrumb .sep { color: var(--line-strong); }

/* Utils */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }

/* ============================================
   MOBILE RESPONSIVE (detailed)
   ============================================ */

/* Tablet (768-900) */
@media (max-width: 900px) {
  :root { --section-y: 4rem; }
  .hero { padding: 2.5rem 0 3rem; }
  .section-head { padding-bottom: 1.75rem; margin-bottom: 2rem; }
  .hero-corner { display: none; }
  .hero-meta { padding: 1.25rem 0 1rem; margin-bottom: 1rem; }
  .index-bar-inner { gap: 1.5rem 2rem; }
  .index-item { flex: 1 1 calc(50% - 1rem); }
  .index-item .num { font-size: 1.75rem; }
  .offer-card { padding: 1.75rem 1.5rem; }
  .ref-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-banner-inner > div:last-child { text-align: left; }
  .cta-banner-inner .btn { width: auto; }
}

/* Mobile (≤ 640px) */
@media (max-width: 640px) {
  :root {
    --section-y: 3rem;
    --gutter: 1.25rem;
  }
  .nav-inner { padding: 0.85rem var(--gutter); }
  .logo { font-size: 1.2rem; }
  .logo img { height: 32px; }

  h1 { font-size: clamp(2rem, 9vw, 3rem); line-height: 1; }
  h2 { font-size: clamp(1.6rem, 7vw, 2.3rem); }
  h3 { font-size: 1.2rem; }

  .hero-title { font-size: clamp(2.2rem, 10vw, 3.5rem); }
  .hero-meta { flex-direction: column; gap: 0.3rem; align-items: flex-start; }
  .hero-meta .marker { font-size: 0.7rem; }
  .hero-side p, .hero-side .lead { font-size: 1rem; max-width: none; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }

  .index-bar { padding: 1.25rem 0; }
  .index-bar-inner { gap: 1.25rem 1.25rem; }
  .index-item {
    flex: 1 1 100%;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--line);
  }
  .index-item:last-child { border-bottom: none; padding-bottom: 0; }
  .index-item .num { font-size: 2rem; }

  .section-head { gap: 0.75rem; padding-bottom: 1.5rem; margin-bottom: 1.75rem; }
  .section-head h2 { max-width: none; }

  .grid { gap: 2rem; }
  .grid-2, .grid-3, .grid-4 { gap: 2rem; }

  .why-num { font-size: 3rem; }
  .why-stat { margin-top: 1.25rem; padding-top: 0.75rem; }
  .why-stat .num { font-size: 2rem; }

  .method-item { padding: 1.75rem 0; gap: 0.75rem; }
  .method-num { font-size: 2.25rem; }
  .method-title h3 { font-size: 1.15rem; }
  .method-desc p { font-size: 0.95rem; }

  .team-card { padding: 2rem 1.5rem; }
  .team-avatar { width: 70px; height: 70px; font-size: 1.6rem; }

  .catalog-head { gap: 1rem; }
  .catalog-head .step-num { font-size: 3.5rem; }

  .offer-group-label { flex-wrap: wrap; }
  .offer-group-label h3 { font-size: 1.15rem; }
  .offer-card { padding: 1.5rem 1.25rem; }
  .offer-card h3 { font-size: 1.2rem; }

  .ref-filters {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 1rem;
    margin-bottom: 1.25rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .ref-filters::-webkit-scrollbar { display: none; }
  .ref-filter {
    flex-shrink: 0;
    font-size: 0.85rem;
    padding: 0.7rem 0;
    margin-right: 1.5rem;
  }

  /* Mobile: hide table header */
  .ref-thead { display: none; }

  /* Mobile: each row is a 3-area grid (logo / content / year), with rr-info exploded via display:contents */
  .ref-row,
  .ref-row.dim {
    display: grid;
    grid-template-columns: 52px 1fr auto;
    grid-template-rows: auto auto auto;
    grid-template-areas:
      "logo title year"
      "logo client client"
      "logo meta meta";
    column-gap: 0.9rem;
    row-gap: 0.2rem;
    padding: 1rem 0.25rem;
    align-items: start;
    min-height: 0;
  }
  .ref-row .rr-name,
  .ref-row.dim .rr-name { display: contents; padding: 0; }
  .ref-row .rr-info { display: contents; }

  .ref-row .rr-logo,
  .ref-row.dim .rr-logo {
    grid-area: logo;
    width: 52px; height: 52px;
    align-self: start;
    margin-top: 2px;
  }
  .ref-row .rr-title,
  .ref-row.dim .rr-title {
    grid-area: title;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--ink);
    letter-spacing: -0.01em;
    line-height: 1.2;
  }
  .ref-row.dim .rr-title { font-size: 0.95rem; }
  .ref-row .rr-client,
  .ref-row.dim .rr-client {
    grid-area: client;
    margin-top: 0;
    font-size: 0.78rem;
  }
  .ref-row .rr-sector {
    grid-area: meta;
    margin-top: 0.45rem;
    align-self: start;
  }
  .ref-row .rr-activity {
    grid-area: meta;
    align-self: end;
    margin-top: 0.5rem;
    font-size: 0.76rem;
    color: var(--ink-70);
    line-height: 1.3;
    grid-row: 4;
    grid-column: 2 / 4;
  }
  /* Add a 4th row for activity on mobile */
  .ref-row,
  .ref-row.dim {
    grid-template-rows: auto auto auto auto;
    grid-template-areas:
      "logo title year"
      "logo client client"
      "logo meta meta"
      "logo activity activity";
  }
  .ref-row .rr-activity,
  .ref-row.dim .rr-activity { grid-area: activity; margin-top: 0.4rem; }
  .ref-row .rr-year,
  .ref-row.dim .rr-year {
    grid-area: year;
    justify-self: end;
    align-self: start;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--ink-70);
    margin-top: 4px;
  }

  .catalog-section { padding: 3rem 0; }

  .contact-grid { gap: 2rem; }
  .contact-block { padding: 1.25rem 0; }
  .contact-block .value { font-size: 1.15rem; }
  .form { padding: 1.5rem 1.25rem; }
  .form input, .form select, .form textarea { font-size: 16px; /* avoid iOS zoom */ }
  .form-row { margin-bottom: 1.25rem; }

  .cta-banner h2 { font-size: clamp(1.75rem, 8vw, 2.5rem); }
  .cta-banner { padding: 3rem 0; }
  .cta-banner::before { width: 400px; height: 400px; right: -30%; }

  .footer { padding: 3.5rem 0 2rem; }
  .footer-grid { gap: 2rem; padding-bottom: 2rem; }
  .footer-bottom { font-size: 0.78rem; }

  .client-chip { min-width: 220px; padding: 1.25rem 1.5rem; gap: 0.85rem; }
  .client-chip .name { font-size: 0.98rem; }
  .client-logo { width: 36px; height: 36px; }

  .divider-band-track { font-size: 1.15rem; gap: 2rem; }
  .divider-band-track span { gap: 2rem; }

  .page-hero { padding: 2.5rem 0 2rem; }
  .breadcrumb { margin-bottom: 1.25rem; font-size: 0.68rem; }
  .page-hero h1 { font-size: clamp(2rem, 9vw, 3rem); }

  .ref-logo { width: 48px; height: 48px; margin-bottom: 1rem; }
  .ref-logo-label { top: 1.2rem; right: 1.2rem; font-size: 0.55rem; }
}

/* Small mobile (≤ 400px) */
@media (max-width: 400px) {
  :root { --gutter: 1rem; }
  .hero-title { font-size: 2.2rem; }
  .btn { padding: 0.85rem 1.25rem; font-size: 0.9rem; }
  .nav-cta { padding: 0.55rem 1rem; font-size: 0.82rem; }
  .method-num { font-size: 2rem; }
  .catalog-head .step-num { font-size: 2.8rem; }
  .team-card { padding: 1.75rem 1.25rem; }
}

/* ============================================
   BANDEAU RÉSEAU conformite.re & LIEN D'ÉVITEMENT
   Repris à l'identique des sites du réseau
   (accessibilite.re, conformite.re, ecoconception.re)
   ============================================ */

:root {
  /* Couleurs des sites du réseau */
  --v-rgpd: #B23F2A;
  --v-rgpd-light: #F2876B;
  --v-accessibilite: #1E5F8C;
  --v-accessibilite-light: #74AEDA;
  --v-ecoconception: #3A5A40;
  --v-ecoconception-light: #93BA99;
  --v-aiact: #5B4B8A;
  --v-aiact-light: #AFA2D6;

  /* Tons sur fond sombre */
  --ink-deep: #071629;
  --on-dark-soft: rgba(246, 242, 234, 0.78);
  --on-dark-muted: rgba(246, 242, 234, 0.7);
  --line-on-dark: rgba(246, 242, 234, 0.12);

  /* Espacements, tailles et animations du bandeau */
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --fs-2xs: 0.7rem;
  --r-xs: 2px;
  --strip-h: 34px;
  --z-skip: 200;
  --dur-1: 0.18s;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Couleur propre à chaque site (pastille du bandeau) */
[data-v="rgpd"] { --v: var(--v-rgpd); --v-light: var(--v-rgpd-light); }
[data-v="accessibilite"] { --v: var(--v-accessibilite); --v-light: var(--v-accessibilite-light); }
[data-v="ecoconception"] { --v: var(--v-ecoconception); --v-light: var(--v-ecoconception-light); }
[data-v="aiact"] { --v: var(--v-aiact); --v-light: var(--v-aiact-light); }
[data-v="hub"] { --v: var(--ink); --v-light: var(--cream); }

/* Texte réservé aux lecteurs d'écran */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Lien d'évitement : visible uniquement au focus clavier */
.skip-link {
  position: absolute;
  top: var(--s-2);
  left: var(--s-2);
  z-index: var(--z-skip);
  padding: var(--s-3) var(--s-4);
  background: var(--cream);
  color: var(--ink);
  font-weight: 600;
  border-radius: var(--r-xs);
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

/* Glyphe du réseau : 4 carrés aux couleurs des expertises */
.network-glyph {
  display: inline-grid;
  grid-template-columns: repeat(2, 5px);
  gap: 2px;
  flex-shrink: 0;
}
.network-glyph i {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 1px;
}
.network-glyph i:nth-child(1) { background: var(--v-rgpd-light); }
.network-glyph i:nth-child(2) { background: var(--v-accessibilite-light); }
.network-glyph i:nth-child(3) { background: var(--v-ecoconception-light); }
.network-glyph i:nth-child(4) { background: var(--v-aiact-light); }

/* Bandeau */
.top-strip {
  background: var(--ink-deep);
  color: var(--on-dark-muted);
  font-family: var(--font-mono);
  font-size: var(--fs-2xs);
  letter-spacing: 0.12em;
  border-bottom: 1px solid var(--line-on-dark);
}
.top-strip-inner {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  min-height: var(--strip-h);
  justify-content: flex-start;
}
.top-strip-label {
  display: none;
  align-items: center;
  gap: var(--s-3);
  font-size: inherit;
  color: inherit;
  line-height: 1;
  white-space: nowrap;
}
.top-strip-label strong { font-weight: 500; color: var(--on-dark-soft); }
.top-strip-label .sep { opacity: 0.85; }

/* Liste des sites : défilement horizontal avec fondu sur mobile */
.top-strip-sites {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
  max-width: 100%;
  padding-right: var(--s-6);
  -webkit-mask-image: linear-gradient(to right, #000 85%, transparent);
  mask-image: linear-gradient(to right, #000 85%, transparent);
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  white-space: nowrap;
}
.top-strip-sites::-webkit-scrollbar { display: none; }
.top-strip-sites li {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.top-strip-sites li + li::before {
  content: "·";
  padding-inline: var(--s-3);
  opacity: 0.5;
}
.top-strip-sites a,
.top-strip-sites .is-current {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  min-height: var(--strip-h);
}
.top-strip-sites a {
  color: var(--on-dark-muted);
  transition: color var(--dur-1) var(--ease);
}
.top-strip-sites a:hover { color: var(--cream); }
.top-strip-sites a::before,
.top-strip-sites .is-current::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--v-light);
  opacity: 0.85;
}
.top-strip-sites .is-current { color: var(--cream); font-weight: 500; }

@media (min-width: 40.0625em) {
  .top-strip-inner { justify-content: space-between; }
  .top-strip-sites {
    padding-right: 0;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .top-strip-label { display: inline-flex; }
}

@media print {
  .top-strip,
  .skip-link { display: none !important; }
}

/* Liens du menu alignés à droite, à côté du bouton (comme sur les autres sites du réseau) */
.nav-links { margin-left: auto; }
