/* ==========================================================
   QSI Consulting — feuille de style
   Couleurs reprises du logo (dégradé cyan → violet → magenta)
   ========================================================== */
:root {
  --cyan: #33c4f9;
  --blue: #6590f6;
  --violet: #9261f3;
  --purple: #b63cf1;
  --magenta: #e50cef;
  --grad: linear-gradient(120deg, #33c4f9 0%, #6590f6 25%, #9261f3 55%, #b63cf1 80%, #d21ff0 100%);
  --grad-soft: linear-gradient(120deg, rgba(51,196,249,.12), rgba(146,97,243,.12) 55%, rgba(229,12,239,.10));
  --ink: #080415;
  --ink-2: #14102e;
  --ink-3: #221c4a;
  --text: #1b1830;
  --muted: #5f5b7a;
  --line: #e7e4f2;
  --bg: #ffffff;
  --bg-alt: #f6f5fc;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 50px -18px rgba(40, 20, 110, .25);
  --shadow-sm: 0 6px 20px -8px rgba(40, 20, 110, .18);
  --header-h: 78px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text); background: var(--bg); line-height: 1.7; font-size: 16.5px;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--violet); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .55em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em; text-transform: uppercase; letter-spacing: .14em;
  font-size: .78rem; font-weight: 700; color: var(--violet); margin-bottom: 1em;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--grad); border-radius: 2px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 40em; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  background: var(--grad); background-size: 160% 100%; background-position: 0 0;
  color: #fff; text-decoration: none; font: inherit; font-weight: 700; font-size: .98rem;
  padding: .95em 1.7em; border-radius: 999px; border: 0; cursor: pointer;
  box-shadow: 0 10px 26px -10px rgba(146, 97, 243, .75);
  transition: background-position .4s var(--ease), transform .25s var(--ease), box-shadow .25s;
}
.btn:hover { background-position: 100% 0; transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(146,97,243,.85); }
.btn svg { width: 18px; height: 18px; }
.btn-ghost { background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.55); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,.18); box-shadow: inset 0 0 0 1.5px #fff; }
.btn-outline { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-outline:hover { box-shadow: inset 0 0 0 1.5px var(--violet); color: var(--violet); background: #fff; }
.btn-small { padding: .7em 1.25em; font-size: .92rem; }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }
.link-arrow { font-weight: 700; text-decoration: none; display: inline-flex; gap: .4em; align-items: center; }
.link-arrow::after { content: "→"; transition: transform .25s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Barre supérieure + en-tête ---------- */
.topbar { background: var(--ink); color: rgba(255,255,255,.75); font-size: .84rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 38px; gap: 20px; }
.topbar a { color: rgba(255,255,255,.85); text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar .tb-items { display: flex; gap: 22px; }
.topbar .tb-items span, .topbar .tb-items a { display: inline-flex; align-items: center; gap: 6px; }
.topbar svg { width: 14px; height: 14px; color: var(--cyan); }

.site-header {
  position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.88);
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 8px 30px -20px rgba(20,10,60,.35); }
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand img { height: 46px; width: auto; }
.menu { display: flex; align-items: center; gap: 4px; }
.menu > a { white-space: nowrap; }
.menu > a:not(.btn) {
  position: relative; color: var(--text); text-decoration: none; font-weight: 600; font-size: .95rem;
  padding: .55em .9em; border-radius: 999px; transition: color .2s, background .2s;
}
.menu > a:not(.btn):hover { color: var(--violet); background: var(--bg-alt); }
.menu > a.active { color: var(--violet); }
.menu > a.active::after { content: ""; position: absolute; left: .9em; right: .9em; bottom: .2em; height: 2px; border-radius: 2px; background: var(--grad); }
.menu .btn { margin-left: 12px; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; border-radius: 10px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform .25s, opacity .25s; }

/* ---------- Carrousel d'accueil ---------- */
.hero-carousel { position: relative; height: clamp(560px, 86vh, 780px); background: var(--ink); overflow: hidden; color: #fff; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1s var(--ease), visibility 1s; }
.slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 7.5s linear; }
.slide.is-active img { transform: scale(1); }
.slide::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8,4,21,.92) 0%, rgba(8,4,21,.72) 42%, rgba(8,4,21,.15) 100%),
    linear-gradient(0deg, rgba(8,4,21,.6), transparent 40%);
}
.slide-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-bottom: 130px; }
.slide-content > * { max-width: 680px; opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.slide.is-active .slide-content > * { opacity: 1; transform: none; }
.slide.is-active .slide-content > :nth-child(2) { transition-delay: .15s; }
.slide.is-active .slide-content > :nth-child(3) { transition-delay: .3s; }
.slide.is-active .slide-content > :nth-child(4) { transition-delay: .45s; }
.slide h1, .slide h2 { color: #fff; font-size: clamp(2.1rem, 5vw, 3.8rem); font-weight: 800; }
.slide .tag {
  display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; padding: .45em 1em; border-radius: 999px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(6px);
  font-size: .82rem; font-weight: 600; letter-spacing: .04em; margin-bottom: 1.4em;
}
.slide .tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 12px var(--cyan); }
.slide p { font-size: 1.15rem; color: rgba(255,255,255,.85); }
.slide-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.2em; }

.carousel-ui { position: absolute; z-index: 5; left: 0; right: 0; bottom: 100px; }
.carousel-ui .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.dots { display: flex; gap: 10px; }
.dot {
  position: relative; width: 54px; height: 4px; padding: 0; border: 0; border-radius: 4px; cursor: pointer;
  background: rgba(255,255,255,.28); overflow: hidden;
}
.dot::after { content: ""; position: absolute; inset: 0; background: var(--grad); transform: scaleX(0); transform-origin: left; }
.dot.is-active::after { animation: fill var(--slide-ms, 6500ms) linear forwards; }
.hero-carousel.paused .dot.is-active::after { animation-play-state: paused; }
@keyframes fill { to { transform: scaleX(1); } }
.arrows { display: flex; gap: 10px; }
.arrow {
  width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.08);
  color: #fff; cursor: pointer; display: grid; place-items: center; backdrop-filter: blur(6px); transition: background .2s, border-color .2s;
}
.arrow:hover { background: rgba(255,255,255,.2); border-color: #fff; }
.arrow svg { width: 20px; height: 20px; }
.slide-count { font-variant-numeric: tabular-nums; font-weight: 700; color: rgba(255,255,255,.7); font-size: .9rem; margin-right: 8px; align-self: center; }
.slide-count b { color: #fff; }

/* ---------- Bandeau de chiffres ---------- */
.stats-wrap { position: relative; z-index: 6; margin-top: -64px; }
.stats {
  list-style: none; margin: 0; padding: 30px 20px; display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line);
}
.stats li { text-align: center; padding: 6px 10px; }
.stats li + li { border-left: 1px solid var(--line); }
.stats strong { display: block; font-size: clamp(2rem, 3.4vw, 2.7rem); font-weight: 800; line-height: 1.1; }
.stats span { color: var(--muted); font-size: .93rem; font-weight: 500; }

/* ---------- Sections ---------- */
.section { padding: 110px 0; position: relative; }
.section-sm { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--ink); color: rgba(255,255,255,.78); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head.center .eyebrow { justify-content: center; }
.section-head .lead { margin: 0 auto; }
.head-row { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 56px; flex-wrap: wrap; }
.head-row .section-head { margin-bottom: 0; }

/* Cartes services */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  position: relative; background: #fff; border-radius: var(--radius); padding: 34px 30px; border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; overflow: hidden; text-decoration: none; color: inherit;
  display: flex; flex-direction: column;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: var(--grad); opacity: 0;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  transition: opacity .35s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::before { opacity: 1; }
.card p { color: var(--muted); margin: 0 0 1.2em; flex: 1; }
.card .link-arrow { font-size: .93rem; }
.card ul { color: var(--muted); margin: 0 0 1.2em; padding-left: 1.1em; font-size: .95rem; }
.ico-chip {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 22px;
  background: var(--grad); color: #fff; box-shadow: 0 12px 24px -10px rgba(146,97,243,.7);
}
.ico-chip svg { width: 28px; height: 28px; }
.ico { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Bloc image + texte */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media img { width: 100%; aspect-ratio: 4/3.3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.split-media::before {
  content: ""; position: absolute; inset: 22px -22px -22px 22px; border-radius: var(--radius); background: var(--grad); opacity: .9; z-index: -1;
}
.split.reverse .split-media::before { inset: 22px 22px -22px -22px; }
.badge-float {
  position: absolute; left: -24px; bottom: 34px; background: #fff; border-radius: 16px; padding: 16px 20px; box-shadow: var(--shadow);
  display: flex; gap: 14px; align-items: center; max-width: 270px;
}
.badge-float strong { font-size: 1.9rem; line-height: 1; }
.badge-float span { font-size: .88rem; color: var(--muted); line-height: 1.35; }
.checks { list-style: none; padding: 0; margin: 1.6em 0 2em; display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; }
.checks li::before {
  content: ""; flex: none; width: 24px; height: 24px; margin-top: 2px; border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 12.5l3.2 3L17 9'/%3E%3C/svg%3E") center / 100% no-repeat, var(--grad);
}
.checks.two-col { grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.checks strong { color: var(--ink); }

/* Étapes / approche */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; position: relative; }
.steps::before { content: ""; position: absolute; top: 31px; left: 10%; right: 10%; height: 2px; background: linear-gradient(90deg, rgba(51,196,249,.5), rgba(229,12,239,.5)); }
.steps li { position: relative; text-align: center; }
.steps .num {
  width: 62px; height: 62px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 1.15rem;
  background: var(--ink-2); color: #fff; border: 2px solid transparent;
  background-image: linear-gradient(var(--ink-2), var(--ink-2)), var(--grad); background-origin: border-box; background-clip: padding-box, border-box;
  position: relative; z-index: 1;
}
.steps h3 { font-size: 1.08rem; }
.steps p { font-size: .93rem; margin: 0; }
.section-dark .steps p { color: rgba(255,255,255,.66); }

/* Références (défilement continu) */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 18px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee + .marquee { margin-top: 18px; }
.marquee.reverse .marquee-track { animation-direction: reverse; }
@keyframes marquee { to { transform: translateX(-50%); } }
.logo-pill {
  flex: none; display: flex; align-items: center; gap: 14px; padding: 18px 28px; border-radius: 16px; background: #fff;
  border: 1px solid var(--line); font-weight: 700; color: var(--ink); white-space: nowrap;
}
.logo-pill small { display: block; font-weight: 500; color: var(--muted); font-size: .82rem; }
.logo-pill .mono {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; color: #fff; background: var(--grad); font-size: .95rem;
}
.logo-pill.partner .mono { background: var(--ink-2); }

/* Bandeau CTA */
.cta-band { padding: 0 0 110px; }
.section-alt + .cta-band, .section-dark + .cta-band, .service-block:last-child + .cta-band { padding-top: 110px; }
.cta-box {
  position: relative; overflow: hidden; border-radius: 28px; padding: 64px; color: #fff;
  background: radial-gradient(circle at 90% 10%, rgba(229,12,239,.55), transparent 45%), radial-gradient(circle at 0% 100%, rgba(51,196,249,.55), transparent 50%), var(--ink-2);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center;
}
.cta-box h2 { color: #fff; margin-bottom: .35em; }
.cta-box p { color: rgba(255,255,255,.8); margin: 0; }
.cta-box .cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-end; }
.cta-box::after {
  content: ""; position: absolute; right: -60px; bottom: -110px; width: 320px; height: 420px; opacity: .1;
  background: url("/img/logo-symbole.svg") no-repeat center / contain;
}

/* ---------- En-tête des pages intérieures ---------- */
.page-hero { position: relative; color: #fff; padding: 110px 0 100px; overflow: hidden; background: var(--ink); }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(8,4,21,.95) 15%, rgba(34,28,74,.55)), radial-gradient(circle at 85% 20%, rgba(229,12,239,.35), transparent 50%); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; max-width: 820px; }
.page-hero p { color: rgba(255,255,255,.82); font-size: 1.15rem; max-width: 680px; margin: 0; }
.crumbs { display: flex; gap: 8px; font-size: .88rem; margin-bottom: 1.4em; color: rgba(255,255,255,.65); }
.crumbs a { color: #fff; text-decoration: none; }
.crumbs a:hover { color: var(--cyan); }

/* Sous-navigation (ancres) */
.subnav { position: sticky; top: var(--header-h); z-index: 40; background: #fff; border-bottom: 1px solid var(--line); }
.subnav .container { display: flex; gap: 8px; overflow-x: auto; padding-top: 12px; padding-bottom: 12px; scrollbar-width: none; }
.subnav a { white-space: nowrap; text-decoration: none; color: var(--text); font-weight: 600; font-size: .9rem; padding: .5em 1em; border-radius: 999px; background: var(--bg-alt); }
.subnav a:hover { background: var(--grad-soft); color: var(--violet); }

/* Blocs services détaillés */
.service-block { padding: 90px 0; border-bottom: 1px solid var(--line); }
.service-block:nth-child(even) { background: var(--bg-alt); }
.service-block .ico-chip { margin-bottom: 18px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 1.2em; padding: 0; list-style: none; }
.tags li { font-size: .82rem; font-weight: 600; padding: .35em .85em; border-radius: 999px; background: var(--grad-soft); color: var(--ink-3); }

/* ---------- Formations ---------- */
.f-toolbar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 34px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font: inherit; font-weight: 600; font-size: .9rem; cursor: pointer; padding: .55em 1.1em; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--text); transition: all .2s;
}
.chip:hover { border-color: var(--violet); color: var(--violet); }
.chip.is-active { background: var(--grad); color: #fff; border-color: transparent; }
.search { position: relative; min-width: 260px; }
.search input { width: 100%; font: inherit; padding: .7em 1em .7em 2.7em; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.search input:focus { outline: 2px solid var(--violet); outline-offset: 1px; border-color: transparent; }
.search svg { position: absolute; left: 1em; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); }
.f-domain { margin-bottom: 40px; }
.f-domain-head { display: flex; gap: 16px; align-items: center; margin-bottom: 18px; }
.f-domain-head .ico-chip { width: 48px; height: 48px; margin: 0; border-radius: 14px; }
.f-domain-head .ico-chip svg { width: 24px; height: 24px; }
.f-domain-head h3 { margin: 0; }
.f-domain-head p { margin: 0; color: var(--muted); font-size: .93rem; }
.f-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
.f-item {
  display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 18px;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.f-item:hover { border-color: var(--violet); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.f-code { flex: none; font-size: .74rem; font-weight: 800; letter-spacing: .03em; color: var(--violet); background: var(--grad-soft); padding: .35em .6em; border-radius: 8px; min-width: 70px; text-align: center; }
.f-title { flex: 1; font-weight: 600; font-size: .95rem; line-height: 1.4; color: var(--ink); }
.f-days { flex: none; font-size: .82rem; color: var(--muted); font-weight: 600; }
.f-empty { text-align: center; color: var(--muted); padding: 40px 0; display: none; }
.info-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.info-card .ico-chip { width: 46px; height: 46px; border-radius: 13px; margin-bottom: 14px; }
.info-card .ico-chip svg { width: 22px; height: 22px; }
.info-card h3 { font-size: 1.05rem; margin-bottom: .3em; }
.info-card p { color: var(--muted); font-size: .93rem; margin: 0; }

/* ---------- Logiciels ---------- */
.soft-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.soft {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: grid; grid-template-columns: auto 1fr; gap: 22px;
  transition: box-shadow .3s, transform .3s;
}
.soft:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.soft .mono { width: 62px; height: 62px; border-radius: 16px; display: grid; place-items: center; color: #fff; font-weight: 800; background: var(--grad); font-size: 1.05rem; }
.soft.tech .mono { background: var(--ink-2); }
.soft h3 { margin-bottom: .2em; }
.soft .sub { color: var(--violet); font-weight: 600; font-size: .9rem; margin-bottom: .8em; }
.soft p { color: var(--muted); margin-bottom: .8em; }
.soft ul { margin: 0; color: var(--muted); font-size: .94rem; padding-left: 1.1em; }
.soft-feature { grid-column: 1 / -1; display: grid; grid-template-columns: 1.1fr 1fr; padding: 0; overflow: hidden; }
.soft-feature .soft-body { padding: 40px; }
.soft-feature img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.module-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 26px; margin: 1em 0 0; padding: 0; list-style: none; }
.module-grid li { display: flex; gap: 10px; color: var(--muted); font-size: .95rem; }
.module-grid li::before { content: ""; width: 8px; height: 8px; margin-top: .6em; border-radius: 50%; background: var(--grad); flex: none; }

/* ---------- À propos ---------- */
.founder { display: grid; grid-template-columns: 340px 1fr; gap: 50px; align-items: center; background: #fff; border-radius: 26px; padding: 44px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.founder-card { background: var(--ink-2); border-radius: 20px; padding: 34px; color: #fff; text-align: center; position: relative; overflow: hidden; }
.founder-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 0%, rgba(229,12,239,.45), transparent 55%), radial-gradient(circle at 0% 100%, rgba(51,196,249,.45), transparent 55%); }
.founder-card > * { position: relative; }
.avatar { width: 110px; height: 110px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center; font-size: 2.2rem; font-weight: 800; background: var(--grad); box-shadow: 0 0 0 6px rgba(255,255,255,.12); }
.founder-card h3 { color: #fff; margin-bottom: .2em; }
.founder-card p { color: rgba(255,255,255,.75); margin: 0; font-size: .93rem; }
.cert-list { list-style: none; padding: 0; margin: 1.2em 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cert-list li { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 14px; background: var(--bg-alt); font-weight: 600; font-size: .93rem; color: var(--ink); }
.cert-list svg { color: var(--violet); flex: none; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.value { padding: 30px 26px; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); }
.value .ico-chip { width: 48px; height: 48px; border-radius: 14px; }
.value .ico-chip svg { width: 24px; height: 24px; }
.value p { margin: 0; font-size: .95rem; }
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.timeline div { padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.timeline strong { display: block; font-size: 2rem; font-weight: 800; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 50px; align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.c-card { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; border-radius: 16px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: inherit; transition: border-color .2s, box-shadow .2s; }
a.c-card:hover { border-color: var(--violet); box-shadow: var(--shadow-sm); }
.c-card .ico-chip { width: 46px; height: 46px; border-radius: 13px; margin: 0; flex: none; }
.c-card .ico-chip svg { width: 22px; height: 22px; }
.c-card small { display: block; text-transform: uppercase; letter-spacing: .08em; font-size: .74rem; font-weight: 700; color: var(--muted); }
.c-card span { font-weight: 700; color: var(--ink); word-break: break-word; }
.promises { list-style: none; padding: 24px; margin: 24px 0 0; border-radius: 16px; background: var(--grad-soft); display: grid; gap: 10px; font-size: .94rem; }
.promises li { display: flex; gap: 10px; }
.promises li::before { content: "✓"; font-weight: 800; color: var(--violet); }
.form { background: #fff; border-radius: 24px; padding: 40px; display: grid; gap: 18px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.form h2 { font-size: 1.6rem; margin: 0; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 7px; font-weight: 600; font-size: .9rem; color: var(--ink); }
.form input, .form select, .form textarea {
  font: inherit; font-weight: 400; color: var(--text); background: var(--bg-alt); border: 1px solid transparent;
  border-radius: 12px; padding: .85em 1em; width: 100%; transition: border-color .2s, background .2s;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--violet); background: #fff; box-shadow: 0 0 0 4px rgba(146,97,243,.15); }
.form textarea { resize: vertical; min-height: 140px; }
.form .btn { justify-self: start; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .82rem; color: var(--muted); margin: 0; }
.form-status { margin: 0; font-weight: 600; min-height: 1.5em; }
.form-status.ok { color: #138a4a; }
.form-status.err { color: #c0262d; }
.map { margin-top: 70px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); height: 380px; }
.map iframe { width: 100%; height: 100%; border: 0; filter: saturate(.85); }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.68); padding: 80px 0 28px; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-logo { display: inline-flex; padding: 12px 16px; background: #fff; border-radius: 14px; margin-bottom: 20px; }
.footer-logo img { height: 40px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1.1em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: rgba(255,255,255,.75); text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--cyan); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; color: var(--cyan); margin-top: 4px; flex: none; }
.certs-mini { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.certs-mini span { font-size: .76rem; font-weight: 700; padding: .35em .75em; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.85); }
.copyright { border-top: 1px solid rgba(255,255,255,.1); margin-top: 56px; padding-top: 24px; font-size: .86rem; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 70; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--grad); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-sm);
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .3s var(--ease);
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 20px; height: 20px; }

/* Pages simples */
.prose { max-width: 820px; }
.prose h2 { font-size: 1.35rem; margin-top: 1.8em; }
.prose p, .prose li { color: var(--muted); }
.notfound { text-align: center; padding: 140px 0; }
.notfound .big { font-size: clamp(5rem, 14vw, 9rem); font-weight: 800; line-height: 1; }

/* Apparition au défilement */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; } .reveal-d2 { transition-delay: .2s; } .reveal-d3 { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .menu > a:not(.btn) { padding: .5em .55em; font-size: .9rem; }
  .menu .btn { margin-left: 6px; }
  .brand img { height: 40px; }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .steps::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .values, .info-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  :root { --header-h: 70px; }
  .nav-toggle { display: block; }
  .menu {
    position: fixed; top: calc(var(--header-h) + var(--tb-h, 0px)); left: 0; right: 0; bottom: 0; background: #fff; flex-direction: column; align-items: stretch;
    gap: 0; padding: 12px 20px 30px; overflow-y: auto; transform: translateX(100%); transition: transform .35s var(--ease);
  }
  .menu.open { transform: none; }
  .menu > a:not(.btn) { padding: 16px 4px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .menu > a.active::after { display: none; }
  .menu .btn { margin: 20px 0 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .topbar .tb-hide { display: none; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-grid, .founder, .cta-box, .soft-feature { grid-template-columns: 1fr; gap: 44px; }
  .split.reverse .split-media { order: 0; }
  .soft-feature { gap: 0; }
  .cta-box { padding: 48px 34px; }
  .cta-box .cta-actions { justify-content: flex-start; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .stats li:nth-child(3) { border-left: 0; }
  .soft-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .section { padding: 84px 0; }
  .badge-float { left: 12px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .topbar { display: none; }
  .brand img { height: 38px; }
  .cards, .steps, .form .row, .checks.two-col, .values, .info-cards, .cert-list, .module-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero-carousel { height: 640px; }
  .slide::after { background: linear-gradient(0deg, rgba(8,4,21,.95) 0%, rgba(8,4,21,.75) 55%, rgba(8,4,21,.45) 100%); }
  .hero-carousel { height: 700px; }
  .slide-content { justify-content: flex-end; padding-bottom: 110px; }
  .carousel-ui { bottom: 62px; }
  .slide p { font-size: 1rem; }
  .arrows { display: none; }
  .dot { width: 34px; }
  .stats-wrap { margin-top: -40px; }
  .stats { padding: 22px 10px; }
  .section { padding: 70px 0; }
  .form { padding: 26px 20px; }
  .soft { grid-template-columns: 1fr; padding: 26px; }
  .soft-feature .soft-body { padding: 26px; }
  .founder { padding: 22px; }
  .page-hero { padding: 80px 0 70px; }
  .split-media::before { inset: 14px -10px -14px 14px; }
  .f-list { grid-template-columns: 1fr; }
  .search { min-width: 0; width: 100%; }
  .copyright { flex-direction: column; }
}
