/* ============================================================
   Schepp — Studio tech light
   Bricolage Grotesque · Instrument Serif · JetBrains Mono
   Indigo lavande #a5a1f5 sur fond clair
   ============================================================ */

/* --- Fonts (self-hosted) --- */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
  src: url('/fonts/BricolageGrotesque.woff2') format('woff2');
}
@font-face {
  font-family: 'Instrument Serif';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url('/fonts/InstrumentSerif.woff2') format('woff2');
}
@font-face {
  font-family: 'Instrument Serif';
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  src: url('/fonts/InstrumentSerif-Italic.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  src: url('/fonts/JetBrainsMono.woff2') format('woff2');
}

/* --- Tokens --- */
:root {
  --bg: #f7f7fb;
  --bg-card: #ffffff;
  --bg-soft: #eeeef5;
  --ink: #0d0d18;
  --ink-2: #5b5b6e;
  --ink-3: #9696a8;
  --line: #e6e6ef;
  --line-strong: #d4d4e0;
  --accent: #a5a1f5;
  --accent-deep: #5b56d4;
  --accent-soft: #eeedfd;
  --accent-soft-2: #f5f4ff;

  --font-sans: 'Bricolage Grotesque', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Instrument Serif', 'Times New Roman', serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  --max: 1240px;
  --gutter: clamp(1.25rem, 4vw, 2rem);

  /* Échelle de rayons — du plus petit élément à la grande carte */
  --r-xs: 6px;      /* badges, chips, kbd */
  --r-sm: 8px;      /* nav, logo mark, contrôles */
  --r-md: 12px;     /* tuiles d'icônes, blocs internes */
  --r-lg: 18px;     /* cartes */
  --r-xl: 22px;     /* grandes cartes (stats, form, about) */
  --r-pill: 999px;  /* pills */
  --radius: var(--r-lg);
  --radius-sm: var(--r-md);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --shadow-sm: 0 1px 2px rgba(13,13,24,.04), 0 1px 1px rgba(13,13,24,.03);
  --shadow: 0 4px 12px rgba(13,13,24,.04), 0 1px 2px rgba(13,13,24,.04);
  --shadow-lg: 0 24px 60px -20px rgba(91,86,212,.18), 0 8px 24px -8px rgba(13,13,24,.08);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
:where(section[id], [id]) { scroll-margin-top: 88px; }
body {
  font-family: var(--font-sans);
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ink);
  background:
    radial-gradient(ellipse 60% 50% at 90% -10%, rgba(165,161,245,.45), transparent 55%),
    radial-gradient(ellipse 50% 40% at 5% 15%, rgba(165,161,245,.16), transparent 60%),
    var(--bg);
  font-variation-settings: "opsz" 14;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}
body::before {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(13,13,24,.06) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 80%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 80%);
  opacity: .55;
  z-index: 0;
}
::selection { background: var(--accent); color: var(--ink); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent-deep); outline-offset: 3px; border-radius: var(--r-xs); }

/* --- Layout helpers --- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); position: relative; z-index: 2; }

/* --- Fade-up (driven by main.js IntersectionObserver) --- */
.fade-up { opacity: 0; transform: translateY(20px); transition: opacity .75s var(--ease), transform .75s var(--ease); }
.fade-up.visible { opacity: 1; transform: none; }
.fade-up[data-delay="1"] { transition-delay: .08s; }
.fade-up[data-delay="2"] { transition-delay: .16s; }
.fade-up[data-delay="3"] { transition-delay: .24s; }
.fade-up[data-delay="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; transition: none !important; }
}

/* --- Common section head --- */
.section-head { display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; align-items: end; margin-bottom: 3rem; }
.eyebrow { font-family: var(--font-mono); font-size: 11.5px; color: var(--accent-deep); text-transform: uppercase; letter-spacing: .12em; font-weight: 600; display: inline-flex; align-items: center; gap: .7rem; margin-bottom: .9rem; }
.eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--accent-deep); }
.section-head h2 { font-family: var(--font-sans); font-weight: 500; font-variation-settings: "opsz" 96; font-size: clamp(2.25rem, 4.4vw, 3.5rem); line-height: 1.02; letter-spacing: -.03em; color: var(--ink); max-width: 18ch; }
.section-head h2 em { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--accent-deep); font-size: 1.05em; }
.section-head .lead { color: var(--ink-2); max-width: 38ch; justify-self: end; text-align: right; font-size: 15px; line-height: 1.55; }

/* --- Header / Nav --- */
.site-header {
  padding: 18px 0;
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  background: rgba(247,247,251,.72);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
.brand .mark { width: 32px; height: 32px; border-radius: var(--r-sm); background: #1c1a16; position: relative; box-shadow: 0 2px 8px rgba(91,86,212,.25), inset 0 0 0 1px rgba(255,255,255,.05); font-family: Helvetica, Arial, sans-serif; font-weight: 700; color: transparent; font-size: 20px; line-height: 1; }
.brand .mark::before { content: 'S'; position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(to bottom, #fff 0%, #fff 50%, var(--accent) 50%, var(--accent) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-family: inherit; font-weight: inherit; font-size: inherit; line-height: inherit; }
.brand b { font-family: var(--font-sans); font-weight: 700; font-variation-settings: "opsz" 60; font-size: 20px; letter-spacing: -.025em; }
.brand .slash { color: var(--accent-deep); font-weight: 700; margin-left: 1px; letter-spacing: -.06em; }

.nav-links { display: flex; gap: 4px; list-style: none; font-size: 14px; padding: 0; margin: 0; }
.nav-links a, .navlink { color: var(--ink-2); font-weight: 500; padding: 8px 14px; border-radius: var(--r-sm); transition: background .15s, color .15s; }
.nav-links a:hover, .navlink:hover { color: var(--ink); background: var(--bg-soft); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.lang-switch { color: var(--ink-2); font-weight: 500; font-size: 13px; padding: 8px 12px; border-radius: var(--r-sm); }
.lang-switch:hover { background: var(--bg-soft); }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 20px;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: 0;
  white-space: nowrap;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease);
}
.btn svg { width: 14px; height: 14px; }
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 6px 18px -4px rgba(13,13,24,.3); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 12px 26px -6px rgba(91,86,212,.4); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--bg-card); }
.btn-sm { padding: 9px 16px; font-size: 13.5px; border-radius: var(--r-md); }

/* --- Hero --- */
.hero { padding: 84px 0 100px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }

.eyebrow-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--r-pill); font-family: var(--font-mono); font-size: 12px; color: var(--ink-2); font-weight: 500; box-shadow: var(--shadow-sm); margin-bottom: 28px; }
.eyebrow-pill .ping { position: relative; width: 7px; height: 7px; background: #34d399; border-radius: 50%; }
.eyebrow-pill .ping::after { content: ''; position: absolute; inset: -3px; border: 2px solid #34d399; border-radius: 50%; animation: ping 1.8s ease-out infinite; opacity: .5; }
.eyebrow-pill em { font-style: normal; color: var(--ink); font-weight: 600; }
@keyframes ping { 0% { transform: scale(.6); opacity: .5; } 100% { transform: scale(1.6); opacity: 0; } }

h1 { font-family: var(--font-sans); font-weight: 600; font-variation-settings: "opsz" 96; font-size: clamp(48px, 6.6vw, 84px); line-height: .98; letter-spacing: -.035em; color: var(--ink); margin-bottom: 24px; }
h1 em { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: 1.05em; letter-spacing: -.01em; background: linear-gradient(120deg, var(--accent-deep), var(--accent) 60%, #b8a3ff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding-right: .05em; }
h1 .arrow { display: inline-block; color: var(--accent-deep); font-family: var(--font-serif); font-style: italic; font-weight: 400; }

.lede { font-size: 18px; line-height: 1.55; color: var(--ink-2); max-width: 48ch; margin-bottom: 32px; }
.lede strong { color: var(--ink); font-weight: 600; }

.hero-cta { display: flex; gap: 12px; align-items: center; margin-bottom: 36px; flex-wrap: wrap; }
.btn-kbd { font-family: var(--font-mono); font-size: 11px; background: var(--bg-soft); padding: 2px 6px; border-radius: var(--r-xs); color: var(--ink-2); margin-left: 6px; }

.hero-trust { display: flex; align-items: center; gap: 14px; font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); font-weight: 500; letter-spacing: .02em; }
.hero-trust .av-stack { display: flex; }
.hero-trust .av { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--bg); margin-left: -6px; display: grid; place-items: center; font-size: 10px; font-weight: 700; font-family: var(--font-sans); color: var(--ink); }
.hero-trust .av:first-child { margin: 0; background: linear-gradient(135deg, #eeedfd, #cbc8fa); }
.hero-trust .av:nth-child(2) { background: linear-gradient(135deg, #c9c6f8, #a5a1f5); }
.hero-trust .av:nth-child(3) { background: linear-gradient(135deg, #a5a1f5, #5b56d4); color: #fff; }

/* --- Hero device card --- */
.device { position: relative; }
.device-card { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; position: relative; transform: rotate(.6deg); }
.device-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(165,161,245,.05), transparent 30%); pointer-events: none; }
.dev-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #fcfcfe, #f7f7fb); }
.dev-bar .dots { display: flex; gap: 6px; }
.dev-bar .dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.dev-bar .dots span:nth-child(3) { background: var(--accent); }
.dev-bar .url { flex: 1; text-align: center; font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.dev-bar .url::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.dev-bar .badge { font-family: var(--font-mono); font-size: 10.5px; padding: 3px 8px; background: var(--accent-soft); color: var(--accent-deep); border-radius: var(--r-xs); font-weight: 600; }
.dev-body { padding: 22px 22px 24px; font-family: var(--font-mono); font-size: 13px; line-height: 1.7; color: var(--ink-2); }
.dev-line { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 6px; }
.dev-line .prompt { color: var(--accent-deep); font-weight: 700; user-select: none; }
.dev-line .cmd { color: var(--ink); }
.dev-out { padding: 6px 0 10px; color: var(--ink-2); font-size: 12.5px; }
.dev-chip { display: inline-flex; align-items: center; gap: 6px; padding: 2px 8px; background: var(--bg-soft); border-radius: var(--r-xs); font-size: 11.5px; color: var(--ink-2); margin-right: 6px; }
.dev-chip.ok { background: #e8f7ef; color: #1f7a47; }
.dev-chip.accent { background: var(--accent-soft); color: var(--accent-deep); }
.dev-answer { margin-top: 10px; padding: 14px 16px; background: linear-gradient(180deg, var(--accent-soft-2), var(--bg-card)); border: 1px solid var(--accent-soft); border-radius: var(--r-md); font-family: var(--font-sans); font-size: 13.5px; line-height: 1.55; color: var(--ink); font-variation-settings: "opsz" 14; }
.dev-answer .lab { font-family: var(--font-mono); font-size: 10.5px; color: var(--accent-deep); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 6px; display: flex; align-items: center; gap: 6px; }
.dev-answer .lab .sp { width: 6px; height: 6px; background: var(--accent-deep); border-radius: 50%; }
.dev-answer b { color: var(--ink); font-weight: 600; }
.cursor { display: inline-block; width: 7px; height: 14px; background: var(--ink); vertical-align: -2px; margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.float { position: absolute; background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow); padding: 10px 14px; font-family: var(--font-mono); font-size: 11.5px; color: var(--ink); font-weight: 600; display: flex; align-items: center; gap: 8px; }
.float .ic { width: 22px; height: 22px; border-radius: var(--r-xs); background: var(--accent-soft); display: grid; place-items: center; color: var(--accent-deep); font-weight: 700; font-size: 12px; }
.float.f1 { top: -14px; left: -18px; transform: rotate(-3deg); animation: float 4.5s ease-in-out infinite; }
.float.f2 { bottom: 24px; right: -22px; transform: rotate(2deg); background: var(--ink); color: #fff; animation: float 5s ease-in-out infinite reverse; }
.float.f2 .ic { background: rgba(165,161,245,.25); color: var(--accent); }
.float .pct { color: var(--accent-deep); font-weight: 700; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-6px) rotate(-3deg); } }
.float.f2 { animation-name: float-r; }
@keyframes float-r { 0%, 100% { transform: translateY(0) rotate(2deg); } 50% { transform: translateY(-6px) rotate(2deg); } }

/* --- Stack bar --- */
.stack-bar { padding: 36px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.5); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.stack-inner { display: flex; align-items: center; gap: 48px; flex-wrap: wrap; justify-content: space-between; }
.stack-label { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.stack-logos { display: flex; gap: 36px; flex-wrap: wrap; align-items: center; }
.stack-logos span { font-family: var(--font-sans); font-weight: 600; font-size: 18px; color: var(--ink-2); font-variation-settings: "opsz" 24; letter-spacing: -.01em; opacity: .7; transition: opacity .2s, color .2s; }
.stack-logos span:hover { opacity: 1; color: var(--accent-deep); }

/* --- Section spacing --- */
.section { padding: 100px 0; position: relative; }

/* --- Approche grid --- */
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.adv { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease); position: relative; overflow: hidden; }
.adv:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--accent-soft); }
.adv .ic { width: 42px; height: 42px; border-radius: var(--r-md); background: var(--accent-soft); display: grid; place-items: center; color: var(--accent-deep); margin-bottom: 24px; transition: background .25s, color .25s, transform .25s; }
.adv:hover .ic { background: var(--accent-deep); color: #fff; transform: rotate(-6deg) scale(1.05); }
.adv .ic svg { width: 20px; height: 20px; stroke-width: 1.6; }
.adv h3 { font-family: var(--font-sans); font-weight: 600; font-size: 18px; line-height: 1.2; letter-spacing: -.015em; margin-bottom: 8px; }
.adv p { color: var(--ink-2); font-size: 14px; line-height: 1.55; }

/* --- Services bento --- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(220px, auto); gap: 18px; }
.ft { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; position: relative; overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s; display: flex; flex-direction: column; }
.ft:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.ft .ft-tag { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); font-weight: 600; margin-bottom: 14px; }
.ft h3 { font-family: var(--font-sans); font-weight: 600; font-variation-settings: "opsz" 60; font-size: 24px; line-height: 1.1; letter-spacing: -.02em; margin-bottom: 8px; }
.ft h3 em { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--accent-deep); }
.ft p { color: var(--ink-2); font-size: 14.5px; line-height: 1.55; }
.ft-vis { flex: 1; display: flex; align-items: flex-end; justify-content: flex-start; margin-top: 18px; min-height: 120px; position: relative; }
.ft.col-4 { grid-column: span 4; }
.ft.col-3 { grid-column: span 3; }
.ft.col-2 { grid-column: span 2; }

.ft-ia { background: linear-gradient(160deg, var(--accent-soft-2) 0%, var(--bg-card) 55%); border-color: var(--accent-soft); }
.ft-ia .bars { display: flex; align-items: flex-end; gap: 6px; height: 96px; }
.ft-ia .bars span { width: 14px; background: linear-gradient(180deg, var(--accent), var(--accent-deep)); border-radius: var(--r-xs); animation: rise 2.4s ease-in-out infinite; transform-origin: bottom; }
.ft-ia .bars span:nth-child(1) { height: 30%; animation-delay: 0s; }
.ft-ia .bars span:nth-child(2) { height: 55%; animation-delay: .15s; }
.ft-ia .bars span:nth-child(3) { height: 80%; animation-delay: .3s; }
.ft-ia .bars span:nth-child(4) { height: 42%; animation-delay: .45s; }
.ft-ia .bars span:nth-child(5) { height: 68%; animation-delay: .6s; }
.ft-ia .bars span:nth-child(6) { height: 90%; animation-delay: .75s; background: linear-gradient(180deg, #1c1a16, #0d0d18); }
.ft-ia .bars span:nth-child(7) { height: 48%; animation-delay: .9s; }
.ft-ia .bars span:nth-child(8) { height: 72%; animation-delay: 1.05s; }
@keyframes rise { 0%, 100% { transform: scaleY(.92); } 50% { transform: scaleY(1.08); } }
.ft-ia .legend { position: absolute; top: 0; right: 0; font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); text-align: right; }
.ft-ia .legend b { color: var(--accent-deep); font-size: 20px; display: block; font-family: var(--font-sans); font-weight: 700; }

.ft-dev { background: var(--ink); color: #fff; border-color: #1f1f2e; }
.ft-dev .ft-tag { color: var(--accent); }
.ft-dev h3 em { color: var(--accent); }
.ft-dev p { color: #a8a8be; }
.ft-dev .snippet { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); border-radius: var(--r-md); padding: 14px; font-family: var(--font-mono); font-size: 11.5px; line-height: 1.65; margin-top: auto; white-space: pre; overflow: auto; }
.ft-dev .snippet .k { color: #c8b7ff; }
.ft-dev .snippet .s { color: #cfcbf5; }
.ft-dev .snippet .c { color: #6c6c80; }
.ft-dev .snippet .v { color: var(--accent); }

.ft-cloud { background: linear-gradient(180deg, #fff, #fafafd); }
.ft-cloud .ring { position: relative; width: 120px; height: 120px; margin: auto auto 0 0; }
.ft-cloud .ring::before, .ft-cloud .ring::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid var(--accent); }
.ft-cloud .ring::before { inset: 18px; border-color: var(--accent-deep); }
.ft-cloud .ring::after { inset: 36px; background: var(--accent); border: none; box-shadow: 0 8px 24px -4px rgba(91,86,212,.45); }
.ft-cloud .ring .pin { position: absolute; width: 10px; height: 10px; background: var(--ink); border-radius: 50%; top: -5px; left: 50%; box-shadow: 0 0 0 4px var(--bg-card); animation: spin 8s linear infinite; transform-origin: 5px 65px; }
@keyframes spin { to { transform: rotate(360deg); } }

.ft-iot { background: linear-gradient(160deg, #fff, #f8f8fc); }
.ft-iot .map { position: relative; width: 100%; height: 120px; margin-top: auto; background-image: radial-gradient(circle, rgba(13,13,24,.12) 1px, transparent 1px); background-size: 14px 14px; border-radius: var(--r-sm); overflow: hidden; }
.ft-iot .map .node { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--accent-deep); box-shadow: 0 0 0 4px rgba(165,161,245,.3); animation: nodepulse 2.4s ease-in-out infinite; }
.ft-iot .map .node.n1 { top: 25%; left: 18%; }
.ft-iot .map .node.n2 { top: 55%; left: 45%; background: var(--ink); box-shadow: 0 0 0 4px rgba(13,13,24,.1); animation-delay: .6s; }
.ft-iot .map .node.n3 { top: 30%; left: 72%; animation-delay: 1.2s; }
.ft-iot .map .node.n4 { top: 70%; left: 85%; animation-delay: 1.8s; }
@keyframes nodepulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(165,161,245,.3); } 50% { box-shadow: 0 0 0 8px rgba(165,161,245,.15); } }
.ft-iot .map svg { position: absolute; inset: 0; width: 100%; height: 100%; stroke: var(--accent-deep); stroke-width: 1; fill: none; stroke-dasharray: 3 3; opacity: .5; }

/* --- Souveraineté --- */
.sov-section { position: relative; }
.sov-section::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent, var(--accent-soft-2) 30%, var(--accent-soft-2) 70%, transparent); z-index: 0; }
.sov-section > .wrap { position: relative; z-index: 1; }
.sov-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 32px; }
.sov-card { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; position: relative; overflow: hidden; transition: transform .25s, box-shadow .25s; }
.sov-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.sov-card .ic { width: 42px; height: 42px; border-radius: var(--r-md); background: linear-gradient(135deg, var(--accent), var(--accent-deep)); display: grid; place-items: center; color: #fff; margin-bottom: 24px; box-shadow: 0 8px 18px -6px rgba(91,86,212,.5); }
.sov-card .ic svg { width: 20px; height: 20px; stroke-width: 1.8; }
.sov-card h3 { font-family: var(--font-sans); font-weight: 600; font-size: 20px; letter-spacing: -.02em; margin-bottom: 10px; }
.sov-card h3 em { font-family: var(--font-serif); font-style: italic; color: var(--accent-deep); }
.sov-card p { color: var(--ink-2); font-size: 14.5px; line-height: 1.55; margin-bottom: 16px; }
.sov-card .ch { font-family: var(--font-mono); font-size: 10.5px; color: var(--accent-deep); background: var(--accent-soft); padding: 4px 10px; border-radius: var(--r-xs); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; display: inline-block; }

/* --- Stats card (gradient indigo) --- */
.stats-card { background: linear-gradient(135deg, var(--accent) 0%, #b8b3ff 60%, #d4d0ff 100%); border-radius: var(--r-xl); padding: 48px 40px; position: relative; overflow: hidden; box-shadow: var(--shadow-lg); }
.stats-card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 100% 0%, rgba(255,255,255,.45), transparent 50%); pointer-events: none; }
.stats-card::after { content: ''; position: absolute; top: -100px; right: -80px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.4), transparent 60%); pointer-events: none; }
.stats-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 36px; position: relative; gap: 2rem; }
.stats-head h3 { font-family: var(--font-sans); font-weight: 500; font-variation-settings: "opsz" 96; font-size: clamp(1.75rem, 3.6vw, 2.75rem); line-height: 1.05; letter-spacing: -.02em; color: var(--ink); max-width: 18ch; }
.stats-head h3 em { font-family: var(--font-serif); font-style: italic; font-weight: 400; }
.stats-head .pill { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink); background: rgba(255,255,255,.6); padding: 6px 12px; border-radius: var(--r-pill); font-weight: 600; white-space: nowrap; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(13,13,24,.12); border-radius: var(--r-md); overflow: hidden; position: relative; }
.stat-cell { background: linear-gradient(180deg, rgba(255,255,255,.5), rgba(255,255,255,.25)); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 24px; }
.stat-cell .n { font-family: var(--font-sans); font-weight: 600; font-variation-settings: "opsz" 96; font-size: 48px; line-height: .95; letter-spacing: -.03em; color: var(--ink); margin-bottom: 6px; }
.stat-cell .n .it { font-family: var(--font-serif); font-style: italic; font-weight: 400; }
.stat-cell .l { font-size: 12.5px; color: var(--ink-2); font-weight: 500; max-width: 18ch; }

/* --- Process timeline --- */
.proc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 60px; position: relative; }
.proc-grid::before { content: ''; position: absolute; top: 30px; left: 7%; right: 7%; border-top: 1.5px dashed var(--line-strong); z-index: 0; }
.proc-card { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; position: relative; z-index: 1; transition: transform .25s, box-shadow .25s; }
.proc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.proc-card .n { font-family: var(--font-sans); font-weight: 600; font-size: 20px; width: 60px; height: 60px; background: var(--bg); border: 1.5px solid var(--accent); color: var(--accent-deep); border-radius: 50%; display: grid; place-items: center; margin-bottom: 20px; margin-top: -32px; box-shadow: var(--shadow); letter-spacing: -.02em; }
.proc-card.cta-card .n { background: var(--accent-deep); color: #fff; border-color: var(--accent-deep); box-shadow: 0 8px 20px -4px rgba(91,86,212,.45); }
.proc-card.cta-card { background: var(--ink); color: #fff; border-color: #1f1f2e; }
.proc-card.cta-card h3 { color: #fff; }
.proc-card.cta-card p { color: #a8a8be; }
.proc-card.cta-card a { color: var(--accent); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 14px; }
.proc-card.cta-card a:hover { text-decoration: underline; }
.proc-card h3 { font-family: var(--font-sans); font-weight: 600; font-size: 19px; letter-spacing: -.015em; margin-bottom: 8px; }
.proc-card p { color: var(--ink-2); font-size: 14px; line-height: 1.55; }

/* --- About --- */
.about-grid { display: grid; grid-template-columns: 1.2fr .85fr; gap: 64px; align-items: start; }
.about-text h2 { font-family: var(--font-sans); font-weight: 500; font-variation-settings: "opsz" 96; font-size: clamp(2.25rem, 4.4vw, 3.5rem); line-height: 1.02; letter-spacing: -.03em; margin-bottom: 24px; max-width: 18ch; }
.about-text h2 em { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--accent-deep); }
.about-text p { color: var(--ink-2); font-size: 16px; line-height: 1.65; margin-bottom: 18px; max-width: 54ch; }
.about-text p strong { color: var(--ink); font-weight: 600; }
.certs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 28px; }
.cert { font-family: var(--font-mono); font-size: 12px; padding: 7px 14px; background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--r-pill); color: var(--ink); font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.cert::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-deep); }

.about-card { background: linear-gradient(180deg, var(--bg-card), var(--accent-soft-2)); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 32px; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.about-card::before { content: ''; position: absolute; top: -60px; right: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(165,161,245,.4), transparent 60%); pointer-events: none; }
.about-card .av { width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-deep)); display: grid; place-items: center; color: #fff; font-family: var(--font-sans); font-weight: 700; font-size: 24px; margin-bottom: 16px; box-shadow: 0 10px 26px -6px rgba(91,86,212,.5); position: relative; }
.about-card .name { font-family: var(--font-sans); font-weight: 600; font-size: 22px; letter-spacing: -.02em; margin-bottom: 4px; }
.about-card .role { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-2); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 24px; font-weight: 600; }
.about-card dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; font-size: 14px; padding-top: 20px; border-top: 1px solid var(--line); position: relative; }
.about-card dt { font-family: var(--font-mono); color: var(--ink-3); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; align-self: center; }
.about-card dd { color: var(--ink); }

/* --- Trust bar --- */
.trust-section { padding: 48px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.4); }
.trust-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.trust-label { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.trust-empty { color: var(--ink-3); font-style: italic; font-family: var(--font-serif); font-size: 18px; }

/* --- Contact --- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.contact-info h2 { font-family: var(--font-sans); font-weight: 500; font-variation-settings: "opsz" 96; font-size: clamp(2.25rem, 4.4vw, 3.5rem); line-height: 1.02; letter-spacing: -.03em; margin-bottom: 18px; }
.contact-info h2 em { font-family: var(--font-serif); font-style: italic; color: var(--accent-deep); }
.contact-info p.intro { color: var(--ink-2); margin-bottom: 32px; max-width: 34ch; font-size: 16px; line-height: 1.6; }
.contact-list { list-style: none; display: flex; flex-direction: column; gap: 14px; padding: 0; margin: 0; }
.contact-list li { display: flex; align-items: center; gap: 14px; font-size: 15px; }
.contact-list .ic { width: 38px; height: 38px; border-radius: var(--r-md); background: var(--accent-soft); display: grid; place-items: center; color: var(--accent-deep); flex-shrink: 0; transition: background .2s, color .2s; }
.contact-list li:hover .ic { background: var(--accent-deep); color: #fff; }
.contact-list a, .contact-list span { color: var(--ink); font-weight: 500; }
.contact-list a { border-bottom: 1px solid var(--line-strong); transition: border-color .15s, color .15s; padding-bottom: 1px; }
.contact-list a:hover { color: var(--accent-deep); border-color: var(--accent-deep); }

/* --- Form --- */
.form { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 32px; box-shadow: var(--shadow-lg); }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field.row .field { margin-bottom: 0; }
.field label { font-family: var(--font-mono); font-size: 11px; color: var(--ink-2); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.field input, .field textarea { font-family: var(--font-sans); font-size: 15px; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; outline: none; transition: border-color .15s, box-shadow .15s, background .15s; }
.field input:focus, .field textarea:focus { border-color: var(--accent-deep); box-shadow: 0 0 0 4px var(--accent-soft); background: var(--bg-card); }
.field textarea { min-height: 120px; resize: vertical; }
.form button[type="submit"] { margin-top: 8px; padding: 13px 22px; background: var(--ink); color: #fff; border: none; border-radius: var(--radius-sm); font-family: var(--font-sans); font-weight: 600; font-size: 14.5px; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 6px 18px -4px rgba(13,13,24,.3); transition: transform .15s, box-shadow .15s; }
.form button[type="submit"]:hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 12px 26px -6px rgba(91,86,212,.4); }
.form button[type="submit"] svg { width: 14px; height: 14px; }
.form-rgpd { font-size: 12px; color: var(--ink-3); line-height: 1.5; margin-top: 14px; }

/* --- Footer --- */
.site-footer { background: var(--ink); color: #dbdbe8; padding: 72px 0 28px; margin-top: 60px; position: relative; overflow: hidden; }
.site-footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--accent) 30%, var(--accent-deep) 70%, transparent); }
.site-footer::after { content: ''; position: absolute; bottom: -200px; right: -100px; width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle, rgba(165,161,245,.15), transparent 60%); pointer-events: none; }
.footer-top { display: grid; grid-template-columns: 1.4fr 2fr; gap: 64px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.07); position: relative; z-index: 2; }
.footer-brand .brand { color: #fff; margin-bottom: 18px; display: inline-flex; }
.footer-brand .brand b { color: #fff; }
.footer-brand p { font-size: 14.5px; line-height: 1.6; color: #a0a0b8; max-width: 38ch; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-col h4 { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); margin-bottom: 16px; font-weight: 700; }
.footer-col a { display: block; color: #cccce0; font-size: 14px; padding: 4px 0; transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; font-family: var(--font-mono); font-size: 11.5px; color: #7a7a90; flex-wrap: wrap; gap: 16px; position: relative; z-index: 2; }

/* --- Responsive --- */
@media (max-width: 980px) {
  .section { padding: 72px 0; }
  .hero { padding: 60px 0 80px; }
  .hero-grid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .ft.col-4, .ft.col-3, .ft.col-2 { grid-column: span 2; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .section-head { grid-template-columns: 1fr; }
  .section-head .lead { text-align: left; justify-self: start; }
  .adv-grid, .sov-grid, .proc-grid { grid-template-columns: repeat(2, 1fr); }
  .proc-grid::before { display: none; }
  .about-grid, .contact-grid, .footer-top { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
}

@media (max-width: 580px) {
  .adv-grid, .sov-grid, .proc-grid, .bento { grid-template-columns: 1fr; }
  .ft.col-4, .ft.col-3, .ft.col-2 { grid-column: span 1; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .field.row { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
  .stack-logos { gap: 20px; }
  .stack-logos span { font-size: 16px; }
  h1 { font-size: clamp(38px, 11vw, 56px); }
}
