/* ===========================
   Premium V2 Landing Page Styles
   Base & Reset
   =========================== */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Colors */
  --c-bg: #FFFFFF;
  --c-bg-subtle: #F9F9F8;
  --c-bg-dark: #050505;
  --c-text-main: #111111;
  --c-text-muted: #6B6B6B;
  --c-border: #E5E5E5;
  --c-accent: #EA4C42;
  --c-accent-blue: #0A85D1;
  --c-blob-1: rgba(234, 76, 66, 0.4);
  --c-blob-2: rgba(10, 133, 209, 0.4);

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1.125rem;
  --text-lg: 1.5rem;
  --text-xl: 3rem;
  --text-display: 4.5rem;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
  --space-2xl: 8rem;
  
  /* Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--c-bg);
  color: var(--c-text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Lucide Icons — Global base */
[data-lucide] {
  display: inline-block;
  vertical-align: middle;
}

svg[class~="lucide"] {
  display: inline-block;
  vertical-align: middle;
}

h1, h2, h3, h4 {
  font-family: var(--font-sans);
  font-weight: 700;
  line-height: 1.1;
  color: var(--c-text-main);
  letter-spacing: -0.03em;
}

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

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

/* ==================
   SCROLL PROGRESS
   ================== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--c-accent), var(--c-accent-blue));
  z-index: 10000;
  transition: width 0.1s linear;
}

/* ==================
   LAYOUT
   ================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* Generic Section */
.section {
  padding: var(--space-2xl) 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--c-accent-blue);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-sm);
}

.section-label svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.5;
}

.section-title {
  font-size: var(--text-xl);
  max-width: 800px;
  margin-bottom: var(--space-md);
}

.section-subtitle {
  font-size: var(--text-base);
  color: var(--c-text-muted);
  max-width: 700px;
  margin-bottom: var(--space-xl);
  line-height: 1.6;
}

/* ==================
   HEADER (Navigation)
   ================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-sm) var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: var(--text-base);
}

.header__nav {
  display: flex;
  gap: var(--space-lg);
}

.header__link {
  font-size: var(--text-sm);
  color: var(--c-text-muted);
  font-weight: 500;
  transition: color 0.2s;
}

.header__link:hover {
  color: var(--c-text-main);
}

/* ==================
   BUTTONS
   ================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 100px;
  font-size: var(--text-sm);
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  cursor: pointer;
  border: none;
  font-family: var(--font-sans);
}

.btn--primary {
  background: var(--c-text-main);
  color: var(--c-bg);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.btn--outline {
  background: transparent;
  color: var(--c-text-main);
  border: 1px solid var(--c-border);
}

.btn--outline:hover {
  background: var(--c-bg-subtle);
}

/* ==================
   HERO SECTION
   ================== */
.hero {
  padding-top: calc(80px + var(--space-2xl));
  padding-bottom: var(--space-2xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 10;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 16px;
  background: var(--c-bg-subtle);
  border: 1px solid var(--c-border);
  border-radius: 100px;
  font-size: var(--text-sm);
  font-weight: 500;
  margin-bottom: var(--space-lg);
}

.badge-new {
  background: var(--c-text-main);
  color: var(--c-bg);
  padding: 2px 8px;
  border-radius: 100px;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero__title {
  font-size: var(--text-display);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
  max-width: 900px;
}

.hero__subtitle {
  font-size: var(--text-lg);
  color: var(--c-text-muted);
  max-width: 700px;
  margin-bottom: var(--space-lg);
  line-height: 1.5;
}

.hero__actions {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

/* Hero Visual Core */
.hero__visual-wrapper {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  perspective: 1200px;
}

.hero__mockup-container {
  position: relative;
  z-index: 10;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 24px 80px rgba(0,0,0,0.08);
  background: var(--c-bg);
  overflow: hidden;
  animation: float 6s ease-in-out infinite;
}

.hero__mockup {
  width: 100%;
  height: auto;
  display: block;
}

/* Background Glowing Blobs */
.glow-blob {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 1;
  opacity: 0.6;
}

.blob-1 {
  background: var(--c-blob-1);
  top: -100px;
  left: -50px;
  animation: blob-move 10s infinite alternate ease-in-out;
}

.blob-2 {
  background: var(--c-blob-2);
  bottom: -50px;
  right: -50px;
  animation: blob-move 12s infinite alternate-reverse ease-in-out;
}

@keyframes float {
  0% { transform: translateY(0px) rotateX(2deg); }
  50% { transform: translateY(-20px) rotateX(0deg); }
  100% { transform: translateY(0px) rotateX(2deg); }
}

@keyframes blob-move {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(50px, 40px) scale(1.1); }
}

/* ==================
   FILE CONVERGENCE ANIMATION (Pinned Scroll)
   ================== */

/* Tall wrapper that creates the scroll "runway" */
.convergence-runway {
  position: relative;
  height: 250vh;
  overflow: clip;
}

/* Sticky inner container — stays pinned while scrolling through runway */
.convergence-sticky {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Center title */
.convergence-title {
  position: relative;
  z-index: 20;
  text-align: center;
}

.convergence-title h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: var(--space-sm);
  background: linear-gradient(135deg, var(--c-text-main) 0%, #555 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.convergence-title p {
  font-size: var(--text-base);
  color: var(--c-text-muted);
}

/* File icons */
.file-icon {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
  z-index: 15;
  will-change: transform, opacity;
  transition: box-shadow 0.3s ease;
}

.file-icon:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
}

.file-icon__img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
}

.file-icon__label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--c-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Notion result */
.notion-result {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 90%;
  max-width: 900px; /* Slightly wider */
  opacity: 0;
  z-index: 25;
  border-radius: 12px; /* Fixed rounded corners for window look */
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.12); /* Slightly darker border */
  box-shadow: 
    0 30px 100px rgba(0, 0, 0, 0.15), 
    0 10px 30px rgba(0, 0, 0, 0.08); /* Multi-layered shadow */
  will-change: transform, opacity;
}

.notion-result__img {
  width: 100%;
  height: auto;
  display: block;
}

/* Responsive */
@media (max-width: 768px) {
  .convergence-runway {
    height: 200vh;
  }
  
  .file-icon {
    padding: 10px 14px;
  }
  
  .file-icon__img {
    width: 30px;
    height: 30px;
  }
  
  .file-icon__label {
    font-size: 0.6rem;
  }
  
  .notion-result {
    width: 95%;
  }
}

/* ==================
   PAIN POINTS
   ================== */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.pain-card {
  background: var(--c-bg-subtle);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease;
}

.pain-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.06);
}

.pain-card__icon {
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--c-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--c-border);
  color: var(--c-accent-blue);
}

.pain-card__icon svg {
  width: 24px;
  height: 24px;
}

.pain-card h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-sm);
  font-weight: 600;
}

.pain-card p {
  color: var(--c-text-muted);
  font-size: var(--text-sm);
  line-height: 1.6;
}

/* ==================
   BENTO BOX SECTION
   ================== */
.bento {
  padding: var(--space-xl) 0;
  background: var(--c-bg);
}

.bento__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-xl);
}

.bento__header h2 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-sm);
}

.bento__header p {
  color: var(--c-text-muted);
  font-size: var(--text-base);
}

.bento__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(250px, auto);
  gap: var(--space-md);
}

.bento__card {
  background: var(--c-bg-subtle);
  border-radius: var(--radius-xl);
  border: 1px solid var(--c-border);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease;
  cursor: pointer;
}

.bento__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.06);
  background: #FFFFFF;
}

.bento__icon {
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-bg);
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  border: 1px solid var(--c-border);
  color: var(--c-text-main);
}

.bento__icon svg {
  width: 28px;
  height: 28px;
}

.bento__card h3 {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.bento__card p {
  color: var(--c-text-muted);
  font-size: var(--text-sm);
  line-height: 1.5;
  flex-grow: 1;
}

.bento__card--large {
  grid-column: span 2;
  grid-row: span 2;
  flex-direction: row;
  align-items: center;
  gap: var(--space-lg);
}

.bento__card--large .bento__card-content {
  flex: 1;
}

.bento__visual {
  flex: 1;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bento__visual-placeholder {
  background: var(--c-bg);
  border: 1px dashed var(--c-border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-text-muted);
  font-weight: 500;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}


.qualiopi-banner {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}

.qualiopi-banner__logo {
  width: 100px;
  height: auto;
  flex-shrink: 0;
}

.qualiopi-banner p {
  font-size: var(--text-base);
  color: var(--c-text-muted);
  line-height: 1.6;
}

/* ==================
   CONNECT SECTION (Outils connectés)
   ================== */
.connect-section {
  background: var(--c-bg-subtle);
}

.connect-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.connect-row {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-xl);
  padding: var(--space-lg) var(--space-xl);
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease;
}

.connect-row:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
}

.connect-row__logos {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
}

.connect-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.connect-logo--emoji {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  width: 44px;
  height: 44px;
  background: var(--c-bg-subtle);
  border-radius: var(--radius-md);
  border: 1px solid var(--c-border);
}

.connect-link-icon {
  font-size: 1.2rem;
  color: var(--c-accent-blue);
  font-weight: 700;
  flex-shrink: 0;
}

.connect-row__content {
  flex: 1;
}

.connect-row__content h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.connect-row__tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
  background: #E3F2FD;
  color: #1565C0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.connect-row__content p {
  font-size: var(--text-sm);
  color: var(--c-text-muted);
  line-height: 1.6;
}

.connect-row__content p strong {
  color: var(--c-text-main);
  font-weight: 600;
}

/* Compatible tools bar */
.connect-compatible {
  margin-top: var(--space-xl);
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.connect-compatible__label {
  font-size: var(--text-sm);
  color: var(--c-text-muted);
  font-weight: 500;
}

.connect-compatible__logos {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.compatible-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--c-text-main);
  transition: transform 0.2s ease;
}

.compatible-chip:hover {
  transform: translateY(-2px);
}

.compatible-logo {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.compatible-emoji {
  font-size: 1rem;
  line-height: 1;
}





/* ==================
   PORTAILS SECTION (Au-delà de l'admin)
   ================== */
.portails-section {
  background: var(--c-bg);
}

.portails-tabs {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.portail-block {
  background: var(--c-bg-subtle);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease;
}

.portail-block:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.05);
}

.portail-block__header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--c-border);
}

.portail-block__badge {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--c-text-main);
}

.portail-block__badge svg {
  width: 28px;
  height: 28px;
}

.portail-block__badge--blue {
  background: #E3F2FD;
}

.portail-block__badge--green {
  background: #E8F5E9;
}

.portail-block__badge--dark {
  background: #F3E5F5;
}

.portail-block__header h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: 2px;
}

.portail-block__tagline {
  font-size: var(--text-sm);
  color: var(--c-text-muted);
  line-height: 1.4;
}

.portail-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.portail-feature {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
}

.portail-feature__icon {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--c-accent-blue);
}

.portail-feature__icon svg {
  width: 20px;
  height: 20px;
}

.portail-feature strong {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--c-text-main);
}

.portail-feature p {
  font-size: var(--text-xs);
  color: var(--c-text-muted);
  line-height: 1.5;
}


/* ==================
   ÉTUDE DE CAS
   ================== */
.case-study {
  background: var(--c-bg-subtle);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.case-study__header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg);
  border-bottom: 1px solid var(--c-border);
}

.case-study__header-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-accent-blue);
}

.case-study__header-icon svg {
  width: 40px;
  height: 40px;
}

.case-study__header h3 {
  font-size: var(--text-lg);
  font-weight: 600;
}

.case-study__header p {
  font-size: var(--text-sm);
  color: var(--c-text-muted);
}

.case-study__body {
  padding: var(--space-lg);
}

.case-study__body > p {
  font-size: var(--text-base);
  color: var(--c-text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

.case-study__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.metric {
  text-align: center;
  padding: var(--space-lg);
  background: var(--c-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-border);
}

.metric__value {
  display: block;
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--c-accent-blue);
  letter-spacing: -0.03em;
}

.metric__label {
  display: block;
  font-size: var(--text-xs);
  color: var(--c-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: var(--space-xs);
}

.case-study__results {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.case-study__results li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--c-text-muted);
}

.case-study__results li span {
  display: flex;
  align-items: center;
  color: #16a34a;
}

.case-study__results li span svg {
  width: 18px;
  height: 18px;
}

/* Testimonial inline */
.testimonial-inline {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}

.testimonial-inline__quote {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.testimonial-inline__quote > span {
  flex-shrink: 0;
  color: var(--c-accent-blue);
}

.testimonial-inline__quote > span svg {
  width: 28px;
  height: 28px;
}

.testimonial-inline__quote blockquote {
  font-size: var(--text-base);
  color: var(--c-text-main);
  font-style: italic;
  line-height: 1.6;
}

.testimonial-inline__author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.testimonial-inline__avatar {
  width: 48px;
  height: 48px;
  background: var(--c-accent-blue);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--text-sm);
}

.testimonial-inline__author strong {
  display: block;
  font-weight: 600;
}

.testimonial-inline__author span {
  font-size: var(--text-sm);
  color: var(--c-text-muted);
}

/* ==================
   ACCOMPAGNEMENT / ONBOARDING
   ================== */
.onboarding-section {
  background: var(--c-bg-subtle);
}

.onboarding-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.onboarding-card {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  text-align: center;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease;
}

.onboarding-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.06);
}

.onboarding-card__number {
  width: 56px;
  height: 56px;
  background: var(--c-text-main);
  color: var(--c-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: var(--text-lg);
  margin: 0 auto var(--space-md);
}

.onboarding-card h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-sm);
  font-weight: 600;
}

.onboarding-card p {
  color: var(--c-text-muted);
  font-size: var(--text-sm);
  line-height: 1.6;
}

/* ==================
   PRICING
   ================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  max-width: 900px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--c-bg-subtle);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.06);
}

/* ==================
   PRIX / TARIFS - OPTION 1 (Minimal)
   ================== */
.pricing-options-container {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--c-text-main);
  color: var(--c-bg);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: var(--space-md);
}



/* ==================
   PRIX / TARIFS - OPTION 2 (Split)
   ================== */
.pricing-split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.pricing-split__left {
  background: var(--c-bg-subtle);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.pricing-split__price {
  font-size: var(--text-display);
  font-weight: 800;
  margin-bottom: var(--space-xs);
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  gap: 4px;
  flex-wrap: wrap;
}

.pricing-split__price .period {
  font-weight: 500;
  font-size: var(--text-lg);
  color: var(--c-text-muted);
}

.pricing-split__duration {
  font-size: var(--text-base);
  color: var(--c-text-light);
  margin-bottom: var(--space-md);
}
.pricing-split__duration strong {
  color: var(--c-text-main);
}

.pricing-split__desc {
  font-size: var(--text-sm);
  color: var(--c-text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-xl);
}

.pricing-split__cta {
  width: 100%;
  text-align: center;
  margin-bottom: var(--space-md);
}

.pricing-split__note {
  font-size: 0.8rem;
  color: var(--c-text-light);
  line-height: 1.4;
}

.pricing-split__right {
  padding: var(--space-xl);
}

.pricing-split__right-title {
  font-weight: 700;
  font-size: var(--text-lg);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--c-bg-subtle);
}

.pricing-split__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.pricing-split__features li {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.pricing-split__features .feature-icon {
  background: var(--c-bg-subtle);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  flex-shrink: 0;
  color: var(--c-text-main);
}

.pricing-split__features .feature-icon svg {
  width: 18px;
  height: 18px;
}

.pricing-split__features strong {
  display: block;
  font-size: var(--text-sm);
  color: var(--c-text-main);
  margin-bottom: 2px;
}

.pricing-split__features p {
  font-size: var(--text-xs);
  color: var(--c-text-muted);
  line-height: 1.5;
}

/* ==================
   PRICING — CONSULTATION LAYOUT
   ================== */
.pricing-consult {
  max-width: 900px;
  margin: 0 auto;
  background: var(--c-bg-subtle);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.pricing-consult__top {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  padding: var(--space-xl);
}

.pricing-consult__headline {
  flex: 1;
}

.pricing-consult__headline h3 {
  font-size: var(--text-xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-sm);
  line-height: 1.15;
}

.pricing-consult__headline > p {
  font-size: var(--text-sm);
  color: var(--c-text-muted);
  line-height: 1.6;
}

.pricing-consult__cta-block {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.pricing-consult__cta {
  padding: 16px 32px;
  font-size: var(--text-base);
  white-space: nowrap;
}

.pricing-consult__reassurance {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  justify-content: center;
}

.pricing-consult__reassurance span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--text-xs);
  color: var(--c-text-muted);
  font-weight: 500;
}

.pricing-consult__reassurance svg {
  width: 14px;
  height: 14px;
}

.pricing-consult__divider {
  height: 1px;
  background: var(--c-border);
  margin: 0 var(--space-xl);
}

.pricing-consult__bottom {
  padding: var(--space-xl);
}

.pricing-consult__bottom-title {
  font-weight: 700;
  font-size: var(--text-lg);
  margin-bottom: var(--space-lg);
}

.pricing-consult__features {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md) var(--space-xl);
}

.pricing-consult__features li {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.pricing-consult__features .feature-icon {
  background: var(--c-bg);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  color: var(--c-accent-blue);
  border: 1px solid var(--c-border);
}

.pricing-consult__features .feature-icon svg {
  width: 18px;
  height: 18px;
}

.pricing-consult__features strong {
  display: block;
  font-size: var(--text-sm);
  color: var(--c-text-main);
  margin-bottom: 2px;
}

.pricing-consult__features p {
  font-size: var(--text-xs);
  color: var(--c-text-muted);
  line-height: 1.5;
}

.pricing-consult__note {
  font-size: 0.8rem;
  color: var(--c-text-muted);
  line-height: 1.4;
  padding: var(--space-sm) var(--space-xl) var(--space-lg);
}

@media (max-width: 768px) {
  .pricing-consult__top {
    flex-direction: column;
    text-align: center;
  }

  .pricing-consult__features {
    grid-template-columns: 1fr;
  }
}

/* ==================
   FAQ
   ================== */
.faq-list {
  max-width: 800px;
}

.faq-item {
  border-bottom: 1px solid var(--c-border);
}

.faq-item__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md) 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--c-text-main);
  text-align: left;
  transition: color 0.2s;
}

.faq-item__question:hover {
  color: var(--c-accent-blue);
}

.faq-item__chevron {
  font-size: 1.5rem;
  font-weight: 400;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: var(--space-md);
}

.faq-item.open .faq-item__chevron {
  transform: rotate(45deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.open .faq-item__answer {
  max-height: 300px;
  padding-bottom: var(--space-md);
}

.faq-item__answer p {
  font-size: var(--text-sm);
  color: var(--c-text-muted);
  line-height: 1.6;
}

/* ==================
   FINAL CTA
   ================== */
.final-cta {
  padding: var(--space-2xl) 0;
  background: var(--c-bg-dark);
  color: var(--c-bg);
  text-align: center;
}

.final-cta__container {
  max-width: 800px;
}

.final-cta__container h2 {
  color: var(--c-bg);
  font-size: calc(var(--text-xl) * 1.2);
  margin-bottom: var(--space-sm);
}

.final-cta__container p {
  font-size: var(--text-lg);
  color: #A0A0A0;
  margin-bottom: var(--space-xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.final-cta__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

.final-cta__actions .btn--primary {
  background: var(--c-bg);
  color: var(--c-text-main);
  padding: 16px 32px;
  font-size: var(--text-base);
}

.final-cta__actions .btn--primary:hover {
  background: var(--c-bg-subtle);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,255,255,0.1);
}

.final-cta__note {
  font-size: var(--text-xs);
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==================
   FOOTER
   ================== */
.footer {
  background: var(--c-bg-dark);
  color: #999;
  padding: var(--space-lg) 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__brand {
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--c-bg);
}

.footer__links {
  display: flex;
  gap: var(--space-lg);
}

.footer__links a {
  font-size: var(--text-sm);
  color: #999;
  transition: color 0.2s;
}

.footer__links a:hover {
  color: var(--c-bg);
}

.footer__contact {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.footer__contact a {
  font-size: var(--text-sm);
  color: #999;
  transition: color 0.2s;
}

.footer__contact a:hover {
  color: var(--c-bg);
}

/* ==================
   RESPONSIVE (Mobile & Tablet)
   ================== */
@media (max-width: 992px) {
  :root {
    --text-display: 3.5rem;
    --text-xl: 2.5rem;
    --space-2xl: 4rem;
    --space-xl: 3rem;
  }
  
  .pain-grid,
  .qualiopi-grid,
  .onboarding-grid {
    grid-template-columns: 1fr;
  }
  
  .bento__card--large {
    grid-column: span 3;
    flex-direction: column;
  }
  
  .bento__card--small-1, .bento__card--small-2 {
    grid-column: span 3;
  }

  .connect-row {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-xl) var(--space-lg);
  }

  .connect-row__logos {
    justify-content: flex-start;
    margin-bottom: var(--space-sm);
  }

  .connect-row__content {
    width: 100%;
  }

  .connect-row__content h3 {
    justify-content: flex-start;
    margin-bottom: var(--space-md);
  }

  .connect-row__content p {
    font-size: var(--text-sm);
    color: var(--c-text-muted);
    line-height: 1.8;
  }

  .portail-features {
    grid-template-columns: 1fr;
  }

  .sticky-story__container {
    flex-direction: column;
    gap: var(--space-md);
  }

  .sticky-story__visual {
    position: relative;
    top: 0;
    height: auto;
    width: 100%;
    margin-bottom: var(--space-xl);
  }

  .sticky-story__content {
    padding: 0;
  }

  .sticky-story__step {
    opacity: 1;
    transform: none;
    padding: var(--space-lg) 0;
    border-bottom: 1px solid var(--c-border);
  }

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

  .pricing-split {
    grid-template-columns: 1fr;
  }

  .pricing-split__left {
    align-items: flex-start;
    text-align: left;
  }
  
  .pricing-split__price {
    justify-content: flex-start;
  }

  .pricing-split__cta {
    width: 100%;
  }

  .pricing-split__features li {
    align-items: flex-start;
    text-align: left;
  }

  .case-study__metrics {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }
}

@media (max-width: 768px) {
  :root {
    --text-display: 2rem;
    --text-xl: 1.75rem;
    --text-lg: 1.25rem;
    --space-2xl: 3rem;
    --space-xl: 2rem;
    --space-lg: 1.5rem;
    --space-md: 1.2rem;
  }
  
  .container {
    padding: 0 1rem;
  }

  .hero__subtitle {
    font-size: 1rem;
  }

  .header__nav,
  .hide-mobile {
    display: none;
  }

  .testimonial-inline {
    padding: var(--space-md);
  }

  .testimonial-inline__quote > span {
    font-size: 1.5rem;
  }

  .testimonial-inline__quote blockquote {
    font-size: var(--text-sm);
  }

  .testimonial-inline__avatar {
    width: 36px;
    height: 36px;
    font-size: var(--text-xs);
  }

  .connect-row__content h3 {
    flex-direction: column;
    gap: 8px;
  }

  .connect-compatible {
    justify-content: center;
    flex-direction: column;
    gap: var(--space-md);
  }

  .connect-compatible__logos {
    justify-content: center;
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__visual-wrapper {
    max-width: 100%;
  }

  .glow-blob {
    width: 250px;
    height: 250px;
  }

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

  .bento__card--large,
  .bento__card--small-1,
  .bento__card--small-2 {
    grid-column: span 1;
    grid-row: span 1;
  }

  .bento__card--large {
    flex-direction: column;
  }

  .qualiopi-banner {
    flex-direction: column;
    text-align: center;
  }
}
