/* ==========================================================================
   Calaotrade — feuille de style commune
   ========================================================================== */

:root {
  --blue: #3565f2;
  --blue-600: #2a52cf;
  --blue-50: #eef2ff;
  --blue-100: #dde6ff;
  --gold: #e4a300;      /* aligné sur l'orange Calaosoft */
  --gold-50: #fff6e0;
  --ink: #121833;
  --ink-2: #3b4263;
  --muted: #6b7190;
  --line: #e4e7f2;
  --bg: #ffffff;
  --bg-soft: #f6f8fd;
  --green: #14a36b;
  --red: #e0475b;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(18, 24, 51, .04), 0 8px 28px rgba(18, 24, 51, .07);
  --shadow-lg: 0 30px 60px -20px rgba(18, 24, 51, .25);
  --container: 1180px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.container { width: min(var(--container), 100% - 32px); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--ink); color: #c7cbe0; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-head p { font-size: 1.1rem; color: var(--muted); }
.section--dark .section-head p { color: #a9aecb; }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}
.section--dark .eyebrow { color: var(--gold); }
.hl { color: var(--blue); }
.hl-gold {
  background: linear-gradient(transparent 62%, rgba(230, 162, 0, .35) 62%);
  padding: 0 .08em;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: 15px 26px;
  border-radius: 999px;
  font-weight: 700; font-size: 1rem; line-height: 1;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-decoration: none !important;
  font-family: inherit;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 8px 22px -8px rgba(53, 101, 242, .7); }
.btn--primary:hover { background: var(--blue-600); }
.btn--gold { background: var(--gold); color: var(--ink); box-shadow: 0 8px 22px -8px rgba(230, 162, 0, .8); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--white { background: #fff; color: var(--ink); }
.btn--lg { padding: 18px 32px; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn svg { width: 18px; height: 18px; }

/* ---------- Bandeau & header ---------- */
.topbar {
  background: var(--ink); color: #dfe3f5;
  font-size: .85rem; text-align: center; padding: 8px 16px;
}
.topbar strong { color: var(--gold); }
.topbar a { color: #fff; text-decoration: underline; }

.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.header.is-scrolled { border-bottom-color: var(--line); }
.header__inner { display: flex; align-items: center; gap: 28px; height: 74px; }
.logo img { height: 40px; width: auto; }
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav a {
  color: var(--ink-2); font-weight: 600; font-size: .95rem;
  padding: 8px 12px; border-radius: 8px;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--blue); background: var(--blue-50); text-decoration: none; }
.header__cta { display: flex; gap: 10px; align-items: center; }
.header__cta .btn { padding: 12px 20px; font-size: .92rem; }
.header__phone { font-weight: 700; color: var(--ink); font-size: .92rem; white-space: nowrap; }
.burger {
  display: none; margin-left: auto;
  width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; cursor: pointer; align-items: center; justify-content: center;
}
.burger span, .burger span::before, .burger span::after {
  display: block; width: 18px; height: 2px; background: var(--ink); position: relative; content: ""; transition: .2s;
}
.burger span::before { position: absolute; top: -6px; }
.burger span::after { position: absolute; top: 6px; }
.nav-open .burger span { background: transparent; }
.nav-open .burger span::before { top: 0; transform: rotate(45deg); }
.nav-open .burger span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1060px) {
  .header__phone { display: none; }
}
@media (max-width: 920px) {
  .burger { display: inline-flex; }
  .nav, .header__cta { display: none; }
  .nav-open .nav {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: 74px; left: 0; right: 0;
    background: #fff; padding: 12px 16px 20px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .nav-open .nav a { padding: 14px 12px; font-size: 1.05rem; }
  .nav .nav__mobile-cta { display: flex !important; margin-top: 10px; }
}
.nav .nav__mobile-cta { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 104px);
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(53, 101, 242, .12), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(230, 162, 0, .10), transparent 60%);
}
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 14px 6px 6px; font-size: .85rem; font-weight: 600; color: var(--ink-2);
  box-shadow: var(--shadow); margin-bottom: 22px;
}
.hero__badge b { background: var(--blue); color: #fff; border-radius: 999px; padding: 3px 10px; font-size: .75rem; }
.hero h1 { margin-bottom: 20px; }
.hero__lead { font-size: 1.2rem; color: var(--ink-2); max-width: 580px; margin-bottom: 30px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.reassure { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 0; font-size: .92rem; font-weight: 600; color: var(--ink-2); }
.reassure li { display: flex; align-items: center; gap: 7px; }
.reassure li::before {
  content: ""; width: 18px; height: 18px; border-radius: 50%; flex: none;
  background: var(--green) 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='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/11px no-repeat;
}
.section--dark .reassure { color: #dfe3f5; }

@media (max-width: 920px) {
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
}

/* ---------- Mockup téléphone (HTML/CSS) ---------- */
.mock { position: relative; display: flex; justify-content: center; }
.phone {
  width: 300px; max-width: 100%;
  background: var(--ink); border-radius: 44px; padding: 12px;
  box-shadow: var(--shadow-lg); position: relative; z-index: 2;
}
.phone__screen { background: #f4f6fc; border-radius: 34px; overflow: hidden; min-height: 560px; font-size: 13px; }
.phone__status { display: flex; justify-content: space-between; padding: 12px 22px 6px; font-size: 11px; font-weight: 700; color: var(--ink); }
.phone__app-head { padding: 6px 18px 12px; }
.phone__app-head small { color: var(--muted); font-size: 11px; }
.phone__app-head strong { display: block; color: var(--ink); font-size: 16px; }
.offline-pill {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 8px;
  background: var(--gold-50); color: #8a5d00; font-weight: 700; font-size: 10.5px;
  border-radius: 999px; padding: 4px 10px;
}
.offline-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.job {
  background: #fff; margin: 0 12px 10px; border-radius: 16px; padding: 12px 14px;
  border-left: 4px solid var(--blue); box-shadow: 0 1px 3px rgba(18,24,51,.06);
}
.job--done { border-left-color: var(--green); opacity: .8; }
.job--next { border-left-color: var(--gold); }
.job__top { display: flex; justify-content: space-between; align-items: center; font-size: 10.5px; color: var(--muted); font-weight: 600; }
.job__title { color: var(--ink); font-weight: 700; margin: 2px 0; font-size: 13px; }
.job__meta { color: var(--muted); font-size: 11px; }
.tag { font-size: 9.5px; font-weight: 700; border-radius: 6px; padding: 2px 7px; }
.tag--green { background: #e1f6ed; color: var(--green); }
.tag--blue { background: var(--blue-50); color: var(--blue); }
.tag--gold { background: var(--gold-50); color: #8a5d00; }
.checklist { list-style: none; padding: 0; margin: 8px 0 0; font-size: 11px; }
.checklist li { display: flex; gap: 6px; align-items: center; color: var(--ink-2); padding: 2px 0; }
.checklist li::before { content: "✓"; width: 15px; height: 15px; border-radius: 4px; background: var(--green); color: #fff; font-size: 9px; display: grid; place-items: center; font-weight: 800; }
.checklist li.todo::before { content: ""; background: #fff; border: 1.5px solid var(--line); }
.sign {
  margin-top: 8px; border: 1.5px dashed var(--line); border-radius: 10px; height: 46px;
  display: grid; place-items: center; color: var(--muted); font-size: 10px; position: relative;
}
.sign svg { position: absolute; inset: 6px 30px; width: calc(100% - 60px); height: 34px; }
.float-card {
  position: absolute; z-index: 3; background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg);
  padding: 12px 16px; font-size: .82rem; display: flex; align-items: center; gap: 10px; color: var(--ink);
  font-weight: 700; line-height: 1.25;
}
.float-card small { display: block; font-weight: 500; color: var(--muted); }
.float-card .ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-size: 18px; flex: none; }
.float-card--a { top: -22px; left: 0; }
.float-card--b { bottom: -18px; right: 0; }
.float-card--a .ico { background: #e1f6ed; }
.float-card--b .ico { background: var(--blue-50); }
.mock__blob {
  position: absolute; width: 360px; height: 360px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), #6f8ff7); top: 50%; left: 50%;
  transform: translate(-50%, -50%); opacity: .14; filter: blur(2px);
}

/* ---------- Bandeau de preuves ---------- */
.proof { border-block: 1px solid var(--line); background: #fff; }
.proof__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof__item { padding: 28px 20px; text-align: center; border-right: 1px solid var(--line); }
.proof__item:last-child { border-right: 0; }
.proof__num { font-size: 2rem; font-weight: 800; color: var(--ink); line-height: 1.1; letter-spacing: -.02em; }
.proof__num span { color: var(--blue); }
.proof__lbl { font-size: .9rem; color: var(--muted); }
@media (max-width: 720px) {
  .proof__grid { grid-template-columns: repeat(2, 1fr); }
  .proof__item:nth-child(2) { border-right: 0; }
  .proof__item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* ---------- Grilles & cartes ---------- */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--3, .grid--2, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: var(--shadow); }
.card p:last-child { margin-bottom: 0; }
.card__ico {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: var(--blue-50); color: var(--blue); margin-bottom: 18px;
}
.card__ico svg { width: 24px; height: 24px; }
.card__ico--gold { background: var(--gold-50); color: #a87600; }
.card__ico--red { background: #fdecef; color: var(--red); }
.card--pain h3 { font-size: 1.08rem; }
.card--pain p { font-size: .95rem; color: var(--muted); }

/* ---------- Étapes ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 27px; left: 12%; right: 12%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--blue-100) 0 8px, transparent 8px 14px);
}
.step { position: relative; text-align: center; padding: 0 8px; }
.step__num {
  counter-increment: step; width: 56px; height: 56px; border-radius: 50%;
  background: #fff; border: 2px solid var(--blue); color: var(--blue);
  display: grid; place-items: center; font-weight: 800; font-size: 1.2rem; margin: 0 auto 18px;
  position: relative; z-index: 1;
}
.step__num::before { content: counter(step); }
.step p { font-size: .95rem; color: var(--muted); }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .steps::before { display: none; }
}
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Bloc fonctionnalité (texte + visuel) ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feature + .feature { margin-top: 96px; }
.feature--rev .feature__media { order: -1; }
.feature__media {
  background: linear-gradient(135deg, var(--blue-50), #fff); border-radius: 24px; padding: 28px;
  border: 1px solid var(--line);
}
.feature__media img { border-radius: 14px; }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; }
.ticks li { position: relative; padding: 8px 0 8px 34px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 11px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233565f2' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat;
}
.ticks li strong { color: var(--ink); }
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; gap: 32px; }
  .feature--rev .feature__media { order: 0; }
  .feature + .feature { margin-top: 64px; }
}

/* ---------- Mini rapport (visuel HTML) ---------- */
.report {
  background: #fff; border-radius: 16px; box-shadow: var(--shadow); padding: 22px; font-size: .9rem;
}
.report__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 14px; }
.report__head strong { color: var(--ink); display: block; font-size: 1rem; }
.report__head small { color: var(--muted); }
.report__row { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.report__row span:first-child { color: var(--muted); }
.report__row span:last-child { color: var(--ink); font-weight: 600; }
.report__photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0; }
.report__photos div { aspect-ratio: 4/3; border-radius: 8px; background: linear-gradient(135deg, #cfd8f5, #eef2ff); display: grid; place-items: center; color: var(--blue); font-size: 1.3rem; }

/* ---------- Plan de tournée (visuel HTML) ---------- */
.planning { background: #fff; border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; font-size: .85rem; }
.planning__head { display: grid; grid-template-columns: 110px repeat(4, 1fr); background: var(--bg-soft); border-bottom: 1px solid var(--line); font-weight: 700; color: var(--ink); }
.planning__head div, .planning__row div { padding: 10px 8px; }
.planning__row { display: grid; grid-template-columns: 110px repeat(4, 1fr); border-bottom: 1px solid var(--line); align-items: center; }
.planning__row:last-child { border-bottom: 0; }
.planning__who { font-weight: 700; color: var(--ink); font-size: .82rem; }
.slot { border-radius: 8px; padding: 6px 8px !important; font-size: .74rem; font-weight: 600; line-height: 1.25; margin: 4px; }
.slot--b { background: var(--blue-50); color: var(--blue-600); }
.slot--g { background: var(--gold-50); color: #8a5d00; }
.slot--v { background: #e1f6ed; color: #0c7a4f; }

/* ---------- Section hors connexion ---------- */
.offline { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.offline__stat { display: flex; gap: 16px; align-items: baseline; margin: 28px 0; }
.offline__stat b { font-size: 4.5rem; font-weight: 800; color: var(--gold); line-height: 1; }
.offline__places { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: #fff; font-weight: 600; font-size: .92rem;
}
.sync {
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); border-radius: 24px; padding: 28px;
}
.sync__line { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); color: #dfe3f5; }
.sync__line:last-child { border-bottom: 0; }
.sync__dot { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.sync__line b { color: #fff; }
.sync__line small { margin-left: auto; font-size: .78rem; color: #a9aecb; white-space: nowrap; }
@media (max-width: 860px) { .offline { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- Témoignages ---------- */
.testi-main {
  display: grid; grid-template-columns: 1.3fr .7fr; gap: 0; background: #fff; border-radius: 24px;
  border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 22px;
}
.testi-main__quote { padding: clamp(28px, 4vw, 52px); }
.testi-main__quote blockquote { margin: 0 0 24px; font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.4; color: var(--ink); font-weight: 600; letter-spacing: -.01em; }
.testi-main__side { background: var(--blue); color: #fff; padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.testi-main__side b { display: block; font-size: 2.4rem; line-height: 1; font-weight: 800; }
.testi-main__side span { font-size: .92rem; opacity: .85; }
.stars { color: var(--gold); letter-spacing: 2px; font-size: 1rem; margin-bottom: 14px; }
.person { display: flex; align-items: center; gap: 14px; }
.avatar {
  width: 48px; height: 48px; border-radius: 50%; background: var(--blue-50); color: var(--blue);
  display: grid; place-items: center; font-weight: 800; flex: none;
}
.person strong { color: var(--ink); display: block; line-height: 1.2; }
.person small { color: var(--muted); }
.testi { display: flex; flex-direction: column; }
.testi blockquote { margin: 0 0 20px; color: var(--ink); font-size: 1.05rem; flex: 1; }
@media (max-width: 860px) { .testi-main { grid-template-columns: 1fr; } .testi-main__side { flex-direction: row; flex-wrap: wrap; } }

/* ---------- Onglets secteurs ---------- */
.tabs__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 36px; }
.tabs__btn {
  font-family: inherit; font-weight: 700; font-size: .95rem; padding: 12px 20px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--ink-2); cursor: pointer;
}
.tabs__btn[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.tabs__panel { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 4vw, 48px); }
.tabs__panel[hidden] { display: none; }
.compare { display: grid; gap: 12px; }
.compare__col { border-radius: 14px; padding: 18px 20px; }
.compare__col h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 10px; }
.compare__col ul { list-style: none; padding: 0; margin: 0; font-size: .93rem; }
.compare__col li { padding: 4px 0 4px 22px; position: relative; }
.compare--before { background: #fdf1f3; }
.compare--before h4 { color: var(--red); }
.compare--before li::before { content: "✕"; position: absolute; left: 0; color: var(--red); font-weight: 800; }
.compare--after { background: #e9f8f1; }
.compare--after h4 { color: var(--green); }
.compare--after li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }
@media (max-width: 860px) { .tabs__panel { grid-template-columns: 1fr; } }

/* ---------- Définition (GEO) ---------- */
.definition {
  background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--blue);
  border-radius: var(--radius); padding: clamp(24px, 4vw, 40px);
}
.definition dfn { font-style: normal; font-weight: 800; color: var(--ink); }
.definition__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 28px; margin: 18px 0 0; padding: 0; list-style: none; }
.definition__list li { padding-left: 26px; position: relative; }
.definition__list li::before { content: counter(li); counter-increment: li; position: absolute; left: 0; top: 2px; width: 19px; height: 19px; border-radius: 50%; background: var(--blue); color: #fff; font-size: .7rem; font-weight: 800; display: grid; place-items: center; }
.definition__list { counter-reset: li; }
@media (max-width: 640px) { .definition__list { grid-template-columns: 1fr; } }

/* ---------- Intégrations ---------- */
.integrations { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.hub { position: relative; aspect-ratio: 1; max-width: 440px; margin: 0 auto; width: 100%; }
.hub__center {
  position: absolute; inset: 34%; background: #fff; border-radius: 50%; box-shadow: var(--shadow-lg);
  display: grid; place-items: center; padding: 22px;
}
.hub__center img { width: 100%; height: auto; }
.hub__ring { position: absolute; inset: 8%; border: 2px dashed var(--blue-100); border-radius: 50%; }
.hub__node {
  position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 8px 14px;
  font-weight: 700; font-size: .85rem; color: var(--ink); box-shadow: var(--shadow); transform: translate(-50%, -50%); white-space: nowrap;
}
@media (max-width: 860px) { .integrations { grid-template-columns: 1fr; } }

/* ---------- Tarifs ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; }
.plan--featured { border: 2px solid var(--blue); box-shadow: var(--shadow-lg); position: relative; }
.plan--featured::before {
  content: "Le plus choisi"; position: absolute; top: -14px; left: 32px; background: var(--blue); color: #fff;
  font-size: .75rem; font-weight: 700; padding: 5px 12px; border-radius: 999px;
}
.plan h3 { font-size: 1.3rem; margin-bottom: 6px; }
.plan__desc { color: var(--muted); font-size: .95rem; min-height: 3em; }
.plan__price { margin: 14px 0 4px; color: var(--ink); }
.plan__price b { font-size: 3rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.plan__price span { color: var(--muted); font-size: .9rem; }
.plan__note { font-size: .82rem; color: var(--muted); margin-bottom: 20px; }
.plan .ticks { margin: 0 0 28px; flex: 1; }
.plan .ticks li { font-size: .95rem; padding-top: 6px; padding-bottom: 6px; }
.plan .ticks li::before { top: 8px; }
@media (max-width: 960px) { .pricing { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }

.price-teaser {
  display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center;
  background: linear-gradient(120deg, var(--blue), #5b82f6); color: #fff; border-radius: 28px; padding: clamp(28px, 5vw, 56px);
}
.price-teaser h2 { color: #fff; }
.price-teaser p { color: #e3e9ff; margin: 0; }
.price-teaser__price { text-align: right; }
.price-teaser__price b { font-size: 4rem; font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.price-teaser__price small { display: block; color: #e3e9ff; }
@media (max-width: 760px) { .price-teaser { grid-template-columns: 1fr; } .price-teaser__price { text-align: left; } }

/* Calculateur */
.calc { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(22px, 4vw, 40px); }
.calc__users { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.calc__users input[type="range"] { flex: 1; min-width: 180px; accent-color: var(--blue); }
.calc__users output { font-weight: 800; font-size: 1.5rem; color: var(--ink); min-width: 3ch; }
.opt { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 8px; cursor: pointer; }
.opt:hover { border-color: var(--blue-100); background: var(--bg-soft); }
.opt input { width: 18px; height: 18px; accent-color: var(--blue); flex: none; }
.opt span { flex: 1; font-size: .95rem; }
.opt span strong { color: var(--ink); display: block; }
.opt span small { color: var(--muted); }
.opt em { font-style: normal; font-weight: 700; color: var(--ink); white-space: nowrap; }
.calc__total { background: var(--ink); color: #c7cbe0; border-radius: 18px; padding: 28px; position: sticky; top: 96px; align-self: start; }
.calc__total b { display: block; color: #fff; font-size: 2.8rem; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
.calc__line { display: flex; justify-content: space-between; font-size: .9rem; padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } .calc__total { position: static; } }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; font-weight: 700; color: var(--ink); font-size: 1.08rem; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 50%; background: var(--blue-50); color: var(--blue);
  display: grid; place-items: center; font-size: 1.3rem; font-weight: 600; transition: transform .2s;
}
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 0 22px; color: var(--ink-2); }

/* ---------- CTA final ---------- */
.cta-final { text-align: center; }
.cta-final h2 { color: #fff; max-width: 820px; margin-inline: auto; }
.cta-final p { color: #c7cbe0; font-size: 1.15rem; max-width: 640px; margin: 0 auto 32px; }
.cta-final .reassure { justify-content: center; margin-top: 28px; }
.cta-final__btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.cta-final__btns .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .25); }
.cta-final__btns .btn--ghost:hover { border-color: #fff; }

/* ---------- Formulaire ---------- */
.form-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.form { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-lg); }
.form h2 { font-size: 1.6rem; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; color: var(--ink); font-size: .9rem; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: 1rem; padding: 13px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-50); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form__legal { font-size: .78rem; color: var(--muted); margin-top: 14px; }
.form__success { display: none; text-align: center; padding: 20px 0; }
.form.is-sent form { display: none; }
.form.is-sent .form__success { display: block; }
.form__success .card__ico { margin: 0 auto 18px; background: #e1f6ed; color: var(--green); width: 64px; height: 64px; }
.choice { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.choice label { border: 1.5px solid var(--line); border-radius: 12px; padding: 12px; cursor: pointer; font-weight: 700; color: var(--ink); font-size: .92rem; display: flex; gap: 8px; align-items: center; }
.choice input { accent-color: var(--blue); }
.choice label:has(input:checked) { border-color: var(--blue); background: var(--blue-50); }
@media (max-width: 860px) { .form-wrap { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; } .choice label { padding: 10px 8px; font-size: .85rem; } }

/* ---------- Page header (pages internes) ---------- */
.page-hero { padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 5vw, 64px); background: radial-gradient(900px 400px at 80% 0%, rgba(53, 101, 242, .1), transparent 60%); }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.1rem); max-width: 900px; }
.page-hero p { font-size: 1.15rem; max-width: 720px; }
.page-hero--center { text-align: center; }
.page-hero--center h1, .page-hero--center p { margin-inline: auto; }
.page-hero--center .hero__ctas, .page-hero--center .reassure { justify-content: center; }
.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--muted); }

/* Tableau comparatif */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
table.cmp { width: 100%; border-collapse: collapse; min-width: 620px; font-size: .95rem; }
table.cmp th, table.cmp td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.cmp thead th { background: var(--bg-soft); color: var(--ink); font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; }
table.cmp thead th.us { background: var(--blue); color: #fff; }
table.cmp td.us { background: #f7f9ff; font-weight: 600; color: var(--ink); }
table.cmp tr:last-child td { border-bottom: 0; }
.yes { color: var(--green); font-weight: 800; }
.no { color: var(--red); font-weight: 800; }

/* Module cards */
.module { position: relative; }
.module__tag { position: absolute; top: 24px; right: 24px; font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--bg-soft); color: var(--muted); }
.module__tag--inc { background: #e1f6ed; color: var(--green); }
.module ul { margin: 12px 0 0; padding-left: 1.1em; font-size: .93rem; color: var(--ink-2); }
.module ul li { padding: 2px 0; }
.module--soon { border-style: dashed; }
.module__tag--soon { background: var(--gold-50); color: #8a5d00; }

/* ---------- Footer ---------- */
.footer { background: #0c1126; color: #9ea4c4; padding: 72px 0 28px; font-size: .93rem; }
.footer a { color: #d5d9ee; }
.footer h4 { color: #fff; font-size: .95rem; margin-bottom: 16px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { padding: 5px 0; }
.footer__logo { background: #fff; display: inline-block; padding: 10px 14px; border-radius: 12px; margin-bottom: 18px; }
.footer__logo img { height: 34px; width: auto; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 48px; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .82rem; }
.footer__stores { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.footer__stores img { height: 40px; width: auto; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

/* Barre CTA mobile collante */
.sticky-cta {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 40; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(18, 24, 51, .08);
  transform: translateY(110%); transition: transform .25s;
}
.sticky-cta.is-visible { transform: none; }
@media (max-width: 720px) { .sticky-cta { display: flex; gap: 8px; } .sticky-cta .btn { flex: 1; padding: 14px 12px; } body { padding-bottom: 0; } }

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

.center { text-align: center; }
.mt-lg { margin-top: 48px; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }

/* Ajustements mobile */
.hero__badge b { white-space: nowrap; }
.steps--list::before { display: none; }
@media (max-width: 520px) {
  .hero__badge { font-size: .78rem; }
  .hero__ctas .btn { flex: 1 1 100%; }
}

/* ---------- Démo intégrée au formulaire (Calendly) ---------- */
form.is-demo > :not(h2):not(.choice):not(.form-demo) { display: none !important; }
.form-demo__intro p { color: var(--muted); font-size: .97rem; }
.form-demo__intro .btn { margin: 6px 0 12px; }
.form-demo.is-loaded { margin: 0 -8px; border-radius: 14px; overflow: hidden; }

/* Bandeau de preuves à 3 chiffres (page fonctionnalités) */
.proof__grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 720px) {
  .proof__grid--3 { grid-template-columns: repeat(3, 1fr); }
  .proof__grid--3 .proof__item { border-bottom: 0; padding: 22px 8px; }
  .proof__grid--3 .proof__item:nth-child(2) { border-right: 1px solid var(--line); }
  .proof__grid--3 .proof__num { font-size: 1.6rem; }
}

/* ---------- Bouton « Revenir en haut » ---------- */
.haut {
  position: fixed; right: 20px; bottom: 20px; z-index: 45;
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; background: var(--blue); color: #fff;
  box-shadow: 0 10px 24px -8px rgba(53, 101, 242, .7);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .2s, transform .2s, visibility .2s, background .15s;
}
.haut svg { width: 22px; height: 22px; }
.haut:hover { background: var(--blue-600); }
.haut:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.haut.is-visible { opacity: 1; visibility: visible; transform: none; }
/* Sur mobile, au-dessus de la barre d'action fixe */
@media (max-width: 720px) { .haut { right: 14px; bottom: 84px; width: 44px; height: 44px; } }
@media (prefers-reduced-motion: reduce) { .haut { transition: none; } }
