/* =============================================================
   CLEARR v2 — Design system du site public
   Voir infos/04-design-system-v2.md
   ============================================================= */

/* -------------------------------------------------------------
   1. TOKENS
   ------------------------------------------------------------- */
:root {
  /* Neutres */
  --c-black:      #05070D;
  --c-ink:        #0A2540;
  --c-white:      #FFFFFF;
  --c-snow:       #F7F9FC;
  --c-line:       #E5E9F0;
  --c-line-dark:  #1C2230;
  --c-card-dark:  #0F131C;
  --c-muted:      #616E7C;
  --c-muted-dark: #8A94A6;

  /* Accent — vert Clearr */
  --c-green:     #2ECC71;
  --c-green-600: #22B463;
  --c-green-700: #17A055;
  --c-mint:      #6EF7B0;
  --c-teal:      #12D9C4;

  /* Sémantique */
  --c-danger:  #FF5A5A;
  --c-warning: #FFB020;
  --c-info:    #3B82F6;

  /* Gradients */
  --g-brand: linear-gradient(100deg, #17A055 0%, #2ECC71 45%, #6EF7B0 100%);
  --g-cool:  linear-gradient(135deg, #0A2540 0%, #12D9C4 100%);
  --g-vivid: linear-gradient(104deg, #12D9C4 0%, #2ECC71 50%, #6EF7B0 100%);
  --g-dark:  radial-gradient(60% 60% at 50% 0%, rgba(46,204,113,.18), transparent 70%);

  /* Typographie */
  --f-display: 'Inter Tight', Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --f-mono: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Consolas, monospace;

  /* Grille */
  --container: 1240px;
  --container-narrow: 880px;
  --gutter: 24px;

  --s-1: 8px;  --s-2: 16px; --s-3: 24px; --s-4: 32px;
  --s-5: 48px; --s-6: 64px; --s-7: 96px; --s-8: 128px;
  --section-y: clamp(72px, 9vw, 128px);

  /* Formes */
  --r-sm: 8px; --r-md: 14px; --r-lg: 24px; --r-xl: 32px; --r-pill: 999px;

  --shadow-card:  0 1px 2px rgba(10,37,64,.04), 0 8px 24px rgba(10,37,64,.06);
  --shadow-float: 0 30px 60px rgba(10,37,64,.16);
  --shadow-glow:  0 0 0 1px rgba(46,204,113,.25), 0 20px 60px rgba(46,204,113,.18);

  --ease: cubic-bezier(.16, 1, .3, 1);
  --t-fast: .18s ease;
  --t-base: .28s var(--ease);
}


/* -------------------------------------------------------------
   2. RESET & BASE
   ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: var(--f-display);
  font-size: 16px;
  line-height: 1.65;
  color: var(--c-ink);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

button, input, select, textarea { font: inherit; color: inherit; }

button { background: none; border: 0; cursor: pointer; }

ul, ol { list-style: none; }

::selection { background: var(--c-mint); color: var(--c-black); }

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


/* -------------------------------------------------------------
   3. TYPOGRAPHIE
   ------------------------------------------------------------- */
h1, h2, h3, h4, h5 {
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.03em;
  text-wrap: balance;
}

h1, .h1 {
  font-size: clamp(40px, 5.2vw, 68px);
  line-height: 1.05;
  letter-spacing: -.04em;
}

.h-xl {
  font-size: clamp(36px, 4.6vw, 60px);
  line-height: 1.06;
  letter-spacing: -.035em;
}

h2, .h2 {
  font-size: clamp(30px, 3.2vw, 42px);
  line-height: 1.12;
}

h3, .h3 { font-size: clamp(20px, 1.6vw, 24px); line-height: 1.25; letter-spacing: -.02em; }
h4, .h4 { font-size: 18px; line-height: 1.35; letter-spacing: -.01em; }

p { text-wrap: pretty; }

.lede {
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.6;
  color: var(--c-muted);
  max-width: 62ch;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-green-700);
}

.small { font-size: 14px; }
.muted { color: var(--c-muted); }
.mono  { font-family: var(--f-mono); font-size: .92em; }

/* Texte en dégradé.
   Sur fond clair on évite l'extrémité mint, trop peu contrastée :
   le dégradé va du vert profond au teal. Sur fond sombre, la version
   claire reprend le mint. */
.grad-text {
  background: linear-gradient(100deg, #0E8F4C 0%, #22B463 45%, #12A99B 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.section--dark .grad-text,
.cta-band--dark .grad-text,
.grad-text--light {
  background-image: linear-gradient(100deg, #2ECC71 0%, #6EF7B0 55%, #34E7D4 100%);
}


/* -------------------------------------------------------------
   4. LAYOUT
   ------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: var(--section-y); position: relative; }
.section--snow  { background: var(--c-snow); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }

.section--dark {
  background: var(--c-black);
  color: var(--c-white);
  position: relative;
  isolation: isolate;
}
.section--dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--g-dark);
  pointer-events: none;
  z-index: -1;
}
.section--dark h1, .section--dark h2,
.section--dark h3, .section--dark h4 { color: var(--c-white); }
.section--dark .lede,
.section--dark .muted { color: var(--c-muted-dark); }
.section--dark .eyebrow { color: var(--c-mint); }

/* En-tête de section */
.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head h2 { margin-bottom: 18px; }
.section-head--center .lede { margin-inline: auto; }

/* Grilles */
.grid { display: grid; gap: var(--s-3); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.stack   { display: flex; flex-direction: column; gap: var(--s-2); }
.row     { display: flex; gap: var(--s-2); align-items: center; }
.row--wrap { flex-wrap: wrap; }

.mt-1 { margin-top: var(--s-1); }  .mt-2 { margin-top: var(--s-2); }
.mt-3 { margin-top: var(--s-3); }  .mt-4 { margin-top: var(--s-4); }
.mt-5 { margin-top: var(--s-5); }  .mt-6 { margin-top: var(--s-6); }
.mb-2 { margin-bottom: var(--s-2); } .mb-3 { margin-bottom: var(--s-3); }
.mb-4 { margin-bottom: var(--s-4); }
.text-center { text-align: center; }


/* -------------------------------------------------------------
   5. BOUTONS
   ------------------------------------------------------------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--c-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -.01em;
  line-height: 1.2;
  white-space: nowrap;
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  cursor: pointer;
  transition: transform var(--t-fast), box-shadow var(--t-fast),
              background-color var(--t-fast), border-color var(--t-fast), opacity var(--t-fast);
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn svg { width: 17px; height: 17px; flex: none; }

.btn-primary {
  background: var(--g-brand);
  background-size: 160% 100%;
  color: var(--c-snow);
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(46,204,113,.28);
}
.btn-primary:hover {
  background-position: 100% 0;
  color: var(--c-white);
  box-shadow: 0 10px 28px rgba(46,204,113,.4);
}

.btn-dark  { background: var(--c-ink);   color: #fff; }
.btn-dark:hover { background: var(--c-black); box-shadow: 0 10px 26px rgba(10,37,64,.28); }

.btn-light { background: #fff; color: var(--c-ink); font-weight: 600; }
.btn-light:hover { box-shadow: 0 10px 26px rgba(0,0,0,.18); }

.btn-ghost { border: 1px solid var(--c-line); background: #fff; }
.btn-ghost:hover { border-color: var(--c-ink); }

.section--dark .btn-ghost,
.btn-ghost--dark {
  border-color: rgba(255,255,255,.22);
  background: transparent;
  color: #fff;
}
.section--dark .btn-ghost:hover,
.btn-ghost--dark:hover { border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.06); }

.btn-lg { padding: 16px 30px; font-size: 16px; }
.btn-sm { padding: 9px 17px;  font-size: 14px; }
.btn-block { width: 100%; }

.btn[disabled], .btn.is-loading { opacity: .6; pointer-events: none; }

/* Lien fléché */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 15px;
  font-weight: 500;
  color: var(--c-green-700);
  transition: gap var(--t-fast);
}
.link-arrow:hover { gap: 12px; }
.link-arrow svg { width: 15px; height: 15px; }
.section--dark .link-arrow { color: var(--c-mint); }


/* -------------------------------------------------------------
   6. CARDS
   ------------------------------------------------------------- */
.card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: var(--s-4);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.card--hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: #D6DEEA;
}
.card h3 { margin-bottom: 10px; }
.card p  { color: var(--c-muted); font-size: 15px; }

.card--dark {
  background: var(--c-card-dark);
  border-color: var(--c-line-dark);
  color: #fff;
}
.card--dark p { color: var(--c-muted-dark); }
.card--dark.card--hover:hover { border-color: rgba(46,204,113,.4); }

.card--flush { padding: 0; overflow: hidden; }

/* Icône de card */
.card-icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(46,204,113,.1);
  color: var(--c-green-700);
  margin-bottom: 18px;
}
.card-icon svg { width: 21px; height: 21px; }
.card--dark .card-icon { background: rgba(46,204,113,.14); color: var(--c-mint); }

/* Bento : grille 6 colonnes à spans inégaux */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--s-3);
}
.bento > * { grid-column: span 2; }
.bento > .bento-lg { grid-column: span 3; }
.bento > .bento-full { grid-column: span 6; }


/* -------------------------------------------------------------
   7. PANNEAU PRODUIT (screenshot dans un cadre gradient)
   ------------------------------------------------------------- */
.panel-product {
  position: relative;
  border-radius: var(--r-lg);
  background: var(--g-cool);
  padding: clamp(20px, 3vw, 46px);
  overflow: hidden;
  isolation: isolate;
}
.panel-product::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 60% at 20% 0%, rgba(255,255,255,.16), transparent 60%);
  pointer-events: none;
}
.panel-product img {
  width: 100%;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-float);
}
.panel-product--brand { background: var(--g-brand); }
.panel-product--dark  { background: linear-gradient(150deg, #071018 0%, #0F2E24 60%, #17A055 130%); }

/* Bande full-bleed */
.bleed { width: 100vw; margin-left: 50%; transform: translateX(-50%); }


/* -------------------------------------------------------------
   8. BANDE DE STATISTIQUES
   ------------------------------------------------------------- */
.stat-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--c-line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.section--dark .stat-band { background: var(--c-line-dark); }

.stat {
  background: #fff;
  padding: clamp(24px, 3vw, 36px) clamp(16px, 2vw, 28px);
}
.section--dark .stat { background: var(--c-black); }

.stat-value {
  font-size: clamp(32px, 3.6vw, 52px);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-value--grad {
  background: var(--g-brand);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  text-align: center;
}
.stat-label { font-size: 14px; color: var(--c-muted); text-align: center; }
.section--dark .stat-label { color: var(--c-muted-dark); }

/* Variante sans fond (simples colonnes séparées par des filets) */
.stat-band--plain { background: none; gap: 0; }
.stat-band--plain .stat { border-left: 1px solid var(--c-line-dark); background: none; }
.stat-band--plain .stat:first-child { border-left: 0; padding-left: 0; }


/* -------------------------------------------------------------
   9. RANGÉE FEATURE (image / texte alternés)
   ------------------------------------------------------------- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.feature-row + .feature-row { margin-top: clamp(56px, 7vw, 104px); }
.feature-row--reverse .feature-row__media { order: 2; }
.feature-row__body h3 { margin-bottom: 14px; font-size: clamp(24px, 2.4vw, 32px); }
.feature-row__body p  { color: var(--c-muted); font-size: 17px; }
.feature-row__body .eyebrow { margin-bottom: 12px; }

/* Numéro d'étape */
.step-num {
  display: inline-grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: var(--r-pill);
  background: var(--g-brand);
  color: var(--c-snow);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 16px;
}


/* -------------------------------------------------------------
   10. BANDE CTA GRADIENT
   ------------------------------------------------------------- */
.cta-band {
  background: var(--g-vivid);
  background-size: 180% 180%;
  border-radius: var(--r-xl);
  padding: clamp(40px, 6vw, 80px) clamp(24px, 5vw, 72px);
  text-align: center;
  color: var(--c-black);
  position: relative;
  overflow: hidden;
}
.cta-band h2 { color: var(--c-snow); margin-bottom: 14px; }
.cta-band p  { color: var(--c-snow); margin: 0 auto 28px; font-size: 17px; }
.cta-band--dark { background: var(--c-black); color: #fff; }
.cta-band--dark h2 { color: #fff; }
.cta-band--dark p  { color: var(--c-muted-dark); }


/* -------------------------------------------------------------
   11. TÉMOIGNAGES
   ------------------------------------------------------------- */
.quote-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.quote-card__media { position: relative; aspect-ratio: 5 / 4; background: var(--c-snow); }
.quote-card__media img { width: 100%; height: 100%; object-fit: cover; }

.quote-card__stat {
  position: absolute;
  right: 14px; bottom: 14px;
  background: var(--g-brand);
  color: var(--c-snow);
  border-radius: var(--r-sm);
  padding: 10px 14px;
  box-shadow: 0 8px 22px rgba(0,0,0,.18);
}
.quote-card__stat b { display: block; font-size: 21px; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.quote-card__stat span { font-size: 11px; opacity: .78; }

.quote-card__body { padding: var(--s-3); display: flex; flex-direction: column; gap: 14px; flex: 1; }
.quote-card blockquote { font-size: 16px; line-height: 1.55; letter-spacing: -.01em; }
.quote-card cite { font-style: normal; font-size: 13px; color: var(--c-muted); margin-top: auto; }
.quote-card cite b { display: block; color: var(--c-ink); font-weight: 500; }


/* -------------------------------------------------------------
   12. LOGO WALL (marquee)
   ------------------------------------------------------------- */
.logo-wall {
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logo-wall__track {
  display: flex;
  gap: clamp(36px, 5vw, 64px);
  width: max-content;
  animation: marquee 38s linear infinite;
}
.logo-wall:hover .logo-wall__track { animation-play-state: paused; }
.logo-wall img {
  height: 26px;
  width: auto;
  opacity: .45;
  filter: grayscale(1);
  transition: opacity var(--t-fast), filter var(--t-fast);
}
.logo-wall img:hover { opacity: .9; filter: grayscale(0); }
.section--dark .logo-wall img { opacity: .5; filter: grayscale(1) invert(1) brightness(1.6); }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}


/* -------------------------------------------------------------
   13. BADGES & PASTILLES
   ------------------------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -.005em;
  background: var(--c-snow);
  color: var(--c-muted);
  border: 1px solid var(--c-line);
}
.badge--brand  { background: rgba(46,204,113,.12); color: var(--c-green-700); border-color: rgba(46,204,113,.25); }
.badge--dark   { background: rgba(255,255,255,.07); color: #fff; border-color: rgba(255,255,255,.14); }
.badge--danger { background: rgba(255,90,90,.1);  color: #D93A3A; border-color: rgba(255,90,90,.22); }

/* Puce « live » avec halo pulsé */
.pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--c-green);
  position: relative;
  flex: none;
}
.pulse-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--c-green);
  animation: pulse-ring 2s var(--ease) infinite;
}
@keyframes pulse-ring {
  0%   { transform: scale(.6); opacity: .9; }
  80%, 100% { transform: scale(1.8); opacity: 0; }
}


/* -------------------------------------------------------------
   14. FAQ (accordéon natif)
   ------------------------------------------------------------- */
.faq { border-top: 1px solid var(--c-line); }
.faq details { border-bottom: 1px solid var(--c-line); }

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  cursor: pointer;
  font-size: clamp(16px, 1.4vw, 18px);
  font-weight: 500;
  letter-spacing: -.015em;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: '';
  flex: none;
  width: 11px; height: 11px;
  border-right: 2px solid var(--c-muted);
  border-bottom: 2px solid var(--c-muted);
  transform: rotate(45deg);
  transition: transform var(--t-base);
}
.faq details[open] summary::after { transform: rotate(-135deg); }

.faq__answer { padding: 0 0 24px; color: var(--c-muted); max-width: 72ch; }
.faq details[open] .faq__answer { animation: faq-in .32s var(--ease); }

@keyframes faq-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}


/* -------------------------------------------------------------
   15. TARIFS
   ------------------------------------------------------------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-2);
  align-items: stretch;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: var(--s-4) var(--s-3);
  position: relative;
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }

.pricing-card.is-featured {
  border-color: transparent;
  box-shadow: var(--shadow-glow);
}
.pricing-card__badge {
  position: absolute;
  top: -11px; left: 50%;
  transform: translateX(-50%);
  background: var(--g-brand);
  color: var(--c-snow);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .02em;
  padding: 5px 13px;
  border-radius: var(--r-pill);
  white-space: nowrap;
}
.pricing-card__name { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.pricing-card__pitch { font-size: 13px; color: var(--c-muted); min-height: 40px; }
.pricing-card__price {
  font-size: 40px; font-weight: 500; letter-spacing: -.04em; line-height: 1;
  margin: 18px 0 4px;
}
.pricing-card__period { font-size: 13px; color: var(--c-muted); margin-bottom: 22px; }

.pricing-card__features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 26px; flex: 1; }
.pricing-card__features li {
  display: flex; gap: 9px;
  font-size: 14px; line-height: 1.45;
  color: var(--c-muted);
}
.pricing-card__features li::before {
  content: '';
  flex: none;
  width: 15px; height: 15px;
  margin-top: 3px;
  border-radius: 50%;
  background: rgba(46,204,113,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.2 2.2 4.8-4.8' fill='none' stroke='%2317A055' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat;
}


/* -------------------------------------------------------------
   16. HEADER
   ------------------------------------------------------------- */
.announce {
  background: var(--c-black);
  color: #fff;
  font-size: 13.5px;
  text-align: center;
  padding: 10px 44px 10px 20px;
  position: relative;
}
.announce a { color: var(--c-mint); text-decoration: underline; text-underline-offset: 3px; }
.announce__close {
  position: absolute;
  right: 14px; top: 50%;
  transform: translateY(-50%);
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: rgba(255,255,255,.6);
}
.announce__close:hover { background: rgba(255,255,255,.1); color: #fff; }

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-base), box-shadow var(--t-base), background-color var(--t-base);
}
.header.is-stuck {
  border-bottom-color: var(--c-line);
  box-shadow: 0 4px 20px rgba(10,37,64,.05);
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  height: 68px;
}
.nav__logo img { height: 27px; }
.nav__menu { display: flex; align-items: center; gap: 4px; margin-left: 14px; }

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 9px 13px;
  font-size: 14.5px;
  font-weight: 450;
  border-radius: var(--r-sm);
  color: var(--c-ink);
  transition: background-color var(--t-fast), color var(--t-fast);
}
.nav__link:hover, .nav__link.is-active { background: var(--c-snow); }
.nav__link svg { width: 11px; height: 11px; opacity: .5; transition: transform var(--t-fast); }
.nav__item.is-open .nav__link svg { transform: rotate(180deg); }

.nav__actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav__signin { font-size: 14.5px; padding: 9px 13px; border-radius: var(--r-sm); }
.nav__signin:hover { background: var(--c-snow); }

/* Méga-menu */
.nav__item { position: relative; }
.megamenu {
  position: absolute;
  top: calc(100% + 10px);
  left: -20px;
  min-width: 620px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  box-shadow: 0 20px 50px rgba(10,37,64,.13);
  padding: var(--s-3);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--t-base), transform var(--t-base), visibility var(--t-base);
}
.nav__item.is-open .megamenu { opacity: 1; visibility: visible; transform: none; }

.megamenu__col > p {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: 10px;
  padding-inline: 10px;
}
.megamenu__link {
  display: block;
  padding: 9px 10px;
  border-radius: var(--r-sm);
  font-size: 14.5px;
  transition: background-color var(--t-fast);
}
.megamenu__link:hover { background: var(--c-snow); }
.megamenu__link span { display: block; font-size: 12.5px; color: var(--c-muted); margin-top: 1px; }

/* Menu mobile */
.nav__burger { display: none; width: 40px; height: 40px; place-items: center; border-radius: var(--r-sm); }
.nav__burger:hover { background: var(--c-snow); }
.nav__burger svg { width: 20px; height: 20px; }

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: #fff;
  padding: 20px var(--gutter) 40px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .34s var(--ease);
  visibility: hidden;
}
.mobile-nav.is-open { transform: none; visibility: visible; }
.mobile-nav__head { display: flex; align-items: center; justify-content: space-between; height: 48px; margin-bottom: 20px; }
.mobile-nav details { border-bottom: 1px solid var(--c-line); }
.mobile-nav summary {
  padding: 16px 0; font-size: 17px; font-weight: 500;
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary::after {
  content: ''; width: 9px; height: 9px;
  border-right: 2px solid var(--c-muted); border-bottom: 2px solid var(--c-muted);
  transform: rotate(45deg); transition: transform var(--t-base);
}
.mobile-nav details[open] summary::after { transform: rotate(-135deg); }
.mobile-nav details a { display: block; padding: 11px 0 11px 14px; font-size: 15px; color: var(--c-muted); }
.mobile-nav > a.mobile-nav__top {
  display: block; padding: 16px 0; font-size: 17px; font-weight: 500;
  border-bottom: 1px solid var(--c-line);
}


/* -------------------------------------------------------------
   17. FOOTER
   ------------------------------------------------------------- */
.footer { background: var(--c-black); color: #fff; padding-top: clamp(56px, 7vw, 88px); }

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: var(--s-4);
  padding-bottom: var(--s-6);
}
.footer__brand img { height: 26px; margin-bottom: 18px; }
.footer__brand p { color: var(--c-muted-dark); font-size: 14.5px; max-width: 30ch; }

.footer__col h4 {
  font-size: 12px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--c-muted-dark); margin-bottom: 14px;
}
.footer__col a {
  display: block;
  padding: 6px 0;
  font-size: 14.5px;
  color: rgba(255,255,255,.78);
  transition: color var(--t-fast);
}
.footer__col a:hover { color: var(--c-mint); }

.footer__social { display: flex; gap: 10px; margin-top: 22px; }
.footer__social a {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.07);
  color: #fff;
  transition: background-color var(--t-fast), transform var(--t-fast);
}
.footer__social a:hover { background: var(--c-green); color: var(--c-black); transform: translateY(-2px); }
.footer__social svg { width: 16px; height: 16px; }

.footer__bottom {
  border-top: 1px solid var(--c-line-dark);
  padding: 22px 0 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  align-items: center;
  font-size: 13px;
  color: var(--c-muted-dark);
}
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: 20px; margin-left: auto; }
.footer__bottom a:hover { color: #fff; }


/* -------------------------------------------------------------
   18. FORMULAIRES
   ------------------------------------------------------------- */
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 14px; font-weight: 500; }
.field .hint { font-size: 12.5px; color: var(--c-muted); }

.input, .select, .textarea {
  width: 100%;
  padding: 13px 15px;
  font-size: 15px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-sm);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.input::placeholder, .textarea::placeholder { color: #A8B2BF; }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--c-green);
  box-shadow: 0 0 0 3px rgba(46,204,113,.16);
}
.textarea { min-height: 120px; resize: vertical; line-height: 1.55; }

.select {
  appearance: none;
  padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.6l3 3 3-3' fill='none' stroke='%23616E7C' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px;
}

.field--error .input { border-color: var(--c-danger); }
.field__error { font-size: 12.5px; color: #D93A3A; }

.alert {
  padding: 13px 16px;
  border-radius: var(--r-sm);
  font-size: 14.5px;
  border: 1px solid;
  margin-bottom: var(--s-2);
}
.alert--success { background: rgba(46,204,113,.09); border-color: rgba(46,204,113,.3); color: #0E7A42; }
.alert--danger  { background: rgba(255,90,90,.08); border-color: rgba(255,90,90,.28); color: #C22B2B; }
.alert--warning { background: rgba(255,176,32,.1); border-color: rgba(255,176,32,.3); color: #96620A; }
.alert--info    { background: rgba(59,130,246,.07); border-color: rgba(59,130,246,.25); color: #1D4ED8; }


/* -------------------------------------------------------------
   19. FORMULAIRE DE SCAN GRATUIT
   ------------------------------------------------------------- */
.scan-form {
  display: flex;
  gap: 8px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-card);
  max-width: 560px;
  transition: box-shadow var(--t-base), border-color var(--t-base);
}
.scan-form:focus-within {
  border-color: rgba(46,204,113,.55);
  box-shadow: 0 0 0 4px rgba(46,204,113,.13), var(--shadow-card);
}
.scan-form input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  padding: 0 10px 0 16px;
  font-size: 15.5px;
}
.scan-form input:focus { outline: none; }
.scan-form .btn { flex: none; }

.scan-form--center { margin-inline: auto; }
.scan-reassure {
  display: flex; flex-wrap: wrap; gap: 8px 18px;
  font-size: 13.5px; color: var(--c-muted);
  margin-top: 16px;
}
.scan-reassure li { display: flex; align-items: center; gap: 6px; }
.scan-reassure svg { width: 14px; height: 14px; color: var(--c-green-700); }
.section--dark .scan-reassure { color: var(--c-muted-dark); }


/* -------------------------------------------------------------
   20. ANIMATIONS AU SCROLL
   ------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  will-change: opacity, transform;
}
[data-reveal="left"]  { transform: translateX(-28px); }
[data-reveal="right"] { transform: translateX(28px); }
[data-reveal="scale"] { transform: scale(.96); }
[data-reveal="fade"]  { transform: none; }

[data-reveal].is-in { opacity: 1; transform: none; }

[data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal-delay="3"] { transition-delay: .24s; }
[data-reveal-delay="4"] { transition-delay: .32s; }
[data-reveal-delay="5"] { transition-delay: .40s; }
[data-reveal-delay="6"] { transition-delay: .48s; }


/* -------------------------------------------------------------
   21. MINI-ANIMATIONS MOTION DESIGN
   ------------------------------------------------------------- */

/* Ligne de balayage lumineuse */
.anim-scan-line { position: relative; overflow: hidden; }
.anim-scan-line::before {
  content: '';
  position: absolute;
  left: 0; right: 0;
  top: -30%;
  height: 30%;
  background: linear-gradient(180deg, transparent, rgba(110,247,176,.5), transparent);
  animation: scan-sweep 3.6s var(--ease) infinite;
  pointer-events: none;
  z-index: 2;
}
@keyframes scan-sweep {
  0%   { top: -30%; opacity: 0; }
  12%  { opacity: 1; }
  88%  { opacity: 1; }
  100% { top: 105%; opacity: 0; }
}

/* Flottement lent */
.anim-float { animation: float 6s ease-in-out infinite; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

/* Dégradé animé */
.anim-gradient-shift { animation: grad-shift 7s ease-in-out infinite; }
@keyframes grad-shift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* Curseur de saisie */
.anim-typing::after {
  content: '';
  display: inline-block;
  width: 2px; height: 1em;
  margin-left: 3px;
  vertical-align: -2px;
  background: var(--c-green);
  animation: caret 1.05s steps(1) infinite;
}
@keyframes caret { 0%, 50% { opacity: 1; } 51%, 100% { opacity: 0; } }

/* Points en orbite */
.anim-orbit { position: relative; }
.anim-orbit__ring {
  position: absolute;
  inset: 0;
  border: 1px dashed rgba(46,204,113,.28);
  border-radius: 50%;
  animation: spin 26s linear infinite;
}
.anim-orbit__ring:nth-child(2) { inset: 14%; animation-duration: 19s; animation-direction: reverse; }
.anim-orbit__ring:nth-child(3) { inset: 28%; animation-duration: 13s; }
.anim-orbit__ring::after {
  content: '';
  position: absolute;
  top: -4px; left: 50%;
  width: 8px; height: 8px;
  margin-left: -4px;
  border-radius: 50%;
  background: var(--c-green);
  box-shadow: 0 0 12px rgba(46,204,113,.8);
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Barre de progression indéterminée */
.progress { height: 4px; background: var(--c-line); border-radius: var(--r-pill); overflow: hidden; }
.progress__bar {
  height: 100%;
  background: var(--g-brand);
  border-radius: var(--r-pill);
  width: 0;
  transition: width .4s var(--ease);
}
.section--dark .progress { background: rgba(255,255,255,.1); }


/* -------------------------------------------------------------
   22. MODALE
   ------------------------------------------------------------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(5,7,13,.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-base), visibility var(--t-base);
}
.modal.is-open { opacity: 1; visibility: visible; }

.modal__box {
  width: 100%;
  max-width: 460px;
  background: #fff;
  border-radius: var(--r-lg);
  padding: clamp(26px, 4vw, 38px);
  max-height: 92vh;
  overflow-y: auto;
  transform: translateY(16px) scale(.98);
  transition: transform var(--t-base);
}
.modal.is-open .modal__box { transform: none; }
.modal__box--wide { max-width: 620px; }

.modal__close {
  position: absolute;
  top: 16px; right: 16px;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--c-muted);
}
.modal__close:hover { background: var(--c-snow); color: var(--c-ink); }


/* -------------------------------------------------------------
   23. IMAGES MOCKUP
   ------------------------------------------------------------- */



/* -------------------------------------------------------------
   24. RESPONSIVE
   ------------------------------------------------------------- */
@media (max-width: 1080px) {
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .nav__menu, .nav__signin { display: none; }
  .nav__burger { display: grid; }
  .bento > *, .bento > .bento-lg { grid-column: span 3; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stat-band { grid-template-columns: repeat(2, 1fr); }
  .stat-band--plain .stat { border-left: 0; padding-left: 0; }
}

@media (max-width: 760px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .bento > *, .bento > .bento-lg, .bento > .bento-full { grid-column: span 6; }
  .feature-row { grid-template-columns: 1fr; gap: 28px; }
  .feature-row--reverse .feature-row__media { order: 0; }
  .pricing-grid { grid-template-columns: 1fr; }
  .scan-form { flex-direction: column; border-radius: var(--r-md); padding: 12px; }
  .scan-form input { padding: 10px 6px; }
  .scan-form .btn { width: 100%; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__bottom nav { margin-left: 0; }
  .stat-band { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 460px) {
  :root { --gutter: 18px; }
  .stat-band { grid-template-columns: 1fr; }
}


/* -------------------------------------------------------------
   25. ACCESSIBILITÉ — MOUVEMENT RÉDUIT
   ------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* Accessible aux lecteurs d'écran uniquement */
.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;
}
.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 999;
  padding: 12px 20px;
  background: var(--c-ink);
  color: #fff;
  border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; top: 0; }


/* -------------------------------------------------------------
   26. IMPRESSION
   ------------------------------------------------------------- */
@media print {
  .header, .footer, .announce, .cta-band, .mobile-nav { display: none !important; }
  body { color: #000; background: #fff; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
