:root {
  --bg: #E8EDF2;            /* Bleu-gris clair frais - tonalite professionnelle */
  --bg-warm: #DDE4EC;        /* Variante plus prononcee pour sections speciales */
  --paper: #ffffff;
  --ink: #111827;
  --muted: #5f6b7a;
  --line: #c8d2dd;           /* Bordure ajustee au fond bleu-gris */
  --navy: #18233a;
  --blue: #275f8f;
  --teal: #2f766d;
  --amber: #b7791f;
  --copper: #c08552;         /* Accent cuivre profond */
  --red: #8f2d2d;
  --green: #2f6b45;
  --shadow: 0 16px 40px rgba(17, 24, 39, 0.12);
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
  /* Sprint 26z14s — Triple ceinture contre overflow horizontal :
     1) `overflow-x: clip` (plus dur que hidden, ne crée PAS de scroll container, support: Chrome 90+, Safari 16+, Firefox 81+)
     2) Fallback `overflow-x: hidden` pour navigateurs anciens
     3) `width: 100%` (volontairement PAS 100vw qui inclut la scrollbar et crée parfois le bug qu'on essaie de fixer) */
  overflow-x: hidden;
  overflow-x: clip;
  width: 100%;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  overflow-x: clip;
  width: 100%;
  position: relative;
  overscroll-behavior-x: none;
}

/* Sprint 26z14s — Filet de sécurité : aucun enfant direct du body ne peut dépasser le viewport.
   Exceptions explicites pour les éléments fixed du module premium nav (déjà constraints individuellement). */
body > *:not(.psf-bottom-sheet):not(.psf-bottom-sheet-backdrop):not(#psf-scroll-progress):not(.psf-tab-bar):not(.psf-fab):not(#psf-pull-indicator) {
  max-width: 100%;
}

/* Sprint 26z14p — Défense en profondeur contre l'overflow horizontal sur iOS Safari.
   Garantit qu'aucun descendant clé ne peut excéder la largeur du viewport. */
.section,
.section-premium-dark,
.section-inner,
.booking-calendar,
.booking-days,
.booking-card,
.form,
.form-grid,
header.site-header,
nav.site-nav,
main,
footer.site-footer {
  max-width: 100%;
  box-sizing: border-box;
}
.section-premium-dark {
  overflow-x: hidden;
  overflow-x: clip;
}

/* Form fields ne peuvent jamais excéder leur conteneur (gros <option> long dans <select>) */
.form input,
.form select,
.form textarea,
.form button {
  max-width: 100%;
  box-sizing: border-box;
}
/* Defensive: tout enfant de grid/flex doit pouvoir rétrécir au lieu de pousser ses voisins */
.grid > *,
.form-grid > *,
.booking-days > *,
.actions > * {
  min-width: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  background: var(--navy);
  color: #fff;
  padding: .7rem 1rem;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  /* Sprint 18BC : 4 colonnes pour accueillir le toggle FR/EN à droite */
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  background: rgba(232, 237, 242, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

/* Sprint 18BC : Toggle FR/EN */
.lang-toggle {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  font-family: 'Inter Tight', Inter, sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
}
.lang-toggle-btn {
  padding: .4rem .65rem;
  color: var(--ink, #111);
  text-decoration: none !important;
  transition: background .15s ease, color .15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
}
.lang-toggle-btn:hover:not(.active) {
  background: rgba(244, 196, 101, .12);
  color: var(--copper, #C97F1F);
}
.lang-toggle-btn.active {
  background: linear-gradient(135deg, #F4C465 0%, #E5A340 100%);
  color: #0E1A3A;
  cursor: default;
}
.lang-toggle-btn + .lang-toggle-btn {
  border-left: 1px solid var(--line);
}
@media (max-width: 768px) {
  .site-header { grid-template-columns: auto auto 1fr auto; }
  .lang-toggle { font-size: .72rem; }
  .lang-toggle-btn { padding: .35rem .55rem; min-width: 24px; }
}

/* Sprint 23 : Bouton "Installer l'app" du menu mobile SUPPRIMÉ
   (doublon avec celui du header). Le bouton header .site-header-install reste visible
   sur mobile (header sticky toujours en haut, accessible sans ouvrir le menu). */
.nav-install-mobile { display: none !important; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
  transition: opacity .2s ease;
}
.brand:hover { opacity: .85; }
.brand:hover .brand-mark { transform: rotate(12deg) scale(1.04); }

/* Mark SVG inline — le P de PROCESPHERE vient se loger dans l ouverture
   (l ouverture occupe ~30 % de la largeur droite du SVG, soit ~12 px sur 42 px). */
.brand-mark {
  width: 2.6rem;
  height: 2.6rem;
  flex-shrink: 0;
  margin-right: -0.75rem;       /* chevauche le wordmark de ~12 px */
  filter: drop-shadow(0 4px 10px rgba(59, 125, 216, .18));
  transition: transform .4s cubic-bezier(.34, 1.56, .64, 1);
}

/* ═══════════════════════════════════════════════════════════════
   PROTECTION LOGO : anti-selection, anti-drag, anti-save UX
   + TAILLES STRICTES (forcees au cas ou le CSS cache des navigateurs)
   ═══════════════════════════════════════════════════════════════ */
.brand-mark,
.footer-mark,
.modal-mark,
.not-found-mark,
.premium-mark-icon {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
  pointer-events: none;
  -webkit-touch-callout: none;
}
.brand { -webkit-user-drag: none; user-drag: none; }
.brand:hover .brand-mark { pointer-events: auto; }

/* TAILLES STRICTES — !important pour eviter tout debordement
   meme si une autre regle CSS tente de l agrandir. */
.brand-mark         { width: 2.6rem !important; height: 2.6rem !important; max-width: 2.6rem !important; max-height: 2.6rem !important; }
.footer-mark        { width: 2.4rem !important; height: 2.4rem !important; max-width: 2.4rem !important; max-height: 2.4rem !important; }
.modal-mark         { width: 3.2rem !important; height: 3.2rem !important; max-width: 3.2rem !important; max-height: 3.2rem !important; }
.not-found-mark     { width: 5rem   !important; height: 5rem   !important; max-width: 5rem   !important; max-height: 5rem   !important; }
.premium-mark-icon  { width: 1.05rem !important; height: 1.05rem !important; max-width: 1.05rem !important; max-height: 1.05rem !important; }

/* Garde-fou ULTIME : tout SVG inline DOIT etre limite a 100% de son parent
   et le conteneur global du <symbol> est invisible coute que coute. */
svg { max-width: 100%; }
svg[width="0"][height="0"],
svg[aria-hidden="true"][width="0"] {
  position: absolute !important;
  width: 0 !important;
  height: 0 !important;
  max-width: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
  visibility: hidden !important;
  pointer-events: none !important;
  z-index: -9999 !important;
}
svg symbol { display: none !important; }

/* Wordmark : PROCE en navy, SPHERE en gradient or vivant */
.brand-word {
  display: inline-flex;
  font-size: 1.05rem;
  letter-spacing: .04em;
  /* Sprint 22 : empêche la coupure inopportune au milieu de "PROCESPHERE" sur petits écrans */
  white-space: nowrap;
  flex-shrink: 0;
}
.brand-pro {
  color: var(--navy);
}
.brand-sphere {
  background: linear-gradient(135deg, #F4C465 0%, #E5A340 50%, #C97F1F 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
}

/* Animation pulse subtile sur le pivot central du logo */
@keyframes brand-pulse {
  0%, 100% { transform: scale(1); opacity: .9; }
  50%      { transform: scale(1.18); opacity: 1; }
}
.brand-pulse {
  animation: brand-pulse 2.4s ease-in-out infinite;
  transform-origin: 32px 32px;
  transform-box: view-box;
}
@media (prefers-reduced-motion: reduce) {
  .brand-pulse { animation: none; }
  .brand:hover .brand-mark { transform: none; }
}

/* ═══════════════════════════════════════════════════════════════
   LOGO — Déclinaisons par contexte
   ═══════════════════════════════════════════════════════════════ */

/* FOOTER : mark + wordmark inline sur fond navy */
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin-bottom: 1rem;
}
.footer-mark {
  width: 2.4rem;
  height: 2.4rem;
  margin-right: -.65rem;       /* le P chevauche l ouverture */
  flex-shrink: 0;
  filter: drop-shadow(0 0 14px rgba(244, 196, 101, .25));
}
.footer-wordmark {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: .05em;
}
.brand-pro-light {
  color: #fff;
}

/* PREMIUM-MARK : badge en haut des sections dark, avec mini-mark inline */
.premium-mark {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .45rem .9rem .45rem .55rem;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(244, 196, 101, .35);
  border-radius: 999px;
  backdrop-filter: blur(8px);
}
.premium-mark-icon {
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
  /* Le SVG utilise des gradients donc indifferent au color: parent */
}

/* MODAL : mark centré au-dessus du titre */
.modal-mark {
  display: block;
  width: 3.2rem;
  height: 3.2rem;
  margin: 0 auto .85rem;
  filter: drop-shadow(0 6px 16px rgba(59, 125, 216, .2));
}

/* PAGE 404 : version empilée + baseline centrée */
.not-found-section {
  text-align: center;
  padding-top: 3rem;
}
.not-found-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .8rem;
  margin-bottom: 2.5rem;
}
.not-found-mark {
  width: 5rem;
  height: 5rem;
  filter: drop-shadow(0 8px 22px rgba(59, 125, 216, .22));
}
.not-found-word {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: .05em;
}
.not-found-baseline {
  font-style: italic;
  font-weight: 500;
  color: var(--muted);
  font-size: .95rem;
  letter-spacing: .02em;
  margin: 0;
}
.not-found-section .eyebrow {
  margin-top: 1rem;
  color: var(--copper);
}
.not-found-section h1 {
  margin: .8rem auto;
  font-size: clamp(2rem, 4vw, 3rem);
  max-width: 100%;
}
.not-found-section > p {
  max-width: 580px;
  margin: 0 auto 1.5rem;
}
.not-found-section .btn { display: inline-flex; }

.site-nav {
  display: flex;
  justify-content: center;
  gap: .35rem;
  flex-wrap: wrap;
}

.site-nav a {
  padding: .55rem .8rem;
  border-radius: 8px;
  color: var(--ink);
  font-size: .94rem;
  font-weight: 600;
}

.site-nav a:hover,
.site-nav .is-active {
  background: #fff;
  color: var(--ink);
}

.nav-toggle {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  padding: .78rem 1rem;
  border: 1px solid var(--navy);
  border-radius: 8px;
  font-weight: 700;
  background: transparent;
}

.btn.primary {
  background: var(--navy);
  color: #fff;
}

.btn.ghost {
  border-color: var(--line);
  background: #fff;
}

.btn.small {
  min-height: 2.4rem;
  padding: .55rem .8rem;
  background: var(--navy);
  color: #fff;
}

.section {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 6rem) 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .75fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  min-height: calc(100svh - 74px);
}

.eyebrow,
.kicker {
  margin: 0 0 .9rem;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--amber);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 900px;
  font-size: clamp(3.2rem, 7vw, 6.8rem);
  line-height: 1.05;
}

h2 {
  max-width: 820px;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.15;
}

/* Dans une colonne split (largeur reduite), reduire encore h2 pour eviter
   les titres qui debordent verticalement sur 5+ lignes. */
.split h2 {
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  line-height: 1.2;
  max-width: 100%;
}

/* Espacement standardise entre titre et description dans split */
.split > div > h2 + p,
.split > div > .eyebrow + h2 {
  margin-top: .8rem;
}
.split > div > p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.7rem);
}

p {
  color: var(--muted);
}

.lead {
  max-width: 720px;
  font-size: clamp(1.08rem, 1.6vw, 1.35rem);
}

.actions {
  display: flex;
  gap: .8rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.hero-visual {
  position: relative;
  min-height: 440px;
  padding: 1rem;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
  border-radius: 8px;
  overflow: hidden;
}

.signal-bar {
  display: flex;
  gap: .45rem;
  margin-bottom: 1.5rem;
}

.signal-bar span {
  display: block;
  width: .7rem;
  height: .7rem;
  border-radius: 50%;
  background: var(--line);
}

.system-map {
  position: relative;
  height: 300px;
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(39, 95, 143, .08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(39, 95, 143, .08) 1px, transparent 1px);
  background-size: 36px 36px;
  border-radius: 8px;
}

.node {
  position: absolute;
  display: grid;
  place-items: center;
  min-width: 120px;
  min-height: 56px;
  padding: .7rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(17, 24, 39, .08);
}

.node:nth-child(1) { left: 24px; top: 28px; }
.node:nth-child(2) { right: 26px; top: 70px; }
.node:nth-child(3) { left: 60px; bottom: 42px; }
.node:nth-child(4) { right: 44px; bottom: 28px; }
.node.strong { background: var(--navy); color: #fff; }
.node.accent { background: var(--teal); color: #fff; }

.line {
  position: absolute;
  height: 2px;
  background: var(--amber);
  transform-origin: left center;
}

.l1 { width: 155px; left: 144px; top: 74px; transform: rotate(12deg); }
.l2 { width: 160px; left: 130px; bottom: 92px; transform: rotate(-18deg); background: var(--blue); }
.l3 { width: 125px; right: 118px; bottom: 72px; transform: rotate(11deg); background: var(--green); }

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .6rem;
  margin-top: 1rem;
}

.metrics span,
.pillar-row span,
.evidence-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.4rem;
  padding: .5rem .7rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-size: .9rem;
  font-weight: 700;
}

.evidence-list span {
  min-height: 2.9rem;
  padding: .8rem 1.2rem;
  border-radius: 12px;
  font-size: .98rem;
  color: var(--ink);
  text-align: center;
  box-shadow: 0 1px 2px rgba(17, 24, 39, .04);
  transition: transform .15s ease, box-shadow .15s ease;
}

.evidence-list span:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(17, 24, 39, .08);
}

/* ═══════════════════════════════════════════════════════════════
   PORTRAIT FONDATEUR — photo carre bord arrondi, parfaitement centree
   ═══════════════════════════════════════════════════════════════ */
.evidence-with-portrait {
  display: grid;
  gap: .9rem;
  justify-items: center;     /* CENTRE les items horizontalement dans la grille */
}
.evidence-with-portrait > span {
  width: 100%;               /* les pills reprennent toute la largeur */
}
.founder-portrait {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 200px;
  margin: 0 auto .6rem !important;
  padding: 0;
}
.founder-portrait picture,
.founder-portrait img {
  display: block;
  margin: 0 auto;
}
.founder-portrait img {
  width: 120px !important;
  height: 120px !important;
  border-radius: 18px;
  object-fit: cover;
  object-position: center top;
  border: 3px solid #fff;
  box-shadow:
    0 8px 24px rgba(17, 24, 39, .12),
    0 0 0 1px var(--line);
  background: #f5f7fa;
}
.founder-portrait figcaption {
  margin-top: .55rem;
  font-size: .78rem;
  font-style: italic;
  color: var(--muted);
  text-align: center;
  letter-spacing: .01em;
  width: 100%;
}

.strip {
  border-block: 1px solid var(--line);
}

.pillar-row {
  display: flex;
  gap: .7rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.section-head {
  display: grid;
  gap: .8rem;
  margin-bottom: 2rem;
}

.grid {
  display: grid;
  gap: 1rem;
}

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

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

/* Sprint 22 — Cards premium globales (bande or + halo doré + hover lift)
   Style anciennement appliqué uniquement sur /experts et /partenaires via .psf-premium-card,
   désormais étendu à toutes les .card du site public. */
.card {
  position: relative;
  min-height: 260px;
  padding: 28px 26px 26px;
  border: 1px solid #ece4d0;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #fefcf6 100%);
  box-shadow: 0 1px 2px rgba(14, 26, 58, 0.04), 0 8px 24px rgba(14, 26, 58, 0.06);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #F4C465 0%, #C97F1F 50%, #F4C465 100%);
}
.card::after {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(244, 196, 101, 0.18) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.card > * { position: relative; z-index: 1; }
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(14, 26, 58, 0.08), 0 16px 40px rgba(244, 196, 101, 0.12);
  border-color: #F4C465;
}
.card h3 {
  font-family: Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  color: #0E1A3A;
  margin: 0 0 10px;
  letter-spacing: -0.3px;
  line-height: 1.3;
}
.card .kicker {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2.5px;
  color: #C97F1F;
  text-transform: uppercase;
  margin-bottom: 12px;
  padding: 4px 10px;
  background: rgba(244, 196, 101, 0.12);
  border-radius: 999px;
}
.card strong { color: #0E1A3A; font-weight: 700; }

.card.compact {
  min-height: 150px;
  padding: 20px 22px 18px;
}

.card p {
  color: #3a4255;
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 1.2rem;
}
.card p:last-child { margin-bottom: 0; }

.list-card ul,
.article-body ul {
  display: grid;
  gap: .65rem;
  padding-left: 1.1rem;
  color: var(--muted);
}

.list-card li::marker,
.article-body li::marker {
  color: var(--amber);
}

.text-link {
  font-weight: 800;
  color: var(--blue);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
  gap: clamp(1.5rem, 4vw, 3.2rem);
  align-items: center;
}

@media (max-width: 860px) {
  .split {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.evidence-list {
  display: grid;
  gap: .7rem;
}

.timeline {
  display: grid;
  gap: .9rem;
}

.step {
  display: grid;
  grid-template-columns: 4rem 1fr 1.4fr;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.step span {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  font-weight: 900;
}

.form {
  display: grid;
  gap: 1rem;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

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

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note {
  margin: 0;
  font-size: .92rem;
}

label {
  display: grid;
  gap: .45rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 2.8rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: .7rem .8rem;
  font: inherit;
}

textarea {
  resize: vertical;
}

.legal {
  max-width: 900px;
}

.legal h1 {
  font-size: clamp(2.4rem, 5vw, 4.8rem);
}

.legal h2 {
  margin-top: 2rem;
  font-size: 1.5rem;
}

.article-body {
  max-width: 900px;
}

.article-body h2 {
  margin-top: 2.6rem;
  margin-bottom: .95rem;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.2;
}

.article-body h3 {
  margin-top: 2rem;
  margin-bottom: .6rem;
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  line-height: 1.3;
}

.article-body p {
  font-size: 1.06rem;
  line-height: 1.75;
  margin-bottom: 1.2rem;
}

.article-body p:last-child { margin-bottom: 0; }

.article-body > figure,
.article-body figure.article-img,
.article-body figure.article-gallery {
  margin: 2rem 0;
}

.article-body blockquote {
  margin: 2rem 0;
}

.article-cta {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(250px, .85fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  background: linear-gradient(135deg, #0E1A3A, #18233a);
  color: #fff;
  border-radius: 18px;
  padding: clamp(1.6rem, 4vw, 2.8rem);
  box-shadow: 0 18px 50px rgba(14, 26, 58, .18);
  border: 1px solid rgba(244, 196, 101, .25);
}

.article-cta .eyebrow { color: var(--gold); }
.article-cta h2 { color: #fff; margin: .25rem 0 .55rem; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.article-cta .article-cta-main p { color: rgba(255, 255, 255, .82); font-size: 1.02rem; line-height: 1.65; }

.article-cta-reassure {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .75rem;
}

.article-cta-reassure li {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-weight: 600;
  font-size: .98rem;
  color: #fff;
}

.article-cta-reassure li .psf-icon { color: var(--gold); flex-shrink: 0; }

.article-cta .btn.primary {
  background: var(--gold);
  color: #0E1A3A;
  border: none;
  font-weight: 800;
}
.article-cta .btn.primary:hover { background: #ffd680; }

.article-cta .btn.ghost {
  background: rgba(255, 255, 255, .06);
  border: 1.5px solid rgba(244, 196, 101, .55);
  color: #fff;
}
.article-cta .btn.ghost:hover {
  background: rgba(244, 196, 101, .12);
  border-color: var(--gold);
}

@media (max-width: 760px) {
  .article-cta { grid-template-columns: 1fr; padding: 1.5rem 1.3rem; gap: 1.2rem; }
  .article-cta .actions { display: flex; flex-direction: column; gap: .6rem; }
  .article-cta .actions .btn { width: 100%; text-align: center; justify-content: center; }
}

.notice {
  padding: 1rem;
  border-left: 4px solid var(--amber);
  background: #fff;
  border-radius: 8px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  padding: 2rem clamp(1rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
  background: var(--navy);
  color: #fff;
}

/* Sprint 12 : icônes réseaux sociaux dans le footer */
.footer-social {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
}
.footer-social li { margin: 0; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.85);
  text-decoration: none;
  transition: background .15s ease, color .15s ease, transform .15s ease;
}
.footer-social a:hover {
  background: linear-gradient(135deg, #F4C465, #C97F1F);
  color: #0E1A3A;
  transform: translateY(-2px);
}
.footer-social svg { display: block; }

.site-footer p,
.site-footer a {
  color: rgba(255,255,255,.78);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem 1rem;
  justify-content: end;
}

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

  .site-header > .btn.small {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    justify-content: center;
    padding: .55rem .8rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    font-weight: 800;
  }

  .site-nav {
    display: none;
    grid-column: 1 / -1;
    justify-content: start;
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero,
  .split,
  .grid.three,
  .grid.two,
  .form-grid,
  .step,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 380px;
  }

  .site-footer nav {
    justify-content: start;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: clamp(2.7rem, 15vw, 4rem);
  }

  .section {
    width: min(100% - 1rem, 1180px);
  }

  .hero-visual {
    display: none;
  }

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

  .actions {
    flex-direction: column;
  }
}

/* ─────────────────────────────────────────────────────────────
   COMPOSANTS AJOUTES : KPI row, Pain/Gain, ROI, Pricing, Booking, Proof
   ───────────────────────────────────────────────────────────── */

/* KPI ROW (bandeau chiffres production) */
.kpi-section {
  padding-top: 2rem;
  padding-bottom: 2rem;
}
.kpi-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  background: var(--navy);
  color: #fff;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow);
}
.kpi-cell {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  text-align: left;
  padding-right: 1rem;
  border-right: 1px solid rgba(255,255,255,.08);
}
.kpi-cell:last-child { border-right: none; }
.kpi-value {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -.01em;
  color: #fff;
  line-height: 1.05;
}
.kpi-label {
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.7);
}
.kpi-detail {
  font-size: .82rem;
  color: rgba(255,255,255,.55);
  margin-top: .15rem;
}

/* PAIN / GAIN comparison */
.compare-grid {
  gap: 1.5rem;
}
.pain-card {
  border-left: 4px solid var(--red);
  background: #fff;
}
.pain-card h3 {
  color: var(--red);
}
.pain-card .kicker {
  color: var(--red);
}
.gain-card {
  border-left: 4px solid var(--green);
  background: #fff;
}
.gain-card h3 {
  color: var(--green);
}
.gain-card .kicker {
  color: var(--green);
}

/* ROI strip */
.roi-section {
  padding-top: 2rem;
  padding-bottom: 2rem;
}
.roi-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: #fff;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow);
}
.roi-cell {
  text-align: center;
  padding: .5rem;
}
.roi-value {
  display: block;
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1;
  color: #fff;
}
.roi-label {
  display: block;
  font-size: .82rem;
  margin-top: .5rem;
  color: rgba(255,255,255,.85);
}

/* CTA section */
.cta-section {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 2.5rem 1.5rem;
  text-align: center;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}
/* Forcer le centrage des elements dans .section-head (qui est grid par defaut)
   pour que h2 (avec max-width) ne reste pas calé a gauche du grid-cell. */
.cta-section .section-head {
  justify-items: center;
}
.cta-section .section-head h2,
.cta-section .section-head p {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.cta-section .actions {
  justify-content: center;
}

/* PRICING */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.price-card {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.5rem 1.25rem;
  transition: transform .15s ease, box-shadow .15s ease;
  /* Sprint 22 : override le overflow:hidden de .card global pour permettre au badge "LE PLUS DEMANDÉ" de dépasser */
  overflow: visible !important;
}
.price-card::before,
.price-card::after { display: none !important; } /* neutralise bande or + halo du .card global pour les pricing cards (design dédié) */
.price-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.price-card-featured {
  border: 2px solid var(--blue);
  background: linear-gradient(180deg, #fff, #f3f8fc);
  position: relative;
  overflow: visible !important;
}
/* Sprint 22 : badge "LE PLUS DEMANDÉ" repositionné au-dessus de la card (suspendu)
   pour ne plus chevaucher le kicker "PIPELINE DURABLE". */
.price-card-featured .price-card-top {
  padding-top: .4rem; /* laisse respirer le badge qui dépasse au-dessus */
}
.price-card-featured .price-card-top::before {
  content: "LE PLUS DEMANDÉ";
  position: absolute;
  top: -.85rem;       /* sort au-dessus de la card */
  right: 1rem;
  z-index: 5;
  background: linear-gradient(135deg, #F4C465 0%, #C97F1F 100%);
  color: #0E1A3A;
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  padding: .4rem .85rem;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(14,26,58,.25), 0 0 0 2px #fff;
  white-space: nowrap;
}
@media (max-width: 640px) {
  .price-card-featured .price-card-top::before {
    /* Mobile : badge plus compact mais toujours suspendu */
    font-size: .62rem;
    padding: .35rem .7rem;
    right: .6rem;
    top: -.75rem;
    letter-spacing: .08em;
  }
}
.price-card .kicker {
  color: var(--blue);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 700;
}
.price-card h3 {
  margin: .25rem 0 .25rem;
}
.price-amount {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0;
  line-height: 1.1;
}
.price-unit {
  color: var(--muted);
  font-size: .85rem;
  margin: 0 0 .5rem;
}
.price-lead {
  font-size: .92rem;
  color: var(--muted);
  margin: 0 0 .5rem;
}
.price-section-label {
  margin: .5rem 0 .3rem;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 700;
  color: var(--ink);
}
.price-list {
  list-style: none;
  padding: 0;
  margin: 0 0 .5rem;
  font-size: .88rem;
}
.price-list li {
  padding: .25rem 0;
  border-bottom: 1px dashed rgba(0,0,0,.06);
}
.price-included li::before {
  content: "+ ";
  color: var(--green);
  font-weight: 700;
}
.price-excluded li::before {
  content: "- ";
  color: var(--red);
  font-weight: 700;
}
.price-excluded li {
  color: var(--muted);
}
.block-btn {
  display: inline-block;
  width: 100%;
  text-align: center;
  margin-top: auto;
}

/* BOOKING */
.booking-card {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.5rem 1.25rem;
}
.booking-discovery { border-top: 4px solid var(--blue); }
.booking-demo { border-top: 4px solid var(--teal); }
.booking-scoping { border-top: 4px solid var(--amber); }
.booking-card .kicker {
  color: var(--ink);
  font-weight: 700;
}
.card-meta-label {
  margin: .55rem 0 .15rem;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
}
.card-meta-value {
  font-size: .9rem;
  margin: 0;
}
.booking-frame-section {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 2rem 1.5rem;
}
.booking-frame-placeholder {
  background: linear-gradient(135deg, #f5f8fd, #fff);
  border: 2px dashed var(--blue);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  margin: 1.5rem 0;
}
.booking-frame-placeholder .kicker {
  color: var(--blue);
  font-weight: 700;
  font-size: .88rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.booking-frame-placeholder a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: underline;
}

/* HERO TAGLINE */
.hero-tagline {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 60ch;
  margin: .5rem 0 1rem;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .kpi-row { grid-template-columns: repeat(2, 1fr); }
  .kpi-cell { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); padding-bottom: 1rem; }
  .roi-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .kpi-row { grid-template-columns: 1fr; }
  .roi-row { grid-template-columns: 1fr; }
  .kpi-value { font-size: 2rem; }
  .roi-value { font-size: 2.2rem; }
}

/* ─────────────────────────────────────────────────────────────
   COMPOSANTS GROWTH VIRAL : doctrine, refus, atelier, calculateur
   ───────────────────────────────────────────────────────────── */

/* DOCTRINE / Articles */
.doctrine-card {
  border-left: 4px solid var(--navy);
  background: linear-gradient(180deg, #fff, #fafbfd);
  padding: 1.5rem;
  border-radius: 12px;
  position: relative;
}
.doctrine-card .kicker {
  color: var(--navy);
  font-weight: 800;
  letter-spacing: .08em;
  font-size: .78rem;
  text-transform: uppercase;
}
.doctrine-card h3 {
  font-size: 1.2rem;
  line-height: 1.3;
  margin: .35rem 0 .6rem;
  color: var(--ink);
}

/* CE QUE NOUS REFUSONS */
.refuse-card {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  border-radius: 12px;
  padding: 1.3rem 1.5rem;
}
.refuse-card .kicker {
  color: var(--red);
  font-weight: 800;
  letter-spacing: .08em;
  font-size: .78rem;
  text-transform: uppercase;
}
.refuse-card h3 {
  font-size: 1.1rem;
  line-height: 1.35;
  margin: .35rem 0 .6rem;
}

/* SIGNED LETTER */
.signed-letter {
  background: var(--navy);
  color: #fff;
  padding: 2.5rem 1.5rem;
  border-radius: 16px;
  margin: 2rem 0;
}
.signed-letter-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.signed-letter .eyebrow {
  color: var(--amber);
  letter-spacing: .14em;
  font-weight: 800;
}
.signed-letter h2 {
  color: #fff;
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  line-height: 1.3;
  margin: .8rem 0 1.2rem;
}
.signed-letter p {
  color: rgba(255, 255, 255, .96) !important;
  line-height: 1.75;
  font-size: 1.02rem;
}
/* Centrer la carte signed-letter dans la page (max 880px + auto) */
.signed-letter {
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}
.signed-letter .signature {
  margin-top: 1.6rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, .25);
  font-family: Georgia, serif;
  font-style: italic;
  color: rgba(255, 255, 255, .88);
  font-size: .95rem;
  letter-spacing: .02em;
}

/* CODE BLOCK (Atelier) */
.code-block {
  background: #0e1525;
  color: #d8e3f3;
  border-radius: 12px;
  padding: 1.3rem 1.5rem;
  overflow-x: auto;
  font-family: "JetBrains Mono", "SF Mono", Consolas, Monaco, monospace;
  font-size: .82rem;
  line-height: 1.55;
  border-left: 4px solid var(--teal);
  margin: 1rem 0;
  box-shadow: var(--shadow);
}
.code-block code {
  background: transparent;
  padding: 0;
  color: inherit;
  font-family: inherit;
  white-space: pre;
  display: block;
}

/* CALCULATEUR ROI */
.calculator-section {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 2rem 1.5rem;
}
.calculator-form {
  max-width: 720px;
  margin: 0 auto;
}
.calc-result {
  margin-top: 2rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, #f3f8fc, #fff);
  border: 2px solid var(--blue);
  border-radius: 16px;
}
.calc-result .eyebrow {
  color: var(--blue);
  font-weight: 800;
}
.calc-result h3 {
  font-size: 2.4rem;
  color: var(--navy);
  margin: .3rem 0;
}
.calc-result .kpi-card {
  border-top: 4px solid var(--blue);
  text-align: center;
}
.calc-cta {
  margin-top: 1.5rem;
  text-align: center;
}
.calc-cta p {
  color: var(--muted);
  font-size: .9rem;
  margin-bottom: 1rem;
}
.calc-cta .actions {
  justify-content: center;
}

/* FOOTER SIGNE */
.footer-sign {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: .85rem;
  color: rgba(255,255,255,.55) !important;
  font-style: italic;
}
.footer-sign a {
  color: rgba(255,255,255,.75);
  text-decoration: underline;
}
.footer-sign a:hover {
  color: #fff;
}

/* PULL QUOTE (pour citations memorables) */
.pull-quote {
  font-family: Georgia, serif;
  font-size: 1.5rem;
  line-height: 1.4;
  color: var(--navy);
  padding: 1.5rem 1.5rem 1.5rem 2.5rem;
  border-left: 4px solid var(--amber);
  background: #faf6ee;
  border-radius: 0 12px 12px 0;
  margin: 2rem 0;
  font-style: italic;
}
.pull-quote::before {
  content: '\201C';
  font-size: 3rem;
  color: var(--amber);
  line-height: 0;
  vertical-align: -.4em;
  margin-right: .15em;
}

@media (max-width: 700px) {
  .code-block { font-size: .72rem; }
  .calc-result h3 { font-size: 1.6rem; }
}

/* Calculateur HUB - card featured (Marketing Ops = core profil Nelson) */
.calc-hub-card { position: relative; }
.calc-hub-featured {
  border: 2px solid var(--blue);
  background: linear-gradient(180deg, #fff, #f3f8fc);
}
.calc-hub-featured::before {
  content: "Core profil Nelson";
  position: absolute;
  top: -.8rem;
  left: 1.25rem;
  background: var(--blue);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .3rem .7rem;
  border-radius: 999px;
}

/* ─────────────────────────────────────────────────────────────
   MODAL LEAD CAPTURE (mini-form prototype / calculateur)
   ───────────────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal-overlay[hidden] {
  display: none !important;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, .72);
  backdrop-filter: blur(4px);
}
.modal-content {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 2rem 2rem 1.5rem;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 32px 80px rgba(17, 24, 39, .35);
  animation: modalIn .25s ease;
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(20px) scale(.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-close {
  position: absolute;
  top: .5rem;
  right: .8rem;
  background: transparent;
  border: none;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  padding: .25rem .5rem;
  border-radius: 50%;
  transition: background .15s;
}
.modal-close:hover { background: rgba(0,0,0,.06); color: var(--ink); }
.modal-content .eyebrow { color: var(--amber); margin-bottom: .5rem; }
.modal-content h3 {
  margin: 0 0 .6rem;
  font-size: 1.35rem;
  line-height: 1.3;
  color: var(--navy);
}
.modal-lead {
  font-size: .95rem;
  color: var(--ink) !important;
  margin: 0 0 1rem;
}
.modal-form {
  padding: 0;
  background: transparent;
  border: none;
}
.modal-form label {
  display: block;
  font-weight: 700;
  font-size: .85rem;
  color: var(--ink);
  margin-bottom: .7rem;
}
.modal-form input {
  display: block;
  width: 100%;
  margin-top: .25rem;
  padding: .65rem .8rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font: inherit;
  color: var(--ink);
}
.modal-form input:focus {
  outline: 2px solid var(--blue);
  outline-offset: 1px;
}
.modal-note {
  font-size: .8rem;
  color: var(--muted) !important;
  margin: .7rem 0 0;
  text-align: center;
}
.modal-note a { color: var(--blue); text-decoration: underline; }

body.modal-open {
  overflow: hidden;
}

/* Honeypot field (hidden) */
.hp-field { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ─────────────────────────────────────────────────────────────
   AJUSTEMENT TEXTE DESCRIPTIONS : noir normal au lieu de muted grey
   ───────────────────────────────────────────────────────────── */
/* Body / paragraphes hors lead : passage en noir lisible (vs muted grey) */
.card p:not(.kicker):not(.modal-lead):not(.modal-note):not(.price-lead):not(.price-unit):not(.price-section-label),
.section split p,
.split p,
section p:not(.lead):not(.kicker):not(.eyebrow):not(.modal-note):not(.modal-lead):not(.footer-sign):not(.signature):not(.hero-tagline) {
  color: #1a1f2e;
}

/* lead reste avec contraste eleve mais legerement plus doux */
.lead,
.hero-tagline {
  color: #2c3444;
}

/* Les eyebrows, kickers, prix, footers restent dans leurs couleurs accent */

/* ─────────────────────────────────────────────────────────────
   HERO BACKGROUND PATTERN (subtil, B2B sober)
   ───────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -50px;
  z-index: -2;
  background:
    radial-gradient(ellipse at top right, rgba(39, 95, 143, .10) 0%, transparent 55%),
    radial-gradient(ellipse at bottom left, rgba(192, 133, 82, .12) 0%, transparent 55%),
    linear-gradient(180deg, rgba(232, 237, 242, 1) 0%, rgba(221, 228, 236, .85) 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(90deg, rgba(24, 35, 58, .035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(24, 35, 58, .035) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: center center;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

/* ─────────────────────────────────────────────────────────────
   HERO VISUAL : DASHBOARD MOCKUP (remplace l ancien system-map)
   ───────────────────────────────────────────────────────────── */
.hero-visual {
  position: relative;
  padding: 0;
  border-radius: 14px;
  background: #fff;
  box-shadow:
    0 30px 80px rgba(17, 24, 39, .12),
    0 8px 24px rgba(17, 24, 39, .06);
  border: 1px solid var(--line);
  overflow: hidden;
  min-height: 520px;
  display: flex;
  flex-direction: column;
}
.dash-header {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .7rem 1rem;
  background: linear-gradient(180deg, #f8f9fc, #f1f3f8);
  border-bottom: 1px solid var(--line);
}
.dash-dots {
  display: flex;
  gap: .35rem;
}
.dash-dots span {
  width: .65rem;
  height: .65rem;
  border-radius: 50%;
  background: #cfd6df;
}
.dash-dots span:nth-child(1) { background: #ed6a5e; }
.dash-dots span:nth-child(2) { background: #f4be4f; }
.dash-dots span:nth-child(3) { background: #62c554; }
.dash-tabs {
  display: flex;
  gap: .35rem;
  margin-left: .5rem;
  flex-wrap: wrap;
}
.dash-tab {
  font-size: .72rem;
  padding: .25rem .55rem;
  border-radius: 4px;
  color: var(--muted);
  background: transparent;
  font-weight: 600;
}
.dash-tab.active {
  background: #fff;
  color: var(--navy);
  border: 1px solid var(--line);
}
.dash-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.2rem 1.3rem;
  flex: 1;
}
.dash-kpi-hero {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  padding: 1rem 1.1rem;
  background: linear-gradient(135deg, var(--navy), #243454);
  border-radius: 10px;
  color: #fff;
}
.dash-kpi-hero .dash-kpi-label {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255, 255, 255, .6);
  font-weight: 700;
}
.dash-kpi-hero .dash-kpi-value {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.05;
  color: var(--amber);
  letter-spacing: -.02em;
}
.dash-kpi-hero .dash-kpi-trend {
  font-size: .82rem;
  color: rgba(255, 255, 255, .8);
  margin-top: .15rem;
}

.dash-chart {
  width: 100%;
  height: auto;
}

.dash-kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .5rem;
}
.dash-kpi-cell {
  display: flex;
  flex-direction: column;
  padding: .65rem .8rem;
  background: #f8f9fc;
  border-radius: 8px;
  border: 1px solid var(--line);
}
.dash-kpi-cell .dash-kpi-num {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.01em;
  line-height: 1;
}
.dash-kpi-cell .dash-kpi-sub {
  font-size: .68rem;
  color: var(--muted);
  margin-top: .2rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-weight: 600;
}

.dash-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  padding-top: .5rem;
  border-top: 1px dashed var(--line);
}
.dash-tag {
  font-size: .68rem;
  font-weight: 700;
  padding: .3rem .55rem;
  border-radius: 999px;
  background: rgba(39, 95, 143, .08);
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.dash-tag:nth-child(2) { background: rgba(47, 118, 109, .1); color: var(--teal); }
.dash-tag:nth-child(3) { background: rgba(183, 121, 31, .1); color: var(--amber); }
.dash-tag:nth-child(4) { background: rgba(143, 45, 45, .08); color: #8f2d2d; }

/* Reset les styles obsoletes du system-map */
.signal-bar, .system-map, .metrics, .node, .line {
  display: none !important;
}

@media (max-width: 900px) {
  .hero-visual {
    min-height: 440px;
  }
  .dash-kpi-hero .dash-kpi-value {
    font-size: 2rem;
  }
}

/* ─────────────────────────────────────────────────────────────
   HERO TEXT-ONLY (pas de dashboard, pleine largeur)
   Utilise sur toutes les pages SAUF l accueil
   ───────────────────────────────────────────────────────────── */
.hero.hero-text-only {
  grid-template-columns: 1fr;
  min-height: auto;
  padding-top: clamp(2rem, 5vw, 4rem);
  padding-bottom: clamp(2rem, 5vw, 4rem);
}
.hero.hero-text-only .hero-copy {
  max-width: 900px;
}
.hero.hero-text-only h1 {
  font-size: clamp(2.5rem, 5.5vw, 5rem);
}
/* Fond premium (dégradé bleu/cuivre + grille) CONSERVÉ sur les pages text-only
   (méthode, à-propos, réalisations…). L'override display:none qui l'effaçait a
   été retiré : le hero avait perdu son arrière-plan vs les autres pages. */
.hero.hero-text-only::before,
.hero.hero-text-only::after {
  display: block;
}

/* ─────────────────────────────────────────────────────────────
   SECTIONS AVEC IMAGE BACKGROUND (Unsplash hotlinks haute resolution)
   - section-image-hero : grande image avec overlay text
   - section-image-side : image cote a cote avec texte
   ───────────────────────────────────────────────────────────── */
.section-image-hero {
  position: relative;
  width: 100%;
  margin: 0;
  padding: clamp(4rem, 8vw, 7rem) 0;
  overflow: hidden;
  color: #fff;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  isolation: isolate;
}
.section-image-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(135deg, rgba(24, 35, 58, .88) 0%, rgba(24, 35, 58, .72) 50%, rgba(192, 133, 82, .55) 100%);
}
.section-image-hero .section-inner {
  position: relative;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  z-index: 1;
}
.section-image-hero .eyebrow { color: var(--amber); }
.section-image-hero h2 {
  color: #fff;
  max-width: 720px;
}
.section-image-hero p {
  color: rgba(255, 255, 255, .9) !important;
  max-width: 640px;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
}

/* Image cote droit avec texte cote gauche */
.section-image-side {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}
.section-image-side-img {
  position: relative;
  height: 380px;
  border-radius: 16px;
  background-size: cover;
  background-position: center center;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.section-image-side-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 50%, rgba(24, 35, 58, .25) 100%);
}

@media (max-width: 900px) {
  .section-image-side { grid-template-columns: 1fr; }
  .section-image-side-img { height: 280px; }
}

/* ─────────────────────────────────────────────────────────────
   CARDS PREMIUM : moitie top navy/cuivre + moitie bas blanc
   Style inspire ASUS premium brochure (or + cuivre brillant)
   ───────────────────────────────────────────────────────────── */

/* Coins decoratifs or (corner brackets) */
.card-corner {
  position: absolute;
  width: 22px;
  height: 22px;
  pointer-events: none;
  z-index: 2;
}
.card-corner-tl {
  top: 10px;
  left: 10px;
  border-top: 1.5px solid var(--amber);
  border-left: 1.5px solid var(--amber);
}
.card-corner-tr {
  top: 10px;
  right: 10px;
  border-top: 1.5px solid var(--amber);
  border-right: 1.5px solid var(--amber);
}

/* BOOKING CARD : top dark + body blanc */
.booking-card {
  padding: 0 !important;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 18px 50px rgba(17, 24, 39, .10);
  display: flex;
  flex-direction: column;
  min-height: 480px;
}
.booking-card-top {
  position: relative;
  padding: 2rem 1.5rem 1.5rem;
  background: linear-gradient(135deg, var(--navy) 0%, #1f2c4a 60%, var(--copper) 130%);
  color: #fff;
  border-bottom: 2px solid var(--amber);
}
.booking-card-top .kicker {
  color: var(--amber) !important;
  font-weight: 800;
  margin-bottom: .6rem;
}
.booking-card-top h3 {
  color: #fff !important;
  font-size: 1.4rem;
  line-height: 1.2;
  margin: 0;
}
.booking-card-body {
  flex: 1;
  padding: 1.4rem 1.5rem 1.5rem;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.booking-card-body p { color: var(--ink) !important; margin-bottom: .5rem; }
.booking-card-body .btn { margin-top: auto; }
.booking-card-body ul { padding-left: 1.2rem; margin: .5rem 0 1rem; color: var(--ink); }

/* Variantes tones (laisse les top borders teintees pour la couleur) */
.booking-card.booking-discovery .booking-card-top { border-bottom-color: var(--blue); }
.booking-card.booking-demo .booking-card-top      { border-bottom-color: var(--teal); }
.booking-card.booking-scoping .booking-card-top   { border-bottom-color: var(--copper); }

/* PRICE CARD : meme pattern moitie-haute */
.price-card {
  padding: 0 !important;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 18px 50px rgba(17, 24, 39, .10);
  display: flex;
  flex-direction: column;
}
.price-card-top {
  position: relative;
  padding: 1.8rem 1.4rem 1.4rem;
  background: linear-gradient(135deg, var(--navy) 0%, #1f2c4a 60%, var(--copper) 140%);
  color: #fff;
  border-bottom: 2px solid var(--amber);
}
.price-card-top .kicker {
  color: var(--amber) !important;
  margin-bottom: .4rem;
}
.price-card-top h3 {
  color: #fff !important;
  font-size: 1.25rem;
  line-height: 1.2;
  margin: 0 0 .6rem;
}
.price-card-top .price-amount {
  color: #fff !important;
  font-size: 1.8rem;
  margin: 0;
}
.price-card-top .price-unit {
  color: rgba(255,255,255,.7) !important;
  margin: 0;
}
.price-card-body {
  flex: 1;
  padding: 1.3rem 1.4rem 1.5rem;
  background: #fff;
  display: flex;
  flex-direction: column;
}
.price-card-body .price-lead { margin-bottom: .8rem; color: var(--ink) !important; }
.price-card-body .btn { margin-top: auto; }

/* Featured price-card : top en gradient cuivre brillant + or */
.price-card-featured .price-card-top {
  background: linear-gradient(135deg, var(--copper) 0%, #b7791f 60%, #d4a04e 120%);
  border-bottom-color: var(--amber);
}
/* Sur fond cuivre, l eyebrow amber devient invisible : forcer blanc */
.price-card-featured .price-card-top .kicker {
  color: #fff !important;
  text-shadow: 0 1px 2px rgba(0,0,0,.15);
}

/* ─────────────────────────────────────────────────────────────
   SECTION PREMIUM DARK (style ASUS - lignes or geometriques)
   Pour pages strategiques (hero QSE, hero offre haute valeur, etc.)
   ───────────────────────────────────────────────────────────── */
.section-premium-dark {
  position: relative;
  background: linear-gradient(135deg, #0e1525 0%, var(--navy) 40%, #1a2237 100%);
  color: #fff;
  padding: clamp(4rem, 8vw, 7rem) 0;
  overflow: hidden;
  isolation: isolate;
}

/* Lignes or geometriques en arriere-plan (style ASUS) */
.section-premium-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(135deg, transparent 48%, rgba(212, 160, 78, .12) 49%, rgba(212, 160, 78, .25) 50%, rgba(212, 160, 78, .12) 51%, transparent 52%),
    linear-gradient(45deg, transparent 48%, rgba(212, 160, 78, .08) 49%, rgba(212, 160, 78, .18) 50%, rgba(212, 160, 78, .08) 51%, transparent 52%);
  background-size: 240px 240px, 380px 380px;
  background-position: 0 0, 80px 80px;
  opacity: .9;
}

/* Coins or brackets (corner accents premium) */
.section-premium-dark::after {
  content: "";
  position: absolute;
  inset: 1.5rem;
  z-index: 0;
  pointer-events: none;
  background:
    /* Top-left */
    linear-gradient(to right, var(--amber) 0, var(--amber) 60px, transparent 60px) top left/100% 1.5px no-repeat,
    linear-gradient(to bottom, var(--amber) 0, var(--amber) 60px, transparent 60px) top left/1.5px 100% no-repeat,
    /* Top-right */
    linear-gradient(to left, var(--amber) 0, var(--amber) 60px, transparent 60px) top right/100% 1.5px no-repeat,
    linear-gradient(to bottom, var(--amber) 0, var(--amber) 60px, transparent 60px) top right/1.5px 100% no-repeat,
    /* Bottom-left */
    linear-gradient(to right, var(--amber) 0, var(--amber) 60px, transparent 60px) bottom left/100% 1.5px no-repeat,
    linear-gradient(to top, var(--amber) 0, var(--amber) 60px, transparent 60px) bottom left/1.5px 100% no-repeat,
    /* Bottom-right */
    linear-gradient(to left, var(--amber) 0, var(--amber) 60px, transparent 60px) bottom right/100% 1.5px no-repeat,
    linear-gradient(to top, var(--amber) 0, var(--amber) 60px, transparent 60px) bottom right/1.5px 100% no-repeat;
}

.section-premium-dark .section-inner {
  position: relative;
  z-index: 2;
  width: min(1100px, calc(100% - 4rem));
  margin: 0 auto;
}

.section-premium-dark .eyebrow {
  color: var(--amber) !important;
  letter-spacing: .12em;
}
.section-premium-dark h1,
.section-premium-dark h2 {
  color: #fff;
}
.section-premium-dark h2 {
  background: linear-gradient(135deg, #fff 0%, #f6e5c8 70%, var(--amber) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-premium-dark p {
  color: rgba(255, 255, 255, .85) !important;
}
.section-premium-dark .btn.primary {
  background: linear-gradient(135deg, var(--amber), var(--copper));
  color: #fff;
  border: none;
}
.section-premium-dark .btn.ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .05);
}

/* QSE page : style sobre pour les sections detaillees */
.qse-card {
  padding: 1.8rem 1.6rem;
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--copper);
  box-shadow: 0 14px 36px rgba(17, 24, 39, .07);
}
.qse-card h3 {
  color: var(--navy);
  font-size: 1.3rem;
  line-height: 1.3;
  margin-bottom: .5rem;
}
.qse-card .kicker {
  color: var(--copper) !important;
}
.qse-card ul {
  list-style: none;
  padding-left: 0;
  margin: .8rem 0;
}
.qse-card ul li {
  padding: .3rem 0 .3rem 1.4rem;
  position: relative;
  color: var(--ink);
}
.qse-card ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--amber);
  font-weight: 800;
}


/* ─────────────────────────────────────────────────────────────
   PREMIUM-DARK V2 : enrichissement (3 angles or, brackets +, shimmer)
   Style ASUS pousse pour pages vitrine
   ───────────────────────────────────────────────────────────── */
.section-premium-dark {
  background:
    radial-gradient(ellipse at top right, rgba(192, 133, 82, .20) 0%, transparent 60%),
    radial-gradient(ellipse at bottom left, rgba(183, 121, 31, .15) 0%, transparent 55%),
    linear-gradient(135deg, #0c1220 0%, var(--navy) 50%, #1a2438 100%);
}

/* Pattern lignes or : 3 angles superposes pour effet ASUS premium */
.section-premium-dark::before {
  background-image:
    /* Diagonale 135 (epaisse) */
    linear-gradient(135deg, transparent 47%, rgba(212, 160, 78, .14) 49%, rgba(212, 160, 78, .28) 50%, rgba(212, 160, 78, .14) 51%, transparent 53%),
    /* Diagonale 45 (fine) */
    linear-gradient(45deg, transparent 48%, rgba(212, 160, 78, .08) 49.5%, rgba(212, 160, 78, .18) 50%, rgba(212, 160, 78, .08) 50.5%, transparent 52%),
    /* Diagonale 90 (verticale fine) */
    linear-gradient(90deg, transparent 49%, rgba(212, 160, 78, .04) 50%, transparent 51%);
  background-size: 280px 280px, 420px 420px, 100px 100px;
  background-position: 0 0, 100px 100px, 50px 50px;
  opacity: .9;
}

/* Brackets aux 4 coins (plus prononces) */
.section-premium-dark::after {
  inset: 2rem;
  background:
    linear-gradient(to right, var(--amber) 0, var(--amber) 80px, transparent 80px) top left/100% 2px no-repeat,
    linear-gradient(to bottom, var(--amber) 0, var(--amber) 80px, transparent 80px) top left/2px 100% no-repeat,
    linear-gradient(to left, var(--amber) 0, var(--amber) 80px, transparent 80px) top right/100% 2px no-repeat,
    linear-gradient(to bottom, var(--amber) 0, var(--amber) 80px, transparent 80px) top right/2px 100% no-repeat,
    linear-gradient(to right, var(--amber) 0, var(--amber) 80px, transparent 80px) bottom left/100% 2px no-repeat,
    linear-gradient(to top, var(--amber) 0, var(--amber) 80px, transparent 80px) bottom left/2px 100% no-repeat,
    linear-gradient(to left, var(--amber) 0, var(--amber) 80px, transparent 80px) bottom right/100% 2px no-repeat,
    linear-gradient(to top, var(--amber) 0, var(--amber) 80px, transparent 80px) bottom right/2px 100% no-repeat;
}

/* Logo / mark or stylise en haut a gauche (subtil) */
.section-premium-dark .premium-mark {
  position: absolute;
  top: 2.5rem;
  left: 2.5rem;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .25em;
  color: var(--amber);
  z-index: 3;
  text-transform: uppercase;
}

/* Eyebrow premium — Sprint 26z14n : barre horizontale or supprimée (jugée superflue par Nelson).
   Garde le padding-bottom pour préserver l'espacement, mais sans la ligne dorée ::after. */
.section-premium-dark .eyebrow {
  position: relative;
  display: inline-block;
  padding-bottom: .35rem;
}

/* H1/H2 avec effet gravure (text-shadow subtil) */
.section-premium-dark h1,
.section-premium-dark h2 {
  text-shadow: 0 2px 8px rgba(0, 0, 0, .4);
}

/* Boutons primary : effet metallic shimmer au hover */
.section-premium-dark .btn.primary {
  background: linear-gradient(135deg, var(--amber) 0%, #d4a04e 50%, var(--copper) 100%);
  background-size: 200% 200%;
  background-position: 0 0;
  transition: background-position .4s ease, box-shadow .3s;
  box-shadow: 0 4px 12px rgba(192, 133, 82, .3);
}
.section-premium-dark .btn.primary:hover {
  background-position: 100% 100%;
  box-shadow: 0 8px 24px rgba(192, 133, 82, .5);
}
.section-premium-dark .btn.ghost {
  color: #fff;
  border: 1.5px solid rgba(212, 160, 78, .5);
  background: rgba(255, 255, 255, .04);
  backdrop-filter: blur(8px);
  transition: border-color .3s, background .3s;
}
.section-premium-dark .btn.ghost:hover {
  border-color: var(--amber);
  background: rgba(212, 160, 78, .1);
}

/* Hover sur cards premium (booking + price) : leger lift + glow or */
.booking-card,
.price-card {
  transition: transform .25s ease, box-shadow .3s ease;
}
.booking-card:hover,
.price-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 24px 64px rgba(17, 24, 39, .14),
    0 0 0 1px rgba(212, 160, 78, .3);
}
.booking-card:hover .booking-card-top,
.price-card:hover .price-card-top {
  border-bottom-color: var(--amber);
}

/* Card corners or au hover : s etendent legerement */
.booking-card .card-corner,
.price-card .card-corner {
  transition: width .25s ease, height .25s ease, opacity .25s ease;
}
.booking-card:hover .card-corner,
.price-card:hover .card-corner {
  width: 28px;
  height: 28px;
  opacity: 1;
}

/* CTA section premium dark pour pages preuves (variante reduite) */
.cta-section-premium {
  background: linear-gradient(135deg, var(--navy) 0%, #1f2c4a 60%, var(--copper) 130%);
  color: #fff;
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin: 2rem 0;
}
.cta-section-premium::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(135deg, transparent 49%, rgba(212, 160, 78, .15) 50%, transparent 51%);
  background-size: 140px 140px;
  pointer-events: none;
  opacity: .8;
}
.cta-section-premium .section-head {
  position: relative;
  z-index: 1;
}
.cta-section-premium .eyebrow { color: var(--amber); }
.cta-section-premium h2 { color: #fff; }
.cta-section-premium .actions { justify-content: center; position: relative; z-index: 1; }
.cta-section-premium .btn.primary {
  background: linear-gradient(135deg, var(--amber), var(--copper));
  border: none;
  color: #fff;
}
.cta-section-premium .btn.ghost {
  border: 1px solid rgba(255,255,255,.3);
  color: #fff;
  background: transparent;
}


/* ─────────────────────────────────────────────────────────────
   DOCTRINE & REFUSE CARDS : enrichissement avec brackets or
   Style ASUS premium sans modification HTML
   ───────────────────────────────────────────────────────────── */

/* Doctrine card : top bar navy + brackets or aux 2 coins haut */
.doctrine-card {
  position: relative;
  background: linear-gradient(180deg, #fff 0%, #fff 100%);
  border-left: 4px solid var(--navy);
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 2rem 1.6rem 1.6rem;
  transition: transform .25s ease, box-shadow .3s ease;
}
.doctrine-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--copper) 70%, var(--amber) 100%);
}
.doctrine-card::after {
  content: "";
  position: absolute;
  top: 16px;
  right: 16px;
  width: 22px;
  height: 22px;
  border-top: 1.5px solid var(--amber);
  border-right: 1.5px solid var(--amber);
  pointer-events: none;
}
.doctrine-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 56px rgba(17, 24, 39, .12), 0 0 0 1px rgba(212, 160, 78, .25);
}
.doctrine-card .kicker {
  color: var(--copper) !important;
  font-weight: 800;
  letter-spacing: .12em;
}

/* Refuse card : top bar rouge + brackets or */
.refuse-card {
  position: relative;
  background: #fff;
  border-left: 4px solid var(--red);
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 2rem 1.6rem 1.6rem;
  transition: transform .25s ease, box-shadow .3s ease;
}
.refuse-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--red) 0%, var(--copper) 100%);
}
.refuse-card::after {
  content: "";
  position: absolute;
  top: 16px;
  right: 16px;
  width: 20px;
  height: 20px;
  border-top: 1.5px solid var(--amber);
  border-right: 1.5px solid var(--amber);
  pointer-events: none;
}
.refuse-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 56px rgba(17, 24, 39, .12), 0 0 0 1px rgba(143, 45, 45, .25);
}
.refuse-card .kicker {
  color: var(--red) !important;
}

/* ─────────────────────────────────────────────────────────────
   FOOTER ENRICHI - lignes or geometriques style ASUS
   ───────────────────────────────────────────────────────────── */
.site-footer {
  position: relative;
  background: linear-gradient(135deg, #0c1220 0%, var(--navy) 60%, #1a2438 100%);
  color: rgba(255, 255, 255, .8);
  padding: 3rem clamp(1rem, 4vw, 3rem) 2.5rem;
  border-top: 2px solid var(--copper);
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(135deg, transparent 49%, rgba(212, 160, 78, .08) 50%, transparent 51%);
  background-size: 200px 200px;
  opacity: .7;
  pointer-events: none;
}
.site-footer > * {
  position: relative;
  z-index: 1;
}
.site-footer strong {
  color: var(--amber);
  font-size: 1.1rem;
  letter-spacing: .05em;
}
.site-footer p {
  color: rgba(255, 255, 255, .75) !important;
  line-height: 1.6;
}
.site-footer .footer-sign {
  border-top: 1px solid rgba(212, 160, 78, .2);
  margin-top: 1.2rem;
  padding-top: 1rem;
  color: rgba(255, 255, 255, .55) !important;
}
.site-footer .footer-sign a {
  color: var(--amber);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-footer .footer-sign a:hover {
  border-bottom-color: var(--amber);
}
.site-footer nav a {
  color: rgba(255, 255, 255, .65);
  padding: .35rem .6rem;
  border-radius: 4px;
  transition: color .2s, background .2s;
}
.site-footer nav a:hover {
  color: var(--amber);
  background: rgba(212, 160, 78, .08);
}

/* ═══════════════════════════════════════════════════════════════════════
   RESPONSIVE MOBILE — fixes pour ecrans < 768px
   - Titres h1/h2 ramenes a une taille lisible sans deborder
   - Premium-mark badge en position relative (plus en absolute qui chevauche)
   - Section padding reduit
   - Hyphenation / word-break sur les longs mots
   ═══════════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════
   ANTI-COUPURE DES MOTS - regle ULTRA-FORTE !important
   Empeche TOUTE coupure automatique (ré-ponse, exé-cution, ir-ritants)
   En cas de mot trop long, il passe sur la ligne suivante ENTIER.
   ═══════════════════════════════════════════════════════════════ */
*,
h1, h2, h3, h4, h5, h6,
p, span, a, li, dt, dd,
.eyebrow, .kicker, .lead, .form-note,
.btn, .pillar-row span, .evidence-list span {
  hyphens: none !important;
  -webkit-hyphens: none !important;
  -moz-hyphens: none !important;
  -ms-hyphens: none !important;
}

h1, h2, h3, h4, h5, h6,
p, span, a, li, dt, dd,
.eyebrow, .kicker, .lead {
  overflow-wrap: normal !important;
  word-wrap: normal !important;
  word-break: normal !important;
}

/* Sur mobile : si le mot ne tient vraiment pas, on permet la coupure SANS hyphen */
@media (max-width: 480px) {
  h1, h2, h3 {
    overflow-wrap: break-word !important;
    word-break: normal !important;
  }
}

/* Seuls les conteneurs avec contenu user-genere (URLs, ids) gardent break-word */
.code-block, code, pre {
  overflow-wrap: anywhere !important;
  hyphens: none !important;
}

@media (max-width: 768px) {
  /* Hero : reduire le h1 drastiquement pour eviter le debordement */
  h1 {
    font-size: clamp(2rem, 8vw, 2.8rem) !important;
    line-height: 1.1 !important;
    letter-spacing: -.01em;
  }

  h2 {
    font-size: clamp(1.4rem, 5.5vw, 2rem) !important;
    line-height: 1.15 !important;
  }

  /* Sprint 23 : Premium-mark badge CENTRÉ horizontalement en haut du cadre or sur mobile
     (au lieu d'aligné à gauche). Le parent .section-inner a padding 2.5rem horizontal. */
  .section-premium-dark .premium-mark {
    position: static !important;
    display: flex !important;                          /* flex pour permettre margin auto */
    width: fit-content !important;
    margin: 0 auto 1.8rem auto !important;             /* margin:0 auto = centré horizontalement */
    padding: .45rem .85rem .45rem .6rem !important;
    font-size: .62rem !important;
    letter-spacing: .14em !important;
    max-width: 100% !important;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    z-index: 2;
    gap: .4rem !important;
    box-sizing: border-box !important;
  }
  /* Aussi : centrer l'eyebrow et h1 du hero sur mobile pour cohérence avec le badge */
  .section-premium-dark .section-inner > .eyebrow,
  .section-premium-dark .section-inner > .premium-mark + .eyebrow {
    /* L'eyebrow et le h1 restent alignés à gauche par défaut — c'est voulu pour la lisibilité du contenu.
       Seul le badge est centré. */
  }
  .premium-mark span {
    white-space: normal !important;
    overflow-wrap: break-word !important;
  }
  /* Réduire l'icône SVG du badge à l'intérieur (sur mobile) */
  .section-premium-dark .premium-mark .premium-mark-icon {
    width: .85rem !important;
    height: .85rem !important;
    max-width: .85rem !important;
    max-height: .85rem !important;
  }

  /* Section premium dark : padding-top GENEREUX 4rem pour passer SOUS les
     brackets or de 80px = 5rem (4rem + 1rem de marge propre dans le cadre) */
  .section-premium-dark {
    padding: 4.5rem 0 clamp(2rem, 6vw, 3rem) 0 !important;
    overflow: hidden !important;  /* Fix iOS : clip tout débordement horizontal des descendants */
  }
  /* Sprint 23 : .section-inner avec padding horizontal renforcé pour iOS Safari
     (qui peut mal interpréter width:min() avec calc()). Approche prévisible : padding direct. */
  .section-premium-dark .section-inner {
    width: 100% !important;
    max-width: 1100px !important;
    padding: 1rem 2.5rem 0 !important;   /* 2.5rem horizontal = badge respire DANS le cadre or (qui est à inset 1.5rem) */
    margin: 0 auto !important;
    box-sizing: border-box !important;
    position: relative;
    z-index: 1;
  }
  .section-premium-dark .eyebrow {
    margin: 0 0 .9rem 0 !important;
    display: block !important;
    line-height: 1.45;
  }

  /* Brackets or reduits sur mobile : 80px etait trop long et le badge chevauchait
     Now 45px (≈2.8rem) pour mieux delimiter le cadre sans gener le badge */
  .section-premium-dark::after {
    background:
      linear-gradient(to right, var(--amber) 0, var(--amber) 45px, transparent 45px) top left/100% 2px no-repeat,
      linear-gradient(to bottom, var(--amber) 0, var(--amber) 45px, transparent 45px) top left/2px 100% no-repeat,
      linear-gradient(to left, var(--amber) 0, var(--amber) 45px, transparent 45px) top right/100% 2px no-repeat,
      linear-gradient(to bottom, var(--amber) 0, var(--amber) 45px, transparent 45px) top right/2px 100% no-repeat,
      linear-gradient(to right, var(--amber) 0, var(--amber) 45px, transparent 45px) bottom left/100% 2px no-repeat,
      linear-gradient(to top, var(--amber) 0, var(--amber) 45px, transparent 45px) bottom left/2px 100% no-repeat,
      linear-gradient(to left, var(--amber) 0, var(--amber) 45px, transparent 45px) bottom right/100% 2px no-repeat,
      linear-gradient(to top, var(--amber) 0, var(--amber) 45px, transparent 45px) bottom right/2px 100% no-repeat !important;
  }
  .section-premium-dark .actions {
    flex-direction: column;
    align-items: stretch;
  }
  .section-premium-dark .actions .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  /* Hero standard : reduire le padding */
  .hero {
    padding: clamp(2rem, 6vw, 3.5rem) 1.25rem;
  }

  /* Boutons sur mobile : pleine largeur et hauteur confortable */
  .actions {
    flex-direction: column;
    width: 100%;
    gap: .6rem;
  }
  .actions .btn,
  .actions a.btn,
  .actions button.btn {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: .85rem 1.2rem;
  }

  /* Site nav : meilleur espacement sur mobile */
  .site-nav {
    flex-direction: column;
    width: 100%;
    gap: .25rem;
  }
  .site-nav a {
    width: 100%;
    padding: .8rem 1rem;
    text-align: left;
  }

  /* Header : agencement reduit */
  .site-header {
    padding: .7rem .75rem;
    grid-template-columns: auto 1fr;
    gap: .35rem;
    overflow: hidden;  /* protection : empêche tout débordement horizontal du header */
  }
  .brand {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    gap: 0;
    flex-shrink: 1;
  }
  .brand-mark {
    width: 1.85rem !important;
    height: 1.85rem !important;
    max-width: 1.85rem !important;
    max-height: 1.85rem !important;
    margin-right: -0.45rem;
  }
  .brand-word {
    font-size: .82rem !important;
    letter-spacing: .01em;
    min-width: 0;
    flex-shrink: 1;
  }
  /* Sprint 23 : .nav-install-mobile reste caché — doublon supprimé.
     Le bouton header .site-header-install est le seul actif sur mobile. */

  /* Footer : empile verticalement, padding reduit */
  .site-footer {
    padding: 2rem 1.25rem;
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Pricing / booking cards : empile et reduit */
  .pricing-grid,
  .booking-grid {
    grid-template-columns: 1fr !important;
    gap: 1.2rem;
  }

  /* Grid two / three : empile sur mobile */
  .grid.two,
  .grid.three {
    grid-template-columns: 1fr !important;
  }

  /* Step (methode) : empile au lieu de 3 colonnes */
  .step {
    grid-template-columns: 1fr !important;
    gap: .5rem;
  }

  /* Calculator form : champs en colonne */
  .form-grid {
    grid-template-columns: 1fr !important;
  }

  /* Sections : padding standard */
  .section {
    padding: 2rem 1rem !important;
  }

  /* Modal : occupe presque tout l ecran */
  .modal-content {
    max-width: calc(100vw - 1rem);
    margin: .5rem;
    padding: 1.5rem 1.25rem;
  }
  .modal-mark {
    width: 2.6rem !important;
    height: 2.6rem !important;
  }

  /* Evidence list pills : un peu plus compactes */
  .evidence-list span {
    padding: .65rem 1rem;
    font-size: .92rem;
  }

  /* Founder portrait : centre et taille adaptee */
  .founder-portrait img {
    width: 100px !important;
    height: 100px !important;
  }

  /* Eyebrow : letter-spacing reduit pour eviter overflow */
  .eyebrow {
    font-size: .66rem;
    letter-spacing: .12em;
  }

  /* Premium-mark icone : taille reduite proportionnellement */
  .premium-mark-icon {
    width: .92rem !important;
    height: .92rem !important;
  }
}

/* Sprint 22-23 : palier intermédiaire 480px (iPhone SE 2-3, Pixel 4a) */
@media (max-width: 480px) {
  html, body { overflow-x: hidden !important; }
  .site-header {
    padding: .6rem .6rem !important;
    gap: .3rem !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
  }
  .brand {
    min-width: 0 !important;
    overflow: hidden !important;
    flex-shrink: 1 !important;
  }
  .brand-word {
    font-size: .76rem !important;
    letter-spacing: 0 !important;
    min-width: 0 !important;
  }
  .brand-mark {
    width: 1.65rem !important;
    height: 1.65rem !important;
    max-width: 1.65rem !important;
    max-height: 1.65rem !important;
    margin-right: -0.35rem !important;
    flex-shrink: 0 !important;
  }
  /* Nav-toggle (Menu button) plus compact pour laisser respirer le brand */
  .nav-toggle {
    font-size: .78rem !important;
    padding: .3rem .55rem !important;
    flex-shrink: 0 !important;
  }
}

/* Tres petits ecrans (Galaxy Fold, iPhone SE 1G) */
@media (max-width: 380px) {
  h1 {
    font-size: clamp(1.7rem, 9vw, 2.3rem) !important;
  }
  /* Sprint 23 : badge premium-mark CENTRÉ sur très petits écrans (Galaxy Fold, iPhone SE 1G) */
  .section-premium-dark .section-inner {
    padding: .8rem 2rem 0 !important;
  }
  .section-premium-dark .premium-mark {
    display: flex !important;
    width: fit-content !important;
    margin: 0 auto 1.5rem auto !important;             /* centré horizontalement */
    font-size: .55rem !important;
    padding: .35rem .65rem .35rem .45rem !important;
    max-width: 100% !important;
    letter-spacing: .1em !important;
    gap: .3rem !important;
    align-items: center;
    justify-content: center;
  }
  .section-premium-dark .premium-mark .premium-mark-icon {
    width: .75rem !important;
    height: .75rem !important;
    max-width: .75rem !important;
    max-height: .75rem !important;
  }
  .site-header { padding: .5rem .5rem !important; gap: .25rem !important; }
  .brand-word { font-size: .68rem !important; letter-spacing: -.01em !important; }
  .brand-mark { width: 1.5rem !important; height: 1.5rem !important; max-width: 1.5rem !important; max-height: 1.5rem !important; margin-right: -0.3rem !important; }
  .nav-toggle { font-size: .72rem !important; padding: .28rem .5rem !important; }
}

/* ═══════════════════════════════════════════════════════════════════════
   HOME HERO PREMIUM-DARK — meme cadre que /a-propos /offres /realisations
   Layout en 2 colonnes desktop, empile sur mobile
   ═══════════════════════════════════════════════════════════════════════ */
.home-hero-premium {
  /* herite de .section-premium-dark : gradient navy + brackets or */
}
.home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 480px);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding: 1rem clamp(1.5rem, 4vw, 2.5rem) 0;
}
.hero-copy-premium { color: #fff; }
.hero-copy-premium .eyebrow {
  color: var(--amber) !important;
  font-weight: 800;
  letter-spacing: .15em;
}
.hero-copy-premium h1 {
  color: #fff;
  margin: .6rem 0 1rem;
  background: linear-gradient(135deg, #fff 0%, #fff 50%, rgba(244,196,101,.95) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-copy-premium .lead {
  color: rgba(255, 255, 255, .9) !important;
  line-height: 1.65;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}
.hero-copy-premium .actions .btn.primary {
  background: linear-gradient(135deg, var(--amber), var(--copper));
  border: none;
  color: #fff;
  box-shadow: 0 6px 18px rgba(244, 196, 101, .25);
}
.hero-copy-premium .actions .btn.ghost {
  border: 1px solid rgba(255,255,255,.4);
  color: #fff;
  background: rgba(255,255,255,.05);
}
.hero-copy-premium .actions .btn.ghost:hover {
  background: rgba(255,255,255,.12);
}

/* Le dashboard mockup reste avec son fond clair pour contraster */
.home-hero-premium .hero-visual {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .35), 0 0 0 1px rgba(244, 196, 101, .2);
  overflow: hidden;
  position: relative;
  z-index: 2;
}

@media (max-width: 860px) {
  .home-hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
@media (max-width: 768px) {
  .home-hero-grid {
    padding: .6rem 1.25rem 0;
  }
  .hero-copy-premium h1 {
    font-size: clamp(2rem, 8vw, 2.8rem) !important;
    line-height: 1.1 !important;
  }
  .hero-copy-premium .lead {
    font-size: .98rem;
  }
}
