/* Site vitrine I-MANAGEMENT — direction « douce » : blanc cassé, anthracite, gris chauds,
   coins arrondis, ombres légères, typographie Manrope, parcours orienté besoins. */
:root {
  --text: #1d1d1f; --text-2: #3a3a3c; --muted: #6e6e73; --line: #e6e4df; --line-2: #d9d6d0;
  --bg: #fbfaf8; --surface: #ffffff; --soft: #f3f1ed; --soft-2: #ebe8e2;
  --accent: #1d1d1f; --on-accent: #ffffff; --dark: #1d1d1f;
  --ok: #2f7d4f; --err: #b42318;
  --radius: 18px; --radius-sm: 12px; --pill: 999px;
  --shadow: 0 1px 2px rgba(29, 29, 31, .04), 0 2px 8px rgba(29, 29, 31, .04);
  --shadow-hover: 0 6px 18px rgba(29, 29, 31, .07), 0 18px 40px rgba(29, 29, 31, .06);
  --font: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before { transition: none !important; } }
body { margin: 0; font: 400 17px/1.7 var(--font); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img { max-width: 100%; }
a { color: var(--text); text-underline-offset: 3px; }
h1, h2, h3 { color: var(--text); margin: 0; letter-spacing: -.02em; }
h1 { font-size: clamp(36px, 5.2vw, 60px); font-weight: 700; line-height: 1.08; }
h2 { font-size: clamp(27px, 3.3vw, 40px); font-weight: 700; line-height: 1.15; }
h3 { font-size: 19px; font-weight: 700; line-height: 1.35; letter-spacing: -.01em; }
p { margin: 0 0 14px; }
svg { width: 18px; height: 18px; flex: none; }
.wrap { width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.narrow { width: min(780px, 100% - 2 * var(--gutter)); }
.center { text-align: center; }
.muted { color: var(--muted); }
.mono { font-variant-numeric: tabular-nums; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--dark); color: #fff; padding: 10px 16px; border-radius: var(--pill); z-index: 100; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid rgba(29, 29, 31, .35); outline-offset: 3px; border-radius: 6px; }

/* Libellés */
.eyebrow, .label { display: block; margin: 0 0 12px; font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; margin-bottom: 22px; border-radius: var(--pill);
  background: var(--surface); border: 1px solid var(--line); font-size: 12.5px; font-weight: 600; letter-spacing: .08em; color: var(--text-2); }
.num, .big-num { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--muted); }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 12px 22px; border-radius: var(--pill); border: 1px solid transparent;
  font: 600 15.5px/1.2 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .2s, color .2s, border-color .2s, box-shadow .2s; }
.btn svg { width: 17px; height: 17px; }
.btn-lg { padding: 15px 28px; font-size: 16px; }
.btn-block { display: flex; width: 100%; margin-top: 10px; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { box-shadow: 0 8px 20px rgba(29, 29, 31, .18); background: #000; }
.btn-ghost, .btn-light { background: var(--surface); color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover, .btn-light:hover { border-color: var(--text); }
.btn-invert { background: #fff; color: var(--dark); }
.btn-invert:hover { background: var(--soft); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-outline-light:hover { border-color: #fff; }
.btn-whatsapp { background: var(--surface); color: var(--text); border-color: var(--line-2); }
.link-arrow, .more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15.5px; color: var(--text); text-decoration: none; }
.link-arrow svg, .more svg { width: 16px; height: 16px; transition: transform .2s; }
.link-arrow:hover svg, .more:hover svg, a:hover > .more svg { transform: translateX(4px); }
.link-arrow:hover { text-decoration: underline; }
.link-arrow.light { color: #fff; }

/* Bandeau supérieur et en-tête */
.topbar { background: var(--soft); color: var(--muted); font-size: 13.5px; }
.topbar-in { display: flex; justify-content: space-between; gap: 20px; padding: 8px 0; }
.topbar-contact { display: flex; gap: 22px; }
.topbar a { color: var(--text-2); text-decoration: none; } .topbar a:hover { color: var(--text); text-decoration: underline; }
.header { position: sticky; top: 0; z-index: 50; background: rgba(251, 250, 248, .9); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.header.scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px rgba(29, 29, 31, .04); }
.header-in { display: flex; align-items: center; gap: 28px; height: 78px; transition: height .2s; }
.header.scrolled .header-in { height: 64px; }
.logo { display: inline-flex; align-items: center; text-decoration: none; color: var(--text); flex: none; }
.logo img { display: block; height: 34px; width: auto; }
.header.scrolled .logo img { height: 30px; }
.footer .logo img { height: 30px; }
.logo-text { font-weight: 700; font-size: 19px; letter-spacing: .04em; }
.logo-dash { color: var(--muted); }
.logo-light { color: #fff; } .logo-light .logo-dash { color: #9a9a9e; }
.nav { display: flex; align-items: center; gap: 22px; flex: 1; justify-content: flex-end; }
.nav > ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav > ul > li > a { display: inline-flex; align-items: center; gap: 4px; padding: 9px 13px; border-radius: var(--pill); color: var(--text-2);
  text-decoration: none; font-size: 15px; font-weight: 500; white-space: nowrap; transition: background .2s, color .2s; }
.nav > ul > li > a:hover, .nav > ul > li:focus-within > a { background: var(--soft); color: var(--text); }
.nav > ul > li > a[aria-current="page"] { color: var(--text); font-weight: 700; }
.nav .chev { width: 12px; height: 12px; transform: rotate(90deg); color: var(--muted); }
.nav-cta .btn { padding: 11px 20px; font-size: 14.5px; }
.burger { display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--line-2); border-radius: var(--pill); background: var(--surface); color: var(--text); cursor: pointer; }
.burger svg { width: 22px; height: 22px; }

/* Méga-menu */
.nav li.has-mega { position: static; }
.mega { position: absolute; left: 0; right: 0; top: calc(100% - 6px); display: none; padding-top: 6px; }
.mega-in { display: grid; grid-template-columns: 260px 1fr 1fr; gap: 32px; padding: 30px 32px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-hover); }
.mega-in:has(.mega-grid) { grid-template-columns: 260px 1fr; }
.nav li.has-mega:hover > .mega, .nav li.has-mega:focus-within > .mega { display: block; }
.mega-intro .label { color: var(--text); font-size: 15px; }
.mega-intro p:not(.label) { color: var(--muted); font-size: 14.5px; line-height: 1.6; margin-bottom: 16px; }
.nav .mega ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.nav .mega ul.mega-grid { grid-template-columns: repeat(2, 1fr); }
.nav .mega ul a { display: grid; gap: 3px; padding: 14px 16px; border-radius: var(--radius-sm); text-decoration: none; color: var(--text); transition: background .2s; }
.nav .mega ul a:hover { background: var(--soft); }
.mega strong { font-size: 15.5px; font-weight: 700; }
.mega ul span:not(.num) { color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.mega .num { font-size: 12px; margin: 0 0 2px; letter-spacing: .04em; }
.mega-col .num { padding-left: 16px; margin-bottom: 6px; }

/* Bannière d'accueil */
.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(36px, 5vw, 56px); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { margin-bottom: 22px; }
.lead { font-size: clamp(17.5px, 1.6vw, 19.5px); line-height: 1.65; color: var(--text-2); margin: 0; }
.hero .lead { max-width: 620px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-cta.center { justify-content: center; }
.reassure { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 26px 0 0; padding: 0; color: var(--muted); font-size: 14.5px; }
.reassure li { display: inline-flex; align-items: center; gap: 7px; }
.reassure svg { width: 16px; height: 16px; color: var(--ok); }
.needs { padding: 26px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-hover); }
.needs-title { margin: 0 0 14px 4px; font-weight: 700; font-size: 16px; }
.needs ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.needs a { display: flex; align-items: center; gap: 14px; padding: 14px 14px; border-radius: var(--radius-sm); text-decoration: none; color: var(--text);
  background: var(--soft); transition: background .2s, transform .2s; }
.needs a:hover { background: var(--soft-2); transform: translateX(3px); }
.needs-icon { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 12px; background: var(--surface); color: var(--text); border: 1px solid var(--line); }
.needs-icon svg { width: 21px; height: 21px; }
.needs-text { display: grid; flex: 1; min-width: 0; line-height: 1.35; }
.needs-text strong { font-size: 15.5px; }
.needs-text small { color: var(--muted); font-size: 13px; }
.needs-go { color: var(--muted); }

/* Chiffres clés */
.figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; padding: 12px; border-radius: 24px; background: var(--soft); }
.figure { display: grid; gap: 4px; padding: 22px 24px; border-radius: var(--radius); background: var(--surface); }
.figure strong { font-size: clamp(32px, 3.6vw, 44px); font-weight: 700; letter-spacing: -.03em; line-height: 1.05; }
.figure span { color: var(--muted); font-size: 14.5px; line-height: 1.4; }

/* Logos clients */
.logos { padding: 56px 0 16px; text-align: center; }
.logos-title { color: var(--text); font-size: 20px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 26px; }
.logos ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; align-items: stretch; }
/* chaque logo dans une tuile blanche de taille fixe : les logos aux marges inégales restent lisibles */
.logos li { display: flex; }
.logos li > a, .logos li > img, .logos li > span { display: grid; place-items: center; }
.logos li:not(:has(> a)) { justify-content: center; align-items: center; }
.logos li > a, .logos li:not(:has(> a)) { width: calc(var(--logo-h, 56px) * 3.4); height: calc(var(--logo-h, 56px) + 36px); padding: 18px 22px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); transition: box-shadow .25s, transform .25s; }
.logos li:hover > a, .logos li:not(:has(> a)):hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.logos img { max-height: var(--logo-h, 56px); max-width: 100%; width: auto; height: auto; object-fit: contain; mix-blend-mode: multiply; transition: opacity .2s, filter .2s; }
.logos-gris img { filter: grayscale(1); opacity: .85; }
.logos-gris li:hover img { filter: none; opacity: 1; }
.logos-couleur img { opacity: .95; } .logos-couleur li:hover img { opacity: 1; }
/* défilement continu : la liste est dupliquée, on la fait glisser de la moitié de sa largeur */
.logos-scroll .logos-track { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logos-scroll ul { flex-wrap: nowrap; justify-content: flex-start; width: max-content; animation: logos-slide 38s linear infinite; }
.logos-scroll ul { gap: 16px; } .logos-scroll li { padding: 0; }
.logos-scroll .logos-track:hover ul { animation-play-state: paused; }
@keyframes logos-slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .logos-scroll ul { animation: none; flex-wrap: wrap; justify-content: center; width: auto; gap: 22px 0; }
  .logos-scroll li[aria-hidden="true"] { display: none; }
}
.logos li span { font-weight: 700; font-size: 15px; line-height: 1.3; color: var(--text-2); }

/* Sections */
.section, .band { padding: clamp(64px, 8vw, 104px) 0; }
.section.soft, .band-alt, .section.alt { background: var(--soft); }
.section.dark, .band-dark { background: var(--dark); color: #c7c7cc; }
.section.dark h2, .section.dark h3, .band-dark h2, .band-dark h3 { color: #fff; }
.section-head, .band-head { max-width: 760px; margin: 0 0 clamp(32px, 4vw, 52px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p:not(.eyebrow) { color: var(--muted); font-size: 18px; margin: 14px 0 0; }
.section-head.row, .band-head.with-link { display: flex; justify-content: space-between; align-items: end; gap: 20px; max-width: none; flex-wrap: wrap; }
.intro { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.intro .lead { margin-bottom: 28px; }
.intro-points { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 10px; }
.intro-points li { padding: 16px 20px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); color: var(--text-2); font-size: 15.5px; }
.intro-points strong { display: block; color: var(--text); margin-bottom: 2px; }

/* Activités */
.activity-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.activity-card { display: flex; flex-direction: column; padding: 30px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  color: var(--text); text-decoration: none; box-shadow: var(--shadow); transition: box-shadow .25s, transform .25s, border-color .25s; }
.activity-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); border-color: transparent; }
.ac-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.ac-num { font-size: 13px; font-weight: 600; color: var(--muted); }
.activity-card h3 { font-size: 22px; margin-bottom: 10px; }
.activity-card p { color: var(--muted); font-size: 15.5px; }
.tags { list-style: none; margin: 4px 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 7px; flex: 1; align-content: flex-start; }
.tags li { padding: 6px 12px; border-radius: var(--pill); background: var(--soft); font-size: 13.5px; font-weight: 500; color: var(--text-2); }

/* Solutions (onglets) */
.tabs { max-width: 1000px; margin-inline: auto; }
.tab-list { display: flex; justify-content: center; gap: 6px; width: fit-content; margin: 0 auto 30px; padding: 6px; border-radius: var(--pill); background: var(--soft); }
.tab-list [role=tab] { display: inline-flex; align-items: baseline; gap: 8px; padding: 11px 22px; border: 0; border-radius: var(--pill); background: transparent;
  font: 600 15px/1.2 var(--font); color: var(--muted); cursor: pointer; transition: background .2s, color .2s, box-shadow .2s; }
.tab-list [role=tab] small { font-size: 12px; font-weight: 500; }
.tab-list [role=tab][aria-selected="true"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.tab-panel[hidden] { display: none; }
.tab-intro { text-align: center; color: var(--muted); max-width: 640px; margin: 0 auto 28px; }
.sol-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.sol-card { display: flex; flex-direction: column; gap: 6px; padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  text-decoration: none; color: var(--text); box-shadow: var(--shadow); transition: box-shadow .25s, transform .25s; }
.sol-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.sol-card strong { font-size: 19px; }
.sol-card > span:not(.more) { color: var(--muted); font-size: 15px; flex: 1; }
.sol-card .more { margin-top: 12px; }
.sol-card.dashed { border-style: dashed; box-shadow: none; background: transparent; }

/* Pourquoi */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.why-item { display: flex; gap: 16px; align-items: flex-start; padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.why-item h3 { font-size: 17px; margin-bottom: 6px; }
.why-item p { margin: 0; color: var(--muted); font-size: 15px; }
.why-check { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--soft); color: var(--ok); }
.why-check svg { width: 17px; height: 17px; }

/* Méthodologie */
.steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; list-style: none; margin: 0; padding: 0; position: relative; }
.steps::before { content: ""; position: absolute; top: 22px; left: 8%; right: 8%; height: 2px; background: var(--line); z-index: 0; }
.steps li { position: relative; z-index: 1; text-align: center; padding: 0 6px; }
.step-n { display: grid; place-items: center; width: 46px; height: 46px; margin: 0 auto 16px; border-radius: 50%; background: var(--surface);
  border: 2px solid var(--text); font-weight: 700; font-size: 16px; }
.steps h3 { font-size: 16px; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* Témoignages */
.quote-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.quote { margin: 0; padding: 30px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.quote blockquote { margin: 0 0 20px; font-size: 18.5px; line-height: 1.6; font-weight: 500; color: var(--text); }
.quote figcaption { display: grid; color: var(--muted); font-size: 14.5px; }
.quote figcaption strong { color: var(--text); }

/* Cartes (pages intérieures, articles) */
.cards, .cards-3, .cards-5 { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.card { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 28px; border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--line); color: var(--text); text-decoration: none; box-shadow: var(--shadow); }
.card-link { transition: box-shadow .25s, transform .25s, border-color .25s; }
.card-link:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); border-color: transparent; }
.card h3 { font-size: 20px; }
.card p { color: var(--muted); font-size: 15.5px; margin: 0; flex: 1; }
.card .more { margin-top: 10px; }
.card-icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 8px; border-radius: 13px; background: var(--soft); color: var(--text); }
.card-icon svg { width: 22px; height: 22px; }
.tag, .sol-badge { align-self: flex-start; display: inline-block; padding: 4px 11px; border-radius: var(--pill); background: var(--soft); font-size: 12.5px; font-weight: 600; color: var(--text-2); }
.meta { color: var(--muted); font-size: 13.5px; }
.mini { margin: 6px 0 4px; padding-left: 18px; color: var(--muted); font-size: 14.5px; }
.article-card h3 { font-size: 19px; }

/* En-tête des pages intérieures */
.page-head { padding: clamp(40px, 6vw, 72px) 0 clamp(36px, 5vw, 56px); background: var(--soft); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(32px, 4.6vw, 52px); margin-bottom: 18px; max-width: 900px; }
.page-head .lead { max-width: 760px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; } .crumbs a:hover { color: var(--text); text-decoration: underline; }
.page-head .eyebrow, .page-head .label { display: inline-block; padding: 6px 13px; border-radius: var(--pill); background: var(--surface); border: 1px solid var(--line); font-size: 13px; margin-bottom: 18px; }

/* Activités (page liste) */
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.toc a { padding: 9px 16px; border-radius: var(--pill); background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--text); font-size: 14.5px; font-weight: 500; }
.toc a:hover { border-color: var(--text); }
.small-toc a { font-size: 13.5px; padding: 7px 13px; }
.expertise-block { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 44px; margin-bottom: 20px; padding: 34px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.expertise-block .eb-head { grid-column: 1; }
.expertise-block .small-title, .expertise-block .checks { grid-column: 2; }
.expertise-block .small-title { grid-row: 1; margin: 0; }
.expertise-block .checks { grid-row: 1; margin-top: 30px; }
.expertise-block .more { grid-column: 1; justify-self: start; align-self: end; }
.eb-head { display: flex; gap: 18px; align-items: flex-start; }
.eb-head .card-icon { margin: 0; }
.eb-head h2 { font-size: clamp(24px, 2.4vw, 30px); margin: 6px 0 12px; }
.eb-head p { color: var(--text-2); margin: 0; }
.small-title { font-size: 14px; font-weight: 600; color: var(--muted); margin: 0 0 12px; }

/* Listes */
.checks { list-style: none; padding: 0 !important; margin: 0 0 22px; display: grid; gap: 8px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; margin: 0 !important; font-size: 16px; }
.checks svg { margin-top: 4px; width: 18px; height: 18px; color: var(--ok); }
.checks.warn svg { color: var(--muted); }
.expertise-block .checks { gap: 10px; }

/* Pages de détail */
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(36px, 5vw, 72px); align-items: start; }
.two-col:has(.side-left) { grid-template-columns: 260px minmax(0, 1fr); }
.prose { font-size: 17px; max-width: 760px; }
.prose h2 { font-size: clamp(24px, 2.4vw, 30px); margin: 48px 0 16px; }
.prose h2:first-child, .prose > nav + h2 { margin-top: 0; }
.prose h3 { font-size: 18px; margin: 28px 0 10px; }
.prose ul { padding-left: 22px; } .prose li { margin: 6px 0; }
.prose p { color: var(--text-2); }
.side { display: grid; gap: 18px; position: sticky; top: 96px; }
.side-box { padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.side-box h3 { margin-bottom: 8px; font-size: 17px; }
.side-box p { color: var(--muted); font-size: 15px; }
.side-box.highlight { background: var(--dark); border-color: var(--dark); color: #c7c7cc; }
.side-box.highlight h3 { color: #fff; } .side-box.highlight p { color: #c7c7cc; }
.side-box.highlight .btn-primary { background: #fff; color: var(--dark); }
.side-box.highlight .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .3); }
.side-box.highlight .btn-ghost:hover { border-color: #fff; }
.side-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.side-links a { display: block; padding: 9px 12px; border-radius: 10px; text-decoration: none; color: var(--text-2); font-size: 15px; }
.side-links a:hover { background: var(--soft); color: var(--text); }
.sticky { position: sticky; top: 96px; }
.feature-grid, .service-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; margin-bottom: 26px; }
.feature, .service { display: flex; gap: 12px; align-items: flex-start; padding: 15px 18px; border-radius: var(--radius-sm); background: var(--soft); font-size: 15.5px; font-weight: 500; }
.feature svg, .service svg { color: var(--ok); margin-top: 3px; }
.service strong { font-weight: 600; }
.service p { margin: 4px 0 0; font-size: 14px; color: var(--muted); font-weight: 400; }
.usecases { display: grid; gap: 10px; margin-bottom: 22px; }
.usecase { display: flex; gap: 14px; align-items: center; padding: 15px 18px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); }
.usecase span { display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--soft); font-weight: 700; font-size: 13.5px; }
.demo-box { margin-top: 48px; padding: 34px; border-radius: var(--radius); background: var(--dark); color: #c7c7cc; }
.demo-box h2 { color: #fff; margin-top: 0 !important; }
.demo-box p { color: #c7c7cc; }
.demo-box .btn-primary { background: #fff; color: var(--dark); }
.table-card { margin-bottom: 32px; overflow-x: auto; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.sol-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.sol-table th { text-align: left; padding: 14px 20px; background: var(--soft); color: var(--muted); font-size: 13.5px; font-weight: 600; }
.sol-table td { padding: 16px 20px; border-top: 1px solid var(--line); }
.sol-table td a { color: var(--text); text-decoration: none; } .sol-table td a:hover { text-decoration: underline; }
.sol-table .right { text-align: right; white-space: nowrap; }
.solution-card .sol-badge { margin-bottom: 6px; }
.sector-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sector-col { padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.sector-col h2 { font-size: 21px; margin-bottom: 14px; }
.sector-col p { color: var(--text-2); }
.sector-col.good { background: #f1f7f3; border-color: #dcebe1; }
.other-sectors { margin-top: 48px; }
.other-sectors h3 { margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 9px 16px; border-radius: var(--pill); border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: var(--text); font-size: 14.5px; font-weight: 500; }
.chip:hover { border-color: var(--text); }
.chip.on { background: var(--text); border-color: var(--text); color: #fff; }
.chips.cats { margin: 22px 0 36px; }
.search { display: flex; align-items: center; gap: 10px; max-width: 640px; padding: 6px 6px 6px 20px; border-radius: var(--pill); background: var(--surface); border: 1px solid var(--line-2); }
.search:focus-within { border-color: var(--text); box-shadow: 0 0 0 4px var(--soft-2); }
.search svg { color: var(--muted); }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; padding: 10px 0; background: transparent; }
.empty { padding: 44px; text-align: center; color: var(--muted); border-radius: var(--radius); border: 1px dashed var(--line-2); }
.share { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.share a { font-weight: 600; text-decoration: none; padding: 7px 14px; border-radius: var(--pill); background: var(--soft); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-form { padding: clamp(22px, 3vw, 36px); border-radius: 24px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.kind-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 28px; }
.kind-tab { padding: 9px 15px; border-radius: var(--pill); background: var(--soft); text-decoration: none; color: var(--text-2); font-size: 14px; font-weight: 500; }
.kind-tab:hover { background: var(--soft-2); }
.kind-tab.on { background: var(--text); color: #fff; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 20px; }
.form-grid label { font-weight: 600; font-size: 14.5px; color: var(--text); }
.form-grid .full { grid-column: 1 / -1; }
.form-grid input, .form-grid textarea, .form-grid select { display: block; width: 100%; margin-top: 8px; padding: 13px 16px; border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  font: 400 16px/1.5 var(--font); color: var(--text); background: var(--bg); transition: border-color .2s, box-shadow .2s, background .2s; }
.form-grid input:hover, .form-grid textarea:hover, .form-grid select:hover { border-color: #c4c0b8; }
.form-grid input:focus, .form-grid textarea:focus, .form-grid select:focus { outline: 0; border-color: var(--text); background: var(--surface); box-shadow: 0 0 0 4px var(--soft-2); }
.consent { display: flex; gap: 12px; align-items: flex-start; margin: 24px 0; font-size: 14.5px; color: var(--muted); }
.consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--text); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { display: flex; gap: 12px; padding: 16px 18px; margin-bottom: 24px; border-radius: var(--radius-sm); }
.notice ul { margin: 6px 0 0; padding-left: 18px; }
.notice.ok { background: #eef6f1; color: #1f5b37; } .notice.ok svg { color: var(--ok); }
.notice.err { background: #fdf1f0; color: #7d1f15; } .notice.err svg { display: none; }
.contact-info { display: grid; gap: 18px; }
/* Prise de rendez-vous */
.step-title { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 0 0 16px; font-size: 19px; }
.contact-form form .step-title { margin-top: 30px; }
.step-num { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--text); color: #fff; font-size: 14px; }
.step-sub { font-size: 14.5px; font-weight: 500; }
.slot-days { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 10px; scroll-snap-type: x proximity; }
.slot-day { flex: none; display: grid; justify-items: center; gap: 1px; min-width: 84px; padding: 12px 10px; border-radius: var(--radius-sm);
  border: 1px solid var(--line-2); background: var(--bg); color: var(--text); text-decoration: none; scroll-snap-align: start; transition: border-color .2s, background .2s; }
.slot-day:hover { border-color: var(--text); }
.slot-day.on { background: var(--text); border-color: var(--text); color: #fff; }
.slot-day-name, .slot-day-month { font-size: 12.5px; text-transform: capitalize; }
.slot-day-num { font-size: 24px; font-weight: 700; line-height: 1.2; font-variant-numeric: tabular-nums; }
.slot-day-count { margin-top: 4px; font-size: 11.5px; color: var(--muted); }
.slot-day.on .slot-day-count { color: #c7c7cc; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; margin: 0; padding: 0; border: 0; }
.slot input { position: absolute; opacity: 0; pointer-events: none; }
.slot span { display: block; padding: 11px 0; text-align: center; border-radius: var(--radius-sm); border: 1px solid var(--line-2); background: var(--bg);
  font-weight: 600; font-variant-numeric: tabular-nums; cursor: pointer; transition: border-color .2s, background .2s; }
.slot span:hover { border-color: var(--text); }
.slot input:checked + span { background: var(--text); border-color: var(--text); color: #fff; }
.slot input:focus-visible + span { outline: 3px solid rgba(29, 29, 31, .35); outline-offset: 3px; }

.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; }
.contact-list svg { width: 18px; height: 18px; margin-top: 3px; color: var(--muted); }
.contact-list a { color: var(--text); text-decoration: none; } .contact-list a:hover { text-decoration: underline; }
.contact-info .btn-whatsapp { margin-top: 18px; }
.socials { display: flex; gap: 8px; margin-top: 16px; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; }
.socials a:hover { background: rgba(255, 255, 255, .18); }
.socials.dark a { background: var(--soft); color: var(--text); } .socials.dark a:hover { background: var(--soft-2); }

/* Appel à l'action */
.cta-wrap { padding: 0 0 clamp(64px, 8vw, 104px); }
.section + .cta-wrap, .section.soft + .cta-wrap { padding-top: clamp(48px, 6vw, 80px); }
.cta { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; padding: clamp(32px, 5vw, 56px);
  border-radius: 28px; background: var(--dark); color: #c7c7cc; }
.cta h2 { color: #fff; margin-bottom: 10px; max-width: 680px; }
.cta p { margin: 0; font-size: 17.5px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Pied de page */
.footer { background: var(--dark); color: #a1a1a6; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr 1.2fr; gap: 36px; padding: 72px 0 48px; }
.footer h3 { color: #fff; font-size: 15px; margin-bottom: 16px; letter-spacing: 0; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer a { color: #a1a1a6; text-decoration: none; } .footer a:hover { color: #fff; }
.footer-about p { margin-top: 14px; }
.footer-tagline { margin: 16px 0 0 !important; font-size: 12px; font-weight: 600; letter-spacing: .1em; color: #8e8e93; }
.footer .contact-list svg { color: #8e8e93; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding: 22px 0 30px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13.5px; }
.footer-bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }

/* Bouton WhatsApp et barre d'action mobile */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
  background: #25d366; color: #fff; box-shadow: var(--shadow-hover); }
.wa-float svg { width: 26px; height: 26px; }
.action-bar { display: none; }

/* Responsive */
@media (max-width: 1180px) {
  .burger { display: grid; place-items: center; }
  .nav { position: fixed; inset: 78px 0 0 0; display: none; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 20px;
    padding: 18px var(--gutter) 32px; background: var(--bg); overflow: auto; }
  .header.scrolled .nav { inset: 64px 0 0 0; }
  .nav.open { display: flex; }
  .nav > ul { flex-direction: column; gap: 4px; }
  .nav > ul > li > a { display: flex; padding: 14px 16px; font-size: 18px; border-radius: var(--radius-sm); }
  .nav .chev, .nav li.has-mega > .mega { display: none !important; }
  .nav-cta .btn { width: 100%; padding: 15px; font-size: 16px; }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 32px; } .steps::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; } .footer-about { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .hero-in, .intro, .two-col, .two-col:has(.side-left), .contact-grid, .expertise-block { grid-template-columns: 1fr; }
  .expertise-block .small-title, .expertise-block .checks, .expertise-block .more { grid-column: 1; grid-row: auto; }
  .expertise-block .checks { margin-top: 0; }
  .activity-grid, .sector-cols { grid-template-columns: 1fr; }
  .why { grid-template-columns: 1fr 1fr; }
  .side { position: static; }
}
@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 76px; }
  .header-in { height: 66px; } .nav { inset: 66px 0 0 0; }
  .topbar-in > span:first-child { display: none; } .topbar-contact { gap: 14px; font-size: 12.5px; }
  .why, .steps, .form-grid, .feature-grid, .service-grid { grid-template-columns: 1fr; }
  .steps li { text-align: left; display: grid; grid-template-columns: 46px 1fr; gap: 0 14px; padding: 0; }
  .steps .step-n { margin: 0; grid-row: span 2; }
  .figures { grid-template-columns: 1fr 1fr; }
  .figure { padding: 18px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .tab-list { width: 100%; } .tab-list [role=tab] { flex: 1; justify-content: center; padding: 11px 10px; }
  .tab-list [role=tab] small { display: none; }
  .cta-actions .btn { flex: 1 1 100%; }
  .wa-float { display: none; }
  .action-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: flex; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(251, 250, 248, .96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
  .action-bar .btn { flex: 1; padding: 13px 10px; font-size: 15px; }
}
