/* ============================================================
   GILLES INFORMATIQUE — global.css
   Charte graphique complète — zéro dépendance externe
   ============================================================ */

/* ── POLICES (servies en local via /assets/fonts/) ── */
/* font-display:optional = pas de swap après le premier rendu → zéro CLS */
/* Les polices système prennent le relais automatiquement */
@font-face {
  font-family: 'JetBrainsMono';
  src: local('JetBrains Mono'),
       url('../fonts/JetBrainsMono-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: optional;
}
@font-face {
  font-family: 'JetBrainsMono';
  src: local('JetBrains Mono Medium'),
       url('../fonts/JetBrainsMono-Medium.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: optional;
}
@font-face {
  font-family: 'JetBrainsMono';
  src: local('JetBrains Mono Bold'),
       url('../fonts/JetBrainsMono-Bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: optional;
}

/* Inter supprimé → police système = 0 Ko téléchargé, rendu immédiat */

/* ── VARIABLES ── */
:root {
  /* Couleurs fond */
  --c-bg-black:      #0a0a0a;
  --c-bg-header:     #0e0e0e;
  --c-bg-hero:       #141414;
  --c-bg-stats:      #1c1c1c;
  --c-bg-dark:       #242424;
  --c-bg-card-dark:  #303030;
  --c-bg-offwhite:   #f2f1ee;
  --c-bg-white:      #ffffff;

  /* Couleurs texte */
  --c-text-primary:  #e0e0dc;
  --c-text-muted:    #9a9a96;
  --c-text-dim:      #888884;
  --c-text-light:    #1a1a1a;
  --c-text-muted-l:  #5a5a58;

  /* Bordures */
  --c-border-dark:   #282828;
  --c-border-mid:    #2a2a2a;
  --c-border-card:   #363636;
  --c-border-light:  #e0deda;

  /* Accent */
  --c-orange:        #f07820;
  --c-orange-dim:    #c05810;
  --c-orange-hover:  #d06010;
  --c-orange-glow:   rgba(240, 120, 32, 0.12);

  /* Terminal */
  --c-green-term:    #4ec94e;
  --c-blue-term:     #5a8fc8;
  --c-red-term:      #e05252;
  --c-yellow-term:   #e0a030;

  /* Typographie */
  --font-mono: 'JetBrainsMono', 'Courier New', 'Lucida Console', monospace;
  --font-sans: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Espacements */
  --space-xs:   4px;
  --space-sm:   8px;
  --space-md:   16px;
  --space-lg:   24px;
  --space-xl:   40px;
  --space-2xl:  64px;

  /* Rayons */
  --radius-sm:  3px;
  --radius-md:  6px;
  --radius-lg:  10px;

  /* Transitions */
  --transition: .15s ease;

  /* Largeur max contenu */
  --max-width: 1200px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth;  }
body {
  font-family: var(--font-sans);
  background: var(--c-bg-hero);
  color: var(--c-text-primary);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--c-orange); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--c-orange-hover); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

/* ── ACCESSIBILITÉ ── */
:focus-visible {
  outline: 2px solid var(--c-orange);
  outline-offset: 2px;
}
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ── LAYOUT ── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}
.section-pad { padding: var(--space-2xl) 0; }
.section-pad-sm { padding: var(--space-xl) 0; }

/* ── TYPOGRAPHIE ── */
.font-mono { font-family: var(--font-mono); }
.font-sans { font-family: var(--font-sans); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-mono);
  font-weight: 700;
  line-height: 1.25;
  color: var(--c-text-primary);
  margin-bottom: var(--space-md);
}
h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: var(--space-lg); }
h2 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); margin-bottom: var(--space-lg); }
h3 { font-size: 1.1rem; }
h4 { font-size: 1rem; }

p { font-size: 1rem; line-height: 1.7; }
.text-muted { color: var(--c-text-muted); }
.text-orange { color: var(--c-orange); }
.text-green  { color: var(--c-green-term); }

/* Section label style terminal */
.section-label {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--c-orange-dim);
  margin-bottom: var(--space-lg);
}
.section-label--dark { color: var(--c-orange); }

/* ── ZONES DE FOND ── */
.bg-black    { background: var(--c-bg-black); }
.bg-header   { background: var(--c-bg-header); }
.bg-hero     { background: var(--c-bg-hero); }
.bg-stats    { background: var(--c-bg-stats); }
.bg-dark     { background: var(--c-bg-dark); }
.bg-offwhite { background: var(--c-bg-offwhite); color: var(--c-text-light); }
.bg-white    { background: var(--c-bg-white);    color: var(--c-text-light); }

/* ── BOUTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: var(--space-sm);
  padding: .6rem 1.25rem;
  font-family: var(--font-mono);
  font-size: .75rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
  line-height: 1;
}
.btn-primary {
  background: var(--c-orange);
  color: #0a0a0a;
  border: 1px solid var(--c-orange);
}
.btn-primary:hover {
  background: var(--c-orange-hover);
  border-color: var(--c-orange-hover);
  color: #0a0a0a;
}
.btn-outline {
  background: transparent;
  color: var(--c-text-primary);
  border: 1px solid var(--c-border-card);
}
.btn-outline:hover {
  border-color: var(--c-orange);
  color: var(--c-orange);
}
.btn-orange-outline {
  background: transparent;
  color: var(--c-orange);
  border: 1px solid var(--c-orange);
}
.btn-orange-outline:hover {
  background: var(--c-orange);
  color: #0a0a0a;
}
/* Sur fond clair */
.btn-outline-light {
  background: transparent;
  color: var(--c-text-light);
  border: 1px solid #ccc;
}
.btn-outline-light:hover {
  border-color: var(--c-orange-dim);
  color: var(--c-orange-dim);
}

/* ── CARDS ── */
/* Card sombre */
.card {
  background: var(--c-bg-card-dark);
  border: .5px solid var(--c-border-card);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  transition: border-color var(--transition);
}
.card:hover { border-color: var(--c-orange); }

/* Card claire avec accent top */
.card-light {
  background: var(--c-bg-white);
  border: .5px solid var(--c-border-light);
  border-top: 3px solid var(--c-orange);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  transition: box-shadow var(--transition);
}
.card-light:hover { box-shadow: 0 4px 16px rgba(0,0,0,.08); }

/* Card highlight (fond blanc, bordure gauche orange) */
.card-highlight {
  background: var(--c-bg-white);
  border: .5px solid var(--c-border-light);
  border-left: 4px solid var(--c-orange);
  border-radius: var(--radius-md);
  padding: var(--space-lg) var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  flex-wrap: wrap;
}
.card-highlight h3 { font-family: var(--font-mono); color: var(--c-text-light); margin-bottom: var(--space-xs); }
.card-highlight p  { color: var(--c-text-muted-l); font-size: .9rem; }

/* ── GRILLES ── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-lg); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-md); }

/* ── TERMINAL WIDGET ── */
.terminal {
  background: #0c0c0c;
  border: 1px solid var(--c-border-mid);
  border-radius: var(--radius-md);
  overflow: hidden;
  font-family: var(--font-mono);
}
.terminal__titlebar {
  background: #181818;
  border-bottom: 1px solid var(--c-border-dark);
  padding: .5rem .875rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.terminal__ascii-btn {
  font-family: var(--font-mono);
  font-size: .65rem;
  letter-spacing: .05em;
  user-select: none;
  font-weight: 700;
}
.terminal__ascii-btn--r { color: #e05252; }
.terminal__ascii-btn--y { color: #e0a030; }
.terminal__ascii-btn--g { color: #4ec94e; }
.terminal__title {
  font-size: .65rem; color: #888884; margin-left: .5rem; letter-spacing: .03em;
}
.terminal__body {
  padding: 1.125rem 1.25rem;
  font-size: .8rem;
  color: #888;
  line-height: 1.75;
}
/* Éléments prompt */
.t-prompt  { color: var(--c-green-term); }
.t-user    { color: var(--c-orange); }
.t-at      { color: #2a2a2a; }
.t-host    { color: var(--c-blue-term); }
.t-path    { color: var(--c-green-term); }
.t-cmd     { color: #d4d4d0; }
.t-output  { color: #555; padding-left: .25rem; }
.t-ok      { color: var(--c-green-term); }
.t-accent  { color: var(--c-orange); }
.t-cursor  {
  display: inline-block; width: 8px; height: 14px;
  background: var(--c-orange); vertical-align: -2px; margin-left: 2px;
  animation: blink 1.1s step-end infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

/* Scanlines hero */
.scanlines::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: repeating-linear-gradient(
    0deg, transparent, transparent 2px,
    rgba(0,0,0,.07) 2px, rgba(0,0,0,.07) 4px
  );
}

/* ── STATUS BAR ── */
.status-bar {
  background: #0a0a0a;
  border-top: 1px solid var(--c-border-dark);
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-lg);
  font-family: var(--font-mono);
  font-size: .625rem;
  color: var(--c-text-dim);
  letter-spacing: .02em;
}
.status-bar__group { display: flex; align-items: center; gap: var(--space-md); }
.status-bar__item  { display: flex; align-items: center; gap: .25rem; }
.status-bar__sep   { color: #1e1e1e; }
.status-bar__dot {
  width: 5px; height: 5px; border-radius: 50%;
}
.status-bar__dot--on {
  background: var(--c-green-term);
  animation: pulse 2.5s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.25} }
.status-bar__online { color: var(--c-green-term); }
.status-bar__branch { color: var(--c-orange); }
.status-bar__info   { color: var(--c-blue-term); }

/* ── BINARY GLOW (fragments de binaire animés sur fond grille) ──
   Conteneur vide en HTML, peuplé aléatoirement en JS (voir includes.js → initBinaryGlow).
   Utilisé sur le hero accueil + le page-hero de toutes les pages de contenu. */
.bg-binary-glow { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.bg-binary-glow span {
  position: absolute;
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: .05em;
  animation: bitPulse 4s ease-in-out infinite;
  user-select: none;
}
@keyframes bitPulse {
  0%, 100% { opacity: .08; }
  50%      { opacity: .65; }
}
@media (prefers-reduced-motion: reduce) {
  .bg-binary-glow span { animation: none; opacity: .3; }
}
/* Variante "page-hero" (toutes pages sauf accueil) : chiffres cantonnés à droite, masqués sous 1080px */
@media (max-width: 1080px) {
  .bg-binary-glow--right { display: none; }
}

/* ── STATS STRIP ── */
.stats-strip {
  background: var(--c-bg-stats);
  border-top: 1px solid var(--c-border-dark);
  border-bottom: 1px solid var(--c-border-dark);
}
.stat-item { text-align: center; padding: var(--space-lg) var(--space-md); }
.stat-item__num {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--c-orange);
  display: block;
}
.stat-item__label {
  font-size: .7rem;
  color: #9a9a96;
  margin-top: .25rem;
  letter-spacing: .05em;
}

/* ── BANNIÈRE COOKIES ── */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: #111;
  border-top: 1px solid var(--c-border-mid);
  padding: .875rem var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: .725rem;
  color: #888;
  transition: transform .35s ease, opacity .35s ease;
}
.cookie-banner.hidden {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner__prompt { color: var(--c-green-term); flex-shrink: 0; }
.cookie-banner__text   { flex: 1; }
.cookie-banner__link   { color: var(--c-orange); cursor: pointer; }
.cookie-banner__link:hover { text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: .5rem; flex-shrink: 0; }
.cookie-banner__btn {
  padding: .35rem .875rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: .65rem;
  cursor: pointer;
  transition: all var(--transition);
}
.cookie-banner__btn--accept {
  background: var(--c-orange); color: #0a0a0a;
  border: 1px solid var(--c-orange); font-weight: 700;
}
.cookie-banner__btn--accept:hover { background: var(--c-orange-hover); border-color: var(--c-orange-hover); }
.cookie-banner__btn--refuse {
  background: transparent; color: #aaa;
  border: 1px solid #555;
}
.cookie-banner__btn--refuse:hover { color: #ccc; border-color: #666; }

/* ── ICÔNES SVG INLINE ── */
.icon { width: 1.25rem; height: 1.25rem; flex-shrink: 0; }
.icon--sm { width: 1rem; height: 1rem; }
.icon--lg { width: 1.75rem; height: 1.75rem; }
.icon--orange { color: var(--c-orange); }

/* ── UTILITAIRES ── */
.flex          { display: flex; }
.flex-center   { display: flex; align-items: center; }
.flex-between  { display: flex; align-items: center; justify-content: space-between; }
.flex-wrap     { flex-wrap: wrap; }
.gap-sm        { gap: var(--space-sm); }
.gap-md        { gap: var(--space-md); }
.gap-lg        { gap: var(--space-lg); }
.mt-sm         { margin-top: var(--space-sm); }
.mt-md         { margin-top: var(--space-md); }
.mt-lg         { margin-top: var(--space-lg); }
.mb-md         { margin-bottom: var(--space-md); }
.mb-lg         { margin-bottom: var(--space-lg); }
.text-center   { text-align: center; }
.hidden        { display: none !important; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .card-highlight { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  :root { --space-lg: 16px; --space-xl: 28px; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .container { padding: 0 var(--space-md); }
  h1 { font-size: 1.4rem; }
}

/* ── PRINT ── */
@media print {
  .cookie-banner, header nav, .status-bar { display: none; }
  body { background: #fff; color: #000; }
}
/* ============================================================
   GILLES INFORMATIQUE — header-footer.css
   Styles spécifiques header, nav, méga-menu, footer
   ============================================================ */

/* ══════════════════════════════════════════
   HEADER
══════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--c-bg-header);
  border-bottom: 1px solid var(--c-border-dark);
}

/* Réserve la hauteur du header avant son injection JS → évite le CLS */
#site-header-placeholder:empty {
  display: block;
  min-height: 59px; /* 58px inner + 1px border-bottom */
  background: var(--c-bg-header);
  border-bottom: 1px solid var(--c-border-dark);
}

.site-header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  height: 58px;
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

/* LOGO */
.site-header__logo {
  display: flex;
  align-items: center;
  gap: .625rem;
  text-decoration: none;
  flex-shrink: 0;
  color: #e0e0da;
}
.site-header__logo:hover { color: #e0e0da; }

.site-header__logo-icon {
  width: 32px; height: 32px;
  background: var(--c-orange);
  border-radius: 5px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: #0a0a0a;
}
.site-header__logo-icon svg { width: 20px; height: 20px; }

.site-header__logo-text {
  font-family: var(--font-mono);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: -.2px;
  white-space: nowrap;
}
.site-header__logo-text em {
  font-style: normal;
  color: var(--c-orange);
}

/* NAVIGATION */
.main-nav { flex: 1; }

.main-nav__list {
  display: flex;
  align-items: stretch;
  height: 58px;
  gap: 0;
}

.main-nav__item {
  display: flex;
  align-items: stretch;
}

.main-nav__link {
  display: flex;
  align-items: center;
  gap: .3rem;
  padding: 0 .875rem;
  font-family: var(--font-mono);
  font-size: .775rem;
  font-weight: 500;
  color: #aaaaaa;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
  white-space: nowrap;
  background: none;
  cursor: pointer;
  height: 100%;
  letter-spacing: .02em;
}
.main-nav__link:hover {
  color: #dddddd;
  border-bottom-color: transparent;
}
.main-nav__link.is-active {
  color: var(--c-orange);
  border-bottom-color: var(--c-orange);
}
.main-nav__link--btn {
  border: none;
  border-bottom: 2px solid transparent;
}
/* Lien <a> avec sous-menu — même apparence que le bouton */
.main-nav__link--has-sub {
  display: flex;
  align-items: center;
  gap: .35rem;
}
.main-nav__link--btn[aria-expanded="true"],
.main-nav__link--has-sub[aria-expanded="true"] {
  color: var(--c-orange);
  border-bottom-color: var(--c-orange);
}

/* Chevron */
.main-nav__chevron {
  width: 10px; height: 6px;
  transition: transform .2s ease;
  flex-shrink: 0;
}
.main-nav__link--btn[aria-expanded="true"] .main-nav__chevron,
.main-nav__link--has-sub[aria-expanded="true"] .main-nav__chevron {
  transform: rotate(180deg);
}

/* Lien "Voir tout" dans le dropdown desktop */
.mega-menu__link--all {
  font-weight: 700;
  color: var(--c-orange) !important;
  border-bottom: 1px solid rgba(240,120,32,.2);
  padding-bottom: .6rem;
  margin-bottom: .25rem;
}
.mega-menu__link--all:hover {
  color: #fff !important;
  background: rgba(240,120,32,.15);
}

/* Lien groupe cliquable mobile (ex: "Création de sites internet →") */
.mobile-menu__sub-link--group {
  color: var(--c-orange) !important;
  font-weight: 700;
  border-bottom: 1px solid #1e1e1e;
  padding-bottom: .65rem;
  margin-bottom: .25rem;
}

/* Bouton de groupe niveau 2 — ex: "Création de sites internet" dans Internet & Web */
.mobile-menu__sub-group-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  border-top: 1px solid #1e1e1e;
  padding: .75rem 1.25rem;
  color: #c8c8c4;
  font-family: var(--font-mono);
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: color var(--transition);
}
.mobile-menu__sub-group-btn:first-child { border-top: none; }
.mobile-menu__sub-group-btn:hover { color: var(--c-orange); }
.mobile-menu__sub-group-btn[aria-expanded="true"] { color: var(--c-orange); }
.mobile-menu__sub-group-btn svg {
  width: 10px; height: 6px;
  flex-shrink: 0;
  transition: transform .2s ease;
}
.mobile-menu__sub-group-btn[aria-expanded="true"] svg { transform: rotate(180deg); }

.mobile-menu__sub-group-list {
  list-style: none;
  padding: 0;
  margin: 0;
  background: #0a0a0a;
}
.mobile-menu__sub-group-list[hidden] { display: none; }
.mobile-menu__sub-accordion { list-style: none; }

/* BOUTON ESPACE CLIENT */
.btn-client {
  padding: .35rem .875rem;
  background: transparent;
  border: 1px solid var(--c-orange);
  color: var(--c-orange);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: .7rem;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background var(--transition), color var(--transition);
}
.btn-client:hover {
  background: var(--c-orange);
  color: #0a0a0a;
}

/* ══════════════════════════════════════════
   MÉGA-MENU HORIZONTAL
══════════════════════════════════════════ */
.submenu-web {
  background: #111;
  border-bottom: 1px solid var(--c-border-dark);
  animation: slideDown .2s ease;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.submenu-web[hidden] { display: none; }

/* Bande de liens horizontale */
.submenu-web__links {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid var(--c-border-dark);
  height: 40px;
}

.submenu-web__link {
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: 0 1.25rem;
  font-family: var(--font-mono);
  font-size: .7rem;
  color: var(--c-text-dim);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color var(--transition);
  white-space: nowrap;
  height: 100%;
}
.submenu-web__link:hover { color: var(--c-text-muted); }
.submenu-web__link.is-active {
  color: var(--c-orange);
  border-bottom-color: var(--c-orange);
}
.submenu-web__link:first-child { padding-left: 0; }

.submenu-web__num {
  color: #2a2a2a;
  font-size: .6rem;
  transition: color var(--transition);
}
.submenu-web__link.is-active .submenu-web__num,
.submenu-web__link:hover .submenu-web__num {
  color: var(--c-orange-dim);
}

/* Zone preview en dessous */
.submenu-web__preview {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-lg);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.submenu-preview-item {
  padding-right: var(--space-lg);
  border-right: 1px solid var(--c-border-dark);
  transition: opacity .15s;
  cursor: pointer;
}
.submenu-preview-item:last-child { border-right: none; padding-right: 0; }
.submenu-preview-item--dim { opacity: .35; }
.submenu-preview-item--dim:hover { opacity: .7; }

.submenu-preview-item__tag {
  font-family: var(--font-mono);
  font-size: .6rem;
  color: var(--c-orange-dim);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: .35rem;
}
.submenu-preview-item__title {
  font-family: var(--font-mono);
  font-size: .8rem;
  font-weight: 700;
  color: var(--c-text-primary);
  margin-bottom: .35rem;
}
.submenu-preview-item__desc {
  font-size: .725rem;
  color: var(--c-text-dim);
  line-height: 1.55;
  margin-bottom: .5rem;
}
.submenu-preview-item__tags {
  display: flex;
  gap: .35rem;
  flex-wrap: wrap;
}
.submenu-preview-item__tags span {
  font-family: var(--font-mono);
  font-size: .6rem;
  padding: .15rem .4rem;
  border-radius: 2px;
  background: rgba(255,255,255,.03);
  color: var(--c-text-dim);
  border: .5px solid var(--c-border-mid);
}

/* ══════════════════════════════════════════
   BURGER & MENU MOBILE
══════════════════════════════════════════ */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 4px;
  margin-left: auto;
  background: none;
  border: none;
  cursor: pointer;
}
.burger__line {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--c-text-muted);
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
.burger[aria-expanded="true"] .burger__line:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__line:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger__line:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  background: #0e0e0e;
  border-top: 1px solid var(--c-border-dark);
  padding: var(--space-md) 0;
}
.mobile-menu[hidden] { display: none; }

.mobile-menu ul { padding: 0 var(--space-lg); }

.mobile-menu__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: .75rem 0;
  font-family: var(--font-mono);
  font-size: .8rem;
  color: var(--c-text-muted);
  text-decoration: none;
  border-bottom: .5px solid var(--c-border-dark);
  background: none;
  cursor: pointer;
}
.mobile-menu__link:hover { color: var(--c-text-primary); }
.mobile-menu__link svg { width: 10px; height: 6px; transition: transform .2s; }
.mobile-menu__link--expand[aria-expanded="true"] svg { transform: rotate(180deg); }
.mobile-menu__link--client { color: var(--c-orange); }

.mobile-menu__sub { padding: 0 0 0 var(--space-md) !important; }
.mobile-menu__sub[hidden] { display: none; }

.mobile-menu__sub-link {
  display: block;
  padding: .5rem 0;
  font-family: var(--font-mono);
  font-size: .725rem;
  color: var(--c-text-dim);
  text-decoration: none;
  border-bottom: .5px solid var(--c-border-dark);
}
.mobile-menu__sub-link:hover { color: var(--c-orange); }

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.site-footer {
  background: var(--c-bg-header);
  border-top: 1px solid var(--c-border-dark);
  margin-top: auto;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
}

/* Logo footer */
.site-footer__logo {
  display: flex; align-items: center; gap: .625rem;
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: .875rem;
  font-weight: 700;
  color: #d0d0cc;
  margin-bottom: var(--space-md);
}
.site-footer__logo:hover { color: #d0d0cc; }
.site-footer__logo em { font-style: normal; color: var(--c-orange); }
.site-footer__logo-icon {
  width: 30px; height: 30px; background: var(--c-orange);
  border-radius: 5px; display: flex; align-items: center; justify-content: center;
  color: #0a0a0a; flex-shrink: 0;
}
.site-footer__logo-icon svg { width: 18px; height: 18px; }

.site-footer__tagline {
  font-size: .8rem;
  color: var(--c-text-dim);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

/* Contact */
.site-footer__contact { font-style: normal; }

.site-footer__contact-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-mono);
  font-size: .725rem;
  color: var(--c-text-muted);
  text-decoration: none;
  margin-bottom: .5rem;
  transition: color var(--transition);
}
.site-footer__contact-item svg { width: 14px; height: 14px; color: var(--c-orange); flex-shrink: 0; }
.site-footer__contact-item:hover { color: var(--c-text-primary); }

/* Colonnes nav */
.site-footer__col-title {
  font-family: var(--font-mono);
  font-size: .65rem;
  font-weight: 700;
  color: var(--c-orange);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}

.site-footer__links li { margin-bottom: .5rem; }
.site-footer__links a {
  font-size: .8rem;
  color: var(--c-text-dim);
  text-decoration: none;
  transition: color var(--transition);
}
.site-footer__links a:hover { color: var(--c-orange); }

/* Boutons réseaux sociaux footer */
.site-footer__social {
  display: flex;
  gap: .5rem;
  margin-top: 1.1rem;
}
.site-footer__social-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .35rem .7rem;
  border-radius: 6px;
  border: 1px solid #2a2a2a;
  color: #888884;
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition);
}
.site-footer__social-btn svg { width: 13px; height: 13px; flex-shrink: 0; }
.site-footer__social-btn:hover { border-color: var(--c-orange); color: var(--c-orange); }

/* Localisation discrète */
.site-footer__location {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  margin-top: var(--space-lg);
  font-size: .7rem;
  color: var(--c-text-dim);
  line-height: 1.5;
}
.site-footer__location svg { width: 12px; height: 12px; color: var(--c-text-dim); flex-shrink: 0; margin-top: 2px; }

/* Barre bottom */
.site-footer__bottom {
  border-top: 1px solid var(--c-border-dark);
  padding: var(--space-md) 0;
}
.site-footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-sm);
}
.site-footer__copy {
  font-family: var(--font-mono);
  font-size: .65rem;
  color: #888884;
}
.site-footer__copy a { color: #888884; }
.site-footer__copy a:hover { color: #c8c8c4; }
.site-footer__legal {
  display: flex;
  gap: var(--space-md);
  font-family: var(--font-mono);
  font-size: .65rem;
  color: #888884;
}
.site-footer__legal a { color: #888884; text-decoration: none; }
.site-footer__legal a:hover { color: #c8c8c4; }

/* ══════════════════════════════════════════
   RESPONSIVE HEADER/FOOTER
══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .site-footer__inner { grid-template-columns: 1fr 1fr; gap: var(--space-lg); }
}

@media (max-width: 1080px) {
  .main-nav  { display: none; }
  .btn-client { display: none; }
  .burger    { display: flex; }

  .submenu-web__preview { grid-template-columns: 1fr; }

  .status-bar__group:last-child { display: none; }
}

@media (max-width: 600px) {
  .site-footer__inner { grid-template-columns: 1fr; gap: var(--space-lg); }
  .site-footer__bottom-inner { flex-direction: column; align-items: flex-start; }
}


/* ══════════════════════════════════════════
   MÉGA-MENU COLONNES
══════════════════════════════════════════ */
.mega-menu {
  background: #111;
  border-bottom: 1px solid var(--c-border-dark);
  animation: slideDown .2s ease;
}
.mega-menu[hidden] { display: none; }

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.mega-menu__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-lg);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.mega-menu__inner--2col {
  grid-template-columns: repeat(2, 1fr);
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Dropdown simple ancré (Services informatiques) */
#nav-services { position: relative; }
.mega-menu--dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 250px;
  border: 1px solid var(--c-border-dark);
  border-top: none;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 14px 28px rgba(0,0,0,.35);
}
.mega-menu__inner--dropdown {
  display: flex;
  flex-direction: column;
  padding: .65rem .9rem;
  gap: 0;
}
.mega-menu__inner--dropdown .mega-menu__link {
  padding: .4rem 0;
}

.mega-menu__col-title {
  font-family: var(--font-mono);
  font-size: .65rem;
  color: var(--c-orange);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: .75rem;
  padding-bottom: .4rem;
  border-bottom: 1px solid #1e1e1e;
  display: block;
}
.mega-menu__col-title--link {
  text-decoration: none;
  transition: color var(--transition);
}
.mega-menu__col-title--link:hover {
  color: #ffffff;
}

.mega-menu__link {
  display: block;
  padding: .3rem 0;
  font-family: var(--font-mono);
  font-size: .725rem;
  color: #888884;
  text-decoration: none;
  transition: color var(--transition), padding-left var(--transition);
  white-space: nowrap;
}
.mega-menu__link:hover {
  color: var(--c-orange);
  padding-left: .4rem;
}

/* Outils en ligne */
.mega-menu--outils .mega-menu__inner--outils {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-lg);
}

.mega-menu__outils-grid {
  display: grid;
  grid-template-columns: repeat(4, 200px);
  gap: var(--space-md);
}

.mega-menu__outil-card {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .6rem .875rem;
  background: #181818;
  border: .5px solid #2a2a2a;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: border-color var(--transition), background var(--transition);
}
.mega-menu__outil-card:hover {
  border-color: var(--c-orange);
  background: #1e1e1e;
}
.mega-menu__outil-icon { font-size: 1rem; flex-shrink: 0; }
.mega-menu__outil-svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--c-orange);
}
.mega-menu__outil-name {
  font-family: var(--font-mono);
  font-size: .725rem;
  color: #c8c8c4;
  flex: 1;
}
.mega-menu__outil-ext {
  font-family: var(--font-mono);
  font-size: .65rem;
  color: var(--c-orange);
}

/* Mobile sub-group label */
.mobile-menu__sub-group {
  font-family: var(--font-mono);
  font-size: .6rem;
  color: var(--c-orange);
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .5rem 0 .2rem;
  margin-top: .3rem;
  list-style: none;
}

/* ══════════════════════════════════════════
   BOUTON SCROLL TOP
══════════════════════════════════════════ */
.scroll-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 998;
  width: 42px;
  height: 42px;
  background: var(--c-orange);
  border: none;
  border-radius: var(--radius-sm);
  color: #0a0a0a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, background .15s ease;
  pointer-events: none;
}
.scroll-top svg { width: 18px; height: 18px; }
.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.scroll-top:hover { background: var(--c-orange-hover); }

@media (max-width: 900px) {
  .mega-menu__outils-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .mega-menu__inner { grid-template-columns: 1fr; }
  .mega-menu__outils-grid { grid-template-columns: repeat(2, 1fr); }
}
/* ============================================================
   GILLES INFORMATIQUE — page-service.css
   Styles communs à toutes les pages de service
   (création sites, hébergement, services pro, services info...)
   ============================================================ */

/* ── BREADCRUMBS ── */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-mono);
  font-size: .7rem;
  color: var(--c-text-dim);
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
}
.breadcrumbs a {
  color: var(--c-text-dim);
  text-decoration: none;
  transition: color var(--transition);
}
.breadcrumbs a:hover { color: var(--c-orange); }
.breadcrumbs__sep { color: #333; }
.breadcrumbs__current { color: var(--c-orange); }

/* ── TITRES SUR FONDS CLAIRS (correction lisibilité) ── */
.bg-white h2, .bg-offwhite h2 {
  color: #111111;
}
.bg-white h3, .bg-offwhite h3 {
  color: #1a1a1a;
}
.bg-white p, .bg-offwhite p {
  color: #333333;
}

/* ── PAGE HERO ── */
.page-hero {
  background: var(--c-bg-hero);
  border-bottom: 1px solid var(--c-border-dark);
  padding: var(--space-xl) 0 var(--space-lg);
  position: relative;
  overflow: hidden;
}
.page-hero__bg-grid {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(var(--c-orange) 1px, transparent 1px),
    linear-gradient(90deg, var(--c-orange) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: .05;
}
.page-hero .container { position: relative; z-index: 1; }

.page-hero__label {
  font-family: var(--font-mono);
  font-size: .7rem;
  color: var(--c-orange);
  letter-spacing: .08em;
  margin-bottom: .75rem;
}
.page-hero__title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  color: #e8e8e4;
  margin-bottom: .75rem;
}
.page-hero__subtitle {
  font-size: 1rem;
  color: #9a9a96;
  max-width: 640px;
  line-height: 1.65;
}

/* ── INTRO SPLIT (texte + visuel) ── */
.intro-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}
.intro-split__text h2 {
  color: #111111;
  margin-bottom: var(--space-md);
}
.intro-split__text p {
  color: #333333;
  font-size: 1rem;
  line-height: 1.75;
}

/* Mini terminal décoratif */
.terminal--mini .terminal__body {
  padding: 1rem 1.125rem;
  min-height: auto;
}
.terminal--mini .terminal__line { margin-bottom: 6px; }
.terminal--mini .terminal__output { padding-left: 1rem; margin-bottom: 4px; font-size: .8rem; }

/* ── TEXT BLOCK (paragraphes longs) ── */
.text-block {
  max-width: 860px;
  margin: 0 auto var(--space-xl);
}
.text-block p {
  font-size: .95rem;
  color: #333333;
  line-height: 1.8;
  margin-bottom: var(--space-md);
}
.text-block p:last-child { margin-bottom: 0; }

.image-text-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}
.image-text-block--reverse .image-text-block__visual { order: 2; }
.image-text-block--reverse .image-text-block__content { order: 1; }
.image-text-block__visual svg {
  width: 100%;
  height: auto;
}
.image-text-block__content h2 { color: #111111; margin-bottom: var(--space-md); }
.image-text-block__content p {
  font-size: 1rem;
  color: #333333;
  line-height: 1.75;
  margin-bottom: var(--space-md);
}
.image-text-block__content p:last-child { margin-bottom: 0; }

/* ── SECTION INTRO (texte sous H2) ── */
.section-intro-light {
  color: #444444;
  font-size: .95rem;
  margin-bottom: var(--space-xl);
  max-width: 700px;
  line-height: 1.7;
}

/* ── STEP CARDS (étapes numérotées) ── */
.step-card { text-align: left; }
.step-card__num {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  color: rgba(240,120,32,.18);
  line-height: 1;
  margin-bottom: var(--space-sm);
}
.step-card__title {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  color: #e0e0dc;
  margin-bottom: var(--space-sm);
}
.step-card__desc {
  font-size: .85rem;
  color: #999;
  line-height: 1.7;
}

/* ── SERVICES GRID (cards avec lien) ── */
.services-grid { margin-top: var(--space-md); }
.service-card { display: flex; flex-direction: column; }
.service-card .card-light__link { margin-top: auto; }

/* Styles des cards claires (dupliqués de home.css car cette page ne le charge pas) */
.card-light__icon {
  width: 28px;
  height: 28px;
  color: var(--c-orange);
  margin-bottom: var(--space-sm);
  padding: 6px;
  background: rgba(240,120,32,.08);
  border-radius: var(--radius-sm);
  box-sizing: content-box;
}
.card-light__icon svg {
  width: 100%;
  height: 100%;
  stroke-width: 1.3;
}
.card-light__title {
  font-family: var(--font-mono);
  font-size: .9rem;
  font-weight: 700;
  color: #111111;
  margin-bottom: var(--space-sm);
}
.card-light__desc {
  font-size: .85rem;
  color: #333333;
  line-height: 1.65;
  margin-bottom: var(--space-md);
}
.card-light__link {
  font-family: var(--font-mono);
  font-size: .725rem;
  color: var(--c-orange-dim);
  text-decoration: none;
  transition: color var(--transition);
}
.card-light__link:hover { color: var(--c-orange); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .intro-split { grid-template-columns: 1fr; }
  .image-text-block { grid-template-columns: 1fr; }
  .image-text-block__visual { max-width: 320px; margin: 0 auto; }
}
@media (max-width: 600px) {
  .page-hero { padding: var(--space-lg) 0 var(--space-md); }
  .text-block p, .image-text-block__content p { font-size: .875rem; }
  .check-list--wide { column-count: 1; }
}

/* ── FAQ ── */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.faq-item {
  background: #ffffff;
  border: .5px solid var(--c-border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-item__question {
  padding: var(--space-md) var(--space-lg);
  font-family: var(--font-mono);
  font-size: .9rem;
  font-weight: 600;
  color: #1a1a1a;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color var(--transition);
}
.faq-item__question::-webkit-details-marker { display: none; }
.faq-item__question::after {
  content: '+';
  font-size: 1.2rem;
  color: var(--c-orange);
  flex-shrink: 0;
  margin-left: var(--space-md);
  transition: transform .2s ease;
}
.faq-item[open] .faq-item__question::after { transform: rotate(45deg); }
.faq-item:hover .faq-item__question { color: var(--c-orange-dim); }

.faq-item__answer {
  padding: 0 var(--space-lg) var(--space-md);
  font-size: .875rem;
  color: #444444;
  line-height: 1.7;
}

/* ── GRID 2 COLONNES ── */
.grid-2-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}

/* ── CHECK LIST (avantages/inconvénients) ── */
.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .65rem;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .9rem;
  line-height: 1.6;
}
.bg-white .check-list li,
.bg-offwhite .check-list li { color: #333333; }
.bg-dark .check-list li { color: #999; }

.check-list--ok li::before {
  content: '✓';
  color: #3cb878;
  font-weight: 700;
  flex-shrink: 0;
  font-family: var(--font-mono);
}
.check-list--ko li::before {
  content: '✕';
  color: #e05252;
  font-weight: 700;
  flex-shrink: 0;
  font-family: var(--font-mono);
}

/* Variante 2 colonnes — évite la bande vide à droite sur les sections larges */
.check-list--wide {
  display: block;
  column-count: 2;
  column-gap: var(--space-xl);
  max-width: 920px;
}
.check-list--wide li {
  break-inside: avoid-column;
  margin-bottom: .65rem;
}

/* ── INTRO TEXTE SUR FOND SOMBRE ── */
.section-intro-dark {
  color: #9a9a96;
  font-size: .95rem;
  line-height: 1.75;
  max-width: 760px;
  margin-bottom: var(--space-xl);
}

/* ── CARDS SUR FOND SOMBRE (texte) ── */
.bg-dark .card .step-card__title {
  color: #e0e0dc;
}
.bg-dark .card .step-card__desc {
  color: #999;
}

@media (max-width: 768px) {
  .grid-2-cols { grid-template-columns: 1fr; gap: var(--space-lg); }
}

/* ── STACK COMPARE (diagramme en couches) ── */
.stack-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: end;
}
.stack-compare__col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}
.stack-compare__label {
  font-family: var(--font-mono);
  font-size: .7rem;
  color: #888884;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.stack-compare__layers {
  display: flex;
  flex-direction: column-reverse;
  gap: 4px;
  width: 100%;
}
.stack-layer {
  font-family: var(--font-mono);
  font-size: .7rem;
  font-weight: 600;
  text-align: center;
  padding: .55rem .5rem;
  border-radius: 4px;
  color: #0a0a0a;
}
.stack-layer--html   { background: #f07820; }
.stack-layer--css    { background: #5a8fc8; color: #fff; }
.stack-layer--php    { background: #c678dd; color: #fff; }
.stack-layer--db     { background: #4ec94e; }
.stack-layer--plugins{ background: #e0a030; }

.stack-compare__result {
  font-family: var(--font-mono);
  font-size: .75rem;
  font-weight: 700;
  margin-top: var(--space-xs);
}
.stack-compare__result--good { color: #3cb878; }
.stack-compare__result--warn { color: #e0a030; }

@media (max-width: 600px) {
  .stack-compare { grid-template-columns: 1fr; gap: var(--space-md); }
}

/* ── COMPARE BARS (barres de comparaison horizontales) ── */
.compare-bars {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  max-width: 540px;
}
.compare-bar__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: var(--space-xs);
  font-family: var(--font-mono);
}
.compare-bar__label {
  font-size: .8rem;
  color: #b8b8b4;
}
.compare-bar__value {
  font-size: .75rem;
  font-weight: 700;
  color: var(--c-orange-dim);
  letter-spacing: .03em;
}
.compare-bar__track {
  width: 100%;
  height: 10px;
  background: rgba(255,255,255,.08);
  border-radius: 6px;
  overflow: hidden;
}
.compare-bar__fill {
  height: 100%;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--c-orange-dim), var(--c-orange));
}
.compare-bar--highlight .compare-bar__label { color: #e8e8e4; }
.compare-bar--highlight .compare-bar__value { color: var(--c-orange); }
/* Variante pour section claire (bg-white / bg-offwhite) */
.compare-bars--light .compare-bar__label { color: #555; }
.compare-bars--light .compare-bar__track { background: #e6e4df; }
.compare-bars--light .compare-bar--highlight .compare-bar__label { color: #111; font-weight: 600; }

/* ── TAG CLOUD (liste de technologies en chips) ── */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}
.tag-chip {
  font-family: var(--font-mono);
  font-size: .8rem;
  padding: .35rem .75rem;
  border-radius: 999px;
  background: rgba(240,120,32,.07);
  border: 1px solid rgba(240,120,32,.35);
  color: #444;
}

/* ── CMS LIST (cartes CMS empilées) ── */
.cms-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-md);
}
.cms-item {
  background: #ffffff;
  border-left: 3px solid var(--c-orange);
  border-radius: var(--radius-sm);
  padding: var(--space-md) var(--space-lg);
}
.cms-item__name {
  font-family: var(--font-mono);
  font-size: .9rem;
  font-weight: 700;
  color: #111111;
  margin-bottom: .4rem;
}
.cms-item__desc {
  font-size: .85rem;
  color: #444444;
  line-height: 1.65;
}

/* ── PAGE CONTACT ── */
.contact-intro-dark {
  color: #9a9a96;
  font-size: .95rem;
  line-height: 1.75;
  max-width: 640px;
  margin-bottom: var(--space-xl);
}

/* ── Grille 3 cartes primaires ── */
.contact-primary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: var(--space-xl);
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.75rem 1.5rem 1.5rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.contact-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--transition);
  border-radius: inherit;
}
.contact-card:hover::before { opacity: 1; }

.contact-card__icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-card__icon svg { width: 24px; height: 24px; }

.contact-card__body { display: flex; flex-direction: column; gap: .3rem; flex: 1; }
.contact-card__label {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
}
.contact-card__id {
  font-family: var(--font-mono);
  font-size: .8rem;
  font-weight: 600;
  opacity: .75;
}
.contact-card__sub {
  font-family: var(--font-mono);
  font-size: .68rem;
  opacity: .5;
  margin-top: .1rem;
}

.contact-card__arrow {
  margin-top: auto;
  align-self: flex-end;
  font-family: var(--font-mono);
  font-size: .75rem;
  font-weight: 700;
  opacity: 0;
  transform: translateX(-6px);
  transition: all var(--transition);
}
.contact-card:hover .contact-card__arrow { opacity: 1; transform: translateX(0); }

/* Téléphone */
.contact-card--tel {
  background: rgba(240,120,32,.08);
  border: 1.5px solid rgba(240,120,32,.3);
  color: #e8e8e4;
}
.contact-card--tel .contact-card__icon { background: rgba(240,120,32,.15); color: var(--c-orange); }
.contact-card--tel .contact-card__label { color: var(--c-orange); }
.contact-card--tel::before { background: rgba(240,120,32,.06); }
.contact-card--tel:hover { border-color: var(--c-orange); box-shadow: 0 0 0 1px var(--c-orange), 0 8px 32px rgba(240,120,32,.15); }
.contact-card--tel .contact-card__arrow { color: var(--c-orange); }

/* Email */
.contact-card--email {
  background: rgba(255,255,255,.03);
  border: 1.5px solid #2e2e2e;
  color: #c8c8c4;
}
.contact-card--email .contact-card__icon { background: rgba(240,120,32,.1); color: var(--c-orange); }
.contact-card--email .contact-card__label { color: #e8e8e4; }
.contact-card--email::before { background: rgba(240,120,32,.04); }
.contact-card--email:hover { border-color: rgba(240,120,32,.5); box-shadow: 0 8px 32px rgba(0,0,0,.2); }
.contact-card--email .contact-card__arrow { color: var(--c-orange); }

/* WhatsApp — mis en avant */
.contact-card--whatsapp {
  background: rgba(37,211,102,.1);
  border: 1.5px solid rgba(37,211,102,.4);
  color: #e8e8e4;
  grid-row: span 1;
}
.contact-card--whatsapp .contact-card__icon { background: rgba(37,211,102,.18); color: #25d366; }
.contact-card--whatsapp .contact-card__label { color: #25d366; }
.contact-card--whatsapp::before { background: rgba(37,211,102,.06); }
.contact-card--whatsapp:hover { border-color: #25d366; box-shadow: 0 0 0 1px #25d366, 0 8px 32px rgba(37,211,102,.18); }
.contact-card--whatsapp .contact-card__arrow { color: #25d366; }

/* Badge "Recommandé" sur WhatsApp */
.contact-card--whatsapp .contact-card__badge {
  position: absolute;
  top: 1rem; right: 1rem;
  background: #25d366;
  color: #0a0a0a;
  font-family: var(--font-mono);
  font-size: .6rem;
  font-weight: 700;
  padding: .2rem .55rem;
  border-radius: 99px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* ── Réseaux discrets ── */
.contact-social-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
}
.contact-social-label {
  font-family: var(--font-mono);
  font-size: .72rem;
  color: #5a5a56;
  white-space: nowrap;
}
.contact-social-link {
  display: flex;
  align-items: center;
  gap: .45rem;
  padding: .4rem .85rem;
  border-radius: 99px;
  border: 1px solid #2e2e2e;
  color: #6a6a66;
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition);
}
.contact-social-link svg { width: 13px; height: 13px; flex-shrink: 0; }
.contact-social-link:hover { border-color: #4a4a46; color: #a0a09c; }

/* ── Badges de confiance ── */
.contact-trust-row {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-top: var(--space-lg);
  border-top: 1px solid #1e1e1e;
}
.contact-trust-item {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-mono);
  font-size: .75rem;
  color: #6a6a66;
}
.contact-trust-item svg { width: 14px; height: 14px; color: var(--c-orange); flex-shrink: 0; }
.contact-trust-item strong { color: #9a9a96; font-weight: 700; }

/* ── Ancien contact-btn-grid conservé pour compat ── */
.contact-btn-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}
.contact-btn {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all var(--transition);
  background: transparent;
}
.contact-btn svg { width: 19px; height: 19px; flex-shrink: 0; }
.contact-btn__text { display: flex; flex-direction: column; gap: .2rem; align-items: flex-start; }
.contact-btn__label { font-family: var(--font-mono); font-size: .85rem; font-weight: 700; }
.contact-btn__sub { font-family: var(--font-mono); font-size: .68rem; opacity: .6; font-weight: 400; }

.contact-btn--tel { color: var(--c-orange); border: 1px solid var(--c-orange); }
.contact-btn--tel:hover { background: var(--c-orange); color: #0a0a0a; }
.contact-btn--tel:hover .contact-btn__sub { color: #0a0a0a; }
.contact-btn--email { color: #c8c8c4; border: 1px solid #383838; }
.contact-btn--email svg { color: var(--c-orange); }
.contact-btn--email:hover { border-color: var(--c-orange); color: var(--c-orange); }
.contact-btn--whatsapp { color: #25d366; border: 1px solid #25d366; }
.contact-btn--whatsapp:hover { background: #25d366; color: #0a0a0a; }
.contact-btn--whatsapp:hover .contact-btn__sub { color: #0a0a0a; }
.contact-btn--linkedin { color: #29a8e0; border: 1px solid #29a8e0; }
.contact-btn--linkedin:hover { background: #29a8e0; color: #fff; }
.contact-btn--linkedin:hover .contact-btn__sub { color: #fff; }
.contact-btn--facebook { color: #5b94f5; border: 1px solid #5b94f5; }
.contact-btn--facebook:hover { background: #5b94f5; color: #fff; }
.contact-btn--facebook:hover .contact-btn__sub { color: #fff; }

.contact-zone-note {
  max-width: 640px;
  font-size: .9rem;
  color: #333333;
  background: rgba(240,120,32,.06);
  border: 1px solid rgba(240,120,32,.2);
  border-radius: var(--radius-sm);
  padding: var(--space-md) var(--space-lg);
}
.contact-zone-note--inline {
  font-size: .85rem;
  color: #666;
  font-style: italic;
  margin-top: var(--space-sm);
}

@media (max-width: 860px) {
  .contact-primary-grid { grid-template-columns: 1fr; }
  .contact-btn-grid { grid-template-columns: 1fr; }
}

/* ── PAGES LÉGALES (mentions, confidentialité) ── */
.legal-block { max-width: 820px; margin: 0 auto var(--space-xl); }
.legal-block:last-child { margin-bottom: 0; }
.legal-block h2 { color: #111111; margin-bottom: var(--space-md); }
.legal-block p, .legal-block li {
  font-size: .9rem;
  color: #333333;
  line-height: 1.8;
  margin-bottom: var(--space-sm);
}
.legal-block ul { padding-left: 1.25rem; }
.legal-block a { color: var(--c-orange-dim); }
.legal-block a:hover { color: var(--c-orange); }
.legal-updated {
  font-family: var(--font-mono);
  font-size: .75rem;
  color: #888888;
  margin-bottom: var(--space-xl);
}

/* ── Classes utilitaires — remplacent les styles inline ─────────────────────
   Ajoutées pour supprimer les 152 occurrences de style= dans le HTML       */

/* Marges */
.mt-lg  { margin-top: var(--space-lg); }
.mt-md  { margin-top: var(--space-md); }
.mb-lg  { margin-bottom: var(--space-lg); }
.mb-md  { margin-bottom: var(--space-md); }
.mb-xl  { margin-bottom: var(--space-xl); }

/* Texte centré */
.text-center { text-align: center; }
.text-center-mb { text-align: center; margin-bottom: var(--space-lg); }
.text-center-xl { text-align: center; margin-bottom: var(--space-xl); }

/* Couleurs */
.text-orange  { color: var(--c-orange); }
.text-dim     { color: var(--c-text-dim); }
.text-orange-dim { color: var(--c-orange-dim); }
.text-muted   { color: #999; font-size: .9rem; }

/* Texte de corps courant dans les sections */
.body-text {
  font-size: .9rem;
  color: #3a3a3a;
  margin-bottom: var(--space-md);
}

/* Bloc texte centré avec max-width */
.text-block-center {
  text-align: center;
  max-width: 820px;
  margin: 0 auto var(--space-lg);
}
.text-block-center-sm {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-lg);
}
