:root {
  --bg: #f7f4ef;
  --surface: #ffffff;
  --border: rgba(44, 62, 93, 0.12);
  --text: #2c3e5d;
  --text-muted: rgba(44, 62, 93, 0.75);
  --primary: #2c3e5d;
  --primary-dark: #1e2e42;
  --primary-tint: #fef3e8;
  --secondary: #eae6df;
  --muted: #eae6df;
  --cta: #eba769;
  --cta-dark: #e8903f;
  /* Deux usages, deux jetons. L'orange clair de marque (235,167,105) sert de
     DÉCOR pour les fonds de bouton (texte blanc dessus, contraste volontairement
     sacrifié pour rester fidèle à la couleur d'origine). Le texte/liens en
     orange passent sur --accent, une teinte plus sombre de la même famille,
     choisie pour repasser sous le seuil AA (4,87:1 sur papier, cf. calcul WCAG)
     tout en restant plus proche de l'orange de marque que la version SEO
     précédente (#ae5210). */
  --accent: #ab5d17;
  --accent-hover: #914f14;
  --cta-fond: #eba769;
  --cta-fond-hover: #e8903f;
  --success: #16a34a;
  --radius: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.04), 0 1px 1px rgba(16, 24, 40, 0.03);
  --shadow-md: 0 8px 24px rgba(16, 24, 40, 0.08);
  --shadow-lg: 0 20px 50px rgba(30, 46, 66, 0.12);
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand img {
  height: 34px;
  width: auto;
  aspect-ratio: 500 / 160;
  flex-shrink: 0;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.main-nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
}
.main-nav a:hover {
  color: var(--accent);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0;
  padding: 4px 24px 16px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.mobile-nav a {
  padding: 13px 2px;
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav .btn {
  margin-top: 12px;
  text-align: center;
}
.mobile-nav.is-open {
  display: flex;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 26px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-cta {
  background: var(--cta-fond);
  color: #ffffff;
  box-shadow: var(--shadow-md);
}
.btn-cta:hover {
  background: var(--cta-fond-hover);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover {
  background: var(--surface);
}
.btn-light {
  background: var(--surface);
  color: var(--primary);
}
.btn-block {
  width: 100%;
}

/* Hero */
.hero {
  padding: 88px 0 80px;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-tint);
  color: var(--accent);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  line-height: 1.12;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}
.hero h1 span {
  color: var(--accent);
}
.hero-lede {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin: 0 0 32px;
  max-width: 46ch;
}
.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.hero-note {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.hero-trust {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 36px;
}
.hero-trust div {
  display: flex;
  flex-direction: column;
}
.hero-trust strong {
  font-size: 1.4rem;
}
.hero-trust span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.hero-visual {
  position: relative;
}
.hero-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  overflow: hidden;
}
.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--primary);
  color: #fff;
}
.hero-card-header span {
  font-size: 0.8rem;
  opacity: 0.75;
}
.hero-card-body {
  padding: 20px;
  display: grid;
  gap: 12px;
}
.hero-product-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.hero-product-row .name {
  font-weight: 600;
  font-size: 0.92rem;
}
.hero-product-row .sub {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.hero-product-row .price {
  font-weight: 700;
  color: var(--accent);
}
.hero-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-top: 1px dashed var(--border);
  margin-top: 4px;
  font-size: 1.1rem;
  font-weight: 700;
}
.hero-badge {
  position: absolute;
  bottom: -18px;
  left: -18px;
  background: var(--cta-fond);
  color: #ffffff;
  padding: 12px 18px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  font-size: 0.85rem;
  font-weight: 600;
  max-width: 210px;
}

/* Logos strip */
.trust-strip {
  border-block: 1px solid var(--border);
  padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.trust-strip .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: 0.85rem;
  text-align: center;
}
.trust-strip strong {
  color: var(--text);
}

/* Section shared */
section {
  padding: 64px 0;
}
.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 52px;
}
.section-head .eyebrow {
  margin-bottom: 16px;
}
.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}
.section-head p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin: 0;
}

/* Features grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.addons-grid {
  grid-template-columns: repeat(2, 1fr);
}
.subsection-head {
  text-align: center;
  max-width: 560px;
  margin: 56px auto 32px;
}
.subsection-head h3 {
  font-size: 1.3rem;
  margin: 0 0 8px;
}
.subsection-head p {
  color: var(--text-muted);
  font-size: 0.98rem;
  margin: 0;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--primary-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}
.feature-card h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
}
.feature-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.94rem;
}

/* Multi-shop highlight */
.highlight {
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.highlight .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 64px 40px;
}
.highlight-copy .eyebrow {
  background: rgba(255, 255, 255, 0.12);
  color: #fce9d3;
}
.highlight-copy h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}
.highlight-copy p {
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 24px;
  font-size: 1.02rem;
}
.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text);
}
.highlight-copy .check-list li {
  color: rgba(255, 255, 255, 0.92);
}
.check-list li::before {
  content: '✓';
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--cta-fond);
  color: #ffffff;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.highlight-visual {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: grid;
  gap: 12px;
}
.shop-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 14px 16px;
}
.shop-row .shop-name {
  font-weight: 600;
  font-size: 0.95rem;
}
.shop-row .shop-stock {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
}
.shop-row .pill {
  background: var(--cta-fond);
  color: #ffffff;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step {
  position: relative;
  padding-top: 8px;
}
.step-number {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 16px;
}
.step h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
}
.step p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.price-card.featured {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
}
.price-card.featured .price-card-note,
.price-card.featured .plan-desc {
  color: rgba(255, 255, 255, 0.7);
}
.price-card.featured .check-list li {
  color: rgba(255, 255, 255, 0.92);
}
.plan-badge {
  align-self: flex-start;
  background: var(--cta-fond);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.plan-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 6px;
}
.plan-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0 0 20px;
  min-height: 40px;
}
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 4px;
}
.plan-price strong {
  font-size: 2.4rem;
  letter-spacing: -0.02em;
}
.plan-price span {
  font-size: 0.9rem;
  color: var(--text-muted);
}
.price-card.featured .plan-price span {
  color: rgba(255, 255, 255, 0.7);
}
.price-card-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.price-card .check-list {
  margin-bottom: 28px;
  flex: 1;
}
.pricing-fineprint {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 36px;
}

/* FAQ */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 4px 22px;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.15s ease;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
}
.faq-item p {
  margin: 0 0 20px;
  color: var(--text-muted);
  font-size: 0.94rem;
}

/* Final CTA */
.cta-band {
  background: var(--cta-fond);
  border-radius: var(--radius-lg);
  padding: 64px 40px;
  text-align: center;
  color: #ffffff;
}
.cta-band h2 {
  margin: 0 0 14px;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}
.cta-band p {
  margin: 0 0 30px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.05rem;
}
.cta-band .btn-light {
  box-shadow: var(--shadow-md);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 56px 0 28px;
  background: var(--surface);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
.footer-brand .brand {
  margin-bottom: 14px;
}
.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 32ch;
  margin: 0;
}
.footer-col h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin: 0 0 16px;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.footer-col a {
  text-decoration: none;
  font-size: 0.92rem;
  color: var(--text);
}
.footer-col a:hover {
  color: var(--accent);
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 900px) {
  .hero .container {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    order: -1;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }
  .price-card.featured {
    transform: none;
  }
  .highlight .container {
    grid-template-columns: 1fr;
    padding: 48px 24px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .main-nav {
    display: none;
  }
  .site-header .container {
    height: 64px;
  }
  .header-actions {
    gap: 8px;
  }
  .header-actions .btn-ghost {
    display: none;
  }
  .header-actions .btn {
    padding: 10px 16px;
    font-size: 0.85rem;
  }
  .nav-toggle {
    display: flex;
  }
  .brand img {
    height: 26px;
  }
  .features-grid,
  .addons-grid,
  .steps {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  section {
    padding: 60px 0;
  }
  .hero {
    padding: 56px 0 60px;
  }
  .hero-badge {
    display: none;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #171f2c;
    --surface: #1f2937;
    --border: rgba(255, 255, 255, 0.1);
    --text: #eef1f6;
    --text-muted: rgba(238, 241, 246, 0.78);
    --primary-tint: rgba(244, 163, 90, 0.14);
    /* Sur fond sombre, l'orange profond ne se lit plus : il s'éclaircit pour
       le texte (8,28:1) et reste profond derrière le blanc des boutons. */
    --accent: #f2b077;
    --muted: #263142;
    --secondary: #263142;
  }
  .site-header {
    background: color-mix(in srgb, var(--bg) 80%, transparent);
  }
  .btn-ghost:hover {
    background: rgba(255, 255, 255, 0.06);
  }
  /* .btn-light vit sur la bande orange, identique dans les deux thèmes :
     sans fond blanc forcé, il héritait de --surface sombre et tombait à 1,37:1. */
  .btn-light {
    background: #ffffff;
    color: var(--primary);
  }
  .hero-badge,
  .cta-band {
    box-shadow: none;
  }
  /* Le mot-clé du logo est en marine : sur l'en-tête sombre il devenait
     illisible. Variante à mot blanc, carré du hippopotame inchangé. */
  .brand img { content: url('assets/hippopos-logo-blanc.png'); }
}
/* ==========================================================================
   Gabarits de l'arbre — hub de silo, unité d'achat (métier), page tarifs.
   Ajouté avec les 12 pages du mois d'août 2026 (roadmap contenu, étages 1-2).
   ========================================================================== */

/* Fil d'Ariane */
.breadcrumb {
  padding: 20px 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
}
.breadcrumb li::after {
  content: '›';
  margin-left: 8px;
  color: var(--text-muted);
}
.breadcrumb li:last-child::after { content: none; }
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--text); text-decoration: underline; }
.breadcrumb [aria-current='page'] { color: var(--text); font-weight: 500; }

/* En-tête de page intérieure */
.page-hero { padding: 32px 0 56px; }
.page-hero h1 {
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  line-height: 1.15;
  margin: 16px 0 18px;
  max-width: 28ch;
}
.page-hero .lede {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 62ch;
  margin: 0 0 28px;
}
.page-hero .hero-cta-row { margin-bottom: 0; }

/* Grille de cartes-liens (métiers, fonctions, déclinaisons, sœurs) */
.link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(248px, 1fr));
  gap: 16px;
}
.link-card {
  display: block;
  padding: 22px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--text);
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.link-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.link-card strong { display: block; font-size: 1.02rem; margin-bottom: 6px; }
.link-card span { display: block; font-size: 0.9rem; color: var(--text-muted); }
.link-card.is-info {
  box-shadow: none;
  cursor: default;
}
.link-card.is-info:hover { transform: none; box-shadow: none; }
.link-card.is-soon {
  background: transparent;
  box-shadow: none;
  border-style: dashed;
  cursor: default;
}
.link-card.is-soon:hover { transform: none; box-shadow: none; }

/* Couvert / non couvert */
.coverage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.coverage-col {
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
}
.coverage-col h3 { margin: 0 0 16px; font-size: 1.05rem; }
.coverage-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.coverage-col li { position: relative; padding-left: 30px; font-size: 0.96rem; }
.coverage-col li::before {
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
}
.coverage-yes li::before { content: '✓'; background: var(--success); color: #fff; }
.coverage-no li::before { content: '×'; background: var(--muted); color: var(--text); }
.coverage-no { background: transparent; }
.coverage-note {
  margin: 20px 0 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Signature métier — la contrainte propre au métier */
.signature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.signature-quote {
  font-size: 1.25rem;
  line-height: 1.5;
  font-weight: 500;
  margin: 0;
}
.signature-quote em { color: var(--accent); font-style: normal; }

/* Bloc « à fournir » — tout ce qui manque est surligné, jamais inventé */
.a-fournir {
  background: #fff6b8;
  color: #4a3c00;
  border: 1px dashed #d9b400;
  border-radius: var(--radius);
  padding: 3px 8px;
  font-weight: 500;
}
.a-fournir-bloc {
  background: #fff6b8;
  color: #4a3c00;
  border: 1px dashed #d9b400;
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  font-size: 0.95rem;
}
.a-fournir-bloc strong { display: block; margin-bottom: 6px; }

/* Tableau de prix */
.price-table { width: 100%; border-collapse: collapse; font-size: 0.96rem; }
.price-table th,
.price-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--border); }
.price-table th { font-weight: 600; }
.price-table tbody tr:last-child td { border-bottom: none; }
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }

/* Pied de page — navigation de l'arbre */
.footer-col ul li a[aria-current='page'] { color: var(--text); font-weight: 600; }

@media (max-width: 860px) {
  .coverage, .signature { grid-template-columns: 1fr; gap: 24px; }
}

/* Hero des pages métier — le discours à gauche, la photographie à droite.
   La maquette de ticket a quitté le hero : elle a sa propre section, plus bas.
   Ici, la photo porte seule, posée sur un aplat décalé.

   La grille est portée par .hero-metier-page, pas par .page-hero : seul le hero
   métier enveloppe son discours dans .hero-mots. Les quatre hubs posent leurs
   badge, titre, chapeau et bouton en enfants directs du conteneur — sur
   .page-hero, ils se répartissaient dans les cellules et le titre partait dans
   la colonne de droite, séparé de son badge. */
.hero-metier-page .container {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero-metier-page h1 { margin-top: 14px; }
.hero-visuel, .hero-visual { position: relative; margin: 0; }
/* La figure ne s'étire pas à la hauteur de la colonne de texte : sinon le
   badge, ancré en bas, flottait à mi-image. */
.hero .hero-visual { align-self: center; }
.hero-visuel::before,
.hero-visual::before {
  content: '';
  position: absolute;
  inset: 26px -20px -20px 26px;
  border-radius: 28px;
  /* Aplat de marque, pas une ombre : en papier sur papier, le décalage ne se
     lisait pas. */
  background: linear-gradient(150deg, rgba(244, 163, 90, 0.38), rgba(244, 163, 90, 0.12));
}
.hero-photo {
  position: relative;
  display: block;
  width: 100%;
  /* height: auto neutralise l'attribut height du <img>, qui l'emportait sur
     aspect-ratio et étirait la photo en portrait. */
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}
@media (max-width: 900px) {
  .hero-metier-page .container { grid-template-columns: 1fr; gap: 32px; }
  /* Décalage rentré dans la colonne : en négatif, l'aplat poussait la page
     de 20 px vers la droite. */
  .hero-visuel::before { inset: 18px 0 -14px 18px; }
}

/* ==========================================================================
   Iconographie — trait 1,75 sur grille 24, héritant de la couleur du contexte.
   Remplace les emoji : « no emojis as icons » (checklist UI).
   ========================================================================== */
.ico { width: 24px; height: 24px; display: block; flex: 0 0 auto; }
.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-tint);
  color: var(--accent);
  margin-bottom: 16px;
}
.link-card .ico {
  width: 30px;
  height: 30px;
  margin-bottom: 14px;
  padding: 6px;
  box-sizing: content-box;
  border-radius: 12px;
  background: var(--primary-tint);
  color: var(--accent);
}
.coverage-col h3 { display: flex; align-items: center; gap: 10px; }

/* Rythme des sections — alternance de surfaces plutôt qu'un aplat continu */
section.bande { background: var(--surface); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) section.bande { background: var(--muted); }
}

/* Illustration de métier — scène vectorielle, pleine largeur de sa colonne */
.illu {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  background: var(--primary-tint);
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* ==========================================================================
   Méga-menu — exhaustif par axe. La liste ne bouge pas avec les positions :
   toute la différenciation passe par le corps des pages.
   ========================================================================== */
.main-nav { position: static; }
.site-header .container { position: relative; }
.main-nav .mega-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 0;
  font: inherit;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  padding: 6px 0;
}
.main-nav .mega-btn .chev { transition: transform .2s ease; }
.main-nav .mega-btn[aria-expanded='true'] .chev { transform: rotate(180deg); }
.mega-btn .chev { transition: transform 0.2s ease; }
.mega-btn[aria-expanded='true'] .chev { transform: rotate(180deg); }
.mega-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }

.mega {
  position: absolute;
  top: calc(100% + 18px);
  left: 24px;
  right: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 28px 32px 0;
  display: none;
  z-index: 60;
}
.mega[data-ouvert='true'] { display: block; }
.mega-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 28px 40px;
}
.mega-col h4 {
  margin: 0 0 10px;
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.mega-liste { display: grid; gap: 1px; }
.mega-liste.est-double { grid-template-columns: 1fr 1fr; gap: 1px 16px; }
.mega-liste a,
.mega-liste .a-venir {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 0.9rem;
  color: var(--text);
  text-decoration: none;
}
.mega-liste a:hover { background: var(--primary-tint); color: var(--accent); }
.mega-liste .a-venir { color: var(--text-muted); }
.mega-liste .ico { flex: none; width: 18px; height: 18px; color: var(--text-muted); }
.mega-liste a:hover .ico { color: var(--accent); }
.mega-bas {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 22px;
  padding: 18px 0 22px;
  border-top: 1px solid var(--border);
}
.mega-note { margin: 0; font-size: 0.85rem; color: var(--text-muted); }
.mega-bas .btn { flex: none; }

/* Entre 681 et 980 px, la navigation complète et les deux boutons ne tenaient
   pas dans l'en-tête : la page débordait de 200 px. Le hamburger prend le relais
   au même seuil que celui où le méga-menu disparaît. */
@media (max-width: 980px) {
  .mega { display: none !important; }
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
}

/* Sous 430 px, l'en-tête débordait de 2 px : marque, CTA et hamburger ne
   tiennent pas dans 342 px utiles. On resserre au lieu de laisser scroller. */
@media (max-width: 430px) {
  .site-header .container { padding-left: 16px; padding-right: 16px; }
  .brand img { height: 24px; }
  .header-actions .btn { padding: 9px 13px; font-size: 0.8rem; }
}

/* --- Menu mobile — même arborescence que le méga-menu, en accordéon ------- */
.mobile-nav {
  max-height: calc(100vh - 68px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.m-groupe { border-bottom: 1px solid var(--border); }
.m-ligne { display: flex; align-items: center; gap: 8px; }
.m-ligne > a { flex: 1; border-bottom: 0; }
.m-plus {
  flex: none;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 0;
  padding: 0;
  color: var(--text-muted);
  cursor: pointer;
}
.m-plus .chev { display: block; width: 15px; height: 15px; transition: transform 0.2s ease; }
.m-plus[aria-expanded='true'] .chev { transform: rotate(180deg); }
.m-plus:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; border-radius: 6px; }
.m-sous { display: block; padding: 2px 0 10px; }
.m-sous[hidden] { display: none; }
/* `>` obligatoire : sans lui la règle attrapait aussi le <span> intérieur du
   libellé, qui héritait du padding et doublait la hauteur de chaque ligne. */
.m-sous > a,
.m-sous > .a-venir {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 4px 12px 10px;
  font-size: 0.93rem;
  font-weight: 400;
  color: var(--text);
  text-decoration: none;
  border-bottom: 0;
}

.m-sous > .a-venir { color: var(--text-muted); }
.m-sous .ico { flex: none; width: 18px; height: 18px; color: var(--text-muted); }

/* ==========================================================================
   Gabarit métier — peurs illustrées, une section par fonctionnalité
   Alternance texte / visuel du modèle. Les visuels sont des panneaux
   construits en HTML : rien à capturer, rien qui vieillit.
   ========================================================================== */

/* Réassurance — quatre garanties, à la place de la rangée de logos clients. */
.container.reassurance {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px 32px;
  align-items: center;
  text-align: left;
}
.reassurance-item { display: flex; align-items: center; gap: 12px; }
.reassurance-item .ico { flex: none; width: 26px; height: 26px; color: var(--accent); }
.reassurance-item > span { display: flex; flex-direction: column; line-height: 1.3; }
.r-titre { font-size: 0.92rem; color: var(--text); }
.r-titre strong { font-weight: 600; }
.r-sous { font-size: 0.8rem; color: var(--text-muted); }

/* Peurs et frustrations — trois cartes, une icône chacune. */
.peur-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.peur-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
}
.peur-ico {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--primary-tint);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.peur-ico .ico { width: 24px; height: 24px; }
.peur-card h3 { margin: 0 0 10px; font-size: 1.06rem; line-height: 1.3; }
.peur-card p { margin: 0; font-size: 0.94rem; color: var(--text-muted); }

/* Une fonctionnalité = une section, texte et visuel alternés. */
.fonctions-tete { padding-bottom: 8px; }
.fonctions-tete .section-head { margin-bottom: 0; }
.fonction { padding: 56px 0; }
.fonction .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.fonction.est-inverse .fonction-texte { order: 2; }
.fonction .eyebrow { display: inline-flex; align-items: center; gap: 8px; }
.fonction .eyebrow .ico { width: 17px; height: 17px; }
.fonction h3 {
  margin: 12px 0 14px;
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
  line-height: 1.22;
}
.fonction-chapeau { margin: 0 0 18px; font-size: 1.02rem; color: var(--text-muted); }
.fonction-cas {
  margin: 0 0 22px;
  padding: 14px 18px;
  border-left: 3px solid var(--cta);
  background: var(--primary-tint);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.95rem;
  color: var(--text);
}
.lien-fonction {
  display: inline;
  font-weight: 600;
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
.lien-fonction-ligne { margin: 22px 0 0; }
/* Espace insécable avant la flèche : sur une ancre longue elle se retrouvait
   seule à la ligne suivante. */
.lien-fonction::after { content: '\00A0→'; }
.lien-fonction:hover { color: var(--primary); }

/* Le panneau — la donnée dont parle la section, jamais une capture. */
.panneau {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 22px 24px 8px;
}
.p-tete {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
  font-size: 0.95rem;
}
.p-tag {
  font-size: 0.75rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--muted);
  border-radius: 999px;
  padding: 4px 10px;
  white-space: nowrap;
}
.p-addon {
  vertical-align: middle;
  margin-left: 8px;
  background: var(--cta-fond);
  color: #ffffff;
}
.p-ligne {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.p-ligne:last-child { border-bottom: 0; }
.p-nom { display: block; font-size: 0.93rem; }
.p-sub { display: block; margin-top: 2px; font-size: 0.78rem; color: var(--text-muted); }
.p-val { font-weight: 600; font-size: 0.95rem; white-space: nowrap; }
.p-ligne.est-alerte .p-val { color: #9a4a12; }
.p-ligne.est-ok .p-val { color: #146c43; }
.p-mere { padding: 14px 0 4px; font-weight: 600; }
.p-balance {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 22px 0 18px;
}
.p-poids { font-size: 2.4rem; font-weight: 600; letter-spacing: -0.02em; }
.p-tarif { font-size: 0.95rem; color: var(--text-muted); }
.p-etiquette {
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 18px;
  margin: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.p-etiq-nom { font-weight: 600; font-size: 0.95rem; }
.p-etiq-prix { font-size: 1.5rem; font-weight: 600; }
.p-codebarres {
  display: block;
  height: 42px;
  margin-top: 8px;
  /* var(--text), pas var(--primary) : en thème sombre le marine restait
     invisible sur la carte. */
  background: repeating-linear-gradient(90deg,
    var(--text) 0 2px, transparent 2px 4px, var(--text) 4px 5px,
    transparent 5px 9px, var(--text) 9px 12px, transparent 12px 14px);
}

@media (max-width: 900px) {
  .container.reassurance { grid-template-columns: 1fr 1fr; }
  .peur-grid { grid-template-columns: 1fr; }
  .fonction .container { grid-template-columns: 1fr; gap: 32px; }
  .fonction.est-inverse .fonction-texte { order: 0; }
  .fonction { padding: 44px 0; }
}
@media (max-width: 520px) {
  .container.reassurance { grid-template-columns: 1fr; }
  .p-poids { font-size: 2rem; }
}

@media (prefers-color-scheme: dark) {
  /* Les deux tons d'état sont calés pour le fond clair : sur --surface sombre
     ils tombaient sous le seuil AA. */
  .p-ligne.est-alerte .p-val { color: #f0a868; }
  .p-ligne.est-ok .p-val { color: #6ee7a8; }
}

/* Pastille de métier dans le hero — l'icône dit le rayon avant que le titre
   soit lu. Reprise du modèle : une étiquette, pas un sur-titre en majuscules. */
.tag-metier {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px 7px 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
}
.tag-metier .ico { width: 18px; height: 18px; color: var(--accent); }

.m-famille {
  margin: 14px 0 2px;
  padding-left: 10px;
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-muted);
}
/* Garanties du hero en bulles — trois promesses, trois pastilles, plutôt
   qu'une ligne de texte gris qu'on saute. */
.hero-puces {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
}
.hero-puces li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px 7px 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text);
}
.hero-puces li::before {
  content: '';
  flex: none;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--accent);
  /* la coche, dessinée en masque : pas de glyphe à charger */
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6L9 17l-5-5' fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat,
          linear-gradient(#000, #000);
  -webkit-mask-composite: xor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6L9 17l-5-5' fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat,
       linear-gradient(#000, #000);
  mask-composite: exclude;
}

/* Métiers proches — carrousel de cartes photo. Défilement au doigt et à la
   molette, pas de JavaScript : la barre de scroll fait le travail. */
.carrousel-metiers {
  display: grid;
  grid-auto-flow: column;
  /* Largeur de carte bornée : à deux sœurs, un 1fr étirait chaque carte sur
     800 px et la photo dévorait l'écran. */
  grid-auto-columns: minmax(250px, 330px);
  justify-content: start;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
  scrollbar-width: thin;
  overscroll-behavior-x: contain;
}
.carte-metier {
  scroll-snap-align: start;
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.carte-metier:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.carte-metier_photo {
  display: block;
  aspect-ratio: 4 / 3;
  background: var(--muted);
}
.carte-metier_photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.carte-metier_texte { display: block; padding: 18px 20px 22px; }
.carte-metier_titre {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.3;
}
.carte-metier_titre .ico { flex: none; width: 20px; height: 20px; color: var(--accent); }
.carte-metier_sous {
  display: block;
  margin-top: 7px;
  font-size: 0.9rem;
  color: var(--text-muted);
}
@media (max-width: 620px) {
  .carrousel-metiers { grid-auto-columns: minmax(230px, 82%); }
}

/* Tableau comparatif — gabarit des pages fonctionnalité.

   Le relevé SERP du 04/09/2026 sur « logiciel de caisse avec vente au poids »
   ne montre aucune donnée structurée dans le top 10, alors que l'aperçu IA
   coiffe le premier organique : le tableau est là pour être recopié par un
   modèle autant que lu par un visiteur.

   Le conteneur défile seul en dessous de 640 px — c'est lui qui scrolle,
   jamais le corps de la page. */
.tableau-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
}
.tableau {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.tableau th,
.tableau td {
  padding: 14px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}
.tableau thead th {
  font-weight: 600;
  color: var(--text);
  background: var(--muted);
  white-space: nowrap;
}
.tableau tbody tr:last-child td { border-bottom: 0; }
.tableau tbody td:first-child { font-weight: 600; white-space: nowrap; }
.tableau tbody td:not(:first-child) { color: var(--text-muted); }

/* Calculateur de vente au poids — gabarit des pages fonctionnalité.

   Module d'attention de /fonctionnalites/avec-vente-au-poids/. Il doit tenir
   sans JavaScript : les champs portent l'exemple et le résultat est écrit dans
   le HTML par le générateur. Le bloc a donc sa hauteur définitive au premier
   rendu — aucun décalage quand le script prend la main. */
.calcul {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 28px;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.calcul-champs { display: grid; gap: 16px; margin: 0; }
.calcul-champ { display: grid; gap: 7px; margin: 0; }
.calcul-champ label { font-weight: 600; font-size: 0.92rem; }
.calcul-saisie {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0 14px 0 4px;
}
.calcul-saisie input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 12px;
  font: inherit;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}
.calcul-saisie input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: var(--radius);
}
.calcul-unite { font-size: 0.88rem; color: var(--text-muted); white-space: nowrap; }
.calcul-sortie {
  display: grid;
  gap: 12px;
  align-content: start;
  background: var(--primary);
  color: #ffffff;
  border-radius: var(--radius);
  padding: 22px;
}
.calcul-net { margin: 0; font-size: 0.92rem; opacity: 0.8; }
.calcul-net strong { font-variant-numeric: tabular-nums; }
.calcul-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin: 0;
  padding-top: 12px;
  border-top: 1px dashed rgba(255, 255, 255, 0.28);
}
.calcul-total strong {
  font-size: 1.9rem;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.calcul-note { margin: 0; font-size: 0.82rem; opacity: 0.75; }

/* Les trois voies par lesquelles un poids entre dans la caisse. */
.voies {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.voie {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
}
.voie-tete { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.voie-tete .ico { flex: none; width: 22px; height: 22px; color: var(--accent); }
.voie p { margin: 0; font-size: 0.94rem; color: var(--text-muted); }

/* Marche à suivre numérotée — page clôture de caisse, relevé du 12/09/2026.
   La SERP est procédurale : de la documentation, trois tutoriels vidéo, et la
   question « Comment faire une fermeture de caisse ? » en PAA. Un <ol> répond
   à ça mieux qu'un argumentaire, et le numéro vient du compteur CSS plutôt que
   du texte : il reste juste si un geste s'ajoute, et le lecteur d'écran
   annonce déjà « élément 3 sur 5 » sans qu'on le lui répète. */
.etapes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: etape;
}
.etape {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 22px 22px 66px;
  counter-increment: etape;
}
.etape::before {
  content: counter(etape);
  position: absolute;
  top: 22px;
  left: 22px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.etape h3 { margin: 0 0 8px; font-size: 1.02rem; line-height: 1.35; }
.etape p { margin: 0; font-size: 0.94rem; color: var(--text-muted); }

/* Le rappel du tarif, sous le champ du calculateur multi-magasins. Il tient
   la même place que le résultat en face : sans lui le bloc serait bancal. */
.calcul-note-champ { margin-top: 4px; }

@media (max-width: 860px) {
  .calcul { grid-template-columns: 1fr; }
  .voies { grid-template-columns: 1fr; }
  .etapes { grid-template-columns: 1fr; }
}

/* ---------- Pop-up de demande de démo ----------
   Feuille fournie par Rémi le 05/09/2026, posée ici plutôt qu'en <style> dans
   chaque page : dix-neuf copies du même bloc, c'est dix-neuf fois le même
   octet à télécharger et à invalider. Ici elle est mise en cache une fois.
   Le reste est repris tel quel. */
.hp-modal-overlay{
  position:fixed; inset:0; z-index:9000;
  display:flex; align-items:center; justify-content:center;
  padding:20px;
  background:rgba(30,46,66,.55);
  backdrop-filter:blur(3px);
  opacity:0; visibility:hidden;
  transition:opacity .2s ease, visibility .2s ease;
}
.hp-modal-overlay.is-open{opacity:1; visibility:visible;}

.hp-modal{
  position:relative;
  width:100%; max-width:520px;
  max-height:calc(100dvh - 40px); overflow-y:auto;
  background:var(--surface,#fff);
  border:1px solid var(--border,rgba(44,62,93,.12));
  border-radius:var(--radius-lg,16px);
  box-shadow:var(--shadow-lg,0 20px 50px rgba(30,46,66,.12));
  padding:32px;
  transform:translateY(12px) scale(.98);
  transition:transform .22s ease;
}
.hp-modal-overlay.is-open .hp-modal{transform:none;}

.hp-modal-close{
  position:absolute; top:14px; right:14px;
  width:36px; height:36px; border-radius:999px;
  display:flex; align-items:center; justify-content:center;
  background:transparent; border:1px solid var(--border,rgba(44,62,93,.12));
  color:var(--text,#2c3e5d); font-size:20px; line-height:1; cursor:pointer;
  transition:background .15s ease;
}
.hp-modal-close:hover{background:var(--bg,#f7f4ef);}

/* Le titre suit --text et non --primary. Le bloc d'origine posait --primary,
   qui n'est pas redéfini en mode sombre : le titre restait bleu nuit sur le
   panneau sombre, à 1,37:1 — illisible. --text vaut #2c3e5d en clair, donc
   rien ne change à l'œil, et #eef1f6 en sombre, soit 12,97:1. */
.hp-modal h2{
  margin:0 0 6px; font-size:1.45rem; font-weight:700;
  color:var(--text,#2c3e5d); letter-spacing:-.01em;
}
.hp-modal-sub{
  margin:0 0 22px; font-size:.95rem; line-height:1.5;
  color:var(--text-muted,rgba(44,62,93,.75));
}

.hp-field{margin-bottom:14px;}
.hp-field label{
  display:block; margin-bottom:6px;
  font-size:.85rem; font-weight:600; color:var(--text,#2c3e5d);
}
.hp-field input, .hp-field select, .hp-field textarea{
  width:100%; box-sizing:border-box;
  padding:11px 14px;
  font-family:inherit; font-size:.95rem; color:var(--text,#2c3e5d);
  background:var(--surface,#fff);
  border:1px solid var(--border,rgba(44,62,93,.12));
  border-radius:var(--radius,8px);
  transition:border-color .15s ease, box-shadow .15s ease;
}
.hp-field input:focus, .hp-field select:focus, .hp-field textarea:focus{
  outline:none;
  border-color:var(--primary,#2c3e5d);
  box-shadow:0 0 0 3px rgba(44,62,93,.10);
}
.hp-field input[aria-invalid="true"], .hp-field select[aria-invalid="true"]{border-color:#c0392b;}
.hp-field .hp-error{display:none; margin-top:5px; font-size:.8rem; color:#c0392b;}
.hp-field input[aria-invalid="true"] ~ .hp-error,
.hp-field select[aria-invalid="true"] ~ .hp-error{display:block;}

.hp-row{display:flex; gap:12px;}
.hp-row .hp-field{flex:1; min-width:0;}

.hp-modal .btn{width:100%; margin-top:8px;}
.hp-legal{
  margin:14px 0 0; font-size:.75rem; line-height:1.5;
  color:var(--text-muted,rgba(44,62,93,.75)); text-align:center;
}
.hp-legal a{color:var(--accent,#ab5d17);}

.hp-hp{position:absolute; left:-9999px; opacity:0;} /* piège à robots */

.hp-success{display:none; text-align:center; padding:16px 0;}
.hp-success svg{margin:0 auto 14px;}
.hp-success h2{margin-bottom:8px;}
.hp-modal.is-sent .hp-form{display:none;}
.hp-modal.is-sent .hp-success{display:block;}

@media (max-width:520px){
  .hp-modal{padding:26px 20px;}
  .hp-row{flex-direction:column; gap:0;}
}
@media (prefers-reduced-motion:reduce){
  .hp-modal-overlay, .hp-modal{transition:none;}
}
