/* ===== FONTS ===== */
@font-face {
  font-family: 'PPNeueMontreal';
  font-weight: 300;
  font-style: normal;
  src: url('fonts/PPNeueMontreal-Light.otf') format('opentype');
}
@font-face {
  font-family: 'PPNeueMontreal';
  font-weight: 400;
  font-style: normal;
  src: url('fonts/PPNeueMontreal-Regular.otf') format('opentype');
}
@font-face {
  font-family: 'PPNeueMontreal';
  font-weight: 400;
  font-style: italic;
  src: url('fonts/PPNeueMontreal-Italic.otf') format('opentype');
}
@font-face {
  font-family: 'PPNeueMontreal';
  font-weight: 450;
  font-style: normal;
  src: url('fonts/PPNeueMontrealText-Book.otf') format('opentype');
}
@font-face {
  font-family: 'PPNeueMontreal';
  font-weight: 600;
  font-style: normal;
  src: url('fonts/PPNeueMontreal-Semibold.otf') format('opentype');
}
@font-face {
  font-family: 'PPNeueMontreal';
  font-weight: 800;
  font-style: normal;
  src: url('fonts/PPNeueMontreal-Extrabold.otf') format('opentype');
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --black: #000000;
  --white: #ffffff;
  --gray-100: #f5f5f5;
  --gray-200: #e8e8e8;
  --gray-300: #d4d4d4;
  --gray-500: #888888;
  --gray-700: #3a3a3a;
  --gray-900: #1a1a1a;
  --text-dark: #0a0a0a;
  --accent: #4000ff;
  --accent-soft: rgba(64, 0, 255, 0.16);

  --font: 'PPNeueMontreal', system-ui, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  scroll-behavior: smooth;
}

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

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

/* ===== TYPOGRAPHY SCALE ===== */
.h1 {
  font-size: clamp(52px, 7vw, 96px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.025em;
}

.h2 {
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.02em;
}

.h3 {
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.body-lg {
  font-size: clamp(17px, 1.5vw, 20px);
  font-weight: 300;
  line-height: 1.6;
}

.body {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
}

.label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  border-radius: 9999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease-out), background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.btn:hover {
  transform: scale(1.02);
}

.btn-primary {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.btn-primary:hover {
  background: var(--gray-200);
  border-color: var(--gray-200);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}

.btn-outline:hover {
  border-color: var(--white);
}

.btn-dark {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.btn-dark:hover {
  background: var(--gray-900);
  border-color: var(--gray-900);
  box-shadow: 0 4px 28px rgba(64, 0, 255, 0.22);
}

.btn-dark-outline {
  background: transparent;
  color: var(--text-dark);
  border-color: var(--gray-300);
}

.btn-dark-outline:hover {
  border-color: var(--text-dark);
}

.btn-accent {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

.btn-accent:hover {
  background: #3300dd;
  border-color: #3300dd;
  box-shadow: 0 4px 28px rgba(64, 0, 255, 0.35);
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.3s, backdrop-filter 0.3s, padding 0.3s;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  padding: 14px 48px;
  border-bottom: 1px solid var(--gray-200);
}

.nav-logo {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 450;
  color: var(--gray-700);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text-dark);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-chat-btn {
  padding: 10px 20px;
  font-size: 14px;
  border-radius: 9999px;
  background: transparent;
  color: var(--accent);
  font-weight: 600;
  border: 1.5px solid var(--accent);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s var(--ease-out);
  font-family: var(--font);
}

.nav-chat-btn:hover {
  background: var(--accent-soft);
  transform: scale(1.02);
}

.nav-cta {
  padding: 10px 22px;
  font-size: 14px;
  border-radius: 9999px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 600;
  border: 1.5px solid var(--accent);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s var(--ease-out), box-shadow 0.2s;
  font-family: var(--font);
}

.nav-cta:hover {
  background: #3300dd;
  border-color: #3300dd;
  transform: scale(1.02);
  box-shadow: 0 4px 20px rgba(64, 0, 255, 0.30);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--white);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-layout {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: clamp(100px, 14vh, 160px) clamp(32px, 8vw, 120px);
}

.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-content {
  text-align: left;
  max-width: 640px;
}

.hero-tag {
  display: inline-block;
  color: var(--accent);
  margin-bottom: 28px;
  letter-spacing: 0.12em;
}

.hero h1 {
  color: var(--text-dark);
  margin-bottom: 24px;
}

.hero-sub {
  color: var(--gray-700);
  max-width: 520px;
  margin: 0 0 44px;
}

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

/* Hero entrance animations */
.hero-tag { opacity: 0; transform: translateY(28px); }
.hero h1  { opacity: 0; transform: translateY(40px); }
.hero-sub  { opacity: 0; transform: translateY(36px); }
.hero-ctas { opacity: 0; transform: translateY(36px); }

.hero-tag.animate  { animation: fadeUp 0.85s var(--ease-out) 0.1s forwards; }
.hero h1.animate   { animation: fadeUp 0.85s var(--ease-out) 0.28s forwards; }
.hero-sub.animate  { animation: fadeUp 0.85s var(--ease-out) 0.46s forwards; }
.hero-ctas.animate { animation: fadeUp 0.85s var(--ease-out) 0.62s forwards; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeRight {
  to { opacity: 1; transform: translateX(0); }
}

/* ===== HERO VISUAL PANEL ===== */
.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  opacity: 0;
  transform: translateX(28px);
}

.hero-visual.animate {
  animation: fadeRight 0.95s var(--ease-out) 0.55s forwards;
}

.hero-kpis {
  background: rgba(64, 0, 255, 0.03);
  border: 1px solid rgba(64, 0, 255, 0.14);
  border-radius: 18px;
  padding: 36px 32px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
  box-shadow: 0 8px 40px rgba(64, 0, 255, 0.08);
}

.hero-kpi {
  padding: 22px 0;
}

.hero-kpi:first-child { padding-top: 0; }
.hero-kpi:last-child  { padding-bottom: 0; }

.hero-kpi-divider {
  height: 1px;
  background: rgba(64, 0, 255, 0.08);
}

.hero-kpi-value {
  font-size: clamp(38px, 4vw, 52px);
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 7px;
}

.hero-kpi-label {
  font-size: 13px;
  color: var(--gray-500);
  font-weight: 450;
  line-height: 1.45;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: rgba(64, 0, 255, 0.07);
  border: 1px solid rgba(64, 0, 255, 0.20);
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent);
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(64, 0, 255, 0.75);
  flex-shrink: 0;
  animation: pulse-dot 2.2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1;   box-shadow: 0 0 10px rgba(64, 0, 255, 0.75); }
  50%       { opacity: 0.6; box-shadow: 0 0 20px rgba(64, 0, 255, 0.35); }
}


/* Hero h1 override — plus sobre, espacé */
.hero .h1 {
  font-weight: 600;
  letter-spacing: 0.01em;
  font-size: clamp(44px, 6vw, 82px);
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===== SECTION BASE ===== */
section {
  padding: 120px 48px;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== SECTION: INTRO ===== */
.section-intro {
  background: var(--white);
  text-align: center;
}

.intro-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 52px;
  flex-wrap: wrap;
}

.intro-icon {
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--gray-300);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
}

.intro-icon svg {
  width: 20px;
  height: 20px;
}

.intro-headline {
  max-width: 800px;
  margin: 0 auto 28px;
}

.intro-sub {
  max-width: 560px;
  margin: 0 auto;
  color: var(--gray-500);
}

.intro-stats {
  display: flex;
  justify-content: center;
  gap: 64px;
  margin-top: 64px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  color: var(--gray-500);
  font-size: 14px;
  font-weight: 450;
}

/* ===== SECTION: SPLIT LAYOUT ===== */
.section-split {
  background: var(--gray-100);
}

.section-split.alt {
  background: var(--white);
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.split-grid.reversed {
  direction: rtl;
}

.split-grid.reversed > * {
  direction: ltr;
}

.split-label {
  color: var(--gray-500);
  margin-bottom: 20px;
}

.split-heading {
  margin-bottom: 24px;
}

.split-body {
  color: var(--gray-700);
  margin-bottom: 32px;
}

.split-list {
  list-style: none;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.split-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15px;
  font-weight: 450;
  color: var(--text-dark);
}

.split-list li::before {
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  min-width: 20px;
  border-radius: 50%;
  background: var(--black);
  position: relative;
  top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10l3.5 3.5L15 7' stroke='white' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
}

/* Mock UI boxes */
.mock-ui {
  background: var(--gray-900);
  border-radius: 12px;
  padding: 32px;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 1px solid rgba(255,255,255,0.06);
}

.mock-header {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.mock-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
}

.mock-line {
  height: 10px;
  border-radius: 4px;
  background: rgba(255,255,255,0.08);
}

.mock-line.short { width: 40%; }
.mock-line.med { width: 65%; }
.mock-line.long { width: 88%; }
.mock-line.full { width: 100%; }
.mock-line.accent { background: rgba(255,255,255,0.22); }

.mock-block {
  border-radius: 8px;
  padding: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mock-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 3px;
  padding: 3px 8px;
  align-self: flex-start;
}

.mock-value {
  font-size: 28px;
  font-weight: 800;
  color: rgba(255,255,255,0.9);
  letter-spacing: -0.02em;
}

.mock-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* Blueprint mock */
.mock-blueprint {
  background: var(--black);
  border: 1px solid rgba(255,255,255,0.08);
}

.blueprint-node {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 6px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
}

.blueprint-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: rgba(255,255,255,0.08);
  flex-shrink: 0;
}

.blueprint-text {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.blueprint-arrow {
  display: flex;
  align-items: center;
  padding-left: 28px;
  color: rgba(255,255,255,0.2);
  font-size: 18px;
}

/* ===== SECTION: STEPS ===== */
.section-steps {
  background: var(--gray-100);
}

.steps-intro {
  text-align: center;
  margin-bottom: 80px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.step-item {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step-number {
  font-size: 64px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--gray-200);
  line-height: 1;
}

.step-title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.step-desc {
  font-size: 15px;
  font-weight: 400;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ===== SECTION: POUR QUI ===== */
.section-pourqui {
  background: var(--white);
}

.pourqui-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.pourqui-card {
  padding: 56px 48px;
  border: 1.5px solid var(--gray-200);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  background: var(--white);
  transition: border-color 0.3s;
}

.pourqui-card:hover {
  border-color: var(--gray-500);
}

.pourqui-label {
  color: var(--gray-500);
  margin-bottom: 20px;
}

.pourqui-title {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.pourqui-body {
  color: var(--gray-700);
  font-size: 15px;
  font-weight: 450;
  line-height: 1.65;
  margin-bottom: 32px;
}

.pourqui-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pourqui-points li {
  font-size: 14px;
  font-weight: 450;
  color: var(--gray-700);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pourqui-points li::before {
  content: '—';
  color: var(--gray-300);
}

.deco-circle {
  position: absolute;
  border-radius: 50%;
  border: 1.5px dashed var(--gray-200);
  pointer-events: none;
}

/* ===== SECTION: SECTEURS ===== */
.section-secteurs {
  background: var(--gray-100);
}

.secteurs-intro {
  text-align: center;
  margin-bottom: 72px;
}

.secteurs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.secteur-card {
  background: var(--white);
  border-radius: 10px;
  padding: 36px 28px;
  border: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow 0.2s, transform 0.2s var(--ease-out);
}

.secteur-card:hover {
  box-shadow: 0 8px 40px rgba(0,0,0,0.08), 0 0 0 1px rgba(64, 0, 255, 0.20);
  transform: translateY(-3px);
  border-color: rgba(64, 0, 255, 0.24);
}

.secteur-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
}

.secteur-icon svg {
  width: 20px;
  height: 20px;
}

.secteur-name {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.secteur-value {
  font-size: 13px;
  color: var(--gray-500);
  font-weight: 450;
  line-height: 1.5;
}

.secteur-price {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: auto;
}

.secteur-price span {
  font-size: 13px;
  font-weight: 400;
  color: var(--gray-500);
  letter-spacing: 0;
}

.secteurs-cta {
  text-align: center;
  margin-top: 52px;
}

/* ===== SECTION: GARANTIES ===== */
.section-garanties {
  background: var(--black);
  color: var(--white);
  text-align: center;
}

.garanties-label {
  color: rgba(160, 128, 255, 0.72);
  margin-bottom: 20px;
}

.garanties-heading {
  color: var(--white);
  max-width: 640px;
  margin: 0 auto 64px;
}

.garanties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto 64px;
}

.garantie-item {
  padding: 36px 28px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.garantie-number {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.garantie-unit {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

.garantie-desc {
  font-size: 14px;
  font-weight: 450;
  color: rgba(255,255,255,0.55);
  line-height: 1.55;
}

.garanties-formula {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 24px 40px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  flex-wrap: wrap;
  justify-content: center;
}

.formula-part {
  text-align: center;
}

.formula-value {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--white);
}

.formula-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-top: 4px;
}

.formula-sep {
  font-size: 24px;
  color: rgba(255,255,255,0.2);
  font-weight: 300;
}

/* ===== SECTION: CTA FINAL ===== */
.section-cta-final {
  background: var(--black);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-label {
  color: rgba(160, 128, 255, 0.72);
  margin-bottom: 20px;
}

.cta-heading {
  color: var(--white);
  max-width: 700px;
  margin: 0 auto 20px;
}

.cta-sub {
  color: rgba(255,255,255,0.5);
  max-width: 480px;
  margin: 0 auto 48px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--white);
  padding: 80px 48px 48px;
  border-top: 1px solid var(--gray-200);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 80px;
  flex-wrap: wrap;
}

.footer-brand {
  max-width: 320px;
}

.footer-tagline {
  font-size: 14px;
  color: var(--gray-500);
  margin-top: 12px;
  font-weight: 450;
  line-height: 1.55;
}

.footer-links {
  display: flex;
  gap: 64px;
  flex-wrap: wrap;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-col-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 6px;
}

.footer-col a {
  font-size: 14px;
  font-weight: 450;
  color: var(--gray-700);
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--black);
}

.footer-wordmark {
  font-size: clamp(64px, 12vw, 160px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.88;
  color: var(--black);
  margin-bottom: 40px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid var(--gray-200);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy {
  font-size: 13px;
  color: var(--gray-500);
  font-weight: 450;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  justify-content: flex-end;
}

.footer-legal a {
  font-size: 13px;
  color: var(--gray-500);
  font-weight: 450;
  transition: color 0.2s;
}

.footer-legal a:hover {
  color: var(--accent);
}


/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  section { padding: 96px 32px; }

  .split-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .split-grid.reversed {
    direction: ltr;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .secteurs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .garanties-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav {
    padding: 16px 24px;
  }

  .nav.scrolled {
    padding: 12px 24px;
  }

  .nav-links {
    display: none;
  }

  section { padding: 80px 24px; }

  .pourqui-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .secteurs-grid {
    grid-template-columns: 1fr 1fr;
  }

  .garanties-grid {
    grid-template-columns: 1fr;
  }

  .footer {
    padding: 60px 24px 40px;
  }

  .footer-top {
    flex-direction: column;
  }

  .footer-links {
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .intro-stats {
    gap: 40px;
  }
}

@media (max-width: 480px) {
  .secteurs-grid {
    grid-template-columns: 1fr;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }
}

/* ===== CHAT WIDGET ===== */
#absolva-chat {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  font-family: var(--font, 'PPNeueMontreal'), -apple-system, BlinkMacSystemFont, sans-serif;
}

#absolva-chat-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent, #4000ff);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 24px rgba(64, 0, 255, 0.45);
  transition: transform 0.2s var(--ease-out, cubic-bezier(0.16, 1, 0.3, 1)),
              box-shadow 0.2s var(--ease-out, cubic-bezier(0.16, 1, 0.3, 1));
  position: relative;
  z-index: 1;
}

#absolva-chat-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 40px rgba(64, 0, 255, 0.55);
}

#absolva-chat-btn:active {
  transform: scale(0.96);
}

#absolva-chat-window {
  display: none;
  flex-direction: column;
  position: absolute;
  bottom: 68px;
  right: 0;
  width: 360px;
  height: 520px;
  background: #0d0d0d;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(64, 0, 255, 0.12);
}

#absolva-chat.open #absolva-chat-window {
  display: flex;
  animation: chat-rise 0.28s var(--ease-out, cubic-bezier(0.16, 1, 0.3, 1)) both;
}

@keyframes chat-rise {
  from { opacity: 0; transform: translateY(10px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0)   scale(1); }
}

#absolva-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: #111;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}

.chat-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent, #4000ff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  flex-shrink: 0;
}

.chat-header-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.chat-header-info strong {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.01em;
}

.chat-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
}

.chat-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  flex-shrink: 0;
}

#absolva-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}

#absolva-chat-messages::-webkit-scrollbar {
  width: 4px;
}

#absolva-chat-messages::-webkit-scrollbar-track {
  background: transparent;
}

#absolva-chat-messages::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 4px;
}

.chat-msg {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13.5px;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
}

.chat-msg--bot {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.9);
  border-bottom-left-radius: 4px;
}

.chat-msg--user {
  align-self: flex-end;
  background: var(--accent, #4000ff);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.chat-msg--error {
  background: rgba(239, 68, 68, 0.15);
  color: rgba(255, 180, 180, 0.9);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.chat-typing {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 12px 14px;
  min-height: 40px;
}

.chat-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  animation: chat-dot 1.2s infinite;
  flex-shrink: 0;
}

.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes chat-dot {
  0%, 80%, 100% { transform: scale(0.7); opacity: 0.4; }
  40%            { transform: scale(1);   opacity: 1; }
}

#absolva-chat-footer {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: #111;
  flex-shrink: 0;
}

#absolva-chat-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 9px 12px;
  color: #fff;
  font-family: inherit;
  font-size: 13.5px;
  line-height: 1.5;
  resize: none;
  outline: none;
  transition: border-color 0.15s;
  max-height: 120px;
  overflow-y: auto;
}

#absolva-chat-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

#absolva-chat-input:focus {
  border-color: rgba(64, 0, 255, 0.6);
}

#absolva-chat-input:disabled {
  opacity: 0.5;
}

#absolva-chat-send {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--accent, #4000ff);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
  transition: background 0.15s, opacity 0.15s, transform 0.1s;
}

#absolva-chat-send:hover {
  background: #3300dd;
}

#absolva-chat-send:active {
  transform: scale(0.94);
}

#absolva-chat-send:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

@media (max-width: 480px) {
  #absolva-chat {
    bottom: 16px;
    right: 16px;
  }

  #absolva-chat-window {
    width: calc(100vw - 32px);
    height: calc(100svh - 100px);
    right: 0;
    bottom: 64px;
  }
}
