:root {
  color-scheme: dark;
  --bg: #070913;
  --bg-soft: #0b0e1b;
  --surface: rgba(17, 21, 39, .72);
  --surface-strong: #111629;
  --line: rgba(182, 195, 235, .13);
  --line-strong: rgba(182, 195, 235, .22);
  --text: #f2f4ff;
  --muted: #9ba4bf;
  --muted-2: #727d9d;
  --accent: #a9b9ff;
  --accent-2: #8c71ff;
  --cyan: #78d9ed;
  --font-body: "DM Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Space Grotesk", var(--font-body);
  --container: 1180px;
  --ease: cubic-bezier(.2,.75,.25,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; background: var(--bg); }
body { margin: 0; min-width: 320px; background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .18; background-image: radial-gradient(rgba(174,190,255,.34) .55px, transparent .55px); background-size: 5px 5px; mask-image: linear-gradient(to bottom, black, transparent 70%); }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { color: #090b15; background: #b8c5ff; }
.container { width: min(var(--container), calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 999; transform: translateY(-150%); padding: 10px 14px; border-radius: 8px; color: #080a14; background: #dce3ff; font-weight: 700; }
.skip-link:focus { transform: translateY(0); }

/* Navigation */
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(178,190,228,.08); background: rgba(7,9,19,.76); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); }
.nav-shell { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand__symbol { width: 34px; height: 34px; display: grid; place-items: center; position: relative; }
.brand__symbol::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; background: radial-gradient(circle, rgba(128,144,255,.32), transparent 68%); filter: blur(7px); }
.brand__symbol img { position: relative; display: block; width: 100%; height: 100%; object-fit: contain; }
.brand__name { font: 700 22px/1 var(--font-display); letter-spacing: -.08em; }
.brand__dot { color: #98aaff; }
.primary-nav { display: flex; align-items: center; gap: clamp(24px, 3vw, 44px); margin-left: auto; margin-right: 24px; }
.primary-nav a, .mobile-menu a:not(.btn) { position: relative; color: #aeb6cf; font-size: 13px; font-weight: 600; transition: color .2s ease; }
.primary-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -9px; height: 1px; background: #a9b9ff; transition: right .25s var(--ease); }
.primary-nav a:hover, .mobile-menu a:not(.btn):hover { color: white; }
.primary-nav a:hover::after { right: 0; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.language-switch { min-width: 40px; min-height: 38px; display: inline-flex; align-items: center; justify-content: center; padding: 0 10px; border: 1px solid var(--line-strong); border-radius: 7px; color: var(--text); background: rgba(255,255,255,.035); font-size: 10px; font-weight: 800; letter-spacing: .08em; transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease; }
.language-switch:hover { transform: translateY(-1px); border-color: var(--accent); background: rgba(145,160,255,.09); }

.theme-toggle { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 11px; border: 1px solid var(--line-strong); border-radius: 7px; color: var(--text); background: rgba(255,255,255,.035); font-size: 11px; font-weight: 700; cursor: pointer; transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease; }
.theme-toggle:hover { transform: translateY(-1px); border-color: var(--accent); background: rgba(145,160,255,.09); }
.theme-toggle svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle__moon { display: none; }
html[data-theme="light"] .theme-toggle__sun { display: none; }
html[data-theme="light"] .theme-toggle__moon { display: block; }

.btn { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 15px; padding: 0 21px; border: 1px solid transparent; border-radius: 8px; font-size: 13px; font-weight: 700; letter-spacing: -.01em; cursor: pointer; transition: transform .22s var(--ease), border-color .22s ease, background .22s ease, box-shadow .22s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, .logo-stage:focus-visible { outline: 2px solid #b9c6ff; outline-offset: 4px; }
.btn--primary { color: #0b0d19; background: linear-gradient(115deg, #d1d9ff, #aebcff 48%, #a7a0ff); box-shadow: 0 8px 28px rgba(114,130,255,.17), inset 0 1px 0 rgba(255,255,255,.7); }
.btn--primary:hover { box-shadow: 0 12px 34px rgba(114,130,255,.3), inset 0 1px 0 rgba(255,255,255,.8); }
.btn--small { min-height: 40px; padding-inline: 16px; font-size: 12px; border-radius: 7px; }
.btn--large { min-height: 54px; padding-inline: 22px; }
.btn--quiet { color: #c5cbe0; border-color: rgba(176,190,234,.15); background: rgba(17,21,39,.35); }
.btn--quiet:hover, .btn--secondary:hover { border-color: rgba(176,190,255,.42); background: rgba(136,151,255,.08); }
.btn--secondary { color: #dbe0f4; border-color: rgba(176,190,234,.24); background: rgba(17,21,39,.42); }
.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.025); cursor: pointer; }
.menu-toggle span { display: block; width: 16px; height: 1px; margin: 5px auto; background: #e8ebfb; transition: transform .2s ease; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }
.mobile-menu { display: none; }

/* Hero — aurora chromatique, animée en CSS sans suivi du pointeur */
.hero {
  min-height: min(790px, calc(100svh - 78px));
  min-height: 700px;
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-bottom: 1px solid rgba(179,193,245,.10);
  background: #080916;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -4;
  pointer-events: none;
  background:
    radial-gradient(ellipse 42% 58% at 82% 34%, rgba(110,76,231,.28), transparent 72%),
    radial-gradient(ellipse 36% 52% at 11% 82%, rgba(23,166,190,.19), transparent 72%),
    radial-gradient(ellipse 34% 42% at 46% 0%, rgba(61,94,223,.18), transparent 72%),
    radial-gradient(ellipse 28% 38% at 48% 68%, rgba(183,73,169,.10), transparent 75%),
    linear-gradient(118deg, #080a18 0%, #0d1026 48%, #0a0c1b 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .14;
  background-image:
    radial-gradient(circle, rgba(207,220,255,.76) .65px, transparent .95px),
    linear-gradient(115deg, transparent 10%, rgba(255,255,255,.025) 48%, transparent 70%);
  background-size: 54px 54px, 100% 100%;
  background-position: 12px 9px, center;
  mask-image: radial-gradient(ellipse at 62% 42%, #000 0%, rgba(0,0,0,.72) 42%, transparent 84%);
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  opacity: .15;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(160,190,255,.48) .75px, transparent 1.15px);
  background-size: 34px 34px;
  mask-image: radial-gradient(ellipse at 70% 45%, #000 0%, transparent 72%);
}
.hero-glow {
  position: absolute;
  z-index: -2;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(58px) saturate(145%);
  mix-blend-mode: screen;
  will-change: transform;
}
.hero-glow--a {
  width: min(68vw, 850px);
  height: min(62vw, 700px);
  top: -38%;
  right: -14%;
  opacity: .66;
  background:
    radial-gradient(ellipse at 36% 42%, rgba(133,101,255,.34), transparent 58%),
    radial-gradient(ellipse at 68% 54%, rgba(53,157,230,.19), transparent 62%);
  animation: aurora-drift 30s ease-in-out infinite alternate;
}
.hero-glow--b {
  width: min(62vw, 760px);
  height: min(58vw, 650px);
  left: -13%;
  top: 35%;
  opacity: .54;
  background:
    radial-gradient(ellipse at 44% 48%, rgba(24,192,200,.25), transparent 61%),
    radial-gradient(ellipse at 65% 39%, rgba(193,77,190,.19), transparent 66%);
  animation: aurora-drift-reverse 36s ease-in-out infinite alternate;
}
.hero-glow--c {
  width: min(42vw, 540px);
  height: min(46vw, 570px);
  left: 39%;
  top: 22%;
  opacity: .38;
  background:
    radial-gradient(ellipse at 50% 48%, rgba(214,91,177,.22), rgba(101,83,224,.12) 42%, transparent 72%);
  animation: aurora-drift 42s ease-in-out infinite alternate-reverse;
}
.hero__inner { flex: 1; display: grid; grid-template-columns: minmax(0, .96fr) minmax(420px, 1.04fr); align-items: center; gap: 26px; padding-top: 55px; padding-bottom: 22px; }
.hero__copy { position: relative; z-index: 2; max-width: 650px; }
.eyebrow, .section-kicker { display: flex; align-items: center; gap: 10px; color: #a7b3da; font-size: 10px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.eyebrow { margin: 0 0 27px; }
.eyebrow__pulse { width: 7px; height: 7px; position: relative; border-radius: 50%; background: #9eb1ff; box-shadow: 0 0 12px rgba(149,169,255,.9); }
.eyebrow__pulse::after { content: ""; position: absolute; inset: -5px; border: 1px solid rgba(147,168,255,.35); border-radius: 50%; animation: pulse 2.7s ease-out infinite; }
.hero h1 { max-width: 700px; margin: 0; font: 600 clamp(44px, 5.15vw, 72px)/1.055 var(--font-display); letter-spacing: -.068em; text-wrap: balance; }
.text-gradient { color: #bac6ff; background: linear-gradient(110deg, #eef1ff 0%, #a6b5ff 36%, #c29cff 66%, #76dcec 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero__lead { max-width: 555px; margin: 28px 0 0; color: #aab2c9; font-size: clamp(15px, 1.2vw, 17px); line-height: 1.85; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 34px; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 48px; color: #8690ad; font-size: 11px; font-weight: 600; }
.hero__proof span { display: inline-flex; align-items: center; gap: 8px; }
.proof-dot { width: 5px; height: 5px; border-radius: 50%; background: #8da2ee; box-shadow: 0 0 8px rgba(141,162,238,.6); }
.hero__visual { min-width: 0; min-height: 540px; position: relative; display: grid; place-items: center; isolation: isolate; overflow: visible; }
.hero__visual::before {
  content: "";
  position: absolute;
  z-index: 1;
  pointer-events: none;
  left: -48%;
  top: 4%;
  width: 145%;
  height: 88%;
  background: radial-gradient(ellipse at 72% 48%, rgba(145,116,255,.22), rgba(47,186,218,.10) 38%, transparent 72%);
  filter: blur(42px);
}
.visual-wash {
  position: absolute;
  z-index: -2;
  inset: 2% -17% -2%;
  background:
    radial-gradient(ellipse at 52% 49%, rgba(146,128,255,.22), transparent 28%),
    radial-gradient(ellipse at 48% 52%, rgba(64,173,222,.15), transparent 54%),
    radial-gradient(ellipse at 62% 43%, rgba(215,91,190,.11), transparent 68%);
  filter: blur(34px);
  opacity: .9;
}
.visual-orbit {
  position: absolute;
  z-index: -1;
  width: min(84%, 520px);
  aspect-ratio: 1;
  border: 1px solid rgba(173,186,255,.13);
  border-radius: 50%;
  transform: rotate(-22deg) scaleY(.72);
}
.visual-orbit--one {
  box-shadow: 0 0 90px rgba(103,121,227,.09), inset 0 0 70px rgba(103,121,227,.045);
}
.visual-orbit--two {
  width: min(67%, 410px);
  transform: rotate(38deg) scaleY(.72);
  border-style: solid;
  border-color: rgba(192,156,255,.13);
  box-shadow: 0 0 45px rgba(130,104,255,.035);
}
.logo-stage { width: min(100%, 500px); max-width: 500px; min-width: 0; aspect-ratio: 1; position: relative; z-index: 2; display: grid; place-items: center; cursor: grab; touch-action: pan-y; outline: none; overflow: visible; filter: drop-shadow(0 32px 55px rgba(111,106,255,.22)); }
.logo-stage.is-dragging { cursor: grabbing; }
.logo-stage:focus-visible { outline: 1px solid rgba(165,190,255,.7); outline-offset: -8px; border-radius: 24px; }
.logo-stage canvas, .logo-fallback { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: contain; }
.logo-fallback { opacity: .92; pointer-events: none; user-select: none; -webkit-user-drag: none; filter: drop-shadow(0 0 28px rgba(155,171,255,.25)); }
.logo-stage.is-ready .logo-fallback { opacity: 0; }
.visual-crosshair { position: absolute; width: 10px; height: 10px; z-index: 1; opacity: .72; }
.visual-crosshair::before, .visual-crosshair::after { content: ""; position: absolute; background: rgba(174,190,255,.6); }
.visual-crosshair::before { width: 1px; height: 10px; left: 4px; }
.visual-crosshair::after { height: 1px; width: 10px; top: 4px; }
.visual-crosshair--one { top: 15%; right: 13%; }
.visual-crosshair--two { left: 9%; bottom: 20%; }
.visual-caption { position: absolute; bottom: 34px; left: 8%; right: 8%; display: flex; align-items: center; gap: 10px; color: #8994b6; font: 500 9px/1 var(--font-display); letter-spacing: .13em; text-transform: uppercase; }
.caption-line { width: 23px; height: 1px; background: #9c8fff; box-shadow: 0 0 8px rgba(141,159,255,.5); }
.caption-index { margin-left: auto; color: #68728f; }
.orbit-label { position: absolute; display: flex; align-items: center; gap: 8px; color: #8994b6; font: 600 9px/1 var(--font-display); letter-spacing: .14em; }
.orbit-label span { width: 5px; height: 5px; border-radius: 50%; background: #a7b7ff; box-shadow: 0 0 10px #879aff; }
.orbit-label--top { top: 14%; left: 7%; }
.orbit-label--bottom { bottom: 17%; right: 6%; }
.hero__bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 0; padding-bottom: 23px; color: #77819d; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.scroll-link { display: inline-flex; align-items: center; gap: 14px; color: #a5b0d0; transition: color .2s ease; }
.scroll-link:hover { color: white; }
.scroll-link span { font-size: 17px; }

/* Shared section heading */
.section { position: relative; padding: 132px 0; }
.section--intro { background: linear-gradient(180deg, #080b16, #090c17 80%, #0a0e1b); }
.section-heading { display: grid; grid-template-columns: 1.1fr .7fr; align-items: end; gap: 70px; margin-bottom: 54px; }
.section-kicker { margin: 0 0 22px; color: #8998c4; }
.section-heading h2, .approach-intro h2, .principles-top h2 { margin: 0; font: 600 clamp(36px, 4vw, 53px)/1.12 var(--font-display); letter-spacing: -.06em; text-wrap: balance; }
.muted-heading { color: #75809e; }
.section-heading__aside { max-width: 415px; margin: 0 0 3px auto; color: #939cb6; font-size: 14px; line-height: 1.85; }

/* Expertise cards */
.expertise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.expertise-card { min-height: 395px; position: relative; display: flex; flex-direction: column; overflow: hidden; padding: 22px 23px 24px; border: 1px solid var(--line); border-radius: 13px; background: linear-gradient(145deg, rgba(18,23,42,.88), rgba(11,14,26,.76)); transition: transform .3s var(--ease), border-color .3s ease, background .3s ease; }
.expertise-card:hover { transform: translateY(-5px); border-color: rgba(165,181,255,.3); background: linear-gradient(145deg, rgba(24,30,54,.94), rgba(12,16,30,.86)); }
.expertise-card--featured { grid-column: span 2; min-height: 428px; }
.expertise-card--ai { border-color: rgba(151,140,255,.24); background: radial-gradient(ellipse at 78% 27%, rgba(114,91,218,.16), transparent 48%), linear-gradient(145deg, rgba(22,23,47,.93), rgba(11,14,26,.82)); }
.card-meta { display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 2; color: #7f8aa8; font: 600 9px/1 var(--font-display); letter-spacing: .14em; }
.card-index { color: #a9b7e6; }
.card-tag { padding: 6px 8px; border: 1px solid rgba(164,180,235,.13); border-radius: 4px; color: #8792b2; font-size: 8px; }
.card-visual { height: 150px; position: relative; display: grid; place-items: center; overflow: hidden; margin: 8px -2px 8px; }
.expertise-card--featured .card-visual { height: 170px; }
.card-copy { position: relative; z-index: 2; margin-top: auto; }
.card-copy h3 { margin: 0 0 9px; font: 600 21px/1.2 var(--font-display); letter-spacing: -.04em; }
.card-copy p { max-width: 445px; margin: 0; color: #929bb5; font-size: 12px; line-height: 1.8; }
.text-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; color: #bdc8fa; font-size: 11px; font-weight: 700; transition: gap .2s ease, color .2s ease; }
.text-link:hover { gap: 15px; color: white; }

/* CSS-built visual cards */
.code-window { width: min(72%, 370px); height: 130px; position: relative; padding: 14px 18px; overflow: hidden; border: 1px solid rgba(159,178,255,.2); border-radius: 8px; background: linear-gradient(120deg, rgba(31,40,70,.8), rgba(13,18,35,.9)); box-shadow: 0 20px 50px rgba(0,0,0,.24), 0 0 40px rgba(106,124,255,.08); transform: perspective(600px) rotateY(-8deg) rotateX(4deg); }
.code-window::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 20%, rgba(168,187,255,.08), transparent 58%); }
.window-dots { display: flex; gap: 5px; padding-bottom: 13px; border-bottom: 1px solid rgba(168,185,255,.1); }
.window-dots i { width: 5px; height: 5px; border-radius: 50%; background: #7886b2; opacity: .75; }
.code-lines { display: grid; grid-template-columns: 24% 45% 20%; gap: 9px 8px; padding-top: 14px; }
.code-lines b, .code-lines i, .code-lines em { height: 4px; border-radius: 3px; background: #7f90ca; opacity: .55; }
.code-lines i:nth-of-type(2) { width: 75%; background: #a88dff; }.code-lines i:nth-of-type(3) { width: 88%; background: #75cfe4; }.code-lines em { width: 60%; background: #a6b5ff; }
.code-cursor { position: absolute; right: 20%; bottom: 27px; width: 1px; height: 12px; background: #c2ccff; box-shadow: 0 0 9px #aabaff; animation: blink 1.1s steps(2) infinite; }
.card-visual--ai { background: radial-gradient(circle, rgba(129,105,255,.16), transparent 64%); }
.ai-core { width: 76px; height: 76px; position: relative; display: grid; place-items: center; border: 1px solid rgba(178,172,255,.46); border-radius: 50%; background: radial-gradient(circle, rgba(162,148,255,.38), rgba(87,75,163,.12) 55%, transparent 70%); box-shadow: 0 0 32px rgba(135,111,255,.28), inset 0 0 19px rgba(191,183,255,.16); }
.ai-core span { position: absolute; width: 1px; height: 125px; background: linear-gradient(transparent, rgba(178,170,255,.35), transparent); transform: rotate(60deg); }
.ai-core span:nth-child(2) { transform: rotate(-60deg); }.ai-core span:nth-child(3) { transform: rotate(0deg); }
.ai-core i { width: 16px; height: 16px; border: 2px solid #d1ceff; border-radius: 50%; background: #9c8aff; box-shadow: 0 0 18px #9c8aff; }
.ai-ring { position: absolute; width: 130px; height: 58px; border: 1px solid rgba(164,157,255,.27); border-radius: 50%; transform: rotate(-28deg); }
.ai-ring--two { width: 165px; height: 80px; transform: rotate(53deg); border-style: dashed; border-color: rgba(129,205,231,.22); }
.ai-node { width: 5px; height: 5px; position: absolute; border-radius: 50%; background: #bcb4ff; box-shadow: 0 0 12px #a89aff; }.ai-node--a { top: 34px; right: 27%; }.ai-node--b { bottom: 28px; left: 27%; background: #87d9ee; }
.card-visual--cloud { background: radial-gradient(ellipse, rgba(94,145,217,.13), transparent 65%); }
.cloud-stack { width: 86px; display: flex; flex-direction: column; gap: 5px; position: relative; z-index: 1; transform: perspective(500px) rotateX(54deg) rotateZ(-28deg); }
.cloud-stack span { height: 18px; border: 1px solid rgba(131,192,239,.5); border-radius: 4px; background: linear-gradient(90deg, rgba(91,147,209,.26), rgba(133,175,240,.07)); box-shadow: 0 8px 0 rgba(52,93,149,.18), 0 12px 24px rgba(69,139,207,.08); }
.cloud-path { position: absolute; width: 135px; height: 50px; border: 1px dashed rgba(123,178,233,.3); border-radius: 50%; transform: rotate(-25deg); }.cloud-path--two { width: 180px; height: 90px; transform: rotate(36deg); border-color: rgba(123,178,233,.17); }
.card-visual--security { background: radial-gradient(circle, rgba(101,168,190,.1), transparent 65%); }
.shield-shape { width: 70px; height: 80px; position: relative; z-index: 1; filter: drop-shadow(0 0 18px rgba(108,208,222,.18)); }
.shield-shape svg { width: 100%; height: 100%; fill: rgba(100,183,196,.08); stroke: #8acbd7; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.security-scan { position: absolute; width: 150px; height: 1px; background: linear-gradient(90deg, transparent, rgba(117,228,233,.6), transparent); box-shadow: 0 0 12px rgba(117,228,233,.4); transform: rotate(-22deg); animation: scan 4s ease-in-out infinite; }
.card-visual--strategy { background: radial-gradient(ellipse, rgba(130,123,220,.13), transparent 65%); }
.strategy-axis { position: absolute; background: rgba(160,170,229,.2); }.strategy-axis--x { width: 170px; height: 1px; }.strategy-axis--y { width: 1px; height: 120px; }
.strategy-route { width: 145px; height: 90px; position: relative; border-top: 1px solid transparent; border-right: 1px solid transparent; border-left: 1px solid transparent; }
.strategy-route::before { content: ""; position: absolute; inset: 8px 4px 6px 8px; border-top: 1px solid #9c9df1; border-right: 1px solid #9c9df1; transform: skewY(-25deg) rotate(-17deg); filter: drop-shadow(0 0 5px rgba(156,157,241,.6)); }
.strategy-route i { width: 5px; height: 5px; position: absolute; border: 1px solid #c4caff; border-radius: 50%; background: #8f9cff; box-shadow: 0 0 10px #8f9cff; }.strategy-route i:nth-child(1) { left: 2px; bottom: 17px; }.strategy-route i:nth-child(2) { left: 40%; top: 35px; }.strategy-route i:nth-child(3) { right: 20%; top: 10px; }.strategy-route i:nth-child(4) { right: 0; top: 0; }
.strategy-label { position: absolute; color: #7785b3; font: 600 8px/1 var(--font-display); letter-spacing: .16em; }.strategy-label--a { left: 13%; top: 27%; }.strategy-label--b { right: 13%; bottom: 20%; }
.card-visual--training { background: radial-gradient(ellipse, rgba(101,176,209,.12), transparent 67%); }
.training-screen { width: 106px; height: 72px; position: relative; z-index: 1; padding: 12px; border: 1px solid rgba(132,197,219,.45); border-radius: 6px; background: rgba(43,85,111,.18); box-shadow: 0 15px 30px rgba(0,0,0,.23); transform: perspective(500px) rotateY(-15deg) rotateX(5deg); }
.training-screen span { width: 58%; height: 3px; display: block; margin-bottom: 7px; border-radius: 2px; background: #7cb8d2; opacity: .65; }.training-screen span:nth-child(2) { width: 80%; opacity: .35; }.training-screen span:nth-child(3) { width: 45%; opacity: .45; }.training-screen b { position: absolute; right: 12px; bottom: 12px; width: 18px; height: 18px; border: 1px solid #8bcee2; border-radius: 50%; box-shadow: 0 0 12px rgba(139,206,226,.3); }
.training-person { width: 16px; height: 16px; position: absolute; left: 25%; bottom: 26px; border-radius: 50%; background: #8ba4d5; box-shadow: 0 17px 0 5px rgba(110,141,192,.3); }.training-orbit { width: 145px; height: 66px; position: absolute; border: 1px solid rgba(128,191,221,.23); border-radius: 50%; transform: rotate(-28deg); }

/* Approach */
.section--approach { background: linear-gradient(180deg, #0a0e1a, #0c1020); border-top: 1px solid rgba(177,190,234,.05); border-bottom: 1px solid rgba(177,190,234,.06); }
.approach-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(60px, 9vw, 130px); }
.approach-intro { position: sticky; top: 135px; align-self: start; }
.approach-intro > p:not(.section-kicker) { max-width: 365px; margin: 24px 0 28px; color: #939db8; font-size: 13px; line-height: 1.9; }
.approach-intro .btn { min-height: 46px; font-size: 11px; }
.approach-steps { border-top: 1px solid var(--line); }
.approach-step { display: grid; grid-template-columns: 54px 1fr 28px; gap: 19px; align-items: start; padding: 28px 0 31px; border-bottom: 1px solid var(--line); }
.step-number { padding-top: 5px; color: #8492c0; font: 600 11px/1 var(--font-display); letter-spacing: .08em; }
.step-heading { display: flex; align-items: baseline; flex-wrap: wrap; gap: 14px; }
.step-heading h3 { margin: 0; font: 600 23px/1.2 var(--font-display); letter-spacing: -.04em; }
.step-heading span { color: #76819e; font-size: 10px; }
.step-content p { max-width: 570px; margin: 11px 0 0; color: #929bb4; font-size: 12px; line-height: 1.85; }
.step-symbol { padding-top: 1px; color: #a3b0eb; font: 22px/1 var(--font-display); text-align: right; opacity: .8; }

/* Principles */
.section--principles { background: #080b16; }
.principles-top { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 52px; }
.principles-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.principle-card { min-height: 245px; position: relative; padding: 28px 30px 34px 0; }
.principle-card + .principle-card { padding-left: 30px; border-left: 1px solid var(--line); }
.principle-icon { width: 39px; height: 39px; display: grid; place-items: center; margin-bottom: 28px; border: 1px solid rgba(163,181,255,.2); border-radius: 9px; color: #b3c0ff; background: rgba(132,151,255,.07); font-size: 18px; }
.principle-index { position: absolute; top: 39px; right: 29px; color: #65708d; font: 600 9px/1 var(--font-display); letter-spacing: .1em; }
.principle-card h3 { margin: 0 0 9px; font: 600 19px/1.2 var(--font-display); letter-spacing: -.03em; }
.principle-card p { max-width: 290px; margin: 0; color: #8993ae; font-size: 12px; line-height: 1.85; }

/* Contact */
.contact-section { position: relative; overflow: hidden; isolation: isolate; padding: 116px 0 120px; border-top: 1px solid rgba(176,190,238,.08); background: linear-gradient(135deg, #11152b 0%, #0b1020 47%, #0a0c18 100%); }
.contact-aura { position: absolute; z-index: -1; width: 780px; height: 620px; left: -200px; top: -250px; border-radius: 50%; background: radial-gradient(ellipse, rgba(109,104,221,.21), transparent 69%); filter: blur(20px); }
.contact-layout { display: grid; grid-template-columns: .92fr 1.08fr; align-items: start; gap: clamp(55px, 9vw, 130px); }
.contact-copy h2 { margin: 0; font: 600 clamp(39px, 4.5vw, 59px)/1.1 var(--font-display); letter-spacing: -.065em; }
.contact-copy > p:not(.section-kicker) { max-width: 410px; margin: 24px 0 28px; color: #9ba5c0; font-size: 13px; line-height: 1.9; }
.contact-email { display: inline-flex; align-items: center; gap: 14px; padding-bottom: 5px; border-bottom: 1px solid rgba(179,194,255,.3); color: #d2d9ff; font: 500 16px/1.4 var(--font-display); transition: gap .2s ease; }
.contact-email:hover { gap: 20px; }
.contact-form { padding: 27px; border: 1px solid rgba(183,196,243,.15); border-radius: 12px; background: rgba(8,11,23,.48); box-shadow: 0 24px 70px rgba(0,0,0,.16); backdrop-filter: blur(12px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 17px; }
.field label { color: #c3cbe1; font-size: 11px; font-weight: 600; }
.field label span { color: #a8b7ff; }
.field input, .field textarea { width: 100%; min-height: 47px; padding: 12px 13px; border: 1px solid rgba(172,187,230,.14); border-radius: 7px; outline: none; color: #eef1ff; background: rgba(18,23,42,.74); font-size: 12px; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.field textarea { min-height: 112px; resize: vertical; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: #68728f; }
.field input:focus, .field textarea:focus { border-color: rgba(166,184,255,.58); background: rgba(22,28,51,.9); box-shadow: 0 0 0 3px rgba(139,158,255,.08); }
.btn--submit { width: 100%; min-height: 49px; margin-top: 1px; }
.form-note { margin: 13px 0 0; color: #737e9b; font-size: 10px; line-height: 1.6; text-align: center; }

/* Footer */
.site-footer { padding: 48px 0 20px; background: #070913; }
.footer-main { display: grid; grid-template-columns: 1fr .45fr .55fr; gap: 60px; padding-bottom: 42px; }
.footer-brand p { max-width: 270px; margin: 17px 0 0; color: #77819d; font-size: 11px; line-height: 1.7; }
.footer-nav-group { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-label { margin-bottom: 7px; color: #68738f; font-size: 9px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.footer-nav-group a { color: #a0a9c2; font-size: 11px; transition: color .2s ease; }.footer-nav-group a:hover { color: white; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 17px; border-top: 1px solid rgba(177,190,234,.09); color: #606b87; font-size: 10px; }

/* Motion and reveal
   Progressive enhancement: content stays visible if main.js cannot load.
   Reveal animation is enabled only after the JS controller is ready. */
.reveal { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js-reveal .reveal { opacity: 0; transform: translateY(19px); }
.js-reveal .reveal.is-visible { opacity: 1; transform: translateY(0); }
@keyframes aurora-drift {
  0% { transform: translate3d(0, 0, 0) rotate(-7deg) scale(1); }
  100% { transform: translate3d(-4%, 5%, 0) rotate(8deg) scale(1.08); }
}
@keyframes aurora-drift-reverse {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(5%, -4%, 0) scale(1.1); }
}
@keyframes pulse { 0% { transform: scale(.75); opacity: .8; } 100% { transform: scale(1.8); opacity: 0; } }
@keyframes blink { 0%, 48% { opacity: 1; } 49%, 100% { opacity: 0; } }
@keyframes scan { 0%, 100% { opacity: 0; transform: translateY(-25px) rotate(-22deg); } 40%, 60% { opacity: .8; transform: translateY(22px) rotate(-22deg); } }

@media (max-width: 1000px) {
  .hero { min-height: 660px; }
  .hero__inner { grid-template-columns: minmax(0, 1fr) minmax(330px, .82fr); gap: 0; }
  .hero h1 { font-size: clamp(43px, 5.8vw, 62px); }
  .hero__visual { min-height: 460px; }
  .logo-stage { width: min(100%, 440px); }
  .expertise-card { min-height: 410px; padding-inline: 18px; }
  .expertise-card--featured { min-height: 420px; }
  .approach-layout { gap: 55px; }
}
@media (max-width: 760px) {
  .container { width: min(100% - 40px, var(--container)); }
  .nav-shell { min-height: 70px; }
  .primary-nav, .nav-cta { display: none; }
  .menu-toggle { display: block; }
  .mobile-menu { display: flex; flex-direction: column; gap: 18px; padding: 8px 20px 22px; border-top: 1px solid rgba(178,190,228,.08); background: rgba(7,9,19,.97); }
  .mobile-menu[hidden] { display: none; }
  .mobile-menu a { width: fit-content; }
  .mobile-menu .btn { width: 100%; margin-top: 3px; }
  .hero { min-height: 0; }
  .hero__inner { grid-template-columns: 1fr; gap: 0; padding-top: 78px; padding-bottom: 0; }
  .hero__copy { max-width: 620px; }
  .hero h1 { max-width: 620px; font-size: clamp(43px, 9vw, 66px); }
  .hero__lead { max-width: 560px; margin-top: 20px; font-size: 14px; }
  .hero__actions { gap: 10px; margin-top: 27px; }
  .btn--large { min-height: 50px; padding-inline: 16px; font-size: 11px; }
  .hero__proof { margin-top: 30px; gap: 9px 16px; font-size: 10px; }
  .hero__visual { width: min(100%, 520px); min-height: 430px; margin: -8px auto -10px; }
  .logo-stage { width: min(100%, 410px); }
  .visual-caption { bottom: 20px; }
  .orbit-label--top { top: 9%; }.orbit-label--bottom { bottom: 13%; }
  .hero__bottom { padding-top: 8px; padding-bottom: 18px; }
  .section { padding: 88px 0; }
  .section-heading { grid-template-columns: 1fr; gap: 20px; margin-bottom: 34px; }
  .section-heading__aside { max-width: 540px; margin: 0; }
  .expertise-grid { grid-template-columns: repeat(2, 1fr); }
  .expertise-card, .expertise-card--featured { min-height: 390px; grid-column: span 1; }
  .expertise-card--featured { grid-column: span 2; }
  .approach-layout { grid-template-columns: 1fr; gap: 46px; }
  .approach-intro { position: static; }
  .approach-intro > p:not(.section-kicker) { max-width: 550px; }
  .principles-top { margin-bottom: 34px; }
  .principles-grid { grid-template-columns: 1fr; }
  .principle-card { min-height: 0; padding: 23px 0 26px; }
  .principle-card + .principle-card { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .principle-icon { margin-bottom: 18px; }
  .principle-index { top: 35px; right: 0; }
  .contact-section { padding: 88px 0; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .contact-copy > p:not(.section-kicker) { max-width: 550px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: span 2; }
}
@media (max-width: 520px) {
  .container { width: calc(100% - 36px); }
  .brand__name { font-size: 20px; }
  .hero__inner { padding-top: 62px; }
  .eyebrow { margin-bottom: 20px; font-size: 9px; }
  .hero h1 { font-size: clamp(39px, 11vw, 52px); line-height: 1.07; }
  .hero__lead { font-size: 13px; line-height: 1.8; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .hero__proof { display: grid; grid-template-columns: 1fr 1fr; margin-top: 25px; }
  .hero__visual { min-height: 360px; margin-top: 2px; }
  .logo-stage { width: min(100%, 340px); }
  .visual-orbit { width: 92%; }.visual-orbit--two { width: 72%; }
  .orbit-label { font-size: 8px; }.orbit-label--top { left: 0; }.orbit-label--bottom { right: 0; }
  .visual-caption { left: 0; right: 0; bottom: 14px; font-size: 8px; }
  .hero__bottom-label { max-width: 190px; line-height: 1.5; }
  .section { padding: 76px 0; }
  .section-heading h2, .approach-intro h2, .principles-top h2 { font-size: 36px; }
  .expertise-grid { grid-template-columns: 1fr; gap: 11px; }
  .expertise-card, .expertise-card--featured { grid-column: span 1; min-height: 365px; }
  .expertise-card--featured { min-height: 380px; }
  .card-visual { height: 130px; }.expertise-card--featured .card-visual { height: 145px; }
  .card-copy h3 { font-size: 19px; }
  .approach-step { grid-template-columns: 32px 1fr 18px; gap: 11px; padding: 23px 0; }
  .step-heading { display: block; }.step-heading span { display: block; margin-top: 4px; }
  .step-heading h3 { font-size: 21px; }
  .step-content p { font-size: 11px; }
  .principles-top { display: block; }
  .contact-copy h2 { font-size: 39px; }
  .contact-form { padding: 19px 15px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-main { gap: 26px 20px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-glow--a, .hero-glow--b, .hero-glow--c { animation: none !important; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}


/* ============================================================
   THEME CLAIR — palette C12C
   Les accents restent bleu / violet / cyan ; les surfaces passent
   en ivoire froid et les textes en bleu ardoise pour le contraste.
   ============================================================ */
html[data-theme="light"] {
  color-scheme: light;
  --bg: #f4f6fc;
  --bg-soft: #edf1f9;
  --surface: rgba(255,255,255,.82);
  --surface-strong: #ffffff;
  --line: rgba(48,61,97,.12);
  --line-strong: rgba(48,61,97,.2);
  --text: #172038;
  --muted: #59647e;
  --muted-2: #7a849d;
  --accent: #655fe0;
  --accent-2: #7958d7;
  --cyan: #168da8;
  background: var(--bg);
}
html[data-theme="light"],
html[data-theme="light"] body { background: var(--bg); color: var(--text); }
html[data-theme="light"] body::before {
  opacity: .17;
  background-image: radial-gradient(rgba(90,105,154,.26) .55px, transparent .65px);
}
html[data-theme="light"] ::selection { color: #fff; background: #625cce; }
html[data-theme="light"] .site-header {
  border-bottom-color: rgba(50,65,105,.11);
  background: rgba(247,249,255,.82);
  box-shadow: 0 8px 30px rgba(39,54,91,.045);
}
html[data-theme="light"] .brand__symbol::before { background: radial-gradient(circle, rgba(112,105,224,.24), transparent 68%); }
html[data-theme="light"] .brand__symbol img { filter: saturate(1.08) contrast(1.12) brightness(.78); }
html[data-theme="light"] .brand__dot { color: #675fda; }
html[data-theme="light"] .primary-nav a,
html[data-theme="light"] .mobile-menu a:not(.btn) { color: #59647e; }
html[data-theme="light"] .primary-nav a:hover,
html[data-theme="light"] .mobile-menu a:not(.btn):hover { color: #5149ba; }
html[data-theme="light"] .primary-nav a::after { background: #675fda; }
html[data-theme="light"] .theme-toggle { color: #4e5873; border-color: rgba(52,67,108,.18); background: rgba(255,255,255,.72); }
html[data-theme="light"] .language-switch { color: #4e5873; border-color: rgba(52,67,108,.18); background: rgba(255,255,255,.72); }
html[data-theme="light"] .language-switch:hover { border-color: rgba(100,91,213,.48); background: rgba(112,105,224,.08); }
html[data-theme="light"] .theme-toggle:hover { border-color: rgba(100,91,213,.48); background: rgba(112,105,224,.08); }
html[data-theme="light"] .menu-toggle { border-color: rgba(52,67,108,.18); background: rgba(255,255,255,.7); }
html[data-theme="light"] .menu-toggle span { background: #34405d; }
html[data-theme="light"] .btn--primary {
  color: #fff;
  background: linear-gradient(115deg, #7068e5, #5f67d8 52%, #438fbd);
  box-shadow: 0 8px 24px rgba(96,91,204,.2), inset 0 1px 0 rgba(255,255,255,.32);
}
html[data-theme="light"] .btn--primary:hover { box-shadow: 0 12px 30px rgba(96,91,204,.27), inset 0 1px 0 rgba(255,255,255,.42); }
html[data-theme="light"] .btn--quiet,
html[data-theme="light"] .btn--secondary { color: #404c6a; border-color: rgba(55,70,111,.19); background: rgba(255,255,255,.62); }
html[data-theme="light"] .btn--quiet:hover,
html[data-theme="light"] .btn--secondary:hover { color: #4f48b8; border-color: rgba(100,91,213,.38); background: rgba(112,105,224,.08); }
html[data-theme="light"] .mobile-menu { border-top-color: rgba(50,65,105,.12); background: rgba(248,250,255,.98); }

/* Hero clair : aurora pastel, sans halo piloté par la souris. */
html[data-theme="light"] .hero {
  border-bottom-color: rgba(56,72,122,.12);
  background: #f2f5fd;
}
html[data-theme="light"] .hero::before {
  background:
    radial-gradient(ellipse 42% 58% at 82% 34%, rgba(126,105,238,.19), transparent 72%),
    radial-gradient(ellipse 36% 52% at 11% 82%, rgba(48,183,202,.16), transparent 72%),
    radial-gradient(ellipse 34% 42% at 46% 0%, rgba(88,125,230,.15), transparent 72%),
    radial-gradient(ellipse 28% 38% at 48% 68%, rgba(212,111,190,.12), transparent 75%),
    linear-gradient(118deg, #f7f8ff 0%, #edf1fb 48%, #f7f5fc 100%);
}
html[data-theme="light"] .hero::after {
  opacity: .2;
  background-image:
    radial-gradient(circle, rgba(71,92,151,.35) .65px, transparent .95px),
    linear-gradient(115deg, transparent 10%, rgba(79,93,143,.025) 48%, transparent 70%);
}
html[data-theme="light"] .hero-grid-bg { opacity: .18; background-image: radial-gradient(circle, rgba(93,116,177,.4) .75px, transparent 1.15px); }
html[data-theme="light"] .hero-glow { mix-blend-mode: multiply; filter: blur(64px) saturate(125%); }
html[data-theme="light"] .hero-glow--a { opacity: .28; }
html[data-theme="light"] .hero-glow--b { opacity: .24; }
html[data-theme="light"] .hero-glow--c { opacity: .2; }
html[data-theme="light"] .eyebrow,
html[data-theme="light"] .section-kicker { color: #5c6590; }
html[data-theme="light"] .eyebrow__pulse { background: #6a65d8; box-shadow: 0 0 12px rgba(106,101,216,.45); }
html[data-theme="light"] .eyebrow__pulse::after { border-color: rgba(106,101,216,.32); }
html[data-theme="light"] .hero h1 { color: #18223c; }
html[data-theme="light"] .text-gradient {
  color: #655bd2;
  background: linear-gradient(110deg, #514cbb 0%, #6a62d8 38%, #9a61bb 68%, #168fa8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
html[data-theme="light"] .hero__lead { color: #58647e; }
html[data-theme="light"] .hero__proof { color: #66718b; }
html[data-theme="light"] .proof-dot { background: #6965d7; box-shadow: 0 0 8px rgba(105,101,215,.32); }
html[data-theme="light"] .hero__visual::before {
  background: radial-gradient(ellipse at 72% 48%, rgba(137,113,230,.2), rgba(45,171,198,.13) 38%, transparent 72%);
  filter: blur(48px);
}
html[data-theme="light"] .visual-wash {
  background:
    radial-gradient(ellipse at 52% 49%, rgba(133,116,232,.21), transparent 28%),
    radial-gradient(ellipse at 48% 52%, rgba(54,165,205,.15), transparent 54%),
    radial-gradient(ellipse at 62% 43%, rgba(210,104,181,.13), transparent 68%);
}
html[data-theme="light"] .visual-orbit { border-color: rgba(90,100,167,.19); box-shadow: 0 0 90px rgba(103,121,227,.055), inset 0 0 70px rgba(103,121,227,.025); }
html[data-theme="light"] .visual-orbit--two { border-color: rgba(143,102,196,.2); }
html[data-theme="light"] .logo-stage { filter: drop-shadow(0 28px 46px rgba(91,84,178,.19)); }
html[data-theme="light"] .logo-fallback { filter: drop-shadow(0 0 24px rgba(102,91,201,.2)) saturate(1.08) contrast(1.12); }
html[data-theme="light"] .visual-crosshair::before,
html[data-theme="light"] .visual-crosshair::after { background: rgba(78,91,151,.48); }
html[data-theme="light"] .visual-caption,
html[data-theme="light"] .orbit-label { color: #65708f; }
html[data-theme="light"] .caption-index { color: #8992ab; }
html[data-theme="light"] .caption-line { background: #7b68d7; }
html[data-theme="light"] .orbit-label span { background: #6d68d8; box-shadow: 0 0 9px rgba(109,104,216,.45); }
html[data-theme="light"] .hero__bottom { color: #77829b; }
html[data-theme="light"] .scroll-link { color: #626d88; }
html[data-theme="light"] .scroll-link:hover { color: #5149b8; }

/* Sections et cartes */
html[data-theme="light"] .section--intro { background: linear-gradient(180deg, #f8f9fe, #f0f3fa 80%, #eef2f9); }
html[data-theme="light"] .section--approach {
  background: linear-gradient(180deg, #edf1f9, #f4f6fc);
  border-top-color: rgba(52,68,111,.09);
  border-bottom-color: rgba(52,68,111,.09);
}
html[data-theme="light"] .section--principles { background: #f8f9fd; }
html[data-theme="light"] .section-heading__aside,
html[data-theme="light"] .approach-intro > p:not(.section-kicker) { color: #606b85; }
html[data-theme="light"] .muted-heading { color: #75809a; }
html[data-theme="light"] .expertise-card {
  border-color: rgba(50,65,105,.12);
  background: linear-gradient(145deg, rgba(255,255,255,.94), rgba(246,248,253,.92));
  box-shadow: 0 12px 32px rgba(40,55,91,.055);
}
html[data-theme="light"] .expertise-card:hover {
  border-color: rgba(105,96,211,.32);
  background: linear-gradient(145deg, #fff, #f4f5ff);
  box-shadow: 0 18px 38px rgba(55,66,115,.09);
}
html[data-theme="light"] .expertise-card--ai {
  border-color: rgba(119,100,212,.2);
  background: radial-gradient(ellipse at 78% 27%, rgba(132,111,224,.11), transparent 48%), linear-gradient(145deg, #fff, #f2f1fc);
}
html[data-theme="light"] .card-meta { color: #7a849d; }
html[data-theme="light"] .card-index { color: #625cc7; }
html[data-theme="light"] .card-tag { border-color: rgba(68,83,133,.14); color: #6e7892; background: rgba(255,255,255,.58); }
html[data-theme="light"] .card-copy p { color: #66718a; }
html[data-theme="light"] .text-link { color: #5d57bf; }
html[data-theme="light"] .text-link:hover { color: #3c369f; }
html[data-theme="light"] .code-window {
  border-color: rgba(92,106,171,.2);
  background: linear-gradient(120deg, rgba(231,235,251,.96), rgba(215,225,247,.92));
  box-shadow: 0 20px 50px rgba(67,82,133,.12), 0 0 40px rgba(106,124,255,.07);
}
html[data-theme="light"] .window-dots { border-bottom-color: rgba(91,107,170,.15); }
html[data-theme="light"] .code-lines b,
html[data-theme="light"] .code-lines i,
html[data-theme="light"] .code-lines em { opacity: .8; }
html[data-theme="light"] .approach-intro h2,
html[data-theme="light"] .section-heading h2,
html[data-theme="light"] .principles-top h2 { color: #1b2540; }
html[data-theme="light"] .approach-steps,
html[data-theme="light"] .approach-step,
html[data-theme="light"] .principles-grid { border-color: rgba(54,69,109,.14); }
html[data-theme="light"] .step-number { color: #6865bd; }
html[data-theme="light"] .step-heading span,
html[data-theme="light"] .step-content p { color: #66718a; }
html[data-theme="light"] .step-symbol { color: #7069ca; }
html[data-theme="light"] .principle-icon { border-color: rgba(102,95,203,.2); color: #5b56bf; background: rgba(113,105,219,.08); }
html[data-theme="light"] .principle-index { color: #8892a9; }
html[data-theme="light"] .principle-card p { color: #65708a; }

/* Contact et footer */
html[data-theme="light"] .contact-section {
  border-top-color: rgba(55,69,111,.12);
  background: linear-gradient(130deg, #e9edfa 0%, #f4f3fc 48%, #eaf4f8 100%);
}
html[data-theme="light"] .contact-aura { opacity: .62; background: radial-gradient(ellipse, rgba(126,108,224,.18), transparent 69%); }
html[data-theme="light"] .contact-copy h2 { color: #1b2540; }
html[data-theme="light"] .contact-copy > p:not(.section-kicker) { color: #5d6882; }
html[data-theme="light"] .contact-email { border-bottom-color: rgba(91,83,190,.3); color: #514bb0; }
html[data-theme="light"] .contact-form {
  border-color: rgba(55,70,111,.14);
  background: rgba(255,255,255,.78);
  box-shadow: 0 24px 70px rgba(49,62,101,.09);
}
html[data-theme="light"] .field label { color: #3e4965; }
html[data-theme="light"] .field label span { color: #625bd0; }
html[data-theme="light"] .field input,
html[data-theme="light"] .field textarea {
  border-color: rgba(59,74,117,.17);
  color: #1d2944;
  background: rgba(248,250,255,.94);
}
html[data-theme="light"] .field input::placeholder,
html[data-theme="light"] .field textarea::placeholder { color: #8c96ac; }
html[data-theme="light"] .field input:focus,
html[data-theme="light"] .field textarea:focus {
  border-color: rgba(101,94,208,.55);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(111,103,215,.1);
}
html[data-theme="light"] .form-note { color: #77829b; }
html[data-theme="light"] .site-footer { background: #e8edf7; }
html[data-theme="light"] .footer-brand p { color: #68738d; }
html[data-theme="light"] .footer-label { color: #77829b; }
html[data-theme="light"] .footer-nav-group a { color: #53607b; }
html[data-theme="light"] .footer-nav-group a:hover { color: #514bb4; }
html[data-theme="light"] .footer-bottom { border-top-color: rgba(54,69,109,.14); color: #7b859c; }

@media (max-width: 760px) {
  .theme-toggle { width: 40px; min-width: 40px; padding: 0; }
  .theme-toggle__label { display: none; }
}


/* --------------------------------------------------------------------------
   LOGO STUDIO — panneau de réglage réservé au mode développement (?studio=1)
   -------------------------------------------------------------------------- */
.logo-studio-launch {
  position: fixed;
  z-index: 10020;
  right: 22px;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid rgba(166,151,255,.42);
  border-radius: 999px;
  color: #f4f1ff;
  background: linear-gradient(120deg, #6255ba, #287f9d);
  box-shadow: 0 12px 34px rgba(11,15,39,.28), inset 0 1px 0 rgba(255,255,255,.2);
  font: 700 11px/1 var(--font-body);
  letter-spacing: .02em;
  cursor: pointer;
}
.logo-studio-launch::before { content: "◈"; font-size: 15px; }
.logo-studio-launch:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(11,15,39,.34), inset 0 1px 0 rgba(255,255,255,.25); }
.logo-studio {
  position: fixed;
  z-index: 10030;
  top: 16px;
  right: 16px;
  bottom: 72px;
  width: min(390px, calc(100vw - 32px));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(162,159,222,.25);
  border-radius: 18px;
  color: #f2f3ff;
  background: rgba(13,16,34,.96);
  box-shadow: 0 24px 90px rgba(0,0,0,.48), 0 0 50px rgba(113,91,225,.13);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  opacity: 0;
  visibility: hidden;
  transform: translate3d(18px, 0, 0) scale(.985);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  font-family: var(--font-body);
}
.logo-studio.is-open { opacity: 1; visibility: visible; transform: translate3d(0,0,0) scale(1); }
.logo-studio__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 19px 20px 14px; border-bottom: 1px solid rgba(183,188,232,.12); background: linear-gradient(120deg, rgba(111,91,211,.14), rgba(28,149,173,.08)); }
.logo-studio__eyebrow { color: #9b91ed; font-size: 9px; font-weight: 800; letter-spacing: .18em; }
.logo-studio__head h2 { margin: 5px 0 3px; color: #f8f8ff; font: 600 22px/1.15 var(--font-display); letter-spacing: -.04em; }
.logo-studio__head p { margin: 0; color: #9ba5c3; font-size: 11px; }
.logo-studio__close { width: 30px; height: 30px; border: 1px solid rgba(190,195,235,.18); border-radius: 9px; color: #e8eaff; background: rgba(255,255,255,.055); font: 400 22px/1 sans-serif; cursor: pointer; }
.logo-studio__status { padding: 9px 20px; color: #9dced9; background: rgba(49,157,170,.07); border-bottom: 1px solid rgba(183,188,232,.1); font-size: 10px; }
.logo-studio__tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; padding: 11px 20px; }
.logo-studio__tabs button { min-height: 34px; border: 1px solid rgba(180,187,226,.15); border-radius: 9px; color: #aeb6d3; background: rgba(255,255,255,.035); font: 700 11px var(--font-body); cursor: pointer; }
.logo-studio__tabs button.is-active { border-color: rgba(151,132,255,.58); color: #fff; background: linear-gradient(110deg, rgba(113,92,213,.32), rgba(39,140,164,.2)); box-shadow: inset 0 0 0 1px rgba(151,132,255,.1); }
.logo-studio__body { min-height: 0; flex: 1; overflow-y: auto; padding: 0 20px 15px; scrollbar-width: thin; scrollbar-color: rgba(152,143,222,.38) transparent; }
.logo-studio__section { padding: 13px 0 15px; border-bottom: 1px solid rgba(183,188,232,.1); }
.logo-studio__section h3 { margin: 0 0 11px; color: #e6e8fa; font: 600 12px var(--font-display); letter-spacing: .02em; }
.logo-studio__hint { margin: -4px 0 11px; color: #8590b0; font-size: 10px; line-height: 1.5; }
.logo-studio__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 13px; }
.logo-studio__color-field, .logo-studio__range-field { min-width: 0; display: grid; gap: 6px; }
.logo-studio__field-label { color: #aeb7d3; font-size: 10px; font-weight: 600; }
.logo-studio__color-field input { width: 100%; height: 34px; padding: 3px; border: 1px solid rgba(178,187,230,.2); border-radius: 8px; background: rgba(255,255,255,.055); cursor: pointer; }
.logo-studio__range-field { grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 6px 8px; }
.logo-studio__range-field .logo-studio__field-label { grid-column: 1 / -1; }
.logo-studio__range-field input { width: 100%; min-width: 0; accent-color: #9a87ff; }
.logo-studio__value { min-width: 38px; color: #c4baff; font: 600 10px var(--font-body); text-align: right; font-variant-numeric: tabular-nums; }
.logo-studio__actions { padding: 12px 20px 8px; border-top: 1px solid rgba(183,188,232,.1); background: rgba(6,9,22,.42); }
.logo-studio__action-row { display: grid; grid-template-columns: .8fr 1.2fr; gap: 8px; margin-top: 8px; }
.logo-studio__button { min-height: 34px; padding: 0 10px; border: 1px solid rgba(169,177,222,.2); border-radius: 8px; color: #e7eaff; background: rgba(255,255,255,.065); font: 700 10px var(--font-body); cursor: pointer; }
.logo-studio__button:hover { border-color: rgba(164,146,255,.55); background: rgba(123,106,221,.16); }
.logo-studio__button--quiet { width: 100%; color: #b9c1dc; background: transparent; }
.logo-studio__button--primary { border-color: rgba(133,126,239,.55); color: #fff; background: linear-gradient(110deg, #6458bc, #237f9b); }
.logo-studio__footnote { margin: 0; padding: 0 20px 14px; color: #7e89a9; background: rgba(6,9,22,.42); font-size: 9px; line-height: 1.5; }
.logo-studio button:focus-visible, .logo-studio input:focus-visible, .logo-studio-launch:focus-visible { outline: 2px solid #a99aff; outline-offset: 3px; }
@media (max-width: 600px) {
  .logo-studio { top: auto; left: 8px; right: 8px; bottom: 8px; width: auto; max-height: min(82vh, 760px); border-radius: 16px; transform: translate3d(0,18px,0) scale(.99); }
  .logo-studio.is-open { transform: translate3d(0,0,0) scale(1); }
  .logo-studio-launch { right: 14px; bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .logo-studio, .logo-studio-launch { transition: none !important; }
}
