/* ===================================================================
   SPARKLIN — style.css (fusionné depuis home.css + main.css)
   Ordre : variables/reset → layout → nav → hero → sections →
           composants → home-page → utilitaires → responsive
   =================================================================== */

/* === VARIABLES & RESET === */

:root {
  --orange: #E8563A;
  --orange-light: #FF6B4A;
  --dark: #1A1A2E;
  --text-dark: #1A1A2E;
  --text-mid: #4A4A6A;
  --text-light: #6B6B8A;
  --bg-white: #FFFFFF;
  --bg-off: #F7F6F3;
  --bg-light: #F2F1EE;
  --border: #E8E6E0;
  --border-dark: #D4D0C8;
  --font-display: 'Wix Madefor Display', sans-serif;
  --font-body: 'Wix Madefor Text', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--bg-white); color: var(--text-dark); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }


/* === LAYOUT === */

.sk-wrap {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(20px, 5vw, 80px);
  padding-right: clamp(20px, 5vw, 80px);
}
.sk-wrap--narrow { max-width: 900px; }
.sk-wrap--wide   { max-width: 1440px; }

.sk-section {
  padding-top: clamp(56px, 8vw, 100px);
  padding-bottom: clamp(56px, 8vw, 100px);
}

main { display: block !important; padding-top: 64px !important; }


/* === NAV === */

nav.main-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(20px,5vw,80px); height: 64px;
  background: rgba(255,255,255,0.94); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-center { display: flex; align-items: center; gap: 0; }

.nav-tab {
  padding: 8px 18px; font-size: 14px; font-weight: 500; cursor: pointer;
  color: var(--text-light); border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s; white-space: nowrap;
  background: none; border-top: none; border-left: none; border-right: none;
  font-family: var(--font-body);
}
.nav-tab.active { color: var(--orange); border-bottom-color: var(--orange); }
.nav-tab:hover { color: var(--text-dark); }

.nav-links-right { display: flex; gap: 24px; list-style: none; align-items: center; }
.nav-links-right a { color: var(--text-mid); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.nav-links-right a:hover { color: var(--text-dark); }

.nav-cta {
  background: var(--orange); color: #fff;
  padding: 11px 24px; border-radius: 8px;
  font-weight: 500; font-size: 14px;
}
.nav-cta:hover { background: var(--orange-light); }

/* Lang selector */
.sk-lang-wrap { position: relative; flex-shrink: 0; }
.sk-lang-trigger { display: flex; align-items: center; gap: 5px; padding: 5px 9px; border: 1.5px solid var(--border); border-radius: 7px; font-size: 11px; font-weight: 700; background: none; cursor: pointer; color: var(--text-mid); transition: all .15s; white-space: nowrap; font-family: inherit; }
.sk-lang-trigger:hover, .sk-lang-trigger.open { border-color: var(--orange); color: var(--orange); }
.sk-lang-menu { display: none; position: absolute; top: calc(100% + 8px); right: 0; background: #fff; border: 1px solid var(--border); border-radius: 10px; box-shadow: 0 8px 32px rgba(26,26,46,.1); min-width: 170px; padding: 5px; z-index: 999; }
.sk-lang-opt { display: flex; align-items: center; gap: 8px; width: 100%; padding: 7px 10px; background: none; border: none; cursor: pointer; border-radius: 6px; font-family: inherit; font-size: 13px; color: var(--text-mid); text-align: left; transition: background .12s; }
.sk-lang-opt:hover { background: var(--bg-off); }
.sk-lang-opt.active { background: rgba(232,86,58,.07); color: var(--orange); font-weight: 600; }
.sk-lang-flag { font-size: 14px; flex-shrink: 0; }
@keyframes sk-menu-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* Mega nav */
.nav-mega { display: flex; align-items: stretch; gap: 0; height: 100%; }
.nav-mega-item { position: relative; display: flex; align-items: center; }
.nav-mega-trigger {
  padding: 0 16px; font-size: 15px; font-weight: 500; cursor: pointer;
  color: var(--text-mid); border: none; background: none;
  font-family: var(--font-body); display: flex; align-items: center; gap: 5px;
  height: 100%; border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s; white-space: nowrap;
}
.nav-mega-trigger::after { content: '▾'; font-size: 9px; opacity: 0.5; margin-left: 2px; transition: transform 0.2s; }
.nav-mega-item.open .nav-mega-trigger::after { transform: rotate(180deg); }
.nav-mega-trigger:hover { color: var(--text-dark); }
.nav-mega-item.active > .nav-mega-trigger { color: var(--orange); border-bottom-color: var(--orange); }

.nav-simple-tab {
  padding: 0 16px; font-size: 13.5px; font-weight: 500; cursor: pointer;
  color: var(--text-mid); border: none; background: none;
  font-family: var(--font-body); height: 100%; border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s; white-space: nowrap;
}
.nav-simple-tab:hover { color: var(--text-dark); }
.nav-simple-tab.active { color: var(--orange); border-bottom-color: var(--orange); }

/* Mega panels */
.nav-mega-panel {
  display: none; position: absolute; top: 100%; left: 0;
  background: #fff; border: 1px solid var(--border);
  border-radius: 0 0 14px 14px; box-shadow: 0 16px 48px rgba(26,26,46,0.12);
  min-width: 520px; z-index: 300; padding: 20px;
}
.nav-mega-item.open .nav-mega-panel { display: flex; }
.nav-panel-col { display: flex; flex-direction: column; gap: 4px; }
.nav-panel-col + .nav-panel-col { border-left: 1px solid var(--border); margin-left: 12px; padding-left: 12px; }
.nav-panel-label {
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--text-light); padding: 4px 10px 8px; display: block;
}
.nav-panel-item {
  display: flex; align-items: center; gap: 10px; padding: 9px 10px;
  border-radius: 8px; border: none; background: none; cursor: pointer;
  font-family: var(--font-body); text-align: left; width: 100%;
  transition: background 0.15s;
}
.nav-panel-item:hover { background: var(--bg-off); }
.nav-panel-item.active { background: rgba(232,86,58,0.07); }
.nav-panel-icon { font-size: 18px; flex-shrink: 0; width: 28px; text-align: center; }
.nav-panel-texts { display: flex; flex-direction: column; }
.nav-panel-name { font-size: 13.5px; font-weight: 500; color: var(--text-dark); line-height: 1.2; }
.nav-panel-sub { font-size: 11.5px; color: var(--text-light); margin-top: 1px; }

/* Simple dropdown (cas clients) */
.nav-simple-dropdown {
  display: none; position: absolute; top: 100%; left: 0;
  background: #fff; border: 1px solid var(--border); border-radius: 0 0 12px 12px;
  box-shadow: 0 12px 40px rgba(26,26,46,0.10); padding: 8px; min-width: 240px; z-index: 300;
}
.nav-mega-item.open .nav-simple-dropdown { display: flex; flex-direction: column; gap: 2px; }

/* Dropdown (legacy) */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
  padding: 8px 18px; font-size: 14px; font-weight: 500; cursor: pointer;
  color: var(--text-light); border: none; background: none;
  font-family: var(--font-body); display: flex; align-items: center; gap: 5px;
  transition: color 0.2s; white-space: nowrap;
  border-bottom: 2px solid transparent;
}
.nav-dropdown-toggle::after { content: '▾'; font-size: 10px; opacity: 0.6; transition: transform 0.2s; }
.nav-dropdown.open .nav-dropdown-toggle::after { transform: rotate(180deg); }
.nav-dropdown-toggle:hover { color: var(--text-dark); }
.nav-dropdown.active .nav-dropdown-toggle { color: var(--orange); border-bottom-color: var(--orange); }
.nav-dropdown-menu {
  display: none; position: absolute; top: calc(100% + 8px); left: 50%;
  transform: translateX(-50%); min-width: 230px;
  background: #fff; border: 1px solid var(--border);
  border-radius: 12px; box-shadow: 0 12px 40px rgba(26,26,46,0.12);
  padding: 8px; z-index: 300; flex-direction: column; gap: 2px;
}
.nav-dropdown.open .nav-dropdown-menu { display: flex; }
.nav-dropdown-item {
  padding: 10px 14px; border-radius: 8px; border: none; background: none;
  font-family: var(--font-body); font-size: 14px; color: var(--text-mid);
  cursor: pointer; text-align: left; transition: background 0.15s, color 0.15s;
  display: flex; align-items: center; gap: 10px;
}
.nav-dropdown-item:hover { background: var(--bg-off); color: var(--text-dark); }
.nav-dropdown-item.active { background: rgba(232,86,58,0.08); color: var(--orange); font-weight: 500; }
.nav-dropdown-item-icon { font-size: 16px; flex-shrink: 0; }
.nav-dropdown-sep { height: 1px; background: var(--border); margin: 4px 8px; }

/* Hamburger */
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 8px; cursor: pointer; z-index: 301; flex-shrink: 0;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--dark); border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.nav-mobile-drawer {
  display: none; position: fixed; top: 64px; left: 0; right: 0; bottom: 0;
  background: #fff; z-index: 299; overflow-y: auto;
  padding: 16px 20px 40px; flex-direction: column; gap: 0;
  border-top: 1px solid var(--border); -webkit-overflow-scrolling: touch;
  transform: translateY(-8px); opacity: 0;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-mobile-drawer.open { display: flex; transform: translateY(0); opacity: 1; }
body.nav-open { overflow: hidden; }

.nav-drawer-section { border-bottom: 1px solid var(--bg-off); }
.nav-drawer-trigger {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; background: none; border: none; padding: 14px 0;
  font-size: 15px; font-weight: 700; color: var(--dark);
  font-family: var(--font-display); cursor: pointer; text-align: left;
}
.nav-drawer-trigger .arrow { transition: transform .2s; color: var(--text-light); font-size: 18px; line-height: 1; }
.nav-drawer-trigger.open .arrow { transform: rotate(180deg); }
.nav-drawer-links { display: none; flex-direction: column; gap: 2px; padding-bottom: 12px; }
.nav-drawer-links.open { display: flex; }
.nav-drawer-links a {
  display: block; padding: 10px 12px; border-radius: 8px;
  font-size: 14px; font-weight: 600; color: var(--text-dark);
  text-decoration: none; background: var(--bg-off); margin-bottom: 2px;
}
.nav-drawer-links a:hover { background: rgba(232,86,58,.07); color: var(--orange); }
.nav-drawer-link {
  display: block; padding: 14px 0; font-size: 15px; font-weight: 700;
  color: var(--dark); text-decoration: none; border-bottom: 1px solid var(--bg-off);
}
.nav-drawer-links a.nav-drawer-lang-opt { display: flex; align-items: center; gap: 8px; }
.nav-drawer-links a.nav-drawer-lang-opt.active { background: rgba(232,86,58,.1); color: var(--orange); }
.nav-drawer-cta { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.nav-drawer-cta a.btn-primary { width: 100%; text-align: center; padding: 14px 20px; font-size: 15px; box-sizing: border-box; }


/* === HERO PRODUIT (header.hero / section.hero) === */

header.hero {
  display: grid !important;
  grid-template-columns: 1.1fr 0.9fr !important;
  gap: 64px !important;
  align-items: center !important;
  padding: 120px clamp(24px,5vw,80px) 72px !important;
  background: var(--bg-white) !important;
  min-height: auto !important;
  overflow: visible !important;
}
header.hero > div:first-child {
  display: flex; flex-direction: column; gap: 20px; align-items: flex-start;
}
header.hero .hero-visual {
  display: flex !important; align-items: center !important;
  justify-content: center !important; overflow: visible !important;
}
header.hero .hero-img-main,
header.hero .hero-visual img {
  width: 100% !important; max-width: 460px !important;
  height: auto !important; max-height: 520px !important;
  object-fit: contain !important; border-radius: 20px !important;
  display: block !important; box-shadow: 0 24px 80px rgba(26,26,46,0.12) !important;
}
header.hero .hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(232,86,58,0.08); border: 1px solid rgba(232,86,58,0.25);
  color: var(--orange); padding: 6px 14px; border-radius: 100px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.04em;
}
header.hero h1 {
  font-family: var(--font-display); font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 800; color: var(--dark); line-height: 1.1; letter-spacing: -0.03em;
}
header.hero h1 em { font-style: normal; color: var(--orange); }
header.hero .hero-sub {
  font-size: 16px; font-weight: 300; color: var(--text-mid); line-height: 1.75; max-width: 520px;
}
header.hero .hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
header.hero .chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--bg-off); border: 1px solid var(--border);
  color: var(--text-mid); padding: 5px 12px; border-radius: 100px; font-size: 12px;
}
header.hero .chip-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); flex-shrink: 0; }
header.hero .hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* .hero générique (fallback) */
.hero {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: 64px; align-items: center; background: var(--bg-white);
  padding: 100px clamp(20px,5vw,80px) 60px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(232,86,58,0.08); border: 1px solid rgba(232,86,58,0.25);
  border-radius: 100px; padding: 5px 14px; font-size: 11px; font-weight: 600;
  color: var(--orange); letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 24px; width: fit-content; animation: fadeUp 0.5s ease both;
}
.hero-badge::before {
  content: ''; width: 6px; height: 6px; background: var(--orange);
  border-radius: 50%; animation: blink 2s infinite;
}
.hero h1 {
  font-family: var(--font-display); font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 800; line-height: 1.1; letter-spacing: -0.025em; color: var(--dark);
  margin-bottom: 22px; animation: fadeUp 0.5s 0.08s ease both;
}
.hero h1 em { font-style: normal; color: var(--orange); }
.hero-sub {
  font-size: 17px; font-weight: 300; color: var(--text-mid); line-height: 1.7;
  max-width: 500px; margin-bottom: 36px; animation: fadeUp 0.5s 0.16s ease both;
}
.hero-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; animation: fadeUp 0.5s 0.24s ease both; }
.hero-chips { display: flex; gap: 10px; margin-top: 28px; flex-wrap: wrap; animation: fadeUp 0.5s 0.32s ease both; }
.hero-visual {
  display: flex !important; justify-content: center; align-items: center;
  animation: fadeUp 0.6s 0.1s ease both;
}
.hero-img-main {
  display: block !important; width: 100%; max-width: 480px;
  height: auto; border-radius: 20px; object-fit: cover;
  box-shadow: 0 24px 80px rgba(26,26,46,0.12);
}


/* === TRUST BAR === */

.trust-bar {
  display: flex !important; flex-direction: row !important;
  flex-wrap: nowrap !important; align-items: center !important;
  justify-content: center !important; overflow-x: auto !important;
  padding: 18px clamp(20px,5vw,80px) !important; gap: 0 !important;
  background: var(--bg-off) !important;
  border-top: 1px solid var(--border) !important;
  border-bottom: 1px solid var(--border) !important;
  scrollbar-width: none !important;
}
.trust-bar::-webkit-scrollbar { display: none !important; }
.trust-item {
  display: flex !important; align-items: center !important;
  justify-content: center !important; gap: 8px !important;
  padding: 6px 24px !important; font-size: 13px !important;
  color: var(--text-mid) !important; border-right: 1px solid var(--border) !important;
  white-space: nowrap !important; flex-shrink: 0 !important; text-align: center !important;
}
.trust-item:last-child { border-right: none !important; }
.trust-item strong { color: var(--text-dark) !important; font-weight: 600 !important; }


/* === INTRO === */

section.intro-section {
  display: grid !important;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr) !important;
  gap: 64px !important; align-items: center !important;
  padding: 80px clamp(24px,5vw,80px) !important;
  background: var(--bg-white);
}
section.intro-section.img-left .intro-text { order: 2; }
section.intro-section.img-left .intro-image { order: 1; }
.intro-text { display: flex; flex-direction: column; justify-content: center; }
.intro-text h2 {
  font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; color: var(--dark); margin-bottom: 20px;
}
.intro-text p { font-size: 16px; color: var(--text-mid); line-height: 1.75; font-weight: 300; margin-bottom: 16px; }
.intro-image {
  display: flex !important; align-items: stretch !important;
  overflow: hidden !important; border-radius: 16px !important;
  min-height: 320px !important; max-height: 520px !important;
}
.intro-image img {
  width: 100% !important; height: 100% !important;
  object-fit: cover !important; min-height: 320px !important;
  border-radius: 16px !important; display: block !important; flex: 1 !important;
}
.intro-image img.product-render { object-fit: contain; background: transparent; padding: 20px; }


/* === GALLERY === */

.gallery-strip {
  display: grid !important;
  grid-template-columns: 1.2fr 1fr 1fr !important;
  height: 360px !important; overflow: hidden !important; gap: 4px !important;
}
.gallery-strip > div {
  overflow: hidden !important; position: relative !important; height: 360px !important;
}
.gallery-strip > div::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,26,46,0.25) 0%, transparent 55%);
}
.gallery-strip img {
  width: 100% !important; height: 100% !important;
  object-fit: cover !important; display: block !important;
  transition: transform .5s ease !important;
}
.gallery-strip > div:hover img { transform: scale(1.04) !important; }


/* === PILLARS === */

.pillars-section { background: var(--bg-white); padding: 100px clamp(20px,5vw,80px); }
.pillars-header { margin-bottom: 56px; max-width: 580px; }
.pillars-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.pillar-card {
  background: var(--bg-off); border: 1.5px solid var(--border); border-radius: 16px; padding: 36px 28px;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s; position: relative; overflow: hidden;
}
.pillar-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform 0.3s ease;
}
.pillar-card:hover { border-color: rgba(232,86,58,0.3); box-shadow: 0 8px 40px rgba(26,26,46,0.08); transform: translateY(-3px); }
.pillar-card:hover::after { transform: scaleX(1); }
.pillar-icon { width: 48px; height: 48px; background: rgba(232,86,58,0.1); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 20px; }
.pillar-card h3 { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--dark); margin-bottom: 12px; line-height: 1.3; }
.pillar-card p { font-size: 14.5px; color: var(--text-mid); line-height: 1.7; font-weight: 300; }


/* === SPECS === */

.specs-section { background: var(--bg-off); padding: 100px clamp(20px,5vw,80px); }
.specs-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 72px; align-items: start; max-width: 1100px; margin: 0 auto; }
.specs-list { margin-top: 40px; }
.spec-row {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 16px;
  padding: 20px 0; border-bottom: 1px solid var(--border); align-items: start;
}
.spec-row:first-child { border-top: 1px solid var(--border); }
.spec-name { font-size: 12px; font-weight: 500; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.07em; padding-top: 2px; }
.spec-value { font-size: 15px; font-weight: 400; color: var(--text-dark); }
.spec-value em { font-style: normal; display: block; font-size: 12px; color: var(--orange); margin-top: 4px; }
.specs-images {
  display: flex !important; flex-direction: column !important; gap: 16px !important;
}
.specs-images img {
  width: 100% !important; height: auto !important; max-height: 300px !important;
  object-fit: cover !important; border-radius: 14px !important; display: block !important;
  box-shadow: 0 8px 32px rgba(26,26,46,0.08); border: 1px solid var(--border);
}


/* === PILOT === */

.pilot-section { background: var(--bg-white); padding: 100px clamp(20px,5vw,80px); }
.pilot-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 72px; align-items: center; max-width: 1100px; margin: 0 auto; }
.pilot-features { display: flex; flex-direction: column; gap: 28px; margin-top: 36px; }
.pilot-feature { display: flex; gap: 16px; align-items: flex-start; }
.pilot-feature-icon { width: 40px; height: 40px; background: rgba(232,86,58,0.1); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; margin-top: 2px; }
.pilot-feature-text h4 { font-size: 15px; font-weight: 500; color: var(--dark); margin-bottom: 5px; }
.pilot-feature-text p { font-size: 14px; color: var(--text-mid); line-height: 1.65; font-weight: 300; }
.pilot-screens { display: flex !important; flex-direction: column !important; gap: 16px !important; }
.pilot-screen { overflow: hidden !important; border-radius: 14px !important; max-height: 260px !important; }
.pilot-screen img { width: 100% !important; height: 100% !important; object-fit: cover !important; display: block !important; }


/* === ECOSYSTEM === */

.ecosystem-section { background: var(--bg-off); border-top: 1px solid var(--border); padding: 80px clamp(20px,5vw,80px); }
.ecosystem-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 56px; align-items: center; max-width: 1000px; margin: 0 auto; }
.ecosystem-img img { width: 100%; border-radius: 16px; box-shadow: 0 12px 48px rgba(26,26,46,0.08); }


/* === COMPARE BANNER === */

.compare-banner {
  background: var(--dark); padding: 64px clamp(20px,5vw,80px);
  display: flex !important; flex-direction: column !important;
  align-items: center !important; text-align: center !important; gap: 40px;
}
.compare-banner-text { text-align: center; max-width: 680px; }
.compare-banner-text h3 {
  font-family: var(--font-display); font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700; color: #fff; margin-bottom: 10px; text-align: center;
}
.compare-banner-text p { font-size: 15px; color: rgba(255,255,255,.6); line-height: 1.6; font-weight: 300; text-align: center; }
.compare-cards { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
a.compare-card { text-decoration: none; display: block; cursor: pointer; }
a.compare-card .compare-card-name { color: #fff; }
.compare-card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px; padding: 20px 24px; cursor: pointer;
  transition: background 0.2s, border-color 0.2s; text-align: center; min-width: 130px;
}
.compare-card:hover { background: rgba(255,255,255,0.10); border-color: rgba(232,86,58,0.5); }
.compare-card.current { border-color: var(--orange); background: rgba(232,86,58,0.1); }
.compare-card-name { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.compare-card-sub { font-size: 12px; color: rgba(255,255,255,0.5); }
.compare-card-badge {
  display: inline-block; background: var(--orange); color: #fff;
  font-size: 10px; font-weight: 600; padding: 2px 8px; border-radius: 100px;
  margin-top: 8px; letter-spacing: 0.06em; text-transform: uppercase;
}


/* === FAQ === */

.faq-section { background: var(--bg-white); padding: 100px clamp(20px,5vw,80px); }
.faq-layout { max-width: 760px; margin: 0 auto; }
.faq-header { margin-bottom: 48px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%; background: none; border: none; cursor: pointer; padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center;
  text-align: left; color: var(--text-dark); font-family: var(--font-body);
  font-size: 16px; font-weight: 400; gap: 16px; transition: color 0.2s;
}
.faq-question:hover { color: var(--orange); }
.faq-icon {
  width: 28px; height: 28px; border: 1.5px solid var(--border-dark); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0;
  color: var(--orange); transition: transform 0.25s, border-color 0.2s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); border-color: var(--orange); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer p { padding-bottom: 22px; font-size: 15px; color: var(--text-mid); line-height: 1.75; font-weight: 300; }


/* === CTA CLOSE === */

.cta-close { background: var(--dark); padding: 100px clamp(20px,5vw,80px); text-align: center; }
.cta-close .section-title { color: #fff; max-width: 600px; margin: 0 auto 18px; }
.cta-close .section-body { color: rgba(255,255,255,0.6); max-width: 460px; margin: 0 auto 40px; }
.cta-close-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }


/* === CAS CLIENT PAGES === */

section.cas-hero {
  display: grid !important; grid-template-columns: 1.15fr 0.85fr !important;
  gap: 64px !important; align-items: center !important;
  padding: 120px clamp(24px,5vw,80px) 72px !important;
  background: var(--bg-white) !important;
}
section.cas-hero > div:first-child { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
section.cas-hero > div:last-child { overflow: hidden; border-radius: 20px; max-height: 480px; min-height: 320px; }
section.cas-hero > div:last-child img {
  width: 100% !important; height: 100% !important; min-height: 320px;
  object-fit: cover !important; border-radius: 20px !important;
  display: block !important; box-shadow: 0 24px 80px rgba(26,26,46,0.12) !important;
}
section.cas-hero .hero-badge,
section.cas-hero .cas-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(232,86,58,0.08); border: 1px solid rgba(232,86,58,0.25);
  color: var(--orange); padding: 6px 14px; border-radius: 100px; font-size: 12px; font-weight: 600;
}
section.cas-hero h1 {
  font-family: var(--font-display); font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 800; color: var(--dark); line-height: 1.1; letter-spacing: -0.03em;
}
section.cas-hero h1 em { font-style: normal; color: var(--orange); }
section.cas-hero p { font-size: 16px; font-weight: 300; color: var(--text-mid); line-height: 1.75; max-width: 520px; }

.cas-problem { background: var(--bg-off); padding: 80px clamp(20px,5vw,80px); }
.cas-problem-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; margin-top: 48px; }
.cas-obstacle {
  background: var(--bg-white); border: 1.5px solid var(--border);
  border-radius: 14px; padding: 28px; border-top: 3px solid rgba(232,86,58,0.3);
}
.cas-obstacle h4 { font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.cas-obstacle p { font-size: 14px; color: var(--text-mid); line-height: 1.65; font-weight: 300; }

.cas-solution { background: var(--bg-white); padding: 80px clamp(20px,5vw,80px); }
.cas-solution-steps { display: flex; flex-direction: column; gap: 0; margin-top: 48px; }
.cas-step { display: grid; grid-template-columns: 64px 1fr; gap: 28px; padding: 36px 0; border-bottom: 1px solid var(--border); align-items: start; }
.cas-step:first-child { border-top: 1px solid var(--border); }
.cas-step-num {
  width: 48px; height: 48px; background: var(--orange); color: #fff;
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 20px; font-weight: 800; flex-shrink: 0;
}
.cas-step-content h3 { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--dark); margin-bottom: 12px; line-height: 1.25; }
.cas-step-content p { font-size: 15px; color: var(--text-mid); line-height: 1.75; font-weight: 300; margin-bottom: 12px; }

.cas-chiffres { background: var(--bg-off); padding: 80px clamp(20px,5vw,80px); }
.cas-table-wrap { overflow-x: auto; margin-top: 40px; }
.cas-table { width: 100%; border-collapse: collapse; font-size: 14px; font-family: var(--font-body); }
.cas-table thead tr { border-bottom: 2px solid var(--border-dark); }
.cas-table th { text-align: left; padding: 14px 16px; color: var(--text-light); font-weight: 500; font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; }
.cas-table td { padding: 14px 16px; border-bottom: 1px solid var(--border); }
.cas-table td:first-child { color: var(--text-mid); }
.cas-table td:nth-child(2) { color: var(--text-mid); font-style: italic; }
.cas-table td:nth-child(3) { color: var(--orange); font-weight: 500; }
.cas-table tr:last-child td { border-bottom: none; font-weight: 600; }
.cas-table tr:last-child td:nth-child(3) { font-size: 15px; }

.cas-reglementation { background: var(--bg-white); padding: 64px clamp(20px,5vw,80px); }
.cas-reglementation-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; margin-top: 40px; }
.cas-regle-card { background: var(--bg-off); border: 1px solid var(--border); border-radius: 14px; padding: 24px; }
.cas-regle-card h4 { font-size: 15px; font-weight: 600; color: var(--dark); margin-bottom: 8px; }
.cas-regle-card p { font-size: 14px; color: var(--text-mid); line-height: 1.65; font-weight: 300; }


/* === COMPOSANTS PARTAGÉS === */

.btn-primary {
  background: var(--orange); color: #fff;
  padding: 14px 28px; border-radius: 8px;
  font-family: var(--font-body); font-size: 15px; font-weight: 500;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(232,86,58,0.25);
}
.btn-primary:hover { background: var(--orange-light); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(232,86,58,0.35); }

.btn-primary-light {
  background: var(--orange); color: #fff; padding: 15px 30px; border-radius: 8px;
  font-family: var(--font-body); font-size: 15px; font-weight: 500;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  transition: background 0.2s, transform 0.15s; box-shadow: 0 4px 20px rgba(232,86,58,0.3);
}
.btn-primary-light:hover { background: var(--orange-light); transform: translateY(-2px); }

.btn-outline {
  background: transparent; color: var(--text-dark); border: 1.5px solid var(--border-dark);
  padding: 13px 24px; border-radius: 8px; font-family: var(--font-body); font-size: 15px;
  text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
  transition: border-color 0.2s, color 0.2s;
}
.btn-outline:hover { border-color: var(--orange); color: var(--orange); }

.btn-ghost {
  background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.15); padding: 14px 26px; border-radius: 8px;
  font-family: var(--font-body); font-size: 15px; text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px; transition: background 0.2s;
}
.btn-ghost:hover { background: rgba(255,255,255,0.14); }

.section-label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--orange); margin-bottom: 14px; display: block;
}
.section-title {
  font-family: var(--font-display); font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  font-weight: 800; line-height: 1.15; letter-spacing: -0.02em;
  color: var(--dark); margin-bottom: 16px;
}
.section-body { font-size: 16px; color: var(--text-mid); line-height: 1.7; font-weight: 300; }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--bg-off); border: 1px solid var(--border);
  border-radius: 100px; padding: 6px 14px; font-size: 13px; color: var(--text-mid);
}
.chip-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); flex-shrink: 0; }

.made-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 100px; padding: 7px 18px; font-size: 13px;
  color: rgba(255,255,255,0.6); margin-bottom: 40px;
}

.reveal { opacity: 1; transform: none; }
.reveal.visible { opacity: 1; transform: none; }

.logo-pill { transition: opacity .2s; }
.logo-pill:hover { opacity: .7; }

/* Sections visibility guard */
section, .hero, .intro-section, .pillars-section, .specs-section,
.pilot-section, .faq-section, .cta-close, .gallery-strip,
.cas-hero, .cas-problem,
.cas-solution, .cas-chiffres, .cas-reglementation { display: block !important; visibility: visible !important; }
.compare-banner { display: flex !important; visibility: visible !important; }
.trust-bar { display: flex !important; visibility: visible !important; }


/* === HOME PAGE === */

/* Home hero */
section.home-hero {
  display: grid !important;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr) !important;
  min-height: 100vh !important; background: var(--bg-white) !important;
  overflow: hidden !important; padding-top: 64px;
}
section.home-hero > div { min-height: 0; }
section.home-hero > div[style*="order:2"] {
  position: relative !important; overflow: hidden !important; min-height: 480px !important;
}
section.home-hero > div[style*="order:2"] > img {
  position: absolute !important; inset: 0 !important;
  width: 100% !important; height: 100% !important; object-fit: cover !important; display: block !important;
}
section.home-hero > div[style*="order:1"] {
  display: flex; flex-direction: column; justify-content: center;
  padding: 80px clamp(24px,5vw,80px); position: relative; z-index: 2;
}

/* Home h1 & sub */
.home-h1 {
  font-family: var(--font-display); font-size: clamp(2.5rem,4vw,3.7rem);
  font-weight: 800; line-height: 1.08; letter-spacing: -.03em; color: var(--dark);
  margin-bottom: 22px; position: relative; z-index: 1; opacity: 0;
  animation: fadeUp .7s .25s ease forwards;
}
.home-h1 em { font-style: normal; color: var(--orange); }
.hero-word { display: inline-block; color: var(--orange); min-width: 280px; }
.home-sub {
  font-size: 16.5px; font-weight: 300; color: var(--text-mid); line-height: 1.72;
  max-width: 460px; margin-bottom: 36px; position: relative; z-index: 1;
  opacity: 0; animation: fadeUp .7s .4s ease forwards;
}
.home-actions {
  display: flex; gap: 13px; flex-wrap: wrap; margin-bottom: 52px;
  position: relative; z-index: 1; opacity: 0; animation: fadeUp .7s .55s ease forwards;
}
.home-metrics {
  display: flex; gap: 0; padding-top: 36px; border-top: 1px solid var(--border);
  position: relative; z-index: 1; opacity: 0; animation: fadeUp .7s .7s ease forwards;
}
.home-metric { flex: 1; }
.home-metric + .home-metric { border-left: 1px solid var(--border); padding-left: 24px; }
.home-metric-n { font-family: var(--font-display); font-size: 1.9rem; font-weight: 800; color: var(--dark); line-height: 1; margin-bottom: 4px; }
.home-metric-n span { color: var(--orange); }
.home-metric-l { font-size: 11.5px; color: var(--text-light); line-height: 1.45; }

/* Home eyebrow */
.home-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(232,86,58,0.08); border: 1px solid rgba(232,86,58,0.2);
  border-radius: 100px; padding: 5px 14px; font-size: 11px; font-weight: 600;
  color: var(--orange); letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 28px; width: fit-content; opacity: 0;
  animation: hFadeUp 0.6s 0.1s ease forwards;
}
.home-eyebrow-dot { width: 6px; height: 6px; background: var(--orange); border-radius: 50%; animation: blink 2s infinite; }

/* Scroll reveal */
.h-reveal, .h-reveal.visible,
.h-reveal-left, .h-reveal-left.visible,
.h-reveal-right, .h-reveal-right.visible { opacity: 1; transform: none; }

/* Logos band */
.home-logos-band { display: flex; align-items: center; overflow: hidden; }
.home-logos-label { font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-light); white-space: nowrap; padding: 0 28px; flex-shrink: 0; border-right: 1px solid var(--border); }
.home-logos-track { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg,transparent,black 8%,black 92%,transparent); }
.home-logos-scroll { display: flex; gap: 48px; align-items: center; animation: scrollLogos 20s linear infinite; width: max-content; }

/* Home pitch */
.home-pitch { background: var(--bg-white); padding: 96px 5vw; }
.home-pitch-wrap { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.home-pitch-h2 { font-family: var(--font-display); font-size: clamp(1.9rem, 3.2vw, 2.6rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; color: var(--dark); margin-bottom: 20px; }
.home-pitch-body { font-size: 15px; color: var(--text-mid); line-height: 1.75; font-weight: 300; margin-bottom: 12px; }
.home-sfr-q { background: var(--bg-off); border-left: 3px solid var(--orange); border-radius: 0 10px 10px 0; padding: 18px 22px; margin: 24px 0; }
.home-sfr-q p { font-size: 13.5px; color: var(--text-mid); line-height: 1.7; font-weight: 300; }
.home-sfr-q cite { display: block; margin-top: 8px; font-size: 11px; color: var(--text-light); font-style: normal; letter-spacing: .04em; }
.home-dash-wrap { position: relative; }
.home-dash-img { width: 100%; border-radius: 14px; border: 1px solid var(--border); box-shadow: 0 20px 72px rgba(26,26,46,.11); display: block; transform: perspective(1000px) rotateY(-5deg) rotateX(2deg); transition: transform .55s cubic-bezier(.34,1.56,.64,1); }
.home-dash-wrap:hover .home-dash-img { transform: perspective(1000px) rotateY(0) rotateX(0); }
.home-app-img { position: absolute; bottom: -26px; right: -18px; width: 37%; border-radius: 12px; border: 2px solid #fff; box-shadow: 0 14px 44px rgba(26,26,46,.14); transform: perspective(700px) rotateY(-8deg) rotateX(3deg); transition: transform .55s cubic-bezier(.34,1.56,.64,1); }
.home-dash-wrap:hover .home-app-img { transform: perspective(700px) rotateY(0) rotateX(0); }

/* Home gamme */
.home-gamme { background: var(--bg-off); padding: 96px 5vw; }
.home-gamme-wrap { max-width: 1100px; margin: 0 auto; }
.home-gamme-hdr { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 40px; gap: 20px; flex-wrap: wrap; }
.home-gamme-header {
  display: flex !important; flex-direction: column !important; align-items: center !important;
  text-align: center !important; justify-content: center !important; margin-bottom: 48px; gap: 24px;
}
.home-gamme-h2 {
  font-family: var(--font-display); font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  font-weight: 800; letter-spacing: -0.025em; color: var(--dark);
  text-align: center !important; max-width: 100% !important; line-height: 1.15;
}
.home-gamme-sub { font-size: 13.5px; color: var(--text-light); line-height: 1.6; text-align: center !important; margin: 12px auto 0 !important; max-width: 520px !important; }

/* Home cards grid */
.home-cards {
  display: grid !important;
  grid-template-columns: 1fr 1fr 1fr !important;
  gap: 24px !important; align-items: stretch !important;
}

/* hpcard (compact variant) */
.hpcard { background: var(--bg-white); border: 1.5px solid var(--border); border-radius: 17px; overflow: hidden; cursor: pointer; transition: border-color .25s,transform .3s cubic-bezier(.34,1.56,.64,1),box-shadow .25s; }
.hpcard:hover { border-color: rgba(232,86,58,.35); transform: translateY(-6px); box-shadow: 0 12px 44px rgba(26,26,46,.09); }
.hpcard.feat { border-color: var(--orange); box-shadow: 0 4px 22px rgba(232,86,58,.11); }
.hpcard-img { height: 190px; overflow: hidden; position: relative; }
.hpcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.hpcard:hover .hpcard-img img { transform: scale(1.06); }
.hpcard-badge { position: absolute; top: 13px; right: 13px; background: rgba(26,26,46,.82); backdrop-filter: blur(6px); color: #fff; font-size: 10.5px; font-weight: 600; padding: 3px 11px; border-radius: 100px; letter-spacing: .06em; }
.hpcard.feat .hpcard-badge { background: var(--orange); }
.hpcard-body { padding: 22px 22px 26px; }
.hpcard-name { font-family: var(--font-display); font-size: 19px; font-weight: 800; color: var(--dark); margin-bottom: 7px; }
.hpcard-desc { font-size: 13px; color: var(--text-mid); line-height: 1.6; font-weight: 300; margin-bottom: 16px; }
.hpcard-feats { display: flex; flex-direction: column; gap: 4px; margin-bottom: 18px; }
.hpcard-feat { font-size: 12px; color: var(--text-light); display: flex; align-items: center; gap: 6px; }
.hpcard-feat::before { content: '—'; color: var(--orange); font-weight: 700; flex-shrink: 0; }
.hpcard-cta { font-size: 12.5px; font-weight: 600; color: var(--orange); display: inline-flex; align-items: center; gap: 4px; transition: gap .2s; }
.hpcard:hover .hpcard-cta { gap: 9px; }

/* home-pcard (tall variant with flex body) */
.home-pcard {
  display: flex; flex-direction: column;
  background: var(--bg-white); border: 1.5px solid var(--border);
  border-radius: 18px; overflow: hidden; text-decoration: none; cursor: pointer;
  transition: border-color .25s, box-shadow .25s, transform .3s cubic-bezier(.34,1.56,.64,1);
}
.home-pcard:hover { border-color: rgba(232,86,58,.4); box-shadow: 0 12px 48px rgba(26,26,46,.1); transform: translateY(-6px); }
.home-pcard.featured { border-color: var(--orange); box-shadow: 0 4px 24px rgba(232,86,58,.12); }
.home-pcard-img { height: 220px; flex-shrink: 0; overflow: hidden; position: relative; }
.home-pcard-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.home-pcard:hover .home-pcard-img img { transform: scale(1.05); }
.home-pcard-badge { position: absolute; top: 12px; right: 12px; z-index: 2; background: var(--orange); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 11px; border-radius: 100px; letter-spacing: .05em; }
.home-pcard-body { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.home-pcard-name { font-family: var(--font-display); font-size: 20px; font-weight: 800; color: var(--dark); }
.home-pcard-desc { font-size: 13.5px; color: var(--text-mid); line-height: 1.65; font-weight: 300; }
.home-pcard-feats { display: flex; flex-direction: column; gap: 5px; flex: 1; }
.home-pcard-feat { font-size: 12px; color: var(--text-light); display: flex; align-items: center; gap: 7px; }
.home-pcard-feat::before { content: '—'; color: var(--orange); font-weight: 700; flex-shrink: 0; }
.home-pcard-cta {
  margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--orange);
  display: inline-flex; align-items: center; gap: 4px;
  padding: 10px 16px; background: rgba(232,86,58,.07); border-radius: 8px;
  align-self: flex-start; transition: background .15s, gap .2s;
}
.home-pcard:hover .home-pcard-cta { background: rgba(232,86,58,.14); gap: 9px; }

/* Feature tiles */
.home-features { background: var(--bg-white); padding: 96px 5vw; }
.home-features-wrap { max-width: 1100px; margin: 0 auto; }
.home-features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 15px; overflow: hidden; margin-top: 44px; }
.home-ftile { background: var(--bg-white); padding: 32px 28px; position: relative; transition: background .2s; }
.home-ftile::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.home-ftile:hover { background: var(--bg-off); }
.home-ftile:hover::before { transform: scaleX(1); }
.home-ftile-num { font-family: var(--font-display); font-size: 36px; font-weight: 800; color: rgba(232,86,58,.12); line-height: 1; margin-bottom: 14px; transition: color .2s; }
.home-ftile:hover .home-ftile-num { color: rgba(232,86,58,.22); }
.home-ftile-title { font-family: var(--font-display); font-size: 15.5px; font-weight: 700; color: var(--dark); margin-bottom: 9px; }
.home-ftile-body { font-size: 13px; color: var(--text-mid); line-height: 1.7; font-weight: 300; }

/* Cas usage */
.home-cas { background: var(--bg-off); padding: 96px 5vw; }
.home-cas-wrap { max-width: 1100px; margin: 0 auto; }
.home-cas-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 13px; margin-top: 36px; }
.home-cas-card { background: var(--bg-white); border: 1.5px solid var(--border); border-radius: 14px; padding: 24px 18px; cursor: pointer; text-align: center; transition: border-color .2s, transform .25s, box-shadow .25s; }
.home-cas-card:hover { border-color: rgba(232,86,58,.4); transform: translateY(-4px); box-shadow: 0 8px 32px rgba(26,26,46,.08); }
a.home-cas-card, a.home-cas-card:hover, a.home-cas-card:visited { text-decoration: none !important; color: inherit !important; }
.home-cas-icon { width: 40px; height: 40px; margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; }
.home-cas-title { font-family: var(--font-display); font-size: 13.5px; font-weight: 700; color: var(--dark); margin-bottom: 6px; line-height: 1.3; }
.home-cas-sub { font-size: 11.5px; color: var(--text-light); line-height: 1.5; }

/* Stats */
.home-stats { background: var(--dark); padding: 72px 5vw; }
.home-stats-grid { max-width: 960px; margin: 0 auto; display: grid; grid-template-columns: repeat(4,1fr); gap: 36px; text-align: center; }
.hstat-n { font-family: var(--font-display); font-size: clamp(2.2rem,3.8vw,3.4rem); font-weight: 800; color: #fff; line-height: 1; margin-bottom: 7px; }
.hstat-n .acc { color: var(--orange); }
.hstat-l { font-size: 12px; color: rgba(255,255,255,.38); line-height: 1.5; }

/* Home CTA */
.home-cta { background: var(--bg-off); padding: 96px 5vw; border-top: 1px solid var(--border); text-align: center; }
.home-cta-inner { max-width: 660px; margin: 0 auto; }
.home-cta-tag { display: inline-flex; align-items: center; gap: 8px; background: rgba(232,86,58,.07); border: 1px solid rgba(232,86,58,.15); border-radius: 100px; padding: 5px 16px; font-size: 11.5px; color: var(--orange); font-weight: 500; margin-bottom: 24px; }

/* Home section visibility */
.home-logos-band,.home-pitch,.home-gamme,.home-features,
.home-cas,.home-cas-section,.home-stats,.home-cta { display: block !important; width: 100% !important; }


/* === FOOTER === */

.site-footer {
  background: var(--dark); border-top: 1px solid rgba(255,255,255,0.07);
  padding: 64px clamp(20px,5vw,80px) 0; color: rgba(255,255,255,0.5); font-size: 13.5px;
}
.footer-grid {
  max-width: 1240px; margin: 0 auto;
  display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr 1fr;
  gap: 48px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-brand img { height: 30px; filter: brightness(0) invert(1); opacity: 0.85; margin-bottom: 18px; }
.footer-brand a { text-decoration: none; }
.footer-brand a svg { display: block; height: 48px; width: auto; }
.footer-brand p { font-size: 13px; line-height: 1.7; color: rgba(255,255,255,0.45); max-width: 240px; margin-bottom: 24px; }
.footer-socials { display: flex !important; gap: 8px !important; margin-top: 16px !important; flex-wrap: wrap !important; }
.footer-social-btn {
  width: 28px !important; height: 28px !important; border-radius: 6px !important;
  display: flex !important; align-items: center !important; justify-content: center !important;
  border: 1px solid rgba(255,255,255,0.15) !important;
  color: var(--orange) !important; flex-shrink: 0 !important;
  transition: background .2s, border-color .2s !important;
  background: rgba(255,255,255,0.07);
}
.footer-social-btn svg { width: 13px !important; height: 13px !important; }
.footer-social-btn:hover { background: rgba(232,86,58,0.15) !important; border-color: rgba(232,86,58,0.4) !important; }
.footer-social-orange { color: var(--orange) !important; border-color: rgba(232,86,58,0.3) !important; }
.footer-social-orange:hover { background: rgba(232,86,58,0.15) !important; border-color: rgba(232,86,58,0.6) !important; }
.footer-social-orange svg { stroke: var(--orange); }
.footer-social-orange svg path, .footer-social-orange svg rect,
.footer-social-orange svg circle, .footer-social-orange svg polygon { stroke: var(--orange); }
.footer-social-orange svg[fill="currentColor"] path { fill: var(--orange); stroke: none; }

.footer-col h4 {
  font-family: var(--font-display); font-size: 13px; font-weight: 700;
  color: rgba(255,255,255,0.85); letter-spacing: 0.04em;
  text-transform: uppercase; margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col li button, .footer-col li a {
  background: none; border: none; cursor: pointer;
  font-family: var(--font-body); font-size: 13px; color: rgba(255,255,255,0.45);
  text-decoration: none; text-align: left; padding: 0;
  transition: color 0.2s; line-height: 1.4;
}
.footer-col li button:hover, .footer-col li a:hover { color: rgba(255,255,255,0.85); }
.footer-col li .footer-badge {
  display: inline-block; background: var(--orange); color: #fff;
  font-size: 9px; font-weight: 700; padding: 1px 6px; border-radius: 100px;
  letter-spacing: 0.06em; text-transform: uppercase; margin-left: 6px; vertical-align: middle;
}
.footer-bottom {
  max-width: 1240px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 0; flex-wrap: wrap; gap: 12px;
}
.footer-bottom-left { font-size: 12px; color: rgba(255,255,255,0.25); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 12px; color: rgba(255,255,255,0.3); text-decoration: none; transition: color 0.2s; }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.6); }


/* === UTILITAIRES SPÉCIFIQUES === */

.lb-cover { width: 100%; max-width: 320px; height: auto; border-radius: 16px; box-shadow: 0 32px 80px rgba(0,0,0,.3); display: block; margin: 0 auto; }


/* === KEYFRAMES === */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes hFadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
@keyframes scrollLogos {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}


/* === RESPONSIVE === */

/* Tablet ≤900px */
@media (max-width: 900px) {
  .nav-mega { display: none !important; }
  .nav-desktop-only { display: none !important; }
  #sk-lang-wrap { display: none !important; }
  .nav-hamburger { display: flex; }
  .main-nav { padding: 0 20px !important; }

  section.home-hero { grid-template-columns: 1fr !important; min-height: auto !important; }
  section.home-hero > div[style*="order:2"] { min-height: 300px !important; }
  .home-hero { grid-template-columns: 1fr; }

  header.hero {
    grid-template-columns: 1fr !important; padding-top: 100px !important; gap: 32px !important;
  }
  header.hero .hero-visual { order: -1; }
  header.hero .hero-img-main,
  header.hero .hero-visual img { max-width: 320px !important; max-height: 300px !important; }

  section.cas-hero {
    grid-template-columns: 1fr !important; padding-top: 140px !important; gap: 36px !important;
  }
  section.cas-hero > div:last-child { max-height: 280px !important; min-height: 200px; }

  .hero { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-height: 280px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
  .hero-visual img, .hero-visual .hero-img-main { max-height: 260px; width: auto; max-width: 100%; }

  .intro-section { grid-template-columns: 1fr !important; gap: 32px !important; }
  .intro-image { order: -1; max-height: 280px; overflow: hidden; aspect-ratio: auto !important; min-height: 0 !important; max-width: 100% !important; }
  .intro-image img { width: 100%; height: 280px; object-fit: cover; border-radius: 12px; }

  .pillars-grid { grid-template-columns: 1fr 1fr !important; }
  .specs-layout { grid-template-columns: 1fr !important; }
  .specs-images { display: none; }
  .pilot-layout { grid-template-columns: 1fr !important; }
  .ecosystem-layout { grid-template-columns: 1fr; }

  .gallery-strip { grid-template-columns: 1fr !important; height: 220px !important; }
  .gallery-strip > div { height: 220px !important; }
  .gallery-strip > div:not(:first-child) { display: none !important; }

  .home-cards { grid-template-columns: 1fr 1fr !important; }
  .home-pitch-wrap { grid-template-columns: 1fr; }
  .home-gamme-hdr { flex-direction: column; }
  .home-features-grid { grid-template-columns: 1fr; }
  .home-cas-grid { grid-template-columns: repeat(2,1fr); }
  .home-stats-grid { grid-template-columns: repeat(2,1fr); }

  .compare-cards { grid-template-columns: 1fr 1fr !important; }
  .footer-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr) !important; gap: 32px !important; }
  .footer-brand { grid-column: 1 / -1; }
  .cas-problem-grid { grid-template-columns: 1fr; }
  .cas-reglementation-grid { grid-template-columns: 1fr; }
  .trust-bar { justify-content: flex-start !important; }
  .trust-item { padding: 6px 16px !important; }
  .sk-wrap, .sk-wrap--narrow { padding-left: 20px !important; padding-right: 20px !important; }
  section, .pillars-section, .specs-section, .intro-section, .faq-section {
    padding-left: 20px !important; padding-right: 20px !important;
  }
}

/* Desktop intermédiaire ≤1100px */
@media (max-width: 1100px) and (min-width: 901px) {
  .home-cards { grid-template-columns: 1fr 1fr !important; }
}

/* Mobile ≤640px */
@media (max-width: 640px) {
  h1, .hero h1 { font-size: clamp(1.6rem, 6vw, 2rem) !important; }
  h2, .section-title { font-size: clamp(1.3rem, 5vw, 1.7rem) !important; }

  .hero-chips { gap: 6px !important; }
  .chip { font-size: 11px !important; padding: 5px 10px !important; }
  .hero-actions { flex-direction: column !important; gap: 10px !important; }
  .hero-actions a { width: 100% !important; text-align: center !important; box-sizing: border-box; }

  .trust-bar { flex-wrap: nowrap !important; overflow-x: auto !important; padding: 12px 20px !important; }
  .trust-item { font-size: 12px !important; }

  .home-cards { grid-template-columns: 1fr !important; }
  .pillars-grid { grid-template-columns: 1fr !important; }
  .pillar-card { padding: 20px !important; }
  .home-metrics { flex-wrap: wrap !important; }
  .home-metric { flex: 0 0 50% !important; }
  .home-features-grid { grid-template-columns: 1fr !important; }
  .home-cas-grid { grid-template-columns: repeat(2,1fr) !important; }
  .home-stats-grid { grid-template-columns: repeat(2,1fr) !important; }

  .compare-cards { grid-template-columns: 1fr 1fr !important; gap: 8px !important; }
  .compare-card { padding: 14px 12px !important; }
  .compare-card-name { font-size: 13px !important; }

  .cta-close { padding: 60px 20px !important; }
  .cta-close-actions { flex-direction: column !important; gap: 10px !important; }
  .cta-close-actions a { width: 100% !important; text-align: center !important; box-sizing: border-box; }

  section.cas-hero { padding-top: 100px !important; }
  .cas-hero-text h1 { font-size: clamp(1.6rem, 6vw, 2.2rem) !important; }
  .cas-problem-grid { grid-template-columns: 1fr !important; }
  .cas-reglementation-grid { grid-template-columns: 1fr !important; }
  .specs-section { padding: 40px 20px !important; }
  .spec-row { font-size: 13px !important; }

  .gallery-strip { grid-template-columns: 1fr !important; gap: 8px !important; }
  .gallery-strip div:nth-child(n+2) { display: none; }

  .footer-grid { grid-template-columns: 1fr !important; gap: 28px !important; }
  .footer-logo-col { order: -1; }

  section, .pillars-section, .specs-section, .faq-section, .intro-section {
    padding-top: 48px !important; padding-bottom: 48px !important;
  }
}

/* Petit mobile ≤380px */
@media (max-width: 380px) {
  .compare-cards { grid-template-columns: 1fr !important; }
  .hero-chips { gap: 4px !important; }
  .chip { font-size: 10px !important; padding: 4px 8px !important; }
  .trust-bar { flex-direction: column !important; align-items: flex-start !important; }
}

/* Footer ≤600px */
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr !important; }
}

/* ── Mobile safety net: collapse inline multi-column content grids that bypass
   the class-based responsive rules above (custom heroes, value/spec/reg cards,
   fixed sidebars). Small icon grids like "64px 1fr" are intentionally left alone. ── */
@media (max-width: 768px) {
  main [style*="grid-template-columns:1.2fr"],   main [style*="grid-template-columns: 1.2fr"],
  main [style*="grid-template-columns:1.1fr"],   main [style*="grid-template-columns: 1.1fr"],
  main [style*="grid-template-columns:1.15fr"],  main [style*="grid-template-columns: 1.15fr"],
  main [style*="grid-template-columns:1.8fr"],   main [style*="grid-template-columns: 1.8fr"],
  main [style*="grid-template-columns:1fr 1.4fr"], main [style*="grid-template-columns: 1fr 1.4fr"],
  main [style*="grid-template-columns:1fr 1fr"], main [style*="grid-template-columns: 1fr 1fr"],
  main [style*="grid-template-columns:repeat(2"], main [style*="grid-template-columns: repeat(2"],
  main [style*="grid-template-columns:repeat(3"], main [style*="grid-template-columns: repeat(3"],
  main [style*="grid-template-columns:repeat(4"], main [style*="grid-template-columns: repeat(4"],
  main [style*="grid-template-columns:repeat(5"], main [style*="grid-template-columns: repeat(5"],
  main [style*="minmax(0,1fr) minmax"],          main [style*="minmax(0, 1fr) minmax"],
  main [style*="grid-template-columns:1fr 320px"], main [style*="grid-template-columns:1fr 300px"],
  main [style*="grid-template-columns:1fr 288px"] {
    grid-template-columns: 1fr !important;
  }

  /* evenements "notify me" form: stack input + button instead of overflowing */
  form[name="evenements-notif"] { flex-wrap: wrap !important; }
  form[name="evenements-notif"] input { min-width: 0 !important; flex: 1 1 100% !important; }
  form[name="evenements-notif"] button { width: 100% !important; }
}


/* ═══════════════════════════════════════════════════════════════════════
   LARGEUR ADAPTATIVE — TRES GRAND ECRAN
   Les sections "full-bleed" (grilles collees aux bords) n'avaient aucune
   largeur maximale : au-dela de ~1440px de viewport le contenu s'etirait
   indefiniment et les lignes de texte devenaient illisibles.
   On plafonne la colonne de contenu a --sk-content (1280px, dans le meme
   rythme que .sk-wrap 1200px et .footer-grid 1240px) en gonflant le padding
   horizontal. En dessous de 1440px de viewport, max() retombe sur 80px :
   le rendu actuel est donc strictement inchange.
   ═══════════════════════════════════════════════════════════════════════ */

:root { --sk-content: 1280px; }

@media (min-width: 1200px) {
  section.intro-section,
  header.hero,
  section.cas-hero,
  .pillars-section,
  .specs-section,
  .pilot-section,
  .faq-section,
  .cas-problem,
  .cas-solution,
  .cas-chiffres,
  .cas-reglementation {
    padding-inline: max(80px, (100% - var(--sk-content)) / 2) !important;
  }

  /* Home hero : la colonne de texte s'aligne sur la colonne de contenu,
     l'image de droite reste volontairement full-bleed jusqu'au bord. */
  section.home-hero > div[style*="order:1"] {
    padding-left: max(80px, (100vw - var(--sk-content)) / 2) !important;
    padding-right: clamp(24px, 3vw, 56px) !important;
  }
}


/* ═══════════════════════════════════════════════════════════════════════
   INTRO-SECTION — VERSION MOBILE
   Pages concernees : spark-pilot, app, spark-1 / plus / go-e et les 5 cas
   clients. Les regles mobile precedentes etaient neutralisees par les
   !important du bloc desktop (.intro-image img { height:100% !important;
   min-height:320px !important }) : l'image debordait de son conteneur
   (320px dans une boite de 280px) et se retrouvait rognee.
   On repasse sur un ratio fluide plutot qu'une hauteur fixe.
   ═══════════════════════════════════════════════════════════════════════ */

@media (max-width: 900px) {
  section.intro-section {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
    align-items: start !important;
  }

  .intro-image {
    order: -1;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    height: auto !important;
    aspect-ratio: 16 / 10 !important;
    overflow: hidden !important;
    border-radius: 14px !important;
  }
  .intro-image img {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    object-fit: cover !important;
    border-radius: 14px !important;
  }

  .intro-text { justify-content: flex-start !important; }
  .intro-text .section-label { margin-bottom: 10px !important; }
  .intro-text h2 {
    font-size: clamp(1.5rem, 5.4vw, 2rem) !important;
    line-height: 1.2 !important;
    margin-bottom: 14px !important;
  }
  .intro-text p {
    font-size: 15px !important;
    line-height: 1.7 !important;
    margin-bottom: 14px !important;
  }
}

@media (max-width: 640px) {
  section.intro-section { gap: 24px !important; }
  .intro-image { aspect-ratio: 3 / 2 !important; border-radius: 12px !important; }
  .intro-image img { border-radius: 12px !important; }
}


/* ═══════════════════════════════════════════════════════════════════════
   PROMO LIVRE BLANC (home) — VERSION MOBILE
   La grille interne est declaree en style inline "1fr auto", que le filet
   de securite mobile ci-dessus ne cible pas : les deux colonnes restaient
   cote a cote et ecrasaient le texte contre la couverture du livre.
   ═══════════════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  .lb-promo-section { padding: 56px 20px !important; }

  .lb-promo-section .sk-wrap {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
    justify-items: center !important;
    text-align: center !important;
    /* la section porte deja son padding de 20px : on evite de le doubler */
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* colonne de texte : tout recentrer (badge, titre, accroche, puces) */
  .lb-promo-section .sk-wrap > div:first-child {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100%;
  }
  .lb-promo-section .sk-wrap > div:first-child > div:last-child {
    justify-content: center !important;
    gap: 8px 14px !important;
  }
  .lb-promo-section h2 {
    font-size: clamp(1.35rem, 5.4vw, 1.8rem) !important;
    margin-bottom: 10px !important;
  }
  .lb-promo-section p { margin-left: auto !important; margin-right: auto !important; }

  /* colonne couverture + bouton : le CTA passe pleine largeur, pas 140px */
  .lb-promo-section .sk-wrap > div:last-child { width: 100%; }
  .lb-promo-section .sk-wrap > div:last-child > a {
    width: 100% !important;
    max-width: 320px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 14px 22px !important;
    font-size: 14px !important;
    box-sizing: border-box;
  }

  /* les blobs decoratifs deviennent parasites a cette taille */
  .lb-promo-section > div[style*="border-radius:50%"] { display: none !important; }
}
