/* ============================================================
   DOEMO — Feuille de styles principale (démo)
   Palette : blanc | rouge #D42B2B | noir #111118
   Typo : Barlow Condensed (titres) + Inter (corps)
   ============================================================ */

:root {
  --c-red:       #D42B2B;
  --c-red-dark:  #A81F1F;
  --c-red-bg:    #FDF4F4;
  --c-red-border:#FBBFBF;
  --c-dark:      #111118;
  --c-text:      #1E1E24;
  --c-muted:     #6B7280;
  --c-border:    #E5E7EB;
  --c-bg:        #F9FAFB;
  --c-bg2:       #FAFAFA;
  --c-white:     #FFFFFF;
  --c-green:     #059669;

  --font-head: 'Barlow Condensed', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius:    4px;
  --radius-lg: 8px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,.07);
  --shadow-md: 0 6px 24px rgba(0,0,0,.10);

  --header-h:  64px;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-body); font-size: 16px; line-height: 1.65; color: var(--c-text); background: var(--c-white); }
img  { max-width: 100%; height: auto; display: block; }
a    { color: var(--c-red); text-decoration: none; }
a:hover { text-decoration: underline; }
ul   { list-style: none; }

/* ── Conteneur ── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }

/* ── BARRE DÉMO ── */
.demo-bar {
  background: #1D4ED8;
  color: #fff;
  text-align: center;
  font-size: .8rem;
  font-weight: 600;
  padding: 6px 1rem;
  letter-spacing: .3px;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: var(--c-white);
  border-bottom: 1px solid var(--c-border);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex; align-items: center;
  height: var(--header-h); gap: 0;
}
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-logo { height: 44px; width: auto; }

/* Nav */
.nav-list { display: flex; gap: 2px; margin-left: 32px; flex: 1; align-items: center; }
.nav-item  { position: relative; }
.nav-item > a {
  display: flex; align-items: center; gap: 5px;
  font-size: .85rem; font-weight: 600; color: #444;
  padding: 6px 12px; border-radius: var(--radius);
  border-bottom: 2px solid transparent;
  text-decoration: none; white-space: nowrap;
  transition: color .15s, border-color .15s;
}
.nav-item > a:hover,
.nav-item > a.active { color: var(--c-red); border-bottom-color: var(--c-red); text-decoration: none; }
.caret {
  display: inline-block; width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  margin-top: 1px; flex-shrink: 0;
}

/* Dropdown */
.dropdown {
  display: none; position: absolute; top: 100%; left: 0;
  background: var(--c-white); border: 1px solid var(--c-border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  min-width: 240px; padding: 10px 0 6px; z-index: 300;
}
.dropdown::before {
  content: ''; position: absolute; top: 5px; left: 18px;
  width: 10px; height: 10px;
  background: var(--c-white);
  border-left: 1px solid var(--c-border); border-top: 1px solid var(--c-border);
  transform: rotate(45deg);
}
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown { display: block; }

.dd-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; text-decoration: none; color: var(--c-text);
  transition: background .12s;
}
.dd-item:hover { background: var(--c-red-bg); text-decoration: none; }
.dd-item.is-active { background: var(--c-red-bg); }
.dd-item.is-active .dd-label { color: var(--c-red); font-weight: 700; }
.dd-ico {
  width: 32px; height: 32px; background: #F3F4F6;
  border-radius: 5px; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: background .12s;
}
.dd-item.is-active .dd-ico,
.dd-item:hover .dd-ico { background: var(--c-red); }
.dd-item.is-active .dd-ico i,
.dd-item:hover .dd-ico i { color: #fff !important; }
.dd-label { font-size: .825rem; font-weight: 600; }
.dd-sub   { font-size: .7rem; color: var(--c-muted); margin-top: 1px; }
.dd-sep   { height: 1px; background: var(--c-bg); margin: 4px 0; }

/* Actions header */
.header-actions { margin-left: auto; display: flex; align-items: center; gap: .75rem; flex-shrink: 0; }
.header-phone { font-size: .8rem; font-weight: 600; color: var(--c-text); white-space: nowrap; }
.header-phone:hover { color: var(--c-red); text-decoration: none; }
.btn-commander {
  background: var(--c-red); color: var(--c-white);
  font-size: .825rem; font-weight: 700; padding: 8px 18px;
  border-radius: var(--radius); text-decoration: none; white-space: nowrap;
  display: flex; align-items: center; gap: 6px;
  transition: background .15s;
}
.btn-commander:hover { background: var(--c-red-dark); text-decoration: none; }
.btn-espace-client {
  border: 1.5px solid var(--c-red); background: var(--c-red); color: #fff;
  font-size: .825rem; font-weight: 600; padding: 7px 14px;
  border-radius: var(--radius); text-decoration: none; white-space: nowrap;
  display: flex; align-items: center; gap: 6px;
  transition: background .15s, border-color .15s;
}
.btn-espace-client:hover { background: var(--c-red-dark); border-color: var(--c-red-dark); color: #fff; text-decoration: none; }

/* Burger */
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: .5rem; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--c-text); border-radius: 2px; transition: transform .25s, opacity .25s; }

/* ============================================================
   BOUTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  padding: .75rem 1.5rem; border-radius: var(--radius);
  font-family: var(--font-body); font-size: .9rem; font-weight: 700;
  border: 2px solid transparent; cursor: pointer;
  text-decoration: none; white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s, transform .1s;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-primary   { background: var(--c-red);   color: #fff; border-color: var(--c-red); }
.btn-primary:hover { background: var(--c-red-dark); border-color: var(--c-red-dark); }
.btn-ghost     { background: transparent; color: var(--c-text); border-color: #D0D5DD; }
.btn-ghost:hover { background: var(--c-bg); }
.btn-white     { background: #fff; color: var(--c-red); border-color: #fff; }
.btn-white:hover { background: #f5f5f5; }
.btn-ghost-w   { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-ghost-w:hover { background: rgba(255,255,255,.1); }
.btn-sm  { padding: .5rem 1.1rem; font-size: .8rem; }
.btn-lg  { padding: .9rem 2rem; font-size: .95rem; }

/* ============================================================
   TYPOGRAPHIE
   ============================================================ */
.h-hero    { font-family: var(--font-head); font-size: clamp(2.4rem,5vw,3.5rem); font-weight: 800; line-height: 1.02; letter-spacing: -.5px; }
.h-section { font-family: var(--font-head); font-size: clamp(1.6rem,3vw,2rem);   font-weight: 800; line-height: 1.1; }
.h-page    { font-family: var(--font-head); font-size: clamp(1.8rem,3.5vw,2.5rem); font-weight: 800; line-height: 1.05; }
.kicker    { font-size: .7rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--c-red); display: flex; align-items: center; gap: 7px; margin-bottom: 10px; }
.kicker::before { content: ''; width: 18px; height: 2px; background: var(--c-red); flex-shrink: 0; }
.lead      { font-size: 1.05rem; color: var(--c-muted); line-height: 1.7; }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
  background: var(--c-bg2); border-bottom: 1px solid #F0F0F0;
  padding: 10px 0;
}
.breadcrumb-inner { display: flex; align-items: center; gap: 6px; }
.breadcrumb a     { font-size: .8rem; color: #9CA3AF; text-decoration: none; }
.breadcrumb a:hover { color: var(--c-red); }
.breadcrumb .sep  { font-size: .8rem; color: #D0D0D0; }
.breadcrumb .cur  { font-size: .8rem; color: #374151; font-weight: 600; }

/* ============================================================
   PAGE HEADER (inner pages — sobre, sans fond rouge)
   ============================================================ */
.page-header {
  padding: 40px 0 36px;
  border-bottom: 1px solid var(--c-border);
}
.page-header-inner {
  display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: start;
}
.page-header h1 { margin-bottom: 12px; }
.page-header .desc { font-size: .95rem; color: var(--c-muted); line-height: 1.7; max-width: 540px; margin-bottom: 16px; }
.ph-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.ph-badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--c-bg); border: 1px solid var(--c-border);
  border-radius: 20px; padding: 4px 11px;
  font-size: .75rem; font-weight: 600; color: #374151;
}
.ph-badge i { color: var(--c-red); font-size: 13px; }

/* Price box */
.price-box {
  background: var(--c-bg2); border: 1px solid var(--c-border); border-radius: var(--radius-lg);
  padding: 20px 22px; text-align: center; flex-shrink: 0; min-width: 170px;
}
.price-box .from  { font-size: .7rem; color: var(--c-muted); margin-bottom: 4px; }
.price-box .price { font-family: var(--font-head); font-size: 2.2rem; font-weight: 800; color: var(--c-text); line-height: 1; }
.price-box .unit  { font-size: .7rem; color: var(--c-muted); margin-bottom: 14px; margin-top: 2px; }

/* ============================================================
   HERO ACCUEIL (fond rouge)
   ============================================================ */
.hero {
  background: var(--c-red);
  padding: 60px 0 36px;
  color: #fff;
  position: relative; overflow: hidden;
}
.hero-deco  { position: absolute; right: -5%; top: -40%; width: 40%; padding-top: 40%; border-radius: 50%; background: rgba(255,255,255,.05); pointer-events: none; }
.hero-deco2 { position: absolute; right: 8%; bottom: -30%; width: 24%; padding-top: 24%; border-radius: 50%; background: rgba(255,255,255,.04); pointer-events: none; }
.hero-split { display: grid; grid-template-columns: 52% 48%; gap: 48px; align-items: center; margin-bottom: 44px; }
.hero-kicker { font-size: .7rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; opacity: .75; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.hero-kicker::before { content: ''; width: 18px; height: 2px; background: rgba(255,255,255,.6); }
.hero h1   { color: #fff; margin-bottom: 18px; max-width: none; }
.hero .sub  { font-size: .9rem; line-height: 1.75; opacity: .88; max-width: none; margin-bottom: 12px; }
.hero-btns  { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; margin-bottom: 0; }
.hero-video { border-radius: 12px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.hero-video video { width: 100%; display: block; border-radius: 12px; }
.hero-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.2); }
.hero-stat  { text-align: center; padding: 0 12px; border-right: 1px solid rgba(255,255,255,.15); }
.hero-stat:last-child { border-right: none; }
.hero-stat .n { font-family: var(--font-head); font-size: 1.8rem; font-weight: 800; line-height: 1; }
.hero-stat .l { font-size: .7rem; opacity: .65; margin-top: 4px; }

/* Bandeau obligation */
.obligs-band {
  background: var(--c-red-bg); border-bottom: 1px solid var(--c-red-border);
  padding: 14px 0;
}
.obligs-inner { display: flex; gap: 12px; align-items: flex-start; }
.obligs-inner p { font-size: .83rem; color: #7B1A1A; line-height: 1.6; }
.obligs-inner strong { color: #5C1111; }

/* ============================================================
   SECTIONS GÉNÉRIQUES
   ============================================================ */
.section     { padding: 56px 0; }
.section-sm  { padding: 40px 0; }
.section-bg  { background: var(--c-bg2); }
.section-dark{ background: var(--c-dark); color: #fff; }

/* Cards produits */
.prod-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.prod-card {
  border: 1px solid var(--c-border); border-top: 3px solid var(--c-red);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg); padding: 24px;
  transition: box-shadow .2s;
}
.prod-card:hover { box-shadow: var(--shadow-md); }
.prod-num  { font-family: var(--font-head); font-size: 2.5rem; font-weight: 800; color: #F0EDED; line-height: 1; margin-bottom: -4px; }
.prod-card h3 { font-family: var(--font-head); font-size: 1.2rem; font-weight: 800; margin-bottom: 8px; }
.prod-card p  { font-size: .85rem; color: var(--c-muted); line-height: 1.6; margin-bottom: 16px; }
.prod-tag  { font-size: .65rem; font-weight: 700; color: var(--c-red); background: var(--c-red-bg); padding: 3px 8px; border-radius: 3px; display: inline-block; margin-bottom: 10px; }
.prod-link { font-size: .85rem; font-weight: 700; color: var(--c-red); text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
.prod-link:hover { text-decoration: underline; }

/* Arguments */
.args-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.arg { text-align: center; padding: 18px 10px; }
.arg-ico { width: 46px; height: 46px; background: var(--c-red-bg); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; }
.arg h4 { font-size: .9rem; font-weight: 700; margin-bottom: 6px; }
.arg p  { font-size: .8rem; color: var(--c-muted); line-height: 1.55; }

/* Process */
.steps { display: grid; grid-template-columns: repeat(4,1fr); position: relative; }
.steps::before { content: ''; position: absolute; top: 20px; left: 11%; right: 11%; height: 1px; background: var(--c-border); }
.step { text-align: center; position: relative; z-index: 1; }
.step-dot { width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 2px solid var(--c-border); display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; font-family: var(--font-head); font-size: .9rem; font-weight: 800; color: var(--c-red); transition: background .2s, border-color .2s; }
.step-dot.active { background: var(--c-red); border-color: var(--c-red); color: #fff; }
.step h4 { font-size: .85rem; font-weight: 700; margin-bottom: 4px; }
.step p  { font-size: .75rem; color: var(--c-muted); line-height: 1.5; padding: 0 6px; }

/* ERP chips */
.erp-chips { display: flex; flex-wrap: wrap; gap: 9px; }
.erp-chip { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--c-border); border-radius: 20px; padding: 7px 14px; font-size: .78rem; font-weight: 500; color: #374151; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
a.erp-chip:hover { border-color: var(--c-red); box-shadow: 0 2px 8px rgba(212,43,43,.12); color: #111118; }
.erp-chip i { color: var(--c-red); font-size: 13px; }
.erp-chip .ct { font-size: .65rem; color: var(--c-red); font-weight: 700; margin-left: 2px; }

/* ============================================================
   PAGE PRODUIT (2 colonnes)
   ============================================================ */
.content-layout { display: grid; grid-template-columns: 1fr 288px; gap: 0; }
.content-main { padding: 40px 32px 40px 0; border-right: 1px solid #F0F0F0; }
.content-sidebar { padding: 32px 0 32px 28px; }

.block { margin-bottom: 36px; }
.block:last-child { margin-bottom: 0; }
.block-title {
  font-family: var(--font-head); font-size: 1.2rem; font-weight: 800; color: var(--c-text);
  margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid #F3F4F6;
  display: flex; align-items: center; gap: 8px;
}
.block-title::before { content: ''; width: 3px; height: 18px; background: var(--c-red); border-radius: 2px; flex-shrink: 0; }

/* Article body */
.article-body { font-size: .92rem; color: #374151; line-height: 1.75; }
.article-body h2 { font-family: var(--font-head); font-size: 1.25rem; font-weight: 800; color: var(--c-text); margin: 28px 0 10px; }
.article-body h3 { font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; color: var(--c-text); margin: 20px 0 8px; }
.article-body p { margin: 0 0 14px; }
.article-body ul, .article-body ol { padding-left: 22px; margin: 0 0 14px; display: flex; flex-direction: column; gap: 6px; }
.article-body li { line-height: 1.6; }
.article-body strong { color: var(--c-text); font-weight: 600; }
.article-body a { color: var(--c-red); }

/* Spec list */
.spec-list { display: flex; flex-direction: column; gap: 9px; }
.spec-row  { display: flex; align-items: flex-start; gap: 9px; font-size: .87rem; color: #374151; line-height: 1.55; }
.spec-dot  { width: 5px; height: 5px; background: var(--c-red); border-radius: 50%; flex-shrink: 0; margin-top: 7px; }

/* Tableau formats */
.fmt-table { width: 100%; border-collapse: collapse; font-size: .83rem; }
.fmt-table th { text-align: left; font-size: .68rem; font-weight: 700; color: var(--c-muted); letter-spacing: .5px; text-transform: uppercase; padding: 0 10px 10px; border-bottom: 2px solid #F0F0F0; }
.fmt-table td { padding: 10px; border-bottom: 1px solid #F5F6F7; vertical-align: middle; }
.fmt-table tr:last-child td { border-bottom: none; }
.price-cell { font-family: var(--font-head); font-size: 1.05rem; font-weight: 800; color: var(--c-text); }
.price-cell small { font-size: .7rem; font-weight: 400; color: var(--c-muted); }

/* FAQ */
.faq-item { border-bottom: 1px solid #F0F0F0; padding: 14px 0; }
.faq-item:first-child { padding-top: 0; }
.faq-item:last-child  { border-bottom: none; }
.faq-q { font-size: .87rem; font-weight: 700; color: var(--c-text); margin-bottom: 8px; display: flex; align-items: flex-start; gap: 8px; }
.faq-q::before { content: 'Q'; font-size: .65rem; font-weight: 800; color: var(--c-red); background: var(--c-red-bg); border-radius: 3px; padding: 2px 5px; flex-shrink: 0; margin-top: 2px; }
.faq-a { font-size: .83rem; color: var(--c-muted); line-height: 1.65; padding-left: 28px; }

/* Sidebar */
.sb-cta { background: var(--c-red); border-radius: var(--radius-lg); padding: 20px; margin-bottom: 14px; text-align: center; color: #fff; }
.sb-cta .from  { font-size: .7rem; opacity: .75; margin-bottom: 3px; }
.sb-cta .price { font-family: var(--font-head); font-size: 2.1rem; font-weight: 800; line-height: 1; }
.sb-cta .unit  { font-size: .7rem; opacity: .65; margin-bottom: 12px; margin-top: 2px; }
.sb-cta .btn-w { display: block; background: #fff; color: var(--c-red); font-size: .85rem; font-weight: 700; padding: 10px; border-radius: var(--radius); text-decoration: none; margin-bottom: 7px; }
.sb-cta .btn-w:hover { background: #f5f5f5; text-decoration: none; }
.sb-cta .btn-gw { display: block; background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.35); font-size: .8rem; font-weight: 600; padding: 9px; border-radius: var(--radius); text-decoration: none; }
.sb-cta .btn-gw:hover { background: rgba(255,255,255,.1); text-decoration: none; }

.sb-card { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-lg); padding: 18px; margin-bottom: 14px; }
.sb-card:last-child { margin-bottom: 0; }
.sb-card h4 { font-size: .82rem; font-weight: 700; color: var(--c-text); margin-bottom: 12px; display: flex; align-items: center; gap: 7px; }
.sb-card h4 i { color: var(--c-red); font-size: 14px; }
.g-row { display: flex; align-items: center; gap: 7px; font-size: .82rem; color: #374151; padding: 5px 0; border-bottom: 1px solid #F5F6F7; }
.g-row:last-child { border-bottom: none; }
.g-row i { color: var(--c-green); font-size: 13px; flex-shrink: 0; }
.op-item { display: flex; align-items: center; gap: 9px; padding: 9px 0; border-bottom: 1px solid #F5F6F7; text-decoration: none; color: var(--c-text); }
.op-item:last-child { border-bottom: none; padding-bottom: 0; }
.op-item:hover { text-decoration: none; }
.op-item:hover .op-lb { color: var(--c-red); }
.op-ico { width: 30px; height: 30px; background: #F3F4F6; border-radius: 5px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.op-lb { font-size: .82rem; font-weight: 600; }
.op-sb { font-size: .7rem; color: var(--c-muted); }
.op-arr { margin-left: auto; color: var(--c-red); font-size: 14px; }

/* ============================================================
   BLOG
   ============================================================ */
.blog-grid-main { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.blog-card { border: 1px solid var(--c-border); border-top: 3px solid var(--c-red); border-radius: 0 0 var(--radius-lg) var(--radius-lg); overflow: hidden; text-decoration: none; color: var(--c-text); display: block; transition: box-shadow .2s; }
.blog-card:hover { box-shadow: var(--shadow-md); text-decoration: none; }
.blog-card-img { background: var(--c-red); height: 130px; display: flex; align-items: center; justify-content: center; }
.blog-card-img-ghost { font-family: var(--font-head); font-size: 1.4rem; font-weight: 800; color: rgba(255,255,255,.15); text-align: center; padding: 0 16px; line-height: 1.1; }
.blog-card-body { padding: 18px 20px; }
.blog-tag { font-size: .65rem; font-weight: 700; color: var(--c-red); text-transform: uppercase; letter-spacing: .6px; margin-bottom: 8px; }
.blog-card-body h3 { font-size: .95rem; font-weight: 700; line-height: 1.35; margin-bottom: 7px; }
.blog-card-body p  { font-size: .8rem; color: var(--c-muted); line-height: 1.55; }
.blog-mini { padding: 14px 16px; border: 1px solid var(--c-border); border-left: 3px solid var(--c-red); border-radius: 0 var(--radius-lg) var(--radius-lg) 0; text-decoration: none; color: var(--c-text); display: block; }
.blog-mini:hover { background: var(--c-bg2); text-decoration: none; }
.blog-mini h4 { font-size: .85rem; font-weight: 700; line-height: 1.35; color: var(--c-text); margin-bottom: 4px; }
.blog-mini .bdate { font-size: .7rem; color: var(--c-muted); }
.blog-side { display: flex; flex-direction: column; gap: 12px; }

/* Grille blog 3 colonnes */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .18s, transform .18s; text-decoration: none; color: inherit; }
.blog-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,.10); transform: translateY(-3px); text-decoration: none; color: inherit; }
.blog-card-img { aspect-ratio: 16/9; overflow: hidden; background: #F3F4F6; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-card-img-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #1a1a2e 0%, #D42B2B 100%); }
.blog-card-img-placeholder i { font-size: 36px; color: rgba(255,255,255,.35); }
.blog-card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.blog-card-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.blog-card-body h2 { font-size: .97rem; font-weight: 700; line-height: 1.4; margin-bottom: 9px; color: var(--c-text); flex: 1; }
.blog-card-body p { font-size: .82rem; color: var(--c-muted); line-height: 1.6; margin-bottom: 16px; flex: 1; }
.blog-card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--c-border); }
.blog-card-date { font-size: .72rem; color: var(--c-muted); }
.blog-card-link { font-size: .78rem; font-weight: 700; color: var(--c-red); display: flex; align-items: center; gap: 4px; }
.blog-card:hover .blog-card-link { text-decoration: underline; }

/* Liste articles blog (legacy, conservé pour autres usages) */
.blog-list-item { display: grid; grid-template-columns: 60px 1fr; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--c-border); align-items: start; }
.blog-list-item:last-child { border-bottom: none; }
.bdate-col .day { font-family: var(--font-head); font-size: 1.6rem; font-weight: 800; color: var(--c-red); line-height: 1; }
.bdate-col .month { font-size: .65rem; color: var(--c-muted); text-transform: uppercase; letter-spacing: .5px; }
.blog-list-item h2 { font-size: .95rem; font-weight: 700; margin-bottom: 5px; color: var(--c-text); }
.blog-list-item p  { font-size: .83rem; color: var(--c-muted); line-height: 1.55; }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  border-top: 3px solid var(--c-red);
  padding: 44px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.cta-band h2 { font-family: var(--font-head); font-size: 1.6rem; font-weight: 800; color: var(--c-text); margin-bottom: 5px; }
.cta-band p  { font-size: .87rem; color: var(--c-muted); }
.cta-band-right { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; flex-shrink: 0; }
.cta-band-right small { font-size: .7rem; color: var(--c-muted); text-align: right; }

.cta-dark { background: var(--c-dark); padding: 56px 0; color: #fff; text-align: center; }
.cta-dark h2 { font-family: var(--font-head); font-size: 2rem; font-weight: 800; margin-bottom: 10px; }
.cta-dark p  { font-size: .95rem; opacity: .65; margin-bottom: 28px; max-width: 480px; margin-left: auto; margin-right: auto; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--c-dark); color: #fff; padding-top: 48px; }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.07); }
.footer-brand .brand-logo-f { height: 36px; width: auto; filter: brightness(0) invert(1); margin-bottom: 12px; }
.footer-desc { font-size: .8rem; color: #6B7280; line-height: 1.65; margin-bottom: 12px; }
.footer-contact a { font-size: .8rem; color: #9CA3AF; text-decoration: none; display: block; margin-bottom: 3px; }
.footer-contact a:hover { color: var(--c-red); }
.footer h5 { font-size: .68rem; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: #4B5563; margin-bottom: 14px; }
.footer ul li { margin-bottom: 8px; }
.footer ul li a { font-size: .82rem; color: #9CA3AF; text-decoration: none; }
.footer ul li a:hover { color: var(--c-red); text-decoration: none; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; }
.footer-bottom p   { font-size: .75rem; color: #4B5563; }
.footer-bottom a   { font-size: .75rem; color: var(--c-red); text-decoration: none; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info h3 { font-family: var(--font-head); font-size: 1.3rem; font-weight: 800; margin-bottom: 18px; }
.info-row { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.info-row i { color: var(--c-red); font-size: 18px; flex-shrink: 0; margin-top: 2px; }
.info-row p { font-size: .87rem; color: var(--c-muted); line-height: 1.6; }
.info-row strong { color: var(--c-text); }
.contact-form label { display: block; font-size: .82rem; font-weight: 600; color: var(--c-text); margin-bottom: 5px; }
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%; padding: 10px 12px; border: 1px solid var(--c-border);
  border-radius: var(--radius); font-family: var(--font-body); font-size: .87rem;
  color: var(--c-text); background: #fff; margin-bottom: 14px;
  transition: border-color .15s;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus { border-color: var(--c-red); outline: none; }
.contact-form textarea { resize: vertical; min-height: 110px; }

/* ============================================================
   CATALOGUE
   ============================================================ */
.catalogue-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.cat-card { border: 1px solid var(--c-border); border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; color: var(--c-text); transition: box-shadow .2s; display: block; }
.cat-card:hover { box-shadow: var(--shadow-md); text-decoration: none; }
.cat-img { height: 100px; background: var(--c-red-bg); display: flex; align-items: center; justify-content: center; }
.cat-img i { font-size: 36px; color: var(--c-red); }
.cat-body { padding: 16px; }
.cat-body h3 { font-size: .95rem; font-weight: 700; margin-bottom: 6px; }
.cat-body p  { font-size: .8rem; color: var(--c-muted); line-height: 1.5; }
.cat-link { font-size: .8rem; font-weight: 700; color: var(--c-red); display: inline-flex; align-items: center; gap: 4px; margin-top: 10px; }

/* ============================================================
   CE QU'ON FAIT LE MIEUX
   ============================================================ */
.feat-items {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px;
}
.feat-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 18px 20px; background: var(--c-surface);
  border: 1px solid var(--c-border); border-radius: var(--radius-lg);
}
.feat-ico {
  width: 36px; height: 36px; background: var(--c-red-bg);
  border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.feat-item h4 { font-size: .875rem; font-weight: 700; margin-bottom: 4px; }
.feat-item p { font-size: .8rem; color: var(--c-muted); line-height: 1.5; margin: 0; }

/* ============================================================
   SECTION ÉQUIPE
   ============================================================ */
.team-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; margin-top: 16px;
}
.team-media { display: flex; flex-direction: column; gap: 14px; }
.team-photo {
  width: 100%; aspect-ratio: 16/9; border-radius: var(--radius-lg);
  overflow: hidden; background: #E5E7EB;
  display: flex; align-items: center; justify-content: center;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-photo-placeholder {
  display: flex; flex-direction: column; align-items: center; gap: 8px; color: #9CA3AF;
}
.team-photo-placeholder i { font-size: 36px; }
.team-photo-placeholder span { font-size: .75rem; font-weight: 500; }
.team-video-wrap {
  width: 100%; aspect-ratio: 16/9; border-radius: var(--radius-lg);
  overflow: hidden; position: relative; background: #111118;
  display: flex; align-items: center; justify-content: center;
}
.team-video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }
.team-video-placeholder {
  display: flex; flex-direction: column; align-items: center; gap: 12px; color: #9CA3AF;
}
.team-video-play {
  width: 60px; height: 60px; background: var(--c-red);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.team-video-play i { font-size: 24px; color: #fff; margin-left: 4px; }
.team-video-placeholder span { font-size: .75rem; }
.team-text .team-lead { font-size: 1rem; color: var(--c-muted); line-height: 1.7; margin-bottom: 14px; }
.team-check-list { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.team-check { display: flex; align-items: flex-start; gap: 10px; font-size: .875rem; color: var(--c-text); }
.team-check i { color: var(--c-red); font-size: 16px; flex-shrink: 0; margin-top: 1px; }

/* ============================================================
   CATALOGUE PDF VIEWER
   ============================================================ */
.pdf-viewer-section { background: #EAECEF; }

.pdf-toolbar {
  background: var(--c-white); border-bottom: 1px solid var(--c-border);
  padding: 10px 24px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  position: sticky; top: var(--header-h); z-index: 50;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.pdf-btn {
  background: var(--c-red); color: #fff; border: none; cursor: pointer;
  padding: 7px 16px; border-radius: var(--radius);
  font-size: .825rem; font-weight: 600;
  display: flex; align-items: center; gap: 6px;
  transition: background .15s;
}
.pdf-btn:hover:not(:disabled) { background: var(--c-red-dark); }
.pdf-btn:disabled { background: #D1D5DB; cursor: not-allowed; color: #9CA3AF; }
.pdf-page-info {
  display: flex; align-items: center; gap: 8px;
  font-size: .875rem; color: var(--c-text); font-weight: 600;
}
.pdf-page-info input {
  width: 58px; padding: 5px 8px; text-align: center;
  border: 1px solid var(--c-border); border-radius: var(--radius);
  font-size: .875rem; font-weight: 700;
}
.pdf-page-info input:focus { outline: none; border-color: var(--c-red); }
.pdf-zoom-group { display: flex; align-items: center; gap: 6px; }
.pdf-zoom-btn {
  background: var(--c-surface); border: 1px solid var(--c-border);
  width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius); cursor: pointer; font-size: 1.1rem; font-weight: 700;
  transition: border-color .15s, color .15s; line-height: 1;
}
.pdf-zoom-btn:hover { border-color: var(--c-red); color: var(--c-red); }
.pdf-zoom-level { font-size: .8rem; font-weight: 600; color: var(--c-muted); min-width: 44px; text-align: center; }
.pdf-download-btn {
  margin-left: auto; display: flex; align-items: center; gap: 6px;
  font-size: .8rem; font-weight: 600; color: var(--c-text); text-decoration: none;
  border: 1px solid var(--c-border); padding: 6px 14px; border-radius: var(--radius);
  transition: border-color .15s, color .15s;
}
.pdf-download-btn:hover { border-color: var(--c-red); color: var(--c-red); text-decoration: none; }

.pdf-canvas-wrap {
  display: flex; justify-content: center; align-items: flex-start;
  padding: 32px 24px; min-height: 500px; position: relative;
}
#pdf-canvas { max-width: 820px; }
#pdf-canvas { box-shadow: 0 6px 32px rgba(0,0,0,.25); max-width: 100%; display: block; }
.pdf-loading {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(234,236,239,.75);
}
.pdf-spinner {
  width: 36px; height: 36px; border: 3px solid #D1D5DB;
  border-top-color: var(--c-red); border-radius: 50%;
  animation: spin .75s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .prod-grid, .args-grid, .hero-stats, .content-layout,
  .blog-grid-main, .contact-grid, .catalogue-grid,
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps::before { display: none; }
  .erp-chips { gap: 7px; }
  .page-header-inner { grid-template-columns: 1fr; }
  .price-box { display: none; }
  .feat-items { grid-template-columns: 1fr 1fr; }
  .team-split { grid-template-columns: 1fr; gap: 32px; }
  .hero-split { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .nav-list { display: none; }
  .nav-toggle { display: flex; }
  .nav-list.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--c-border); padding: 1rem; gap: .5rem; }
  .prod-grid, .args-grid, .footer-grid, .contact-grid, .catalogue-grid, .blog-grid { grid-template-columns: 1fr; }
  .feat-items { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .content-layout { grid-template-columns: 1fr; }
  .content-sidebar { padding: 0; border-top: 1px solid var(--c-border); margin-top: 24px; padding-top: 24px; }
  .cta-band { flex-direction: column; text-align: center; }
  .cta-band-right { align-items: center; }
}
