/* ==========================================================================
   Master Technology Systems — Feuille de style principale
   Charte : bleu marine + orange (issue du logo)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Variables & reset
   -------------------------------------------------------------------------- */
:root {
  /* Marque */
  --navy-900: #0a2540;
  --navy-800: #0f3557;
  --navy: #14406b;
  --navy-600: #1d5691;
  --navy-400: #4c7fb5;

  --orange: #f7941e;
  --orange-600: #e07d10;
  --orange-300: #fcc078;
  --red: #ee4b1e;

  /* Neutres */
  --ink: #14243a;
  --body: #4d5c70;
  --muted: #7c8a9b;
  --line: #e2e8f0;
  --line-soft: #eef2f7;
  --surface: #ffffff;
  --surface-alt: #f5f8fb;
  --surface-tint: #eef4fa;

  /* Système */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(10, 37, 64, .06), 0 2px 8px rgba(10, 37, 64, .05);
  --shadow: 0 4px 12px rgba(10, 37, 64, .07), 0 14px 40px rgba(10, 37, 64, .08);
  --shadow-lg: 0 20px 60px rgba(10, 37, 64, .16);
  --ring: 0 0 0 3px rgba(247, 148, 30, .35);

  --font-head: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1180px;
  --gutter: 24px;
  --header-h: 78px;
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--body);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--navy-600); text-decoration: none; }
a:hover { color: var(--orange-600); }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  margin: 0 0 .5em;
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: .002em;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); text-transform: uppercase; }
h2 { font-size: clamp(2rem, 4vw, 2.9rem); text-transform: uppercase; }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
p  { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }

/* --------------------------------------------------------------------------
   2. Utilitaires de mise en page
   -------------------------------------------------------------------------- */
.wrap { width: min(100% - (var(--gutter) * 2), var(--wrap)); margin-inline: auto; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--tint { background: var(--surface-alt); }
.section--navy { background: var(--navy-900); color: rgba(255,255,255,.78); }
.section--navy h2, .section--navy h3 { color: #fff; }

.section-head { max-width: 660px; margin-bottom: 44px; }
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-body);
  font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--orange-600); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 2px; background: var(--orange); }
.section--navy .eyebrow { color: var(--orange); }
.section-head--center .eyebrow::before { display: none; }

.lead { font-size: 1.09rem; color: var(--body); }
.section--navy .lead { color: rgba(255,255,255,.74); }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(228px, 1fr)); }
/* Les quatre pôles : 2 × 2 sur grand écran, pour laisser respirer les listes */
.grid-offers { grid-template-columns: 1fr; }
@media (min-width: 860px) { .grid-offers { grid-template-columns: repeat(2, 1fr); } }

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

/* --------------------------------------------------------------------------
   3. Boutons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 26px;
  border: 2px solid transparent; border-radius: 999px;
  font-size: .95rem; font-weight: 600; letter-spacing: .01em;
  text-align: center; white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease,
              color .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 8px 22px rgba(247,148,30,.34); }
.btn-primary:hover { background: var(--orange-600); color: #fff; box-shadow: 0 12px 28px rgba(247,148,30,.42); }

.btn-navy { background: var(--navy); color: #fff; box-shadow: 0 8px 22px rgba(20,64,107,.28); }
.btn-navy:hover { background: var(--navy-800); color: #fff; }

.btn-ghost { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-ghost:hover { background: #fff; border-color: #fff; color: var(--navy); }

.btn-outline { border-color: var(--line); color: var(--navy); background: #fff; }
.btn-outline:hover { border-color: var(--navy); color: var(--navy); }

.btn-sm { padding: 9px 18px; font-size: .85rem; }
.btn-block { width: 100%; }
.btn-group { display: flex; flex-wrap: wrap; gap: 14px; }

/* --------------------------------------------------------------------------
   4. En-tête / navigation
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--navy-900); color: rgba(255,255,255,.72);
  font-size: .82rem; padding: 8px 0;
}
.topbar__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.topbar__list { display: flex; flex-wrap: wrap; gap: 22px; }
.topbar__list li { display: flex; align-items: center; gap: 7px; }
.topbar__list svg { width: 14px; height: 14px; color: var(--orange); flex: none; }
.topbar a { color: rgba(255,255,255,.72); }
.topbar a:hover { color: #fff; }

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow .25s ease;
}
.site-header.is-stuck { box-shadow: 0 6px 26px rgba(10,37,64,.09); }
.site-header__inner {
  min-height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 46px; width: auto; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative;
  padding: 9px 14px; border-radius: 8px;
  font-size: .93rem; font-weight: 500; color: var(--ink);
  transition: color .18s ease, background-color .18s ease;
}
.nav a:hover { color: var(--navy); background: var(--surface-tint); }
.nav a.is-active { color: var(--navy); font-weight: 650; }
.nav a.is-active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px;
  height: 2.5px; border-radius: 2px; background: var(--orange);
}

.header-actions { display: flex; align-items: center; gap: 12px; flex: none; }
.header-phone {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 650; color: var(--navy); font-size: .95rem;
}
.header-phone svg { width: 17px; height: 17px; color: var(--orange); }

/* Le bouton « devis » du menu ne sert qu'en version mobile */
.nav > .btn { display: none; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px; border: 1px solid var(--line);
  border-radius: 10px; background: #fff; color: var(--navy);
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }

/* La barre de navigation compte 6 entrées : on libère de la place plus tôt */
@media (max-width: 1220px) {
  .header-phone { display: none; }
}
@media (max-width: 1080px) {
  .nav a { padding-inline: 10px; font-size: .89rem; }
}
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: calc(var(--header-h) + 1px) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 12px var(--gutter) 26px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: transform .22s ease, opacity .22s ease, visibility .22s;
  }
  .nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav a { padding: 14px 6px; border-bottom: 1px solid var(--line-soft); border-radius: 0; font-size: 1rem; }
  .nav a.is-active::after { left: 6px; right: auto; width: 22px; bottom: 8px; }
  .nav > .btn { display: inline-flex; margin-top: 18px; border-bottom: 0; }
  .header-actions .btn { display: none; }
}

/* --------------------------------------------------------------------------
   5. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: linear-gradient(150deg, var(--navy-900) 0%, var(--navy) 52%, var(--navy-600) 100%);
  color: rgba(255,255,255,.8);
  padding: clamp(64px, 9vw, 116px) 0 clamp(72px, 10vw, 128px);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image:
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(ellipse 100% 78% at 72% 32%, #000 8%, transparent 72%);
}
.hero::after {
  content: ""; position: absolute; z-index: -1;
  width: 620px; height: 620px; right: -160px; top: -190px; border-radius: 50%;
  background: radial-gradient(circle, rgba(247,148,30,.34) 0%, transparent 66%);
  filter: blur(6px);
}
.hero__inner { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 .line-orange { color: var(--orange); display: block; }
.hero__tag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px 7px 8px; margin-bottom: 22px;
  border: 1px solid rgba(255,255,255,.2); border-radius: 999px;
  background: rgba(255,255,255,.07);
  font-size: .8rem; font-weight: 500; color: rgba(255,255,255,.88);
}
.hero__tag b {
  padding: 3px 10px; border-radius: 999px;
  background: var(--orange); color: #fff;
  font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.hero__sub { font-size: 1.16rem; color: rgba(255,255,255,.8); max-width: 46ch; margin-bottom: 32px; }
.hero__sub b { color: #fff; font-weight: 600; }
.hero .btn-group { margin-bottom: 38px; }

.hero__points { display: flex; flex-wrap: wrap; gap: 12px 30px; }
.hero__points li { display: flex; align-items: center; gap: 9px; font-size: .92rem; color: rgba(255,255,255,.82); }
.hero__points svg { width: 19px; height: 19px; color: var(--orange); flex: none; }

/* Visuel du hero : carte “système” */
.hero__visual { position: relative; }
.hero-card {
  position: relative;
  background: rgba(255,255,255,.075);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius-lg);
  /* La marge basse réserve la place du badge « 24h » qui chevauche la carte */
  padding: 26px 26px 46px;
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-lg);
}
.hero-card__title {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-size: 1.2rem; text-transform: uppercase;
  color: #fff; margin-bottom: 18px; letter-spacing: .02em;
}
.hero-card__title svg { width: 22px; height: 22px; color: var(--orange); }
.hero-card__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.hero-chip {
  display: flex; flex-direction: column; gap: 8px;
  padding: 16px 14px; border-radius: var(--radius);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  transition: background-color .2s ease, transform .2s ease;
}
.hero-chip:hover { background: rgba(255,255,255,.12); transform: translateY(-3px); }
.hero-chip svg { width: 32px; height: 32px; }
.hero-chip > span { font-size: .84rem; font-weight: 600; color: #fff; line-height: 1.3; }
.hero-chip small { display: block; font-size: .74rem; font-weight: 400; color: rgba(255,255,255,.6); margin-top: 2px; }

.hero-badge {
  position: absolute; left: -22px; bottom: -46px;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px; border-radius: var(--radius);
  background: #fff; box-shadow: var(--shadow-lg);
}
.hero-badge strong { font-family: var(--font-head); font-size: 1.9rem; color: var(--navy); line-height: 1; }
.hero-badge span { font-size: .78rem; color: var(--muted); line-height: 1.3; max-width: 12ch; }

@media (max-width: 940px) {
  .hero__inner { grid-template-columns: 1fr; gap: 46px; }
  .hero-badge { left: auto; right: 8px; bottom: -46px; }
}

/* --------------------------------------------------------------------------
   6. Bandeau de réassurance
   -------------------------------------------------------------------------- */
.assurance { background: var(--navy-800); padding: 0; }
.assurance__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}
.assurance__item {
  display: flex; align-items: center; gap: 14px;
  padding: 26px 22px;
  border-right: 1px solid rgba(255,255,255,.09);
}
.assurance__item:last-child { border-right: 0; }
.assurance__item svg { width: 30px; height: 30px; color: var(--orange); flex: none; }
.assurance__item b { display: block; color: #fff; font-size: .95rem; font-weight: 600; }
.assurance__item span { font-size: .82rem; color: rgba(255,255,255,.6); }

/* --------------------------------------------------------------------------
   7. Cartes
   -------------------------------------------------------------------------- */
.card {
  position: relative;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 30px 28px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }

/* Carte entièrement cliquable : elle ne doit pas hériter de la couleur des liens */
a.card { display: block; color: var(--body); }
a.card:hover { color: var(--body); }

.card__icon {
  width: 58px; height: 58px; margin-bottom: 20px;
  display: grid; place-items: center;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--surface-tint), #fff);
  border: 1px solid var(--line);
  color: var(--navy);
}
.card__icon svg { width: 30px; height: 30px; }
.card--accent .card__icon { background: linear-gradient(145deg, var(--orange), var(--red)); border-color: transparent; color: #fff; }

.card h3 { margin-bottom: 10px; }
.card p { font-size: .95rem; }

.card__list { margin-top: 18px; display: grid; gap: 9px; }
.card__list li {
  position: relative; padding-left: 24px;
  font-size: .92rem; color: var(--body);
}
.card__list li::before {
  content: ""; position: absolute; left: 4px; top: .58em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--orange);
}

.card__link {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 20px;
  font-size: .9rem; font-weight: 650; color: var(--navy);
}
.card__link svg { width: 15px; height: 15px; transition: transform .2s ease; }
.card:hover .card__link svg { transform: translateX(4px); }

/* Carte à en-tête coloré (reprise du flyer) */
.offer {
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: transform .22s ease, box-shadow .22s ease;
}
.offer:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.offer__head {
  display: flex; align-items: center; gap: 12px;
  padding: 18px 24px;
  background: linear-gradient(100deg, var(--orange), var(--red));
  color: #fff;
}
.offer:nth-child(2) .offer__head { background: linear-gradient(100deg, var(--orange-600), var(--red)); }
.offer:nth-child(3) .offer__head { background: linear-gradient(100deg, var(--red), #c8341a); }
.offer:nth-child(4) .offer__head { background: linear-gradient(100deg, #c8341a, #9c2510); }
/* Le pôle logiciel se distingue par le bleu de la marque */
.offer.offer--logiciel .offer__head { background: linear-gradient(100deg, var(--navy-600), var(--navy-900)); }
.offer__head svg { width: 24px; height: 24px; flex: none; }
.offer__head h3 {
  color: #fff; margin: 0; font-size: 1.28rem; text-transform: uppercase; letter-spacing: .01em;
}
.offer__body { padding: 26px 24px 30px; flex: 1; display: flex; flex-direction: column; }
.offer__body .card__list { margin-top: 0; flex: 1; }

/* --------------------------------------------------------------------------
   8. Catégories d’équipements (vignettes)
   -------------------------------------------------------------------------- */
.cat-tile {
  display: flex; flex-direction: column; gap: 14px;
  padding: 26px 22px; border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--line); color: var(--body);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.cat-tile:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; color: var(--body); }
.cat-tile svg { width: 46px; height: 46px; }
.cat-tile b { font-family: var(--font-head); font-size: 1.22rem; color: var(--navy); text-transform: uppercase; }
.cat-tile span { font-size: .88rem; }
.cat-tile em {
  font-style: normal; font-size: .78rem; font-weight: 650; color: var(--orange-600);
  display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 8px;
}

/* --------------------------------------------------------------------------
   9. Catalogue produits
   -------------------------------------------------------------------------- */
.catalog-bar {
  position: sticky; top: var(--header-h); z-index: 40;
  background: rgba(255,255,255,.94); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
.catalog-bar__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }

.search {
  position: relative; flex: 1 1 260px; max-width: 340px;
}
.search svg {
  position: absolute; left: 15px; top: 50%; transform: translateY(-50%);
  width: 17px; height: 17px; color: var(--muted); pointer-events: none;
}
.search input {
  width: 100%; padding: 12px 16px 12px 42px;
  border: 1px solid var(--line); border-radius: 999px;
  font: inherit; font-size: .93rem; color: var(--ink); background: #fff;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.search input:focus { outline: none; border-color: var(--orange); box-shadow: var(--ring); }

.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
  padding: 9px 17px; border: 1px solid var(--line); border-radius: 999px;
  background: #fff; color: var(--body);
  font-size: .86rem; font-weight: 500; white-space: nowrap;
  transition: all .18s ease;
}
.filter:hover { border-color: var(--navy-400); color: var(--navy); }
.filter.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }

.catalog-count { margin-left: auto; font-size: .86rem; color: var(--muted); white-space: nowrap; }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 22px; }

.product {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.product:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }

.product__media {
  position: relative;
  display: grid; place-items: center;
  aspect-ratio: 16 / 11;
  background:
    radial-gradient(circle at 50% 42%, #fff 0%, var(--surface-tint) 100%);
  border-bottom: 1px solid var(--line-soft);
}
.product__media svg { width: 96px; height: 96px; }
.product__tag {
  position: absolute; top: 12px; left: 12px;
  padding: 5px 11px; border-radius: 999px;
  background: var(--navy); color: #fff;
  font-size: .68rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase;
}
.product__tag--new { background: var(--orange); }

.product__body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.product__cat { font-size: .72rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; color: var(--orange-600); margin-bottom: 8px; }
.product h3 { font-size: 1.16rem; margin-bottom: 8px; line-height: 1.15; }
.product p { font-size: .88rem; color: var(--muted); margin-bottom: 14px; }

.specs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.specs li {
  padding: 4px 10px; border-radius: 6px;
  background: var(--surface-alt); border: 1px solid var(--line-soft);
  font-size: .74rem; color: var(--body);
}

.product__foot {
  margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line-soft);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.product__price { font-family: var(--font-head); font-size: 1.22rem; color: var(--navy); line-height: 1; }
.product__price small { display: block; font-family: var(--font-body); font-size: .68rem; color: var(--muted); font-weight: 500; letter-spacing: .02em; }

.add-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 15px; border: 0; border-radius: 999px;
  background: var(--navy); color: #fff; font-size: .82rem; font-weight: 600;
  transition: background-color .18s ease, transform .18s ease;
}
.add-btn:hover { background: var(--orange); }
.add-btn.is-added { background: #1a9c5b; }
.add-btn svg { width: 15px; height: 15px; }

.empty-state {
  grid-column: 1 / -1; text-align: center; padding: 70px 20px; color: var(--muted);
}
.empty-state svg { width: 54px; height: 54px; margin: 0 auto 16px; color: var(--line); }

/* --------------------------------------------------------------------------
   10. Panier de devis (bouton flottant + tiroir)
   -------------------------------------------------------------------------- */
.quote-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 70;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border: 0; border-radius: 999px;
  background: var(--navy); color: #fff; font-weight: 600; font-size: .92rem;
  box-shadow: var(--shadow-lg);
  transform: translateY(90px); opacity: 0; pointer-events: none;
  transition: transform .28s cubic-bezier(.22,1,.36,1), opacity .28s ease, background-color .2s ease;
}
.quote-fab.is-visible { transform: translateY(0); opacity: 1; pointer-events: auto; }
.quote-fab:hover { background: var(--orange); }
.quote-fab svg { width: 19px; height: 19px; }
.quote-fab .count {
  min-width: 23px; height: 23px; padding: 0 6px;
  display: grid; place-items: center; border-radius: 999px;
  background: var(--orange); color: #fff; font-size: .76rem; font-weight: 700;
}
.quote-fab:hover .count { background: #fff; color: var(--orange-600); }

.wa-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 69;
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25d366; color: #fff; box-shadow: var(--shadow-lg);
  transition: transform .2s ease;
}
.wa-fab:hover { transform: scale(1.07); color: #fff; }
.wa-fab svg { width: 28px; height: 28px; }
body.has-quote .wa-fab { bottom: 88px; }

/* --------------------------------------------------------------------------
   11. Page devis
   -------------------------------------------------------------------------- */
.quote-layout { display: grid; grid-template-columns: 1.35fr 1fr; gap: 34px; align-items: start; }
@media (max-width: 940px) { .quote-layout { grid-template-columns: 1fr; } }

.quote-item {
  display: grid; grid-template-columns: 74px 1fr auto; gap: 16px; align-items: center;
  padding: 16px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; margin-bottom: 12px;
}
.quote-item__media {
  width: 74px; height: 74px; display: grid; place-items: center;
  background: var(--surface-tint); border-radius: 10px;
}
.quote-item__media svg { width: 46px; height: 46px; }
.quote-item h4 { font-family: var(--font-body); font-size: .98rem; font-weight: 650; color: var(--ink); margin: 0 0 3px; }
.quote-item small { font-size: .8rem; color: var(--muted); }
.quote-item__actions { display: flex; align-items: center; gap: 12px; }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty button {
  width: 32px; height: 32px; border: 0; background: #fff; color: var(--navy);
  font-size: 1.05rem; line-height: 1; transition: background-color .15s ease;
}
.qty button:hover { background: var(--surface-tint); }
.qty span { min-width: 34px; text-align: center; font-size: .9rem; font-weight: 650; color: var(--ink); }

.icon-btn {
  width: 32px; height: 32px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--muted);
  transition: all .16s ease;
}
.icon-btn:hover { border-color: var(--red); color: var(--red); background: #fff5f2; }
.icon-btn svg { width: 15px; height: 15px; }

.panel {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 28px;
}
.panel--sticky { position: sticky; top: calc(var(--header-h) + 24px); }
.panel--tint { background: var(--surface-alt); }

/* --------------------------------------------------------------------------
   12. Formulaires
   -------------------------------------------------------------------------- */
.field { margin-bottom: 16px; }
.field label {
  display: block; margin-bottom: 7px;
  font-size: .84rem; font-weight: 600; color: var(--ink);
}
.field label .req { color: var(--red); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 15px;
  border: 1px solid var(--line); border-radius: 10px;
  font: inherit; font-size: .94rem; color: var(--ink); background: #fff;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--orange); box-shadow: var(--ring);
}
.field input:invalid:not(:placeholder-shown) { border-color: var(--red); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.form-note { font-size: .8rem; color: var(--muted); margin-top: 14px; }

/* --------------------------------------------------------------------------
   13. Blocs divers
   -------------------------------------------------------------------------- */
/* Étapes du process */
.steps { counter-reset: step; display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.step { position: relative; padding: 30px 24px 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; top: -18px; left: 24px;
  font-family: var(--font-head); font-size: 2.4rem; font-weight: 700;
  color: var(--orange); line-height: 1; letter-spacing: -.02em;
}
.step h3 { margin-top: 14px; font-size: 1.16rem; }
.step p { font-size: .91rem; margin: 0; }

/* Chiffres clés */
.stat { text-align: center; padding: 26px 16px; }
.stat b { display: block; font-family: var(--font-head); font-size: clamp(2.4rem, 5vw, 3.3rem); color: var(--orange); line-height: 1; margin-bottom: 8px; }
.stat span { font-size: .9rem; color: rgba(255,255,255,.7); }
.section:not(.section--navy) .stat span { color: var(--muted); }

/* Secteurs */
.sector {
  display: flex; align-items: center; gap: 13px;
  padding: 16px 18px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius);
  font-size: .93rem; font-weight: 550; color: var(--ink);
  transition: border-color .2s ease, transform .2s ease;
}
.sector:hover { border-color: var(--orange); transform: translateY(-3px); }
.sector svg { width: 24px; height: 24px; color: var(--navy-600); flex: none; }

/* Liste à puces cochées */
.check-list { display: grid; gap: 13px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; }
.check-list svg { width: 21px; height: 21px; color: var(--orange); flex: none; margin-top: 2px; }

/* Appel à l’action */
.cta {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-900) 100%);
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 64px);
  color: rgba(255,255,255,.78);
  text-align: center;
}
.cta::after {
  content: ""; position: absolute; z-index: -1;
  width: 480px; height: 480px; left: -140px; bottom: -240px; border-radius: 50%;
  background: radial-gradient(circle, rgba(247,148,30,.3) 0%, transparent 65%);
}
.cta h2 { color: #fff; }
.cta .lead { color: rgba(255,255,255,.76); max-width: 56ch; margin-inline: auto; margin-bottom: 30px; }
.cta .btn-group { justify-content: center; }

/* Contact : blocs coordonnées */
.contact-item {
  display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line-soft);
}
.contact-item:last-child { border-bottom: 0; }
.contact-item__icon {
  width: 46px; height: 46px; flex: none; display: grid; place-items: center;
  border-radius: 12px; background: var(--surface-tint); color: var(--navy);
}
.contact-item__icon svg { width: 21px; height: 21px; }
.contact-item b { display: block; color: var(--ink); font-size: .95rem; margin-bottom: 3px; }
.contact-item span, .contact-item a { font-size: .93rem; color: var(--body); }

.map-frame {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; height: 340px; background: var(--surface-alt);
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Bannière de page interne */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: linear-gradient(140deg, var(--navy-900), var(--navy));
  color: rgba(255,255,255,.76);
  padding: clamp(52px, 7vw, 86px) 0;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 90% at 78% 20%, #000 5%, transparent 70%);
}
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 14px; }
.page-hero .lead { max-width: 62ch; }

.breadcrumb { display: flex; gap: 9px; font-size: .82rem; color: rgba(255,255,255,.55); margin-bottom: 16px; }
.breadcrumb a { color: rgba(255,255,255,.75); }
.breadcrumb a:hover { color: var(--orange); }

/* Accordéon FAQ */
.faq { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin-bottom: 12px; overflow: hidden; }
.faq summary {
  list-style: none; cursor: pointer;
  padding: 19px 54px 19px 22px; position: relative;
  font-weight: 600; color: var(--navy); font-size: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 24px; top: 50%;
  width: 10px; height: 10px; margin-top: -6px;
  border-right: 2px solid var(--orange); border-bottom: 2px solid var(--orange);
  transform: rotate(45deg); transition: transform .22s ease;
}
.faq[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq__body { padding: 0 22px 22px; font-size: .94rem; }

/* Alerte / message */
.alert {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 15px 18px; border-radius: var(--radius);
  background: #f0f9f3; border: 1px solid #bfe5cd; color: #1c6b3f;
  font-size: .9rem; margin-bottom: 18px;
}
.alert svg { width: 19px; height: 19px; flex: none; margin-top: 2px; }
.alert--info { background: var(--surface-tint); border-color: #cddef0; color: var(--navy); }
.alert[hidden] { display: none; }

/* --------------------------------------------------------------------------
   13 bis. Développement d'applications
   -------------------------------------------------------------------------- */
.app-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(316px, 1fr)); gap: 24px; }

.app-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.app-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }

.app-card__head {
  position: relative;
  min-height: 104px; padding: 20px 22px;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 14px;
  background: linear-gradient(135deg, var(--g1), var(--g2));
}
.app-card--bleu   { --g1: #2f6fed; --g2: #1746a8; }
.app-card--violet { --g1: #8b5cf6; --g2: #6127c9; }
.app-card--vert   { --g1: #14b87e; --g2: #067a55; }
.app-card--orange { --g1: #f7941e; --g2: #e2570f; }
.app-card--rose   { --g1: #ef4a7b; --g2: #c81b57; }
.app-card--sante  { --g1: #0ea5a5; --g2: #0b6d75; }

.app-card__icon {
  width: 50px; height: 50px; flex: none;
  display: grid; place-items: center;
  border-radius: 15px;
  background: rgba(255,255,255,.2);
  border: 1px solid rgba(255,255,255,.28);
  color: #fff;
}
.app-card__icon svg { width: 25px; height: 25px; }

.app-card__state {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 999px;
  background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.3);
  color: #fff; font-size: .7rem; font-weight: 650; white-space: nowrap;
}
.app-card__state svg { width: 12px; height: 12px; }

.app-card__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.app-card__body h3 { font-size: 1.42rem; margin-bottom: 4px; }
.app-card__cat {
  font-size: .72rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase;
  color: var(--orange-600); margin-bottom: 14px;
}
.app-card__body > p { font-size: .92rem; color: var(--body); margin-bottom: 18px; }

.app-card__label {
  font-size: .68rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 9px;
}
.tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 20px; }
.tags li {
  padding: 5px 12px; border-radius: 999px;
  background: var(--surface-alt); border: 1px solid var(--line-soft);
  font-size: .78rem; color: var(--body);
}

.app-card .check-list { margin-bottom: 22px; }
.app-card .check-list li { font-size: .9rem; }
.app-card .check-list svg { width: 18px; height: 18px; }

.app-card__foot { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; }
.app-card__foot .btn { flex: 1 1 auto; padding: 11px 18px; font-size: .87rem; }

/* Bandeau d'introduction d'un secteur */
.sector-head {
  display: flex; gap: 20px; align-items: flex-start;
  margin-bottom: 36px; max-width: 900px;
}
.sector-head__icon {
  width: 62px; height: 62px; flex: none;
  display: grid; place-items: center; border-radius: 18px;
  background: linear-gradient(145deg, var(--navy), var(--navy-600));
  color: #fff;
}
.sector-head__icon svg { width: 30px; height: 30px; }
.sector-head h2 { margin-bottom: 10px; }
.sector-head p { font-size: 1.03rem; margin: 0; }
@media (max-width: 560px) {
  .sector-head { flex-direction: column; gap: 16px; }
}

/* Domaine d'expertise (secteur sans produit catalogue) */
.expertise-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); gap: 18px; }
.expertise {
  display: flex; gap: 15px; padding: 22px 20px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .2s ease, transform .2s ease;
}
.expertise:hover { border-color: var(--orange); transform: translateY(-3px); }
.expertise__icon {
  width: 42px; height: 42px; flex: none; display: grid; place-items: center;
  border-radius: 12px; background: var(--surface-tint); color: var(--navy);
}
.expertise__icon svg { width: 20px; height: 20px; }
.expertise b { display: block; color: var(--ink); font-size: .96rem; margin-bottom: 4px; }
.expertise span { font-size: .87rem; color: var(--muted); }

/* Étapes de fabrication d'une application */
.pipeline { display: grid; grid-template-columns: repeat(auto-fit, minmax(196px, 1fr)); gap: 20px; }
.pipeline__item { position: relative; padding-top: 26px; }
.pipeline__item::before {
  content: ""; position: absolute; top: 8px; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--orange), rgba(247,148,30,.15));
}
.pipeline__item::after {
  content: ""; position: absolute; top: 3px; left: 0;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--orange); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--orange);
}
.pipeline__item h3 { font-size: 1.1rem; margin-bottom: 6px; }
.pipeline__item p { font-size: .89rem; margin: 0; }
.section--navy .pipeline__item h3 { color: #fff; }
.section--navy .pipeline__item::after { border-color: var(--navy-900); }

/* --------------------------------------------------------------------------
   14. Pied de page
   -------------------------------------------------------------------------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.62); padding-top: 64px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand img { height: 54px; width: auto; margin-bottom: 18px; filter: brightness(0) invert(1); opacity: .95; }
.footer-brand p { font-size: .9rem; max-width: 34ch; }

.site-footer h4 {
  font-family: var(--font-body); font-size: .78rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 18px;
}
.footer-links { display: grid; gap: 11px; }
.footer-links a { color: rgba(255,255,255,.62); font-size: .92rem; }
.footer-links a:hover { color: var(--orange); }

.footer-contact li { display: flex; gap: 11px; margin-bottom: 14px; }
.footer-contact svg { width: 17px; height: 17px; color: var(--orange); flex: none; margin-top: 3px; }
.footer-contact a { color: rgba(255,255,255,.62); }
.footer-contact a:hover { color: #fff; }

.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a {
  width: 38px; height: 38px; display: grid; place-items: center;
  border-radius: 10px; background: rgba(255,255,255,.08); color: rgba(255,255,255,.8);
  transition: background-color .18s ease, color .18s ease;
}
.socials a:hover { background: var(--orange); color: #fff; }
.socials svg { width: 18px; height: 18px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  font-size: .84rem; color: rgba(255,255,255,.45);
}
.footer-bottom a { color: rgba(255,255,255,.6); }

/* --------------------------------------------------------------------------
   15. Animations
   -------------------------------------------------------------------------- */
/* L'état masqué n'est appliqué que si JavaScript est actif (classe « js » posée
   dans le <head>). Sans JS, tout le contenu reste visible. */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.22,1,.36,1); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

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

/* --------------------------------------------------------------------------
   16. Impression
   -------------------------------------------------------------------------- */
@media print {
  .site-header, .topbar, .site-footer, .quote-fab, .wa-fab, .catalog-bar, .btn { display: none !important; }
  body { color: #000; font-size: 12pt; }
  .section { padding: 12pt 0; }
}
