/* ==========================================================
   Undisoft — feuille de style
   ========================================================== */

/* Police Plus Jakarta Sans (SIL Open Font License), hébergée sur le site : aucun appel à Google Fonts */
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --green-1: #8dce19;
  --green-2: #07b979;
  --green-dark: #058f5e;
  --grad: linear-gradient(120deg, var(--green-1), var(--green-2));

  --ink: #0f1a16;
  --ink-2: #3b4a44;
  --muted: #6b7a74;
  --line: #e4ebe8;
  --bg: #ffffff;
  --bg-tint: #f4f8f6;
  --dark: #0c1714;
  --dark-2: #13231e;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(15, 26, 22, .06), 0 2px 8px rgba(15, 26, 22, .04);
  --shadow: 0 10px 30px -10px rgba(15, 26, 22, .18), 0 4px 10px -4px rgba(15, 26, 22, .06);
  --shadow-lg: 0 40px 80px -30px rgba(7, 70, 50, .35);

  --container: 1160px;
  --header-h: 72px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  /* Le pied de page reste en bas de l'écran sur les pages courtes (récupération, erreurs) : main occupe la hauteur restante. */
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
main { flex: 1 0 auto; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

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

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  height: 52px; padding: 0 26px;
  border-radius: 999px; border: 1px solid transparent;
  font: 600 15px/1 var(--font);
  cursor: pointer; white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn svg { width: 18px; height: 18px; transition: transform .2s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 8px 20px -8px rgba(7, 185, 121, .7); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(7, 185, 121, .75); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--green-2); color: var(--green-dark); }
.btn--light { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .2); }
.btn--disabled { cursor: default; opacity: .75; }
.btn--sm { height: 42px; padding: 0 20px; font-size: 14px; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  transition: background .3s ease, box-shadow .3s ease;
}
.header.is-scrolled {
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header__logo img { height: 30px; width: auto; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a:not(.btn) {
  padding: 8px 14px; border-radius: 999px;
  font-size: 15px; font-weight: 500; color: var(--ink-2);
  transition: color .2s, background .2s;
}
.nav a:not(.btn):hover, .nav a.is-active { color: var(--ink); background: var(--bg-tint); }
.nav__cta { margin-left: 10px; }

.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 10px; }
.burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s, opacity .3s; }
.burger span + span { margin-top: 6px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: calc(var(--header-h) + 72px) 0 104px; overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(600px 400px at 85% 15%, rgba(141, 206, 25, .18), transparent 70%),
    radial-gradient(700px 500px at 10% 90%, rgba(7, 185, 121, .12), transparent 70%),
    linear-gradient(180deg, #f7fbf9, #fff 80%);
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 10%, transparent 65%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 10%, transparent 65%);
  opacity: .55;
}
.hero__inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 10px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font-size: 13px; font-weight: 600; color: var(--green-dark);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-2); box-shadow: 0 0 0 4px rgba(7, 185, 121, .18); }

.hero h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); font-weight: 800; margin: 22px 0 20px; letter-spacing: -.035em; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.15rem; max-width: 540px; color: var(--ink-2); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 32px; font-size: 14px; font-weight: 500; color: var(--muted); }
.hero__facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero__facts svg { width: 18px; height: 18px; color: var(--green-2); }

/* Maquette */
.hero__visual { position: relative; }
.mock {
  background: #fff; border-radius: 16px; border: 1px solid var(--line);
  box-shadow: var(--shadow-lg); overflow: hidden;
  transform: perspective(1400px) rotateY(-8deg) rotateX(3deg);
  transition: transform .6s ease;
}
.hero__visual:hover .mock { transform: perspective(1400px) rotateY(-3deg) rotateX(1deg); }
.mock__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: #fafcfb; }
.mock__bar i { width: 10px; height: 10px; border-radius: 50%; background: #e3e8e6; }
.mock__bar span { margin-left: 12px; font-size: 11px; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 2px 10px; }
.mock__body { display: grid; grid-template-columns: 54px 1fr; min-height: 330px; }
.mock__side { background: var(--dark); padding: 14px 12px; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.mock__brand { width: 28px; height: 28px; border-radius: 8px; background: var(--grad); margin-bottom: 8px; }
.mock__side b { width: 26px; height: 6px; border-radius: 4px; background: rgba(255, 255, 255, .16); }
.mock__side b.on { background: var(--green-2); }
.mock__main { padding: 16px 18px; display: flex; flex-direction: column; gap: 14px; }
.mock__head { display: flex; justify-content: space-between; align-items: center; }
.mock__head small { display: block; font-size: 10px; color: var(--muted); }
.mock__head strong { font-size: 15px; color: var(--ink); }
.mock__pill { font-size: 10px; font-weight: 600; color: #fff; background: var(--grad); padding: 6px 10px; border-radius: 999px; }
.mock__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock__kpis div { border: 1px solid var(--line); border-radius: 10px; padding: 10px; }
.mock__kpis small { display: block; font-size: 10px; color: var(--muted); }
.mock__kpis strong { display: block; font-size: 20px; color: var(--ink); line-height: 1.3; }
.mock__kpis em { font-style: normal; font-size: 10px; color: var(--muted); }
.mock__kpis em.up { color: var(--green-dark); font-weight: 600; }
.mock__chart { border: 1px solid var(--line); border-radius: 10px; padding: 10px 0 0; height: 96px; overflow: hidden; }
.mock__chart svg { width: 100%; height: 100%; display: block; }
.mock__rows { display: flex; flex-direction: column; gap: 8px; }
.mock__rows div { display: flex; align-items: center; gap: 10px; }
.mock__rows b { flex: 1; height: 7px; border-radius: 4px; background: #eef2f0; }
.mock__rows i { width: 34px; height: 7px; border-radius: 4px; background: #dfe7e3; }
.tag { font-size: 9.5px; font-weight: 700; padding: 3px 8px; border-radius: 999px; min-width: 72px; text-align: center; }
.tag--a { background: #fff4dc; color: #a26a00; }
.tag--b { background: #e3f1ff; color: #1f6fbf; }
.tag--c { background: #dcf7ea; color: var(--green-dark); }

.float {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 10px 14px; box-shadow: var(--shadow);
  font-size: 13px; animation: bob 6s ease-in-out infinite;
}
.float svg { width: 32px; height: 32px; padding: 7px; border-radius: 10px; background: #dcf7ea; color: var(--green-dark); flex: none; }
.float strong { display: block; color: var(--ink); font-size: 13px; line-height: 1.2; }
.float small { color: var(--muted); font-size: 11.5px; }
.float--1 { left: -28px; bottom: -24px; }
.float--2 { right: -16px; top: -22px; animation-delay: -3s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- Sections ---------- */
.section { padding: 112px 0; }
.section--tint { background: var(--bg-tint); }
.section__head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section__head h2, .project h2, .team h2, .contact h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); font-weight: 800; }
.section__head p { margin-top: 16px; font-size: 1.08rem; color: var(--muted); }
.kicker {
  display: inline-block; margin-bottom: 14px;
  font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em;
  color: var(--green-dark);
}
.kicker--light { color: var(--green-1); }

.container--narrow { max-width: 820px; }

/* Problèmes */
.pains { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pain { padding: 28px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.pain svg { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: #fdecea; color: #c4413a; margin-bottom: 18px; }
.pain h3 { font-size: 1.08rem; margin-bottom: 8px; }
.pain p { font-size: .95rem; color: var(--muted); }
.pains__answer { margin-top: 40px; text-align: center; font-size: 1.15rem; color: var(--ink-2); }
.pains__answer strong { color: var(--ink); background: linear-gradient(transparent 62%, rgba(141, 206, 25, .35) 0); }

/* Modules ERP */
.modules { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.module {
  padding: 26px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.module:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(7, 185, 121, .4); }
.module__ic {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(141, 206, 25, .18), rgba(7, 185, 121, .18)); color: var(--green-dark);
}
.module__ic svg { width: 22px; height: 22px; }
.module h3 { font-size: 1.05rem; margin-bottom: 6px; }
.module p { font-size: .93rem; color: var(--muted); }

/* Logiciels sur mesure */
.section--dark {
  color: #b9c8c2;
  background: radial-gradient(600px 400px at 0% 100%, rgba(7, 185, 121, .18), transparent 70%), var(--dark);
}
.section--dark h2 { color: #fff; }
.custom { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.custom__text h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); font-weight: 800; }
.custom__text p { margin: 18px 0 32px; font-size: 1.08rem; max-width: 460px; }
.custom__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.module--dark { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }
.module--dark:hover { border-color: rgba(141, 206, 25, .5); box-shadow: none; }
.module--dark h3 { color: #fff; }
.module--dark p { color: #9fb2aa; }
.module--dark .module__ic { background: rgba(141, 206, 25, .12); color: var(--green-1); }

/* Comparatif */
.compare { max-width: 920px; margin: 0 auto; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden; }
.compare__row { display: grid; grid-template-columns: 1fr 1.3fr 1.3fr; }
.compare__row + .compare__row { border-top: 1px solid var(--line); }
.compare__row > span { padding: 18px 24px; font-size: .97rem; }
.compare__row > span:first-child { font-weight: 700; color: var(--ink); }
.compare__row > span:nth-child(2) { color: var(--muted); }
.compare__us { background: rgba(7, 185, 121, .06); color: var(--ink); font-weight: 600; position: relative; padding-left: 50px !important; }
.compare__row:not(.compare__row--head) .compare__us::before {
  content: ""; position: absolute; left: 22px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%;
  background: var(--green-2) 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.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.compare__row--head > span { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); padding-top: 20px; padding-bottom: 20px; }
.compare__row--head .compare__us { background: var(--grad); color: #fff; padding-left: 24px !important; }

/* Références */
.cases { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 380px)); justify-content: center; gap: 24px; }
.case {
  display: flex; flex-direction: column; margin: 0; padding: 30px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.case__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.case__title { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.case__company { font-weight: 800; color: var(--ink); font-size: 1.05rem; line-height: 1.3; }
.case__badge { font-size: 12px; font-weight: 600; padding: 4px 11px; border-radius: 999px; background: var(--bg-tint); color: var(--green-dark); border: 1px solid rgba(7, 185, 121, .2); }
.stars { flex: none; margin-top: 2px; font-size: 15px; letter-spacing: 1px; color: #d7e0dc; }
.stars i { font-style: normal; }
.stars i.on { color: #f5b301; }
.case blockquote { margin: 0 0 24px; color: var(--ink-2); font-size: .98rem; flex: 1; }
.case__author { display: flex; align-items: center; gap: 12px; margin: 0; padding-top: 18px; border-top: 1px solid var(--line); }
.case__avatar {
  position: relative; flex: none; width: 44px; height: 44px; border-radius: 50%; overflow: hidden;
  display: grid; place-items: center; background: linear-gradient(135deg, rgba(141, 206, 25, .25), rgba(7, 185, 121, .25));
}
.case__avatar::before { content: attr(data-initials); font-size: 14px; font-weight: 700; color: var(--green-dark); }
.case__avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.case__who strong { display: block; color: var(--ink); font-size: .95rem; }
.case__who span { font-size: 13px; color: var(--muted); }

.refs { margin-top: 56px; text-align: center; }
.refs:not(:has(li)) { display: none; }
.refs__title { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 22px; }
.logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.logos li { flex: 0 1 170px; }
.logos a, .logos li > img { display: grid; place-items: center; height: 96px; padding: 16px; border-radius: 14px; border: 1px solid var(--line); background: #fff; transition: border-color .2s, box-shadow .2s, transform .2s; }
.logos a:hover { border-color: rgba(7, 185, 121, .45); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.logos img { max-width: 100%; max-height: 60px; width: auto; object-fit: contain; }
.logos li > img { width: 100%; max-height: none; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: rgba(7, 185, 121, .45); box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 24px; font-weight: 700; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--bg-tint)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23058f5e' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .25s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--muted); }

/* Cartes services */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.card {
  position: relative; padding: 28px 24px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.card::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px;
  background: var(--grad); opacity: 0; transition: opacity .3s;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::before { opacity: 1; }
.card__icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(141, 206, 25, .18), rgba(7, 185, 121, .18));
  color: var(--green-dark); margin-bottom: 22px;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.12rem; margin-bottom: 10px; }
.card p { color: var(--muted); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chips li { font-size: 12.5px; font-weight: 600; padding: 5px 12px; border-radius: 999px; background: var(--bg-tint); color: var(--ink-2); border: 1px solid var(--line); }

/* Étapes */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 28px; left: 12%; right: 12%; height: 2px;
  background: repeating-linear-gradient(90deg, #c9d8d1 0 8px, transparent 8px 16px);
}
.steps li { position: relative; text-align: center; padding: 0 8px; }
.steps__n {
  position: relative; display: inline-grid; place-items: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: #fff; border: 2px solid var(--green-2); color: var(--green-dark);
  font-weight: 800; font-size: 15px; margin-bottom: 18px;
  box-shadow: 0 0 0 8px var(--bg-tint);
}
.steps h3 { font-size: 1.15rem; margin-bottom: 8px; }
.steps p { font-size: .95rem; color: var(--muted); }

/* À propos */
.team { display: grid; grid-template-columns: auto 1fr; gap: 56px; align-items: center; max-width: 980px; margin: 0 auto; }
.team h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.team__photo {
  width: 240px; height: 240px; border-radius: 28px; object-fit: cover;
  box-shadow: var(--shadow-lg); outline: 6px solid #fff; outline-offset: -1px;
}
.team__role { font-weight: 600; color: var(--green-dark); margin: 6px 0 16px; }
.team__text > p:not(.team__role) { color: var(--muted); font-size: 1.05rem; }

/* Contact */
.contact { padding: 112px 0; background: var(--dark); color: #b9c8c2; position: relative; overflow: hidden; }
.contact::before {
  content: ""; position: absolute; width: 700px; height: 700px; right: -200px; top: -300px;
  background: radial-gradient(circle, rgba(7, 185, 121, .22), transparent 65%);
}
.contact__inner { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.contact h2 { color: #fff; }
.contact__info > p { margin: 16px 0 36px; font-size: 1.08rem; max-width: 440px; }
.contact__list { display: grid; gap: 18px; }
.contact__list li { display: flex; align-items: center; gap: 16px; color: #fff; font-weight: 500; }
.contact__list small { display: block; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: #8aa096; }
.contact__list a:hover { color: var(--green-1); }
.contact__ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); color: var(--green-1); flex: none; }
.contact__ic svg { width: 20px; height: 20px; }

.form { background: #fff; border-radius: 22px; padding: 36px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5); display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field span { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.field select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 44px;
  background: #fbfdfc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7a74' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 15px center / 16px no-repeat;
}
.field select:invalid { color: #9aa8a2; }
.field input, .field textarea, .field select {
  width: 100%; font: 15px/1.5 var(--font); color: var(--ink);
  padding: 13px 15px; border-radius: 12px;
  border: 1.5px solid var(--line); background: #fbfdfc;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder, .field textarea::placeholder { color: #9aa8a2; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--green-2); background-color: #fff; box-shadow: 0 0 0 4px rgba(7, 185, 121, .14); }
.field.is-invalid input, .field.is-invalid textarea, .field.is-invalid select { border-color: #e0574f; box-shadow: 0 0 0 4px rgba(224, 87, 79, .1); }
.field__error { font-size: 13px; font-weight: 500; color: #c4413a; }
.field__error:empty { display: none; }
.form__alert { padding: 12px 16px; border-radius: 12px; font-size: 14.5px; font-weight: 600; }
.form__alert--ok { background: #dcf7ea; color: var(--green-dark); }
.form__alert--err { background: #fdecea; color: #c4413a; }
.form__captcha:empty { display: none; }
.form__captcha { min-height: 78px; overflow: hidden; }
.form__status { font-size: 14px; text-align: center; min-height: 1.2em; }
.form__status.is-ok { color: var(--green-dark); }
.form__status.is-err { color: #c4413a; }

/* Pages simples (mentions légales, erreur) */
.legal { padding-top: calc(var(--header-h) + 64px); }
.legal h1 { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 800; margin-bottom: 32px; }
.legal h2 { font-size: 1.25rem; margin: 32px 0 10px; }
.legal p { color: var(--ink-2); margin-bottom: 14px; }
.legal a:not(.btn) { color: var(--green-dark); text-decoration: underline; text-underline-offset: 3px; }
.legal__intro { font-size: 1.05rem; color: var(--muted) !important; }
.legal__list { display: grid; grid-template-columns: 220px 1fr; margin: 0 0 8px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.legal__list dt, .legal__list dd { margin: 0; padding: 12px 16px; border-top: 1px solid var(--line); }
.legal__list dt:first-of-type, .legal__list dt:first-of-type + dd { border-top: 0; }
.legal__list dt { font-weight: 700; color: var(--ink); background: var(--bg-tint); }
.legal__table { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin-bottom: 14px; }
.legal__row { display: grid; grid-template-columns: 1fr 1.2fr; }
.legal__row + .legal__row { border-top: 1px solid var(--line); }
.legal__row > span { padding: 12px 16px; font-size: .95rem; }
.legal__row > span:first-child { font-weight: 600; color: var(--ink); }
.legal__row--head { background: var(--bg-tint); }
.legal__row--head > span { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted) !important; }
.legal__bullets { list-style: disc; padding-left: 22px; margin-bottom: 14px; }
.legal__bullets li { margin-bottom: 6px; }
.legal__update { margin-top: 40px; font-size: 14px; color: var(--muted) !important; }

/* Récupération des sources et des données (page hors navigation) */
.recovery { padding-top: calc(var(--header-h) + 64px); }
.recovery h1 { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 800; margin-bottom: 12px; }
.recovery__intro { font-size: 1.05rem; color: var(--muted); margin-bottom: 32px; }
.recovery .form { box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.recovery__note { margin-top: 28px; font-size: 14px; color: var(--muted); }
.recovery__table { border: 1px solid var(--line); border-radius: 14px; overflow-x: auto; }
.recovery__table table { width: 100%; border-collapse: collapse; }
.recovery__table th, .recovery__table td { padding: 12px 16px; text-align: left; border-top: 1px solid var(--line); }
.recovery__table thead th { border-top: 0; background: var(--bg-tint); font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.recovery__table .recovery__num { text-align: right; white-space: nowrap; }
mark.todo { background: #fff1c2; color: #7a5200; padding: 1px 6px; border-radius: 5px; font-weight: 600; }
.form__legal { font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.form__legal a { color: var(--green-dark); text-decoration: underline; }

/* Footer */
.footer { padding: 28px 0; border-top: 1px solid var(--line); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.footer img { height: 22px; width: auto; }
.footer a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.footer a:hover { color: var(--green-dark); }

/* ---------- Animations d'apparition ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .float { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 64px; }
  .hero__text { text-align: center; }
  .lead { margin: 0 auto; }
  .hero__actions, .hero__facts { justify-content: center; }
  .hero__visual { max-width: 560px; margin: 0 auto; width: 100%; }
  .mock { transform: none; }
  .pains, .modules { grid-template-columns: 1fr 1fr; }
  .custom { grid-template-columns: 1fr; gap: 40px; }
  .contact__inner { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 1024px) {
  .burger { display: block; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 16px 24px 24px; background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: transform .25s ease, opacity .25s ease, visibility .25s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { padding: 12px 14px; font-size: 16px; }
  .nav__cta { margin: 8px 0 0; }
  .header.menu-open { background: #fff; box-shadow: 0 1px 0 var(--line); }
}

@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .steps::before { display: none; }
  .cases { grid-template-columns: 1fr; }
  .compare__row { grid-template-columns: 1fr 1fr; }
  .compare__row > span:first-child { grid-column: 1 / -1; padding-bottom: 0; }
  .compare__row--head > span:first-child { display: none; }
  .team { grid-template-columns: 1fr; text-align: center; gap: 32px; }
  .team__photo { margin: 0 auto; width: 200px; height: 200px; }
  .team .chips { justify-content: center; }
}

@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .section, .contact { padding: 80px 0; }
  .legal, .recovery { padding-top: calc(var(--header-h) + 40px); }
  .legal__list, .legal__row { grid-template-columns: 1fr; }
  .legal__list dd { border-top: 0; padding-top: 0; }
  .legal__row > span + span { padding-top: 0; }
  .hero { padding-top: calc(var(--header-h) + 40px); }
  .lead { font-size: 1.05rem; }
  .hero__actions .btn { width: 100%; }
  .float--1 { left: 8px; bottom: -22px; }
  .float--2 { right: 8px; top: -26px; }
  .mock__body { grid-template-columns: 40px 1fr; min-height: 280px; }
  .mock__side { padding: 12px 8px; }
  .mock__side b { width: 20px; }
  .mock__main { padding: 12px; }
  .mock__kpis strong { font-size: 16px; }
  .cards, .pains, .modules, .custom__grid { grid-template-columns: 1fr; }
  .custom__text .btn { width: 100%; }
  .steps { grid-template-columns: 1fr; }
  .case { padding: 24px; }
  .compare__row > span { padding: 14px 16px; font-size: .92rem; }
  .compare__us { padding-left: 40px !important; }
  .compare__row:not(.compare__row--head) .compare__us::before { left: 14px; }
  .compare__row--head .compare__us { padding-left: 16px !important; }
  .logos li { flex-basis: calc(50% - 7px); }
  .faq summary { padding: 18px; }
  .faq details p { padding: 0 18px 18px; }
  .form { padding: 24px; }
  .form__row { grid-template-columns: 1fr; }
  .footer__inner { justify-content: center; text-align: center; }
}
