/* ==========================================================================
   ENGEN-IT — feuille de style principale
   ========================================================================== */

@font-face {
  font-family: "Sora";
  src: url("../fonts/sora-var.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #070b1f;
  --navy: #0b1130;
  --navy-2: #121a47;
  --blue: #2457f5;
  --blue-l: #4f8bff;
  --violet: #6d3bf5;
  --cyan: #19c8e6;
  --pink: #ff4d8d;
  --orange: #ff9f1c;
  --green: #17b26a;
  --bg: #f5f7ff;
  --card: #ffffff;
  --text: #1a2040;
  --muted: #566080;
  --line: #e2e7f7;
  --grad: linear-gradient(100deg, #2f6bff 0%, #7b4dff 40%, #ff4d8d 78%, #ff9f1c 100%);
  --grad-cool: linear-gradient(120deg, #19c8e6 0%, #2f6bff 50%, #7b4dff 100%);
  --radius: 20px;
  --shadow: 0 18px 50px -20px rgba(20, 32, 90, 0.28);
  --shadow-s: 0 8px 24px -12px rgba(20, 32, 90, 0.22);
  --container: 1180px;
  --font-title: "Sora", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-title); line-height: 1.15; margin: 0 0 0.6em; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 200;
  background: #fff; color: var(--ink); padding: 0.7rem 1rem; border-radius: 10px; font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.grad-text {
  background: var(--grad);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: gradShift 7s ease-in-out infinite alternate;
}
@keyframes gradShift { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

/* --------------------------------------------------------------------------
   Barre de progression + en-tête
   -------------------------------------------------------------------------- */
.progress {
  position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 120;
  background: var(--grad); transform-origin: 0 50%; transform: scaleX(0);
}

.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}
.header.is-scrolled, .header.is-open, .header--solid {
  background: rgba(8, 12, 34, 0.86);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 0.7rem; color: #fff; font-family: var(--font-title); font-weight: 800; font-size: 1.3rem; letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.brand__mark { width: 38px; height: 38px; flex: none; }
.brand__it {
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav__list { display: flex; gap: 1.5rem; }
.nav__link { color: rgba(255, 255, 255, 0.82); font-size: 0.96rem; font-weight: 500; position: relative; padding: 0.4rem 0; }
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px;
  background: var(--grad); transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.25s;
}
.nav__link:hover, .nav__link.is-active { color: #fff; text-decoration: none; }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; cursor: pointer;
  background: rgba(255, 255, 255, 0.1); position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  position: absolute; left: 11px; width: 22px; height: 2px; border-radius: 2px; background: #fff; transition: transform 0.25s, opacity 0.2s;
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before { content: ""; left: 0; top: -7px; }
.nav-toggle span::after { content: ""; left: 0; top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Boutons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.9rem 1.5rem; border-radius: 999px; border: 0; cursor: pointer;
  font-family: var(--font-title); font-weight: 600; font-size: 1rem; line-height: 1.2;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary {
  color: #fff; background: linear-gradient(100deg, #2457f5, #6d3bf5 60%, #c02e86);
  background-size: 160% 100%; box-shadow: 0 12px 30px -10px rgba(77, 76, 245, 0.75);
}
.btn--primary:hover { background-position: 100% 0; box-shadow: 0 16px 36px -10px rgba(109, 59, 245, 0.85); }
.btn--ghost { color: #fff; background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.16); }
.btn--light { color: var(--blue); background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.btn--light:hover { box-shadow: inset 0 0 0 1px var(--blue); }
.btn--sm { padding: 0.65rem 1.15rem; font-size: 0.93rem; }
.btn--block { width: 100%; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  color: #fff; background: radial-gradient(120% 90% at 80% 0%, #1a2569 0%, var(--navy) 45%, var(--ink) 100%);
  padding: 150px 0 110px;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.55; z-index: -3; animation: float 16s ease-in-out infinite alternate; }
.blob--1 { width: 520px; height: 520px; background: #2f6bff; top: -180px; left: -140px; }
.blob--2 { width: 460px; height: 460px; background: #7b4dff; top: 10%; right: -160px; animation-delay: -5s; }
.blob--3 { width: 380px; height: 380px; background: #ff4d8d; bottom: -200px; left: 35%; opacity: 0.35; animation-delay: -9s; }
@keyframes float { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(40px, 50px, 0) scale(1.15); } }

.hero__grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 3.5rem; align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.4rem 0.95rem; border-radius: 999px;
  font-size: 0.86rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  background: rgba(255, 255, 255, 0.09); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); color: #dfe6ff;
  margin-bottom: 1.4rem;
}
.eyebrow__dot { width: 8px; height: 8px; border-radius: 50%; background: #34e39a; box-shadow: 0 0 0 0 rgba(52, 227, 154, 0.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(52, 227, 154, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 227, 154, 0); } }

.hero h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); font-weight: 800; margin-bottom: 1.2rem; }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: #c9d3f5; max-width: 36rem; margin-bottom: 2rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 2.4rem; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.fact {
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0.9rem; border-radius: 12px;
  background: rgba(255, 255, 255, 0.07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  font-size: 0.92rem; color: #e6ebff;
}
.fact svg { width: 16px; height: 16px; color: var(--cyan); flex: none; }

/* Console animée */
.hero__visual { position: relative; min-height: 440px; }
.console {
  position: relative; border-radius: 22px; padding: 1.4rem 1.5rem 1.6rem;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.05));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2), 0 40px 80px -30px rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  margin: 46px 34px 0 26px;
}
.console__bar { display: flex; align-items: center; gap: 0.45rem; margin-bottom: 1.2rem; }
.console__bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.console__bar i:nth-child(2) { background: #febc2e; }
.console__bar i:nth-child(3) { background: #28c840; }
.console__title { margin-left: 0.6rem; font-size: 0.85rem; color: #c9d3f5; font-family: var(--font-title); }
.lvl { display: grid; grid-template-columns: 46px 1fr; gap: 0.9rem; align-items: center; padding: 0.75rem 0; }
.lvl + .lvl { border-top: 1px solid rgba(255, 255, 255, 0.1); }
.lvl__badge {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  font-family: var(--font-title); font-weight: 700; font-size: 0.95rem; color: #fff;
}
.lvl--1 .lvl__badge { background: linear-gradient(135deg, #19c8e6, #2f6bff); }
.lvl--2 .lvl__badge { background: linear-gradient(135deg, #2f6bff, #7b4dff); }
.lvl--3 .lvl__badge { background: linear-gradient(135deg, #7b4dff, #ff4d8d); }
.lvl__name { font-weight: 600; font-size: 0.97rem; margin-bottom: 0.4rem; color: #fff; }
.lvl__track { height: 7px; border-radius: 7px; background: rgba(255, 255, 255, 0.12); overflow: hidden; }
.lvl__fill { display: block; height: 100%; width: 0; border-radius: 7px; background: var(--grad); }
.lvl--1 .lvl__fill { animation: fill1 9s ease-in-out infinite; }
.lvl--2 .lvl__fill { animation: fill2 9s ease-in-out infinite; }
.lvl--3 .lvl__fill { animation: fill3 9s ease-in-out infinite; }
@keyframes fill1 { 0% { width: 0; } 25%, 92% { width: 100%; } 100% { width: 0; } }
@keyframes fill2 { 0%, 25% { width: 0; } 55%, 92% { width: 100%; } 100% { width: 0; } }
@keyframes fill3 { 0%, 55% { width: 0; } 80%, 92% { width: 100%; } 100% { width: 0; } }
.console__done {
  display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1rem; padding: 0.45rem 0.9rem; border-radius: 999px;
  background: rgba(52, 227, 154, 0.16); color: #7ff3c1; font-weight: 600; font-size: 0.9rem;
  box-shadow: inset 0 0 0 1px rgba(52, 227, 154, 0.4); animation: done 9s ease-in-out infinite;
}
.console__done svg { width: 16px; height: 16px; }
@keyframes done { 0%, 78% { opacity: 0; transform: translateY(6px); } 84%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }

.chip {
  position: absolute; width: 68px; height: 68px; border-radius: 18px; background: #fff; display: grid; place-items: center;
  box-shadow: 0 18px 40px -14px rgba(0, 0, 0, 0.55); animation: bob 6s ease-in-out infinite alternate; z-index: 2;
}
.chip img { width: 40px; height: 40px; object-fit: contain; }
.chip--1 { top: 0; left: 0; }
.chip--2 { top: 6px; right: 0; animation-delay: -1.5s; }
.chip--3 { bottom: 34px; left: -6px; animation-delay: -3s; }
.chip--4 { bottom: -14px; right: 22%; animation-delay: -4.2s; }
.chip--5 { bottom: 70px; right: -8px; animation-delay: -2.4s; }
.chip--wide img { width: 54px; }
@keyframes bob { from { transform: translateY(-8px) rotate(-2deg); } to { transform: translateY(10px) rotate(2deg); } }

/* --------------------------------------------------------------------------
   Bandeau logos
   -------------------------------------------------------------------------- */
.marquee { background: #fff; border-bottom: 1px solid var(--line); padding: 1.5rem 0; overflow: hidden; position: relative; }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 2; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, #fff, transparent); }
.marquee::after { right: 0; background: linear-gradient(270deg, #fff, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: 3.2rem; padding-right: 3.2rem; }
.marquee__item { display: inline-flex; align-items: center; gap: 0.7rem; font-family: var(--font-title); font-weight: 600; color: #2a3157; font-size: 1rem; white-space: nowrap; }
.marquee__item img { height: 30px; width: auto; max-width: 84px; object-fit: contain; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------
   Sections génériques
   -------------------------------------------------------------------------- */
.section { padding: clamp(4.2rem, 8vw, 6.8rem) 0; position: relative; }
.section--white { background: #fff; }
.section--dark { background: radial-gradient(110% 100% at 10% 0%, #18225e 0%, var(--navy) 50%, var(--ink) 100%); color: #fff; overflow: hidden; }
.section__head { max-width: 46rem; margin: 0 auto 3.2rem; text-align: center; }
.kicker {
  display: inline-block; font-family: var(--font-title); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--violet); margin-bottom: 0.9rem;
}
.section--dark .kicker { color: #8fd8ff; }
.section h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 800; }
.section__sub { color: var(--muted); font-size: 1.1rem; margin: 0; }
.section--dark .section__sub { color: #c1cbef; }

/* Cartes */
.card {
  position: relative; background: var(--card); border-radius: var(--radius); padding: 1.9rem; border: 1px solid var(--line);
  box-shadow: var(--shadow-s); transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.3s;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(109, 59, 245, 0.13), transparent 60%);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #cfd8f8; }
.card:hover::before { opacity: 1; }
.card h3 { font-size: 1.25rem; font-weight: 700; }
.card p { color: var(--muted); }
.card > * { position: relative; }

.icon {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; color: #fff; margin-bottom: 1.2rem;
  background: var(--grad-cool); box-shadow: 0 12px 24px -12px rgba(47, 107, 255, 0.8);
}
.icon svg { width: 26px; height: 26px; }
.icon--violet { background: linear-gradient(135deg, #7b4dff, #ff4d8d); box-shadow: 0 12px 24px -12px rgba(123, 77, 255, 0.8); }
.icon--orange { background: linear-gradient(135deg, #ff4d8d, #ff9f1c); box-shadow: 0 12px 24px -12px rgba(255, 77, 141, 0.8); }
.icon--green { background: linear-gradient(135deg, #17b26a, #19c8e6); box-shadow: 0 12px 24px -12px rgba(23, 178, 106, 0.8); }

.ticks li { position: relative; padding-left: 1.75rem; margin-bottom: 0.5rem; color: var(--text); font-size: 0.99rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 0.42em; width: 16px; height: 16px; border-radius: 50%;
  background: var(--grad-cool);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0zm3.7 6.2-4.2 4.6a.8.8 0 0 1-1.2 0L4.3 8.7a.8.8 0 1 1 1.2-1.1l1.4 1.5 3.6-4a.8.8 0 1 1 1.2 1.1z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0zm3.7 6.2-4.2 4.6a.8.8 0 0 1-1.2 0L4.3 8.7a.8.8 0 1 1 1.2-1.1l1.4 1.5 3.6-4a.8.8 0 1 1 1.2 1.1z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.section--dark .ticks li { color: #e3e9ff; }

/* --------------------------------------------------------------------------
   Helpdesk : 3 niveaux
   -------------------------------------------------------------------------- */
.rail { position: relative; height: 6px; border-radius: 6px; margin: 0 8% 2.4rem; background: linear-gradient(90deg, #19c8e6, #2f6bff, #7b4dff, #ff4d8d); opacity: 0.9; }
.rail::after {
  content: ""; position: absolute; top: 50%; left: 0; width: 18px; height: 18px; border-radius: 50%; margin: -9px 0 0 -9px;
  background: #fff; box-shadow: 0 0 0 5px rgba(47, 107, 255, 0.35), 0 0 22px 6px rgba(123, 77, 255, 0.55);
  animation: travel 5.5s cubic-bezier(0.6, 0, 0.4, 1) infinite;
}
@keyframes travel { 0% { left: 0; opacity: 1; } 28%, 36% { left: 50%; } 64%, 84% { left: 100%; opacity: 1; } 94%, 100% { left: 100%; opacity: 0; } }
.rail__stop { position: absolute; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); }
.rail__stop:nth-child(1) { left: 0; border-color: #19c8e6; }
.rail__stop:nth-child(2) { left: 50%; border-color: #5b5cff; }
.rail__stop:nth-child(3) { left: 100%; border-color: #ff4d8d; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }

.level__tag {
  display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-title); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 0.35rem 0.8rem; border-radius: 999px; color: #fff; margin-bottom: 1rem;
}
.level--1 .level__tag { background: linear-gradient(100deg, #0d9fc0, #2457f5); }
.level--2 .level__tag { background: linear-gradient(100deg, #2457f5, #6d3bf5); }
.level--3 .level__tag { background: linear-gradient(100deg, #6d3bf5, #d02a78); }
.level__num { position: absolute; right: 1.1rem; top: 0.4rem; font-family: var(--font-title); font-weight: 800; font-size: 5.2rem; line-height: 1; color: #eef1fd; z-index: 0; user-select: none; }
.card.level > :not(.level__num) { z-index: 1; }

/* --------------------------------------------------------------------------
   Expertises (M365 / Server)
   -------------------------------------------------------------------------- */
.xp { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
.xp__card { padding: 2.2rem; }
.xp__head { display: flex; align-items: center; gap: 1.1rem; margin-bottom: 1.3rem; }
.xp__logo { width: 68px; height: 68px; border-radius: 18px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; flex: none; box-shadow: var(--shadow-s); }
.xp__logo img { width: 42px; height: 42px; object-fit: contain; }
.xp__head h3 { margin: 0 0 0.3rem; font-size: 1.4rem; }
.badge { display: inline-block; padding: 0.22rem 0.7rem; border-radius: 999px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; font-family: var(--font-title); }
.badge--expert { color: #fff; background: linear-gradient(100deg, #2457f5, #6d3bf5 60%, #c02e86); }
.badge--skill { color: #1d4ed8; background: #e6eeff; }
.eco { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.4rem; padding-top: 1.3rem; border-top: 1px solid var(--line); }
.eco__item { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.4rem 0.75rem; border-radius: 12px; background: var(--bg); font-size: 0.88rem; font-weight: 600; color: #2a3157; }
.eco__item img { width: 22px; height: 22px; object-fit: contain; }

.skills { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; margin-top: 1.6rem; }
.skill__logo { height: 54px; display: flex; align-items: center; margin-bottom: 1.1rem; }
.skill__logo img { height: 46px; width: auto; max-width: 130px; object-fit: contain; }
.skill__logo--wide img { height: 54px; max-width: 150px; }
.skill h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; }

.term {
  margin-top: 1.1rem; border-radius: 14px; background: #0c1235; color: #d8e1ff; padding: 0.9rem 1rem; min-height: 6.6em;
  font-family: "Cascadia Code", Consolas, "SFMono-Regular", Menlo, monospace; font-size: 0.8rem; line-height: 1.55; overflow-wrap: anywhere;
}
.term__ps { color: #7cc4ff; }
.term__caret { display: inline-block; width: 8px; height: 1.05em; background: #7cc4ff; vertical-align: text-bottom; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* --------------------------------------------------------------------------
   Méthode
   -------------------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; left: 6%; right: 6%; top: 29px; height: 3px; background: var(--grad); opacity: 0.35; border-radius: 3px; }
.step { position: relative; text-align: center; padding: 0 0.6rem; }
.step__num {
  counter-increment: step; width: 60px; height: 60px; margin: 0 auto 1.2rem; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-title); font-weight: 800; font-size: 1.25rem; color: #fff; background: var(--grad); background-size: 300% 100%;
  box-shadow: 0 0 0 7px #fff, 0 14px 28px -10px rgba(109, 59, 245, 0.7); position: relative;
}
.step:nth-child(1) .step__num { background-position: 0 0; }
.step:nth-child(2) .step__num { background-position: 33% 0; }
.step:nth-child(3) .step__num { background-position: 66% 0; }
.step:nth-child(4) .step__num { background-position: 100% 0; }
.step__num::before { content: counter(step); }
.step h3 { font-size: 1.12rem; }
.step p { color: var(--muted); font-size: 0.98rem; margin: 0; }

/* --------------------------------------------------------------------------
   Tarifs
   -------------------------------------------------------------------------- */
.section--dark .blob { opacity: 0.3; z-index: 0; }
.section--dark .container { position: relative; z-index: 1; }
.pricing { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 1.5rem; align-items: stretch; }
.price {
  position: relative; border-radius: 24px; padding: 2.1rem 1.9rem; display: flex; flex-direction: column;
  background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  transition: transform 0.3s, box-shadow 0.3s;
}
.price:hover { transform: translateY(-6px); }
.price--main { background: linear-gradient(160deg, rgba(47, 107, 255, 0.35), rgba(123, 77, 255, 0.28) 55%, rgba(255, 77, 141, 0.22)); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.35), 0 40px 70px -40px rgba(47, 107, 255, 0.9); }
.price__label { font-family: var(--font-title); font-weight: 700; font-size: 1.15rem; margin-bottom: 0.3rem; }
.price__desc { color: #c1cbef; font-size: 0.95rem; min-height: 3.1em; }
.price__amount { font-family: var(--font-title); font-weight: 800; font-size: clamp(2.8rem, 5vw, 3.7rem); line-height: 1; margin: 0.7rem 0 0.4rem; letter-spacing: -0.03em; white-space: nowrap; }
.price__from { display: block; font-size: 1rem; font-weight: 600; color: #c9d3f5; letter-spacing: 0; margin-bottom: 0.35rem; }
.price__unit { font-size: 1.05rem; font-weight: 600; color: #c9d3f5; letter-spacing: 0; }
.price__note { display: inline-block; align-self: flex-start; padding: 0.25rem 0.7rem; border-radius: 999px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; background: rgba(255, 159, 28, 0.18); color: #ffc670; box-shadow: inset 0 0 0 1px rgba(255, 159, 28, 0.45); margin-bottom: 1.3rem; }
.price__note--blue { background: rgba(25, 200, 230, 0.16); color: #8be9fb; box-shadow: inset 0 0 0 1px rgba(25, 200, 230, 0.45); }
.price .ticks { margin-bottom: 1.6rem; flex: 1; }
.price .ticks li { font-size: 0.96rem; }
.price .ticks li::before { background: linear-gradient(135deg, #19c8e6, #8fa8ff); }

.estimator {
  margin-top: 2rem; border-radius: 24px; padding: 2rem; display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center;
  background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}
.estimator h3 { font-size: 1.3rem; margin-bottom: 0.3rem; }
.estimator__hint { color: #c1cbef; font-size: 0.95rem; margin-bottom: 1.4rem; }
.range { margin-bottom: 1.2rem; }
.range__top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 0.45rem; font-weight: 600; font-size: 0.98rem; }
.range__val { font-family: var(--font-title); color: #8be9fb; white-space: nowrap; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 8px; background: rgba(255, 255, 255, 0.18); outline-offset: 6px; cursor: pointer; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 5px solid #5b5cff; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4); }
input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 5px solid #5b5cff; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4); }
.check { display: flex; align-items: center; gap: 0.7rem; font-weight: 600; font-size: 0.98rem; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: #6d3bf5; flex: none; }
.estimator__total { text-align: center; padding: 1.6rem 1rem; border-radius: 20px; background: rgba(8, 12, 34, 0.55); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
.estimator__total small { display: block; color: #c1cbef; font-size: 0.86rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; }
.estimator__sum { font-family: var(--font-title); font-weight: 800; font-size: clamp(2.4rem, 4.5vw, 3.2rem); line-height: 1.2; margin: 0.3rem 0 0.2rem; white-space: nowrap; }
.estimator__plus { font-family: var(--font-title); font-weight: 600; color: #8be9fb; margin-bottom: 0.4rem; }
.estimator .check + .check { margin-top: 0.8rem; }
.estimator__total p { color: #aab5df; font-size: 0.84rem; margin: 0 0 1.1rem; }

/* --------------------------------------------------------------------------
   Prestations annexes
   -------------------------------------------------------------------------- */
.extra { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
.extra__card { padding: 0; display: flex; flex-direction: column; }
.extra__art { position: relative; height: 210px; overflow: hidden; display: grid; place-items: center; }
.extra__art--web { background: linear-gradient(135deg, #19c8e6, #2f6bff 55%, #7b4dff); }
.extra__art--video { background: linear-gradient(135deg, #7b4dff, #ff4d8d 60%, #ff9f1c); }
.extra__body { padding: 1.9rem; flex: 1; display: flex; flex-direction: column; }
.extra__body .ticks { margin-bottom: 1.5rem; flex: 1; }
.extra__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem 0.8rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.extra__price strong { font-family: var(--font-title); font-size: 1.9rem; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; white-space: nowrap; }
.extra__price span { color: var(--muted); font-size: 0.95rem; }
.extra__price .btn { margin-left: auto; }

/* Maquette navigateur animée */
.browser { width: 250px; border-radius: 12px; background: #fff; box-shadow: 0 24px 50px -18px rgba(5, 10, 40, 0.6); overflow: hidden; animation: bob 7s ease-in-out infinite alternate; }
.browser__bar { height: 22px; background: #eef1fb; display: flex; align-items: center; gap: 5px; padding: 0 9px; }
.browser__bar i { width: 7px; height: 7px; border-radius: 50%; background: #c5cde8; }
.browser__body { padding: 12px; display: grid; gap: 8px; }
.sk { height: 9px; border-radius: 5px; background: #e4e9f9; transform-origin: 0 50%; animation: sk 4.5s ease-in-out infinite; }
.sk--hero { height: 46px; border-radius: 8px; background: linear-gradient(100deg, #2f6bff, #7b4dff, #ff4d8d); background-size: 200% 100%; animation: gradShift 4s ease-in-out infinite alternate; }
.sk--w70 { width: 70%; animation-delay: 0.2s; }
.sk--w45 { width: 45%; animation-delay: 0.4s; }
.sk-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.sk-row .sk { height: 30px; border-radius: 7px; }
.sk-row .sk:nth-child(2) { animation-delay: 0.3s; }
.sk-row .sk:nth-child(3) { animation-delay: 0.6s; }
@keyframes sk { 0%, 100% { transform: scaleX(1); opacity: 1; } 50% { transform: scaleX(0.82); opacity: 0.65; } }

/* Maquette table de montage animée */
.editor { width: 270px; border-radius: 12px; background: #141a3f; box-shadow: 0 24px 50px -18px rgba(5, 10, 40, 0.6); padding: 12px; animation: bob 7s ease-in-out infinite alternate; animation-delay: -2s; }
.editor__screen { height: 74px; border-radius: 8px; background: linear-gradient(120deg, #19c8e6, #2f6bff, #ff4d8d); background-size: 220% 100%; animation: gradShift 3.5s ease-in-out infinite alternate; display: grid; place-items: center; margin-bottom: 10px; }
.editor__play { width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, 0.92); display: grid; place-items: center; }
.editor__play::before { content: ""; border-left: 10px solid #2f3a8a; border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-left: 3px; }
.editor__tl { position: relative; display: grid; gap: 5px; }
.clip { height: 11px; border-radius: 4px; }
.clip--a { width: 62%; background: #4f8bff; }
.clip--b { width: 40%; margin-left: 30%; background: #ff9f1c; }
.clip--c { width: 86%; background: #34e39a; }
.editor__head { position: absolute; top: -4px; bottom: -4px; left: 0; width: 2px; background: #fff; box-shadow: 0 0 8px #fff; animation: playhead 5s linear infinite; }
@keyframes playhead { from { left: 0; } to { left: 100%; } }

/* --------------------------------------------------------------------------
   Engagements
   -------------------------------------------------------------------------- */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.why .card { padding: 1.6rem; }
.why h3 { font-size: 1.08rem; }
.why p { font-size: 0.96rem; margin: 0; }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 0.9rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-s); overflow: hidden; transition: border-color 0.25s; }
.faq details[open] { border-color: #b9c6f7; }
.faq summary { cursor: pointer; list-style: none; padding: 1.15rem 3.4rem 1.15rem 1.4rem; font-family: var(--font-title); font-weight: 600; font-size: 1.04rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 1.3rem; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%;
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232457f5' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform 0.3s;
}
.faq details[open] summary::after { transform: rotate(135deg); }
.faq__body { padding: 0 1.4rem 1.3rem; color: var(--muted); }
.faq__body p:last-child { margin: 0; }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 3rem; align-items: start; }
.contact__info h2 { margin-bottom: 1rem; }
.contact__info > p { color: #c1cbef; }
.contact__list { margin-top: 1.8rem; display: grid; gap: 1rem; }
.contact__item { display: flex; gap: 1rem; align-items: center; }
.contact__item .icon { margin: 0; width: 48px; height: 48px; flex: none; }
.contact__item small { display: block; color: #aab5df; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
.contact__item a, .contact__item span { color: #fff; font-weight: 600; font-size: 1.05rem; }

.form { background: #fff; color: var(--text); border-radius: 24px; padding: 2.1rem; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.7); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 0.35rem; }
.field label em { color: #d02a78; font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.8rem 0.95rem; border-radius: 12px; border: 1.5px solid #d5dcf3; background: #fafbff;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(36, 87, 245, 0.16); }
.field--hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .check { font-weight: 400; font-size: 0.9rem; color: var(--muted); align-items: flex-start; margin-bottom: 1.3rem; }
.form .check input { margin-top: 0.2rem; }
.form__status { margin: 1rem 0 0; padding: 0.85rem 1rem; border-radius: 12px; font-weight: 600; font-size: 0.95rem; display: none; }
.form__status.is-ok { display: block; background: #e7f8ef; color: #0b6b3d; }
.form__status.is-err { display: block; background: #fdecef; color: #a3173f; }
.form__legal { font-size: 0.8rem; color: var(--muted); margin: 1rem 0 0; }

/* --------------------------------------------------------------------------
   Pied de page
   -------------------------------------------------------------------------- */
.footer { background: var(--ink); color: #aab5df; padding: 3.4rem 0 1.6rem; font-size: 0.95rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.4rem; margin-bottom: 2.4rem; }
.footer h4 { color: #fff; font-size: 0.95rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1rem; }
.footer li { margin-bottom: 0.5rem; }
.footer a { color: #c9d3f5; }
.footer a:hover { color: #fff; }
.footer__about { max-width: 22rem; margin-top: 1rem; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 1.4rem; display: grid; gap: 0.6rem; font-size: 0.82rem; color: #8590bd; }

/* --------------------------------------------------------------------------
   Pages secondaires (mentions légales, 404)
   -------------------------------------------------------------------------- */
.page-hero { background: radial-gradient(120% 120% at 80% 0%, #1a2569 0%, var(--navy) 50%, var(--ink) 100%); color: #fff; padding: 150px 0 70px; }
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 800; margin: 0; }
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { font-size: 1.45rem; margin-top: 2.4rem; }
.prose ul { list-style: disc; padding-left: 1.3rem; margin-bottom: 1em; }
.prose li { margin-bottom: 0.35rem; }
.todo { background: #fff4d6; color: #7a4b00; padding: 0.05em 0.4em; border-radius: 6px; font-weight: 600; }
.notfound { min-height: 100vh; display: grid; place-items: center; text-align: center; color: #fff; padding: 2rem; background: radial-gradient(120% 120% at 80% 0%, #1a2569 0%, var(--navy) 50%, var(--ink) 100%); }
.notfound__code { font-family: var(--font-title); font-weight: 800; font-size: clamp(6rem, 22vw, 12rem); line-height: 1; }
.notfound p { color: #c9d3f5; font-size: 1.15rem; margin: 1rem 0 2rem; }

/* --------------------------------------------------------------------------
   Apparition au défilement (uniquement si JS actif)
   -------------------------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Bouton retour en haut */
.totop {
  position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 90; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer; color: #fff;
  background: linear-gradient(135deg, #2457f5, #6d3bf5); box-shadow: 0 14px 30px -10px rgba(77, 76, 245, 0.8);
  display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
}
.totop.is-on { opacity: 1; visibility: visible; transform: none; }
.totop svg { width: 20px; height: 20px; }

/* --------------------------------------------------------------------------
   Adaptatif
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .nav__list { gap: 1.1rem; }
  .nav__link { font-size: 0.9rem; }
  .pricing { grid-template-columns: 1fr 1fr; }
  .price--main { grid-column: 1 / -1; }
  .why { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 1rem; padding: 1.2rem 1.25rem 1.6rem;
    background: #080c22; box-shadow: 0 30px 40px -20px rgba(0, 0, 0, 0.6);
    max-height: calc(100vh - 72px); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
  }
  .header.is-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__link { display: block; padding: 0.85rem 0.2rem; font-size: 1.05rem; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .nav__link::after { display: none; }
  .hero { padding: 120px 0 80px; }
  .hero__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__visual { max-width: 520px; margin: 0 auto; width: 100%; }
  .grid-3, .skills { grid-template-columns: 1fr; }
  .rail { display: none; }
  .xp, .extra, .contact { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 2.2rem; }
  .steps::before { display: none; }
  .estimator { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .pricing { grid-template-columns: 1fr; }
  .why, .steps { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .form, .xp__card, .estimator { padding: 1.4rem; }
  .footer__grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .console { margin: 40px 14px 0 14px; }
  .chip { width: 56px; height: 56px; border-radius: 15px; }
  .chip img { width: 32px; height: 32px; }
  .chip--wide img { width: 42px; }
  .hero__visual { min-height: 410px; }
  .extra__price .btn { margin-left: 0; width: 100%; }
  .price__desc { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .lvl__fill { width: 100% !important; }
  .console__done { opacity: 1 !important; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; }
  .marquee__group[aria-hidden="true"] { display: none; }
  .marquee__group { flex-wrap: wrap; justify-content: center; row-gap: 1rem; padding: 0 1rem; }
}

@media print {
  .header, .progress, .totop, .hero__canvas, .blob, .marquee { display: none !important; }
  .hero, .section--dark, .page-hero { background: #fff !important; color: #000 !important; }
}
