/* ==========================================================================
   INFOPRO SOLUTIONS — SYSTÈME DE DESIGN
   Direction : "diagnostic technique" — sombre, professionnel, précis.
   Typo : Space Grotesk (titres) / Inter (texte) / JetBrains Mono (data, badges)
   ========================================================================== */

:root {
  /* --- Couleurs --- */
  --bg:            #0B1220;
  --bg-alt:        #0E1729;
  --panel:         #131E33;
  --panel-2:       #182541;
  --border:        #24334F;
  --border-light:  #2E4066;

  --text:          #E7ECF5;
  --text-muted:    #93A0BA;
  --text-faint:    #5F6E8C;

  --accent:        #3D7FFF;
  --accent-hover:  #5C93FF;
  --accent-soft:   rgba(61, 127, 255, 0.12);

  --teal:          #2FD3C2;
  --teal-soft:     rgba(47, 211, 194, 0.12);

  --amber:         #F5A524;
  --amber-soft:    rgba(245, 165, 36, 0.12);

  --red:           #F0554B;
  --red-soft:      rgba(240, 85, 75, 0.12);

  /* --- Typo --- */
  --font-display: 'Space Grotesk', 'Arial Narrow', sans-serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono:    'JetBrains Mono', 'Courier New', monospace;

  /* --- Rayon / ombres --- */
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 8px 30px rgba(0,0,0,0.35);
  --shadow-sm: 0 4px 14px rgba(0,0,0,0.25);

  --container: 1200px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
p { margin: 0 0 1em; color: var(--text-muted); }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }

/* Focus visible clavier */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* --- Fond texturé : trace de circuit imprimé, très discret --- */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.06;
  pointer-events: none;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 88px 0;
}
.section--tight { padding: 56px 0; }
.section--alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-soft);
}

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); color: var(--text); }
.section-head p { font-size: 17px; margin: 0; }

/* --- Boutons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 4px 18px rgba(61,127,255,.35); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-outline { background: transparent; border-color: var(--border-light); color: var(--text); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-ghost { background: var(--panel); color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--border-light); }
.btn-sm { padding: 9px 16px; font-size: 13px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }

/* --- Badges / statuts (motif signature "diagnostic") --- */
.tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 4px;
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.tag--ok { color: var(--teal); border-color: rgba(47,211,194,.35); background: var(--teal-soft); }
.tag--warn { color: var(--amber); border-color: rgba(245,165,36,.35); background: var(--amber-soft); }
.tag--accent { color: var(--accent-hover); border-color: rgba(61,127,255,.35); background: var(--accent-soft); }
.tag--muted { color: var(--text-faint); }
.tag-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* --- Cadre "bracket" (coins d'oscilloscope) : élément signature --- */
.bracket-frame {
  position: relative;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
}
.bracket-frame::before, .bracket-frame::after,
.bracket-frame .bracket-frame__tr, .bracket-frame .bracket-frame__bl {
  content: "";
  position: absolute;
  width: 16px; height: 16px;
  border-color: var(--accent);
  opacity: .8;
}
.bracket-frame::before { top: -1px; left: -1px; border-top: 2px solid; border-left: 2px solid; }
.bracket-frame::after { bottom: -1px; right: -1px; border-bottom: 2px solid; border-right: 2px solid; }

/* ==========================================================================
   HEADER / NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  /* Le fond flouté est posé sur un ::before (voir plus bas) plutôt que
     directement sur .site-header : backdrop-filter transforme l'élément
     qui le porte en "containing block" pour ses descendants en
     position:fixed. Comme .main-nav est en position:fixed, ça cassait
     son positionnement sur mobile (menu écrasé sur une bande de ~40px
     au lieu de couvrir tout l'écran). En isolant le flou sur un
     pseudo-élément, .main-nav reste bien positionné par rapport à
     l'écran entier. */
  isolation: isolate;
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(11, 18, 32, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 24px;
  max-width: var(--container);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  color: var(--text);
}
.brand__logo {
  height: 76px;
  width: auto;
  flex-shrink: 0;
  object-fit: contain;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}
.main-nav a {
  padding: 10px 14px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: color .15s ease, background .15s ease;
}
.main-nav a:hover { color: var(--text); background: var(--panel); }
.main-nav a.is-active { color: var(--accent-hover); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .btn-outline { padding: 9px 14px; font-size: 13.5px; }

.cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  color: var(--text);
  font-size: 13.5px;
  font-weight: 600;
}
.cart-btn:hover { border-color: var(--accent); }
.cart-count {
  background: var(--accent);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  width: 40px; height: 40px;
  align-items: center;
  justify-content: center;
  color: var(--text);
}

@media (max-width: 980px) {
  .main-nav { position: fixed; top: var(--header-h, 108px); left: 0; right: 0; bottom: 0;
    background: var(--bg); flex-direction: column; align-items: stretch;
    padding: 12px; gap: 4px; transform: translateX(100%); transition: transform .25s ease;
    overflow-y: auto; z-index: 99; }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav a { padding: 14px 16px; font-size: 16px; border-bottom: 1px solid var(--border); }
  .nav-toggle { display: inline-flex; }
  .header-actions .btn-outline span.label-full { display: none; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  padding: 88px 0 96px;
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(34px, 4.6vw, 56px);
  color: var(--text);
}
.hero h1 .accent { color: var(--accent-hover); }
.hero p.lead {
  font-size: 18px;
  max-width: 500px;
  margin-bottom: 32px;
}
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }
.hero__stats { display: flex; gap: 32px; flex-wrap: wrap; }
.hero__stat .num {
  font-family: var(--font-mono);
  font-size: 24px;
  color: var(--teal);
  font-weight: 700;
}
.hero__stat .label { font-size: 12.5px; color: var(--text-faint); text-transform: uppercase; letter-spacing: .06em; }

/* Panneau "diagnostic" du hero */
.diag-panel {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  background: linear-gradient(180deg, var(--panel), var(--bg-alt));
  box-shadow: var(--shadow);
  overflow: hidden;
}
.diag-panel__head {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-faint);
}
.diag-panel__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--border-light); }
.diag-panel__body { padding: 20px; font-family: var(--font-mono); font-size: 13.5px; }
.diag-line {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
  color: var(--text-muted);
  opacity: 0;
  animation: diagIn .5s ease forwards;
}
.diag-line:last-child { border-bottom: none; }
.diag-line b { color: var(--text); font-weight: 500; }
@keyframes diagIn { to { opacity: 1; } }
.diag-line .ok { color: var(--teal); }
.diag-line .status-pulse {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--teal); margin-right: 6px;
  box-shadow: 0 0 0 0 rgba(47,211,194,.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(47,211,194,.5); }
  70% { box-shadow: 0 0 0 8px rgba(47,211,194,0); }
  100% { box-shadow: 0 0 0 0 rgba(47,211,194,0); }
}

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

/* ==========================================================================
   CARTES — services / produits / avis
   ========================================================================== */
.grid {
  display: grid;
  gap: 20px;
}
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; } }

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: border-color .18s ease, transform .18s ease;
}
.card:hover { border-color: var(--border-light); transform: translateY(-2px); }
.card__icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent-hover);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { font-size: 14.5px; margin-bottom: 0; }
.card__link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 16px; font-size: 13.5px; font-weight: 600; color: var(--accent-hover);
}

/* Service card avec liste de puces */
.service-block {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.service-block h3 { font-size: 21px; display:flex; align-items:center; gap:12px; }
.service-block__num { font-family: var(--font-mono); color: var(--text-faint); font-size: 14px; }
.check-list li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 8px 0;
  font-size: 14.5px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.check-list li:last-child { border-bottom: none; }
.check-list li svg { flex-shrink: 0; margin-top: 3px; color: var(--teal); }

/* Avis clients */
.review-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.review-card__stars { color: var(--amber); font-family: var(--font-mono); font-size: 14px; margin-bottom: 12px; }
.review-card p { color: var(--text); font-size: 15px; font-style: italic; }
.review-card__author { display: flex; align-items: center; gap: 10px; margin-top: 16px; }
.review-card__avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--panel-2); color: var(--accent-hover);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-weight: 700; font-size: 13px;
  border: 1px solid var(--border-light);
}
.review-card__name { font-size: 13.5px; font-weight: 600; color: var(--text); }
.review-card__role { font-size: 12px; color: var(--text-faint); }

/* Bandeau logos partenaires / marques */
.logo-strip { display: flex; flex-wrap: wrap; gap: 36px; align-items: center; justify-content: center; opacity: .55; }
.logo-strip span { font-family: var(--font-mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }

/* ==========================================================================
   CTA / STRIP
   ========================================================================== */
.cta-strip {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  background: linear-gradient(135deg, var(--panel-2), var(--panel));
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-strip h3 { font-size: 24px; margin-bottom: 6px; }
.cta-strip p { margin: 0; }

/* ==========================================================================
   FORMULAIRES
   ========================================================================== */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid--1 { grid-template-columns: 1fr; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: 7px; }
.field.span-2 { grid-column: span 2; }
@media (max-width: 700px) { .field.span-2 { grid-column: span 1; } }
.field label { font-size: 13px; font-weight: 600; color: var(--text-muted); }
.field label .req { color: var(--red); }
.field input, .field select, .field textarea {
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text);
  font-size: 14.5px;
  transition: border-color .15s ease;
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-faint); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); }
.field textarea { resize: vertical; min-height: 110px; }
.field-hint { font-size: 12px; color: var(--text-faint); }
.form-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.radio-group { display: flex; gap: 10px; flex-wrap: wrap; }
.radio-pill {
  border: 1px solid var(--border-light);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 13.5px;
  color: var(--text-muted);
  cursor: pointer;
  transition: all .15s ease;
}
.radio-pill input { display: none; }
.radio-pill.is-checked, .radio-pill:has(input:checked) {
  background: var(--accent-soft); border-color: var(--accent); color: var(--accent-hover);
}
.form-msg { padding: 14px 16px; border-radius: var(--radius-sm); font-size: 14px; margin-bottom: 18px; display: none; }
.form-msg.is-visible { display: block; }
.form-msg--ok { background: var(--teal-soft); border: 1px solid rgba(47,211,194,.35); color: var(--teal); }
.form-msg--error { background: var(--red-soft); border: 1px solid rgba(240,85,75,.35); color: var(--red); }

/* ==========================================================================
   PAGE HEADER (pages internes)
   ========================================================================== */
.page-hero {
  padding: 56px 0 40px;
  border-bottom: 1px solid var(--border);
}
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-faint);
  margin-bottom: 18px;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent-hover); }
.page-hero h1 { font-size: clamp(28px, 3.6vw, 42px); }
.page-hero p.lead { font-size: 16.5px; max-width: 620px; }

/* ==========================================================================
   TABS / FILTRES (catalogue)
   ========================================================================== */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.tab {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-light);
  font-size: 13.5px;
  color: var(--text-muted);
  background: transparent;
}
.tab.is-active, .tab:hover { border-color: var(--accent); color: var(--accent-hover); background: var(--accent-soft); }

.filters-bar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  padding: 16px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 24px;
}
.filters-bar .search-input { flex: 1; min-width: 220px; position: relative; }
.filters-bar input[type="search"] {
  width: 100%;
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 11px 14px 11px 38px;
  color: var(--text);
  font-size: 14px;
}
.filters-bar select {
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 11px 12px;
  color: var(--text);
  font-size: 13.5px;
}
.search-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--text-faint); }

.results-count { font-size: 13px; color: var(--text-faint); font-family: var(--font-mono); margin-bottom: 16px; }

/* Produits */
.product-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .18s ease, transform .18s ease;
}
.product-card:hover { border-color: var(--border-light); transform: translateY(-2px); }
.product-card__img {
  aspect-ratio: 4/3;
  background: var(--bg-alt);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-faint);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-card__badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.product-card__body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-card__cat { font-family: var(--font-mono); font-size: 11px; color: var(--text-faint); text-transform: uppercase; letter-spacing: .05em; }
.product-card__name { font-size: 15px; font-weight: 600; color: var(--text); line-height: 1.3; }
.product-card__price { font-family: var(--font-mono); font-size: 18px; font-weight: 700; color: var(--teal); margin-top: auto; }
.product-card__price .old { font-size: 13px; color: var(--text-faint); text-decoration: line-through; font-weight: 400; margin-left: 6px; }
.product-card__actions { display: flex; gap: 8px; padding: 0 16px 16px; }
.product-card__actions .btn { flex: 1; }

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 32px; }
.pagination button {
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background: var(--panel);
  color: var(--text-muted);
}
.pagination button.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }

/* Modal fiche produit */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(4,8,16,0.72);
  display: none; align-items: center; justify-content: center;
  z-index: 1000; padding: 20px;
  backdrop-filter: blur(3px);
}
.modal-overlay.is-open { display: flex; }
.modal {
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  max-width: 780px; width: 100%;
  max-height: 88vh; overflow-y: auto;
  box-shadow: var(--shadow);
}
.modal__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px; border-bottom: 1px solid var(--border);
  position: sticky; top: 0; background: var(--bg-alt); z-index: 2;
}
.modal__close { background: var(--panel); border: 1px solid var(--border-light); border-radius: var(--radius-sm); width: 34px; height: 34px; color: var(--text); }
.modal__body { padding: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 640px) { .modal__body { grid-template-columns: 1fr; } }
.modal__img { aspect-ratio: 4/3; background: var(--panel); border-radius: var(--radius); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--text-faint); overflow: hidden; }
.modal__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.modal__specs { margin-top: 16px; }
.modal__specs .spec-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--border); font-size: 13.5px; }
.modal__specs .spec-row span:first-child { color: var(--text-faint); }
.modal__specs .spec-row span:last-child { color: var(--text); font-family: var(--font-mono); }

/* ==========================================================================
   PROCESSUS / ÉTAPES (numérotées — vraie séquence)
   ========================================================================== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  counter-reset: step;
}
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step {
  position: relative;
  padding: 24px 20px 24px 0;
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent-hover);
  display: block;
  margin-bottom: 12px;
}
.step h4 { font-size: 16px; margin-bottom: 6px; }
.step p { font-size: 13.5px; margin: 0; }
.step:not(:last-child) { border-right: 1px dashed var(--border); }
@media (max-width: 900px) { .step:not(:last-child) { border-right: none; border-bottom: 1px dashed var(--border); } }

/* Onglets services particuliers / entreprises */
.audience-switch { display: inline-flex; background: var(--panel); border: 1px solid var(--border); border-radius: 999px; padding: 4px; margin-bottom: 32px; }
.audience-switch button {
  padding: 10px 22px; border-radius: 999px; border: none; background: transparent;
  color: var(--text-muted); font-weight: 600; font-size: 14px;
}
.audience-switch button.is-active { background: var(--accent); color: #fff; }

/* ==========================================================================
   FAQ (accordéon)
   ========================================================================== */
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  background: none; border: none; color: var(--text); text-align: left;
  padding: 20px 4px; font-size: 16px; font-weight: 600;
}
.accordion-trigger .chev { transition: transform .2s ease; color: var(--text-faint); flex-shrink: 0; margin-left: 12px; }
.accordion-item.is-open .accordion-trigger .chev { transform: rotate(45deg); color: var(--accent-hover); }
.accordion-panel { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.accordion-item.is-open .accordion-panel { max-height: 400px; }
.accordion-panel-inner { padding: 0 4px 20px; font-size: 14.5px; color: var(--text-muted); }

/* ==========================================================================
   TABLE PRIX / CONTRATS
   ========================================================================== */
.pricing-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.pricing-table th, .pricing-table td { padding: 14px 16px; border-bottom: 1px solid var(--border); text-align: left; }
.pricing-table th { font-family: var(--font-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--text-faint); }
.pricing-table td { color: var(--text-muted); }

/* ==========================================================================
   BANDEAU "EN TRAVAUX"
   ========================================================================== */
.wip-panel {
  text-align: center;
  padding: 80px 24px;
  max-width: 640px;
  margin: 0 auto;
}
.wip-badge {
  width: 76px; height: 76px; border-radius: 20px;
  background: var(--amber-soft); border: 1px solid rgba(245,165,36,.35);
  color: var(--amber);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
}
.wip-panel h1 { font-size: 30px; }
.wip-terminal {
  margin-top: 32px;
  text-align: left;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
}
.wip-terminal .line { padding: 4px 0; }
.wip-terminal .prompt { color: var(--teal); }
.wip-terminal .caret { display:inline-block; width:8px; height:14px; background:var(--teal); vertical-align:middle; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
  padding: 64px 0 28px;
  margin-top: 96px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h5 { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-faint); margin-bottom: 16px; }
.footer-grid ul li { margin-bottom: 10px; }
.footer-grid ul li a { font-size: 14px; color: var(--text-muted); }
.footer-grid ul li a:hover { color: var(--accent-hover); }
.footer-brand p { font-size: 14px; max-width: 280px; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding-top: 24px; border-top: 1px solid var(--border);
  font-size: 12.5px; color: var(--text-faint);
}
.footer-bottom a:hover { color: var(--accent-hover); }
.footer-legal-links { display: flex; gap: 18px; flex-wrap: wrap; }
.social-row { display: flex; gap: 10px; margin-top: 16px; }
.social-row a {
  width: 34px; height: 34px; border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  display: flex; align-items: center; justify-content: center; color: var(--text-muted);
}
.social-row a:hover { color: var(--accent-hover); border-color: var(--accent); }

/* ==========================================================================
   UTILITAIRES
   ========================================================================== */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mx-auto { margin-left: auto; margin-right: auto; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.w-full { width: 100%; }
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--accent); color: #fff;
  padding: 12px 18px; z-index: 2000; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }
