/* ==========================================================================
   Informatique Ste-Foy — Business division (/entreprise)
   Standalone design system. Does NOT load Bootstrap / Owl / Animate.
   Keep this file self-contained so the B2B silo stays fast (CWV).
   ========================================================================== */

/* --- Design tokens ------------------------------------------------------ */
:root {
  --navy-900: #070d18;
  --navy-800: #0b1524;
  --navy-700: #122036;
  --navy-600: #1b2d47;
  --ink: #101828;
  --ink-soft: #475467;
  --ink-muted: #667085;
  --line: #e4e7ec;
  --surface: #ffffff;
  --surface-alt: #f7f9fc;
  --teal: #0fb3a4;
  --teal-dark: #0a8b80;
  --teal-soft: #e6f7f5;
  --amber: #f5a524;
  --amber-dark: #d98a0b;
  --danger: #d92d20;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .06);
  --shadow: 0 6px 24px rgba(16, 24, 40, .08);
  --shadow-lg: 0 24px 60px rgba(7, 13, 24, .18);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
  --nav-h: 76px;
}

/* --- Reset -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.18; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.6vw, 3.35rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); }
p  { margin: 0 0 1.15em; }
ul, ol { margin: 0 0 1.15em; padding-left: 1.25em; }
li { margin-bottom: .5em; }
strong { font-weight: 650; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

/* --- Layout primitives -------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.wrap-narrow { max-width: 800px; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--alt { background: var(--surface-alt); }
.section--dark { background: var(--navy-800); color: #dbe4f0; }
.section--dark h2, .section--dark h3 { color: #fff; }
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }
.center { text-align: center; }
.lead { font-size: 1.16rem; color: var(--ink-soft); }
.section--dark .lead { color: #a9bad2; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--teal-dark); margin-bottom: 14px;
}
.section--dark .eyebrow { color: var(--teal); }

/* --- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 15px 28px; border-radius: var(--radius-sm); border: 1.5px solid transparent;
  font-size: 1rem; font-weight: 650; cursor: pointer; text-align: center;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--amber); color: #2b1a00; box-shadow: 0 6px 18px rgba(245, 165, 36, .32); }
.btn-primary:hover { background: var(--amber-dark); color: #2b1a00; }
.btn-teal { background: var(--teal); color: #fff; box-shadow: 0 6px 18px rgba(15, 179, 164, .3); }
.btn-teal:hover { background: var(--teal-dark); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--teal); color: var(--teal-dark); }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row.center { justify-content: center; }

/* --- Header / navigation ------------------------------------------------ */
.nav {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255, 255, 255, .92); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__bar { display: flex; align-items: center; gap: 18px; height: var(--nav-h); }
.nav__brand { display: flex; align-items: center; gap: 11px; margin-right: auto; }
.nav__brand:hover { text-decoration: none; }
.nav__mark {
  width: 40px; height: 40px; border-radius: 10px; flex: 0 0 40px;
  background: linear-gradient(135deg, var(--teal), var(--navy-700));
  color: #fff; font-weight: 800; font-size: 1rem;
  display: flex; align-items: center; justify-content: center; letter-spacing: -.03em;
}
.nav__name { display: flex; flex-direction: column; line-height: 1.15; }
.nav__name b { font-size: 1.02rem; color: var(--ink); font-weight: 700; letter-spacing: -.02em; }
.nav__name span { font-size: .74rem; letter-spacing: .11em; text-transform: uppercase; color: var(--teal-dark); font-weight: 700; }

.nav__links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__links > li { margin: 0; position: relative; }
.nav__links a {
  display: block; padding: 10px 13px; border-radius: 8px;
  color: var(--ink-soft); font-size: .95rem; font-weight: 550;
}
.nav__links a:hover { background: var(--surface-alt); color: var(--ink); text-decoration: none; }
.nav__links a[aria-current="page"] { color: var(--teal-dark); background: var(--teal-soft); }

/* Dropdown */
.nav__drop > button {
  display: flex; align-items: center; gap: 6px; padding: 10px 13px;
  background: none; border: 0; border-radius: 8px; cursor: pointer;
  font: inherit; font-size: .95rem; font-weight: 550; color: var(--ink-soft);
}
.nav__drop > button:hover { background: var(--surface-alt); color: var(--ink); }
.nav__drop > button svg { transition: transform .2s ease; }
.nav__drop[data-open="true"] > button svg { transform: rotate(180deg); }
.nav__panel {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 330px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 10px; list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.nav__drop[data-open="true"] .nav__panel { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__panel li { margin: 0; }
.nav__panel a { padding: 11px 13px; border-radius: 9px; }
.nav__panel b { display: block; color: var(--ink); font-size: .96rem; font-weight: 650; }
.nav__panel small { display: block; color: var(--ink-muted); font-size: .82rem; line-height: 1.45; }

.nav__cta { display: flex; align-items: center; gap: 10px; }
.nav__tel { display: flex; align-items: center; gap: 7px; font-weight: 650; color: var(--ink); font-size: .95rem; white-space: nowrap; }
.nav__tel:hover { color: var(--teal-dark); text-decoration: none; }
.nav__cta .btn { padding: 11px 20px; font-size: .93rem; }

.nav__burger {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line);
  background: #fff; border-radius: 10px; cursor: pointer; padding: 0;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.nav__burger span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .22s ease, opacity .22s ease; }
body.is-menu-open .nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.is-menu-open .nav__burger span:nth-child(2) { opacity: 0; }
body.is-menu-open .nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Hero --------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden; color: #e8eefa;
  background:
    radial-gradient(1000px 460px at 82% -8%, rgba(15, 179, 164, .28), transparent 62%),
    radial-gradient(760px 400px at 6% 108%, rgba(245, 165, 36, .14), transparent 60%),
    linear-gradient(168deg, var(--navy-900), var(--navy-700));
  padding: clamp(52px, 7vw, 92px) 0 clamp(52px, 7vw, 88px);
}
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 52px; align-items: start; }
.hero__sub { font-size: 1.17rem; color: #b6c6dd; max-width: 620px; }
.hero__points { list-style: none; padding: 0; margin: 26px 0 30px; }
.hero__points li { display: flex; gap: 11px; align-items: flex-start; color: #cddaeb; margin-bottom: 11px; }
.hero__points svg { flex: 0 0 21px; margin-top: 3px; color: var(--teal); }
.hero__trust {
  display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 30px;
  padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .13);
  font-size: .9rem; color: #93a6c2;
}
.hero__trust b { color: #fff; }

/* --- Lead form ---------------------------------------------------------- */
.leadform {
  background: #fff; color: var(--ink); border-radius: var(--radius-lg);
  padding: 30px; box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, .5);
}
.leadform__head { margin-bottom: 20px; }
.leadform__head h2 { font-size: 1.42rem; margin-bottom: 8px; }
.leadform__head p { font-size: .94rem; color: var(--ink-soft); margin: 0; }
.field { margin-bottom: 15px; }
.field label { display: block; font-size: .87rem; font-weight: 650; margin-bottom: 6px; color: var(--ink); }
.field .req { color: var(--danger); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; font: inherit; font-size: .97rem;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; color: var(--ink); transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 108px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(15, 179, 164, .14);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.leadform__note { font-size: .8rem; color: var(--ink-muted); margin: 13px 0 0; line-height: 1.55; }
.leadform__msg { display: none; padding: 14px 16px; border-radius: var(--radius-sm); font-size: .93rem; margin-top: 15px; }
.leadform__msg.is-ok { display: block; background: var(--teal-soft); color: #06554d; border: 1px solid #9fded7; }
.leadform__msg.is-err { display: block; background: #fef3f2; color: #912018; border: 1px solid #fda29b; }

/* --- Cards -------------------------------------------------------------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #cfd6e0; }
.card h3 { margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }
.card__icon {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center;
  background: var(--teal-soft); color: var(--teal-dark);
}
.card--dark { background: var(--navy-700); border-color: var(--navy-600); color: #c3d1e5; }
.card--dark:hover { border-color: var(--teal); }

/* Numbered step cards */
.step { position: relative; padding-left: 66px; margin-bottom: 30px; }
.step__n {
  position: absolute; left: 0; top: 0; width: 46px; height: 46px; border-radius: 50%;
  background: var(--navy-800); color: #fff; font-weight: 700; font-size: 1.05rem;
  display: flex; align-items: center; justify-content: center;
}
.step h3 { margin-bottom: 7px; }
.step p:last-child { margin-bottom: 0; }

/* Stats */
.stat { text-align: center; padding: 24px 16px; }
.stat b { display: block; font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; color: var(--teal); letter-spacing: -.03em; line-height: 1.1; }
.stat span { font-size: .93rem; color: var(--ink-soft); }
.section--dark .stat span { color: #9db0cc; }

/* Checklist */
.checks { list-style: none; padding: 0; }
.checks li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 13px; }
.checks svg { flex: 0 0 21px; margin-top: 4px; color: var(--teal); }

/* Pricing */
.price {
  border: 1.5px solid var(--line); border-radius: var(--radius); padding: 30px; background: #fff;
  display: flex; flex-direction: column;
}
.price--featured { border-color: var(--teal); box-shadow: 0 12px 40px rgba(15, 179, 164, .16); position: relative; }
.price--featured::after {
  content: "Le plus demandé"; position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--teal); color: #fff; font-size: .74rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; padding: 5px 14px; border-radius: 20px; white-space: nowrap;
}
.price h3 { margin-bottom: 6px; }
.price__amount { font-size: 1.28rem; font-weight: 700; color: var(--teal-dark); letter-spacing: -.02em; line-height: 1.35; margin-bottom: 0; }
.price__amount small { display: block; margin-top: 5px; font-size: .86rem; font-weight: 500; color: var(--ink-muted); letter-spacing: 0; line-height: 1.5; }
.price ul { list-style: none; padding: 0; margin: 20px 0 24px; }
.price li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.price li svg { flex: 0 0 19px; margin-top: 4px; color: var(--teal); }
.price .btn { margin-top: auto; }

/* --- FAQ (accordion) ---------------------------------------------------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; display: flex; justify-content: space-between; align-items: flex-start; gap: 20px;
  padding: 22px 0; background: none; border: 0; cursor: pointer; text-align: left;
  font: inherit; font-size: 1.07rem; font-weight: 650; color: var(--ink);
}
.faq__q svg { flex: 0 0 22px; margin-top: 3px; color: var(--teal-dark); transition: transform .22s ease; }
.faq__item[data-open="true"] .faq__q svg { transform: rotate(45deg); }
.faq__a { display: none; padding: 0 0 22px; color: var(--ink-soft); max-width: 78ch; }
.faq__item[data-open="true"] .faq__a { display: block; }

/* --- Breadcrumb --------------------------------------------------------- */
.crumbs { font-size: .85rem; color: var(--ink-muted); padding: 16px 0 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.crumbs li { margin: 0; }
.crumbs li::after { content: "›"; margin-left: 8px; color: #b6bfcc; }
.crumbs li:last-child::after { content: ""; }
.hero .crumbs, .hero .crumbs a { color: #8fa3c0; }
.hero .crumbs a:hover { color: #fff; }

/* --- Prose (long-form SEO copy) ----------------------------------------- */
.prose h2 { margin-top: 1.8em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.5em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: 13px 15px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--surface-alt); font-weight: 650; }
.prose blockquote {
  margin: 1.6em 0; padding: 20px 24px; border-left: 4px solid var(--teal);
  background: var(--surface-alt); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 1.05rem; color: var(--ink);
}
.prose blockquote p:last-child { margin-bottom: 0; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* --- CTA band ----------------------------------------------------------- */
.ctaband {
  background: linear-gradient(140deg, var(--navy-800), var(--navy-600));
  color: #fff; border-radius: var(--radius-lg); padding: clamp(34px, 5vw, 56px);
  text-align: center;
}
.ctaband h2 { color: #fff; }
.ctaband p { color: #b6c6dd; max-width: 60ch; margin-left: auto; margin-right: auto; }

/* --- Footer ------------------------------------------------------------- */
.foot { background: var(--navy-900); color: #91a3bf; padding: 62px 0 0; font-size: .93rem; }
.foot a { color: #b9c8de; }
.foot a:hover { color: #fff; }
.foot h4 { color: #fff; font-size: .82rem; letter-spacing: .11em; text-transform: uppercase; margin-bottom: 16px; }
.foot ul { list-style: none; padding: 0; }
.foot li { margin-bottom: 9px; }
.foot__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 38px; }
.foot__bottom {
  margin-top: 46px; border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 22px 0; display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between;
  font-size: .85rem; color: #6f82a0;
}

/* --- Sticky mobile CTA -------------------------------------------------- */
.stickycta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 150; display: none;
  gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line); box-shadow: 0 -4px 20px rgba(16, 24, 40, .1);
}
.stickycta .btn { flex: 1; padding: 13px 12px; font-size: .93rem; }

/* --- Responsive --------------------------------------------------------- */
@media (max-width: 1040px) {
  .hero__grid { grid-template-columns: 1fr; gap: 38px; }
  .foot__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 980px) {
  .nav__burger { display: flex; }
  .nav__cta .btn, .nav__tel { display: none; }
  .nav__links {
    position: fixed; inset: var(--nav-h) 0 0 0; flex-direction: column; align-items: stretch;
    gap: 2px; background: #fff; padding: 18px 20px 40px; overflow-y: auto;
    transform: translateX(100%); transition: transform .26s ease; visibility: hidden;
  }
  body.is-menu-open .nav__links { transform: translateX(0); visibility: visible; }
  body.is-menu-open { overflow: hidden; }
  .nav__links a { padding: 14px 12px; font-size: 1.05rem; }
  .nav__drop > button { width: 100%; justify-content: space-between; padding: 14px 12px; font-size: 1.05rem; }
  .nav__panel {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    border: 0; border-left: 2px solid var(--line); border-radius: 0;
    margin: 0 0 6px 12px; padding: 0 0 0 8px; min-width: 0; display: none;
  }
  .nav__drop[data-open="true"] .nav__panel { display: block; }
  .nav__mobile-cta { display: block !important; margin-top: 18px; }
  .stickycta { display: flex; }
  body { padding-bottom: 74px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .field-row { grid-template-columns: 1fr; }
  .leadform { padding: 22px; }
  .foot__grid { grid-template-columns: 1fr; }
  .step { padding-left: 0; padding-top: 58px; }
  .step__n { top: 0; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
}

.nav__mobile-cta { display: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Print */
@media print {
  .nav, .stickycta, .foot, .leadform { display: none; }
}
