/* ═══════════════════════════════════════════════════════════════
   CADENCE DIGITAL — Design System v2
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* ─────────────────────────────────────────────────────────────
     Palette — crème & charbon, accents pastels sourds.
     Les noms de tokens (blue-*, amber-*) sont conservés pour ne
     rien casser ; seules les VALEURS changent.
       blue-*  → charbon (fonds sombres) + bleu profond (liens)
       amber-* → bleu pastel (accent principal)
     ───────────────────────────────────────────────────────────── */

  /* Fonds sombres + bleu profond */
  --blue-900: #262524;   /* charbon — sections sombres */
  --blue-800: #33312F;
  --blue-700: #1F5577;   /* bleu profond — liens, chiffres clés */
  --blue-600: #26658D;
  --blue-500: #3E7BA3;   /* bleu moyen — bordures actives */
  --blue-100: #D6E6F2;
  --blue-50:  #EEF5FA;

  /* Accent principal : bleu pastel */
  --amber-700: #1B3C5A;
  --amber-600: #2C6187;  /* bleu lisible — eyebrows, mot accentué */
  --amber-500: #C3DCF0;  /* bleu pastel — aplats, badges, boutons */
  --amber-400: #DCEBF8;  /* bleu très clair — sur fond sombre */
  --amber-100: #EDF5FC;

  /* Accent secondaire (second ton du schéma Migratron) */
  --blue-teal: #4E9AB8;

  /* Neutres chauds (et non plus bleutés) */
  --ink-900: #262524;
  --ink-800: #3A3836;
  --ink-700: #55524E;
  --ink-500: #6A6761;   /* assombri : contraste AA sur crème */
  --ink-400: #8A857E;
  --ink-300: #C4BFB7;
  --ink-200: #E0DBD3;
  --ink-100: #EFEBE4;

  --cream: #F8F5F1;
  --cream-warm: #F1EDE6;
  --white: #FFFFFF;

  --green-500: #4A7C59;
  --red-500: #B4483F;

  /* Typographie — une seule famille géométrique + un mono.
     Plus de serif : c'était le principal « tell ». */
  --font-display: 'Jost', -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Jost', -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'Fira Mono', 'SF Mono', monospace;

  /* Layout — angles vifs, pas d'arrondi décoratif */
  --container-max: 1280px;
  --container-pad: clamp(1rem, 4vw, 2.5rem);
  --section-pad-y: clamp(4rem, 8vw, 7rem);
  --radius-sm: 0;
  --radius: 0;
  --radius-lg: 0;
  --radius-xl: 0;
  --radius-pill: 40px;

  /* Motion — discrète */
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--cream);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

/* ═══════════════════════════════════════════════════════════════
   TYPOGRAPHIE
   ═══════════════════════════════════════════════════════════════ */

/* Eyebrow — mono, uppercase, sans filet décoratif */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber-600);
  margin-bottom: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.eyebrow::before { content: none; }

.eyebrow.on-dark { color: var(--amber-400); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink-900);
}

/* Échelle typographique resserrée : plus de titres géants */
h1 { font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 500; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: 1.25rem; }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); font-weight: 500; line-height: 1.2; }
h4 { font-size: 1.05rem; font-weight: 500; }

/* Le mot accentué : plus d'italique, plus de serif.
   Simple changement de couleur, sobre. */
.amber-word {
  color: var(--amber-600);
  font-style: normal;
  font-weight: 500;
}
.on-dark .amber-word,
.amber-word.on-dark,
h2.on-dark .amber-word { color: var(--amber-500); }

.text-amber { color: var(--amber-600); }
.text-blue { color: var(--blue-700); }

.lead {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.6;
  color: var(--ink-700);
  max-width: 65ch;
}

/* ═══════════════════════════════════════════════════════════════
   BOUTONS
   ═══════════════════════════════════════════════════════════════ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 1.6rem;
  border-radius: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 0.2s var(--ease-smooth), color 0.2s var(--ease-smooth), border-color 0.2s var(--ease-smooth);
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary { background: var(--amber-500); color: var(--ink-900); border-color: var(--amber-500); }
.btn-primary:hover { background: var(--ink-900); color: var(--cream); border-color: var(--ink-900); }

.btn-secondary { background: var(--ink-900); color: var(--cream); border-color: var(--ink-900); }
.btn-secondary:hover { background: var(--amber-500); color: var(--ink-900); border-color: var(--amber-500); }

.btn-outline { background: transparent; color: var(--ink-900); border: 1px solid var(--ink-300); }
.btn-outline:hover { border-color: var(--ink-900); background: var(--ink-900); color: var(--cream); }

.btn-outline.on-dark { color: white; border-color: rgba(255,255,255,0.3); }
.btn-outline.on-dark:hover { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.05); }

.btn-arrow::after { content: "→"; font-size: 1.1em; transition: transform 0.2s; }
.btn-arrow:hover::after { transform: translateX(4px); }

/* ═══════════════════════════════════════════════════════════════
   TOP BAR — Barre supérieure fine (à la Atoo Next)
   ═══════════════════════════════════════════════════════════════ */

.topbar {
  background: var(--ink-900);
  color: var(--ink-300);
  padding: 0.5rem 0;
  font-size: 13px;
  position: relative;
  z-index: 101;
}

.topbar-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.topbar-tagline {
  color: var(--amber-400);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.topbar-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.topbar-links a {
  color: var(--ink-300);
  transition: color 0.2s;
  font-size: 12.5px;
}
.topbar-links a:hover { color: var(--amber-400); }

@media (max-width: 700px) {
  .topbar-tagline { display: none; }
}

/* ═══════════════════════════════════════════════════════════════
   NAVIGATION PRINCIPALE (avec méga-menu)
   ═══════════════════════════════════════════════════════════════ */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 245, 241, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s;
}
.nav.scrolled {
  border-bottom-color: var(--ink-200);
  background: rgba(248, 245, 241, 0.98);
}

.nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 1rem var(--container-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink-900);
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.logo-mark {
  width: 32px;
  height: 32px;
  background: var(--blue-700);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: white;
  position: relative;
}
.logo-mark::after {
  content: "";
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 6px;
  height: 6px;
  background: var(--amber-500);
  border-radius: 50%;
}

.logo-text-suffix {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--ink-500);
  font-family: var(--font-body);
  letter-spacing: 0.02em;
  margin-left: 0.25rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-700);
  transition: color 0.2s;
  padding: 0.5rem 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  position: relative;
}

.nav-link:hover, .nav-link.active { color: var(--ink-900); }

.nav-link.is-active {
  color: var(--ink-900);
  font-weight: 600;
}
.nav-link.is-active::before {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--amber-500);
  border-radius: 2px;
}

.nav-link.has-menu::after {
  content: "▾";
  font-size: 0.75em;
  transition: transform 0.2s;
  color: var(--ink-500);
}
.nav-link.has-menu:hover::after { transform: rotate(-180deg); }

.nav-cta {
  padding: 0.6rem 1.25rem;
  font-size: 14px;
}

/* Méga-menu — version compacte avec cartes visuelles */
.megamenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  width: min(960px, calc(100vw - 32px));
  background: #FFFFFF;
  border: 1px solid var(--ink-200);
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(15, 26, 61, 0.15), 0 4px 12px rgba(15, 26, 61, 0.08);
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s var(--ease-smooth);
  z-index: 99;
  margin-top: 12px;
}

.nav-item { position: relative; }
.nav-item:hover .megamenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Petite pointe décorative en haut du menu */
.megamenu::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 14px;
  height: 14px;
  background: white;
  border-top: 1px solid var(--ink-200);
  border-left: 1px solid var(--ink-200);
}

/* Titre de section du menu (petit sous-titre) */
.megamenu-section-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber-600);
  margin-bottom: 0.75rem;
  padding-left: 0.25rem;
}

/* Grille des cartes personas */
.megamenu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}

.megamenu-grid.two-cols { grid-template-columns: repeat(2, 1fr); }
.megamenu-grid.four-cols { grid-template-columns: repeat(4, 1fr); }
.megamenu-grid.five-cols { grid-template-columns: repeat(5, 1fr); }
.megamenu-grid.three-cols { grid-template-columns: repeat(3, 1fr); }

/* Version compacte du méga-menu pour peu de tuiles (À propos) */
.megamenu.megamenu-small {
  width: 780px;
  left: auto;
  right: 0;
  transform: translateX(0) translateY(-8px);
}
.nav-item:hover .megamenu.megamenu-small {
  transform: translateX(0) translateY(0);
}
.megamenu.megamenu-small::before {
  left: auto;
  right: 60px;
  transform: rotate(45deg);
}

/* Carte persona — version compacte */
.persona-card {
  display: flex;
  flex-direction: column;
  padding: 0.75rem 0.85rem 0.9rem;
  border-radius: 10px;
  background: var(--cream);
  border: 1px solid transparent;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s var(--ease-smooth);
  position: relative;
  overflow: hidden;
}

.persona-card:hover {
  background: white;
  border-color: var(--blue-500);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(30, 64, 175, 0.1);
}

.persona-illustration {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: linear-gradient(135deg, #EEF2FF 0%, #F5F3EE 100%);
  margin-bottom: 0.55rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.persona-illustration svg {
  width: 75%;
  height: 75%;
}

.persona-title {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-900);
  margin-bottom: 0.2rem;
  line-height: 1.2;
  font-variation-settings: "opsz" 24;
}

.persona-desc {
  font-size: 11.5px;
  color: var(--ink-500);
  line-height: 1.4;
}

/* Carte spéciale "featured" (le produit phare) */
.persona-card.featured {
  background: linear-gradient(135deg, var(--blue-800), var(--blue-900));
  color: white;
  grid-column: span 1;
}
.persona-card.featured .persona-illustration {
  background: rgba(245, 158, 11, 0.15);
}
.persona-card.featured .persona-title { color: white; }
.persona-card.featured .persona-desc { color: var(--ink-300); }
.persona-card.featured:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(30, 64, 175, 0.4);
  border-color: var(--amber-500);
}

.persona-badge {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  background: var(--amber-500);
  color: var(--blue-900);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 2px 6px;
  border-radius: 3px;
  text-transform: uppercase;
  z-index: 2;
}

/* Ligne de séparation avec label dans le menu */
.megamenu-divider {
  height: 1px;
  background: var(--ink-200);
  margin: 0.9rem 0;
  position: relative;
}
.megamenu-divider-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 0 0.8rem;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--ink-400);
  text-transform: uppercase;
}

/* Footer du méga-menu (lien global vers page de listing) */
.megamenu-footer {
  margin-top: 0.9rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--ink-200);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.megamenu-footer-hint {
  font-size: 12px;
  color: var(--ink-500);
}

.megamenu-footer-link {
  color: var(--blue-700);
  font-size: 12.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap 0.2s;
}
.megamenu-footer-link:hover { gap: 0.6rem; }

/* Menu mobile toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink-900);
  margin: 5px 0;
  transition: 0.3s;
}

@media (max-width: 1100px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .megamenu { display: none; }
}
/* ═══════════════════════════════════════════════════════════════
   HERO — Positionnement Studio
   ═══════════════════════════════════════════════════════════════ */

.hero {
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: var(--section-pad-y);
  position: relative;
  overflow: hidden;
  background: var(--cream);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
}

.hero-content { position: relative; z-index: 2; }

.hero h1 { margin-bottom: 1.5rem; font-variation-settings: "opsz" 144; }
.hero h1 .amber-word {
  color: var(--amber-500);
  font-style: italic;
  font-variation-settings: "opsz" 144;
}

.hero-lead {
  font-size: clamp(1.1rem, 1.7vw, 1.3rem);
  line-height: 1.55;
  color: var(--ink-700);
  max-width: 52ch;
  margin-bottom: 2.5rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--ink-200);
}

.hero-metric-num {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
  color: var(--blue-700);
  line-height: 1;
  margin-bottom: 0.35rem;
  font-variation-settings: "opsz" 72;
}

.hero-metric-lbl {
  font-size: 13px;
  color: var(--ink-500);
  line-height: 1.4;
}

/* Visual hero : composition studio + produit */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 620px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 900px) {
  .hero-visual { max-width: 500px; }
}

/* ═══════════════════════════════════════════════════════════════
   BANDEAU CONFIANCE — Compatibilités techno
   ═══════════════════════════════════════════════════════════════ */

.trust-bar {
  padding: 3rem 0;
  background: var(--white);
  border-top: 1px solid var(--ink-200);
  border-bottom: 1px solid var(--ink-200);
}

.trust-inner { text-align: center; }

.trust-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-500);
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.trust-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  opacity: 0.7;
}

.trust-logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--ink-700);
  font-style: italic;
  letter-spacing: -0.01em;
}

.trust-logo-tech {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink-700);
  letter-spacing: -0.02em;
}

.trust-soon {
  color: var(--ink-400);
  font-size: 0.7em;
  font-style: normal;
  font-weight: 400;
}

/* ═══════════════════════════════════════════════════════════════
   SECTION VERBATIMS — Vous vous reconnaissez ?
   ═══════════════════════════════════════════════════════════════ */

.section-verbatims {
  padding: var(--section-pad-y) 0;
  background: var(--cream);
}

.verbatims-header {
  max-width: 720px;
  margin-bottom: 3rem;
}

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

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

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

.verbatim-card {
  background: white;
  padding: 2rem 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--ink-200);
  border-left: 3px solid var(--amber-500);
  position: relative;
  transition: transform 0.3s var(--ease-smooth), box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

.verbatim-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(15, 26, 61, 0.08);
}

.verbatim-quote {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 400;
  font-style: italic;
  line-height: 1.45;
  color: var(--ink-900);
  margin-bottom: 1.5rem;
  font-variation-settings: "opsz" 24;
  flex: 1;
}

.verbatim-who {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ink-500);
  text-transform: uppercase;
  padding-top: 1rem;
  border-top: 1px solid var(--ink-100);
}

/* ═══════════════════════════════════════════════════════════════
   SECTION 3 PÔLES — Le cœur du positionnement studio
   ═══════════════════════════════════════════════════════════════ */

.section-poles {
  padding: var(--section-pad-y) 0;
  background: var(--cream);
}

.poles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

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

.pole-card {
  background: white;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius);
  padding: 2.5rem;
  position: relative;
  transition: transform 0.3s var(--ease-smooth), box-shadow 0.3s, border-color 0.3s;
  display: flex;
  flex-direction: column;
}

.pole-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(15, 26, 61, 0.08);
  border-color: var(--blue-500);
}

.pole-card.featured {
  background: var(--blue-900);
  color: white;
  border-color: var(--amber-500);
  border-width: 2px;
}

.pole-card.featured:hover {
  border-color: var(--amber-500);
  box-shadow: 0 24px 48px rgba(30, 64, 175, 0.25);
}

.pole-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 500;
  color: var(--blue-700);
  line-height: 1;
  margin-bottom: 1.5rem;
  font-variation-settings: "opsz" 72;
  font-style: italic;
}
.pole-card.featured .pole-number { color: var(--amber-500); }

.pole-badge {
  display: inline-block;
  background: var(--amber-500);
  color: var(--blue-900);
  font-size: 10px;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  text-transform: uppercase;
  align-self: flex-start;
}

.pole-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink-900);
  margin-bottom: 0.5rem;
  font-variation-settings: "opsz" 72;
}
.pole-card.featured .pole-name { color: white; }

.pole-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--amber-600);
  margin-bottom: 1.25rem;
  font-variation-settings: "opsz" 24;
}
.pole-card.featured .pole-tagline { color: var(--amber-400); }

.pole-desc {
  color: var(--ink-700);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex: 1;
}
.pole-card.featured .pole-desc { color: var(--ink-300); }

.pole-features {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
}
.pole-features li {
  padding: 0.4rem 0 0.4rem 1.5rem;
  font-size: 0.9rem;
  color: var(--ink-700);
  position: relative;
  line-height: 1.5;
}
.pole-card.featured .pole-features li { color: var(--ink-300); }

.pole-features li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 0.4rem;
  color: var(--amber-500);
  font-weight: 700;
}

.pole-cta {
  margin-top: auto;
  color: var(--blue-700);
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap 0.2s;
}
.pole-card.featured .pole-cta { color: var(--amber-400); }
.pole-card:hover .pole-cta { gap: 0.6rem; }

/* ═══════════════════════════════════════════════════════════════
   SECTION PRODUIT PHARE — Focus Migratron
   ═══════════════════════════════════════════════════════════════ */

.section-flagship {
  padding: var(--section-pad-y) 0;
  background: var(--blue-900);
  color: white;
  position: relative;
  overflow: hidden;
}

.section-flagship::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -10%;
  width: 50%;
  height: 120%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.section-flagship h2 { color: white; }

.flagship-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

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

.flagship-product-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1rem;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 100px;
  color: var(--amber-400);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.flagship-product-tag::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber-500);
  box-shadow: 0 0 12px var(--amber-500);
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.flagship-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 500;
  color: white;
  margin-bottom: 1.5rem;
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 144;
}

.flagship-title .amber-word {
  color: var(--amber-500);
  font-style: italic;
}

.flagship-desc {
  font-size: 1.05rem;
  color: var(--ink-300);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.flagship-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.flagship-feature {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
}

.flagship-feature-num {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--amber-500);
  line-height: 1;
  margin-bottom: 0.4rem;
  font-variation-settings: "opsz" 36;
}

.flagship-feature-lbl {
  font-size: 12.5px;
  color: var(--ink-300);
  line-height: 1.4;
}

.flagship-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Visual du produit phare : mockup dashboard */
.flagship-visual {
  position: relative;
}

.flagship-mockup {
  background: var(--ink-800);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  aspect-ratio: 5/4;
  overflow: hidden;
}

.mockup-dots {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 1rem;
}
.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.mockup-dot:nth-child(1) { background: #FF5F57; }
.mockup-dot:nth-child(2) { background: #FEBC2E; }
.mockup-dot:nth-child(3) { background: #28C840; }

/* ═══════════════════════════════════════════════════════════════
   SECTION EXPERTISES — Grille de compétences (façon Atoo Next)
   ═══════════════════════════════════════════════════════════════ */

.section-expertise {
  padding: var(--section-pad-y) 0;
  background: var(--cream);
}

.expertise-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--ink-200);
  overflow-x: auto;
}

.expertise-tab {
  padding: 1rem 1.5rem;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-500);
  cursor: pointer;
  border: none;
  background: none;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.expertise-tab:hover { color: var(--ink-900); }
.expertise-tab.active {
  color: var(--blue-700);
  border-bottom-color: var(--blue-700);
}

.expertise-content { display: none; }
.expertise-content.active { display: block; animation: fadeIn 0.3s; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

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

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

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

.expertise-card {
  background: white;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  transition: all 0.3s;
  text-align: center;
}
.expertise-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(15, 26, 61, 0.08);
  border-color: var(--blue-500);
}

.expertise-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink-900);
  margin-bottom: 0.35rem;
  font-variation-settings: "opsz" 24;
}

.expertise-desc {
  font-size: 12.5px;
  color: var(--ink-500);
  line-height: 1.4;
}

/* Bandeau "Vous ne trouvez pas ?" */
.expertise-custom {
  margin-top: 3rem;
  background: linear-gradient(135deg, var(--blue-900), var(--blue-800));
  padding: 2.5rem;
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
  color: white;
}

@media (max-width: 700px) {
  .expertise-custom { grid-template-columns: 1fr; text-align: center; }
}

.expertise-custom-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.5rem;
}

.expertise-custom-desc {
  font-size: 0.95rem;
  color: var(--ink-300);
  line-height: 1.55;
  max-width: 60ch;
}
/* ═══════════════════════════════════════════════════════════════
   SECTION MÉTHODE — Comment on travaille
   ═══════════════════════════════════════════════════════════════ */

.section-method {
  padding: var(--section-pad-y) 0;
  background: var(--cream-warm);
}

.method-header-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: end;
  margin-bottom: 4rem;
}

@media (max-width: 900px) {
  .method-header-grid { grid-template-columns: 1fr; gap: 2rem; }
}

.method-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

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

@media (max-width: 600px) {
  .method-steps { grid-template-columns: 1fr; }
}

.method-step {
  padding: 2rem 1.5rem;
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--ink-200);
  transition: transform 0.3s, box-shadow 0.3s;
}
.method-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(15, 26, 61, 0.08);
}

.method-step-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--amber-600);
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.method-step-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink-900);
  margin-bottom: 0.75rem;
  line-height: 1.15;
  font-variation-settings: "opsz" 24;
}

.method-step-desc {
  font-size: 0.9rem;
  color: var(--ink-600);
  line-height: 1.55;
}

/* ═══════════════════════════════════════════════════════════════
   SECTION ÉQUIPE
   ═══════════════════════════════════════════════════════════════ */

.section-team {
  padding: var(--section-pad-y) 0;
  background: var(--cream);
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

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

.team-card {
  background: white;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius);
  padding: 2.5rem;
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

@media (max-width: 600px) {
  .team-card { flex-direction: column; text-align: center; align-items: center; }
}

.team-photo {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--ink-100);
  border: 2px solid var(--amber-500);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--ink-400);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink-900);
  margin-bottom: 0.35rem;
  font-variation-settings: "opsz" 36;
}

.team-role {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--amber-600);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.team-bio {
  font-size: 0.95rem;
  color: var(--ink-700);
  line-height: 1.55;
  margin-bottom: 1rem;
}

.team-bio strong {
  color: var(--ink-900);
  font-weight: 600;
  border-bottom: 2px solid var(--amber-500);
  padding-bottom: 1px;
}

.team-linkedin {
  color: var(--blue-700);
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* ═══════════════════════════════════════════════════════════════
   SECTION BLOG / ACTUALITÉS
   ═══════════════════════════════════════════════════════════════ */

.section-blog {
  padding: var(--section-pad-y) 0;
  background: var(--cream-warm);
}

.blog-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 3rem;
  gap: 2rem;
  flex-wrap: wrap;
}

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

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

.blog-card {
  background: white;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(15, 26, 61, 0.1);
  border-color: var(--blue-500);
}

.blog-card-image {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-900));
  position: relative;
  overflow: hidden;
}

.blog-card-image::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -20%;
  width: 60%;
  height: 100%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.2) 0%, transparent 60%);
}

.blog-card-image-icon {
  position: absolute;
  bottom: 1.25rem;
  left: 1.5rem;
  color: white;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 500;
  font-style: italic;
  opacity: 0.15;
  line-height: 1;
  font-variation-settings: "opsz" 144;
}

.blog-card-body {
  padding: 1.75rem 1.5rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-meta {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 12px;
  color: var(--ink-500);
}

.blog-card-category {
  color: var(--amber-600);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.blog-card-date {
  color: var(--ink-500);
}

.blog-card-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink-900);
  margin-bottom: 0.75rem;
  line-height: 1.2;
  font-variation-settings: "opsz" 36;
}

.blog-card-excerpt {
  font-size: 0.9rem;
  color: var(--ink-600);
  line-height: 1.55;
  margin-bottom: 1.5rem;
  flex: 1;
}

.blog-card-link {
  color: var(--blue-700);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap 0.2s;
}
.blog-card:hover .blog-card-link { gap: 0.6rem; }

/* ═══════════════════════════════════════════════════════════════
   SECTION DÉMO / FORMULAIRE
   ═══════════════════════════════════════════════════════════════ */

.section-demo {
  padding: var(--section-pad-y) 0;
  background: var(--blue-900);
  color: white;
  position: relative;
  overflow: hidden;
}

.section-demo::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.demo-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
  position: relative;
  z-index: 2;
}

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

.demo-content h2 { color: white; margin-bottom: 1.25rem; }

.demo-content h2 .amber-word {
  color: var(--amber-500);
  font-style: italic;
}

.demo-lead {
  font-size: 1.05rem;
  color: var(--ink-300);
  line-height: 1.55;
  margin-bottom: 2rem;
}

.demo-benefits {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.demo-benefits li {
  padding: 0.75rem 0 0.75rem 2rem;
  position: relative;
  color: white;
  font-size: 0.95rem;
  line-height: 1.5;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.demo-benefits li:last-child { border-bottom: none; }

.demo-benefits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.75rem;
  color: var(--amber-500);
  font-weight: 700;
  font-size: 1.05rem;
}

.demo-response-time {
  padding: 1rem 1.25rem;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: white;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.demo-response-time::before {
  content: "⚡";
  font-size: 1.25rem;
}

.demo-response-time strong { color: var(--amber-400); }

/* Formulaire */
.demo-form {
  background: white;
  border-radius: var(--radius);
  padding: 2.5rem;
  color: var(--ink-900);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
}

.demo-form-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  font-variation-settings: "opsz" 36;
}

.demo-form-sub {
  font-size: 0.85rem;
  color: var(--ink-500);
  margin-bottom: 1.75rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (max-width: 500px) {
  .form-row { grid-template-columns: 1fr; }
}

.form-field {
  display: block;
  margin-bottom: 1rem;
}

.form-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-700);
  margin-bottom: 0.4rem;
  display: block;
  letter-spacing: 0.02em;
}

.form-label .required {
  color: var(--red-500);
  margin-left: 0.15rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--ink-300);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--ink-900);
  background: var(--cream);
  transition: all 0.2s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--blue-700);
  background: white;
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
  font-family: var(--font-body);
}

.form-checkbox-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

@media (max-width: 500px) {
  .form-checkbox-group { grid-template-columns: 1fr; }
}

.form-checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.85rem;
  border: 1px solid var(--ink-300);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
  font-size: 13.5px;
  background: var(--cream);
}
.form-checkbox:hover { border-color: var(--blue-700); background: var(--blue-50); }
.form-checkbox input { accent-color: var(--blue-700); }

.form-toggle-optional {
  background: none;
  border: none;
  color: var(--blue-700);
  font-weight: 600;
  font-size: 13.5px;
  cursor: pointer;
  padding: 1rem 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-top: 1px dashed var(--ink-200);
  border-bottom: 1px dashed var(--ink-200);
  margin: 1.25rem 0;
  width: 100%;
  text-align: left;
  justify-content: space-between;
  font-family: inherit;
}
.form-toggle-optional::after {
  content: "+";
  font-size: 1.35rem;
  color: var(--amber-600);
  transition: transform 0.3s;
  font-weight: 400;
}
.form-toggle-optional.expanded::after { transform: rotate(45deg); }

.form-optional {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-smooth);
}
.form-optional.expanded { max-height: 2000px; }

.form-legal {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-size: 12.5px;
  color: var(--ink-600);
  margin-top: 1rem;
  line-height: 1.5;
}
.form-legal a { color: var(--blue-700); text-decoration: underline; }
.form-legal input { margin-top: 0.15rem; accent-color: var(--blue-700); }

.form-submit {
  width: 100%;
  margin-top: 1.25rem;
  justify-content: center;
  padding: 1rem;
  font-size: 1rem;
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */

.footer {
  background: var(--ink-900);
  color: var(--ink-400);
  padding: 4rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-newsletter {
  padding: 2.5rem 0;
  margin-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 900px) {
  .footer-newsletter { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
}

.footer-newsletter-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.35rem;
  font-variation-settings: "opsz" 36;
}

.footer-newsletter-sub {
  font-size: 0.9rem;
  color: var(--ink-400);
  line-height: 1.5;
}

.footer-newsletter-form {
  display: flex;
  gap: 0.5rem;
}

@media (max-width: 500px) {
  .footer-newsletter-form { flex-direction: column; }
}

.footer-newsletter-input {
  flex: 1;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  color: white;
  font-family: var(--font-body);
  font-size: 14px;
}
.footer-newsletter-input::placeholder { color: var(--ink-500); }
.footer-newsletter-input:focus {
  outline: none;
  border-color: var(--amber-500);
  background: rgba(255, 255, 255, 0.08);
}

.footer-newsletter-btn {
  padding: 0.85rem 1.5rem;
  background: var(--amber-500);
  color: var(--blue-900);
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  font-size: 14px;
}
.footer-newsletter-btn:hover { background: var(--amber-400); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

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

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

.footer-brand h4 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: white;
  margin-bottom: 0.75rem;
  font-variation-settings: "opsz" 24;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 320px;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--ink-400);
  transition: all 0.2s;
  font-size: 14px;
}
.footer-social a:hover {
  color: var(--amber-500);
  border-color: var(--amber-500);
  background: rgba(245, 158, 11, 0.05);
}

.footer-col h5 {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: white;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-col a {
  font-size: 0.9rem;
  color: var(--ink-400);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--amber-500); }

.footer-bottom {
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-signature { color: var(--ink-500); }
.footer-signature strong { color: var(--amber-500); font-weight: 600; }

/* ═══════════════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════════════ */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease-smooth), transform 0.8s var(--ease-smooth);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ═══════════════════════════════════════════════════════════════
   APLATISSEMENT — suppression des marqueurs « IA générée »
   Placé en fin de fichier pour l'emporter sur les règles ci-dessus.
   Principe : aplats au lieu de dégradés, bordure au lieu d'ombre,
   changement de couleur au lieu de lévitation.
   ═══════════════════════════════════════════════════════════════ */

/* 1. Plus aucun halo ni dégradé décoratif */
.section-flagship::before,
.section-demo::before,
.blog-card-image::before { content: none; }

.persona-illustration { background: var(--ink-100); }
.persona-card.featured { background: var(--ink-900); }
.expertise-custom { background: var(--ink-900); }
.blog-card-image { background: var(--ink-900); }

/* 2. Plus d'italique décoratif (hérité du serif).
      Sélecteurs assez spécifiques pour battre les règles de section. */
.pole-number,
.pole-tagline,
.trust-logo,
.verbatim-quote,
.blog-card-image-icon,
.hero h1 .amber-word,
.flagship-title .amber-word,
.demo-content h2 .amber-word { font-style: normal; }

/* Le mot accentué reste lisible selon le fond :
   violet sur clair, lavande sur sombre. */
.hero h1 .amber-word { color: var(--amber-600); }
.flagship-title .amber-word,
.demo-content h2 .amber-word,
.cta-title .amber-word { color: var(--amber-500); }

/* Contraste relevé sur les petits textes secondaires */
.megamenu-divider-label,
.trust-soon { color: var(--ink-500); }

/* 3. Survols : pas de lévitation, pas d'ombre colorée */
.verbatim-card:hover,
.pole-card:hover,
.expertise-card:hover,
.method-step:hover,
.blog-card:hover,
.persona-card:hover,
.persona-card.featured:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--ink-900);
}
.persona-card.featured:hover { border-color: var(--amber-500); }

/* 4. Pastille du produit phare : sans glow ni pulsation */
.flagship-product-tag {
  background: transparent;
  border: 1px solid var(--amber-500);
  border-radius: 0;
  color: var(--amber-400);
  font-family: var(--font-mono);
}
.flagship-product-tag::before {
  box-shadow: none;
  animation: none;
  background: var(--amber-500);
}

/* 5. Méga-menu : carré, ombre sobre */
.megamenu {
  border-radius: 0;
  box-shadow: 0 16px 40px rgba(38, 37, 36, 0.10);
}
.megamenu::before { display: none; }
.persona-card { border-radius: 0; }
.persona-badge {
  border-radius: 0;
  font-family: var(--font-mono);
  background: var(--amber-500);
  color: var(--ink-900);
}

/* 6. Logo : carré, sans pastille */
.logo { font-family: var(--font-display); font-weight: 500; }
.logo-mark { border-radius: 0; background: var(--ink-900); }
.logo-mark::after { content: none; }

/* 7. Nav active : filet sauge discret */
.nav-link.is-active::before { background: var(--amber-600); height: 1px; }

/* 8. Champs de formulaire carrés */
.form-input, .form-select, .form-textarea,
.footer-newsletter-input, .footer-newsletter-btn,
.form-checkbox { border-radius: 0; }

/* 9. Réseaux sociaux du footer : carrés */
.footer-social a { border-radius: 0; }

/* ═══════════════════════════════════════════════════════════════
   PHOTOGRAPHIE
   Cadrage type Sage : paysage, angles vifs, object-fit cover.
   Une image manquante affiche un repère explicite au lieu de
   casser la mise en page (voir handleMissingPhotos dans shared.js).
   ═══════════════════════════════════════════════════════════════ */

.photo {
  position: relative;
  overflow: hidden;
  background: var(--ink-100);
  border-radius: 0;
  display: block;
}
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Ratios (repris des cadrages Sage : 1.8 / 1.6 / 1.4) */
.photo--band    { aspect-ratio: 21 / 9; }
.photo--wide    { aspect-ratio: 16 / 9; }
.photo--hero    { aspect-ratio: 16 / 10; }
.photo--land    { aspect-ratio: 7 / 5; }
.photo--square  { aspect-ratio: 1 / 1; }
.photo--portrait{ aspect-ratio: 4 / 5; }

/* Portrait d'équipe — carré, aligné sur le thème sans arrondi */
.photo--member {
  width: 150px;
  flex-shrink: 0;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--ink-200);
}
@media (max-width: 600px) { .photo--member { width: 120px; } }

/* Petit avatar rond (citations, signatures) */
.photo--avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Nuance : léger voile pour unifier des photos d'origines diverses */
.photo--muted img { filter: saturate(0.92) contrast(1.02); }

/* État vide : repère de production, jamais une fausse image */
.photo.is-empty {
  background: var(--ink-100);
  border: 1px dashed var(--ink-300);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90px;
}
.photo.is-empty::after {
  content: attr(data-placeholder);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-400);
  text-align: center;
  padding: 0.75rem;
  line-height: 1.5;
}

/* Bande photo pleine largeur */
.photo-band { position: relative; background: var(--ink-900); }
.photo-band .photo { aspect-ratio: 21 / 9; }
@media (max-width: 700px) { .photo-band .photo { aspect-ratio: 4 / 3; } }

/* Figure avec légende */
.photo-figure figcaption {
  margin-top: 0.6rem;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-500);
}

/* Portraits d'équipe : carrés, comme le reste du thème */
.team-photo { border-radius: 0; border-color: var(--ink-200); }

/* ═══════════════════════════════════════════════════════════════
   MÉGA-MENU — vignettes en couleur
   Bandeau d'aplat coloré en tête de carte, pictogramme blanc.
   Une couleur par carte (classe ill--*), toujours en aplat.
   ═══════════════════════════════════════════════════════════════ */
.persona-illustration {
  width: 100%;
  height: 58px;
  border-radius: 7px;
  margin-bottom: 0.65rem;
  color: #fff;
  background: var(--ill, var(--blue-700));
}
.persona-illustration::after {           /* rond décoratif, coin bas droit */
  content: "";
  position: absolute;
  width: 54px; height: 54px;
  right: -14px; bottom: -22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}
.persona-illustration svg { width: 26px; height: 26px; position: relative; z-index: 1; }
.persona-card:hover .persona-illustration svg { transform: scale(1.08); }
.persona-illustration svg { transition: transform 0.2s var(--ease-smooth); }

.ill--bleu    { --ill: #2C6187; }
.ill--ciel    { --ill: #4E9AB8; }
.ill--sauge   { --ill: #5E8C6A; }
.ill--ocre    { --ill: #D29A35; }
.ill--terra   { --ill: #C8664A; }
.ill--prune   { --ill: #7A5C8E; }
.ill--rose    { --ill: #CC6F86; }
.ill--ardoise { --ill: #46535F; }
.ill--pastel  { --ill: #C3DCF0; color: #262524; }

.persona-card.featured .persona-illustration { background: var(--ill); }
.persona-card.featured .persona-illustration::after { background: rgba(255, 255, 255, 0.35); }

/* ═══════════════════════════════════════════════════════════════
   HERO — captures d'une réalisation
   ═══════════════════════════════════════════════════════════════ */
.hero-shots {
  display: block;
  aspect-ratio: 6 / 5;
  text-decoration: none;
}
.hero-shots-fond {                          /* aplat pastel derrière les captures */
  position: absolute;
  inset: 8% 0 0 12%;
  border-radius: 22px;
  background: var(--amber-500);
}
.hero-shots-fond::after {
  content: "";
  position: absolute;
  width: 20%; aspect-ratio: 1;
  right: -5%; top: -9%;
  border-radius: 50%;
  background: #D29A35;
  opacity: .85;
}
.hero-shot {
  position: absolute;
  display: block;
  height: auto;
  border-radius: 10px;
  border: 1px solid var(--ink-200);
  background: #fff;
  box-shadow: 0 18px 40px rgba(38, 37, 36, 0.16);
  transition: transform .35s var(--ease-smooth);
}
.hero-shot--main { width: 88%; left: 0; top: 0; }
.hero-shot--side { width: 58%; right: 0; bottom: 4%; }
.hero-shots:hover .hero-shot--main { transform: translateY(-4px); }
.hero-shots:hover .hero-shot--side { transform: translateY(-8px); }
.hero-shots-tag {
  position: absolute;
  left: 4%; bottom: 6%;
  background: var(--ink-900);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  padding: .45rem .8rem;
  border-radius: 999px;
}

/* ═══════════════════════════════════════════════════════════════
   SECTION — NOS RÉALISATIONS
   ═══════════════════════════════════════════════════════════════ */
.section-realisations {
  padding: var(--section-pad-y) 0;
  background: var(--white);
}
.realisation {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 3.5rem;
  align-items: center;
}
.realisation-tag {
  display: inline-block;
  background: var(--amber-100);
  color: var(--amber-600);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .3rem .65rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}
.realisation h3 { margin-bottom: .8rem; }
.realisation-texte p { color: var(--ink-700); line-height: 1.6; margin-bottom: 1.2rem; }
.realisation-points { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.realisation-points li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: .45rem;
  color: var(--ink-800);
}
.realisation-points li::before {
  content: "";
  position: absolute;
  left: 0; top: .5em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--blue-teal);
}
.realisation-captures {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: 18px;
  background: var(--amber-500);
}
.capture { margin: 0; }
.capture--large { grid-column: 1 / -1; }
.capture img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid rgba(38, 37, 36, .08);
  background: #fff;
}
.capture figcaption {
  font-size: 12.5px;
  color: var(--ink-800);
  margin-top: .45rem;
}
@media (max-width: 900px) {
  .realisation { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 500px) {
  .realisation-captures { grid-template-columns: 1fr; padding: .75rem; }
}

/* Autres réalisations : cartes avec visuel sur aplat coloré */
.realisations-grille {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 4rem;
}
.real-carte {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--ink-200);
  border-radius: 16px;
  overflow: hidden;
  background: var(--white);
}
.real-carte--ocre  { --real: #D29A35; }
.real-carte--sauge { --real: #5E8C6A; }
.real-carte--terra { --real: #C8664A; }
.real-visuel {
  position: relative;
  background: var(--real);
  padding: 1.5rem 1.5rem 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.real-visuel img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px 8px 0 0;
  box-shadow: 0 10px 28px rgba(38, 37, 36, .22);
  transition: transform .35s var(--ease-smooth);
}
.real-carte:hover .real-visuel img { transform: translateY(-4px); }
.real-visuel .real-visuel-second {          /* 2e capture, décalée en bas à droite */
  position: absolute;
  width: 58%;
  right: .9rem;
  bottom: -1.5rem;
  border-radius: 8px;
}
.real-corps { padding: 1.4rem 1.5rem 1.6rem; }
.real-corps h3 { font-size: 1.3rem; margin-bottom: .6rem; }
.real-corps p { color: var(--ink-700); font-size: 15px; line-height: 1.6; margin-bottom: 1rem; }
@media (max-width: 1000px) {
  .realisations-grille { grid-template-columns: 1fr; max-width: 640px; }
}

/* Méthode : encarts « itérations » et « ROI » */
.method-encarts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.method-encart {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  padding: 1.6rem 1.75rem;
  border-radius: var(--radius);
  color: #fff;
  line-height: 1.55;
  font-size: 0.95rem;
}
.method-encart strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: .35rem;
}
.method-encart svg { width: 34px; height: 34px; flex-shrink: 0; margin-top: .15rem; }
.method-encart--boucle { background: #2C6187; }
.method-encart--roi    { background: #5E8C6A; }
@media (max-width: 800px) {
  .method-encarts { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════
   MÉGA-MENUS homogènes : pictos en couleur + titre (Produits, À propos)
   ═══════════════════════════════════════════════════════════════ */
.menu-lien {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .6rem;
  border-radius: 8px;
  text-decoration: none;
  color: var(--ink-900);
  transition: background .15s;
}
.menu-lien:hover { background: var(--cream); }
.menu-lien .persona-illustration { width: 38px; height: 38px; margin: 0; flex-shrink: 0; }
.menu-lien .persona-illustration svg { width: 20px; height: 20px; }
.menu-lien b { display: block; font-family: var(--font-display); font-size: .98rem; font-weight: 600; line-height: 1.25; }
.menu-lien small { display: block; font-size: 12px; color: var(--ink-500); line-height: 1.4; margin-top: .15rem; }
.menu-lien:hover b { color: var(--blue-700); }

.megamenu.megamenu-produits { width: min(640px, calc(100vw - 32px)); }
.produits-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.produit-capture {
  display: block;
  border: 1px solid var(--ink-200);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: .35rem;
  aspect-ratio: 16 / 10;
  background: var(--blue-50);
}
.produit-capture img { width: 100%; height: 100%; object-fit: cover; object-position: top left; display: block; transition: transform .3s var(--ease-smooth); }
.produit-capture:hover img { transform: scale(1.03); }

.megamenu.megamenu-apropos { width: min(600px, calc(100vw - 32px)); }
.apropos-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .25rem 1rem; }

/* ═══════════════════════════════════════════════════════════════
   ACCUEIL — sections en aperçu (chaque bloc renvoie vers sa page)
   ═══════════════════════════════════════════════════════════════ */
.section-tete {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.section-tete > div { max-width: 720px; }
.section-tete .lead { margin-top: 1rem; }
.section-tete .btn { flex-shrink: 0; }
@media (max-width: 800px) { .section-tete { flex-direction: column; align-items: flex-start; } }

/* Réalisations : 4 cartes compactes */
.real-carte--bleu { --real: #2C6187; }
.real-apercu { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.real-mini {
  display: flex; flex-direction: column;
  border: 1px solid var(--ink-200);
  border-radius: 14px;
  overflow: hidden;
  background: var(--white);
  text-decoration: none;
  color: inherit;
  transition: border-color .2s;
}
.real-mini:hover { border-color: var(--real); }
.real-mini .real-visuel { padding: 1rem 1rem 0; }
.real-mini .real-corps { padding: 1.1rem 1.2rem 1.3rem; }
.real-mini h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.real-mini .realisation-tag { font-size: 10px; margin-bottom: .7rem; }
.real-mini-gain { font-size: 13.5px; color: var(--ink-700); line-height: 1.45; margin: 0; }
.real-mini-gain strong { display: block; font-family: var(--font-display); font-size: 1.3rem; color: var(--real); filter: brightness(.82); }
@media (max-width: 1100px) { .real-apercu { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px)  { .real-apercu { grid-template-columns: 1fr; } }

/* Expertises : 4 cartes */
.section-expertises-apercu { padding: var(--section-pad-y) 0; background: var(--cream); }
.exp-grille { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.exp-carte {
  display: block;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  transition: border-color .2s;
}
.exp-carte:hover { border-color: var(--blue-500); }
.exp-carte .persona-illustration { width: 46px; height: 46px; margin-bottom: 1rem; }
.exp-carte .persona-illustration svg { width: 24px; height: 24px; }
.exp-carte h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.exp-carte p { font-size: 14px; color: var(--ink-700); line-height: 1.5; margin-bottom: 1rem; }
.exp-carte ul { list-style: none; margin: 0; padding: .9rem 0 0; border-top: 1px solid var(--ink-200); }
.exp-carte li { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .03em; text-transform: uppercase; color: var(--ink-700); padding: .22rem 0; }
@media (max-width: 1100px) { .exp-grille { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px)  { .exp-grille { grid-template-columns: 1fr; } }

/* Méthode : frise en 5 étapes */
.frise {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}
.frise li {
  display: flex; flex-direction: column; align-items: flex-start; gap: .55rem;
  padding: 1.25rem;
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-top: 3px solid var(--blue-500);
}
.frise-num { font-family: var(--font-mono); font-size: 12px; font-weight: 700; color: var(--amber-600); }
.frise-nom { font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; line-height: 1.25; color: var(--ink-900); }
.frise .method-step-delai { margin: 0; }
@media (max-width: 1000px) { .frise { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px)  { .frise { grid-template-columns: 1fr; } }

/* Citation du CTO */
.section-citation { padding: var(--section-pad-y) 0; background: var(--ink-900); }
.citation { margin: 0 auto; max-width: 900px; text-align: center; color: #fff; }
.citation blockquote {
  margin: 0 0 2rem;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  line-height: 1.45;
  font-weight: 500;
}
.citation blockquote::before {
  content: "\201C";
  display: block;
  font-size: 4.5rem;
  line-height: .6;
  margin-bottom: .6rem;
  color: var(--amber-500);
}
.citation figcaption { display: inline-flex; align-items: center; gap: 1rem; text-align: left; }
.citation figcaption img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.citation figcaption span { color: var(--ink-300); font-size: 14px; padding-left: 1rem; border-left: 1px solid rgba(255,255,255,.2); }
.citation figcaption strong { display: block; color: #fff; font-size: 1rem; }

/* Équipe (aperçu) : fondateurs dans le bandeau réseau */
.team-fondateurs { grid-column: 2; display: flex; flex-wrap: wrap; gap: .75rem 1.75rem; margin-top: .6rem; font-size: 13px; color: var(--ink-300); }
.team-fondateurs span { display: inline-flex; align-items: center; gap: .55rem; }
.team-fondateurs img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.team-fondateurs b { color: #fff; font-weight: 600; }
@media (max-width: 600px) { .team-fondateurs { grid-column: auto; } }

/* Bandeau final « Concrétisons votre projet ensemble » */
.section-cta-final { padding: 0 0 var(--section-pad-y); background: var(--cream); }
.cta-final {
  display: flex; justify-content: space-between; align-items: center; gap: 2rem;
  padding: 2.5rem 3rem;
  background: var(--amber-500);
  border-radius: 16px;
}
.cta-final h2 { margin-bottom: .5rem; }
.cta-final .amber-word { color: var(--amber-700); }
.cta-final p { color: var(--ink-800); max-width: 60ch; margin: 0; }
.cta-final .btn-primary { background: var(--ink-900); color: #fff; border-color: var(--ink-900); flex-shrink: 0; }
@media (max-width: 800px) { .cta-final { flex-direction: column; align-items: flex-start; padding: 2rem 1.5rem; } }

/* ═══════════════════════════════════════════════════════════════
   PAGE EXPERTISES — catégories détaillées (ancres du méga-menu)
   ═══════════════════════════════════════════════════════════════ */
.exp-section:nth-of-type(even) { background: var(--cream-warm); }
.exp-section { scroll-margin-top: 90px; }
.exp-section-tete { display: flex; gap: 1.25rem; align-items: flex-start; margin-bottom: 2.25rem; max-width: 760px; }
.exp-section-tete .persona-illustration { width: 56px; height: 56px; margin: 0; flex-shrink: 0; }
.exp-section-tete .persona-illustration svg { width: 28px; height: 28px; }
.exp-section-tete h2 { margin-bottom: .4rem; }
.exp-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.exp-item { padding: 1.4rem; background: var(--white); border: 1px solid var(--ink-200); scroll-margin-top: 100px; }
.exp-item:target { border-color: var(--blue-500); box-shadow: 0 0 0 3px var(--blue-100); }
.exp-item h3 { font-size: 1.05rem; margin-bottom: .45rem; }
.exp-item p { font-size: 14px; color: var(--ink-700); line-height: 1.55; margin: 0; }

/* Onglets écosystème : défilement horizontal sur petit écran (sinon la page déborde) */
@media (max-width: 700px) {
  .expertise-tabs { overflow-x: auto; flex-wrap: nowrap; max-width: 100%; }
  .expertise-tab { flex-shrink: 0; }
}

.values-grid.values-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 800px) { .values-grid.values-grid--3 { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════════════════
   CONFIANCE — robustesse, sécurité, souveraineté, données (accueil)
   ═══════════════════════════════════════════════════════════════ */
.section-confiance { padding: var(--section-pad-y) 0; background: var(--white); }
.piliers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.pilier { padding: 1.5rem; border: 1px solid var(--ink-200); border-radius: 14px; background: var(--cream); }
.pilier .persona-illustration { width: 46px; height: 46px; margin-bottom: 1rem; }
.pilier .persona-illustration svg { width: 24px; height: 24px; }
.pilier h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.pilier p { font-size: 14px; color: var(--ink-700); line-height: 1.55; margin: 0; }
@media (max-width: 1100px) { .piliers { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px)  { .piliers { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════════════════
   PAGE FAQ — questions en accordéon, regroupées par thème
   ═══════════════════════════════════════════════════════════════ */
.faq .faq-groupe { max-width: 860px; }
.faq-groupe + .faq-groupe { margin-top: 3rem; }
.faq-groupe-tete { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.faq-groupe-tete .persona-illustration { width: 46px; height: 46px; margin: 0; flex-shrink: 0; }
.faq-groupe-tete .persona-illustration svg { width: 24px; height: 24px; }
.faq-groupe-tete h2 { font-size: 1.5rem; margin: 0; }
.faq-item { background: var(--white); border: 1px solid var(--ink-200); margin-bottom: .6rem; }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.1rem 1.25rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink-900);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--amber-100);
  color: var(--blue-700);
  font-size: 1.2rem;
  transition: transform .2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--blue-700); }
.faq-item p { margin: 0; padding: 0 1.25rem 1.25rem; color: var(--ink-700); line-height: 1.65; }

/* ═══════════════════════════════════════════════════════════════
   MENU MOBILE (≤ 1100 px) — panneau sous la barre, sous-menus en accordéon
   Ouvert par .nav.is-open (bouton hamburger), sous-menu par .nav-item.is-sub-open
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .nav-toggle span { transition: transform .25s, opacity .2s; }
  .nav.is-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav.is-open { background: var(--cream); }
  .nav.is-open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    padding: .25rem var(--container-pad) 1.5rem;
    background: var(--cream);
    border-top: 1px solid var(--ink-200);
    box-shadow: 0 18px 30px rgba(38, 37, 36, .12);
    max-height: calc(100vh - 64px);
    max-height: calc(100dvh - 64px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .nav.is-open .nav-links > li { border-bottom: 1px solid var(--ink-200); }
  .nav.is-open .nav-links > li:last-child { border-bottom: 0; padding-top: 1.25rem; }
  .nav.is-open .nav-link {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 1rem 0;
    font-size: 17px;
    color: var(--ink-900);
  }
  .nav.is-open .nav-link.is-active::before { display: none; }
  .nav.is-open .nav-link.has-menu::after { font-size: .9em; }
  .nav.is-open .nav-link.has-menu:hover::after { transform: none; }
  .nav.is-open .nav-item.is-sub-open > .nav-link.has-menu::after { transform: rotate(180deg); }
  .nav.is-open .nav-cta { display: flex; justify-content: center; width: 100%; padding: 1rem; font-size: 15px; }

  /* Sous-menu : le méga-menu devient une simple liste dans le panneau */
  .nav.is-open .nav-item.is-sub-open .megamenu {
    display: block;
    position: static;
    width: auto;
    margin: 0;
    padding: 0 0 1rem;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }
  .nav.is-open .megamenu::before,
  .nav.is-open .megamenu-footer,
  .nav.is-open .megamenu-section-label,
  .nav.is-open .produit-capture,
  .nav.is-open .menu-lien small { display: none; }
  .nav.is-open .expertises-grid,
  .nav.is-open .produits-grid,
  .nav.is-open .apropos-grid { display: flex; flex-direction: column; gap: .15rem; }
  .nav.is-open .menu-lien .persona-illustration { width: 34px; height: 34px; }
  .nav.is-open .menu-lien { align-items: center; padding: .55rem; }

  body.menu-ouvert { overflow: hidden; }
}

/* Barre de navigation fixe au défilement : le conteneur injecté #site-header ne doit pas
   borner le position: sticky de .nav (sinon la barre part avec lui). Le bandeau du haut défile. */
#site-header { display: contents; }

/* ═══════════════════════════════════════════════════════════════
   EXPERTISES v2 — 4 domaines illustrés d'exemples concrets
   ═══════════════════════════════════════════════════════════════ */
.megamenu.megamenu-expertises { width: min(640px, calc(100vw - 32px)); padding: 1.25rem; }
/* « Expertises » est le PREMIER onglet de la nav, mais il porte aussi
   .megamenu-small qui aligne le panneau sur le bord DROIT de l'onglet
   (regle prevue pour « A propos », dernier onglet). Resultat : un panneau
   de 640px partait hors ecran a gauche. On l'aligne donc sur le bord
   gauche de l'onglet, pour qu'il s'ouvre vers la droite. */
.megamenu.megamenu-expertises { left: 0; right: auto; }
.expertises-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .25rem 1rem; }

.exp-carte-lien { display: inline-block; margin-top: .25rem; font-size: 13.5px; font-weight: 600; color: var(--blue-700); }
.exp-carte:hover .exp-carte-lien { text-decoration: underline; }

.exp-domaine {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: start;
}
.exp-domaine .exp-section-tete { margin-bottom: 0; }
.exp-exemples { background: var(--white); border: 1px solid var(--ink-200); padding: 1.5rem 1.75rem; }
.exp-exemples-titre {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--amber-600);
  margin-bottom: .75rem;
}
.exp-exemples ul { list-style: none; margin: 0; padding: 0; }
.exp-exemples li {
  position: relative;
  padding: .7rem 0 .7rem 1.4rem;
  border-top: 1px solid var(--ink-200);
  color: var(--ink-800);
  line-height: 1.5;
}
.exp-exemples li:first-child { border-top: 0; }
.exp-exemples li::before {
  content: "";
  position: absolute;
  left: 0; top: 1.2rem;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--blue-teal);
}
.exp-exemples a { color: inherit; text-decoration: none; }
.exp-exemples a::after { content: " →"; color: var(--blue-700); font-weight: 600; }
.exp-exemples a:hover { color: var(--blue-700); }
@media (max-width: 900px) { .exp-domaine { grid-template-columns: 1fr; gap: 1.5rem; } }

/* ═══════════════════════════════════════════════════════════════
   PAGE NOS CLIENTS — tuiles logo, explication au survol
   Écran tactile (pas de survol) : l'explication s'affiche sous le logo.
   ═══════════════════════════════════════════════════════════════ */
.clients-grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
@media (max-width: 900px)  { .clients-grille { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px)  { .clients-grille { grid-template-columns: 1fr; } }

.client-tuile {
  position: relative;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  background: var(--white);
  border: 1px solid var(--ink-200);
}
.client-face, .client-face img { width: 100%; height: 100%; display: block; }
.client-face img { object-fit: cover; transition: transform .45s var(--ease-smooth); }
.client-nom-seul {
  display: grid; place-items: center;
  width: 100%; height: 100%;
  padding: 1.5rem;
  background: var(--fond);
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 600;
  text-align: center;
  line-height: 1.15;
  letter-spacing: .01em;
}
.client-info {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .45rem;
  padding: 1.75rem;
  overflow: hidden;
  background: rgba(38, 37, 36, .94);
  color: var(--ink-200);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .3s, transform .3s var(--ease-smooth);
}
.client-info h2 { color: #fff; font-size: 1.3rem; margin: 0; }
.client-lieu { font-size: 12.5px; color: var(--amber-400); }
.client-info p { font-size: 13.5px; line-height: 1.5; margin: .2rem 0 .3rem; }
.client-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.client-tags li { font-size: 11px; padding: .2rem .55rem; border-radius: 999px; background: rgba(255,255,255,.12); color: #fff; }
.client-lien { margin-top: .4rem; font-size: 13.5px; font-weight: 600; color: var(--amber-500); }

@media (hover: hover) {
  .client-tuile:hover .client-info,
  .client-tuile:focus-visible .client-info { opacity: 1; transform: none; }
  .client-tuile:hover .client-face img { transform: scale(1.05); }
}
/* Tactile : pas de survol, l'explication passe sous le logo */
@media (hover: none) {
  .client-tuile { aspect-ratio: auto; }
  .client-face { aspect-ratio: 1; }
  .client-info { position: static; opacity: 1; transform: none; background: var(--ink-900); }
}

.client-tuile--vous .client-info { background: rgba(28, 60, 90, .95); }

/* Accueil : lien discret à côté du bouton d'en-tête */
.section-tete-liens { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.lien-discret { font-size: 14px; font-weight: 600; color: var(--blue-700); text-decoration: none; }
.lien-discret:hover { text-decoration: underline; }

/* Menu à 6 entrées : on resserre un peu entre 1000 et 1200 px */
@media (min-width: 1101px) and (max-width: 1200px) { .nav-links { gap: 1.25rem; } }

.client-tuile:not(a) { cursor: default; }

/* Tuiles illustrées (capture ou illustration) : nom du client en étiquette */
.client-face { position: relative; }
.client-badge {
  position: absolute;
  left: 1rem; bottom: 1rem;
  padding: .45rem .85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  color: var(--ink-900);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
}
.client-face--vous {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem;
  background: var(--cream-warm);
  border: 2px dashed var(--ink-300);
  border-radius: 14px;
  color: var(--ink-700);
}
.client-plus {
  display: grid; place-items: center;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--blue-700);
  color: #fff;
  font-size: 2.2rem;
  line-height: 1;
}
.client-vous-texte { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; }
.client-tuile--vous { border: 0; background: transparent; }

.realisation-accroche { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--ink-900); line-height: 1.35; margin-bottom: .8rem; }

/* Accroche : « à forte valeur ajoutée. » en bleu et en gras */
.hero h1 strong.amber-word { font-weight: 700; }

/* Lisibilité mobile : aucune étiquette sous 11 px */
.real-mini .realisation-tag { font-size: 11px; }

/* Restauré : styles supprimés par erreur lors du nettoyage du menu Expertises (commit 64323af) */
/* Méthode en 5 étapes + délai affiché */
.method-steps--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.1rem; }
.method-steps--5 .method-step { padding: 1.6rem 1.25rem; }
@media (max-width: 1100px) { .method-steps--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 800px)  { .method-steps--5 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px)  { .method-steps--5 { grid-template-columns: 1fr; } }
.method-step-delai {
  display: inline-block;
  margin: -.35rem 0 .9rem;
  padding: .25rem .6rem;
  border-radius: 999px;
  background: var(--amber-500);
  color: var(--amber-700);
  font-size: 12px;
  font-weight: 600;
}

/* Réalisations : gains chiffrés */
.real-gains { list-style: none; margin: 0 0 1.25rem; padding: 0; display: grid; gap: .6rem; }
.real-gains li {
  display: grid;
  grid-template-columns: 7.2rem 1fr;
  gap: .9rem;
  align-items: baseline;
  padding: .55rem 0;
  border-top: 1px solid var(--ink-200);
}
.real-gains strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.1;
  color: var(--blue-700);
}
.real-gains span { font-size: 14px; color: var(--ink-700); line-height: 1.45; }
.real-carte .real-gains li { grid-template-columns: 1fr; gap: .15rem; }
.real-carte .real-gains strong { font-size: 1.2rem; color: var(--real); filter: brightness(.82); }
.real-note { margin-top: 1.5rem; font-size: 12.5px; color: var(--ink-500); }

/* Équipe : réseau de développeurs */
.team-reseau {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .5rem 1.75rem;
  align-items: center;
  margin-top: 2rem;
  padding: 1.75rem 2rem;
  border-radius: var(--radius);
  background: var(--ink-900);
  color: var(--ink-200);
  line-height: 1.6;
}
.team-reseau-chiffre {
  grid-row: span 2;
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 600;
  line-height: 1;
  color: var(--amber-500);
}
.team-reseau-texte strong { display: block; color: #fff; font-size: 1.15rem; margin-bottom: .25rem; }
.team-reseau-tags { list-style: none; margin: .4rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.team-reseau-tags li {
  font-size: 12px;
  padding: .3rem .7rem;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  color: #fff;
}
@media (max-width: 600px) {
  .team-reseau { grid-template-columns: 1fr; padding: 1.5rem; }
  .team-reseau-chiffre { grid-row: auto; font-size: 3rem; }
  .real-gains li { grid-template-columns: 1fr; gap: .15rem; }
}


/* ═══════════════════════════════════════════════════════════════
   PAGE LIVRES BLANCS — couverture + résumé + téléchargement
   ═══════════════════════════════════════════════════════════════ */
.lb-liste { display: grid; gap: 2rem; max-width: 1000px; }
.lb-carte {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 2.25rem;
  align-items: center;
  padding: 1.75rem;
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: 16px;
  scroll-margin-top: 100px;
}
.lb-couverture { display: block; }
.lb-couverture img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 14px 30px rgba(38, 37, 36, .22);
  transform: rotate(-1.5deg);
  transition: transform .3s var(--ease-smooth);
}
.lb-carte:hover .lb-couverture img { transform: rotate(0) translateY(-4px); }
.lb-corps h2 { font-size: clamp(1.3rem, 2.2vw, 1.65rem); line-height: 1.25; margin: .2rem 0 .8rem; }
.lb-corps p { color: var(--ink-700); line-height: 1.6; margin-bottom: .9rem; }
.lb-pour { font-size: 14px; }
.lb-pour strong { color: var(--ink-900); }
.lb-corps .btn { margin-top: .3rem; }
@media (max-width: 700px) {
  .lb-carte { grid-template-columns: 1fr; padding: 1.25rem; gap: 1.5rem; }
  .lb-couverture { max-width: 200px; }
}

/* ═══════════════════════════════════════════════════════════════
   PARLONS IA — livres blancs envoyés contre une adresse e-mail
   ═══════════════════════════════════════════════════════════════ */
.pia-liste { display: grid; gap: 2rem; max-width: 1040px; }
.pia-livre {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 2.5rem;
  align-items: start;
  padding: 2rem;
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: 16px;
  scroll-margin-top: 100px;
}
.pia-couverture img {
  display: block; width: 100%; height: auto;
  border-radius: 6px;
  box-shadow: 0 14px 30px rgba(38, 37, 36, .22);
  transform: rotate(-1.5deg);
  transition: transform .3s var(--ease-smooth);
}
.pia-livre:hover .pia-couverture img { transform: rotate(0) translateY(-4px); }
.pia-corps h2 { font-size: clamp(1.3rem, 2.2vw, 1.65rem); line-height: 1.25; margin: .2rem 0 .8rem; }
.pia-corps > p { color: var(--ink-700); line-height: 1.6; margin-bottom: .9rem; }
.pia-points { list-style: none; margin: 0 0 1.4rem; padding: 0; }
.pia-points li { position: relative; padding: .3rem 0 .3rem 1.4rem; color: var(--ink-800); line-height: 1.5; }
.pia-points li::before {
  content: ""; position: absolute; left: 0; top: .78rem;
  width: 8px; height: 8px; border-radius: 50%; background: var(--blue-teal);
}

.pia-form { padding: 1.25rem; background: var(--cream); border-radius: 12px; }
.pia-label { display: block; font-weight: 600; color: var(--ink-900); margin-bottom: .6rem; }
.pia-ligne { display: flex; gap: .6rem; flex-wrap: wrap; }
.pia-ligne input {
  flex: 1 1 240px;
  min-width: 0;
  padding: .8rem 1rem;
  font: inherit;
  font-size: 16px;               /* pas de zoom automatique sur iPhone */
  border: 1px solid var(--ink-300);
  border-radius: 8px;
  background: var(--white);
}
.pia-ligne input:focus { outline: 2px solid var(--blue-500); outline-offset: 1px; border-color: var(--blue-500); }
.pia-ligne .btn { flex: 0 0 auto; }
.pia-optin { display: flex; gap: .55rem; align-items: flex-start; margin-top: .75rem; font-size: 13px; color: var(--ink-700); line-height: 1.45; cursor: pointer; }
.pia-optin input { margin-top: .2rem; flex-shrink: 0; }
.pia-message { margin: .75rem 0 0; font-size: 14.5px; }
.pia-message:empty { display: none; }
.pia-message.ok { color: #2F6B45; font-weight: 600; }
.pia-message.ok a { color: var(--blue-700); }
.pia-message.erreur { color: #B3402A; }
.pia-rgpd { font-size: 13px; color: var(--ink-500); line-height: 1.55; max-width: 760px; }

@media (max-width: 760px) {
  .pia-livre { grid-template-columns: 1fr; padding: 1.25rem; gap: 1.5rem; }
  .pia-couverture { max-width: 190px; }
  .pia-ligne .btn { width: 100%; justify-content: center; }
}

/* Menu à 7 entrées : resserré entre 1000 et 1280 px */
@media (min-width: 1101px) and (max-width: 1280px) {
  .nav-links { gap: 1rem; }
  .nav-link { font-size: 14px; }
  .nav-cta { padding: .55rem 1rem; }
}
.pia-form [hidden] { display: none !important; }

/* ═══════════════════════════════════════════════════════════════
   PARLONS IA — aperçu animé : le livre s'ouvre (couverture qui tourne)
   ═══════════════════════════════════════════════════════════════ */
.pia-couverture {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  font: inherit;
}
.pia-feuilleter {
  position: absolute;
  left: 50%; bottom: 1rem;
  transform: translateX(-50%);
  padding: .45rem .9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .95);
  color: var(--ink-900);
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .2);
  white-space: nowrap;
  transition: transform .2s var(--ease-smooth);
}
.pia-feuilleter::before { content: "\25B8\00a0"; color: var(--blue-700); }
.pia-couverture:hover .pia-feuilleter,
.pia-couverture:focus-visible .pia-feuilleter { transform: translateX(-50%) translateY(-3px); }

.lb-apercu { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 1rem; }
.lb-apercu[hidden] { display: none; }
.lb-apercu-fond {
  position: absolute; inset: 0;
  background: rgba(20, 20, 19, .82);
  opacity: 0; transition: opacity .25s;
}
.lb-apercu-boite {
  position: relative;
  width: min(1000px, 100%);
  display: flex; flex-direction: column; align-items: center; gap: 1.25rem;
  opacity: 0; transform: translateY(12px) scale(.98);
  transition: opacity .25s, transform .25s var(--ease-smooth);
}
.lb-apercu.visible .lb-apercu-fond,
.lb-apercu.visible .lb-apercu-boite { opacity: 1; }
.lb-apercu.visible .lb-apercu-boite { transform: none; }
.lb-fermer {
  position: absolute; top: -.5rem; right: 0; z-index: 3;
  width: 44px; height: 44px;
  border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  color: #fff; font-size: 1.8rem; line-height: 1;
  cursor: pointer;
}
.lb-fermer:hover { background: rgba(255, 255, 255, .26); }

/* Le livre : deux pages côte à côte (ratio A4 ≈ 0,707), hauteur bornée par l'écran */
.livre {
  --page-h: min(78vh, calc((min(1000px, 100vw - 2rem) / 2) / .7071));
  position: relative;
  height: var(--page-h);
  width: calc(var(--page-h) * .7071 * 2);
  perspective: 2400px;
  cursor: pointer;
  transform: translateX(-25%);                 /* fermé : la couverture est centrée */
  transition: transform 1.1s cubic-bezier(.3, .7, .2, 1);
}
.livre.ouvert { transform: none; }
.livre-page, .livre-couv {
  position: absolute; top: 0; left: 50%;
  width: 50%; height: 100%;
}
.livre-page { object-fit: cover; background: #fff; box-shadow: 0 20px 50px rgba(0, 0, 0, .45); }
.livre-couv {
  transform-origin: left center;
  transform-style: preserve-3d;
  transition: transform 1.1s cubic-bezier(.3, .7, .2, 1);
  z-index: 2;
}
.livre.ouvert .livre-couv { transform: rotateY(-180deg); }
.livre-face {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .45);
}
.livre-arriere { transform: rotateY(180deg); background: #fff; }
/* Pli central : léger ombrage sur les deux pages ouvertes */
.livre.ouvert .livre-droite { box-shadow: inset 18px 0 24px -18px rgba(0,0,0,.35), 0 20px 50px rgba(0,0,0,.45); }

.lb-apercu-pied { position: relative; color: var(--ink-200); font-size: 14px; text-align: center; margin: 0; }
.lb-apercu-pied a { color: var(--amber-500); font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  .livre, .livre-couv, .lb-apercu-boite, .lb-apercu-fond { transition: none; }
}
body.apercu-ouvert { overflow: hidden; }

/* Aperçu sur téléphone : une page à la fois, en grand (le livre déborde de l'écran, on le fait glisser) */
.lb-astuce { display: none; }
@media (max-width: 640px) {
  .lb-apercu { overflow: hidden; padding: .5rem; }
  .livre { --page-h: min(72vh, calc(86vw / .7071)); }
  .livre.ouvert { transform: translateX(25%); }          /* page 2 (dos de la couverture) au centre */
  .livre.ouvert.droite { transform: translateX(-25%); }  /* page 3 au centre */
  .lb-astuce { display: inline; }
  .lb-fermer { top: auto; bottom: calc(100% + .25rem); }
}

/* Aperçu : la boîte reste à la largeur de l écran, le livre (plus large sur téléphone) déborde centré */
.lb-apercu { grid-template-columns: minmax(0, 1fr); }
.lb-apercu-boite { width: 100%; max-width: 1000px; min-width: 0; justify-self: center; }
.livre { flex-shrink: 0; }

/* ═══════════════════════════════════════════════════════════════
   PARLONS IA — barre de raccourcis vers les livres blancs (collée sous le menu)
   ═══════════════════════════════════════════════════════════════ */
.pia-onglets {
  position: sticky;
  top: var(--hauteur-nav, 76px);   /* juste sous la barre de navigation (mesurée par shared.js) */
  z-index: 50;
  background: rgba(248, 245, 241, .96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ink-200);
}
.pia-onglets .container { display: flex; align-items: center; gap: 1.25rem; padding-top: .5rem; padding-bottom: .5rem; }
.pia-onglets-titre {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--amber-600);
}
.pia-onglets-liste {
  display: flex;
  gap: .6rem;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
  min-width: 0;
}
.pia-onglets-liste::-webkit-scrollbar { display: none; }
.pia-onglet {
  flex-shrink: 0;
  padding: .32rem .9rem;
  border: 1px solid var(--ink-200);
  border-radius: 999px;
  background: transparent;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
  color: var(--ink-700);
  scroll-snap-align: center;
  transition: border-color .2s, background .2s, color .2s;
}
.pia-onglet:hover { border-color: var(--ink-400); color: var(--ink-900); }
.pia-onglet.actif { background: var(--ink-900); border-color: var(--ink-900); color: #fff; }
/* html a déjà scroll-padding-top: 100px ; on ajoute de quoi passer sous la barre de raccourcis */
.pia-livre { scroll-margin-top: calc(var(--hauteur-nav, 76px) + 64px - 100px); }
@media (max-width: 760px) {
  .pia-onglets-titre { display: none; }
  .pia-onglets .container { padding-left: 0; padding-right: 0; }
  .pia-onglets-liste { padding: 0 var(--container-pad); }
}

/* ═══════════════════════════════════════════════════════════════
   PROBLEMATIQUES — « Vous vous reconnaissez ? »
   Le symptome dans les mots du dirigeant, puis notre reponse.
   Placee haut sur l'accueil : on se reconnait avant qu'on nous
   parle d'expertises.
   ═══════════════════════════════════════════════════════════════ */

.section-problematiques {
  padding: var(--section-pad-y) 0;
  background: var(--cream-warm);
  border-top: 1px solid var(--ink-200);
}

.probl-entete { max-width: 700px; margin-bottom: 2.5rem; }
.probl-entete h2 { margin-bottom: 1rem; }

.probl-grille {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 980px) { .probl-grille { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .probl-grille { grid-template-columns: 1fr; } }

.probl-carte {
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-left: 3px solid var(--amber-500);
  padding: 1.6rem 1.5rem;
  display: flex;
  flex-direction: column;
  transition: border-color .2s var(--ease-smooth);
}
.probl-carte:hover { border-color: var(--ink-900); border-left-color: var(--amber-600); }

/* Le symptome : ce que le dirigeant dit, tel qu'il le dit */
.probl-symptome {
  font-size: 1.02rem;
  line-height: 1.5;
  color: var(--ink-900);
  margin-bottom: 1rem;
  flex: 1;
}

/* Notre reponse, detachee par un filet */
.probl-reponse {
  font-size: .92rem;
  line-height: 1.55;
  color: var(--ink-700);
  padding-top: 1rem;
  border-top: 1px solid var(--ink-200);
}
.probl-reponse a {
  color: var(--blue-700);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.probl-reponse a:hover { color: var(--ink-900); }

/* Etiquette de theme, en mono comme le reste des labels */
.probl-theme {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--amber-600);
  margin-bottom: .75rem;
}

.probl-pied {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--ink-200);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.probl-pied-texte { color: var(--ink-700); font-size: .98rem; }
