/* ================================================================
   SMALT.IO — Premium Smart Buildings Design System
   Brand Colors:
     Turquoise : #0DB4A4
     Blue      : #2123AC
     Red       : #DE2935
     Black     : #000000
     White     : #FFFFFF
================================================================ */

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --turquoise: #0DB4A4;
  --blue: #2123AC;
  --red: #DE2935;
  --parking: #1D4E89;
  --black: #000000;
  --white: #FFFFFF;
  --gray-50: #F9F9F9;
  --gray-100: #F2F2F2;
  --gray-200: #E4E4E4;
  --gray-300: #C8C8C8;
  --gray-500: #888888;
  --gray-700: #444444;
  --gray-900: #111111;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --header-h: 72px;
  --transition-slide: 0.75s cubic-bezier(0.77, 0, 0.175, 1);
  --transition-fast: 0.22s ease;
  --transition-med: 0.38s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; }

/* ---- Typography ---- */
em { font-style: normal; color: var(--turquoise); }

/* ================================================================
   HEADER
================================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition:
    background 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    backdrop-filter 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px) saturate(1.6);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  border-bottom-color: rgba(0, 0, 0, 0.07);
  box-shadow: 0 1px 32px rgba(0, 0, 0, 0.06);
}

.site-header.on-dark {
  background: rgba(15,15,20,0.0);
  border-bottom-color: transparent;
}

.site-header.on-dark.scrolled {
  background: rgba(10, 10, 18, 0.82);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom-color: rgba(255,255,255,0.07);
  box-shadow: 0 1px 32px rgba(0,0,0,0.25);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  gap: 24px;
}

.header-logo { display: flex; align-items: center; flex-shrink: 0; }
.header-logo img { height: 40px; width: auto; }

.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  padding: 6px 14px;
  border-radius: 6px;
  transition: color var(--transition-fast), background var(--transition-fast);
  letter-spacing: 0.01em;
}

.nav-link:hover { color: var(--black); background: var(--gray-100); }
.nav-link.active { color: var(--turquoise); }

.site-header.on-dark .nav-link { color: rgba(255,255,255,0.65); }
.site-header.on-dark .nav-link:hover { color: #fff; background: rgba(255,255,255,0.08); }
.site-header.on-dark .nav-link.active { color: var(--turquoise); }

.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

/* Language switch */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--gray-500);
  padding: 6px 10px;
  border-radius: 6px;
  transition: background var(--transition-fast);
  letter-spacing: 0.04em;
}
.lang-switch:hover { background: var(--gray-100); }
.lang-sep { color: var(--gray-300); }
.lang-fr { color: var(--black); font-weight: 700; }
.lang-en { color: var(--gray-400); }
.lang-flag { display: block; width: 24px; height: 12px; aspect-ratio: 2 / 1; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12); }
.site-header.on-dark .lang-switch { color: rgba(255,255,255,0.5); }
.site-header.on-dark .lang-switch:hover { background: rgba(255,255,255,0.08); }
.site-header.on-dark .lang-fr { color: #fff; }

/* Mobile menu btn */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  padding: 8px;
  border-radius: 6px;
}
.mobile-menu-btn span {
  display: block; height: 1.5px; background: var(--black);
  transition: transform var(--transition-med), opacity var(--transition-med);
}
.mobile-menu-btn.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.mobile-menu-btn.open span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.site-header.on-dark .mobile-menu-btn span { background: #fff; }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  z-index: 99;
  padding: 12px 0;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform var(--transition-med), opacity var(--transition-med);
}
.mobile-nav.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-nav-link {
  display: block;
  padding: 14px 24px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
}
.mobile-nav-link:last-child { border-bottom: none; }
.mobile-nav-link:hover { color: var(--turquoise); }

/* ================================================================
   CTA BUTTONS
================================================================ */
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
  white-space: nowrap;
  cursor: pointer;
}
.cta-btn:hover { transform: translateY(-2px); }
.cta-btn:active { transform: translateY(0); }

.cta-btn--turquoise { background: var(--turquoise); color: #fff; }
.cta-btn--turquoise:hover { background: #0aa396; box-shadow: 0 8px 24px rgba(13,180,164,0.3); }

.cta-btn--blue { background: var(--blue); color: #fff; }
.cta-btn--blue:hover { background: #1a1c8e; box-shadow: 0 8px 24px rgba(33,35,172,0.3); }

.cta-btn--red { background: var(--red); color: #fff; }
.cta-btn--red:hover { background: #c42230; box-shadow: 0 8px 24px rgba(222,41,53,0.3); }

.cta-btn--outline-dark {
  background: transparent;
  color: var(--black);
  border: 1.5px solid var(--black);
}
.cta-btn--outline-dark:hover { background: var(--black); color: #fff; }

.cta-btn--outline-blue {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-direction: column;
  line-height: 1.1;
}
.cta-btn--outline-blue:hover {
  background: var(--blue);
  color: #fff;
  transform: translateY(-2px);
  text-decoration: none;
}
.cta-btn--outline-blue .cta-sub {
  font-size: 11px;
  font-weight: 400;
  opacity: 0.8;
  border-left: none;
  padding-left: 0;
  margin-left: 0;
}

.cta-btn--ghost-dark {
  background: transparent;
  color: var(--gray-700);
  border: 1.5px solid var(--gray-300);
}
.cta-btn--ghost-dark:hover { border-color: var(--black); color: var(--black); }

.cta-btn--full { width: 100%; justify-content: center; }

.cta-sub {
  font-size: 0.75rem;
  font-weight: 400;
  opacity: 0.75;
  border-left: 1px solid rgba(255,255,255,0.35);
  padding-left: 8px;
  margin-left: 4px;
}
.cta-btn--outline-dark .cta-sub {
  border-left-color: rgba(0,0,0,0.25);
}

/* ================================================================
   SLIDE DOTS
================================================================ */
.slide-dots {
  position: fixed;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.slide-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(0,0,0,0.2);
  border: none;
  cursor: pointer;
  transition: background var(--transition-fast), transform var(--transition-fast);
}
.slide-dot:hover { background: rgba(0,0,0,0.45); transform: scale(1.3); }
.slide-dot.active { background: var(--turquoise); transform: scale(1.35); }

/* On dark sections */
.slide-dots.on-dark .slide-dot { background: rgba(255,255,255,0.25); }
.slide-dots.on-dark .slide-dot:hover { background: rgba(255,255,255,0.6); }
.slide-dots.on-dark .slide-dot.active { background: var(--turquoise); }

/* ================================================================
   SLIDES WRAPPER & SLIDES
================================================================ */
.slides-wrapper {
  margin-top: var(--header-h);
}

.slide {
  min-height: calc(100vh - var(--header-h));
  width: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.slide-inner {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 80px 40px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* ================================================================
   SLIDE 0 — HERO
================================================================ */
.slide--hero {
  background: var(--white);
  align-items: center;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.slide--hero {
  background: #f8fffe;
}

.slide--hero .slide-inner { position: relative; z-index: 1; }

.hero-layout {
  flex-direction: row !important;
  align-items: center;
  gap: 64px;
  min-height: calc(100vh - var(--header-h));
}

.hero-content { flex: 1; max-width: 560px; }

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--turquoise);
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--black);
  margin-bottom: 24px;
}

.hero-desc {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--gray-700);
  margin-bottom: 40px;
  max-width: 460px;
}

.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-visual { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 20px; }

.hero-stats-header {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--gray-500);
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

/* Image placeholder */
.image-placeholder {
  background: var(--gray-100);
  border: 1.5px dashed var(--gray-300);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
}
.image-placeholder span {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--gray-500);
  font-style: italic;
  line-height: 1.6;
  max-width: 380px;
}
.image-placeholder--hero { height: 380px; }
.image-placeholder--wide { height: 280px; width: 100%; }

/* ── Hero building diagram ── */
.hero-diagram {
  border-radius: 16px;
  overflow: hidden;
  background: #f8fffe;
  border: 1px solid rgba(13,180,164,0.12);
  box-shadow:
    0 4px 24px rgba(13,180,164,0.07),
    0 1px 4px rgba(0,0,0,0.04);
}

.building-svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Flowing dash animation on network lines */
@keyframes svg-dash-flow {
  to { stroke-dashoffset: -20; }
}

.svg-flow {
  animation: svg-dash-flow 2s linear infinite;
}

/* Pulse rings on antenna */
@keyframes svg-ring-pulse {
  0%   { opacity: 0.5; transform: scale(1); }
  100% { opacity: 0;   transform: scale(2.2); }
}

.svg-pulse {
  transform-origin: 260px 54px;
  animation: svg-ring-pulse 2s ease-out infinite;
}

.svg-pulse:nth-child(2) {
  animation-delay: 0.7s;
}
.image-placeholder--product {
  height: auto;
  aspect-ratio: 4 / 3;
  max-height: min(500px, 55vh);
  border-radius: 16px;
  width: 100%;
}
.image-placeholder--product img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}
.image-placeholder--smalt-home,
.image-placeholder--smalt-box,
.image-placeholder--smalt-parking,
.image-placeholder--smalt-custom {
  height: auto;
  aspect-ratio: 4 / 3;
  max-height: min(500px, 55vh);
  padding: 0;
  border: 0;
  background: transparent;
  overflow: hidden;
  width: 100%;
}
.image-placeholder--tall { height: 460px; }

/* Hero stats */
.hero-stats {
  display: flex;
  gap: 16px;
}
.stat-card {
  flex: 1;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.stat-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.09); }
.stat-number { font-size: 1.625rem; font-weight: 900; letter-spacing: -0.03em; line-height: 1; }
.stat-label { font-size: 0.75rem; color: var(--gray-500); font-weight: 500; line-height: 1.3; }

/* Scroll cue */
.scroll-cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 20px;
  align-self: center;
  color: var(--gray-500);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color var(--transition-fast);
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.scroll-cue:hover { color: var(--turquoise); }
.scroll-cue svg {
  width: 20px; height: 20px;
  animation: bounce 1.8s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

/* ================================================================
   SLIDE 1 — EXPERTISE
================================================================ */
.slide--expertise {
  background: var(--white);
}

.expertise-layout {
  gap: 56px;
  align-items: center;
}

.section-header { text-align: center; max-width: 680px; margin: 0 auto; }

.section-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--black);
  margin-bottom: 16px;
}
.section-title--light { color: var(--white); }

.section-desc {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--gray-500);
}
.section-desc--light { color: rgba(255,255,255,0.65); }

/* Expertise grid */
.expertise-grid {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 0;          /* géré par les flèches */
  width: 100%;
}

/* Les cartes prennent l'espace disponible équitablement */
.expertise-grid .expertise-card {
  flex: 1;
  min-width: 0;
}

.expertise-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 32px 28px;
  position: relative;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
  overflow: hidden;
}
.expertise-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--turquoise), var(--blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-med);
}
.expertise-card:hover { transform: translateY(-6px); box-shadow: 0 20px 48px rgba(0,0,0,0.09); border-color: transparent; }
.expertise-card:hover::before { transform: scaleX(1); }

.expertise-step {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gray-300);
  margin-bottom: 16px;
}

.expertise-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.expertise-icon svg { width: 24px; height: 24px; }
.expertise-icon--turquoise { background: rgba(13,180,164,0.1); color: var(--turquoise); }
.expertise-icon--blue { background: rgba(33,35,172,0.1); color: var(--blue); }

.expertise-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.expertise-card p {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--gray-500);
}

.projects-carousel { width: 100%; }

.carousel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.carousel-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--black);
  margin: 0;
}

.carousel-nav { display: flex; gap: 8px; }

.carousel-btn {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1.5px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.carousel-btn:hover {
  color: var(--turquoise);
  border-color: var(--turquoise);
  background: rgba(13,180,164,0.05);
}

.carousel-btn svg { width: 20px; height: 20px; }

.carousel-container {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 12px;
  -webkit-overflow-scrolling: touch;
}

.carousel-container::-webkit-scrollbar {
  height: 4px;
}

.carousel-container::-webkit-scrollbar-track {
  background: var(--gray-100);
  border-radius: 2px;
}

.carousel-container::-webkit-scrollbar-thumb {
  background: var(--turquoise);
  border-radius: 2px;
}

.project-card {
  flex: 0 0 380px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  overflow: hidden;
  transition: all var(--transition-fast);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.08);
  border-color: var(--turquoise);
}

.project-image { height: 240px; overflow: hidden; }

.image-placeholder--project { height: 100%; border: none; }

.project-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.project-info h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1.4;
  margin: 0;
}

.project-info p {
  font-size: 0.8125rem;
  color: var(--gray-500);
  font-weight: 500;
  margin: 0;
  letter-spacing: 0.01em;
}

/* ================================================================
   SLIDES 2 & 3 — PRODUCTS
================================================================ */
.slide--box { background: var(--white); }
.slide--smalt-home { background: var(--gray-50); }
.slide--security { background: var(--white); }
.slide--parking { background: var(--gray-100); }

/* ================================================================
   SLIDE 4 — CONFIANCE & ÉCOSYSTÈME
================================================================ */
.slide--social-proof {
  background: var(--gray-50);
}

.social-proof-inner {
  gap: 48px;
}

.sp-header .section-title {
  margin-top: 8px;
}

/* Group label */
.sp-group {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sp-group-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-500);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-200);
}

/* Logo grids */
.logos-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Logo chips */
.logo-chip {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-700);
  line-height: 1.2;
  transition: border-color 0.18s, box-shadow 0.18s, color 0.18s;
  cursor: default;
  white-space: nowrap;
}

.logo-chip span {
  font-size: 10px;
  font-weight: 400;
  color: var(--gray-400);
  letter-spacing: 0.02em;
  margin-top: 2px;
}

.logo-chip:hover {
  border-color: var(--gray-400);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  color: var(--gray-900);
}

/* Tech chips — turquoise accent on hover */
.logo-chip--tech:hover {
  border-color: var(--turquoise);
  box-shadow: 0 0 0 3px rgba(13,180,164,0.08);
  color: var(--turquoise);
}

/* Immo chips — blue accent on hover */
.logos-grid--immo .logo-chip:hover {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(33,35,172,0.07);
  color: var(--blue);
}

/* Project card — enhanced with tag + detail */
.project-tag {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--turquoise);
  margin: 0;
}

.project-location {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8125rem;
  color: var(--gray-500);
  font-weight: 500;
  margin: 0;
}

.project-detail {
  font-size: 0.8125rem;
  color: var(--gray-400);
  font-weight: 400;
  margin: 0;
  padding-top: 4px;
  border-top: 1px solid var(--gray-100);
}

.project-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.project-info h4 {
  margin: 2px 0;
}

@media (max-width: 900px) {
  .logos-grid { gap: 8px; }
  .logo-chip { padding: 8px 12px; font-size: 12px; }
}

.product-layout {
  flex-direction: row !important;
  align-items: center;
  gap: 72px;
  min-height: calc(100vh - var(--header-h));
}
.product-layout--reverse { flex-direction: row-reverse !important; }

.product-content { flex: 1; max-width: 520px; }
.product-visual { flex: 1; display: flex; flex-direction: column; gap: 16px; min-width: 0; }

.product-badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.product-badge--blue { background: rgba(33,35,172,0.1); color: var(--blue); }
.product-badge--turquoise { background: rgba(13,180,164,0.1); color: var(--turquoise); }

.product-title {
  font-size: clamp(2.75rem, 5.5vw, 4.5rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--black);
  margin-bottom: 12px;
}

.product-tagline {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gray-700);
  line-height: 1.4;
  margin-bottom: 20px;
}

.product-desc {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--gray-500);
  margin-bottom: 28px;
}

/* Feature list */
.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 36px;
}
.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gray-700);
}
.feature-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.feature-list--turquoise .feature-dot { background: var(--turquoise); }
.feature-list--blue .feature-dot { background: var(--blue); }

.product-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* Spec pills */
.product-specs {
  display: flex;
  gap: 12px;
  width: 100%;
  flex-wrap: wrap;
}
.spec-pill {
  flex: 1 1 140px;
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: transform var(--transition-fast);
}
.spec-pill:hover { transform: translateY(-2px); }
.spec-val { font-size: 1.25rem; font-weight: 900; letter-spacing: -0.02em; line-height: 1; }
.spec-lbl { font-size: 0.75rem; color: var(--gray-500); font-weight: 500; }

/* Box → Home transition hint */
.box-home-divider {
  display: flex;
  justify-content: center;
  padding: 32px 0 40px;
}
.transition-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-500);
  border: 1.5px solid var(--gray-200);
  border-radius: 100px;
  padding: 10px 22px;
  transition: all var(--transition-fast);
  letter-spacing: 0.02em;
}
.transition-btn:hover {
  color: var(--turquoise);
  border-color: var(--turquoise);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13,180,164,0.15);
}
.transition-btn svg { width: 16px; height: 16px; animation: bounce 1.8s ease-in-out infinite; }

/* ================================================================
   SLIDE 4 — CONTACT
================================================================ */
.slide--contact {
  background: var(--gray-900);
  color: var(--white);
}

.contact-layout {
  gap: 48px;
}

.contact-header { text-align: center; max-width: 620px; margin: 0 auto; }

.eyebrow--light { color: var(--turquoise); }

.contact-body {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
  align-items: start;
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label,
.form-group .form-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.02em;
}

.project-type-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: 8px;
}

.checkbox-label--option {
  align-items: center;
  color: rgba(255,255,255,0.85);
  padding: 2px 0;
}

.checkbox-label--option input[type="checkbox"] {
  margin-top: 0;
}

.form-group--checkbox {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: flex-start;
  padding: 8px 0;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.65);
  cursor: pointer;
  user-select: none;
}

.checkbox-label input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--turquoise);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 0.9375rem;
  font-family: var(--font);
  color: var(--white);
  outline: none;
  transition: border-color var(--transition-fast), background var(--transition-fast);
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.25); }
.form-group select { color: rgba(255,255,255,0.7); }
.form-group select option { background: #1a1a2e; color: var(--white); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--turquoise);
  background: rgba(13,180,164,0.08);
}

.form-feedback {
  font-size: 0.875rem;
  padding: 8px 0;
  min-height: 24px;
  color: var(--turquoise);
  text-align: center;
  font-weight: 500;
}
.form-feedback.error { color: var(--red); }

/* Contact sidebar */
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Map placeholder */
.contact-map-placeholder {
  border: 1.5px dashed rgba(255,255,255,0.18);
  border-radius: 12px;
  overflow: hidden;
  height: 220px;
  background: rgba(255,255,255,0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, background 0.2s;
}

.contact-map-placeholder:hover {
  border-color: rgba(13,180,164,0.4);
  background: rgba(13,180,164,0.04);
}

.map-placeholder-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.3);
  text-align: center;
  padding: 20px;
}

.map-placeholder-label {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.45);
  margin: 0;
}

.map-placeholder-hint {
  font-size: 12px;
  color: rgba(255,255,255,0.25);
  margin: 0;
}

.contact-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 20px;
}

.contact-card-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--turquoise);
  margin-bottom: 8px;
}

.contact-card p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.75);
}

.contact-card a { color: rgba(255,255,255,0.75); transition: color var(--transition-fast); }
.contact-card a:hover { color: var(--turquoise); }

.contact-certs { display: flex; flex-direction: column; gap: 10px; }

.cert-list { display: flex; gap: 8px; flex-wrap: wrap; }

.cert-tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.04em;
}

/* ================================================================
   FOOTER
================================================================ */
.site-footer {
  background: #000;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 32px 40px;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-logo { height: 32px; width: auto; filter: brightness(0) invert(1); opacity: 0.7; }
.footer-copy { font-size: 0.8125rem; color: rgba(255,255,255,0.35); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 0.8125rem; color: rgba(255,255,255,0.35); transition: color var(--transition-fast); }
.footer-links a:hover { color: rgba(255,255,255,0.75); }

/* ================================================================
   SLIDE SECTION TRANSITIONS
   Each .slide (except hero) fades + rises in as it enters viewport.
   Respects prefers-reduced-motion.
================================================================ */
@media (prefers-reduced-motion: no-preference) {
  .slide--expertise,
  .slide--box,
  .slide--smalt-home,
  .slide--parking,
  .slide--social-proof,
  .slide--contact {
    opacity: 0;
    transform: translateY(48px);
    transition:
      opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
  }

  .slide--expertise.slide-visible,
  .slide--box.slide-visible,
  .slide--smalt-home.slide-visible,
  .slide--parking.slide-visible,
  .slide--social-proof.slide-visible,
  .slide--contact.slide-visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================================================================
   ANIMATE-IN (JS triggers .is-visible)
================================================================ */
.animate-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--delay, 0s);
}
.animate-in.is-visible { opacity: 1; transform: translateY(0); }

/* ================================================================
   MOBILE — max-width 768px
================================================================ */
@media (max-width: 768px) {
  /* 3a — Slide dots (touch-friendly) */
  .slide-dots {
    display: flex;
    right: 12px;
    gap: 6px;
  }

  .slide-dot {
    position: relative;
    width: 12px;
    height: 12px;
  }

  .slide-dot::before {
    content: '';
    position: absolute;
    inset: -8px;
  }

  /* 3b — Header */
  .header-inner {
    padding: 0 16px;
  }

  .header-nav,
  .header-actions {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  /* 3c — Hero */
  .hero-layout {
    flex-direction: column !important;
    gap: 24px;
    align-items: center;
  }

  .hero-visual {
    display: none;
  }

  .hero-content {
    max-width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-ctas {
    justify-content: center;
  }

  /* 3d — Produits */
  .product-layout,
  .product-layout--reverse {
    flex-direction: column !important;
    gap: 32px;
    min-height: 0;
    align-items: stretch;
  }

  .product-content {
    max-width: 100%;
    order: 1;
  }

  .product-visual {
    display: flex;
    width: 100%;
    max-width: 100%;
    order: 2;
  }

  .image-placeholder--product,
  .image-placeholder--smalt-home,
  .image-placeholder--smalt-box,
  .image-placeholder--smalt-parking,
  .image-placeholder--smalt-custom {
    max-height: min(320px, 40vh);
    aspect-ratio: 16 / 10;
  }

  .product-specs {
    gap: 8px;
  }

  .spec-pill {
    padding: 12px 14px;
  }

  .spec-val {
    font-size: 1.05rem;
  }

  .security-visual-grid {
    width: 100%;
  }

  .security-img {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .security-img-card:not(.security-img-card--main) .security-img {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  /* 3e — Expertise */
  .expertise-grid {
    grid-template-columns: 1fr;
  }

  /* 3f — Contact */
  .contact-layout {
    display: flex;
    flex-direction: column;
  }

  .contact-body {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .contact-form {
    width: 100%;
  }

  .contact-sidebar {
    display: none;
  }

  /* 3g — BACS */
  .bacs-layout {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  .bacs-schema {
    order: 1;
    width: 100%;
    align-items: stretch;
  }

  .bacs-schema-visual {
    max-width: 100%;
    width: 100%;
  }

  .bacs-svg {
    width: 100%;
    height: auto;
  }

  .bacs-text {
    order: 2;
  }

  /* 3h — Carousel réalisations */
  .project-card {
    flex: 0 0 85vw;
  }

  /* 3i — Partenaires */
  .logos-grid {
    flex-wrap: wrap;
  }

  .logo-chip {
    padding: 6px 10px;
  }
}

/* ================================================================
   RESPONSIVE
================================================================ */
@media (max-width: 1024px) {
  .hero-layout { gap: 40px; }
  .product-layout { gap: 40px; }
}

@media (max-width: 900px) {
  .header-nav { display: none; }
  .header-actions .cta-btn { display: none; }
  .mobile-menu-btn { display: flex; }
  .mobile-nav { display: block; }

  .header-inner { padding: 0 24px; }

  .hero-layout {
    flex-direction: column !important;
    padding-top: 48px;
    padding-bottom: 80px;
    gap: 40px;
  }
  .hero-content { max-width: 100%; }
  .hero-stats { flex-wrap: wrap; }

  .expertise-grid { flex-direction: column; gap: 0; }
  .expertise-grid .expertise-card { flex: none; width: 100%; }

  .product-layout,
  .product-layout--reverse {
    flex-direction: column !important;
    padding-top: 48px;
    padding-bottom: 80px;
    gap: 36px;
    min-height: 0;
    align-items: stretch;
  }
  .product-content {
    max-width: 100%;
    order: 1;
  }
  .product-visual {
    display: flex;
    width: 100%;
    order: 2;
  }

  .image-placeholder--product,
  .image-placeholder--smalt-home,
  .image-placeholder--smalt-box,
  .image-placeholder--smalt-parking,
  .image-placeholder--smalt-custom {
    max-height: min(380px, 45vh);
  }

  .contact-body { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 12px; }

  .slide-inner { padding: 48px 24px; }
}

/* ================================================================
   BOOKING PAGES (Demo & Project)
================================================================ */
.booking-page {
  background: var(--white);
  padding-top: var(--header-h);
  min-height: 100vh;
}

.booking-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 40px;
}

.booking-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}

.booking-header h1 {
  font-size: 2.75rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--black);
  margin-bottom: 16px;
}

.booking-header p {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--gray-500);
}

.booking-content {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 64px;
  align-items: start;
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--gray-50);
  padding: 40px;
  border-radius: 12px;
  border: 1px solid var(--gray-200);
}

.booking-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.info-block {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 20px;
  transition: all var(--transition-fast);
}

.info-block:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  border-color: var(--turquoise);
}

.info-block h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 8px;
}

.info-block p {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin: 0;
}

/* ================================================================
   LEGAL PAGES
================================================================ */
.legal-content {
  background: var(--white);
  padding-top: var(--header-h);
  min-height: 100vh;
}

.legal-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 40px;
}

.legal-inner > h1 {
  font-size: 2.75rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--black);
  margin-bottom: 48px;
}

.legal-section {
  margin-bottom: 48px;
  line-height: 1.8;
}

.legal-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.legal-section p {
  font-size: 0.9375rem;
  color: var(--gray-500);
  margin-bottom: 12px;
}

.legal-section p:last-child { margin-bottom: 0; }

.legal-list {
  list-style: none;
  margin-left: 20px;
  margin-bottom: 12px;
}

.legal-list li {
  font-size: 0.9375rem;
  color: var(--gray-500);
  margin-bottom: 8px;
  padding-left: 24px;
  position: relative;
}

.legal-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--turquoise);
  font-weight: 600;
}

.legal-update {
  font-size: 13px;
  color: var(--gray-400);
  margin-bottom: 40px;
  margin-top: -24px;
  font-style: italic;
}

.legal-address {
  font-style: normal;
  background: var(--gray-50);
  border-left: 3px solid var(--turquoise);
  border-radius: 0 8px 8px 0;
  padding: 16px 20px;
  margin: 16px 0;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--gray-600);
}

/* ================================================================
   RESPONSIVE — LEGAL PAGES
================================================================ */
@media (max-width: 900px) {
  .booking-content { grid-template-columns: 1fr; gap: 32px; }
  .booking-form { padding: 28px; }
  .booking-header h1 { font-size: 2.25rem; }

  .legal-inner { padding: 48px 24px; }
  .legal-inner > h1 { font-size: 2.25rem; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.25rem; }
  .hero-ctas { flex-direction: column; }
  .hero-stats { gap: 10px; }
  .product-title { font-size: 2.75rem; }
  .product-ctas { flex-direction: column; }
  .spec-val { font-size: 1rem; }
  .site-footer { padding: 24px; }

  .booking-inner { padding: 48px 20px; }
  .booking-header h1 { font-size: 1.75rem; }
  .booking-content { gap: 20px; }
  .booking-form { padding: 20px; }
  .form-row { grid-template-columns: 1fr; }

  .legal-inner { padding: 32px 16px; }
  .legal-inner > h1 { font-size: 1.75rem; margin-bottom: 32px; }
  .legal-section { margin-bottom: 32px; }
  .legal-section h2 { font-size: 1.25rem; }
}

/* ================================================================
   COOKIE BANNER RGPD
================================================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--gray-900);
  color: var(--white);
  box-shadow: 0 -4px 32px rgba(0,0,0,0.18);
  transform: translateY(100%);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.cookie-banner:not([hidden]) {
  transform: translateY(0);
}

.cookie-banner[hidden] {
  display: block !important; /* keep in DOM for animation */
  pointer-events: none;
}

.cookie-banner__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.cookie-banner__text {
  flex: 1;
  min-width: 0;
}

.cookie-banner__title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--white);
}

.cookie-banner__desc {
  font-size: 13px;
  color: var(--gray-300);
  line-height: 1.55;
}

.cookie-banner__desc a {
  color: var(--turquoise);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-btn {
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  padding: 9px 20px;
  border-radius: 6px;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
  white-space: nowrap;
}

.cookie-btn--outline {
  background: transparent;
  border-color: var(--gray-500);
  color: var(--gray-300);
}
.cookie-btn--outline:hover {
  border-color: var(--white);
  color: var(--white);
}

.cookie-btn--primary {
  background: var(--turquoise);
  border-color: var(--turquoise);
  color: var(--white);
}
.cookie-btn--primary:hover {
  background: #0ca898;
  border-color: #0ca898;
}

/* Slide out animation */
.cookie-banner--hiding {
  transform: translateY(100%) !important;
}

@media (max-width: 700px) {
  .cookie-banner__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 20px 24px;
  }
  .cookie-banner__actions {
    width: 100%;
  }
  .cookie-btn {
    flex: 1;
    text-align: center;
  }
}

/* ================================================================
   HERO — placeholder visuel
================================================================ */
.hero-placeholder-label {
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-400);
  margin-bottom: 8px;
}
.hero-placeholder-label span {
  font-weight: 400;
  color: var(--gray-400);
}
.hero-placeholder-box {
  width: 100%;
  height: 360px;
  border: 1.5px dashed var(--gray-300);
  border-radius: 12px;
  background: var(--gray-50);
}

/* ================================================================
   SLIDE 1 — GTB & CONFORMITÉ BACS
================================================================ */
.slide--bacs {
  background: var(--white);
}

.bacs-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  column-gap: 40px;
  width: 100%;
}

.bacs-schema {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.bacs-schema-title {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-400);
  margin-bottom: 12px;
}

.bacs-schema-visual {
  width: 100%;
  max-width: 90%;
}

.bacs-svg {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  border: 1px solid var(--gray-200);
  background: #eef8f7;
}

.bacs-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
}

.bacs-intro p {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--gray-600);
}

.bacs-intro strong {
  color: var(--gray-900);
  font-weight: 600;
}

.bacs-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.bacs-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.bacs-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.bacs-icon--blue {
  background: rgba(0,80,136,0.08);
  color: #005088;
}

.bacs-icon--teal {
  background: rgba(13,180,164,0.1);
  color: var(--turquoise);
}

.bacs-item-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 3px;
}

.bacs-item-desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--gray-500);
}

.bacs-cta {
  align-self: flex-start;
  margin-top: 8px;
}

/* Responsive — tablet */
@media (max-width: 1024px) {
  .bacs-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 28px;
  }
  .bacs-schema-visual {
    max-width: 95%;
  }
}

/* Responsive — mobile */
@media (max-width: 720px) {
  .bacs-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .bacs-schema {
    align-items: flex-start;
  }
  .bacs-schema-visual {
    max-width: 100%;
  }
  .bacs-text {
    min-width: 0;
  }
}

/* ================================================================
   IMAGES — V1.2
================================================================ */
/* ── Conteneur image hero ────────────────────────────────── */
.hero-img-wrap {
  /* Padding de sécurité : l'image ne touche jamais les bords */
  padding: 16px;
  /* Fond très léger pour un cadre subtil */
  background: rgba(0, 178, 169, 0.04);
  border-radius: 20px;
  border: 1px solid rgba(0, 178, 169, 0.10);
  /* Garantit que le conteneur s'adapte à son parent flex */
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-main-img {
  /* object-contain = image entière visible, jamais rognée */
  width: 100%;
  height: auto;
  max-width: 100%;
  /* Supprime max-height fixe qui causait le rognage */
  max-height: none;
  object-fit: contain;
  display: block;
  border-radius: 10px;
}

/* ── Responsive : tablette (900px–1024px) ────────────────── */
@media (max-width: 1024px) and (min-width: 901px) {
  .hero-img-wrap {
    padding: 12px;
  }
}

/* ── Mobile : l'image réapparaît centrée ─────────────────── */
@media (max-width: 900px) {
  .hero-visual {
    display: flex !important;       /* Annule le display:none mobile */
    justify-content: center;
    margin-top: 32px;
  }

  .hero-img-wrap {
    padding: 12px;
    max-width: 480px;
    margin: 0 auto;
  }

  .hero-main-img {
    max-height: 280px;
    width: auto;
    margin: 0 auto;
  }
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 4px;
}

.logo-partenaire {
  max-height: 36px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  filter: grayscale(25%);
  transition: filter 0.25s ease;
}
.logo-chip:hover .logo-partenaire { filter: grayscale(0%); }

/* ================================================================
   TYPEWRITER — hero-title
================================================================ */
.hero-title {
  /* On retire le display par défaut pour que ::after s'aligne */
  white-space: pre-line;
}

.hero-title.typing::after {
  content: '|';
  display: inline-block;
  margin-left: 2px;
  color: var(--turquoise);
  font-weight: 300;
  animation: tw-blink 0.75s step-end infinite;
}

/* Curseur arrêté (fin de frappe) : continue de clignoter mais plus lentement */
.hero-title.typed::after {
  content: '|';
  display: inline-block;
  margin-left: 2px;
  color: var(--turquoise);
  font-weight: 300;
  animation: tw-blink 1.1s step-end infinite;
}

@keyframes tw-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ================================================================
   DESKTOP OPTIMIZATION — 1440px → 1920px+
   1. Max-width intelligents
   2. Grilles 3–4 colonnes
   3. Fonds graphiques tech
   4. Fluid typography étendue
================================================================ */

/* ── 1. Conteneurs max-width ────────────────────────────────── */
@media (min-width: 1440px) {
  .slide-inner {
    max-width: 1360px;
    padding: 96px 64px;
  }

  header .slide-inner,
  .header-inner {
    max-width: 1360px;
  }
}

@media (min-width: 1920px) {
  .slide-inner {
    max-width: 1600px;
    padding: 112px 80px;
  }
}

/* ── 2. Grilles 3–4 colonnes ────────────────────────────────── */

/* Expertise : 4 cartes sur 1440px+ */
@media (min-width: 1440px) {
  .expertise-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
  }

  .expertise-card {
    padding: 36px 32px;
  }
}

/* Logos partenaires : 5 par ligne sur 1440px, 6 sur 1920px */
@media (min-width: 1440px) {
  .logos-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
  }

  .logos-grid--tech {
    grid-template-columns: repeat(6, 1fr);
  }

  .logo-chip {
    padding: 18px 20px;
    min-height: 76px;
  }
}

@media (min-width: 1920px) {
  .logos-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
  }

  .logos-grid--tech {
    grid-template-columns: repeat(7, 1fr);
  }
}

/* Social proof : 2 groupes côte à côte sur 1440px */
@media (min-width: 1440px) {
  .social-proof-inner {
    flex-direction: row;
    align-items: flex-start;
    gap: 64px;
  }

  .sp-group {
    flex: 1;
  }
}

/* Carousel cartes : plus larges sur grand écran */
@media (min-width: 1440px) {
  .project-card {
    min-width: 320px;
    max-width: 360px;
  }
}

/* Contact : sidebar plus large sur grand écran */
@media (min-width: 1440px) {
  .contact-body {
    grid-template-columns: 1fr 420px;
    gap: 64px;
  }
}

/* ── 3. Arrière-plans graphiques tech ───────────────────────── */

/* Grille de fond ultra-fine sur toute la page */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(0, 178, 169, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 178, 169, 0.028) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0;
  transition: opacity 0.4s;
}

@media (min-width: 1440px) {
  body::before { opacity: 1; }
}

/* Glow turquoise subtil hero */
@media (min-width: 1440px) {
  .slide--hero::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -80px;
    width: 600px;
    height: 600px;
    background: radial-gradient(ellipse at center,
      rgba(0, 178, 169, 0.09) 0%,
      transparent 70%);
    pointer-events: none;
    z-index: 0;
    border-radius: 50%;
  }
}

/* Glow bleu section BACS */
@media (min-width: 1440px) {
  .slide--bacs::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -60px;
    width: 480px;
    height: 480px;
    background: radial-gradient(ellipse at center,
      rgba(14, 30, 61, 0.06) 0%,
      transparent 70%);
    pointer-events: none;
    z-index: 0;
    border-radius: 50%;
  }
}

/* ── 4. Fluid typography étendue desktop ────────────────────── */
@media (min-width: 1440px) {
  .hero-title {
    font-size: clamp(3.5rem, 4.5vw, 5.5rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
  }

  .hero-desc {
    font-size: 1.1875rem;
    max-width: 520px;
    line-height: 1.75;
  }

  .section-title {
    font-size: clamp(2rem, 2.8vw, 3.25rem);
  }

  .section-desc {
    font-size: 1.0625rem;
    max-width: 720px;
  }

  .slide--expertise,
  .slide--social-proof,
  .slide--contact {
    padding-block: 0;
  }

  .slide-inner {
    gap: 80px;
  }
}

@media (min-width: 1920px) {
  .hero-title {
    font-size: clamp(4rem, 4.8vw, 6.5rem);
  }

  .section-title {
    font-size: clamp(2.25rem, 3vw, 3.75rem);
  }

  .hero-desc {
    font-size: 1.25rem;
    max-width: 580px;
  }
}

/* ── Safe zone : s'assurer que les z-index restent cohérents ── */
.slide { position: relative; }
.slide-inner { position: relative; z-index: 1; }

/* ================================================================
   LOGO MARQUEE — Défilement infini horizontal
   Remplace logos-grid pour la section Confiance & Écosystème
================================================================ */

/* ── Conteneur externe : masque le débordement + fade latéral ── */
/* ================================================================
   MARQUEE INFINI — Refonte fluide (translate sur .logo-marquee)
   Technique : 2 pistes statiques côte à côte, on translate le
   conteneur de 0 → -50% : quand la piste 1 sort à gauche,
   la piste 2 prend sa place exacte → boucle imperceptible.
================================================================ */

/* Fenêtre : masque le débordement + fade latéral */
.logo-marquee-wrap {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 10%,
    black 90%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 10%,
    black 90%,
    transparent 100%
  );
}

/* Pause globale au survol */
.logo-marquee-wrap:hover .logo-marquee {
  animation-play-state: paused;
}

/* Conteneur animé : les 2 pistes sont ses enfants directs */
.logo-marquee {
  display: flex;              /* les 2 pistes côte à côte */
  width: max-content;
  will-change: transform;
  /* Animation LTR par défaut */
  animation: marquee-ltr 34s linear infinite;
}

/* Sens inverse (fournisseurs) */
.logo-marquee--rtl {
  animation-name: marquee-rtl;
  animation-duration: 40s;
}

/* Chaque piste = une copie complète de la liste, flex inline */
.logo-marquee__track {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 7px;
  flex-shrink: 0;
}

/* ── Keyframes ────────────────────────────────────────────── */
/* LTR : translate de 0 à -50% (= largeur d'une piste)       */
@keyframes marquee-ltr {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* RTL : dans l'autre sens                                    */
@keyframes marquee-rtl {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

/* ── Accessibilité : prefers-reduced-motion ────────────────── */
@media (prefers-reduced-motion: reduce) {
  .logo-marquee {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
  }
  .logo-marquee-wrap {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }
}

/* ── Pastille logo ──────────────────────────────────────────── */
.logo-pill {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  background: var(--white);
  border: 1px solid var(--gray-150, #ebebeb);
  border-radius: 10px;
  height: 64px;
  min-width: 100px;
  max-width: 140px;
  transition: border-color 0.2s, box-shadow 0.2s, opacity 0.2s;
}

.logo-pill:hover {
  border-color: var(--gray-300);
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
}

/* Logos en gris 50% opacité → couleur pleine au survol */
.logo-marquee__img {
  display: block;
  height: 32px;          /* max-height stricte */
  width: auto;
  max-width: 100px;
  object-fit: contain;
  filter: opacity(75%);
  transition: filter 0.25s ease;
}

.logo-pill:hover .logo-marquee__img {
  filter: opacity(100%);
}

.logo-pill--zoom-legrand,
.logo-pill--zoom-schneider,
.logo-pill--zoom-sonoff,
.logo-pill--zoom-hager,
.logo-pill--zoom-nexity {
  overflow: hidden;
}

.logo-pill--zoom-legrand .logo-marquee__img { transform: scale(1.65); }
.logo-pill--zoom-schneider .logo-marquee__img { transform: scale(1.55); }
.logo-pill--zoom-sonoff .logo-marquee__img { transform: scale(1.65); }
.logo-pill--zoom-nexity .logo-marquee__img { transform: scale(1.65); }
.logo-pill--zoom-hager { font-size: 22px; }

/* Pastille texte (ex: Hager sans logo) */
.logo-pill--text {
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-400);
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.logo-pill--text:hover { color: var(--gray-700); }

/* ── Accentuation colorée par bloc ─────────────────────────── */
.logo-marquee--immo .logo-pill:hover {
  border-color: var(--blue, #0e1e3d);
  box-shadow: 0 0 0 3px rgba(14,30,61,0.06);
}

.logo-marquee--tech .logo-pill:hover {
  border-color: var(--turquoise);
  box-shadow: 0 0 0 3px rgba(0,178,169,0.08);
}

/* ── Disposition verticale garantie de la section ──────────── */
.social-proof-inner {
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 48px;
}

/* Annuler le flex-row 1440px précédent */
@media (min-width: 1440px) {
  .social-proof-inner {
    flex-direction: column !important;
    gap: 56px;
  }
  .sp-group { flex: unset; }
}

/* ── SEO / Accessibilité ──────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ================================================================
   FLÈCHES "NOTRE MÉTHODE" — Responsive
================================================================ */
.method-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  /* Largeur fixe entre les cartes */
  width: 56px;
  color: var(--turquoise);
  opacity: 0.55;
  transition: opacity 0.2s;
  padding: 0 4px;
}

.method-arrow:hover { opacity: 0.9; }

/* Desktop : flèche droite visible, flèche bas cachée */
.method-arrow__right { display: block; width: 40px; height: 24px; }
.method-arrow__down  { display: none;  width: 24px; height: 40px; }

/* Mobile (< 768px) : empilement vertical → flèche bas */
@media (max-width: 768px) {
  .expertise-grid {
    flex-direction: column !important;
    align-items: stretch;
  }

  .method-arrow {
    width: 100%;
    height: 44px;
    justify-content: center;
  }

  .method-arrow__right { display: none; }
  .method-arrow__down  { display: block; }
}

/* Tablette (768px–900px) : flèche droite, cartes en colonne si nécessaire */
@media (max-width: 900px) and (min-width: 769px) {
  .expertise-grid {
    flex-wrap: nowrap;
    gap: 0;
  }
  .method-arrow { width: 36px; }
  .method-arrow__right { width: 30px; }
}

/* ================================================================
   SECTION — LE NUMÉRIQUE EST UNE CHANCE
================================================================ */
.slide--chance {
  background: var(--white);
  position: relative;
  overflow: hidden;
}

/* Fond décoratif subtil */
.slide--chance::before {
  content: '';
  position: absolute;
  top: -160px;
  right: -100px;
  width: 520px;
  height: 520px;
  background: radial-gradient(ellipse at center,
    rgba(0, 178, 169, 0.07) 0%,
    transparent 68%);
  pointer-events: none;
  border-radius: 50%;
}

.chance-inner {
  display: flex;
  flex-direction: column;
  gap: 56px;
  padding-block: 96px;
}

/* ── En-tête ──────────────────────────────────────────────── */
.chance-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.chance-header .section-desc {
  margin-top: 16px;
  font-size: 1.0625rem;
  color: var(--gray);
  line-height: 1.75;
}

/* ── Grille 3 colonnes desktop ────────────────────────────── */
.chance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* ── Carte argument ───────────────────────────────────────── */
.chance-card {
  background: var(--white);
  border: 1px solid var(--gray-100, #f0f4f8);
  border-radius: 20px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  position: relative;
  overflow: hidden;
}

/* Barre accent en haut */
.chance-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--turquoise), var(--blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
  border-radius: 20px 20px 0 0;
}

.chance-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.09);
  border-color: transparent;
}

.chance-card:hover::before {
  transform: scaleX(1);
}

/* ── Icône ────────────────────────────────────────────────── */
.chance-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.chance-card:hover .chance-icon {
  transform: scale(1.12) rotate(-4deg);
}

.chance-icon--turquoise {
  background: rgba(0, 178, 169, 0.1);
  color: var(--turquoise);
}

.chance-icon--blue {
  background: rgba(33, 35, 172, 0.08);
  color: var(--blue);
}

.chance-icon__img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  display: block;
}

/* Colorisation SVG selon la couleur du conteneur */
.chance-icon--turquoise .chance-icon__img {
  filter: invert(54%) sepia(96%) saturate(352%) hue-rotate(142deg) brightness(95%) contrast(91%);
}

.chance-icon--blue .chance-icon__img {
  filter: invert(18%) sepia(79%) saturate(1200%) hue-rotate(220deg) brightness(90%) contrast(95%);
}

/* ── Textes ───────────────────────────────────────────────── */
.chance-card__title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
}

.chance-card__desc {
  font-size: 0.9375rem;
  color: var(--gray);
  line-height: 1.75;
  flex: 1;
}

/* ── Responsive tablette (768–1024px) ────────────────────── */
@media (max-width: 1024px) and (min-width: 641px) {
  .chance-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* ── Mobile (< 640px) ─────────────────────────────────────── */
@media (max-width: 640px) {
  .chance-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .chance-card {
    padding: 28px 22px;
  }

  .chance-inner {
    gap: 36px;
    padding-block: 60px;
  }
}

/* ================================================================
   SLIDE — SMALT SECURITY
================================================================ */

/* ── Fond et ambiance ────────────────────────────────────────── */
.slide--security {
  background: var(--white);
  position: relative;
  overflow: hidden;
}

/* ── Badge rouge ─────────────────────────────────────────────── */
.product-badge--red {
  background: rgba(230, 57, 70, 0.1);
  color: #e63946;
  border: 1px solid rgba(230, 57, 70, 0.2);
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* ── Feature list rouge ──────────────────────────────────────── */
.feature-list--red .feature-dot--red {
  background: #e63946;
}

/* ── Grille visuelle 3 images ────────────────────────────────── */
.security-visual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 14px;
  width: 100%;
}

.security-img-card--main {
  grid-column: 1 / -1;   /* pleine largeur */
}

.security-img-card {
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(230, 57, 70, 0.12);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.security-img-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(230, 57, 70, 0.1);
}

.security-img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 36px 24px;
  color: #e63946;
  text-align: center;
  min-height: 140px;
  font-size: 13px;
  font-weight: 500;
  color: #64748b;
}

.security-img-card--main .security-img-placeholder {
  min-height: 180px;
  padding: 44px 32px;
}

.security-img-placeholder svg {
  color: #e63946;
  opacity: 0.7;
}

.security-img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  max-height: min(220px, 30vh);
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.security-img-card:not(.security-img-card--main) .security-img {
  height: auto;
  aspect-ratio: 4 / 3;
  max-height: min(180px, 24vh);
}

.security-img-card--no-frame,
.security-img-card--no-frame:hover {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transform: none;
  background: transparent;
}

.security-img-card--no-frame .security-img-placeholder {
  padding: 0;
  min-height: 0;
}

/* Smalt Security nav : identique aux autres liens offre */

/* ── Dot de nav rouge ────────────────────────────────────────── */
.slide-dot--security.slide-dot--active,
.slide-dot--security.active,
.slide-dot--security:hover {
  background: #e63946;
}

/* ── CTA rouge ───────────────────────────────────────────────── */
.cta-btn--red {
  background: #e63946;
  color: #fff;
  border: none;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.cta-btn--red:hover {
  background: #c1121f;
  transform: translateY(-2px);
  text-decoration: none;
  color: #fff;
}

/* ── Responsive mobile ───────────────────────────────────────── */
@media (max-width: 640px) {
  .security-visual-grid {
    grid-template-columns: 1fr;
  }
  .security-img-card--main {
    grid-column: 1;
  }
}

/* ================================================================
   CORRECTIONS V3.1
================================================================ */

/* Bouton Hero — Smalt Security (outline rouge) */
.cta-btn--outline-red {
  background: transparent;
  color: #e63946;
  border: 2px solid #e63946;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-direction: column;
  line-height: 1.1;
}
.cta-btn--outline-red:hover {
  background: #e63946;
  color: #fff;
  transform: translateY(-2px);
  text-decoration: none;
}
.cta-btn--outline-red .cta-sub {
  font-size: 11px;
  font-weight: 400;
  opacity: 0.8;
}

/* Feature dot rouge */
.feature-dot--red { background: #e63946 !important; }

/* ── Section Offre Personnalisée ─────────────────────────────── */
.slide--custom-offer {
  background: linear-gradient(135deg, #fffaf0 0%, #ffffff 72%);
  position: relative;
  overflow: hidden;
}

.slide--custom-offer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245,158,11,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,158,11,0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.custom-offer-inner {
  padding-block: 0;
}

.custom-offer-content {
  max-width: 520px;
}

.custom-offer-content .eyebrow {
  color: #d97706;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: block;
}

.custom-offer-title {
  color: #d97706;
}

.custom-offer-desc {
  font-size: 1rem;
  color: var(--gray-500);
  line-height: 1.8;
  margin-bottom: 28px;
  max-width: 520px;
}

.product-badge--orange {
  background: rgba(245,158,11,0.13);
  color: #b45309;
  border: 1px solid rgba(245,158,11,0.24);
}

.custom-offer-title-accent { color: #d97706; }

.cta-btn--orange {
  background: #f59e0b;
  color: #fff;
  border: 0;
}

.cta-btn--orange:hover {
  background: #d97706;
  color: #fff;
}

.custom-offer-cta { display: flex; gap: 16px; flex-wrap: wrap; }

.custom-offer-visual {
  flex-shrink: 0;
  opacity: 1;
}

.custom-offer-image-slot {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: hidden;
}

.custom-offer-image-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}

/* Mobile */
@media (max-width: 768px) {
  .custom-offer-inner {
    flex-direction: column;
    gap: 36px;
    padding-block: 56px;
    text-align: center;
  }
  .custom-offer-visual { display: none; }
  .custom-offer-desc { max-width: 100%; }
}

/* ================================================================
   SLIDE — SMALT PARKING
================================================================ */
.slide--parking {
  background: var(--gray-100);
  position: relative;
  overflow: hidden;
}

.product-badge--parking {
  background: rgba(29, 78, 137, 0.1);
  color: var(--parking);
  border: 1px solid rgba(29, 78, 137, 0.2);
}

.feature-list--parking .feature-dot {
  background: var(--parking);
}

.cta-btn--parking {
  background: var(--parking);
  color: #fff;
  border: none;
}

.cta-btn--parking:hover {
  background: #163e6d;
  color: #fff;
  box-shadow: 0 8px 24px rgba(29, 78, 137, 0.3);
}

.cta-btn--outline-parking {
  background: transparent;
  color: var(--parking);
  border: 2px solid var(--parking);
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-direction: column;
  line-height: 1.1;
}

.cta-btn--outline-parking:hover {
  background: var(--parking);
  color: #fff;
  transform: translateY(-2px);
  text-decoration: none;
}

.cta-btn--outline-parking .cta-sub {
  font-size: 11px;
  font-weight: 400;
  opacity: 0.8;
}

.parking-dev-box {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  margin: 0;
  padding: 10px 14px;
  max-width: 240px;
  border: 1.5px solid #d97706;
  border-radius: 10px;
  background: rgba(217, 119, 6, 0.1);
}

.parking-dev-box__label {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #d97706;
}

.parking-dev-box__partner {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: #9a3412;
  line-height: 1.3;
}

.slide-dot--home.slide-dot--active,
.slide-dot--home.active,
.slide-dot--home:hover {
  background: var(--blue);
}

.slide-dot--parking.slide-dot--active,
.slide-dot--parking.active,
.slide-dot--parking:hover {
  background: var(--parking);
}

.slide-dot--custom.slide-dot--active,
.slide-dot--custom.active,
.slide-dot--custom:hover {
  background: #d97706;
}

@media (max-width: 1280px) and (min-width: 901px) {
  .nav-link {
    padding: 6px 10px;
    font-size: 0.8125rem;
  }
}

/* ================================================================
   CTA outline turquoise + MODAL MATÉRIEL OFFICE
================================================================ */
.cta-btn--outline-turquoise {
  background: transparent;
  color: var(--turquoise);
  border: 2px solid var(--turquoise);
}

.cta-btn--outline-turquoise:hover {
  background: var(--turquoise);
  color: #fff;
}

.materiel-modal[hidden] {
  display: none;
}

.materiel-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.materiel-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 28, 0.55);
  backdrop-filter: blur(4px);
}

.materiel-modal__panel {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: min(88vh, 900px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  padding: 0;
}

.materiel-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 10px;
  background: var(--gray-100);
  color: var(--gray-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.materiel-modal__close:hover {
  background: var(--gray-200);
  color: var(--black);
}

.materiel-modal__header {
  flex-shrink: 0;
  margin-bottom: 0;
  padding: 32px 56px 16px 28px;
  background: #fff;
  border-bottom: 1px solid var(--gray-100);
  position: relative;
  z-index: 2;
}

.materiel-modal__title {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--black);
  margin: 8px 0 10px;
}

.materiel-modal__desc {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--gray-500);
  max-width: 58ch;
}

.materiel-grid,
.materiel-body {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 20px 28px 28px;
  -webkit-overflow-scrolling: touch;
}

.materiel-body {
  display: block;
}

.materiel-grid--nested {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  flex: none;
  overflow: visible;
  padding: 0;
  min-height: 0;
}

.office-arch {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.office-arch__core {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
}

.office-arch__flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.office-arch__box {
  width: min(100%, 240px);
  border: 2px dashed rgba(13, 180, 164, 0.45);
  border-radius: 16px;
  background: rgba(13, 180, 164, 0.06);
  padding: 14px;
  text-align: center;
  flex-shrink: 0;
}

.office-arch__label {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--turquoise);
  margin-bottom: 4px;
}

.office-arch__box-desc {
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-bottom: 10px;
  line-height: 1.4;
}

.office-arch__board {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 14px 12px;
  box-shadow: 0 8px 24px rgba(13, 180, 164, 0.12);
}

.office-arch__board-name {
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--black);
  letter-spacing: -0.02em;
}

.office-arch__board-role {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--turquoise);
  margin-top: 4px;
}

.office-arch__eth {
  margin-top: 8px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue);
}

.office-arch__link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 2px;
  flex-shrink: 0;
}

.office-arch__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--turquoise);
  opacity: 0.35;
  animation: office-dot-flow 1.2s ease-in-out infinite;
}

.office-arch__dot:nth-child(2) { animation-delay: 0.15s; }
.office-arch__dot:nth-child(3) { animation-delay: 0.3s; }
.office-arch__dot:nth-child(4) { animation-delay: 0.45s; }

@keyframes office-dot-flow {
  0%, 100% { opacity: 0.25; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.15); }
}

.office-arch__cloud,
.office-arch__app {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  min-width: 110px;
  flex-shrink: 0;
}

.office-arch__devices {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 12px;
}

.office-arch__device {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.office-arch__device-label {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--gray-700);
}

.office-arch__phone {
  width: 42px;
  height: 78px;
  border-radius: 10px;
  border: 2px solid #1f2937;
  background: #111827;
  padding: 5px;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.2);
}

.office-arch__phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 6px;
  background: linear-gradient(160deg, #e8fffc 0%, #d7f6f2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--turquoise);
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.office-arch__computer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.office-arch__computer-screen {
  width: 88px;
  height: 56px;
  border-radius: 8px 8px 4px 4px;
  border: 2px solid #1f2937;
  background: linear-gradient(160deg, #e8fffc 0%, #d7f6f2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--turquoise);
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.15);
}

.office-arch__computer-base {
  width: 56px;
  height: 6px;
  border-radius: 0 0 4px 4px;
  background: #1f2937;
  position: relative;
}

.office-arch__computer-base::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  width: 72px;
  height: 4px;
  border-radius: 2px;
  background: #374151;
}

.office-arch__cloud-shape {
  line-height: 0;
}

.office-arch__cloud-name,
.office-arch__app-name {
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--black);
}

.office-arch__cloud-role,
.office-arch__app-role {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--turquoise);
}

.office-arch__tablet {
  width: 64px;
  height: 88px;
  border-radius: 10px;
  border: 2px solid #1f2937;
  background: #111827;
  padding: 6px;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.2);
}

.office-arch__tablet-screen {
  width: 100%;
  height: 100%;
  border-radius: 6px;
  background: linear-gradient(160deg, #e8fffc 0%, #d7f6f2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--turquoise);
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.office-arch__flow-note {
  text-align: center;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--gray-500);
  max-width: 56ch;
  margin: 0 auto;
}

.office-arch__bridge {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--gray-700);
}

.office-arch__protocols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

/* Smalt Home architecture (blue) */
.home-arch__controller .office-arch__app-role {
  color: var(--blue);
}

.home-arch__tablet--main {
  width: 78px;
  height: 108px;
  border-color: var(--blue);
}

.home-arch__tablet-screen--main {
  background: linear-gradient(160deg, #eef0ff 0%, #dde1ff 100%);
  color: var(--blue);
  font-size: 0.7rem;
}

.home-arch__tablet-screen--remote {
  background: linear-gradient(160deg, #eef0ff 0%, #dde1ff 100%);
  color: var(--blue);
}

.home-arch__link .office-arch__dot {
  background: var(--blue);
}

.home-arch__devices {
  display: flex;
  align-items: flex-end;
  gap: 14px;
}

.home-arch__device {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.home-arch__device-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gray-700);
}

.home-arch__phone {
  width: 42px;
  height: 78px;
  border-radius: 10px;
  border: 2px solid #1f2937;
  background: #111827;
  padding: 5px;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.2);
}

.home-arch__phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 6px;
  background: linear-gradient(160deg, #eef0ff 0%, #dde1ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.materiel-card__tag--home-wireless {
  background: rgba(33, 35, 172, 0.1);
  color: var(--blue);
}

.materiel-card__tag--home-wired {
  background: rgba(13, 180, 164, 0.12);
  color: var(--turquoise);
}

/* Smalt Security architecture */
.security-arch {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.security-arch__section {
  border: 1px solid rgba(230, 57, 70, 0.18);
  border-radius: 14px;
  background: rgba(230, 57, 70, 0.04);
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.security-arch__title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #e63946;
  letter-spacing: -0.01em;
}

.security-arch__flow {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.security-arch__equip-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.security-arch__equip-item {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-700);
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 10px 12px;
}

.security-arch__link-label {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #e63946;
}

.security-arch__hub {
  background: #fff;
  border: 1.5px solid rgba(230, 57, 70, 0.35);
  border-radius: 12px;
  padding: 14px 16px;
  text-align: center;
}

.security-arch__hub-name {
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--black);
}

.security-arch__hub-note {
  margin-top: 4px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #e63946;
}

.security-arch__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.security-arch__chip {
  display: inline-flex;
  align-items: center;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-700);
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  padding: 7px 12px;
}

.security-arch__access {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 4px;
}

.security-arch__access-title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--gray-700);
}

.security-arch__devices {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: flex-end;
}

.security-arch__device {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 72px;
}

.security-arch__device-label {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--gray-700);
  text-align: center;
  max-width: 110px;
  line-height: 1.3;
}

.security-arch__screen {
  background: linear-gradient(160deg, #fff1f2 0%, #ffe4e6 100%) !important;
  color: #e63946 !important;
}

.security-arch__paths {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.security-arch__or {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e63946;
  text-align: center;
}

.security-arch__monitor {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.security-arch__monitor-screen {
  width: 56px;
  height: 40px;
  border-radius: 6px;
  border: 2px solid rgba(230, 57, 70, 0.35);
  background: linear-gradient(160deg, #fff1f2 0%, #ffe4e6 100%);
  color: #e63946;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.security-arch__monitor-base {
  width: 22px;
  height: 6px;
  border-radius: 0 0 4px 4px;
  background: rgba(230, 57, 70, 0.35);
}

/* Smalt Parking architecture */
.parking-arch {
  gap: 20px;
}

.parking-arch__field,
.parking-arch__controllers {
  border: 1px solid rgba(29, 78, 137, 0.18);
  border-radius: 14px;
  background: rgba(29, 78, 137, 0.04);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.parking-arch__section-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--parking);
}

.parking-arch__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.parking-arch__chip {
  display: inline-flex;
  align-items: center;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--gray-700);
  background: #fff;
  border: 1px solid rgba(29, 78, 137, 0.22);
  border-radius: 999px;
  padding: 7px 12px;
}

.parking-arch__link-label {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--parking);
}

.parking-arch__automates {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.parking-arch__automate {
  flex: 1 1 120px;
  background: #fff;
  border: 1.5px solid rgba(29, 78, 137, 0.35);
  border-radius: 12px;
  padding: 14px 12px;
  text-align: center;
}

.parking-arch__automate-name {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--black);
}

.parking-arch__server {
  border-color: rgba(29, 78, 137, 0.35);
}

.parking-arch__server .office-arch__label {
  color: var(--parking);
}

.parking-arch__link .office-arch__dot {
  background: var(--parking);
}

.parking-arch__link-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.parking-arch__eth {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--parking);
}

.parking-arch__cloud .office-arch__cloud-shape {
  color: var(--parking);
}

.parking-arch__app .office-arch__app-role {
  color: var(--parking);
}

.parking-arch__screen {
  background: linear-gradient(160deg, #eef4fb 0%, #d9e6f4 100%) !important;
  color: var(--parking) !important;
}

.materiel-card__tag {
  display: inline-flex;
  align-self: flex-start;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(13, 180, 164, 0.12);
  color: var(--turquoise);
  margin-bottom: 4px;
}

.materiel-card__tag--modbus {
  background: rgba(33, 35, 172, 0.1);
  color: var(--blue);
}

.materiel-card {
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 16px;
  background: var(--gray-50);
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.materiel-card__logo {
  height: 40px;
  display: flex;
  align-items: center;
  margin-bottom: 4px;
}

.materiel-card__logo img {
  max-height: 32px;
  max-width: 120px;
  width: auto;
  object-fit: contain;
}

.materiel-card__logo--photo {
  height: 88px;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--gray-200);
  justify-content: center;
}

.materiel-card__logo--photo img {
  max-height: 100%;
  max-width: 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-ctas .cta-btn--outline-blue,
.product-ctas .cta-btn--outline-red,
.product-ctas .cta-btn--outline-parking {
  flex-direction: row;
  padding: 12px 24px;
  font-size: 0.875rem;
  border-radius: 8px;
}

.materiel-card__usage {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--black);
}

.materiel-card__equip {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--turquoise);
}

.materiel-card__note {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--gray-500);
}

body.materiel-modal-open {
  overflow: hidden;
}

@media (max-width: 900px) {
  .materiel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .office-arch__protocols,
  .materiel-grid--nested {
    grid-template-columns: 1fr;
  }

  .office-arch__flow {
    flex-direction: column;
  }

  .office-arch__link {
    flex-direction: column;
    padding: 4px 0;
  }
}

@media (max-width: 560px) {
  .materiel-modal {
    padding: 12px;
  }

  .materiel-modal__header {
    padding: 24px 48px 14px 16px;
  }

  .materiel-grid,
  .materiel-body {
    grid-template-columns: 1fr;
    padding: 16px;
  }
}
