/* ==========================================================================
   COMPONENTS.CSS — Reclus Lab
   Styles visuels des composants réutilisables : boutons, cards, offres,
   tableaux, modals, FAQ, formulaire, footer, toast.

   Direction artistique "Cabinet noir" (2026-09-10) : les cards (services,
   offres, cas, raisons, livrables) passent d'un fond blanc à un fond sombre
   (--ink-800), posées sur les sections claires (ivoire) du site — c'est le
   contraste qui porte la hiérarchie visuelle. Voir README §10.
   ========================================================================== */

/* --- 1. Étiquettes de texte (eyebrow / kicker / pill / category) ---------
   Sur fond clair, l'or (var(--orange)) ne passe pas 4.5:1 en texte (≈2:1) : le
   texte reste donc en encre sombre, seul le point décoratif qui précède
   l'eyebrow garde l'accent doré. Sur fond sombre (section .dark, .contact,
   cards), l'or repasse en texte — le contraste y est excellent (>8:1). */
.eyebrow,
.kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--navy);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.eyebrow:before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
}

.dark .eyebrow,
.dark .kicker,
.dark .category,
.contact .eyebrow,
.contact .kicker,
.contact .category {
  color: var(--orange);
}

/* .pill vit presque toujours à l'intérieur d'une card sombre (.service,
   .offer) : traitement clair-sur-sombre par défaut. */
.pill {
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius);
  padding: 6px 10px;
  font-size: 10px;
  letter-spacing: .08em;
  font-weight: 600;
  font-family: var(--font-sans);
  text-transform: uppercase;
  color: var(--muted-dark);
}

.category {
  margin: 0 0 17px;
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--navy);
  font-weight: 700;
  font-family: var(--font-sans);
}

/* --- 2. Boutons ------------------------------------------------------------
   Angulaires (var(--radius), pas de pilule), hauteur fixe 52px. Le bouton
   plein est doré avec un texte quasi noir (jamais blanc sur or, pour rester
   au-dessus de 4.5:1 de contraste). */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  gap: 8px;
  height: 52px;
  padding: 0 28px;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .01em;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}

.btn-primary,
.btn-orange {
  background: var(--orange-strong);
  color: #fff;
}

.btn-primary:hover,
.btn-orange:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(140, 130, 238, .35);
  background: var(--orange-text);
  color: #fff;
}

.btn-outline {
  border-color: rgba(11, 12, 31, .22);
  background: transparent;
  color: var(--navy);
}

.btn-outline:hover {
  border-color: var(--navy);
  background: rgba(11, 12, 31, .04);
  transform: translateY(-1px);
}

/* À l'intérieur d'une card sombre ou d'une section .dark, le bouton outline
   doit s'inverser (bordure/texte clairs) pour rester lisible. */
.dark .btn-outline,
.service .btn-outline,
.offer .btn-outline,
.case-card .btn-outline,
.reason .btn-outline,
.deliverable .btn-outline {
  border-color: rgba(246, 246, 249, .35);
  color: var(--paper);
}

.dark .btn-outline:hover,
.service .btn-outline:hover,
.offer .btn-outline:hover,
.case-card .btn-outline:hover,
.reason .btn-outline:hover,
.deliverable .btn-outline:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: rgba(255, 255, 255, .05);
}

@media (prefers-reduced-motion: reduce) {
  .btn-primary:hover,
  .btn-orange:hover,
  .btn-outline:hover {
    transform: none;
  }
}

.navlinks a:hover {
  color: var(--orange);
}

.menu {
  display: none;
  border: 1px solid rgba(246, 246, 249, .3);
  background: transparent;
  color: var(--paper);
  border-radius: var(--radius);
  padding: 9px 12px;
  min-height: 44px;
}

/* Header marine : les boutons d'action s'inversent. */
header .btn-outline {
  border-color: rgba(246, 246, 249, .35);
  color: var(--paper);
}

header .btn-outline:hover {
  border-color: var(--paper);
  background: rgba(255, 255, 255, .06);
}

/* Bouton "Urgence réputation" : point blanc qui pulse. */
.btn-urgent .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  animation: urgentPulse 1.6s ease-in-out infinite;
}

@keyframes urgentPulse {
  0%, 100% { opacity: .45; transform: scale(.85); }
  50% { opacity: 1; transform: scale(1.1); }
}

@media (prefers-reduced-motion: reduce) {
  .btn-urgent .pulse-dot { animation: none; }
}

/* --- 3. Bloc de preuve (hero) ---------------------------------------------- */
.proof {
  background: #fff;
  padding: 23px 26px;
}

.proof strong {
  display: block;
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 300;
  margin-bottom: 5px;
}

.proof span {
  font-size: 12px;
  color: var(--muted);
}

/* --- 4. Cards de service -----------------------------------------------------
   Fond sombre (ink-800), bordure quasi invisible au repos ; au survol : la
   card s'éclaircit d'un cran (ink-700), la bordure devient dorée et un
   filet doré de 2px se déploie en haut (::before). */
.service {
  position: relative;
  overflow: hidden;
  background: var(--ink-800);
  border: 1px solid var(--card-line);
  border-radius: var(--radius-lg);
  padding: 29px;
  min-height: 295px;
  transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s ease, border-color .3s ease, background-color .3s ease;
}

.service .index {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin-right: 10px;
  font: 600 11px var(--font-sans), sans-serif;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--orange);
}

.service h3 {
  position: relative;
  z-index: 1;
  color: var(--paper);
  font-size: 28px;
  font-weight: 300;
  margin: 12px 0 12px;
}

.service p {
  position: relative;
  z-index: 1;
  color: var(--muted-dark);
  line-height: 1.65;
  font-size: 14px;
}

.service button {
  position: relative;
  z-index: 1;
  margin-top: 17px;
  border: 0;
  background: none;
  padding: 0;
  color: var(--paper);
  font-weight: 600;
  font-family: var(--font-sans);
}

.service button:hover {
  color: var(--orange);
}

/* --- 5. Cards d'offre --------------------------------------------------------- */
.offer {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--card-line);
  border-radius: var(--radius-lg);
  background: var(--ink-800);
  padding: 32px;
  transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s ease, border-color .3s ease, background-color .3s ease;
}

.offer.featured {
  border: 1px solid var(--orange);
  transform: translateY(-7px);
  box-shadow: var(--shadow);
}

.offer .badge {
  position: absolute;
  right: 18px;
  top: 18px;
  background: var(--orange);
  color: var(--navy);
  border-radius: var(--radius);
  padding: 7px 10px;
  font-size: 10px;
  font-weight: 700;
  z-index: 1;
}

.offer h3 {
  position: relative;
  z-index: 1;
  color: var(--paper);
  font-size: 30px;
  font-weight: 300;
  margin: 12px 0 8px;
}

.offer .desc {
  position: relative;
  z-index: 1;
  color: var(--muted-dark);
  font-size: 14px;
  line-height: 1.6;
  min-height: 66px;
}

.price {
  position: relative;
  z-index: 1;
  font: 400 28px var(--font-serif), Georgia, serif;
  color: var(--paper);
  margin: 23px 0;
}

.price small {
  font: 12px var(--font-sans), sans-serif;
  color: var(--muted-dark);
  font-weight: 500;
}

.checks {
  position: relative;
  z-index: 1;
  list-style: none;
  padding: 0;
  margin: 22px 0 28px;
}

.checks li {
  padding: 8px 0 8px 25px;
  position: relative;
  font-size: 13px;
  color: var(--muted-dark);
}

.section > .container > .checks li {
  /* listes posées sur fond clair (fiches services) : texte ardoise, contraste ≥ 4.5:1 */
  color: var(--muted);
  font-size: 14px;
}

.checks li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 900;
}

/* Variante numérotée de .checks, utilisée quand l'ordre des items compte
   (ex. les phases d'un programme de reconstruction) : mêmes espacements,
   mais un compteur CSS au lieu du symbole "✓" pour rendre l'ordre visible. */
.checks.steps {
  counter-reset: steps-counter;
}

.checks.steps li {
  padding-left: 30px;
}

.checks.steps li:before {
  counter-increment: steps-counter;
  content: counter(steps-counter);
  font-size: 11px;
  color: var(--navy);
  background: var(--orange);
  width: 17px;
  height: 17px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  top: 8px;
}

.notice {
  position: relative;
  z-index: 1;
  font-size: 11px;
  color: var(--muted-dark);
  line-height: 1.5;
  margin-top: 12px;
}

/* --- 6. Méthode & livrables ----------------------------------------------------
   .method-step reste un module clair à colonnes séparées par des filets
   (et non une card sombre) : c'est un sommaire, pas un contenu autonome —
   voir README §10 pour la justification de cette exception. */
.method-step {
  padding: 30px 24px;
  border-right: 1px solid var(--line);
}

.method-step:last-child {
  border-right: 0;
}

.method-step .num {
  font-size: 11px;
  font-family: var(--font-sans);
  letter-spacing: .06em;
  color: var(--orange);
  font-weight: 700;
}

.method-step h3 {
  font-size: 26px;
  font-weight: 300;
  margin: 26px 0 10px;
}

.method-step p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
}

.deliverable {
  position: relative;
  overflow: hidden;
  background: var(--ink-800);
  border: 1px solid var(--card-line);
  border-radius: var(--radius-lg);
  padding: 25px;
  transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s ease, border-color .3s ease, background-color .3s ease;
}

.deliverable h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 8px;
  color: var(--paper);
  font-size: 22px;
  font-weight: 300;
}

.deliverable p {
  position: relative;
  z-index: 1;
  color: var(--muted-dark);
  font-size: 13px;
  line-height: 1.6;
}

/* --- 7. Tableau des opérations --------------------------------------------------- */
.service-matrix {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  font-size: 13px;
  transition: border-color .3s ease;
}

.service-matrix:hover {
  border-color: var(--orange);
}

.service-matrix th,
.service-matrix td {
  padding: 14px 15px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  transition: border-color .25s ease, background-color .25s ease;
}

.service-matrix th {
  background: var(--cream);
  color: var(--navy);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.service-matrix tr:last-child td {
  border-bottom: 0;
}

/* Séparations animées au survol : la ligne survolée gagne un fond doux et
   sa bordure basse passe à l'or de marque. */
.service-matrix tbody tr {
  transition: background-color .25s ease;
}

.service-matrix tbody tr:hover {
  background-color: var(--cream);
}

.service-matrix tbody tr:hover td {
  border-bottom-color: var(--orange);
}

@media (prefers-reduced-motion: reduce) {
  .service-matrix,
  .service-matrix th,
  .service-matrix td,
  .service-matrix tbody tr {
    transition: none;
  }
}

/* --- 8. Cas & preuves ---------------------------------------------------------- */
.case-card {
  position: relative;
  overflow: hidden;
  background: var(--ink-800);
  border: 1px solid var(--card-line);
  border-radius: var(--radius-lg);
  transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s ease, border-color .3s ease, background-color .3s ease;
}

.case-top {
  height: 150px;
  background: linear-gradient(135deg, var(--navy), var(--navy2));
  padding: 23px;
  color: var(--paper);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.case-top .score {
  font: 400 30px var(--font-serif), Georgia, serif;
  color: var(--sage);
}

.case-body {
  position: relative;
  z-index: 1;
  padding: 25px;
}

.case-body h3 {
  color: var(--paper);
  font-size: 24px;
  font-weight: 300;
  margin: 0 0 8px;
}

.case-body p {
  font-size: 13px;
  color: var(--muted-dark);
  line-height: 1.65;
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 17px;
}

.case-tags span {
  background: rgba(255, 255, 255, .08);
  border-radius: var(--radius);
  padding: 6px 8px;
  font-size: 10px;
  color: var(--muted-dark);
}

.case-note {
  margin-top: 20px;
  font-size: 11px;
  color: var(--muted-dark);
  opacity: .8;
}

/* --- 9. Raisons (section "Pourquoi Reclus Lab") ---------------------------------
   Numérotation en filigrane : grand chiffre serif doré à faible opacité,
   posé en fond de card (watermark), le texte reste au premier plan. */
.reason {
  position: relative;
  overflow: hidden;
  background: var(--ink-800);
  padding: 31px;
  border: 1px solid var(--card-line);
  border-radius: var(--radius-lg);
  transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s ease, border-color .3s ease, background-color .3s ease;
}

.reason .num {
  position: absolute;
  top: 6px;
  right: 22px;
  z-index: 0;
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 64px;
  line-height: 1;
  color: var(--orange);
  opacity: .3;
}

.reason h3 {
  position: relative;
  z-index: 1;
  color: var(--paper);
  font-size: 26px;
  font-weight: 300;
  margin: 25px 0 9px;
}

.reason p {
  position: relative;
  z-index: 1;
  color: var(--muted-dark);
  line-height: 1.65;
  font-size: 13px;
}

.tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tool {
  padding: 12px 15px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--card-line);
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-sans);
  color: var(--paper);
}

.tool small {
  color: var(--muted-dark);
  font-weight: 500;
}

/* --- 10. À propos / manifeste ---------------------------------------------------- */
.manifesto {
  font: 400 clamp(36px, 5vw, 60px)/1.1 var(--font-serif), Georgia, serif;
  color: var(--navy);
  letter-spacing: -.01em;
}

.manifesto span {
  font-style: italic;
  color: var(--orange);
}

.about-copy {
  color: var(--muted);
  line-height: 1.75;
}

.about-copy strong {
  color: var(--navy);
}

/* --- 11. FAQ --------------------------------------------------------------------- */
.faq {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 21px 0;
  background: none;
  border: 0;
  color: var(--navy);
  font-weight: 600;
  font-family: var(--font-sans);
  text-align: left;
}

.faq-a {
  max-width: 850px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  padding: 0 0 22px;
  display: none;
}

.faq-item.open .faq-a {
  display: block;
}

/* --- 12. Contact & formulaire ------------------------------------------------------ */
.contact {
  background: var(--navy);
  padding: var(--s-32) 0;
  color: white;
}

.contact h1,
.contact h2 {
  font-size: clamp(43px, 5vw, 65px);
  line-height: 1.02;
  margin: 12px 0 20px;
  /* Bug repéré dans le fichier d'origine : le titre héritait de la couleur
     navy par défaut (h1,h2,h3{color:var(--navy)} dans base.css), identique
     au fond de cette section (--navy) titre invisible. Corrigé ici. */
  color: #fff;
}

.contact-copy {
  color: var(--muted-dark);
  line-height: 1.7;
  max-width: 540px;
}

.form {
  background: #fff;
  color: var(--ink);
  padding: 30px;
  border-radius: var(--radius-lg);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 11px;
  font-weight: 600;
  font-family: var(--font-sans);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field textarea,
.field select {
  border: 1px solid rgba(11, 12, 31, .16);
  border-radius: var(--radius);
  padding: 12px 13px;
  outline: none;
  background: #fff;
}

.field textarea {
  min-height: 125px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(140, 130, 238, .18);
}

.field-error {
  font-size: 11px;
  color: #D64545;
  min-height: 14px;
}

.form small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
  margin: 12px 0;
}

/* Honeypot anti-spam : champ invisible pour les humains, visible pour les bots */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* --- 13. Footer --------------------------------------------------------------------
   Restructuré en 4 colonnes (2026-09-10) : logo+baseline / navigation /
   services clés / contact+mentions légales+copyright. */
footer {
  background: #0E1024;
  border-top: 3px solid var(--orange);
  color: var(--muted-dark);
  padding: 0;
  font-size: 12px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: var(--s-8);
  padding: var(--s-16) 0 var(--s-8);
  border-bottom: 1px solid var(--line-dark);
}

/* Logo officiel (lockup horizontal + baseline). Recoloré le 2026-09-10 pour
   remplacer ses teintes orange/sauge d'origine par les ors de la nouvelle
   palette (voir README §10) — reste réservé au footer sombre : c'est un PNG
   transparent conçu pour un fond foncé, illisible sur fond clair. */
.footer-logo-img {
  width: 100%;
  max-width: 260px;
  height: auto;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted-dark);
  margin: 0;
  max-width: 36ch;
}

.footer-col h4 {
  margin: 0 0 14px;
  font-size: 11px;
  font-family: var(--font-sans);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--paper);
  font-weight: 600;
}

.footer-col a,
.footer-col span.footer-static {
  display: block;
  font-size: 12.5px;
  color: var(--muted-dark);
  margin-bottom: 9px;
  transition: color .2s ease;
}

.footer-col a:hover {
  color: var(--orange);
}

/* Raccourci permanent vers le Journal mensuel (/journal/, page indépendante) */
.footer-col a.footer-journal {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0 0;
  padding: 9px 14px 9px 9px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  color: var(--paper);
  font-size: 13px;
  transition: border-color .2s ease, background .2s ease;
}
.footer-col a.footer-journal:hover { border-color: var(--orange); background: rgba(140, 130, 238,.10); color: var(--paper); }
.footer-journal-tag { font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; background: var(--orange-strong); color: #fff; padding: 3px 9px; border-radius: 999px; }
.footer-journal span[aria-hidden] { color: var(--orange); transition: transform .2s ease; }
.footer-journal:hover span[aria-hidden] { transform: translateX(3px); }

.footer-legal {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line-dark);
}

.footer-legal a {
  color: var(--muted-dark);
  font-size: 11.5px;
}

.footer-legal a:hover {
  color: var(--orange);
}

.social-icons {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.social-icons a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  color: var(--muted-dark);
  transition: border-color .25s ease, color .25s ease, transform .25s ease;
}

.social-icons a svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.social-icons a:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-3px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: var(--s-4) 0;
}

/* --- 13.2 Page de confirmation (merci / thank-you) ------------------------ */
.confirmation {
  padding-top: 130px;
  padding-bottom: 130px;
}

.confirmation-icon {
  display: inline-flex;
  margin-bottom: 22px;
}

.confirmation .kicker {
  margin-bottom: 14px;
}

.confirmation h1 {
  max-width: 22ch;
  margin: 0 auto 18px;
}

.confirmation-copy {
  max-width: 52ch;
  margin: 0 auto;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

/* --- 14. Modal (détail de service) -------------------------------------------------- */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 18, 30, .7);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 100;
}

.modal.open {
  display: flex;
}

.modal-card {
  width: min(820px, 100%);
  max-height: 88vh;
  overflow: auto;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 35px;
}

.modal-close {
  float: right;
  border: 0;
  background: var(--cream);
  border-radius: 50%;
  width: 36px;
  height: 36px;
}

.modal h3 {
  font-size: 36px;
  font-weight: 300;
  margin: 15px 0 8px;
}

.modal .modal-meta {
  color: var(--muted);
  line-height: 1.7;
  font-size: 14px;
}

.modal-columns h4 {
  margin: 0 0 8px;
  color: var(--navy);
}

.modal-columns ul {
  padding-left: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

/* --- 15. Toast de confirmation -------------------------------------------------------- */
.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: var(--navy);
  color: #fff;
  padding: 15px 18px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  display: none;
  z-index: 200;
  font-size: 13px;
}

.toast.show {
  display: block;
}

.toast.error {
  background: #B42318;
}

/* --- 16. Repère de brouillon ------------------------------------------------------- */
.draft-flag {
  display: inline-block;
  background: #FEF3C7;
  color: #92400E;
  border: 1px solid #FDE68A;
  border-radius: var(--radius);
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 10px;
}

/* --- 17. Micro-interactions au survol (cards) --------------------------------------
   Toutes les cards sombres partagent le même mécanisme : légère élévation,
   bordure qui passe à l'or, fond qui s'éclaircit d'un cran (ink-800
   ink-700), et un filet doré de 2px qui se déploie en haut via ::before. */
.service::before,
.offer::before,
.case-card::before,
.reason::before,
.deliverable::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s cubic-bezier(.2, .7, .2, 1);
  z-index: 2;
}

.service:hover::before,
.offer:hover::before,
.case-card:hover::before,
.reason:hover::before,
.deliverable:hover::before {
  transform: scaleX(1);
}

.service:hover,
.offer:hover,
.case-card:hover,
.deliverable:hover,
.reason:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--orange);
  background: var(--navy2);
}

.offer.featured:hover {
  transform: translateY(-9px);
}

.service::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: 29px;
  right: 29px;
  color: var(--orange);
  font-weight: 700;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .25s ease, transform .25s ease;
}

.service:hover::after {
  opacity: 1;
  transform: translateX(0);
}

.method-step {
  transition: background-color .3s ease;
}

.method-step:hover {
  background-color: var(--cream);
}

.dark .method-step:hover {
  background-color: rgba(255, 255, 255, .05);
}

@media (prefers-reduced-motion: reduce) {
  .service,
  .offer,
  .case-card,
  .reason,
  .deliverable,
  .method-step,
  .service::after,
  .service::before,
  .offer::before,
  .case-card::before,
  .reason::before,
  .deliverable::before {
    transition: none;
  }
}

/* --- 17.1 Apparition au scroll -------------------------------------------------------
   Éléments marqués [data-reveal] dans le HTML : cachés puis révélés (fondu +
   léger glissement vers le haut) via IntersectionObserver, assets/js/main.js
   (Reclus.initScrollReveal). Dégradé automatiquement si JS ou
   IntersectionObserver indisponible, ou si l'utilisateur préfère moins de
   mouvement — voir main.js. */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s cubic-bezier(.2, .7, .2, 1), transform .6s cubic-bezier(.2, .7, .2, 1);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0) translateX(0);
}

/* Léger décalage entre cartes voisines d'une même grille, pour éviter que
   tout apparaisse d'un bloc parfaitement synchronisé (cf. "désordre
   contrôlé"). */
[data-reveal]:nth-child(2) { transition-delay: .07s; }
[data-reveal]:nth-child(3) { transition-delay: .14s; }
[data-reveal]:nth-child(4) { transition-delay: .21s; }
[data-reveal]:nth-child(5) { transition-delay: .28s; }
[data-reveal]:nth-child(6) { transition-delay: .35s; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition-delay: 0s !important;
  }
}

/* --- 17.2 Curseur clignotant (détail "bruit numérique") ------------------------------- */
.blink-cursor {
  font-style: normal;
  margin-left: 3px;
  animation: blinkCursor 1.1s step-start infinite;
}

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

@media (prefers-reduced-motion: reduce) {
  .blink-cursor { animation: none; }
}

.build-tag {
  font: 11px ui-monospace, "SFMono-Regular", Menlo, monospace;
  letter-spacing: .08em;
  color: var(--muted-dark);
}

/* --- 17.3 Grille "Bento" des 17 services ---------------------------------------------
   Casse la symétrie d'une grille 3×N uniforme : la première carte de chaque
   pôle (repère .service--wide) occupe deux colonnes et respire davantage. */
.service-grid.bento {
  grid-auto-flow: dense;
}

.service-grid.bento .service--wide {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--ink-800), var(--navy2));
}

.service-grid.bento .service--wide h3 {
  font-size: 32px;
  max-width: 70%;
}

@media (max-width: 620px) {
  .service-grid.bento .service--wide {
    grid-column: span 1;
  }
}

/* --- 17.4 Séparateur typographique ----------------------------------------------------
   Un mot-clé démesuré en filigrane, utilisé comme rupture organique entre
   deux sections plutôt qu'un simple <hr> ou un grand espace vide. */
.word-divider {
  padding: 40px 0;
  text-align: center;
  overflow: hidden;
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.word-divider span {
  display: inline-block;
  font-family: var(--font-serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(46px, 9vw, 120px);
  letter-spacing: 0;
  line-height: 1;
  color: rgba(11, 12, 31, .06);
  text-transform: uppercase;
  white-space: nowrap;
}

.word-divider.on-dark {
  background: var(--navy);
  border-color: var(--line-dark);
}

.word-divider.on-dark span {
  color: rgba(255, 255, 255, .07);
}

/* --- 16. Fil d'Ariane (pages de service) ---------------------------------------------- */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
  padding: 18px 0 0;
}

.breadcrumbs a:hover {
  color: var(--orange);
}

.breadcrumbs .sep {
  color: rgba(11, 12, 31, .25);
}

.breadcrumbs [aria-current="page"] {
  color: var(--navy);
  font-weight: 600;
}

/* --- 18. Note de confidentialité (fiches service, bloc "Cas liés") -------------------
   Remplace la mention "aucun cas documenté" par une formulation professionnelle :
   les missions existent mais restent confidentielles. 4 variantes de texte tournent
   d'une fiche service à l'autre (voir pages/services/*.html) pour éviter que les 17
   fiches affichent exactement la même phrase. */
.confidential-note {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  max-width: 620px;
  padding: 18px 22px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-left: 2px solid var(--orange);
  border-radius: var(--radius);
}

.confidential-note .mark {
  flex-shrink: 0;
  color: var(--orange);
  font-size: 15px;
  line-height: 1.6;
}

.confidential-note p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
}

.confidential-note small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12.5px;
}

/* --- 19. Bouton retour en haut ------------------------------------------------------
   Bouton rond fixe (bas droite), masqué par défaut. Rendu visible par
   assets/js/main.js (Reclus.initBackToTop) via un IntersectionObserver posé sur le
   <footer> : le bouton apparaît quand le footer entre dans le viewport et disparaît
   sinon. Un clic ramène en haut de page (smooth scroll, sauf prefers-reduced-motion). */
.back-to-top {
  position: fixed;
  right: var(--s-6);
  bottom: var(--s-6);
  z-index: 60;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  border: 1px solid var(--orange);
  border-radius: 50%;
  color: var(--orange);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

.back-to-top svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover,
.back-to-top:focus-visible {
  background: var(--orange);
  color: var(--navy);
  border-color: var(--navy);
}

.back-to-top:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

@media (max-width: 620px) {
  .back-to-top {
    right: var(--s-4);
    bottom: var(--s-4);
    width: 42px;
    height: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .back-to-top {
    transition: opacity .01ms linear, visibility .01ms linear;
  }
}

/* --- 20. Bandeau défilant "4 piliers" (accueil uniquement) --------------------------
   Remplace la colonne de preuve verticale de l'ancien hero (voir layout.css,
   .hero-grid/.hero-main) par un bandeau plein écran, présenté à part, qui
   défile en continu de droite à gauche — demandé par le client pour mettre
   INTEL / BUILD / RISK / PROTECT davantage en avant, "avec des couleurs et
   du détail". Le contenu est dupliqué une fois dans le DOM (2e copie
   aria-hidden + tabindex="-1") pour boucler sans coupure visible : la piste
   anime de translateX(0) à translateX(-50%), soit exactement la largeur
   d'un jeu de 4 cartes. */
.proof-marquee {
  background: var(--navy);
  padding: var(--s-8) 0;
}

.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: var(--s-6);
  animation: proof-scroll 32s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.proof-chip {
  --chip-accent: var(--orange);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 300px;
  padding: 20px 24px;
  background: var(--navy2);
  border: 1px solid var(--card-line);
  border-top: 2px solid var(--chip-accent);
  border-radius: var(--radius);
  text-decoration: none;
  transition: background .2s ease, transform .2s ease;
}

.proof-chip:hover,
.proof-chip:focus-visible {
  background: #262A52;
  transform: translateY(-2px);
}

.proof-chip:focus-visible {
  outline: 2px solid var(--chip-accent);
  outline-offset: 2px;
}

.proof-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--chip-accent);
  color: var(--chip-accent);
}

.proof-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.proof-copy {
  display: flex;
  flex-direction: column;
}

.proof-copy strong {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--chip-accent);
  margin-bottom: 4px;
}

.proof-copy span {
  font-size: 13px;
  color: var(--muted-dark);
  white-space: nowrap;
}

@keyframes proof-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 620px) {
  .proof-chip { min-width: 250px; padding: 16px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
    flex-wrap: wrap;
    width: auto;
    justify-content: center;
  }

  .marquee-track [aria-hidden="true"] {
    display: none;
  }
}


/* --- 21. Pied de page : liens légaux, lieu, réglage cookies (charte 2026) ---- */
.footer-col .footer-place {
  display: block;
  font-size: 12.5px;
  color: var(--muted-dark);
  margin-bottom: 14px;
}

.footer-bottom {
  padding: 22px 0 28px;
  font-size: 12px;
  color: var(--muted-dark);
}

.footer-legal-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px 20px;
}

.footer-legal-links a,
.cookie-settings-link {
  color: var(--muted-dark);
  font-size: 12px;
  background: none;
  border: 0;
  padding: 0;
  font-family: inherit;
  cursor: pointer;
  transition: color .2s ease;
}

.footer-legal-links a:hover,
.cookie-settings-link:hover {
  color: var(--orange);
}

/* --- 22. Bandeau de consentement cookies (assets/js/consent.js) -------------
   Google Analytics n'est chargé qu'après "Accepter". Les deux boutons ont le
   même poids visuel (exigence CNIL : refuser doit être aussi simple
   qu'accepter). */
.consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 200;
  max-width: 560px;
  margin-left: auto;
  background: var(--navy);
  color: var(--paper);
  border: 1px solid var(--line-dark);
  border-top: 3px solid var(--orange);
  box-shadow: 0 24px 60px rgba(10, 18, 30, .45);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transform: translateY(20px);
  opacity: 0;
  transition: transform .45s cubic-bezier(.2, .8, .2, 1), opacity .45s ease;
}

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

.consent[hidden] { display: none; }

.consent h2 {
  font-size: 18px;
  font-weight: 400;
  color: var(--paper);
}

.consent p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted-dark);
}

.consent p a {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.consent-actions .btn {
  flex: 1 1 160px;
  height: 46px;
}

.consent-actions .btn-light {
  background: var(--paper);
  color: var(--navy);
}

.consent-actions .btn-light:hover {
  background: #fff;
}

.consent-actions .btn-ghost {
  background: transparent;
  color: var(--paper);
  border-color: rgba(246, 246, 249, .45);
}

.consent-actions .btn-ghost:hover {
  border-color: var(--paper);
  background: rgba(255, 255, 255, .06);
}

@media (prefers-reduced-motion: reduce) {
  .consent { transition: none; }
}

/* --- Pastille « Monitoring Actif 24h » (veille proactive, 31 octobre 2026) ---
   Remplace le bouton rouge « Urgence 24 h ». Version sombre par défaut (en-tête
   marine), version claire dans les sections claires (.live-pill--light). */
.live-pill { display: inline-flex; align-items: center; gap: 10px; min-height: 42px; padding: 0 18px 0 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(140, 130, 238, .45); color: #DCD8FF;
  font-size: 13px; font-weight: 600; letter-spacing: .01em; white-space: nowrap; text-decoration: none;
  transition: border-color .25s, box-shadow .25s, color .25s, background-color .25s; }
.live-pill:hover { border-color: rgba(170, 160, 255, .85); color: #fff; box-shadow: 0 0 24px -6px rgba(140, 130, 238, .65); }
.live-ring { position: relative; flex: none; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid rgba(201, 194, 255, .55); }
.live-ring::before { content: ''; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: #C9C2FF; box-shadow: 0 0 10px rgba(201, 194, 255, .9); }
.live-ring::after { content: ''; position: absolute; inset: -1.5px; border-radius: 50%; border: 1.5px solid rgba(201, 194, 255, .6); animation: liveRing 2.4s cubic-bezier(.2,.7,.2,1) infinite; }
@keyframes liveRing { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.9); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .live-ring::after { animation: none; display: none; } }
.case-top .score { white-space: nowrap; }
@media (max-width: 620px) {
  .nav-actions .live-pill { padding: 0; width: 42px; justify-content: center; }
  .nav-actions .live-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
