/*
Theme Name: Officent IT
Theme URI: https://officent.com
Author: Officent IT — Pulpe Tech Group
Author URI: https://officent.com
Description: Thème sur-mesure pour Officent IT. Site vitrine bilingue (FR/EN) articulé autour de trois modules industriels — Industrie 4.0, Industrie 5.0 et Retail — alimentés par un pôle IA transversal. Aucune dépendance à un page builder.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: officent
*/

/* ============================================================
   TOKENS
   ============================================================ */
:root {
  --forge:   #FF4E00;
  --cyan:    #00C9A7;   /* Industrie 4.0 */
  --green:   #3DD68C;   /* Industrie 5.0 */
  --amber:   #F5A524;   /* Retail */
  --violet:  #A78BFA;   /* Pôle IA (transversal) */

  --night:    #070C16;
  --surface:  #0F1620;
  --surface2: #161F2E;
  --border:   rgba(255,255,255,0.07);
  --border-strong: rgba(255,255,255,0.14);
  --text:  #EAE6E1;
  --muted: #6B7A8D;
  --muted-2: #8A98A8;

  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;

  --maxw: 1200px;
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--night);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
img { max-width: 100%; display: block; }

/* ============================================================
   BILINGUAL — body.lang-en shows EN, hides FR
   ============================================================ */
[data-lang="en"] { display: none; }
body.lang-en [data-lang="fr"] { display: none; }
body.lang-en [data-lang="en"] { display: revert; }

/* ============================================================
   NAV
   ============================================================ */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 max(5%, calc((100% - var(--maxw)) / 2 + 1.5rem));
  height: 64px;
  background: rgba(7,12,22,0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.15rem; font-weight: 700;
  letter-spacing: -0.02em; color: var(--text);
  text-decoration: none; white-space: nowrap;
}
.nav-logo span { color: var(--forge); }
.nav-mid { display: flex; align-items: center; gap: 2rem; }
.nav-links { display: flex; gap: 1.75rem; list-style: none; align-items: center; }
.nav-links a {
  font-size: 0.875rem; font-weight: 500; color: var(--muted);
  text-decoration: none; transition: color 0.2s; position: relative;
}
.nav-links a:hover, .nav-links a.is-active { color: var(--text); }
.nav-links a.is-active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -22px;
  height: 2px; background: var(--forge);
}
.nav-right { display: flex; align-items: center; gap: 1rem; }

/* language toggle */
.lang-toggle {
  display: inline-flex; align-items: center;
  border: 1px solid var(--border); border-radius: 100px;
  font-family: var(--font-mono); font-size: 0.72rem; overflow: hidden;
}
.lang-toggle button {
  background: transparent; border: none; cursor: pointer;
  color: var(--muted); padding: 0.35rem 0.7rem; font: inherit;
  letter-spacing: 0.05em; transition: color 0.2s, background 0.2s;
}
.lang-toggle button.is-active { background: var(--forge); color: #fff; }

.nav-cta {
  font-size: 0.875rem; font-weight: 600;
  padding: 0.5rem 1.2rem;
  background: var(--forge); color: #fff;
  border: none; border-radius: 7px; cursor: pointer;
  text-decoration: none; transition: opacity 0.2s; white-space: nowrap;
}
.nav-cta:hover { opacity: 0.88; }

.nav-burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--text); margin: 4px 0; transition: 0.25s; }

/* ============================================================
   MEGA MENU
   ============================================================ */
.nav-item.has-mega { position: static; }
.nav-mega-trigger {
  background: none; border: none; cursor: pointer; font: inherit;
  font-size: 0.875rem; font-weight: 500; color: var(--muted);
  display: inline-flex; align-items: center; gap: 0.35rem; padding: 0;
  transition: color 0.2s;
}
.nav-mega-trigger svg { width: 11px; height: 11px; transition: transform 0.25s; }
.has-mega:hover .nav-mega-trigger,
.has-mega:focus-within .nav-mega-trigger,
.has-mega.open .nav-mega-trigger { color: var(--text); }
.has-mega:hover .nav-mega-trigger svg,
.has-mega:focus-within .nav-mega-trigger svg,
.has-mega.open .nav-mega-trigger svg { transform: rotate(180deg); }

.mega-panel {
  position: fixed; top: 64px; left: 0; right: 0; z-index: 99;
  background: rgba(9, 14, 24, 0.97);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 34px 64px -28px rgba(0, 0, 0, 0.7);
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
}
.has-mega:hover .mega-panel,
.has-mega:focus-within .mega-panel,
.has-mega.open .mega-panel { opacity: 1; visibility: visible; transform: none; }
.mega-inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 2.5rem max(5%, calc((100% - var(--maxw)) / 2 + 1.5rem)) 2rem;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.25rem;
}
.mega-col { --accent: var(--cyan); }
.mega-col-head { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.3rem; }
.mega-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.mega-col h4 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; letter-spacing: -0.01em; }
.mega-col h4 a { color: var(--text); text-decoration: none; transition: color 0.15s; }
.mega-col h4 a:hover { color: var(--accent); }
.mega-tagline { font-family: var(--font-mono); font-size: 0.72rem; color: var(--muted); letter-spacing: 0.04em; margin-bottom: 1.1rem; padding-left: 1.1rem; }
.mega-links { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; padding-left: 1.1rem; }
.mega-links a { font-size: 0.86rem; color: var(--muted); text-decoration: none; transition: color 0.15s, padding 0.15s; display: inline-flex; align-items: center; }
.mega-links a::before { content: '›'; color: var(--accent); opacity: 0; margin-right: 0; width: 0; transition: opacity 0.15s, margin 0.15s, width 0.15s; }
.mega-links a:hover { color: var(--text); }
.mega-links a:hover::before { opacity: 1; margin-right: 0.4rem; width: auto; }
.mega-foot {
  grid-column: 1 / -1; margin-top: 0.5rem; padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; flex-wrap: wrap;
}
.mega-foot p { font-size: 0.86rem; color: var(--muted); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary, .btn-ghost {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.75rem; font-size: 0.95rem; font-weight: 600;
  border-radius: 8px; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: opacity 0.2s, transform 0.15s, border-color 0.2s, background 0.2s;
}
.btn-primary { background: var(--forge); color: #fff; }
.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); font-weight: 500; }
.btn-ghost:hover { border-color: var(--border-strong); background: var(--surface); }

/* ============================================================
   SHARED SECTION SCAFFOLD
   ============================================================ */
section { padding: 6rem 5%; }
.section-inner { max-width: var(--maxw); margin: 0 auto; }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem; font-weight: 500;
  color: var(--cyan); letter-spacing: 0.12em;
  text-transform: uppercase; margin-bottom: 1rem;
}
.eyebrow::before { content: '// '; opacity: 0.5; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700; letter-spacing: -0.025em;
  line-height: 1.15; margin-bottom: 1.25rem; text-wrap: balance;
}
.section-sub { font-size: 1.05rem; color: var(--muted); max-width: 560px; line-height: 1.7; text-wrap: pretty; }

/* ============================================================
   HERO (landing)
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 5%; padding-top: 64px;
  position: relative; overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 4rem;
  max-width: var(--maxw); margin: 0 auto; width: 100%;
  position: relative; z-index: 1;
}
.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.8rem; font-weight: 500;
  color: var(--cyan); letter-spacing: 0.12em;
  text-transform: uppercase; margin-bottom: 1.25rem;
}
.hero-eyebrow::before { content: '// '; opacity: 0.5; }
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4.5vw, 3.8rem);
  font-weight: 700; line-height: 1.08;
  letter-spacing: -0.03em; margin-bottom: 1.5rem; text-wrap: balance;
}
.hero-title .accent-line {
  display: block;
  background: linear-gradient(90deg, var(--forge), var(--cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub { font-size: 1.1rem; color: var(--muted); max-width: 480px; margin-bottom: 2.5rem; line-height: 1.7; }
.hero-actions { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }

.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hero-bg svg { position: absolute; right: -5%; top: 5%; opacity: 0.04; width: 55%; }

/* ============================================================
   TERMINAL
   ============================================================ */
.terminal { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.terminal-bar {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1rem; background: var(--surface2);
  border-bottom: 1px solid var(--border);
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-red { background: #FF5F57; } .dot-yellow { background: #FEBC2E; } .dot-green { background: #27C840; }
.terminal-title { font-family: var(--font-mono); font-size: 0.75rem; color: var(--muted); margin: 0 auto; }
.terminal-body { padding: 1.5rem; font-family: var(--font-mono); font-size: 0.82rem; line-height: 1.9; }
.t-prompt { color: var(--cyan); } .t-cmd { color: var(--text); }
.t-comment { color: var(--muted); } .t-output { color: #7DD3B0; } .t-warn { color: var(--forge); }
.t-blink { display: inline-block; width: 8px; height: 14px; background: var(--cyan); vertical-align: middle; animation: blink 1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats-strip { padding: 3rem 5%; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--surface); }
.stats-grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.stat-item { text-align: center; }
.stat-num { font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; color: var(--text); line-height: 1; margin-bottom: 0.4rem; }
.stat-num span { color: var(--forge); }
.stat-label { font-size: 0.85rem; color: var(--muted); }

/* ============================================================
   MODULES GRID (landing) — 3 modules + IA band
   ============================================================ */
.modules-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3.5rem; }
.module-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem;
  position: relative; overflow: hidden; text-decoration: none; color: inherit;
  display: flex; flex-direction: column;
  transition: transform 0.2s, border-color 0.25s;
}
.module-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--accent, var(--forge)); opacity: 0.7; transition: opacity 0.25s, height 0.25s;
}
.module-card:hover { transform: translateY(-4px); border-color: color-mix(in oklab, var(--accent) 40%, transparent); }
.module-card:hover::before { height: 3px; opacity: 1; }
.module-card.m-40 { --accent: var(--cyan); }
.module-card.m-50 { --accent: var(--green); }
.module-card.m-retail { --accent: var(--amber); }

.module-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; }
.module-num { font-family: var(--font-mono); font-size: 0.75rem; color: var(--muted); letter-spacing: 0.08em; }
.module-mark {
  width: 46px; height: 46px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); background: color-mix(in oklab, var(--accent) 14%, transparent);
}
.module-mark svg { width: 22px; height: 22px; stroke: var(--accent); fill: none; stroke-width: 1.6; }
.module-tag { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.45rem; }
.module-title { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 0.75rem; }
.module-desc { font-size: 0.9rem; color: var(--muted); line-height: 1.7; margin-bottom: 1.25rem; }
.module-features { list-style: none; display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.5rem; }
.module-features li { font-size: 0.85rem; color: var(--muted); display: flex; align-items: flex-start; gap: 0.5rem; line-height: 1.5; }
.module-features li::before { content: '›'; color: var(--accent); flex-shrink: 0; }
.module-link { margin-top: auto; font-family: var(--font-mono); font-size: 0.8rem; font-weight: 500; color: var(--accent); display: inline-flex; align-items: center; gap: 0.4rem; transition: gap 0.2s; }
.module-card:hover .module-link { gap: 0.7rem; }

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

/* ============================================================
   IA TRANSVERSAL BAND
   ============================================================ */
.ia-band { background: var(--surface); position: relative; overflow: hidden; }
.ia-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 700px 380px at 80% 0%, color-mix(in oklab, var(--violet) 12%, transparent) 0%, transparent 70%);
  pointer-events: none;
}
.ia-band .section-inner { position: relative; z-index: 1; }
.ia-band .eyebrow { color: var(--violet); }
.ia-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.ia-flow { display: flex; flex-direction: column; gap: 1rem; margin-top: 1rem; }
.ia-flow-row { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: center; }
.ia-core {
  align-self: start; font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.08em;
  color: var(--violet); border: 1px solid color-mix(in oklab, var(--violet) 35%, transparent);
  background: color-mix(in oklab, var(--violet) 10%, transparent);
  border-radius: 100px; padding: 0.45rem 0.9rem; white-space: nowrap;
}
.ia-targets { display: flex; flex-direction: column; gap: 0.75rem; }
.ia-target {
  display: flex; align-items: center; gap: 0.85rem;
  border: 1px solid var(--border); border-radius: 10px;
  padding: 0.9rem 1.1rem; background: var(--night);
}
.ia-target .dotc { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.ia-target b { font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; }
.ia-target small { color: var(--muted); font-size: 0.82rem; display: block; }

.ia-cap-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.ia-cap { border: 1px solid var(--border); border-radius: 12px; padding: 1.4rem; background: var(--night); transition: border-color 0.2s; }
.ia-cap:hover { border-color: color-mix(in oklab, var(--violet) 35%, transparent); }
.ia-cap .ia-cap-mark { width: 38px; height: 38px; border-radius: 9px; display: flex; align-items: center; justify-content: center; background: color-mix(in oklab, var(--violet) 14%, transparent); margin-bottom: 0.9rem; }
.ia-cap .ia-cap-mark svg { width: 19px; height: 19px; stroke: var(--violet); fill: none; stroke-width: 1.6; }
.ia-cap h4 { font-family: var(--font-display); font-size: 1rem; font-weight: 600; margin-bottom: 0.4rem; }
.ia-cap p { font-size: 0.84rem; color: var(--muted); line-height: 1.6; }

@media (max-width: 980px) { .ia-layout { grid-template-columns: 1fr; gap: 2.5rem; } }

/* ============================================================
   SECTEURS
   ============================================================ */
.secteurs { background: var(--night); }
.secteurs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 3.5rem; }
.secteur-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 1.75rem; display: flex; gap: 1.25rem; transition: border-color 0.2s; }
.secteur-card:hover { border-color: color-mix(in oklab, var(--cyan) 25%, transparent); }
.secteur-num { font-family: var(--font-mono); font-size: 0.8rem; color: var(--cyan); opacity: 0.5; white-space: nowrap; padding-top: 2px; }
.secteur-card h4 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; margin-bottom: 0.5rem; letter-spacing: -0.01em; }
.secteur-card p { font-size: 0.875rem; color: var(--muted); line-height: 1.65; }

/* ============================================================
   APPROCHE STEPS
   ============================================================ */
.approche-steps { margin-top: 3.5rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.approche-steps::before { content: ''; position: absolute; top: 28px; left: 10%; right: 10%; height: 1px; background: linear-gradient(90deg, var(--forge), var(--cyan)); opacity: 0.3; }
.step { padding: 0 1.5rem; text-align: center; position: relative; }
.step-num { width: 56px; height: 56px; border-radius: 50%; background: var(--surface); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 0.85rem; color: var(--forge); font-weight: 600; margin: 0 auto 1.5rem; position: relative; z-index: 1; transition: 0.2s; }
.step:hover .step-num { background: var(--surface2); border-color: color-mix(in oklab, var(--forge) 40%, transparent); }
.step h4 { font-family: var(--font-display); font-size: 1rem; font-weight: 600; margin-bottom: 0.5rem; }
.step p { font-size: 0.85rem; color: var(--muted); line-height: 1.6; }

/* ============================================================
   STACK
   ============================================================ */
.stack-section { background: var(--surface); }
.stack-group-label { font-size: 0.8rem; color: var(--muted); margin-bottom: 0.75rem; font-family: var(--font-mono); }
.stack-grid { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2rem; }
.stack-grid:last-child { margin-bottom: 0; }
.stack-badge { font-family: var(--font-mono); font-size: 0.8rem; padding: 0.4rem 0.9rem; background: var(--surface2); border: 1px solid var(--border); border-radius: 100px; color: var(--muted); transition: color 0.2s, border-color 0.2s; }
.stack-badge:hover { color: var(--text); border-color: var(--border-strong); }

/* ============================================================
   CTA CONTACT
   ============================================================ */
.cta-section { text-align: center; padding: 7rem 5%; position: relative; overflow: hidden; }
.cta-bg { position: absolute; inset: 0; z-index: 0; background: radial-gradient(ellipse 800px 400px at 50% 100%, rgba(255,78,0,0.06) 0%, transparent 70%); }
.cta-section .section-inner { position: relative; z-index: 1; }
.cta-section .section-sub { margin: 0 auto 2.5rem; text-align: center; }
.cta-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; max-width: 860px; margin: 0 auto 3.5rem; }
.cta-card { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 1.5rem; text-align: left; }
.cta-card-label { font-size: 0.78rem; color: var(--muted); margin-bottom: 0.25rem; }
.cta-card-val { font-weight: 600; font-size: 0.95rem; }
.cta-card-val a { color: var(--cyan); text-decoration: none; }
.cta-card-val a:hover { text-decoration: underline; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { border-top: 1px solid var(--border); padding: 2.5rem 5%; }
.footer-inner { max-width: var(--maxw); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.25rem; }
.footer-logo { font-family: var(--font-display); font-size: 1rem; font-weight: 700; letter-spacing: -0.02em; color: var(--text); text-decoration: none; }
.footer-logo span { color: var(--forge); }
.footer-nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-nav a { font-size: 0.82rem; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.footer-nav a:hover { color: var(--text); }
.site-footer p { font-size: 0.8rem; color: var(--muted); }
.footer-contact a { color: var(--muted-2); text-decoration: none; transition: color 0.2s; }
.footer-contact a:hover { color: var(--text); }

/* ============================================================
   MODULE DETAIL PAGES
   ============================================================ */
.page-accent { --accent: var(--forge); }
.page-accent.acc-40 { --accent: var(--cyan); }
.page-accent.acc-50 { --accent: var(--green); }
.page-accent.acc-retail { --accent: var(--amber); }
.page-accent.acc-ia { --accent: var(--violet); }

.mod-hero { padding-top: calc(64px + 5rem); padding-bottom: 4rem; position: relative; overflow: hidden; }
.mod-hero::before {
  content: ''; position: absolute; top: 0; right: 0; width: 50%; height: 100%;
  background: radial-gradient(ellipse 600px 400px at 100% 0%, color-mix(in oklab, var(--accent) 11%, transparent) 0%, transparent 70%);
  pointer-events: none;
}
.mod-hero .section-inner { position: relative; z-index: 1; }
.mod-breadcrumb { font-family: var(--font-mono); font-size: 0.78rem; color: var(--muted); margin-bottom: 1.5rem; display: flex; gap: 0.5rem; align-items: center; }
.mod-breadcrumb a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
.mod-breadcrumb a:hover { color: var(--text); }
.mod-breadcrumb .sep { opacity: 0.4; }
.mod-eyebrow { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
.mod-eyebrow::before { content: '// '; opacity: 0.5; }
.mod-title { font-family: var(--font-display); font-size: clamp(2.4rem, 4.5vw, 3.4rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.08; margin-bottom: 1.25rem; max-width: 760px; text-wrap: balance; }
.mod-title .accent { color: var(--accent); }
.mod-lead { font-size: 1.15rem; color: var(--muted-2); max-width: 620px; line-height: 1.7; margin-bottom: 2rem; text-wrap: pretty; }

.mod-kpis { display: flex; flex-wrap: wrap; gap: 2.5rem; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.mod-kpi .k-num { font-family: var(--font-display); font-size: 2rem; font-weight: 700; line-height: 1; }
.mod-kpi .k-num span { color: var(--accent); }
.mod-kpi .k-label { font-size: 0.82rem; color: var(--muted); margin-top: 0.35rem; }

/* capability cards */
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3.5rem; }
.cap-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 1.75rem; transition: transform 0.2s, border-color 0.25s; }
.cap-card:hover { transform: translateY(-3px); border-color: color-mix(in oklab, var(--accent) 35%, transparent); }
.cap-mark { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: color-mix(in oklab, var(--accent) 13%, transparent); border: 1px solid var(--border); margin-bottom: 1.1rem; }
.cap-mark svg { width: 21px; height: 21px; stroke: var(--accent); fill: none; stroke-width: 1.6; }
.cap-card h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; margin-bottom: 0.6rem; letter-spacing: -0.01em; }
.cap-card p { font-size: 0.88rem; color: var(--muted); line-height: 1.65; }

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

/* split feature row */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; margin-top: 1rem; }
.split.reverse .split-media { order: 2; }
.split-list { list-style: none; display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; }
.split-list li { display: grid; grid-template-columns: auto 1fr; gap: 0.85rem; }
.split-list .li-mark { width: 26px; height: 26px; border-radius: 7px; display: flex; align-items: center; justify-content: center; background: color-mix(in oklab, var(--accent) 14%, transparent); flex-shrink: 0; margin-top: 2px; }
.split-list .li-mark svg { width: 14px; height: 14px; stroke: var(--accent); fill: none; stroke-width: 2; }
.split-list b { font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; display: block; margin-bottom: 0.15rem; }
.split-list span { font-size: 0.86rem; color: var(--muted); line-height: 1.55; }

/* media placeholder */
.media-ph {
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.025) 0 14px, transparent 14px 28px),
    var(--surface);
  min-height: 320px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.6rem;
  position: relative;
}
.media-ph .ph-label { font-family: var(--font-mono); font-size: 0.78rem; color: var(--muted); letter-spacing: 0.05em; padding: 0.4rem 0.8rem; border: 1px dashed var(--border-strong); border-radius: 6px; background: var(--night); }
.media-ph .ph-dim { font-family: var(--font-mono); font-size: 0.68rem; color: var(--muted); opacity: 0.6; }

/* services list on module pages */
.services-list { margin-top: 3rem; border-top: 1px solid var(--border); }
.service-row {
  display: grid; grid-template-columns: 56px 1fr; gap: 1.5rem;
  padding: 1.6rem 1rem 1.6rem 0; border-bottom: 1px solid var(--border);
  align-items: start; transition: background 0.2s, padding 0.2s;
}
.service-row:hover { background: color-mix(in oklab, var(--accent) 6%, transparent); padding-left: 1rem; }
.service-idx { font-family: var(--font-mono); font-size: 0.8rem; color: var(--accent); letter-spacing: 0.08em; padding-top: 0.2rem; }
.service-head { display: flex; align-items: center; gap: 0.85rem; flex-wrap: wrap; margin-bottom: 0.45rem; }
.service-head h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; }
.service-tag {
  font-family: var(--font-mono); font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.1em;
  padding: 0.22rem 0.6rem; border-radius: 100px;
  color: var(--accent); border: 1px solid color-mix(in oklab, var(--accent) 35%, transparent);
  background: color-mix(in oklab, var(--accent) 10%, transparent);
}
.service-desc { font-size: 0.9rem; color: var(--muted); line-height: 1.6; max-width: 720px; }
@media (max-width: 600px) { .service-row { grid-template-columns: 1fr; gap: 0.5rem; } .service-idx { padding-top: 0; } }

/* IA-inside callout on module pages */
.ia-inside {
  border: 1px solid color-mix(in oklab, var(--violet) 30%, transparent);
  background: linear-gradient(180deg, color-mix(in oklab, var(--violet) 7%, transparent), transparent), var(--surface);
  border-radius: var(--radius); padding: 2.25rem; margin-top: 1rem;
  display: grid; grid-template-columns: auto 1fr; gap: 1.75rem; align-items: center;
}
.ia-inside .ia-badge { width: 56px; height: 56px; border-radius: 13px; display: flex; align-items: center; justify-content: center; background: color-mix(in oklab, var(--violet) 16%, transparent); border: 1px solid color-mix(in oklab, var(--violet) 30%, transparent); }
.ia-inside .ia-badge svg { width: 28px; height: 28px; stroke: var(--violet); fill: none; stroke-width: 1.5; }
.ia-inside h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; margin-bottom: 0.5rem; }
.ia-inside p { font-size: 0.9rem; color: var(--muted); line-height: 1.65; margin-bottom: 1rem; }
.ia-inside a { font-family: var(--font-mono); font-size: 0.8rem; color: var(--violet); text-decoration: none; display: inline-flex; gap: 0.4rem; align-items: center; }
.ia-inside a:hover { gap: 0.7rem; }
@media (max-width: 760px) { .ia-inside { grid-template-columns: 1fr; gap: 1.25rem; } .split { grid-template-columns: 1fr; gap: 2.5rem; } .split.reverse .split-media { order: 0; } }

/* ============================================================
   SECTEURS PAGE
   ============================================================ */
.sector-block {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2.25rem; margin-top: 1.5rem;
  transition: border-color 0.25s;
}
.sector-block:hover { border-color: color-mix(in oklab, var(--cyan) 28%, transparent); }
.sector-head { display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: 0.4rem; }
.sector-num { font-family: var(--font-mono); font-size: 0.8rem; color: var(--cyan); opacity: 0.6; }
.sector-head h3 { font-family: var(--font-display); font-size: 1.45rem; font-weight: 700; letter-spacing: -0.02em; }
.sector-mods { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-left: auto; }
.mod-chip {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.05em;
  padding: 0.28rem 0.7rem; border-radius: 100px;
  border: 1px solid var(--border); background: var(--surface2);
  color: var(--muted-2); text-decoration: none; transition: border-color 0.2s, color 0.2s;
}
.mod-chip:hover { color: var(--text); border-color: var(--border-strong); }
.mod-chip .chip-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.sector-body { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; margin-top: 1.25rem; }
.sector-col-label { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.75rem; }
.sector-col-label::before { content: '// '; opacity: 0.5; }
.sector-enjeux { font-size: 0.92rem; color: var(--muted-2); line-height: 1.7; text-wrap: pretty; }
.sector-solutions { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.sector-solutions li { font-size: 0.88rem; color: var(--muted); display: flex; align-items: flex-start; gap: 0.55rem; line-height: 1.55; }
.sector-solutions li::before { content: '›'; color: var(--cyan); flex-shrink: 0; }
@media (max-width: 820px) { .sector-body { grid-template-columns: 1fr; gap: 1.5rem; } .sector-mods { margin-left: 0; width: 100%; } }

/* ============================================================
   APPROCHE PAGE — timeline
   ============================================================ */
.tl { margin-top: 3.5rem; display: flex; flex-direction: column; }
.tl-step { display: grid; grid-template-columns: 80px 1fr; gap: 1.5rem; position: relative; padding-bottom: 2.5rem; }
.tl-step:last-child { padding-bottom: 0; }
.tl-rail { display: flex; flex-direction: column; align-items: center; }
.tl-num {
  width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0;
  background: var(--surface); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 0.85rem; font-weight: 600; color: var(--forge);
}
.tl-line { width: 1px; flex: 1; background: linear-gradient(180deg, color-mix(in oklab, var(--forge) 45%, transparent), color-mix(in oklab, var(--cyan) 35%, transparent)); margin-top: 0.5rem; }
.tl-step:last-child .tl-line { display: none; }
.tl-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; }
.tl-card-head { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 0.75rem; }
.tl-card-head h3 { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; letter-spacing: -0.02em; }
.tl-duration {
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.25rem 0.7rem; border-radius: 100px; margin-left: auto;
  color: var(--forge); border: 1px solid color-mix(in oklab, var(--forge) 35%, transparent);
  background: color-mix(in oklab, var(--forge) 10%, transparent); white-space: nowrap;
}
.tl-desc { font-size: 0.95rem; color: var(--muted-2); line-height: 1.7; margin-bottom: 1.5rem; max-width: 720px; text-wrap: pretty; }
.tl-detail { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.tl-col-label { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.75rem; }
.tl-col-label::before { content: '// '; opacity: 0.5; }
.tl-list { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.tl-list li { font-size: 0.87rem; color: var(--muted); display: flex; align-items: flex-start; gap: 0.55rem; line-height: 1.55; }
.tl-list.deliver li::before { content: '✓'; color: var(--cyan); flex-shrink: 0; font-size: 0.8rem; padding-top: 1px; }
.tl-list.avoid li::before { content: '✕'; color: var(--forge); flex-shrink: 0; font-size: 0.78rem; padding-top: 1px; }
.tl-people { margin-top: 1.25rem; font-size: 0.82rem; color: var(--muted); }
.tl-people b { color: var(--muted-2); font-weight: 600; }
@media (max-width: 820px) {
  .tl-step { grid-template-columns: 48px 1fr; gap: 1rem; }
  .tl-num { width: 42px; height: 42px; font-size: 0.75rem; }
  .tl-detail { grid-template-columns: 1fr; gap: 1.5rem; }
  .tl-duration { margin-left: 0; }
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 4rem; align-items: start; margin-top: 1rem; }
.contact-info-card { border: 1px solid var(--border); border-radius: 12px; background: var(--surface); padding: 1.5rem; margin-bottom: 1rem; }
.contact-info-card .ci-label { font-size: 0.78rem; color: var(--muted); margin-bottom: 0.3rem; }
.contact-info-card .ci-val { font-weight: 600; font-size: 1rem; }
.contact-info-card .ci-val a { color: var(--cyan); text-decoration: none; }
.contact-info-card .ci-val a:hover { text-decoration: underline; }
.contact-next { margin-top: 2rem; }
.contact-next ol { list-style: none; display: flex; flex-direction: column; gap: 0.9rem; margin-top: 1rem; counter-reset: cn; }
.contact-next li { display: grid; grid-template-columns: auto 1fr; gap: 0.85rem; align-items: start; counter-increment: cn; }
.contact-next li::before {
  content: counter(cn, decimal-leading-zero);
  font-family: var(--font-mono); font-size: 0.75rem; color: var(--forge);
  border: 1px solid var(--border); border-radius: 50%;
  width: 30px; height: 30px; display: flex; align-items: center; justify-content: center;
  background: var(--surface);
}
.contact-next li b { font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; display: block; }
.contact-next li span { font-size: 0.84rem; color: var(--muted); line-height: 1.55; }

.contact-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 2.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-field { margin-bottom: 1.25rem; display: flex; flex-direction: column; gap: 0.45rem; }
.form-field label { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.form-field input, .form-field select, .form-field textarea {
  background: var(--night); border: 1px solid var(--border); border-radius: 8px;
  padding: 0.8rem 1rem; color: var(--text); font-family: var(--font-body); font-size: 0.95rem;
  transition: border-color 0.2s; width: 100%;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: color-mix(in oklab, var(--forge) 55%, transparent); }
.form-field textarea { resize: vertical; min-height: 140px; }
.form-field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.form-note { font-size: 0.78rem; color: var(--muted); margin-top: 1rem; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; } .form-row { grid-template-columns: 1fr; gap: 0; } }

/* next module nav */.next-mod { border-top: 1px solid var(--border); }
.next-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.next-card { display: flex; flex-direction: column; gap: 0.5rem; padding: 1.75rem; border: 1px solid var(--border); border-radius: 12px; text-decoration: none; color: inherit; background: var(--surface); transition: transform 0.2s, border-color 0.25s; }
.next-card:hover { transform: translateY(-3px); }
.next-card .nc-tag { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; }
.next-card .nc-title { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; }
.next-card .nc-arrow { font-family: var(--font-mono); font-size: 0.8rem; color: var(--muted); margin-top: 0.25rem; }
@media (max-width: 760px) { .next-grid { grid-template-columns: 1fr; } }

/* reveal on scroll — gated on html.js so content is ALWAYS visible without/before JS */
.reveal { transition: opacity 0.6s ease, transform 0.6s ease; }
html.js .reveal:not(.in) { opacity: 0; transform: translateY(18px); }
@media (prefers-reduced-motion: reduce) { html.js .reveal:not(.in) { opacity: 1; transform: none; } .reveal { transition: none; } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .secteurs-grid, .cta-cards { grid-template-columns: 1fr; }
  .approche-steps { grid-template-columns: repeat(2, 1fr); }
  .approche-steps::before { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .ia-cap-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-mid { gap: 0; }
  .nav-burger { display: block; }
  .site-nav.open .nav-links {
    display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0;
    background: rgba(7,12,22,0.97); border-bottom: 1px solid var(--border); padding: 1.25rem 5%; gap: 1.25rem;
    max-height: calc(100vh - 64px); overflow-y: auto;
  }
  .site-nav.open .nav-links a.is-active::after { display: none; }
  /* mega menu becomes an accordion on mobile */
  .nav-mega-trigger { width: 100%; justify-content: space-between; font-size: 1rem; color: var(--text); }
  .mega-panel { position: static; top: auto; opacity: 1; visibility: visible; transform: none; background: transparent; border: none; box-shadow: none; backdrop-filter: none; display: none; }
  .has-mega.open .mega-panel { display: block; }
  .mega-inner { grid-template-columns: 1fr; padding: 1rem 0 0; gap: 1.5rem; }
  .mega-foot { display: none; }
}
@media (max-width: 600px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  section { padding: 4rem 6%; }
  .mod-kpis { gap: 1.5rem; }
}
