/* =========================================================================
   PERLOUINE : Design system V5
   Direction : "Carnet de bord malouin"
   Une serif éditoriale (Newsreader) porte la voix du cabinet, Inter porte la
   lecture, une mono (IBM Plex Mono) porte les repères, comme un carnet de bord.
   Palette tirée du logo : océan #127E9C, ciel #3FB8D7, perle #04BEB1.
   Rythme de surfaces franc : le large (océan assombri) / la nacre / la brume. Un seul motif signature : les anneaux concentriques de la perle
   du logo, réservés aux ouvertures (hero) et aux fermetures (CTA).
   Rayons selon la fonction : actions en pilule, surfaces de contenu 14px,
   champs et tableaux 8px. La profondeur (ombre) se mérite : elle signale ce
   qui est cliquable ou ce qui doit ressortir, jamais un simple conteneur.
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;0,6..72,600;1,6..72,400;1,6..72,500&family=Inter:wght@400;500;600;700&family=IBM+Plex+Mono:wght@500&display=swap');

:root{
  /* Couleurs du logo, telles quelles */
  --logo-ocean: #127E9C;   /* vague sombre */
  --logo-sky: #3FB8D7;     /* vague claire */
  --logo-pearl: #04BEB1;   /* anneaux de la perle */
  --logo-letter: #60B9C2;  /* lettrage */
  --wave: linear-gradient(90deg, var(--logo-ocean) 0%, var(--logo-sky) 55%, var(--logo-pearl) 100%);

  /* Le large : l'océan du logo, assombri sans changer de teinte */
  --abyss: #072C3A;
  --abyss-2: #0C3B4C;
  --abyss-3: #04202B;
  --abyss-glow: #0E4A60;
  --line-dark: rgba(237,246,248,0.14);
  --on-dark: #EDF6F8;
  --on-dark-body: #CBDDE3;
  --on-dark-soft: #9DB8C2;
  --aqua: var(--logo-pearl);

  /* Nacre et brume : neutres à peine bleutés, dans la teinte du logo */
  --ink: #0B2530;
  --ink-body: #2C4350;
  --ink-soft: #506672;
  --paper: #F8FAFA;
  --sand: #E4EEF1;
  --white: #FFFFFF;
  --line: #D8E3E7;
  --line-strong: #BACBD2;

  /* Marque */
  --teal: var(--logo-pearl);
  --teal-deep: #0E6B85;    /* vague sombre foncée juste assez pour du texte AA sur brume */
  --teal-tint: #DDF1F5;
  --focus: #F59E0B;

  /* Alias de compatibilité (styles inline des pages existantes) */
  --paper-raised: var(--sand);
  --stone: var(--line-strong);
  --stone-line: var(--line);
  --teal-bright: var(--teal);
  --teal-mid: var(--teal-deep);
  --cyan-bright: var(--teal);
  --pearl-light: var(--teal-tint);
  --bronze: var(--teal-deep);
  --emerald: var(--teal-deep);
  --emerald-deep: #0A5A55;

  --font-display: 'Newsreader', 'Iowan Old Style', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --sp-1: 0.25rem; --sp-2: 0.5rem; --sp-3: 0.75rem; --sp-4: 1rem; --sp-5: 1.5rem;
  --sp-6: 2rem; --sp-7: 3rem; --sp-8: 4rem; --sp-9: 6rem; --sp-10: 8rem;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --measure: 62ch;
  --container: 76rem;

  --shadow-sm: 0 1px 2px rgba(7,44,58,0.05), 0 4px 12px -6px rgba(7,44,58,0.10);
  --shadow-md: 0 2px 4px rgba(7,44,58,0.04), 0 14px 30px -14px rgba(18,126,156,0.22);
  --shadow-lg: 0 4px 10px rgba(7,44,58,0.06), 0 36px 70px -30px rgba(7,44,58,0.38);

  --dur-fast: 150ms;
  --dur-base: 240ms;
  --ease: cubic-bezier(.22,.8,.3,1);
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* Couleurs de contexte : chaque composant lit ces variables, les sections
   sombres les redéfinissent, et tout s'inverse proprement. */
body{
  --fg: var(--ink);
  --fg-body: var(--ink-body);
  --fg-soft: var(--ink-soft);
  --accent: var(--teal-deep);
  --rule: var(--line);
  --surface: var(--white);
  margin: 0;
  background: var(--paper);
  color: var(--fg-body);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
}

.hero, .page-hero, .section-dark, .fact-strip, .cta-band-row, .service-feature,
.breadcrumb, .article-cta, .site-footer{
  --fg: var(--on-dark);
  --fg-body: var(--on-dark-body);
  --fg-soft: var(--on-dark-soft);
  --accent: var(--logo-sky);
  --rule: var(--line-dark);
  --surface: var(--abyss-2);
  color: var(--fg-body);
}

::selection{ background: var(--aqua); color: var(--abyss); }

img{ max-width: 100%; display: block; }
svg{ display: block; }

a{ color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color var(--dur-fast) var(--ease); }
a:hover{ color: var(--fg); }

:focus-visible{ outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3{
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 500;
  line-height: 1.08;
  color: var(--fg);
  margin: 0 0 var(--sp-4);
  text-wrap: balance;
}
h4{ font-family: var(--font-body); font-weight: 700; color: var(--fg); margin: 0 0 var(--sp-3); }

h1{ font-size: clamp(2.5rem, 1.5rem + 3.8vw, 4.75rem); letter-spacing: -0.025em; line-height: 1.02; }
h2{ font-size: clamp(1.875rem, 1.3rem + 2vw, 3rem); letter-spacing: -0.02em; }
h3{ font-size: clamp(1.3125rem, 1.15rem + 0.5vw, 1.5rem); letter-spacing: -0.01em; line-height: 1.2; }
h1 em, h2 em{ font-style: italic; color: var(--accent); }

@media (max-width: 36rem){
  h1{ font-size: 2.25rem; }
  h2{ font-size: 1.75rem; }
  h3{ font-size: 1.3125rem; }
}

p{ margin: 0 0 var(--sp-4); max-width: var(--measure); text-wrap: pretty; }
.lede{ font-size: 1.1875rem; line-height: 1.55; color: var(--fg-soft); max-width: 52ch; }

.container{ width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--sp-5); }
@media (min-width: 60rem){ .container{ padding-inline: var(--sp-7); } }

section{ padding-block: var(--sp-9); }
.section-tight{ padding-block: var(--sp-8); }
.section-sand{ background: var(--sand); }
.section-dark{ background: var(--abyss); }

@media (max-width: 36rem){
  section{ padding-block: var(--sp-7); }
  .section-tight{ padding-block: var(--sp-7); }
}

.rule{ border: none; border-top: 1px solid var(--rule); margin: 0; }

/* --- Repère de section : mono, précédé d'un filet --- */
.eyebrow{
  display: inline-flex; align-items: center; gap: var(--sp-3);
  font-family: var(--font-mono); font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); background: none; padding: 0; border-radius: 0;
  margin-bottom: var(--sp-5);
}
.eyebrow::before{ content: ''; width: 1.75rem; height: 2px; border-radius: 2px; background: var(--wave); flex-shrink: 0; }

.skip-link{
  position: absolute; left: -999px; top: auto;
  background: var(--abyss); color: var(--on-dark);
  padding: var(--sp-3) var(--sp-5); z-index: 100; border-radius: var(--radius-sm);
}
.skip-link:focus{ left: var(--sp-5); top: var(--sp-3); }

/* =========================================================================
   HEADER / NAV
   ========================================================================= */
.site-header{ position: sticky; top: 0; z-index: 40; background: rgba(248,250,250,0.92); backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px); }
/* Signature : le dégradé des deux vagues du logo, en filet sous l'en-tête */
.site-header::after{ content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--wave); }
.nav-bar{ display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-3) var(--sp-5); padding-block: var(--sp-3); }
.logo{ display: flex; align-items: center; gap: var(--sp-3); text-decoration: none; line-height: 1.1; }
.logo-mark{ width: 122px; height: auto; flex-shrink: 0; }

.nav-links{ display: none; align-items: center; gap: var(--sp-6); list-style: none; margin: 0; padding: 0; }
.nav-links a{ position: relative; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.9375rem; white-space: nowrap; }
.nav-links a::after{ content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: var(--wave); transform: scaleX(0); transform-origin: left; transition: transform var(--dur-base) var(--ease); }
.nav-links a:hover{ color: var(--teal-deep); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after{ transform: scaleX(1); }
.nav-links a[aria-current="page"]{ color: var(--teal-deep); }

.nav-actions{ display: flex; align-items: center; gap: var(--sp-4); }
.nav-phone{ display: none; font-family: var(--font-mono); font-weight: 500; font-size: 0.8125rem; letter-spacing: 0.02em; color: var(--ink); text-decoration: none; white-space: nowrap; }

/* =========================================================================
   BOUTONS
   ========================================================================= */
.btn{
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  font-family: var(--font-body); font-weight: 600; font-size: 0.9375rem; line-height: 1.2;
  padding: 0.85rem 1.45rem; border-radius: var(--radius-pill);
  text-decoration: none; border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition-property: background-color, color, border-color, box-shadow, transform;
  transition-duration: var(--dur-fast);
  transition-timing-function: var(--ease);
}
.btn:active{ transform: scale(0.97); }
.btn-primary{ background: var(--abyss); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover{ background: var(--teal-deep); color: var(--white); box-shadow: var(--shadow-md); }
.btn-ghost{ background: transparent; color: var(--fg); border-color: var(--line-strong); }
.btn-ghost:hover{ border-color: var(--fg); color: var(--fg); }
.btn-on-dark{ background: var(--aqua); color: var(--abyss); }
.btn-on-dark:hover{ background: var(--white); color: var(--abyss); }
.btn-small{ padding: 0.6rem 1.05rem; font-size: 0.875rem; }

/* Dans le large, l'action principale prend la couleur de l'écume */
:is(.hero, .page-hero, .section-dark, .cta-band-row, .service-feature, .article-cta) .btn-primary{ background: var(--aqua); color: var(--abyss); box-shadow: none; }
:is(.hero, .page-hero, .section-dark, .cta-band-row, .service-feature, .article-cta) .btn-primary:hover{ background: var(--white); color: var(--abyss); }
:is(.hero, .page-hero, .section-dark, .cta-band-row) .btn-ghost{ border-color: var(--line-dark); color: var(--on-dark); }
:is(.hero, .page-hero, .section-dark, .cta-band-row) .btn-ghost:hover{ border-color: var(--on-dark); background: rgba(255,255,255,0.04); }

.nav-toggle-input{ position: absolute; opacity: 0; pointer-events: none; }
.nav-toggle-label{ display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; cursor: pointer; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--ink); }
.nav-toggle-label svg{ width: 20px; height: 20px; }
.nav-toggle-input:focus-visible + .nav-toggle-label{ outline: 3px solid var(--focus); outline-offset: 2px; }

.mobile-panel{ display: none; flex-direction: column; gap: 0; width: 100%; background: var(--paper); }
.mobile-panel a{ padding: var(--sp-4) 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink); font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; }
.nav-toggle-input:checked ~ .mobile-panel{ display: flex; }

@media (max-width: 24rem){
  .logo-mark{ width: 100px; }
  .nav-actions{ gap: var(--sp-2); }
  .nav-actions .btn{ padding: 0.6rem 0.9rem; font-size: 0.8125rem; }
}

@media (min-width: 78rem){
  .nav-toggle-label{ display: none; }
  .mobile-panel{ display: none !important; }
  .nav-links{ display: flex; }
  .nav-phone{ display: inline; }
}

/* =========================================================================
   MOTIF SIGNATURE : les anneaux de la perle (repris des ellipses du logo)
   ========================================================================= */
.hero, .page-hero, .cta-band-row{ position: relative; overflow: hidden; isolation: isolate; }
.hero > *, .page-hero > *, .cta-band-row > *{ position: relative; z-index: 1; }
.hero::before, .page-hero::before, .cta-band-row::before{
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: repeating-radial-gradient(ellipse 640px 420px at var(--rings-x, 80%) var(--rings-y, 55%),
    transparent 0, transparent 44px, rgba(4,190,177,0.30) 45px, transparent 46.5px,
    transparent 90px, rgba(63,184,215,0.20) 91px, transparent 92.5px);
  -webkit-mask-image: radial-gradient(ellipse 50% 80% at var(--rings-x, 80%) var(--rings-y, 55%), #000 15%, transparent 100%);
          mask-image: radial-gradient(ellipse 50% 80% at var(--rings-x, 80%) var(--rings-y, 55%), #000 15%, transparent 100%);
}

/* =========================================================================
   HERO (accueil)
   ========================================================================= */
.hero{
  --rings-x: 82%; --rings-y: 50%;
  background: radial-gradient(ellipse 70% 90% at 82% 50%, var(--abyss-glow) 0%, var(--abyss) 70%);
  padding-block: var(--sp-8);
}
.hero-grid{ display: grid; gap: var(--sp-7); align-items: center; }
@media (min-width: 62rem){ .hero-grid{ grid-template-columns: 1.08fr 1fr; gap: var(--sp-8); } }
.hero h1{ max-width: 15ch; margin-bottom: var(--sp-5); }
@media (min-width: 62rem){ .hero h1{ max-width: none; font-size: clamp(2.75rem, 1.4rem + 3vw, 4rem); } }
.hero h1 em{ color: var(--logo-pearl); }
.hero-lede{ font-size: 1.1875rem; line-height: 1.55; color: var(--fg-soft); max-width: 44ch; margin-bottom: var(--sp-6); }
.hero-ctas{ display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-4); margin-bottom: var(--sp-5); align-items: center; }
.form-note{ font-size: 0.8125rem; color: var(--fg-soft); }
.hero .form-note{ font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.04em; margin: 0; }

@media (max-width: 36rem){
  .hero{ padding-block: var(--sp-7); }
  .hero h1{ max-width: none; }
}

/* Fiche repère : carnet de bord */
.hero-chart{
  position: relative;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: var(--sp-5) var(--sp-6) var(--sp-4);
}
.hero .hero-chart{ box-shadow: 0 40px 80px -40px rgba(0,0,0,0.65); }
.hero-chart .coordinates{
  display: flex; justify-content: space-between; gap: var(--sp-3);
  font-family: var(--font-mono); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent);
  padding-bottom: var(--sp-4); margin-bottom: var(--sp-1);
  border-bottom: 1px solid var(--rule);
}
.hero-chart dl{ margin: 0; }
.hero-chart-fact{ display: flex; justify-content: space-between; align-items: baseline; gap: var(--sp-4); padding-block: 0.85rem; border-top: 1px solid var(--rule); font-size: 0.9375rem; }
.hero-chart-fact:first-of-type{ border-top: none; }
.hero-chart-fact dt{ color: var(--fg-soft); }
.hero-chart-fact dd{ margin: 0; font-weight: 600; text-align: right; color: var(--fg); }

/* =========================================================================
   SUIVI DE MANDAT (hero) : les 6 étapes de la méthode, telles que le client les suit
   ========================================================================= */
.tracker{ margin: 0; }
.hero .tracker{ padding: var(--sp-5) var(--sp-6); }
.tk-head{ display: flex; align-items: center; gap: var(--sp-3); padding-bottom: var(--sp-4); margin-bottom: var(--sp-5); border-bottom: 1px solid var(--line-dark); }
.tk-kicker{ margin-right: auto; font-family: var(--font-mono); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--logo-sky); }
.tk-tag{ display: inline-flex; align-items: center; gap: 6px; font-size: 0.75rem; font-weight: 600; color: var(--logo-pearl); border: 1px solid rgba(4,190,177,0.45); border-radius: var(--radius-pill); padding: 0.3rem 0.7rem; white-space: nowrap; transition: background-color 400ms var(--ease), color 400ms var(--ease); }
.tk-tag::before{ content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--logo-pearl); box-shadow: 0 0 0 3px rgba(4,190,177,0.2); }
.tracker.is-playing .tk-tag::before{ animation: tk-blink 1.6s ease-in-out infinite; }
.tracker.is-complete .tk-tag{ background: var(--logo-pearl); color: var(--abyss); border-color: var(--logo-pearl); }
.tracker.is-complete .tk-tag::before{ background: var(--abyss); box-shadow: none; }
.tk-replay{ appearance: none; -webkit-appearance: none; cursor: pointer; font: inherit; font-size: 0.75rem; font-weight: 600; padding: 0.3rem 0; border: none; background: none; color: var(--logo-sky); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.tk-replay:hover{ color: var(--on-dark); }

.tk-brief{ display: flex; gap: 12px; align-items: center; margin-bottom: 20px; }
.tk-brief img{ width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; object-fit: cover; object-position: center top; outline: 1px solid rgba(255,255,255,0.14); outline-offset: -1px; }
.tk-poste{ font-family: var(--font-display); font-size: 1.375rem; line-height: 1.15; color: var(--on-dark); margin: 0; }
.tk-meta{ font-size: 0.75rem; color: var(--on-dark-soft); margin: 0; }

.tk-steps{ list-style: none; margin: 0 0 var(--sp-4); padding: 0; }
.tk-step{ position: relative; padding-bottom: 8px; }
.tk-step:not(:last-child)::before{ content: ''; position: absolute; left: 14.5px; top: 34px; bottom: -2px; width: 1px; background: var(--line-dark); transition: background-color 400ms var(--ease); }
.tk-step.is-done:not(:last-child)::before{ background: rgba(4,190,177,0.5); }
.tk-row{ appearance: none; -webkit-appearance: none; cursor: pointer; width: 100%; display: grid; grid-template-columns: 30px 1fr; gap: 14px; align-items: center; padding: 2px 0; border: none; background: none; font: inherit; text-align: left; color: inherit; }
.tk-mark{ position: relative; z-index: 1; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 0.6875rem; color: var(--on-dark-soft); border: 1px solid var(--line-dark); background: var(--abyss-2); transition: background-color 400ms var(--ease), border-color 400ms var(--ease), color 400ms var(--ease), box-shadow 400ms var(--ease); }
.tk-step.is-done .tk-mark{ background: rgba(4,190,177,0.15); border-color: rgba(4,190,177,0.5); color: var(--logo-pearl); }
.tk-step.is-done .tk-num{ display: none; }
.tk-step.is-done .tk-mark::after{ content: '\2713'; font-family: var(--font-body); font-size: 0.875rem; font-weight: 700; }
.tk-step.is-now .tk-mark{ background: var(--logo-pearl); border-color: var(--logo-pearl); color: var(--abyss); box-shadow: 0 0 0 5px rgba(4,190,177,0.18); }
.tk-t{ font-size: 0.9375rem; font-weight: 600; color: var(--on-dark-soft); transition: color 300ms var(--ease); }
.tk-row:hover .tk-t{ color: var(--on-dark); }
.tk-step.is-done .tk-t{ color: var(--on-dark-body); }
.tk-step.is-now .tk-t{ font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; color: var(--on-dark); }
.tk-body{ display: none; margin: 4px 0 6px 44px; }
.tk-step.is-now .tk-body{ display: block; animation: tk-in 400ms var(--ease) both; }
.tk-d{ font-size: 0.8125rem; line-height: 1.45; color: var(--on-dark-soft); margin: 0 0 8px; min-height: 4.35em; max-width: none; }
.tk-bar{ display: block; height: 4px; border-radius: 4px; background: var(--line-dark); overflow: hidden; }
.tk-bar i{ display: block; height: 100%; background: var(--wave); transform-origin: left; transform: scaleX(0.62); }
.tracker.is-playing .tk-step.is-now .tk-bar i{ animation: tk-fill var(--tk-dur, 3200ms) linear both; }
.tk-final{ display: none; margin: 0 0 var(--sp-4); padding: 12px 14px; border-radius: 10px; background: rgba(4,190,177,0.1); border: 1px solid rgba(4,190,177,0.35); font-size: 0.875rem; line-height: 1.45; color: var(--on-dark); max-width: none; }
.tracker.is-complete .tk-final{ display: block; animation: tk-in 400ms var(--ease) both; }
.tk-terms{ display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; padding-top: 16px; border-top: 1px solid var(--line-dark); }
.tk-terms dt{ font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--logo-sky); margin-bottom: 3px; }
.tk-terms dd{ margin: 0; font-size: 0.8125rem; line-height: 1.4; color: var(--on-dark-body); }
.tk-note{ font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.04em; color: var(--on-dark-soft); margin: var(--sp-4) 0 0; }
@keyframes tk-blink{ 50%{ opacity: 0.35; } }
@keyframes tk-in{ from{ opacity: 0; transform: translateY(-4px); } }
@keyframes tk-fill{ from{ transform: scaleX(0); } to{ transform: scaleX(1); } }
@media (max-width: 36rem){
  .hero .tracker{ padding: var(--sp-4); }
  .tk-terms{ grid-template-columns: 1fr; }
}

/* Bandeau de faits : prolonge le hero, grands chiffres */
.fact-strip{ background: var(--abyss); border-top: 1px solid var(--line-dark); }
.fact-strip-grid{ display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 48rem){ .fact-strip-grid{ grid-template-columns: repeat(4, 1fr); } }
.fact-cell{ padding: var(--sp-6) var(--sp-5) var(--sp-6) 0; border-bottom: 1px solid var(--rule); }
.fact-cell:nth-child(2n){ padding-left: var(--sp-5); border-left: 1px solid var(--rule); }
@media (min-width: 48rem){
  .fact-cell{ border-bottom: none; padding: var(--sp-7) var(--sp-5); border-left: 1px solid var(--rule); }
  .fact-cell:first-child{ padding-left: 0; border-left: none; }
}
.fact-num{ display: block; font-family: var(--font-display); font-weight: 400; font-size: clamp(3rem, 2.2rem + 2.4vw, 4.25rem); line-height: 1; color: var(--aqua); margin-bottom: var(--sp-3); font-variant-numeric: lining-nums tabular-nums; }
.fact-label{ display: block; font-size: 0.875rem; line-height: 1.45; color: var(--fg-soft); max-width: 24ch; }

.data-slot{ border: 1.5px dashed var(--line-strong); border-radius: var(--radius-sm); padding: var(--sp-3) var(--sp-4); font-size: 0.8125rem; color: var(--ink-soft); background: var(--paper); display: inline-block; }

/* =========================================================================
   EN-TÊTE DES PAGES INTÉRIEURES + FIL D'ARIANE
   ========================================================================= */
.breadcrumb{
  font-size: 0.8125rem; color: var(--fg-soft);
  padding-block: var(--sp-5) 2px;
  background: var(--abyss);
  box-shadow: 0 0 0 100vmax var(--abyss);
  clip-path: inset(0 -100vmax);
  /* chevauche le haut de l'en-tête de 2px : aucune couture visible */
  position: relative; z-index: 2; margin-bottom: -2px;
}
.breadcrumb a{ color: var(--fg-soft); text-decoration: none; }
.breadcrumb a:hover{ color: var(--on-dark); text-decoration: underline; }
.breadcrumb [aria-current="page"]{ color: var(--on-dark-body); }
.breadcrumb ol{ list-style: none; margin: 0; padding: 0; display: flex; gap: var(--sp-2); flex-wrap: wrap; }
.breadcrumb li:not(:last-child)::after{ content: '/'; margin-left: var(--sp-2); color: rgba(157,184,194,0.5); }

/* Anneaux et halo centrés bas-droite : ils s'éteignent avant le fil d'Ariane,
   pour ne jamais être coupés net par sa bande. */
.page-hero{
  --rings-x: 90%; --rings-y: 72%;
  background: radial-gradient(ellipse 55% 90% at 90% 80%, var(--abyss-glow) 0%, var(--abyss) 72%);
  padding-block: var(--sp-7) var(--sp-8);
}
.page-hero::before{
  -webkit-mask-image: radial-gradient(ellipse 42% 62% at 90% 72%, #000 10%, transparent 100%);
          mask-image: radial-gradient(ellipse 42% 62% at 90% 72%, #000 10%, transparent 100%);
}
.page-hero h1{ max-width: 20ch; font-size: clamp(2.25rem, 1.4rem + 3.2vw, 4.25rem); margin-bottom: var(--sp-5); }
.page-hero .lede{ max-width: 58ch; margin-bottom: 0; }
.page-hero .article-title{ font-size: clamp(2rem, 1.4rem + 2.2vw, 3.25rem); max-width: 24ch; }
.page-hero .article-meta{ margin-top: var(--sp-5); }
@media (max-width: 36rem){
  .page-hero{ padding-block: var(--sp-6) var(--sp-7); }
  .page-hero h1{ font-size: 2.125rem; }
}

/* =========================================================================
   DOCTRINE : la prise de position, en grand
   ========================================================================= */
.doctrine{ background: var(--paper); }
.doctrine .section-head{ max-width: none; margin-bottom: var(--sp-7); }
.doctrine .section-head h2{ font-size: clamp(2.125rem, 1.3rem + 3vw, 3.75rem); line-height: 1.04; max-width: 20ch; }
.doctrine .grid{ border-top: 1px solid var(--line-strong); padding-top: var(--sp-6); }
@media (min-width: 56rem){ .doctrine .grid{ column-gap: var(--sp-8); } }
.doctrine .grid h2{ font-size: clamp(1.875rem, 1.3rem + 2vw, 2.75rem); max-width: 16ch; }
.doctrine .grid p{ color: var(--ink-soft); }
.doctrine .grid > p:first-child{ color: var(--ink); }

/* =========================================================================
   GRILLES
   ========================================================================= */
.grid{ display: grid; gap: var(--sp-6); }
.grid-3{ grid-template-columns: 1fr; }
.grid-2{ grid-template-columns: 1fr; }
@media (min-width: 56rem){ .grid-3{ grid-template-columns: repeat(3, 1fr); } .grid-2{ grid-template-columns: repeat(2, 1fr); } }

.section-head{ max-width: 46rem; margin-bottom: var(--sp-7); }
.section-head .lede{ margin-bottom: 0; }

/* =========================================================================
   SITUATIONS : liste éditoriale numérotée
   ========================================================================= */
.situation-list{ list-style: none; margin: 0; padding: 0; counter-reset: situation; border-bottom: 1px solid var(--line-strong); }
.situation-item{
  counter-increment: situation;
  display: grid; grid-template-columns: 3rem 1fr; column-gap: var(--sp-4); row-gap: var(--sp-2);
  padding-block: var(--sp-6);
  border-top: 1px solid var(--line-strong);
}
.situation-item::before{
  content: counter(situation, decimal-leading-zero);
  grid-row: span 2;
  font-family: var(--font-display); font-style: italic; font-size: 1.75rem; line-height: 1.1;
  color: var(--teal-deep);
}
.situation-item dt{ font-family: var(--font-display); font-weight: 500; font-size: clamp(1.375rem, 1.2rem + 0.7vw, 1.75rem); line-height: 1.2; letter-spacing: -0.01em; color: var(--ink); }
.situation-item dd{ margin: 0; color: var(--ink-soft); }
@media (min-width: 56rem){
  .situation-item{ grid-template-columns: 5rem 1fr 1fr; column-gap: var(--sp-7); align-items: baseline; }
  .situation-item::before{ grid-row: auto; font-size: 2.25rem; }
}

/* =========================================================================
   SERVICES : le service phare sort du lot, en sombre
   ========================================================================= */
.service-card .index, .service-feature .index, .phase-card .index{
  display: block; width: auto; height: auto; background: none; border-radius: 0;
  font-family: var(--font-mono); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.12em;
  color: var(--accent); margin-bottom: var(--sp-4);
}

.service-feature-grid{ display: grid; gap: var(--sp-5); }
@media (min-width: 56rem){ .service-feature-grid{ grid-template-columns: 1.35fr 1fr; align-items: stretch; } }

.service-feature{
  position: relative; overflow: hidden;
  background: var(--abyss);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 1.4rem + 2.4vw, 3.5rem);
  box-shadow: var(--shadow-lg);
}
.service-feature h3{ font-size: clamp(1.875rem, 1.4rem + 1.6vw, 2.75rem); line-height: 1.05; margin-bottom: var(--sp-4); }
.service-feature p{ color: var(--fg-soft); }
.service-feature ul{ margin: var(--sp-5) 0 var(--sp-6); padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.service-feature li{ position: relative; padding: 0.8rem 0 0.8rem 1.75rem; border-bottom: 1px solid var(--rule); font-size: 0.9375rem; font-weight: 500; color: var(--fg); }
.service-feature li::before{ content: ''; position: absolute; left: 0; top: 50%; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--aqua); transform: translateY(-50%); }
.service-feature a{ font-weight: 600; }

.service-card{
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  transition-property: transform, box-shadow, border-color;
  transition-duration: var(--dur-base);
  transition-timing-function: var(--ease);
}
.service-card:hover{ transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.service-card h3{ margin-bottom: var(--sp-3); }
.service-card p{ color: var(--ink-soft); margin-bottom: 0; }
.service-card ul{ margin: var(--sp-4) 0 0; padding: 0; list-style: none; }
.service-card li{ position: relative; font-size: 0.875rem; font-weight: 500; color: var(--ink-soft); padding: var(--sp-2) 0 0 var(--sp-5); }
.service-card li::before{ content: ''; position: absolute; left: 0; top: 1.05em; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid var(--teal); }
.service-feature-stack{ display: flex; flex-direction: column; gap: var(--sp-5); }
.service-feature-stack .service-card{ flex: 1; }

.sector-card{ background: var(--white); border-radius: var(--radius); padding: var(--sp-5); border: 1px solid var(--line); }
.sector-card h3{ margin-bottom: var(--sp-2); }
.sector-card p{ font-size: 0.9375rem; color: var(--ink-soft); margin-bottom: 0; }

/* =========================================================================
   COMPARATIF : la colonne Perlouine en sombre
   ========================================================================= */
.table-scroll{ overflow-x: auto; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.compare-table{ width: 100%; min-width: 36rem; border-collapse: separate; border-spacing: 0; font-size: 0.9375rem; }
.compare-table th, .compare-table td{ padding: 1.15rem 1.5rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare-table thead th{ font-family: var(--font-mono); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }
.compare-table tbody th{ font-family: var(--font-display); font-size: 1.1875rem; font-weight: 500; color: var(--ink); white-space: nowrap; }
.compare-table td{ color: var(--ink-soft); }
.compare-table thead th:last-child, .compare-table tbody td:last-child{ background: var(--abyss); border-bottom-color: var(--line-dark); }
.compare-table thead th:last-child{ color: var(--aqua); }
.compare-table tbody td:last-child{ color: var(--on-dark); font-weight: 500; }
.compare-table tbody tr:last-child th, .compare-table tbody tr:last-child td{ border-bottom: none; }

/* =========================================================================
   SECTEURS
   ========================================================================= */
.pill-list{ list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.pill-list a{ display: inline-block; background: var(--white); border: 1px solid var(--line-strong); border-radius: var(--radius-pill); padding: 0.55rem 1.15rem; font-weight: 600; font-size: 0.9375rem; color: var(--ink); text-decoration: none; transition: border-color var(--dur-base) var(--ease), color var(--dur-base) var(--ease); }
.pill-list a:hover{ border-color: var(--teal); color: var(--teal-deep); }

/* Dans le large : un index de terrains de chasse */
.section-dark .pill-list{ display: grid; grid-template-columns: 1fr; column-gap: var(--sp-6); gap: 0 var(--sp-6); counter-reset: sector; border-top: 1px solid var(--rule); }
@media (min-width: 40rem){ .section-dark .pill-list{ grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem){ .section-dark .pill-list{ grid-template-columns: repeat(4, 1fr); } }
.section-dark .pill-list li{ counter-increment: sector; border-bottom: 1px solid var(--rule); }
.section-dark .pill-list a{
  position: relative; display: flex; flex-direction: column; gap: var(--sp-4);
  padding: var(--sp-5) var(--sp-6) var(--sp-6) 0;
  background: none; border: none; border-radius: 0;
  font-family: var(--font-display); font-size: 1.4375rem; font-weight: 500; line-height: 1.15; letter-spacing: -0.01em;
  color: var(--on-dark);
}
.section-dark .pill-list a::before{ content: counter(sector, decimal-leading-zero); font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.1em; color: var(--aqua); }
.section-dark .pill-list a::after{
  content: '→'; position: absolute; right: var(--sp-2); top: var(--sp-5);
  font-family: var(--font-body); font-size: 1rem; line-height: 1; color: var(--aqua);
  opacity: 0.45; transition: transform var(--dur-base) var(--ease), opacity var(--dur-base) var(--ease);
}
.section-dark .pill-list a:hover{ color: var(--aqua); }
.section-dark .pill-list a:hover::after{ opacity: 1; transform: translateX(4px); }

/* =========================================================================
   MÉTHODE
   ========================================================================= */
.phase-card{ position: relative; padding-top: var(--sp-6); border-top: 1px solid var(--line-strong); }
.phase-card::before{ content: ''; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--teal); }
.phase-card .index{ color: var(--teal-deep); margin-bottom: var(--sp-3); }
.phase-card h3{ font-size: clamp(1.625rem, 1.3rem + 1vw, 2.125rem); line-height: 1.1; margin-bottom: var(--sp-3); }
.phase-card p{ color: var(--ink-soft); margin-bottom: 0; }

.method-list{ list-style: none; margin: 0; padding: 0; }
.method-item{ display: grid; grid-template-columns: 3.25rem 1fr; gap: var(--sp-5); padding-block: var(--sp-6); border-top: 1px solid var(--line); position: relative; }
.method-item:first-child{ border-top: none; }
.method-num{
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--teal); background: transparent;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-style: italic; font-size: 1.375rem; font-weight: 500; line-height: 1;
  color: var(--teal-deep);
}
.method-item h3{ margin-bottom: var(--sp-2); }
.method-item p{ margin-bottom: 0; color: var(--ink-soft); }

/* =========================================================================
   ÉQUIPE
   ========================================================================= */
.founder-preview-grid{ display: grid; gap: var(--sp-5); }
@media (min-width: 40rem){ .founder-preview-grid{ grid-template-columns: repeat(2, 1fr); } }
.founder-preview{
  display: flex; align-items: center; gap: var(--sp-5);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: var(--sp-5); text-decoration: none; color: var(--ink-soft);
  transition-property: transform, box-shadow, border-color; transition-duration: var(--dur-base); transition-timing-function: var(--ease);
}
.founder-preview:hover{ transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--line-strong); color: var(--ink-soft); }
.founder-preview .founder-mark{ width: 88px; height: 88px; }
.founder-preview span{ font-size: 0.9375rem; line-height: 1.45; }
.founder-preview strong{ display: inline-block; margin-bottom: 0.2rem; font-family: var(--font-display); font-weight: 500; font-size: 1.625rem; letter-spacing: -0.01em; color: var(--ink); }

.founder-mark{ width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: center top; flex-shrink: 0; outline: 1px solid rgba(0,0,0,0.08); outline-offset: -1px; }

.founder-card{
  display: grid; grid-template-columns: 1fr; align-content: start; column-gap: var(--sp-6);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: var(--sp-6);
}
.founder-photo{
  width: 8rem; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top;
  border-radius: var(--radius-sm); margin-bottom: var(--sp-5);
  outline: 1px solid rgba(0,0,0,0.08); outline-offset: -1px;
}
@media (min-width: 30rem){
  .founder-card{ grid-template-columns: 9.5rem 1fr; }
  .founder-card > .founder-photo{ grid-row: 1 / span 5; width: 100%; margin-bottom: 0; }
  .founder-card > :not(.founder-photo){ grid-column: 2; }
}
.founder-card h2{ font-size: clamp(1.75rem, 1.4rem + 1vw, 2.375rem); }
.founder-card .role{ font-family: var(--font-mono); font-weight: 500; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal-deep); margin-bottom: var(--sp-3); }
.founder-card p{ color: var(--ink-soft); }

.values-list{ list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-6); }
@media (min-width: 56rem){ .values-list{ grid-template-columns: repeat(3, 1fr); } }
.values-list dt{ font-family: var(--font-display); font-weight: 500; font-size: 1.375rem; color: var(--ink); margin-bottom: var(--sp-2); }
.values-list dd{ margin: 0; color: var(--ink-soft); font-size: 0.9375rem; }

/* =========================================================================
   FAQ
   ========================================================================= */
.group-title{ font-size: clamp(1.5rem, 1.25rem + 0.8vw, 1.875rem); margin-bottom: var(--sp-5); }
.faq-list{ display: grid; gap: 0.625rem; }
.faq-item{
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding-inline: var(--sp-5);
  transition: border-color var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease);
}
.faq-item:hover{ border-color: var(--line-strong); }
.faq-item[open]{ border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.faq-item summary{
  cursor: pointer; list-style: none; padding-block: 1.15rem;
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; line-height: 1.3; letter-spacing: -0.005em; color: var(--ink);
}
.faq-item summary h2, .faq-item summary h3{ margin: 0; font: inherit; color: inherit; letter-spacing: inherit; }
.faq-item summary h2{ font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.625rem); }
.faq-item summary::-webkit-details-marker{ display: none; }
.faq-item summary::after{
  content: '+'; flex-shrink: 0;
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--line-strong); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-body); font-size: 1.125rem; font-weight: 400; line-height: 1;
  transition: transform var(--dur-base) var(--ease), background-color var(--dur-base) var(--ease), color var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease);
}
.faq-item[open] summary::after, .faq-item:target summary::after{ transform: rotate(45deg); background: var(--abyss); border-color: var(--abyss); color: var(--white); }
.faq-item .faq-answer{ padding-bottom: var(--sp-5); color: var(--ink-soft); max-width: 68ch; }
.faq-item:target{ border-color: var(--teal); }
.faq-item:target:not([open]) .faq-answer{ display: block; }

/* =========================================================================
   PREUVE / PRESSE
   ========================================================================= */
.press-strip{ display: grid; gap: 0; border-bottom: 1px solid var(--line-strong); }
.press-item{ display: flex; flex-direction: column; gap: 0.35rem; padding-block: var(--sp-5); border-top: 1px solid var(--line-strong); text-decoration: none; color: inherit; }
.press-item strong{ font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 1.875rem; line-height: 1.1; letter-spacing: -0.01em; color: var(--ink); transition: color var(--dur-fast) var(--ease); }
.press-item span{ font-size: 0.9375rem; color: var(--ink-soft); }
.press-item:hover strong{ color: var(--teal-deep); }

.proof-callout{ background: var(--sand); border-radius: var(--radius-lg); padding: var(--sp-6); }
.proof-callout p{ color: var(--ink-soft); margin-bottom: var(--sp-3); }

/* =========================================================================
   CTA BAND : la fermeture, dans le large
   ========================================================================= */
.cta-band{ background: transparent; }
.cta-band-row{
  --rings-x: 88%; --rings-y: 50%;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-6);
  background: radial-gradient(ellipse 60% 120% at 88% 50%, var(--abyss-glow) 0%, var(--abyss) 70%);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 1.5rem + 4vw, 5rem) clamp(1.5rem, 0.8rem + 3.4vw, 4.5rem);
  box-shadow: var(--shadow-lg);
}
.cta-band h2{ font-size: clamp(2rem, 1.4rem + 2.2vw, 3.25rem); max-width: 18ch; margin-bottom: var(--sp-3); }
.cta-band p{ color: var(--fg-soft); margin-bottom: 0; }
.cta-band .hero-ctas{ margin-bottom: 0; }
.cta-band a.text-link{ font-family: var(--font-mono); font-size: 0.875rem; font-weight: 500; color: var(--aqua); text-decoration: none; }
.cta-band a.text-link:hover{ color: var(--white); }

/* =========================================================================
   FORMULAIRES
   ========================================================================= */
.form-grid{ display: grid; gap: var(--sp-5); }
@media (min-width: 40rem){ .form-grid.cols-2{ grid-template-columns: 1fr 1fr; } }
.field{ display: flex; flex-direction: column; gap: var(--sp-2); }
.field label{ font-weight: 600; font-size: 0.9375rem; color: var(--ink); }
.field .hint{ font-size: 0.8125rem; color: var(--ink-soft); font-weight: 400; }
.field input, .field select, .field textarea{
  font-family: var(--font-body); font-size: 1rem; padding: 0.8rem 0.95rem;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  background: var(--white); color: var(--ink);
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.field input:hover, .field select:hover, .field textarea:hover{ border-color: var(--ink-soft); }
.field input:focus, .field select:focus, .field textarea:focus{ outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--teal); }
.field textarea{ resize: vertical; min-height: 8rem; }

/* =========================================================================
   FOOTER
   ========================================================================= */
.site-footer{ background: var(--abyss-3); color: #A5BCC5; }
/* Les filets s'alignent sur la colonne de texte, pas sur le padding du conteneur */
.footer-top, .footer-zones{ position: relative; }
.footer-top::after, .footer-zones::after{ content: ''; position: absolute; left: var(--sp-5); right: var(--sp-5); bottom: 0; height: 1px; background: var(--line-dark); }
@media (min-width: 60rem){ .footer-top::after, .footer-zones::after{ left: var(--sp-7); right: var(--sp-7); } }
.footer-top{ display: grid; gap: var(--sp-7); padding-block: var(--sp-8); }
@media (min-width: 56rem){ .footer-top{ grid-template-columns: 1.2fr 1fr 1fr 1fr; } }
.site-footer h2{ font-family: var(--font-mono); font-weight: 500; color: var(--on-dark); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.12em; line-height: 1.4; margin-bottom: var(--sp-5); }
.site-footer a{ color: #BCD0D8; text-decoration: none; }
.site-footer a:hover{ color: var(--white); text-decoration: underline; }
.footer-links{ list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--sp-3); }
.footer-logo{ width: 148px; height: auto; margin-bottom: var(--sp-4); }
.footer-zones{ display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-5); font-size: 0.8125rem; padding-block: var(--sp-5); }
.footer-zones > span{ font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-dark-soft); }
.footer-bottom{ display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-3); padding-block: var(--sp-5); font-size: 0.8125rem; }

.wave-divider{ display: none; }
.specimen::before, .specimen::after{ content: none; }

/* =========================================================================
   UTILITAIRES
   ========================================================================= */
.u-center{ text-align: center; }
.u-max-measure{ max-width: var(--measure); }
.u-mb-0{ margin-bottom: 0 !important; }
.visually-hidden{ position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* =========================================================================
   BLOG : index
   ========================================================================= */
.blog-grid{ display: grid; gap: var(--sp-5); grid-template-columns: 1fr; }
@media (min-width: 48rem){ .blog-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 68rem){ .blog-grid{ grid-template-columns: repeat(3, 1fr); } }
.blog-card{
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: var(--sp-6); text-decoration: none; color: inherit;
  transition-property: transform, box-shadow, border-color; transition-duration: var(--dur-base); transition-timing-function: var(--ease);
}
.blog-card:hover{ transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-strong); color: inherit; }
.blog-card .tag{ align-self: flex-start; font-family: var(--font-mono); font-weight: 500; font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal-deep); margin-bottom: var(--sp-4); }
.blog-card h2, .blog-card h3{ font-size: 1.5rem; line-height: 1.15; margin-bottom: var(--sp-3); text-wrap: pretty; transition: color var(--dur-fast) var(--ease); }
.blog-card:hover h2, .blog-card:hover h3{ color: var(--teal-deep); }
.blog-card p{ color: var(--ink-soft); font-size: 0.9375rem; line-height: 1.6; margin-bottom: var(--sp-5); flex-grow: 1; }
.blog-card .meta{ font-family: var(--font-mono); font-size: 0.75rem; color: var(--ink-soft); padding-top: var(--sp-4); border-top: 1px solid var(--line); }
.blog-card[hidden]{ display: none; }

.blog-toolbar{ display: flex; flex-direction: column; gap: var(--sp-4); margin-bottom: var(--sp-4); }
@media (min-width: 56rem){ .blog-toolbar{ flex-direction: row; align-items: center; justify-content: space-between; } }
.blog-search{ display: flex; align-items: center; gap: var(--sp-2); border: 1px solid var(--line-strong); border-radius: var(--radius-pill); padding: 0.7rem 1.15rem; background: var(--white); max-width: 26rem; flex: 1 1 auto; transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease); }
.blog-search:focus-within{ border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-tint); }
.blog-search svg{ width: 18px; height: 18px; color: var(--ink-soft); flex-shrink: 0; }
.blog-search input{ border: none; outline: none; font: inherit; font-size: 0.9375rem; width: 100%; background: transparent; color: var(--ink); }
.blog-search input::placeholder{ color: var(--ink-soft); }
.blog-filters{ display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.blog-filter{ font-family: var(--font-body); font-weight: 600; font-size: 0.875rem; color: var(--ink); background: var(--white); border: 1px solid var(--line-strong); border-radius: var(--radius-pill); padding: 0.55rem 1.1rem; cursor: pointer; transition: border-color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease); }
.blog-filter:hover{ border-color: var(--ink); }
.blog-filter.is-active{ background: var(--abyss); border-color: var(--abyss); color: var(--white); }
.blog-count{ font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: var(--sp-5); }
.blog-empty{ color: var(--ink-soft); padding: var(--sp-7) 0; text-align: center; margin-inline: auto; }
.blog-more{ display: flex; justify-content: center; margin-top: var(--sp-7); }

/* =========================================================================
   BLOG : article
   ========================================================================= */
.article-meta{ display: flex; gap: var(--sp-3); font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.04em; color: var(--fg-soft); margin-bottom: 0; flex-wrap: wrap; }
.article-title{ font-size: clamp(2rem, 1.4rem + 2.2vw, 3.25rem); }
/* Une seule largeur de colonne pour tout ce qui suit le texte de l'article */
.article-body, .author-line, .article-cta, .related-list{ max-width: 46rem; }
.article-body h2{ font-size: clamp(1.625rem, 1.3rem + 1vw, 2.125rem); line-height: 1.15; margin-top: var(--sp-7); margin-bottom: var(--sp-3); }
.article-body > h2:first-child{ margin-top: 0; }
.article-body h3{ font-size: clamp(1.25rem, 1.1rem + 0.4vw, 1.4375rem); margin-top: var(--sp-5); margin-bottom: var(--sp-2); }
.article-body p{ font-size: 1.125rem; line-height: 1.72; color: var(--ink-body); margin-bottom: var(--sp-4); max-width: none; }
.article-body ul, .article-body ol{ padding-left: 1.25rem; color: var(--ink-body); font-size: 1.125rem; line-height: 1.7; margin-bottom: var(--sp-4); }
.article-body li{ margin-bottom: var(--sp-2); }
.article-body li::marker{ color: var(--teal); }
.author-line{ display: flex; align-items: center; gap: var(--sp-3); margin-top: var(--sp-6); padding-top: var(--sp-5); border-top: 1px solid var(--line); font-size: 0.875rem; color: var(--ink-soft); }
.author-line img{ width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: center top; flex-shrink: 0; outline: 1px solid rgba(0,0,0,0.08); outline-offset: -1px; }
.article-cta{
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-4);
  margin-top: var(--sp-6);
  padding: var(--sp-5) var(--sp-6);
  background: var(--abyss); border-radius: var(--radius);
}
.article-cta span{ font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; line-height: 1.3; color: var(--on-dark); }
.related-list{ margin-top: var(--sp-8); }
.related-list .label{ font-family: var(--font-mono); font-weight: 500; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-soft); margin-bottom: var(--sp-3); }
.related-list ul{ list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.related-list li{ border-top: 1px solid var(--line); }
.related-list a{ display: flex; flex-direction: column; gap: var(--sp-1); padding-block: var(--sp-4); font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; line-height: 1.25; color: var(--ink); text-decoration: none; }
.related-list a:hover{ color: var(--teal-deep); }
.related-list .tag{ font-family: var(--font-mono); font-size: 0.6875rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; color: var(--teal-deep); }

/* =========================================================================
   RETOUR EN HAUT
   ========================================================================= */
.back-to-top{
  appearance: none; -webkit-appearance: none;
  position: fixed; right: var(--sp-5); bottom: var(--sp-5); z-index: 30;
  width: 46px; height: 46px; border-radius: 50%; border: none;
  background: var(--abyss); color: var(--white); box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  opacity: 0; pointer-events: none; transform: translateY(8px);
  font: inherit;
  transition: opacity var(--dur-base) var(--ease), transform var(--dur-base) var(--ease), background-color var(--dur-fast) var(--ease);
}
.back-to-top svg{ width: 20px; height: 20px; }
.back-to-top.is-visible{ opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover{ background: var(--teal-deep); }

/* =========================================================================
   PREUVE SOCIALE (accueil) : bandeau, logos, avis, presse
   Les éléments [data-proof-slot] sont des emplacements à remplir avec du réel.
   ========================================================================= */
.proof-bar{ background: var(--abyss); border-top: 1px solid var(--line-dark); color: var(--on-dark-body); }
.proof-bar-grid{ display: grid; }
@media (min-width: 56rem){ .proof-bar-grid{ grid-template-columns: 1.7fr 1fr 1.15fr; } }
.pb-cell{ display: flex; flex-direction: column; justify-content: center; gap: var(--sp-3); padding: var(--sp-6) 0; border-bottom: 1px solid var(--line-dark); }
.pb-cell:last-child{ border-bottom: none; }
@media (min-width: 56rem){
  .pb-cell{ padding: var(--sp-6); border-bottom: none; border-left: 1px solid var(--line-dark); }
  .pb-cell:first-child{ padding-left: 0; border-left: none; }
  .pb-cell:last-child{ padding-right: 0; }
}
.pb-label{ font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark-soft); }
.pb-marks{ display: flex; flex-wrap: wrap; align-items: flex-end; gap: var(--sp-3) var(--sp-7); }
.pb-mark{ display: flex; flex-direction: column; text-decoration: none; }
.pb-outlet{ font-family: var(--font-display); font-style: italic; font-size: 2rem; line-height: 1; color: var(--on-dark); transition: color var(--dur-fast) var(--ease); }
.pb-mark:hover .pb-outlet{ color: var(--logo-pearl); }
.pb-sub{ margin-top: 6px; font-size: 0.75rem; color: var(--on-dark-soft); }
.pb-team{ flex-direction: row; align-items: center; justify-content: flex-start; gap: var(--sp-4); }
.pb-avatars{ display: flex; flex-shrink: 0; }
.pb-avatars img{ width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: center top; border: 2px solid var(--abyss); }
.pb-avatars img + img{ margin-left: -14px; }
.pb-team-txt strong{ display: block; font-family: var(--font-display); font-weight: 500; font-size: 1.3125rem; line-height: 1.2; color: var(--on-dark); }
.pb-team-txt span{ display: block; font-size: 0.8125rem; line-height: 1.4; color: var(--on-dark-soft); }
.slot{ display: inline-flex; align-items: center; gap: var(--sp-3); align-self: flex-start; min-height: 48px; padding: 0 var(--sp-4); border: 1.5px dashed rgba(157,184,194,0.45); border-radius: var(--radius-sm); font-size: 0.8125rem; color: var(--on-dark-soft); }
.slot-stars{ letter-spacing: 2px; color: rgba(157,184,194,0.5); }

.logos{ padding-block: var(--sp-7); }
.logos-title{ max-width: none; margin: 0 auto var(--sp-5); text-align: center; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); }
.logo-row{ list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-3); }
@media (min-width: 48rem){ .logo-row{ grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 68rem){ .logo-row{ grid-template-columns: repeat(6, 1fr); } }
.logo-row li{ height: 76px; display: flex; align-items: center; justify-content: center; }
.logo-row img{ max-height: 40px; max-width: 80%; width: auto; filter: grayscale(1); opacity: 0.7; transition: filter var(--dur-base) var(--ease), opacity var(--dur-base) var(--ease); }
.logo-row li:hover img{ filter: none; opacity: 1; }
.logo-slot{ border: 1.5px dashed var(--line-strong); border-radius: var(--radius-sm); font-size: 0.75rem; color: var(--ink-soft); text-align: center; padding: 0 8px; }

.review-grid{ display: grid; gap: var(--sp-5); }
@media (min-width: 56rem){ .review-grid{ grid-template-columns: repeat(3, 1fr); } }
.review-card{ position: relative; margin: 0; display: flex; flex-direction: column; gap: var(--sp-4); padding: var(--sp-6); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.review-stars{ font-size: 1rem; letter-spacing: 2px; color: #E8A600; }
.review-card blockquote{ margin: 0; }
.review-card blockquote p{ margin: 0; font-family: var(--font-display); font-size: 1.3125rem; line-height: 1.4; color: var(--ink); }
.review-card figcaption{ display: flex; align-items: center; gap: var(--sp-3); margin-top: auto; padding-top: var(--sp-4); border-top: 1px solid var(--line); }
.review-avatar{ width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; background: var(--sand); }
.review-who strong{ display: block; font-size: 0.9375rem; color: var(--ink); }
.review-who span{ display: block; font-size: 0.8125rem; color: var(--ink-soft); }
.review-card.is-slot{ background: transparent; border: 1.5px dashed var(--line-strong); }
.review-card.is-slot .review-stars{ color: var(--line-strong); }
.review-card.is-slot blockquote p{ font-style: italic; color: var(--ink-soft); }
.slot-badge{ position: absolute; top: var(--sp-4); right: var(--sp-4); padding: 0.2rem 0.55rem; border: 1px solid var(--line-strong); border-radius: var(--radius-pill); background: var(--paper); font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal-deep); }

.press-cards{ display: grid; gap: var(--sp-5); }
@media (min-width: 56rem){ .press-cards{ grid-template-columns: 1fr 1fr; } }
.press-card{ display: flex; flex-direction: column; gap: var(--sp-2); padding: clamp(1.75rem, 1.2rem + 1.6vw, 2.75rem); border-radius: var(--radius-lg); background: var(--abyss); color: var(--on-dark-body); text-decoration: none; transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease); }
.press-card:hover{ transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--on-dark-body); }
.pc-outlet{ font-family: var(--font-display); font-style: italic; font-size: clamp(2.25rem, 1.8rem + 1.2vw, 3rem); line-height: 1; color: var(--on-dark); }
.pc-via{ margin-bottom: var(--sp-5); font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--logo-sky); }
.pc-title{ margin: 0; font-family: var(--font-display); font-size: 1.5rem; line-height: 1.2; color: var(--on-dark); }
.pc-text{ max-width: none; margin: 0 0 var(--sp-5); font-size: 0.9375rem; color: var(--on-dark-soft); }
.pc-link{ margin-top: auto; font-weight: 600; color: var(--logo-pearl); }

.founder-links{ display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-6); margin-top: var(--sp-5); max-width: none; }

/* =========================================================================
   PREUVE SOCIALE : composants des pages intérieures
   ========================================================================= */
.page-hero + .proof-bar, section + .proof-bar{ border-top: none; }
.contact-proof{ margin: var(--sp-6) 0 var(--sp-5); }
.cp-label{ margin: 0 0 var(--sp-2); font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); }
.cp-press{ display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--sp-2) var(--sp-3); margin: 0 0 var(--sp-5); color: var(--line-strong); }
.cp-press a{ font-family: var(--font-display); font-style: italic; font-size: 1.5rem; line-height: 1.1; color: var(--ink); text-decoration: none; }
.cp-press a:hover{ color: var(--teal-deep); }
.contact-proof .review-card{ padding: var(--sp-5); }
.contact-proof .review-card blockquote p{ font-size: 1.125rem; }

/* =========================================================================
   APPROCHE (accueil) et consentement RGPD (contact)
   ========================================================================= */
.approach .section-head{ max-width: 52rem; }
.approach h2{ font-size: clamp(1.875rem, 1.3rem + 2vw, 2.75rem); line-height: 1.15; }
.approach-list{ list-style: none; margin: 0; padding: 0; display: grid; gap: 0 var(--sp-6); border-top: 1px solid var(--line-dark); }
@media (min-width: 40rem){ .approach-list{ grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 68rem){ .approach-list{ grid-template-columns: repeat(4, 1fr); } }
.approach-list li{ display: flex; flex-direction: column; gap: var(--sp-2); padding: var(--sp-5) 0 var(--sp-6); border-bottom: 1px solid var(--line-dark); }
.ap-num{ font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.1em; color: var(--logo-pearl); }
.approach-list strong{ font-family: var(--font-display); font-weight: 500; font-size: 1.375rem; line-height: 1.2; color: var(--on-dark); }
.approach-list li > span:last-child{ font-size: 0.9375rem; color: var(--on-dark-soft); }
.approach-values{ display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--sp-2) var(--sp-4); margin: var(--sp-6) 0 0; max-width: none; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-dark-soft); }
.approach-values strong{ font-family: var(--font-display); font-weight: 500; font-size: 1.25rem; letter-spacing: 0; text-transform: none; color: var(--on-dark); }
.approach-values a{ font-family: var(--font-body); font-size: 0.9375rem; letter-spacing: 0; text-transform: none; }
.field-check{ display: grid; grid-template-columns: 20px 1fr; gap: var(--sp-3); align-items: start; }
.field-check input{ width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--teal-deep); }
.field-check label{ font-size: 0.875rem; line-height: 1.5; color: var(--ink-soft); }

/* =========================================================================
   CARROUSEL DE MARQUES (accueil, position 2)
   ========================================================================= */
.logo-marquee{ padding-block: var(--sp-6); background: var(--paper); border-bottom: 1px solid var(--line); }
.logo-marquee .logos-title{ margin-bottom: var(--sp-4); }
.lm-viewport{ display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.lm-track{ list-style: none; margin: 0; padding: 0 var(--sp-4) 0 0; display: flex; gap: var(--sp-4); flex-shrink: 0; animation: lm-scroll 40s linear infinite; }
.lm-viewport:hover .lm-track, .lm-viewport:focus-within .lm-track{ animation-play-state: paused; }
.lm-item{ flex: 0 0 auto; width: 184px; height: 72px; display: flex; align-items: center; justify-content: center; }
.lm-item img{ max-height: 40px; max-width: 150px; width: auto; filter: grayscale(1); opacity: 0.7; transition: filter var(--dur-base) var(--ease), opacity var(--dur-base) var(--ease); }
.lm-item:hover img{ filter: none; opacity: 1; }
@keyframes lm-scroll{ to{ transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce){
  .lm-track{ animation: none; flex-wrap: wrap; justify-content: center; padding: 0 var(--sp-5); }
  .lm-track[aria-hidden="true"]{ display: none; }
  .lm-viewport{ justify-content: center; -webkit-mask-image: none; mask-image: none; }
}
