/* ==========================================================================
   3615.ai — Design system B2B sombre
   Logo Minitel intégré · accent lime · pas de bord épais type « AI card »
   ========================================================================== */

:root {
  /* Fonds sombres mais vivants — sauge / charbon teinté, pas noir plat */
  --bg-deep: #141c18;
  --bg-primary: #1a2420;
  --bg-page: #1a2420;
  --bg-elevated: #24302b;
  --bg-card: #2a3832;
  --bg-card-hover: #314239;
  --bg-muted: #2c3933;
  --bg-soft: #1f2a25;
  --bg-dark: #121916;
  --bg-dark-elevated: #1c2621;

  --border-subtle: rgba(232, 235, 233, 0.1);
  --border-default: rgba(232, 235, 233, 0.16);
  --border-strong: rgba(232, 235, 233, 0.26);

  --text-primary: #f2f5f3;
  --text-secondary: #b4bfb8;
  --text-muted: #88948d;
  --text-inverse: #1a2420;
  --text-on-dark: #eef1ef;

  --accent: #22c26f;
  --accent-bright: #3dd98a;
  --accent-dim: #1a9b5c;
  --accent-glow: rgba(34, 194, 111, 0.22);
  --accent-soft: rgba(34, 194, 111, 0.14);

  --minitel-cream: #c4b8a6;
  --minitel-brown: #c4a484;
  --minitel-brown-deep: #8b6b52;
  --amber: #d4a05a;
  --amber-soft: rgba(212, 160, 90, 0.16);
  --danger: #d47a7a;

  /* Offres — teintes nettement distinctes (esprit maquette, version sombre) */
  --offer-formation-bg: linear-gradient(165deg, #24352c 0%, #1a2820 100%);
  --offer-formation-border: rgba(34, 194, 111, 0.38);
  --offer-formation-icon: rgba(34, 194, 111, 0.2);
  --offer-custom-bg: linear-gradient(165deg, #1c3340 0%, #152830 100%);
  --offer-custom-border: rgba(110, 180, 210, 0.42);
  --offer-custom-icon: rgba(110, 180, 210, 0.2);
  --offer-coach-bg: linear-gradient(165deg, #2a3350 0%, #1c2438 100%);
  --offer-coach-border: rgba(140, 160, 230, 0.42);
  --offer-coach-icon: rgba(140, 160, 230, 0.2);
  --shell-bg: #1c2823;
  --shell-border: rgba(34, 194, 111, 0.22);

  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", "Courier New", monospace;

  --container: 1140px;
  --container-narrow: 720px;
  --header-h: 76px;
  --radius: 8px;
  --radius-lg: 14px;
  --radius-xl: 28px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --duration: 0.3s;

  --shadow-sm: 0 1px 2px rgba(20, 32, 26, 0.28);
  --shadow-card: 0 12px 36px rgba(20, 32, 26, 0.28);
  --shadow-soft: 0 20px 48px rgba(20, 32, 26, 0.32);
  --shadow-glow: 0 8px 28px rgba(34, 194, 111, 0.22);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text-primary);
  background: var(--bg-page);
  min-height: 100vh;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; transition: color var(--duration) var(--ease); }
a:hover { color: var(--accent-bright); }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.15rem, 4.6vw, 3.35rem); }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.35rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.4rem); }
h4 { font-size: 1.1rem; }

.lead {
  font-size: clamp(1.08rem, 1.8vw, 1.25rem);
  color: var(--text-secondary);
  line-height: 1.7;
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  letter-spacing: 0.02em;
}

.terminal-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.terminal-label::before {
  content: "";
  width: 14px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

.line-accent { color: var(--accent-bright); }
.text-muted { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }
.text-accent { color: var(--accent); }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 0.75rem; }
.mt-3 { margin-top: 1.25rem; }
.mt-4 { margin-top: 2rem; }

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

.section {
  padding: clamp(3.75rem, 7vw, 6.25rem) 0;
  position: relative;
}

.section--tight { padding: clamp(2.75rem, 5vw, 4rem) 0; }

.section--muted,
.section--soft {
  background: var(--bg-soft);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section--white { background: var(--bg-elevated); }

.section--ecosystem {
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(34, 194, 111, 0.06) 0%, transparent 55%),
    var(--bg-page);
}

.section-header {
  margin-bottom: clamp(2.25rem, 4vw, 3.25rem);
  max-width: 720px;
}

.section-header--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 780px;
}

.section-header--center .terminal-label { justify-content: center; }
.section-header h2 { margin-bottom: 0.85rem; }
.section-header .lead { margin-top: 0.35rem; }

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.35rem;
}

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

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
}

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

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.feature-row {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.feature-row--reverse > :first-child { order: 2; }
.feature-row--reverse > :last-child { order: 1; }

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

@media (max-width: 900px) {
  .split, .feature-row { grid-template-columns: 1fr; }
  .feature-row--reverse > :first-child,
  .feature-row--reverse > :last-child { order: initial; }
}

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.35rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--radius);
  transition: all var(--duration) var(--ease);
  white-space: nowrap;
  border: 1px solid transparent;
  line-height: 1.2;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn--primary:hover {
  background: var(--accent-bright);
  color: #fff;
  box-shadow: var(--shadow-glow);
  transform: translateY(-1px);
}

.btn--secondary {
  background: transparent;
  color: var(--accent-bright);
  border-color: rgba(34, 194, 111, 0.4);
}

.btn--secondary:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent-bright);
}

.btn--ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: var(--border-default);
  padding: 0.7rem 1.1rem;
}

.btn--ghost:hover {
  color: var(--text-primary);
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
}

.btn--lg {
  padding: 1rem 1.65rem;
  font-size: 1rem;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

/* --------------------------------------------------------------------------
   Header / Nav
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(26, 36, 32, 0.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--duration) var(--ease), background var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.site-header.is-scrolled {
  background: rgba(26, 36, 32, 0.96);
  border-bottom-color: var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text-primary);
  flex-shrink: 0;
}

.logo:hover { color: var(--text-primary); }

.logo__mark {
  width: 44px;
  height: 44px;
  border-radius: 0;
  box-shadow: none;
  background: transparent !important;
  object-fit: contain;
  object-position: center;
  border: none;
  padding: 0;
  /* Appareil transparent — ombre portée uniquement sur le sujet */
  filter: drop-shadow(0 3px 10px rgba(34, 194, 111, 0.28));
}

.logo__text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.logo__text span { color: var(--accent-bright); }

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav__link {
  padding: 0.55rem 0.7rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 6px;
  white-space: nowrap;
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.nav__link.is-active { font-weight: 600; }

.nav__cta { margin-left: 0.65rem; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 1px;
  transition: transform var(--duration) var(--ease), opacity var(--duration) var(--ease);
}

.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1024px) {
  .nav-toggle { display: inline-flex; }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border-subtle);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.5rem;
    gap: 0.25rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--duration) var(--ease), opacity var(--duration) var(--ease);
    box-shadow: var(--shadow-soft);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav__link { padding: 0.9rem 0.85rem; }
  .nav__cta { margin: 0.75rem 0 0; }
  .nav__cta .btn { width: 100%; }
}

@media (max-width: 1200px) {
  .site-header .nav__link {
    font-size: 0.84rem;
    padding: 0.5rem 0.45rem;
  }
  .nav__cta .btn {
    padding: 0.7rem 0.95rem;
    font-size: 0.875rem;
  }
}

/* --------------------------------------------------------------------------
   Hero (home)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 3.5rem) 0 4.5rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 85% 20%, rgba(34, 194, 111, 0.16) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(196, 164, 132, 0.1) 0%, transparent 50%),
    linear-gradient(180deg, #1c2a24 0%, var(--bg-page) 100%);
}

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

.hero__photo {
  position: absolute;
  inset: 0;
  background-image: url("../images/minitel-heritage.png");
  background-size: cover;
  background-position: center right;
  opacity: 0.07;
  filter: grayscale(0.35) saturate(0.6);
  mix-blend-mode: luminosity;
}

.hero__grid,
.hero__glow { display: none; }

.hero__layout {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero__content { max-width: 620px; }

.hero__status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  margin-bottom: 1.35rem;
}

.hero__status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.hero h1 { margin-bottom: 1.15rem; }

.hero .lead { margin-bottom: 1.1rem; max-width: 34em; }

.hero__promise {
  color: var(--text-primary) !important;
  font-weight: 500;
  margin-bottom: 0.85rem !important;
}

.hero__cursor {
  display: inline-block;
  width: 0.45em;
  height: 0.85em;
  margin-left: 0.08em;
  background: var(--accent);
  vertical-align: -0.05em;
  opacity: 0.55;
  animation: blink 1.1s steps(1) infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-subtle);
}

.hero__meta-item {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.hero__meta-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--text-primary);
  margin-bottom: 0.15rem;
}

.hero__visual {
  justify-self: center;
  width: 100%;
  max-width: 420px;
}

/* Logo hero — appareil Minitel libre (PNG transparent), AUCUNE card */
.hero__logo-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0.5rem 0 0;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
}

/* Halo phosphore derrière l'appareil uniquement */
.hero__logo-wrap::before {
  content: "";
  position: absolute;
  width: 70%;
  height: 62%;
  top: 12%;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 194, 111, 0.38) 0%, rgba(34, 194, 111, 0.08) 42%, transparent 72%);
  filter: blur(20px);
  z-index: 0;
  pointer-events: none;
}

/* Ombre au sol sous l'appareil */
.hero__logo-wrap::after {
  content: "";
  position: absolute;
  bottom: 2.4rem;
  left: 50%;
  transform: translateX(-50%);
  width: 48%;
  height: 14%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(12, 20, 16, 0.45) 0%, transparent 72%);
  z-index: 0;
  pointer-events: none;
  filter: blur(8px);
}

.hero__logo-img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 400px;
  height: auto;
  object-fit: contain;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  /* Seule l'ombre porte sur le sujet (pas un cadre) */
  filter: drop-shadow(0 22px 36px rgba(12, 24, 18, 0.45))
          drop-shadow(0 0 28px rgba(34, 194, 111, 0.18));
  mix-blend-mode: normal;
  /* Légère perspective : l'objet, pas une card */
  transform: rotate(-5deg) translateY(0);
  transition: transform var(--duration) var(--ease), filter var(--duration) var(--ease);
}

.hero__logo-wrap:hover .hero__logo-img {
  transform: rotate(-3deg) translateY(-6px);
  filter: drop-shadow(0 28px 42px rgba(12, 24, 18, 0.5))
          drop-shadow(0 0 36px rgba(34, 194, 111, 0.28));
}

.hero__logo-caption {
  position: relative;
  z-index: 1;
  margin-top: 0.35rem;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.85;
}

.hero__visual-frame {
  position: relative;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.hero__visual-frame img {
  width: 100%;
  border-radius: 0;
  object-fit: contain;
  aspect-ratio: 1;
  background: transparent;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.45));
}

.hero__visual-badge { display: none; }

@media (max-width: 900px) {
  .hero { padding-top: calc(var(--header-h) + 2.25rem); padding-bottom: 3rem; }
  .hero__layout { grid-template-columns: 1fr; }
  .hero__visual { max-width: 280px; order: -1; }
  .hero__photo { opacity: 0.05; }
  .hero__logo-img { transform: rotate(-3deg); max-width: 280px; }
  .hero__logo-wrap:hover .hero__logo-img { transform: rotate(-2deg) translateY(-4px); }
}

/* --------------------------------------------------------------------------
   Page hero (inner pages)
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 2.75rem) 0 3rem;
  background:
    radial-gradient(ellipse 60% 50% at 90% 0%, rgba(34, 194, 111, 0.12) 0%, transparent 50%),
    linear-gradient(180deg, #1c2a24 0%, var(--bg-page) 100%);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.page-hero__bg { display: none; }

.page-hero__photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.05;
  filter: grayscale(0.4);
  pointer-events: none;
  mix-blend-mode: luminosity;
}

.page-hero .container { position: relative; max-width: 820px; }
.page-hero h1 { margin: 0.35rem 0 0.85rem; }
.page-hero .lead { max-width: 40em; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.breadcrumb a { color: var(--text-secondary); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb__sep { opacity: 0.5; }

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease), transform var(--duration) var(--ease);
  height: 100%;
}

.card--link {
  display: block;
  color: inherit;
}

.card--link:hover {
  border-color: rgba(34, 194, 111, 0.28);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
  color: inherit;
}

.card__number {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.card h3 { margin-bottom: 0.6rem; }

.card p {
  color: var(--text-secondary);
  font-size: 0.98rem;
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.15rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--accent);
}

.card__link::after { content: "→"; }

.card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

/* Pillar cards */
.pillar-card { padding: 0; overflow: hidden; }

.pillar-card__media {
  aspect-ratio: 16 / 10;
  background: linear-gradient(145deg, #1a2420 0%, #1a1f2e 100%);
  border-bottom: 1px solid var(--border-subtle);
  display: grid;
  place-items: center;
  position: relative;
}

.pillar-card__media img { display: none; }

.pillar-card__media::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 1.75rem;
  color: var(--accent);
  opacity: 0.9;
}

.pillar-card[href*="formations"] .pillar-card__media::before,
.pillar-card[href*="catalogue"] .pillar-card__media::before { content: "\f19d"; }
.pillar-card[href*="sur-mesure"] .pillar-card__media::before { content: "\f0ad"; }
.pillar-card[href*="coaching"] .pillar-card__media::before { content: "\f51c"; }
.pillar-card[href*="diagnostic"] .pillar-card__media::before { content: "\f201"; }
.pillar-card[href*="transformation"] .pillar-card__media::before,
.pillar-card[href*="methode"] .pillar-card__media::before { content: "\f074"; }

.pillar-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.pillar-card__body { padding: 1.35rem 1.4rem 1.5rem; }

/* Intent strip */
.intent-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.intent-item {
  display: block;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.4rem;
  color: inherit;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease), transform var(--duration) var(--ease);
  height: 100%;
}

.intent-item:hover {
  border-color: rgba(34, 194, 111, 0.3);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
  color: inherit;
}

.intent-item__num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.85rem;
}

.intent-item h3 { margin-bottom: 0.55rem; font-size: 1.2rem; }
.intent-item p { color: var(--text-secondary); font-size: 0.97rem; }

@media (max-width: 768px) {
  .intent-strip { grid-template-columns: 1fr; }
}

/* Formation cards */
.formation-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  box-shadow: var(--shadow-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.formation-card h3 { margin: 0.75rem 0 0.55rem; font-size: 1.15rem; }
.formation-card p { color: var(--text-secondary); font-size: 0.95rem; flex: 1; }

.formation-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.formation-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.875rem;
  color: var(--text-muted);
}

.formation-card__meta i { margin-right: 0.35rem; color: var(--accent); }
.formation-card__media { display: none; }

.tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-bright);
}

.tag--muted {
  background: var(--bg-muted);
  color: var(--text-secondary);
}

.tag--amber {
  background: var(--amber-soft);
  color: var(--amber);
}

/* Audience */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
}

.audience-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.audience-card__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.9rem;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 1.15rem;
}

.audience-card h4 { margin-bottom: 0.35rem; }
.audience-card p { color: var(--text-muted); font-size: 0.9rem; }

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

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

.logo-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.logo-strip__item {
  display: grid;
  place-items: center;
  min-height: 72px;
  background: var(--bg-elevated);
  border: 1px dashed var(--border-default);
  border-radius: var(--radius);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

/* --------------------------------------------------------------------------
   Method / ADAPT
   -------------------------------------------------------------------------- */
.adapt-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.75rem 0;
}

.adapt-step {
  flex: 1 1 90px;
  min-width: 84px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 0.85rem 0.65rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.adapt-step__letter {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.adapt-step__word {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.terminal-window {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.terminal-window__bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1rem;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border-subtle);
}

.terminal-window__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4a524e;
}

.terminal-window__dot--r { background: #8b5a5a; }
.terminal-window__dot--y { background: #8b7a4a; }
.terminal-window__dot--g { background: #4a7a5a; }

.terminal-window__title {
  margin-left: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.terminal-window__body {
  padding: 1.15rem 1.25rem 1.35rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.75;
  color: var(--text-secondary);
  background: var(--bg-card);
}

.terminal-window__body .cmd { color: var(--accent); margin-right: 0.35rem; }
.terminal-window__body .hl { color: var(--text-primary); font-weight: 600; }
.terminal-window__body .out { color: var(--text-muted); }

/* --------------------------------------------------------------------------
   Media frames
   -------------------------------------------------------------------------- */
.media-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-card);
}

.media-frame img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.media-frame--square img { aspect-ratio: 1; }
.media-frame--wide img { aspect-ratio: 16 / 9; }
.media-frame--product img {
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: var(--bg-soft);
  padding: 1rem;
}

.media-frame__caption {
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.85rem;
  background: rgba(14, 19, 17, 0.88);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.78rem;
  padding: 0.5rem 0.7rem;
  border-radius: 6px;
  backdrop-filter: blur(6px);
}

.visual-banner {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
}

.visual-banner img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.offer-icon-panel {
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: linear-gradient(145deg, #1a2420 0%, #1a1f2e 100%);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1rem;
}

.offer-icon-panel i {
  font-size: 2.5rem;
  color: var(--accent);
  opacity: 0.9;
}

.offer-icon-panel span {
  margin-top: 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Lists / prose
   -------------------------------------------------------------------------- */
.check-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
}

.check-list li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.offer-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.highlight-box {
  background: var(--bg-soft);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 1rem;
}

.highlight-box h4 {
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
  color: var(--text-primary);
}

.highlight-box p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

@media (max-width: 700px) {
  .offer-highlights { grid-template-columns: 1fr; }
}

.prose p { margin-bottom: 1rem; color: var(--text-secondary); }
.prose strong { color: var(--text-primary); font-weight: 600; }
.prose h2, .prose h3 { margin: 2rem 0 0.85rem; }
.prose ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 0.75rem 0 1.25rem;
  color: var(--text-secondary);
}
.prose li { margin-bottom: 0.4rem; }
.prose a { text-decoration: underline; text-underline-offset: 2px; }

/* --------------------------------------------------------------------------
   Filters (catalogue)
   -------------------------------------------------------------------------- */
.filter-bar,
[data-filter-bar] {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.filter-btn {
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--border-default);
  background: var(--bg-elevated);
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all var(--duration) var(--ease);
}

.filter-btn:hover {
  border-color: var(--border-strong);
  color: var(--text-primary);
}

.filter-btn.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.subnav-sticky {
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(26, 36, 32, 0.94);
  backdrop-filter: blur(10px);
  position: sticky;
  top: var(--header-h);
  z-index: 50;
}

/* --------------------------------------------------------------------------
   CTA band + footer
   -------------------------------------------------------------------------- */
.cta-band {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  border-top: 1px solid var(--border-subtle);
}

.cta-band h2 { color: #fff; }
.cta-band .terminal-label { color: #9dceb0; }
.cta-band .terminal-label::before { background: #7eb894; }
.cta-band p { color: rgba(232, 235, 233, 0.78); }

.cta-band__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.75rem;
}

.cta-band .btn--primary {
  background: var(--accent);
  color: #fff;
}

.cta-band .btn--primary:hover {
  background: var(--accent-bright);
  color: #fff;
}

.cta-band .btn--ghost {
  color: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.22);
}

.cta-band .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.site-footer {
  background: var(--bg-dark);
  color: rgba(232, 235, 233, 0.72);
  padding: 4rem 0 1.75rem;
  border-top: 1px solid var(--border-subtle);
}

.site-footer .logo__text { color: #fff; }
.site-footer .logo__text span { color: #8fbfa3; }
.site-footer .logo__mark {
  background: transparent;
  box-shadow: none;
  filter: drop-shadow(0 2px 8px rgba(34, 194, 111, 0.25));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand p {
  margin-top: 1rem;
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 28em;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0;
}

.footer-col ul li { margin-bottom: 0.55rem; }

.footer-col a {
  color: rgba(232, 235, 233, 0.72);
  font-size: 0.9375rem;
}

.footer-col a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.5rem;
  font-size: 0.82rem;
  color: rgba(232, 235, 233, 0.5);
}

.footer-bottom a { color: rgba(232, 235, 233, 0.65); }
.footer-bottom a:hover { color: #fff; }

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: rgba(232, 235, 233, 0.45);
}

.lang-switch .is-current {
  color: #fff;
  font-weight: 600;
}

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

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

/* --------------------------------------------------------------------------
   Contact / forms
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: start;
}

.contact-card,
.bookings-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.contact-card h2 { margin-bottom: 0.5rem; }
.bookings-card h3 { font-size: 1.2rem; }

.bookings-placeholder {
  min-height: 320px;
  display: grid;
  place-items: center;
  text-align: center;
  background: var(--bg-soft);
  border: 1px dashed var(--border-default);
  border-radius: var(--radius);
  padding: 2rem 1.25rem;
  color: var(--text-secondary);
}

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

/* --------------------------------------------------------------------------
   Case / steps
   -------------------------------------------------------------------------- */
.case-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  height: 100%;
}

.case-card h3 { margin: 0.5rem 0 0.75rem; }
.case-card p { color: var(--text-secondary); }

.step-list { display: grid; gap: 1rem; }

.step-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.35rem;
  box-shadow: var(--shadow-sm);
}

.step-item__num {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 800;
}

/* --------------------------------------------------------------------------
   404
   -------------------------------------------------------------------------- */
.error-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: calc(var(--header-h) + 2rem) 1.5rem 3rem;
  text-align: center;
}

.error-code {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(4rem, 16vw, 7rem);
  line-height: 1;
  color: var(--accent);
  letter-spacing: -0.04em;
  margin: 0.5rem 0 0.75rem;
}

.error-terminal {
  max-width: 480px;
  margin: 2rem auto 0;
  text-align: left;
}

.boot-overlay { display: none !important; }

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

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__cursor { animation: none; }
  html { scroll-behavior: auto; }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* --------------------------------------------------------------------------
   Matrix table
   -------------------------------------------------------------------------- */
.matrix-wrap {
  overflow-x: auto;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-sm);
}

.matrix {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}

.matrix th,
.matrix td {
  text-align: left;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: top;
}

.matrix th {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--bg-soft);
}

.matrix td {
  color: var(--text-secondary);
  font-size: 0.97rem;
}

.matrix tbody tr:last-child td { border-bottom: none; }
.matrix tbody tr:hover td { background: rgba(34, 194, 111, 0.04); }
.matrix td:first-child { color: var(--text-primary); font-weight: 500; }

/* ==========================================================================
   Constat — parcours de signaux (pas d'étapes produit)
   ========================================================================== */
.signal-journey {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1.12fr;
  gap: 0.85rem 1rem;
  align-items: stretch;
  position: relative;
}

.signal-station {
  display: flex;
  flex-direction: column;
  min-width: 0;
  position: relative;
}

.signal-station__rail {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 0.85rem;
  min-height: 2rem;
}

.signal-station__node {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #fff;
  background: var(--accent-dim);
  z-index: 1;
}

.signal-station--deploy .signal-station__node { background: var(--accent); }

.signal-station--gap .signal-station__node {
  background: var(--minitel-brown);
  box-shadow: 0 0 0 4px rgba(196, 164, 132, 0.15);
}

.signal-station__track {
  flex: 1;
  height: 3px;
  margin-left: 0.15rem;
  border-radius: 2px;
  position: relative;
  min-width: 1.5rem;
}

.signal-station__track--solid {
  background: linear-gradient(90deg, var(--accent-dim) 0%, var(--accent-bright) 100%);
}

.signal-station__track--break {
  background: repeating-linear-gradient(
    90deg,
    rgba(196, 164, 132, 0.5) 0,
    rgba(196, 164, 132, 0.5) 6px,
    transparent 6px,
    transparent 12px
  );
  height: 3px;
  min-height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.signal-station__gap-label {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--minitel-brown);
  background: var(--bg-page);
  padding: 0.2rem 0.45rem;
  border: 1px solid rgba(196, 164, 132, 0.35);
  border-radius: 999px;
  line-height: 1.2;
}

.signal-station--gap .signal-station__rail { justify-content: flex-start; }

.signal-station__card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.2rem 1.15rem;
  box-shadow: var(--shadow-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  min-height: 0;
}

.signal-station--intent .signal-station__card {
  border-top: 2px solid var(--accent-dim);
}

.signal-station--deploy .signal-station__card {
  border-top: 2px solid var(--accent-bright);
}

/* 36 % — zone de travail, fond sombre teinté (pas crème clair) */
.signal-station--gap .signal-station__card {
  background: linear-gradient(165deg, #221c18 0%, #1c1814 55%, #1a1612 100%);
  border: 1px solid rgba(196, 164, 132, 0.28);
  border-top: 2px solid var(--minitel-brown);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.25);
  padding: 1.15rem 1.15rem 1.1rem;
}

.signal-station__badge {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--minitel-brown);
  background: rgba(196, 164, 132, 0.12);
  border: 1px solid rgba(196, 164, 132, 0.28);
  border-radius: 999px;
  padding: 0.28rem 0.55rem;
  max-width: 100%;
}

.signal-station__step {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.55rem;
  padding-right: 0;
}

.signal-station--gap .signal-station__step {
  color: var(--minitel-brown);
}

.signal-station__value {
  display: flex;
  align-items: flex-start;
  gap: 0.08em;
  margin: 0 0 0.55rem;
  line-height: 0.9;
  font-variant-numeric: tabular-nums;
}

.signal-station__num {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(2.75rem, 5.5vw, 4.75rem);
  letter-spacing: -0.06em;
  line-height: 0.92;
  color: var(--accent-dim);
}

.signal-station--deploy .signal-station__num { color: var(--accent-bright); }

.signal-station--gap .signal-station__num {
  color: var(--minitel-brown);
  /* légèrement plus petit que les autres pour éviter tout débordement vertical */
  font-size: clamp(2.6rem, 5.2vw, 4.5rem);
}

.signal-station__pct {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(1.15rem, 2vw, 1.65rem);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-top: 0.28em;
  opacity: 0.72;
}

.signal-station--intent .signal-station__pct { color: var(--accent-dim); }
.signal-station--deploy .signal-station__pct { color: var(--accent-bright); }
.signal-station--gap .signal-station__pct { color: var(--minitel-brown); }

.signal-station__text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.45;
  margin: 0 0 0.85rem;
  max-width: 22em;
  flex: 1;
}

.signal-station--gap .signal-station__text {
  color: var(--text-primary);
  font-weight: 500;
}

.signal-station__source {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  line-height: 1.4;
}

.signal-station__source a,
.signal-station__source cite {
  color: var(--text-muted);
  font-style: normal;
  text-decoration: none;
}

.signal-station__source a:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.signal-bridge {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.55rem 0.75rem;
  margin: 1.35rem 0 0;
  padding: 0.75rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
}

.signal-bridge > span:nth-child(1)::after,
.signal-bridge > span:nth-child(2)::after {
  content: "→";
  margin-left: 0.75rem;
  opacity: 0.45;
  font-weight: 400;
}

.signal-bridge__gap {
  color: var(--minitel-brown);
  font-weight: 600;
  border-bottom: 2px dashed rgba(196, 164, 132, 0.4);
  padding-bottom: 0.1rem;
}

/* Synthèse — PAS de bord gauche épais type Tailwind AI */
.signal-synthesis {
  margin-top: 1.5rem;
  padding: clamp(1.5rem, 3vw, 2rem) clamp(1.35rem, 3vw, 2.25rem);
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.signal-synthesis h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  margin-bottom: 0.85rem;
  max-width: 22em;
}

.signal-synthesis p {
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.65;
  max-width: 52em;
  margin: 0;
}

.signal-synthesis__close {
  margin-top: 1rem !important;
  color: var(--text-primary) !important;
  font-weight: 600;
}

.signal-note {
  margin-top: 1.25rem;
  padding: 0;
  background: var(--bg-soft);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.signal-note > summary {
  cursor: pointer;
  list-style: none;
  padding: 0.95rem 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.92rem;
}

.signal-note > summary::-webkit-details-marker { display: none; }

.signal-note > summary::before {
  content: "+";
  display: inline-block;
  width: 1.1em;
  margin-right: 0.35rem;
  color: var(--accent);
  font-family: var(--font-mono);
  font-weight: 600;
}

.signal-note[open] > summary::before { content: "−"; }

.signal-note__body {
  padding: 0 1.2rem 1.15rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 0.95rem;
}

.signal-note__body p { margin-bottom: 0.75rem; }
.signal-note__body p:last-child { margin-bottom: 0; }
.signal-note__body strong { color: var(--text-primary); }

.signal-note__body ul {
  list-style: disc;
  padding-left: 1.15rem;
  margin: 0.5rem 0 0.85rem;
}

.signal-note__body li { margin-bottom: 0.3rem; }

/* Complément méthodo — trait fin discret, pas de barre épaisse */
.signal-aside-inline {
  margin-top: 0.85rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
  border-radius: var(--radius);
  font-size: 0.88rem;
}

.signal-grid { display: contents; }
.signal-card { display: none; }

.signal-aside {
  margin-top: 1.25rem;
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
  border-radius: var(--radius);
  font-size: 0.92rem;
  color: var(--text-secondary);
}

@media (max-width: 960px) {
  .signal-journey {
    grid-template-columns: 1fr;
    gap: 0;
    padding-left: 0.25rem;
  }

  .signal-station {
    display: grid;
    grid-template-columns: 2rem 1fr;
    gap: 0 1rem;
    align-items: stretch;
  }

  .signal-station__rail {
    flex-direction: column;
    margin-bottom: 0;
    min-height: 100%;
    width: 2rem;
  }

  .signal-station__node { margin: 0 auto; }

  .signal-station__track {
    width: 3px;
    flex: 1;
    min-height: 1.75rem;
    margin: 0.35rem auto 0;
  }

  .signal-station__track--solid {
    background: linear-gradient(180deg, var(--accent-dim) 0%, var(--accent-bright) 100%);
  }

  .signal-station__track--break {
    width: 3px;
    min-height: 3.5rem;
    background: repeating-linear-gradient(
      180deg,
      rgba(196, 164, 132, 0.5) 0,
      rgba(196, 164, 132, 0.5) 6px,
      transparent 6px,
      transparent 12px
    );
    position: relative;
  }

  .signal-station__gap-label {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(-90deg);
    font-size: 0.58rem;
  }

  .signal-station__card { margin-bottom: 1rem; }
  .signal-station--gap .signal-station__card { margin-bottom: 0; }

  .signal-bridge {
    flex-direction: column;
    gap: 0.4rem;
  }

  .signal-bridge > span:nth-child(1)::after,
  .signal-bridge > span:nth-child(2)::after {
    content: "↓";
    margin-left: 0.4rem;
  }
}

@media (min-width: 961px) and (max-width: 1100px) {
  .signal-station__gap-label {
    font-size: 0.55rem;
    padding: 0.15rem 0.35rem;
  }

  .signal-station__num {
    font-size: clamp(2.5rem, 4.5vw, 4rem);
  }

  .signal-station--gap .signal-station__num {
    font-size: clamp(2.75rem, 5vw, 4.5rem);
  }
}

/* ==========================================================================
   Écosystème — 3 leviers DANS la coque méthode (layout type maquette)
   ========================================================================== */
.ecosystem {
  position: relative;
  /* Espace pour le relief des cards au-dessus du bord de coque */
  padding-top: 2.5rem;
  /* Marge pour le lift hover de la coque (pas de clip) */
  padding-bottom: 0.5rem;
}

/* Coque = conteneur unique qui englobe offres + méthode
   Teinte clairement plus claire que la page pour lire l'emboîtement
   Hover lift comme les eco-cards */
.ecosystem__shell {
  position: relative;
  z-index: 1;
  background:
    radial-gradient(ellipse 100% 45% at 50% 0%, rgba(34, 194, 111, 0.14) 0%, transparent 52%),
    linear-gradient(180deg, #344840 0%, #2a3832 40%, #24302b 100%);
  border: 1px solid rgba(34, 194, 111, 0.34);
  border-radius: 36px;
  /* padding-top interne : les cards vivent à moitié DANS la coque */
  padding: 0 clamp(1.1rem, 2.4vw, 1.85rem) clamp(1.65rem, 3.2vw, 2.4rem);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 28px 64px rgba(20, 32, 26, 0.35);
  transition:
    transform var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease),
    border-color var(--duration) var(--ease);
  will-change: transform;
  /* La zone cliquable / hover couvre toute la coque y compris le bas A.D.A.P.T. */
  cursor: default;
}

/* Lift de la coque au survol — même logique que les eco-cards.
   Si une offre est survolée, la card porte le relief (pas de double lift). */
.ecosystem__shell:hover:not(:has(.eco-card:hover)),
.ecosystem__shell:focus-within:not(:has(.eco-card:focus-visible)) {
  transform: translateY(-6px);
  border-color: rgba(34, 194, 111, 0.58);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 40px 80px rgba(20, 32, 26, 0.45),
    0 0 0 1px rgba(34, 194, 111, 0.14),
    0 18px 52px rgba(34, 194, 111, 0.14);
}

/* Cards : bas ancré dans la coque, haut qui dépasse le bord (relief maquette) */
.ecosystem__offers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  position: relative;
  z-index: 2;
  /* Moins de négatif = bas des cards clairement « avalé » par la coque */
  margin: -2.5rem 0 1.85rem;
  padding: 0 0 0;
}

.eco-card {
  display: flex;
  flex-direction: column;
  border-radius: calc(var(--radius-lg) + 4px);
  padding: 1.45rem 1.35rem 1.4rem;
  color: inherit;
  min-height: 0;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease), border-color var(--duration) var(--ease);
  border: 1px solid transparent;
  overflow: hidden;
}

.eco-card:hover {
  transform: translateY(-6px);
  color: inherit;
  box-shadow: 0 24px 52px rgba(20, 32, 26, 0.4);
  /* Empêche le lift de la coque parent de « doubler » de façon confuse
     lorsque l'on cible une offre précise : la card gagne le focus */
  position: relative;
  z-index: 3;
}

.eco-card--formation {
  background: var(--offer-formation-bg);
  border-color: var(--offer-formation-border);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(34, 194, 111, 0.12);
}

.eco-card--custom {
  background: var(--offer-custom-bg);
  border-color: var(--offer-custom-border);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(110, 180, 210, 0.12);
}

.eco-card--coach {
  background: var(--offer-coach-bg);
  border-color: var(--offer-coach-border);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(140, 160, 230, 0.14);
}

.eco-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  margin-bottom: 1rem;
  color: var(--accent-bright);
  background: var(--offer-formation-icon);
}

.eco-card--custom .eco-card__icon {
  color: #8ec4dc;
  background: var(--offer-custom-icon);
}

.eco-card--coach .eco-card__icon {
  color: #a8b4e8;
  background: var(--offer-coach-icon);
}

.eco-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.55rem;
}

.eco-card > p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
  flex: 1;
  margin-bottom: 1rem;
}

.eco-card__meta {
  margin: 0 0 1.15rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.eco-card__meta strong {
  display: block;
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 0.25rem;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}

.eco-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  margin-top: auto;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.96);
  color: var(--accent-dim);
  border: 1px solid rgba(255, 255, 255, 0.9);
  transition: background var(--duration) var(--ease), color var(--duration) var(--ease);
}

.eco-card:hover .eco-card__btn {
  background: #fff;
  color: var(--text-inverse);
}

.ecosystem__shell-inner {
  position: relative;
  z-index: 1;
  padding-top: 0.25rem;
}

.ecosystem__method-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: start;
  margin-bottom: 1.75rem;
}

.ecosystem__method-title {
  font-size: clamp(1.45rem, 2.6vw, 1.95rem);
  margin-bottom: 0.85rem;
}

.ecosystem__method-lead {
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.65;
  max-width: 38em;
}

.ecosystem__method-lead strong { color: var(--text-primary); }

.ecosystem__adds-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 0.85rem;
}

.ecosystem__adds {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ecosystem__adds li {
  position: relative;
  padding-left: 1.15rem;
  margin-bottom: 0.55rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.45;
}

.ecosystem__adds li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.method-loop {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.65rem;
  position: relative;
}

.method-loop__step {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 1rem 0.75rem;
  text-align: center;
  min-height: 100%;
}

.method-loop__letter {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--accent);
  line-height: 1;
}

.method-loop__en {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0.35rem 0 0.45rem;
}

.method-loop__fr {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.35;
}

.method-loop__return {
  margin-top: 1rem;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--minitel-brown);
}

/* Legacy offer-doors / method-banner (autres pages) */
.offer-doors {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.offer-door {
  display: flex;
  flex-direction: column;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.45rem 1.5rem;
  box-shadow: var(--shadow-sm);
  height: 100%;
  color: inherit;
  transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease), transform var(--duration) var(--ease);
}

.offer-door:hover {
  border-color: rgba(34, 194, 111, 0.35);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
  color: inherit;
}

.offer-door__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 1.25rem;
  margin-bottom: 1.1rem;
}

.offer-door h3 { margin-bottom: 0.55rem; font-size: 1.25rem; }
.offer-door > p { color: var(--text-secondary); font-size: 0.97rem; flex: 1; }

.offer-door__meta {
  margin: 1rem 0 1.15rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.88rem;
  color: var(--text-muted);
}

.offer-door__meta strong {
  display: block;
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.method-banner {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: calc(var(--radius-lg) + 4px);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-card);
}

.method-banner__top {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
  margin-bottom: 1.75rem;
}

@media (max-width: 900px) {
  .ecosystem {
    padding-top: 1.5rem;
  }

  .ecosystem__offers {
    grid-template-columns: 1fr;
    margin: -1.5rem 0 1.35rem;
    gap: 0.85rem;
    padding: 0;
  }

  .ecosystem__shell {
    border-radius: 22px;
    padding: 0.85rem 1rem 1.35rem;
  }

  .ecosystem__method-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .method-loop,
  .offer-doors,
  .method-banner__top {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 701px) and (max-width: 900px) {
  .method-loop { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .method-loop { grid-template-columns: repeat(5, 1fr); }
  .eco-card { padding: 1.25rem 1.1rem 1.25rem; }
  .eco-card h3 { font-size: 1.08rem; }
}

/* ==========================================================================
   Héritage — panneau percutant
   ========================================================================== */
.section--heritage {
  background:
    radial-gradient(ellipse 60% 50% at 80% 50%, rgba(196, 164, 132, 0.08) 0%, transparent 55%),
    var(--bg-page);
}

.heritage-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: center;
  background: linear-gradient(145deg, #2a2620 0%, #2c2822 45%, #24302b 100%);
  border: 1px solid rgba(196, 164, 132, 0.22);
  border-radius: calc(var(--radius-lg) + 6px);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  position: relative;
}

.heritage-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 90% 20%, rgba(34, 194, 111, 0.08), transparent 40%);
  pointer-events: none;
}

.heritage-panel__copy { position: relative; z-index: 1; }

.heritage-panel h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
}

.heritage-panel__punch {
  color: var(--text-primary);
  font-size: 1.08rem;
  line-height: 1.65;
  margin-bottom: 0.85rem;
  max-width: 36em;
}

.heritage-panel__note {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 34em;
}

.heritage-panel__totem {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  justify-items: center;
}

.heritage-panel__logo {
  width: min(100%, 280px);
  height: auto;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  filter: drop-shadow(0 18px 36px rgba(12, 24, 18, 0.4))
          drop-shadow(0 0 24px rgba(34, 194, 111, 0.15));
  transform: rotate(6deg);
}

.heritage-panel__beep {
  margin-top: 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--accent);
  opacity: 0.85;
  text-align: center;
}

@media (max-width: 800px) {
  .heritage-panel {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .heritage-panel__totem { order: -1; }
  .heritage-panel__logo {
    width: min(100%, 200px);
    transform: rotate(4deg);
  }
}

/* ==========================================================================
   Catalogue course cards
   ========================================================================== */
.course-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.35rem 1.25rem;
  box-shadow: var(--shadow-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.course-card h3 {
  font-size: 1.12rem;
  margin: 0.65rem 0 0.5rem;
}

.course-card > p {
  color: var(--text-secondary);
  font-size: 0.94rem;
  flex: 1;
}

.course-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.84rem;
  color: var(--text-muted);
}

.course-card__meta span i {
  color: var(--accent);
  margin-right: 0.3rem;
}

.course-card details {
  margin-top: 0.85rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 0.75rem;
}

.course-card summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent-bright);
  list-style: none;
}

.course-card summary::-webkit-details-marker { display: none; }
.course-card details[open] summary { margin-bottom: 0.65rem; }

.course-card .course-detail {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.course-card .course-detail ul {
  list-style: disc;
  padding-left: 1.1rem;
  margin: 0.4rem 0 0.75rem;
}

.course-card .course-detail li { margin-bottom: 0.3rem; }

.course-card .course-detail h4 {
  font-family: var(--font-body);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin: 0.75rem 0 0.35rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: var(--bg-muted);
  color: var(--text-secondary);
}

.status-pill--provisional {
  background: var(--amber-soft);
  color: var(--amber);
}

.status-pill--proposal {
  background: rgba(34, 194, 111, 0.14);
  color: var(--accent-bright);
}

/* Forms dark */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
textarea,
select {
  width: 100%;
  background: var(--bg-soft);
  border: 1px solid var(--border-default);
  border-radius: var(--radius);
  padding: 0.75rem 0.9rem;
  color: var(--text-primary);
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: rgba(34, 194, 111, 0.5);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--text-primary);
}

.form-group { margin-bottom: 1.1rem; }

/* ==========================================================================
   Accessibilité / animations partagées
   ========================================================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ==========================================================================
   Page Méthode 3615 / A.D.A.P.T.
   ========================================================================== */
.page-hero--method {
  padding-bottom: 2.5rem;
  background:
    radial-gradient(ellipse 55% 45% at 85% 10%, rgba(34, 194, 111, 0.14) 0%, transparent 52%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(196, 164, 132, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, #1c2a24 0%, var(--bg-page) 100%);
}

.page-hero--method .container {
  max-width: 880px;
}

.page-hero--method .page-hero__lead {
  max-width: 44em;
}

.method-hero-pillars {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.method-hero-pillars li {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 0.95rem 1.05rem;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--text-secondary);
  box-shadow: var(--shadow-sm);
}

.method-hero-pillars__accent {
  border-color: rgba(34, 194, 111, 0.35) !important;
  background: linear-gradient(145deg, rgba(34, 194, 111, 0.12), var(--bg-elevated)) !important;
  color: var(--text-primary) !important;
  font-weight: 600;
}

/* Subnav méthode — scroll horizontal mobile */
.method-subnav {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.method-subnav__inner {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.35rem 0.15rem;
  padding: 0.65rem 1.5rem;
  min-width: min-content;
}

.method-subnav a {
  flex: 0 0 auto;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color var(--duration) var(--ease), background var(--duration) var(--ease);
}

.method-subnav a:hover,
.method-subnav a:focus-visible {
  color: var(--accent-bright);
  background: var(--accent-soft);
  outline: none;
}

/* Quatre écarts */
.gap-track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  counter-reset: none;
}

.gap-track__item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.3rem;
  box-shadow: var(--shadow-sm);
  min-height: 100%;
}

.gap-track__num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 8px;
  padding: 0.35rem 0.5rem;
  line-height: 1;
  flex-shrink: 0;
}

.gap-track__item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.gap-track__item p {
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.5;
  margin: 0;
}

/* Plafonds */
.plafonds-panel {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: calc(var(--radius-lg) + 4px);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-card);
  max-width: 860px;
}

.plafonds-panel__intro {
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 1rem;
}

.plafonds-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 1.25rem;
}

.plafonds-list li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.45;
}

.plafonds-list li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.plafonds-panel__close {
  margin: 0;
  padding-top: 1.15rem;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 1.02rem;
  line-height: 1.55;
}

/* Freins */
.freins-grid {
  gap: 1rem;
}

.frein-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.25rem;
  box-shadow: var(--shadow-sm);
  height: 100%;
  transition: border-color var(--duration) var(--ease), transform var(--duration) var(--ease);
}

.frein-card:hover {
  border-color: rgba(34, 194, 111, 0.28);
  transform: translateY(-2px);
}

.frein-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
}

.frein-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.93rem;
  line-height: 1.5;
}

/* Boucle A.D.A.P.T. orbit */
.adapt-orbit {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 0.5rem 0.35rem;
  margin: 0 auto 1rem;
  max-width: 1100px;
}

.adapt-orbit__node {
  flex: 1 1 140px;
  max-width: 180px;
  min-width: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.1rem 0.75rem 1rem;
  color: inherit;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--duration) var(--ease), transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
  scroll-margin-top: calc(var(--header-h) + 3.5rem);
}

.adapt-orbit__node:hover,
.adapt-orbit__node:focus-visible {
  border-color: rgba(34, 194, 111, 0.45);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
  color: inherit;
  outline: none;
}

.adapt-orbit__node--transform {
  border-color: rgba(196, 164, 132, 0.4);
  background: linear-gradient(165deg, #2a2822 0%, var(--bg-elevated) 100%);
}

.adapt-orbit__node--transform:hover,
.adapt-orbit__node--transform:focus-visible {
  border-color: rgba(196, 164, 132, 0.65);
  box-shadow: 0 8px 28px rgba(196, 164, 132, 0.18);
}

.adapt-orbit__letter {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.65rem;
  line-height: 1;
  color: var(--accent);
}

.adapt-orbit__node--transform .adapt-orbit__letter {
  color: var(--minitel-brown);
}

.adapt-orbit__en {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.adapt-orbit__fr {
  font-size: 0.8rem;
  line-height: 1.35;
  color: var(--text-secondary);
}

.adapt-orbit__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.15rem;
  opacity: 0.75;
  flex: 0 0 auto;
  padding: 0 0.1rem;
  align-self: center;
}

.adapt-orbit__return {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  text-align: center;
  margin: 0.25rem auto 2.5rem;
  padding: 0.7rem 1.15rem;
  max-width: 560px;
  border-radius: 999px;
  background: var(--amber-soft);
  border: 1px solid rgba(196, 164, 132, 0.28);
  color: var(--minitel-cream);
  font-size: 0.88rem;
  line-height: 1.4;
}

.adapt-orbit__return-mark {
  font-size: 1.25rem;
  color: var(--minitel-brown);
  line-height: 1;
}

.adapt-orbit__return strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* Phase cards */
.phase-stack {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  max-width: 920px;
  margin: 0 auto;
}

.phase-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: calc(var(--radius-lg) + 2px);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  scroll-margin-top: calc(var(--header-h) + 3.5rem);
}

.phase-card__head {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.35rem;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border-subtle);
}

.phase-card__badge {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  background: var(--accent-soft);
  color: var(--accent);
  flex-shrink: 0;
}

.phase-card__badge--transform {
  background: var(--amber-soft);
  color: var(--minitel-brown);
}

.phase-card__en {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 0.2rem;
}

.phase-card__head h3 {
  margin: 0;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
}

.phase-card__body {
  padding: 1.25rem 1.35rem 1.4rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem 1.35rem;
}

.phase-card__block h4 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.55rem;
}

.phase-card__block p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.93rem;
  line-height: 1.55;
}

.phase-card__block ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.phase-card__block li {
  position: relative;
  padding-left: 0.95rem;
  margin-bottom: 0.4rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.4;
}

.phase-card__block li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.phase-card__gate {
  grid-column: 1 / -1;
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  background: rgba(34, 194, 111, 0.08);
  border: 1px solid rgba(34, 194, 111, 0.22);
  border-radius: var(--radius);
  padding: 0.95rem 1.1rem;
}

.phase-card__gate--return {
  background: var(--amber-soft);
  border-color: rgba(196, 164, 132, 0.3);
}

.phase-card__gate-label {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-bright);
  background: rgba(34, 194, 111, 0.16);
  border-radius: 6px;
  padding: 0.3rem 0.5rem;
  line-height: 1.2;
}

.phase-card__gate--return .phase-card__gate-label {
  color: var(--minitel-brown);
  background: rgba(196, 164, 132, 0.2);
}

.phase-card__gate p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.55;
}

.phase-card__gate strong {
  color: var(--text-primary);
}

/* Fils conducteurs */
.grid-fils {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.fil-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.2rem;
  box-shadow: var(--shadow-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  transition: border-color var(--duration) var(--ease), transform var(--duration) var(--ease);
}

.fil-card:hover {
  border-color: rgba(34, 194, 111, 0.28);
  transform: translateY(-2px);
}

.fil-card__num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.fil-card h3 {
  font-size: 1.02rem;
  margin: 0;
  line-height: 1.3;
}

.fil-card__obj {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.45;
  flex: 1;
}

.fil-card__liv {
  margin: 0.35rem 0 0;
  padding-top: 0.7rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.fil-card__liv strong {
  color: var(--text-secondary);
  font-weight: 600;
}

/* Niveaux */
.niveaux-grid {
  gap: 1rem;
}

.niveau-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.15rem;
  box-shadow: var(--shadow-sm);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.niveau-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0.7;
}

.niveau-card h3 {
  font-size: 1.08rem;
  margin-bottom: 0.5rem;
}

.niveau-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.5;
}

/* Funnel cas d'usage */
.funnel {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  counter-reset: funnel;
}

.funnel__step {
  counter-increment: funnel;
  position: relative;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.15rem 1.05rem 1.1rem;
  box-shadow: var(--shadow-sm);
  min-height: 100%;
}

.funnel__step::before {
  content: counter(funnel, decimal-leading-zero);
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.45rem;
}

.funnel__name {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
  line-height: 1.25;
}

.funnel__step p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.45;
}

.funnel__step--end {
  border-color: rgba(196, 164, 132, 0.35);
  background: linear-gradient(165deg, #2a2822 0%, var(--bg-elevated) 100%);
}

.funnel__step--end .funnel__name {
  color: var(--minitel-cream);
}

/* Gouvernance agents */
.agent-box {
  background:
    radial-gradient(ellipse 50% 60% at 100% 0%, rgba(34, 194, 111, 0.1) 0%, transparent 55%),
    var(--bg-elevated);
  border: 1px solid rgba(34, 194, 111, 0.28);
  border-radius: calc(var(--radius-lg) + 4px);
  padding: clamp(1.4rem, 3vw, 2rem);
  box-shadow: var(--shadow-card);
  max-width: 900px;
}

.agent-box__lead {
  margin: 0 0 1rem;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1.02rem;
}

.agent-box__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 1.5rem;
}

.agent-box__list li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.45;
}

.agent-box__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
}

.agent-box__list strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* Scorecard */
.score-grid {
  gap: 1rem;
}

.score-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.3rem;
  box-shadow: var(--shadow-sm);
  height: 100%;
}

.score-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.score-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.93rem;
  line-height: 1.5;
}

/* Asset propriétaire */
.asset-panel {
  background:
    radial-gradient(ellipse 45% 50% at 0% 0%, rgba(196, 164, 132, 0.12) 0%, transparent 50%),
    linear-gradient(155deg, #2a2822 0%, var(--bg-elevated) 55%, #24302b 100%);
  border: 1px solid rgba(196, 164, 132, 0.28);
  border-radius: calc(var(--radius-lg) + 4px);
  padding: clamp(1.5rem, 3.5vw, 2.4rem);
  box-shadow: var(--shadow-card);
  max-width: 900px;
}

.asset-panel__punch {
  margin: 0 0 1.35rem;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.6;
  color: var(--text-primary);
  max-width: 40em;
}

.asset-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 1.5rem;
}

.asset-list li {
  position: relative;
  padding-left: 1.2rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.45;
}

.asset-list li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--minitel-brown);
  font-size: 0.85rem;
}

/* Leviers */
.leviers-grid {
  gap: 1.1rem;
}

.levier-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.3rem 1.25rem;
  box-shadow: var(--shadow-sm);
  color: inherit;
  text-decoration: none;
  height: 100%;
  transition: border-color var(--duration) var(--ease), transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.levier-card:hover,
.levier-card:focus-visible {
  border-color: rgba(34, 194, 111, 0.4);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
  color: inherit;
  outline: none;
}

.levier-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.55rem;
}

.levier-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.5;
  flex: 1;
}

.levier-card__link {
  display: inline-block;
  margin-top: 1.1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--accent-bright);
  font-weight: 500;
}

.leviers-close {
  margin: 1.75rem 0 0;
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.55;
}

.leviers-close strong {
  color: var(--accent-bright);
  font-weight: 700;
}

/* Inspirations */
.inspirations {
  max-width: 820px;
  margin: 0 auto;
  padding: 1.5rem 0 0.5rem;
  border-top: 1px solid var(--border-subtle);
}

.inspirations h2 {
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  margin-bottom: 0.85rem;
  color: var(--text-secondary);
}

.inspirations__disclaimer {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
  max-width: 48em;
}

.inspirations__disclaimer strong {
  color: var(--text-secondary);
  font-weight: 600;
}

.inspirations__list {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2;
  column-gap: 2rem;
}

.inspirations__list li {
  break-inside: avoid;
  margin-bottom: 0.5rem;
  font-size: 0.84rem;
  line-height: 1.4;
  color: var(--text-muted);
  padding-left: 0.85rem;
  position: relative;
}

.inspirations__list li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--text-muted);
}

.inspirations__list a {
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(136, 148, 141, 0.4);
}

.inspirations__list a:hover {
  color: var(--accent-bright);
  text-decoration-color: var(--accent);
}

/* Ancres sections méthode — compensation header + subnav */
#positionnement,
#ecarts,
#plafonds,
#freins,
#cinq-temps,
#fils,
#niveaux,
#funnel,
#gouvernance-agents,
#mesure,
#asset,
#leviers,
#inspirations,
#cta-methode {
  scroll-margin-top: calc(var(--header-h) + 3.25rem);
}

/* --------------------------------------------------------------------------
   Méthode — responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .grid-fils {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .phase-card__body {
    grid-template-columns: 1fr 1fr;
  }

  .phase-card__block:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .method-hero-pillars {
    grid-template-columns: 1fr;
  }

  .gap-track {
    grid-template-columns: 1fr;
  }

  .plafonds-list {
    grid-template-columns: 1fr;
  }

  .adapt-orbit {
    flex-direction: column;
    align-items: stretch;
    max-width: 420px;
    gap: 0.35rem;
  }

  .adapt-orbit__node {
    max-width: none;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 0.85rem;
    row-gap: 0.15rem;
    text-align: left;
    align-items: center;
    padding: 0.95rem 1.05rem;
  }

  .adapt-orbit__letter {
    grid-row: 1 / 3;
    align-self: center;
    justify-self: center;
    width: auto;
    text-align: center;
  }

  .adapt-orbit__en,
  .adapt-orbit__fr {
    grid-column: 2;
    display: block;
    width: 100%;
  }

  .adapt-orbit__arrow {
    transform: rotate(90deg);
    padding: 0.15rem 0;
    font-size: 1rem;
  }

  .adapt-orbit__return {
    border-radius: var(--radius-lg);
    max-width: 420px;
    flex-wrap: wrap;
  }

  .phase-card__body {
    grid-template-columns: 1fr;
  }

  .phase-card__block:first-child {
    grid-column: auto;
  }

  .phase-card__gate {
    flex-direction: column;
    gap: 0.55rem;
  }

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

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

  .agent-box__list {
    grid-template-columns: 1fr;
  }

  .asset-list {
    grid-template-columns: 1fr;
  }

  .inspirations__list {
    columns: 1;
  }

  .method-subnav__inner {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (max-width: 360px) {
  .page-hero--method {
    padding-bottom: 2rem;
  }

  .adapt-orbit__node {
    padding: 0.8rem 0.85rem;
  }

  .phase-card__head {
    padding: 1rem;
  }

  .phase-card__body {
    padding: 1rem;
  }

  .gap-track__item {
    flex-direction: column;
    gap: 0.55rem;
  }
}
